Reinhold Kainhofer <reinh...@kainhofer.com> 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 _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel