bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lilypond-book 2.11.54 windows xp filename including spaces


From: Karl Hammar
Subject: Re: lilypond-book 2.11.54 windows xp filename including spaces
Date: Sat, 30 Aug 2008 11:00:22 +0200 (CEST)

Francisco Vila wrote:
...
> It's a matter of terminology. Stricto sensu, lilypond-book does NOT
> need LaTeX to work, YOU need LaTeX to obtain a PDF from the
...

lilypond-book is using latex to find out the textwidth of the 
resulting document. In scripts/out/lilypond-book line 1633-:

def get_latex_textwidth (source):
...
    ly.system ('%s %s' % (global_options.latex_program, tmpfile),
               be_verbose=global_options.verbose)
...
    return textwidth

Where ly.system is defined in scm/backend-library.scm.

===

One could argue that finding a single "textwidth" is not the correct 
way to do it, because some pages might be landscape, some portrait, 
some single column, some double column...

Regards,
/Karl






reply via email to

[Prev in Thread] Current Thread [Next in Thread]