lilypond-user
[Top][All Lists]
Advanced

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

Re: Lilypond not creating .pdf file


From: Mats Bengtsson
Subject: Re: Lilypond not creating .pdf file
Date: Mon, 22 Mar 2004 11:37:37 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

So, I guess you have a \midi{...} in your score but no
\paper{...}. By default, LilyPond will produce paper output,
but if you ask for a MIDI output, you will also have to
explicitly ask for paper output. Just add a \paper{} field:
\score{
  ...
  \midi{...}
  \paper{}
}

   /Mats

Lyle Raymond wrote:
On Monday 22 March 2004 3:06 am, Mats Bengtsson wrote:

Run lilypond --verbose to get more information on what goes
wrong. If you can't solve it yourself, send a copy of the
printouts to the mailing list.



I ran "lilypond -V st1.ly" and the output hasn't really helped me figure out the problem. Attached is a copy of the messages.



  /Mats

Lyle Raymond wrote:

On Saturday 20 March 2004 9:51 am, David Raleigh Arnold wrote:

On Saturday 20 March 2004 03:21, Lyle Raymond wrote:

I've discovered that while in one directory, "lilypond <file.ly>"
automatically creates a pdf file; but while in another, it only
creates a latex file and doesn't go any further.  What's happening?

I'm using version 2.1.0, by the way.

This is just a guess, but you're not giving much.  :-)

Here's a little more:

All of my LP files are stored in ~/Documents/Lilypond.  In that
directory, there is a subdirectory for each piece I work on.  My current
piece, Four Brief Statements for Solo Guitar, is thus contained in the
directory: ~/Documents/Lilypond/Statements, and contains st1.ly.  This is
only the second piece I've begun working on w/ LP.  The first piece
worked fine; all invocations of lilypond produced a .dvi and .pdf file. But while working on Statements, LP only spits out a latex file. What
has changed?


Do you have any of your output in a separate directory?  If so,
it might be safer to use an output directory above the current,
by using ./out/ or something like that, rather than using a
fixed directory like /temp/out or something like that.

If you are suggesting that there is a default directory for output, I'd
love to find out how to set it.


I would like to know if this is a really stupid answer.  daveA

_______________________________________________
Lilypond-user mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/lilypond-user


------------------------------------------------------------------------

address@hidden Statements]$ lilypond -V st1.ly
lilypond (GNU LilyPond) 2.1.0
Opening pipe `/usr/bin/lilypond-bin --version '
Opening pipe `kpsexpand \$TEXMF'
Opening pipe `kpsewhich -expand-path=\$T1FONTS'
Invoking `/usr/bin/lilypond-bin  -I /home/lyle/Documents/Lilypond/Statements -I 
/home/lyle/Documents/Lilypond/Statements -I 
/home/lyle/Documents/Lilypond/Statements -H dedication -H title -H subtitle -H 
subsubtitle -H footer -H head -H composer -H arranger -H instrument -H opus -H 
piece -H metre -H meter -H poet -H texttranslator -H textheight -H orientation 
-H language -H latexpackages -H papersize -H pagenumber -H latexheaders -H 
latexoptions -H linewidth -H unit --verbose st1'
lilypond_datadir: `/usr/share/lilypond'
local_lilypond_datadir: `/usr/share/lilypond/2.1.0'
localedir: `/usr/share/locale'
LILYPONDPREFIX: `'

