lilypond-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Lilypond-book: Auto-detect linewidth and exampleindent in te


From: David Kastrup
Subject: Re: [PATCH] Lilypond-book: Auto-detect linewidth and exampleindent in texinfo mode
Date: Mon, 22 Aug 2011 13:52:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Reinhold Kainhofer <address@hidden> writes:

> Please review: 
> http://codereview.appspot.com/4938044
>
> This patch adds autodetection of linewidth and exampleindent to the texinfo 
> mode. This works by simply running a test file (with the layout settings 
> extracted from the original tely file) through texi2pdf, which prints out the 
> value of the @hsize and @lispindent variables.
>
> e.g. in our docs we so far use @afourpaper and a hardcoded linewidth of 
> 160\mm 
> and an exampleindent of 0.4\in (=10.16\mm).
>
> The auto-detected values, however are 
> {'exampleindent': '10.197941\\mm', 'line-width': '160.599995\\mm'
>
> So, as you see the line-width was half a mm too small (no problem), but the 
> indent was underestimated a bit.

Wrong, I guess.  See the code review.

-- 
David Kastrup




reply via email to

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