]> git.donarmstrong.com Git - lilypond.git/commitdiff
* Documentation/user/global.itely (Paper size): explain how to add
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 1 Oct 2005 23:06:53 +0000 (23:06 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 1 Oct 2005 23:06:53 +0000 (23:06 +0000)
sizes.

* scm/paper.scm (paper-alist): rename tabloid paper to 11x17 to
correspond to GS's definition.

ChangeLog
Documentation/user/global.itely
python/convertrules.py
scm/paper.scm

index 1a8bc8144879771b957d5124acef017a84df961e..8b6786cca9b875a9665acc032f37beeed6c8bde4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 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.
index 4408687e2b1cd2f0a0c61c5620cec52a3bab3846..a2bc344061f0060deb7a6a8da01a8486cbb52105 100644 (file)
@@ -220,8 +220,12 @@ block is at the top of the file, then it will apply to all pages.  If the
 @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
index f04577e8a49052af9a2b5d81864956c13a14dba2..1816a96e664878a8e243f4961556844c4259fa59 100644 (file)
@@ -2566,3 +2566,12 @@ def conv (str):
 
 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\"'''))
index 2b4d2d1a5d42e7564bd4552e58e595ff22582d60..f2e51647c26fdaa16ab4d30eab43b5644388685d 100644 (file)
@@ -79,7 +79,8 @@
     ("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.