If you run ly2dvi -k and check the LaTeX wrapper file
ly2dvi.dir/ClarinettoI.latex that ly2dvi generates and uses,
you will notice that it includes the line
\geometry{twosideshift=4mm}
which means that LaTeX turns into double sided mode and shifts
odd pages 4mm to the right and even pages 4mm to the left.

The reason that this setting is used seems to be an unintended(?)
interaction between a patch to ly2dvi from 2001 (see
http://www.mail-archive.com/[EMAIL PROTECTED]/msg05450.html)
and the recent addition of 'compat2' to 'latexoptions' to make
ly2dvi compatible with both old and new versions of the geometry
package in LaTeX.

I actually consider this a bug in the initial patch from 2001,
since the twosideshift option should only be set (if even then)
if the header field 'latexoptions' includes the option 'twoside'
and not otherwise.

I'm sending this also to bug-lilypond, since the computer I used to
use when developing and submitting small patches in CVS is broken
and I haven't had the time to set up the environment on any other
computer.

/Mats


Frédéric Bron wrote:
Dear Mats,

Of course I did exaclty what is in the doc but with or without the \paper section, the result is the same: the left and right margins are note the same. Please see the attached file and compile it with:
"ly2dvi -p ClarinetteI.ly"
Note that the .dvi and the .ps files have the same problem.
Thanks,


Frédéric

Mats Bengtsson wrote:

The default paper size is A4. Exactly how do you set
papersize="a4"? I hope you have seen the instructions at
http://lilypond.org/doc/v1.8/Documentation/user/out-www/lilypond/Page-layout.html


unfortunately you have to do it exactly as described here, which is
not very intuitive (or you could just remove your setting since the
default, as already said, is A4).

/Mats


------------------------------------------------------------------------

_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.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 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================



_______________________________________________
Bug-lilypond mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to