[Top][All Lists]

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

Re: lilypond-book in Windows. Was: Why is gs-font-load set to #t in Wind

From: Mats Bengtsson
Subject: Re: lilypond-book in Windows. Was: Why is gs-font-load set to #t in Windows package
Date: Sat, 26 Aug 2006 10:11:31 +0200
User-agent: Internet Messaging Program (IMP) H3 (4.0.5)

Quoting Han-Wen Nienhuys <address@hidden>:

Mats Bengtsson wrote:
Quoting Han-Wen Nienhuys <address@hidden>:

Mats Bengtsson wrote:

- Unless you include dos versions of ps2pdf, the font paths in
 .psfonts (when fs-font-load=#t) should use windows style separators.
 Of course, you could claim that users of lilypond-book should use
cygwin, but in my opinion, that's just a good way to scare Windows
users from even trying LilyPond.

My preference is actually scaring people into using pdflatex. PDFLaTeX is much saner approach than the DVI/DVIPS/PS2PDF route.

Fine with me! However, lilypond-book currently fails in several ways
in Windows.

- Problem 1: The python package is broken, so lilypond-book fails with:
AttributeError: 'module' object has no attribute 'pipe'

can you send me the stack trace for that, I can't see where pipes are used.

lilypond-book.py (GNU LilyPond) 2.9.16
Reading a.lytex...
Invoking `latex c:\docume~1\mabe\locals~1\temp\tmpxjpuwh.tex'Traceback (most rec
ent call last):
 File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 1790, in ?
   main ()
 File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 1744, in main
   chunks = do_file (file)
File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 1612, in do_fi
   set_default_options (source)
File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 746, in set_de
   textwidth = get_latex_textwidth (source)
File "C:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 1421, in get_l
   ly.system ('latex %s' % tmpfile, be_verbose=global_options.verbose)
File "C:\Program Files\LilyPond\usr\share\lilypond\current\python\lilylib.py",
line 89, in system
 File "/usr/lib/python2.4/subprocess.py", line 542, in __init__
 File "/usr/lib/python2.4/subprocess.py", line 899, in _execute_child
AttributeError: 'module' object has no attribute 'pipe'

Double quotes seem to work much better and shouldn't cause any problems in Linux and OSX(?), therefore I proposed a patch in http://lists.gnu.org/archive/html/bug-lilypond/2006-03/msg00182.html
 but it was never accepted.

can you apply that patch?



reply via email to

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