lilypond-user
[Top][All Lists]
Advanced

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

Re: LilyPond-Book on Windows


From: Br. Samuel Springuel
Subject: Re: LilyPond-Book on Windows
Date: Sun, 13 Apr 2014 15:15:59 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

I just tried rerunning lilypond-book after changing the temp directory to something simpler. That has run successfully, mostly. There were no errors thrown by either lilypond-book or pdflatex, but the snippet widths did not fit the page properly. The contents of the commandline follow:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Admin>cd c:\tmp

C:\tmp>set TEMP=c:\temp

C:\tmp>lilypond-book test.lytex
lilypond-book.py (GNU LilyPond) 2.19.4
Reading test.lytex...
Running `latex' on file `c:\temp\tmpt5-2t3.tex' to detect default page settings.


lilypond-book.py: warning: Unable to auto-detect default settings:

lilypond-book.py: warning: cannot detect textwidth from LaTeX
Dissecting...
Writing snippets...
Processing...
Running lilypond...
GNU LilyPond 2.19.4
programming error: file name not normalized: C:\tmp\snippet-names-1571787863.ly
continuing, cross fingers
Processing `snippet-map-1571787863.ly'
Parsing...
Processing `test.lytex'
Parsing...
Interpreting music...[8][8]
Preprocessing graphical objects...
Calculating line breaks...
Drawing systems...
Layout output to `f6/lily-b39ab8e8.eps'...
Layout output to `f6/lily-b39ab8e8-1.eps'...
Layout output to `f6/lily-b39ab8e8-2.eps'...
Layout output to `f6/lily-b39ab8e8-3.eps'...
Writing f6/lily-b39ab8e8-systems.texi...
Writing f6/lily-b39ab8e8-systems.tex...
Writing f6/lily-b39ab8e8-systems.count...
Success: compilation successfully completed
Linking files...
Compiling C:\tmp\test.tex...
Writing `C:\tmp\test.tex'...

C:\tmp>pdflatex test.tex
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/W32TeX)
 restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2011/06/27>
Babel <3.9k> and hyphenation patterns for 78 languages loaded.
(c:/texlive/2013/texmf-dist/tex/latex/base/report.cls
Document Class: report 2007/10/19 v1.4h Standard LaTeX document class
(c:/texlive/2013/texmf-dist/tex/latex/base/size12.clo))
(c:/texlive/2013/texmf-dist/tex/latex/graphics/graphics.sty
(c:/texlive/2013/texmf-dist/tex/latex/graphics/trig.sty)
(c:/texlive/2013/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(c:/texlive/2013/texmf-dist/tex/latex/pdftex-def/pdftex.def
(c:/texlive/2013/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(c:/texlive/2013/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)))
No file test.aux.
(c:/texlive/2013/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (c:/texlive/2013/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(c:/texlive/2013/texmf-dist/tex/generic/oberdiek/ifluatex.sty)
(c:/texlive/2013/texmf-dist/tex/generic/oberdiek/ifpdf.sty))
(c:/texlive/2013/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(c:/texlive/2013/texmf-dist/tex/latex/oberdiek/grfext.sty
(c:/texlive/2013/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))
(c:/texlive/2013/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(c:/texlive/2013/texmf-dist/tex/latex/graphics/keyval.sty)
(c:/texlive/2013/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(c:/texlive/2013/texmf-dist/tex/generic/oberdiek/etexcmds.sty)))
(c:/texlive/2013/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
(./f6/lily-b39ab8e8-systems.tex
<f6/lily-b39ab8e8-1-eps-converted-to.pdf, id=1, 548.0475pt x 78.2925pt>
<use f6/lily-b39ab8e8-1-eps-converted-to.pdf>
<f6/lily-b39ab8e8-2-eps-converted-to.pdf, id=2, 548.0475pt x 51.19125pt>
<use f6/lily-b39ab8e8-2-eps-converted-to.pdf>
<f6/lily-b39ab8e8-3-eps-converted-to.pdf, id=3, 548.0475pt x 50.1875pt>
<use f6/lily-b39ab8e8-3-eps-converted-to.pdf>)
Overfull \hbox (158.04616pt too wide) in paragraph at lines 15--27
[]

Overfull \hbox (158.04616pt too wide) in paragraph at lines 15--27
[]

Overfull \hbox (158.04616pt too wide) in paragraph at lines 15--27
[]

Underfull \hbox (badness 10000) in paragraph at lines 15--27

(c:/texlive/2013/texmf-dist/tex/latex/base/omscmr.fd) [1{c:/texlive/2013/texmf-
var/fonts/map/pdftex/updmap/pdftex.map} <./f6/lily-b39ab8e8-1-eps-converted-to.
pdf> <./f6/lily-b39ab8e8-2-eps-converted-to.pdf> <./f6/lily-b39ab8e8-3-eps-conv
erted-to.pdf>] (./test.aux) )
(see the transcript file for additional information)<c:/texlive/2013/texmf-dist
/fonts/type1/public/amsfonts/cm/cmr10.pfb><c:/texlive/2013/texmf-dist/fonts/typ
e1/public/amsfonts/cm/cmr12.pfb><c:/texlive/2013/texmf-dist/fonts/type1/public/
amsfonts/cm/cmsy10.pfb><c:/texlive/2013/texmf-dist/fonts/type1/public/amsfonts/
cm/cmti10.pfb><c:/texlive/2013/texmf-dist/fonts/type1/urw/ncntrsbk/uncb8a.pfb><
c:/texlive/2013/texmf-dist/fonts/type1/urw/ncntrsbk/uncr8a.pfb>
Output written on test.pdf (1 page, 90811 bytes).
Transcript written on test.log.

C:\tmp>

A second trial with lualatex still caused the hanging error. The contents of that command line:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Admin>cd c:\tmp

C:\tmp>set TEMP=c:\temp

C:\tmp>lilypond-book --latex-program lualatex test.lytex
lilypond-book.py (GNU LilyPond) 2.19.4
Reading test.lytex...
Running `lualatex' on file `c:\temp\tmpursvuo.tex' to detect default page settin
gs.