[/usr/share/lilypond/2.1.0/scm/define-music-types.scm][/usr/share/lilypond/2.1.0/scm/output-lib.scm][/usr/share/lilypond/2.1.0/scm/c++.scm][/usr/share/lilypond/2.1.0/scm/chord-ignatzek-names.scm][/usr/share/lilypond/2.1.0/scm/chord-entry.scm][/usr/share/lilypond/2.1.0/scm/chord-generic-names.scm][/usr/share/lilypond/2.1.0/scm/molecule.scm][/usr/share/lilypond/2.1.0/scm/new-markup.scm][/usr/share/lilypond/2.1.0/scm/bass-figure.scm][/usr/share/lilypond/2.1.0/scm/music-functions.scm][/usr/share/lilypond/2.1.0/scm/define-music-properties.scm][/usr/share/lilypond/2.1.0/scm/auto-beam.scm][/usr/share/lilypond/2.1.0/scm/chord-name.scm][/usr/share/lilypond/2.1.0/scm/define-translator-properties.scm][/usr/share/lilypond/2.1.0/scm/translation-functions.scm][/usr/share/lilypond/2.1.0/scm/script.scm][/usr/share/lilypond/2.1.0/scm/drums.scm][/usr/share/lilypond/2.1.0/scm/midi.scm][/usr/share/lilypond/2.1.0/scm/beam.scm][/usr/share/lilypond/2.1.0/scm/clef.scm][/usr/share/lilypond/2.1.0/s
cm/slur.scm][/usr/share/lilypond/2.1.0/scm/font.scm][/usr/share/lilypond/2.1.0/scm/define-grob-properties.scm][/usr/share/lilypond/2.1.0/scm/define-grobs.scm][/usr/share/lilypond/2.1.0/scm/define-grob-interfaces.scm]
Now processing: `st1.ly'
Parsing...[/usr/share/lilypond/2.1.0/ly/init.ly[/usr/share/lilypond/2.1.0/ly/declarations-init.ly[/usr/share/lilypond/2.1.0/ly/nederlands.ly][/usr/share/lilypond/2.1.0/ly/chord-modifiers-init.ly][/usr/share/lilypond/2.1.0/ly/script-init.ly][/usr/share/lilypond/2.1.0/ly/scale-definitions-init.ly][/usr/share/lilypond/2.1.0/ly/engraver-init.ly][/usr/share/lilypond/2.1.0/ly/grace-init.ly][/usr/share/lilypond/2.1.0/ly/midi-init.ly[/usr/share/lilypond/2.1.0/ly/performer-init.ly]][/usr/share/lilypond/2.1.0/ly/generic-paper-init.ly][/usr/share/lilypond/2.1.0/ly/paper20-init.ly[/usr/share/lilypond/2.1.0/ly/params-init.ly[/usr/share/lilypond/2.1.0/ly/a4-init.ly][/usr/share/lilypond/2.1.0/ly/paper-init.ly]]][/usr/share/lilypond/2.1.0/ly/dynamic-scripts-init.ly][/usr/share/lilypond/2.1.0/ly/spanners-init.ly][/usr/share/lilypond/2.1.0/ly/property-init.ly]][/home/lyle/Documents/Lilypond/Statements/st1.ly]]
[/usr/share/lilypond/2.1.0/fonts/afm/feta20.afm][/usr/share/lilypond/2.1.0/fonts/tfm/feta20.tfm]Interpreting
 music...[1]elapsed time: 0.51 seconds
Element count 60 (spanners 6) Preprocessing graphical objects... Grob count 86 
[/usr/share/lilypond/2.1.0/fonts/afm/parmesan20.afm][/usr/share/lilypond/2.1.0/fonts/tfm/parmesan20.tfm]
Calculating line breaks... 
[/usr/share/lilypond/2.1.0/fonts/afm/feta-nummer10.afm][/usr/share/lilypond/2.1.0/fonts/tfm/feta-nummer10.tfm]Global
 shortest duration is 1/8
[2]
Optimal demerits: 14.760346
paper output to `st1.tex'...
writing header field `title' to `st1.title'...
writing header field `composer' to `st1.composer'...
writing header field `pagenumber' to `st1.pagenumber'...
Element count 40.[0]
((gc-time-taken . 87) (cells-allocated . 363290) (cell-heap-size . 884736) 
(bytes-malloced . 892340) (gc-malloc-threshold . 1507812) (gc-times . 4) 
(gc-mark-time-taken . 19) (gc-sweep-time-taken . 68) (cells-marked . 399350) 
(cells-swept . 3519488) (cell-heap-segments (136921088 . 136904704) (1081726976 
. 1077532672) (1084598272 . 1081731072)))Interpreting music...elapsed time: 
0.02 seconds
MIDI output to `st1.midi'...
Track ... [0]

Analyzing st1.tex...
Traceback (most recent call last):
 File "/usr//bin/lilypond", line 875, in ?
   run_latex (files, outbase, extra_init)
 File "/usr//bin/lilypond", line 496, in run_latex
   s = global_latex_definition (wfs, extra)
 File "/usr//bin/lilypond", line 468, in global_latex_definition
   s = global_latex_preamble (extra) + '\\begin{document}\n'
 File "/usr//bin/lilypond", line 454, in global_latex_preamble
   s = s + '\setcounter{page}{%d}\n' % (extra['pagenumber'][-1])
TypeError: int argument required
lilypond: warning: can't find  `st1.latex'
MIDI output to `st1.midi'...
TEX output to `st1.tex'...
lilypond: warning: can't find  `st1.pdf'
Cleaning /home/lyle/tmp/tmpg1Efnililypond...


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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