[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: psfonts problem with lilypond-book - strange behaviour?
From: |
Mats Bengtsson |
Subject: |
Re: psfonts problem with lilypond-book - strange behaviour? |
Date: |
Thu, 29 Mar 2007 17:28:59 +0200 |
User-agent: |
Thunderbird 1.5.0.10 (X11/20070221) |
I'm rather surprised that you have managed to use lilypond-book with the
flag --psfonts on Windows. Last time I tried, it only worked to use
lilypond-book --pdf songbook.lytex
pdflatex songbook
(make sure to first remove all old lily-*.* files from your working
directory).
Hopefully, this will also solve your problem.
Anyway, the error message seems to be related to the font used in the title
(you can find the letters of the title, written backwords) in the
"Operand stack".
Just a wild shot: have you edited the .ly file since last time it worked?
In that case, make sure that your editor hasn't changed the font encoding
for some silly reason. It should use UTF-8, nothing else.
/Mats
Dominic Neumann wrote:
address@hidden,
I´m working with lilypond-book and LaTeX to typeset a songbook. Since
today there´s a problem with the PDF creation.
Here´s a short example:
%%% TEX FILE songbook.lytex %%%
\documentclass{book}
\begin{document}
\lilypondfile{herr_erbarme_dich.ly}
\end{document}
%%% END OF TEX FILE %%%
%%% INPUT FILE herr_erbarme_dich.ly %%%
\version "2.10.20"
\header {
title = "Herr, erbarme dich"
tagline = ##f
%composer = "T. u. M.: Fritz Müller"
}
\score {
<<
\relative c' {
\key e \minor
\time 4/4
e2 fis
g4 g8 fis8~ fis2
\bar "|."
}
\addlyrics { Herr, er -- bar -- me dich, __ }
>>
}
%%% END OF LILYPOND INPUT FILE %%%
The clue is that files that worked only yesterday don´t today. I
already reinstalled lilypond (2.10.20 on WinXP) but nothing changed.
When I comment the line
title = "Herr, erbarme dich"
out, the compilation produces no errors.
I used the proposed workflow:
lilypond-book --psfonts songbook.lytex
latex songbook.tex
dvips -o -h songbook.psfonts -Ppdf songbook.dvi
ps2pdf songbook.ps
The output of the last command (ps2pdf) is:
%%% START OUTPUT %%%
Error: /invalidfont in --glyphshow--
Operand stack:
2.39 0.0 h 1.9462 0.0 c 1.2974 0.0 i 2.3217
0.0 d 0.9
902 0.0 space 1.9803 0.0 e 3.346 0.0 m 1.8757
0.0 r 2.15
1 0.0 a 2.2535 0.0 b 1.8096 0.0 r 1.9803 0.0 e
0.9902
0.0 space 0.956 0.0 comma 1.5722 0.0 r 1.8096 0.0
r 1.9803
0.0 e 3.0388 0.0 16.3019 -2.5949
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-
- 2 %stopped_push --nostringval-- --nostringval--
--nostringval-- fa
lse 1 %stopped_push 1 3 %oparray_pop 1 3
%oparray_pop 1 3
%oparray_pop 1 3 %oparray_pop .runexec2 --nostringval--
--nostringva
l-- --nostringval-- 2 %stopped_push --nostringval-- 17
--nostringval
-- %repeat_continue --nostringval--
Dictionary stack:
--dict:1123/1686(ro)(G)-- --dict:0/20(G)-- --dict:71/200(L)--
--dict:10
1/300(L)-- --dict:75/200(L)--
Current allocation mode is local
Current file position is 682942
MiKTeX GPL Ghostscript 8.54: Unrecoverable error, exit code 1
%%% EnD OF OUTPUT %%%
This error description didn´t lead me to a solution to the problem ...
Can anybody help me?
Dominic
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
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
=============================================