Traceback (most recent call last):
  File "c:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 776, in ?
    main ()
  File "c:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 759, in main
    chunks = do_file (files[0])
  File "c:\Program Files\LilyPond\usr\bin\lilypond-book.py", line 607, in do_fil
e
    global_options.formatter.init_default_snippet_options (source)
  File "c:\Program Files\LilyPond\usr\share\lilypond\current\python\book_base.py
", line 141, in init_default_snippet_options
    line_width = self.get_line_width (source)
  File "c:\Program Files\LilyPond\usr\share\lilypond\current\python\book_latex.p
y", line 300, in get_line_width
    textwidth = get_latex_textwidth (source, self.global_options)
  File "c:\Program Files\LilyPond\usr\share\lilypond\current\python\book_latex.p
y", line 212, in get_latex_textwidth
    returncode = os.system(cmd)
KeyboardInterrupt

C:\tmp>

and the logfile that goes with the above run:

This is LuaTeX, Version beta-0.76.0-2013120414 (rev 4627)  (format=lualatex 
2014.3.29)  12 APR 2014 22:21
 restricted \write18 enabled.
**c:/temp/tmpursvuo.tex
(c:/temp/tmpursvuo.tex
LaTeX2e <2011/06/27>
Babel <3.9k> and hyphenation patterns for 78 languages loaded.
! LuaTeX error [string "\directlua "]:1: assertion failed!
stack traceback:
        [C]: in function 'assert'
        [string "\directlua "]:1: in main chunk.
<everyjob> ...t(kpse.find_file("lualatexquotejobname.lua")))}
                                                   \fi
l.1

?
! Emergency stop.
<everyjob> ...t(kpse.find_file("lualatexquotejobname.lua")))}
                                                   \fi
l.1

End of file on the terminal!



Here is how much of LuaTeX's memory you used:
 8 strings out of 494698
 100000,89155 words of node,token memory allocated 190 words of node memory 
still in use:
   31 glue_spec, 1 if_stack, 1 dir nodes
   avail lists: 2:11,3:1
 3845 multiletter control sequences out of 65536+600000
 14 fonts using 403927 bytes
 5i,0n,1p,23b,8s stack positions out of 5000i,500n,10000p,200000b,100000s
!  ==> Fatal error occurred, no output PDF file produced!

Based on my reading, it seems that lilypond-book is not detecting when the typesetting of the dummy document fails for lualatex, but keeps listening for some sort of signal.

This implies that either the failure signal from latex or pdflatex is coming through, or those documents are successfully being typeset (since lilypond-book cleans up after itself, I can't tell which without altering lilypond-book). However, even if it is successfully typesetting the dummy document, lilypond-book still doesn't appear to be able to detect the page settings.

In case it's useful, the contents of the test folder after a "successful" run are available for donwload here:

https://dl.dropboxusercontent.com/u/7292423/tmp.zip
✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Br. Samuel
(R. Padraic Springuel)

PAX ☧ ΧΡΙΣΤΟΣ




reply via email to

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