title: custom paper size on the command line?
body: <p>I'm working with three different paper sizes, i.e. the same music formatted for different page sizes.  This works fine for established paper dimensions.</p>
  
  <pre><code>lilypond -dpaper-size=\"letter\" -o "outFile-L" sourceFile.ly
  </code></pre>
  
  <p>or</p>
  
  <pre><code>lilypond -dpaper-size=\"statement\" -o "outFile-S" sourceFile.ly
  </code></pre>
  
  <p>But I also use a paper size not available in the <code>paper.scm</code> file.  Here's the code I use.</p>
  
  <pre><code>#(set! paper-alist (cons '("booklet" . (cons (* 7.0 in) (* 8.5 in))) paper-alist))
  #(set-default-paper-size "booklet")
  </code></pre>
  
  <p>I'd really prefer it if I didn't have to edit each file to turn on/off the "booklet" page sizing.  Unfortunately if I try specify "booklet" on the command line it errors because the compiler sees the command line option before it reads the definition in the code: <code>warning: Unknown paper size: booklet</code></p>
  
  <p>I can imagine two different solutions:</p>
  
  <p>1) Add "booklet" to the <code>paper.scm</code> file, with the understanding that every time Lilypond is upgraded I'll have to re-do the edit.</p>
  
  <p>2) Create a common file that all music files have to source, but there are different versions of the file in different sub-directories, and that sub-dir is directed from the command line.</p>
  
  <pre><code>lilypond --include="./bookletDir" -o "outFile-B" sourceFile.ly
  </code></pre>
  
  <p>Any other (better) suggestions?</p>