[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lilypond-book: Auto-detect linewidth and exampleindent in texinfo mo
From: |
reinhold . kainhofer |
Subject: |
Re: Lilypond-book: Auto-detect linewidth and exampleindent in texinfo mode (issue 4938044) |
Date: |
Mon, 22 Aug 2011 12:30:15 +0000 |
Reviewers: dak,
Message:
On 2011/08/22 11:51:37, dak wrote:
python/book_texinfo.py:228: val = float (m.group (1))/72
This would be wrong. TeX's principal unit, the pt or printer's point,
is
1in/72.27. You are confusing this with PostScript points, 1in/72,
which TeX
calls bp (big points).
Ah, thanks, that explains a lot!
New patch uploaded.
Now, it's clear that lilypond produces .pdf files that are about 0.5-1
mm too wide. So we now have the proper way to fix #1816
Description:
Lilypond-book: Auto-detect linewidth and exampleindent in texinfo mode
Please review this at http://codereview.appspot.com/4938044/
Affected files:
M python/book_latex.py
M python/book_texinfo.py
M scripts/lilypond-book.py