sizes.
* scm/paper.scm (paper-alist): rename tabloid paper to 11x17 to
correspond to GS's definition.
2005-10-02 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * Documentation/user/global.itely (Paper size): explain how to add
+ sizes.
+
+ * scm/paper.scm (paper-alist): rename tabloid paper to 11x17 to
+ correspond to GS's definition.
+
* lily/tuplet-bracket.cc (after_line_breaking): suicide empty
tuplet bracket.
(print): only connect to next bracket if the next one is alive.
@code{\paper} block is inside a @code{\book}, then the paper size will only
apply to that book.
-The following paper sizes are supported: @code{a6}, @code{a5}, @code{a4},
-@code{a3}, @code{legal}, @code{letter}, @code{tabloid}.
+Support for the following paper sizes are included by default,
+@code{a6}, @code{a5}, @code{a4}, @code{a3}, @code{legal}, @code{letter},
+@code{11x17} (also known as tabloid).
+
+Extra sizes may be added by editing the definition for
+@code{paper-alist} in the initialization file @file{scm/paper.scm}.
@cindex orientation
@cindex landscape
conversions.append (((2, 7, 10), conv,
'''\\applyxxx -> \\applyXxx'''))
+
+
+
+def conv (str):
+ str = re.sub(r'\"tabloid\"', '"11x17"', str)
+ return str
+
+conversions.append (((2, 7, 11), conv,
+ '''\"tabloid\" -> \"11x17\"'''))
("a3" . (cons (* 297.9 mm) (* 420 mm)))
("legal" . (cons (* 8.5 in) (* 14.0 in)))
("letter" . (cons (* 8.5 in) (* 11.0 in)))
- ("tabloid" . (cons (* 11.0 in) (* 17.0 in)))))
+ ("11x17" . (cons (* 11.0 in) (* 17.0 in)))
+ ))
;; todo: take dimension arguments.