On Tue, 10 Jan 2012 14:13:54 +0000, [email protected] wrote:
Comment #38 on issue 1933 by [email protected]: Lilypond-book
requires  msvcrt again
http://code.google.com/p/lilypond/issues/detail?id=1933

There seems to be a further problem with Reinhold's attempt to
auto-detect  linewidth and exampleindent.  The code he inserted
appears to rely on texi2pdf, but AFAICS texi2pdf is not available for
Windows.  I'd be happy  to be proved wrong on this, but so far I've
failed to find a Windows  implementation.  Maybe Reinhold's code can
be extended to use texi2html as  an alternative, but I don't know if
the same information is available from texi2html. Reinhold - can you
shed any light on this?  If not, my  inclination is to remove this
auto-detect code, so fixing the critical bug,  and replace it with
another issue to add auto-detect code which works on  all platforms.


I'd suggest using:

import sys

mswindows = (sys.platform == "win32")

and then

if not mswindows :
  Reinhold's code
else :
  some default value

Cheers,
MS

_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to