lilypond-user
[Top][All Lists]

## Re: Custom page size in LaTeX causes lilypond-book to produce bad output

 From: Michael Haynie Subject: Re: Custom page size in LaTeX causes lilypond-book to produce bad output. Date: Mon, 14 Nov 2005 20:57:05 -0500

As requested, attached are 4 files: two source files representing a broken and working example (nearly identical, as a diff will show, and the resulting output. Both files were built using
lilypond-book -f latex --psfonts <filename>
followed by invocations of latex, dvips, etc.

Like this:

lilypond-book -f latex --psfonts working.ltx
latex \\nonstopmode\\input working.tex
dvips -T 8.5in,13.13in -Ppdf -h working.psfonts -o working.ps working.dvi
ps2pdf working.ps working.pdf
rm working.tex working.ps working.dvi

Obviously, the examples could be accomplished more simply, but then I wouldn't be able to use LaTeX's excellent TOC, chapter, index, etc. functionality.

broken.ltx
Description: Binary data

working.ltx
Description: Binary data

broken.pdf

working.pdf

On Nov 14, 2005, at 4:43 AM, Mats Bengtsson wrote:

I cannot repeat the problem. Could you please send a small but complete example
file that illustrates the problem to the mailing list?
Personally, I have always used the geometry package to get custom page
sizes in LaTeX.

Also, if the only purpose of using lilypond-book is to get the page size, I hope you realize that it can be done also within LilyPond. Some additional information has been added in the manual for version 2.7, that also should be
relevant to you, see
http://lilypond.org/doc/v2.7/Documentation/user/out-www/lilypond/ Paper-size.html#Paper-size

/Mats

Michael Haynie wrote:

Greetings:

In Lilypond 2.2, I used to LaTeX with the vmargin package to define a custom paper size for a 1/2 size songbook. With lilypond 2.6, simply including the vmargin package ( just \include[vmargin] -- it's part of a typical TeX installation) causes lilypond-book to produce a score with the first measure of the first system placed up beside the title block for the piece.

Has anyone found a way to change page dimensions in this way?

Does anyone know what might be tripping Lilypond up?

_______________________________________________
lilypond-user mailing list
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax:   (+46) 8 790 7260