As has already been pointed out, it's not a very good idea to
use version 2.5.11 for any serious typesetting. Actually, the
next stable version, 2.6.0, is supposed to be released during
this week and it should be available in a package that will work
on virtually any Linux version.
Back to your problem. Have you, by chance, installed the new
TeX environment, teTeX version 3.0, recently? That could explain
your problems.
/Mats
Vincent Gay wrote:
Hi,
I'm new on this list so let me introduce myself.
I'm a French (my aplologies for my many mistakes) user of Mandriva 2005
LE. I have used Lilypond for several years with files generally
generated by NoteEdit. Everything worked fine until some month ago (I
could not say when exactly) but I've now a problem with special endings.
Mandriva 2005 LE comes with Lilypond 2.5.11. OK, I know, this is a
development version, but I tried also with other version (see below).
Take for example this to simple files
---------repetition.ly----------
\version "2.4.2"
#(set-global-staff-size 16)
flat = \markup { \raise #0.4 \smaller \musicglyph #"accidentals--2" }
sharp = \markup { \raise #0.6 \smaller \musicglyph #"accidentals-2" }
textcodaysym = \markup { \hspace #1 \raise #1.1 \musicglyph
#"scripts-coda"}
StaffA = \relative c' {
\clef G
\time 4/4
\repeat "volta" 2 {
c'1 | c
}
}
\score {
\simultaneous {
\set Score.skipBars = ##t
\set Score.melismaBusyProperties = #'()
\context Staff="StaffA" \StaffA
}
\layout {
linewidth = 170.000 \mm
textheight = 250.000 \mm
}
}
-----------end of file repetition.ly-------------
the command "$lilypond repetition.ly" is OK
---------command lilypond (console)----------
[EMAIL PROTECTED] essai]$ lilypond repetition.ly
GNU LilyPond 2.5.11
Processing `repetition.ly'
Analyse...
Interprétation en cours de la musique...[3]
Pré-traitement des éléments graphiques...
Calcul des bris de lignes...
Layout output to `repetition.ps'...
Conversion à « repetition.pdf »...
[EMAIL PROTECTED] essai]$
-----------end of command-------------
Now let us change the .ly file with a special ending
-------------file special_ending.ly------------
../..
StaffA = \relative c' {
\clef G
\time 4/4
\repeat "volta" 2 {
c'1 |
}
\alternative {
{
c1
}
{
c1
}
}
}
../..
-----------end of file special_ending.ly------------
This syntax is correct according to the documentation but the result of
the lilypond command is :
---------command lilypond 2.5.11 (console)---------
[EMAIL PROTECTED] essai]$ lilypond special_ending.ly
GNU LilyPond 2.5.11
Processing `special_ending.ly'
Analyse...
Interprétation en cours de la musique...[4]
Pré-traitement des éléments graphiques...
Calcul des bris de lignes... [3][4]
AVERTISSEMENT: Kpathsea ne peut repérer le fichier TFM: « feta-alphabet11 »
AVERTISSEMENT: ne peut repérer la fonte: « feta-alphabet11 »
AVERTISSEMENT: Chargement de la fonte par défaut
AVERTISSEMENT: Kpathsea ne peut repérer le fichier TFM: « feta-alphabet13 »
AVERTISSEMENT: ne peut repérer la fonte: « feta-alphabet13 »
AVERTISSEMENT: Chargement de la fonte par défaut
AVERTISSEMENT: Kpathsea ne peut repérer le fichier TFM: « feta-alphabet14 »
AVERTISSEMENT: ne peut repérer la fonte: « feta-alphabet14 »
AVERTISSEMENT: Chargement de la fonte par défaut
AVERTISSEMENT: Kpathsea ne peut repérer le fichier TFM: « feta-alphabet16 »
AVERTISSEMENT: ne peut repérer la fonte: « feta-alphabet16 »
AVERTISSEMENT: Chargement de la fonte par défaut
AVERTISSEMENT: Kpathsea ne peut repérer le fichier TFM: « feta-alphabet18 »
AVERTISSEMENT: ne peut repérer la fonte: « feta-alphabet18 »
AVERTISSEMENT: Chargement de la fonte par défaut
AVERTISSEMENT: Kpathsea ne peut repérer le fichier TFM: « feta-alphabet20 »
AVERTISSEMENT: ne peut repérer la fonte: « feta-alphabet20 »
AVERTISSEMENT: Chargement de la fonte par défaut
AVERTISSEMENT: Kpathsea ne peut repérer le fichier TFM: « feta-alphabet23 »
AVERTISSEMENT: ne peut repérer la fonte: « feta-alphabet23 »
AVERTISSEMENT: Chargement de la fonte par défaut
AVERTISSEMENT: Kpathsea ne peut repérer le fichier TFM: « feta-alphabet26 »
AVERTISSEMENT: ne peut repérer la fonte: « feta-alphabet26 »
AVERTISSEMENT: Chargement de la fonte par défaut
Layout output to `special_ending.ps'...
AVERTISSEMENT: can't find "latin1.enc"
Backtrace:
In /usr/share/lilypond/2.5.11/scm/output-ps.scm:
246: 21 (let* (# # # #) (string-append # " setfont " #))
250: 22* [decode-byte-string "latin1" "2."]
In /usr/share/lilypond/2.5.11/scm/encoding.scm:
141: 23 (let* (# # #) (do # # #))
141: 24* [get-coding-vector "latin1"]
131: 25 [caddr ...
131: 26* [get-coding "latin1"]
112: 27 (let ((entry #)) (if entry (cons # #) (if # # #)))
...
114: 28 [cons "latin1.enc" ...
114: 29* [force #<promise #<procedure #f ()>>]
In unknown file:
?: 30* [#<procedure #f ()>]
In /usr/share/lilypond/2.5.11/scm/encoding.scm:
76: 31* [get-coding-from-file "latin1.enc"]
65: 32 (let* ((coding #) (command #) (vector #) ...) (list command
vector ...))
65: 33* [read-encoding-file "latin1.enc"]
15: 34 (let* ((path #) (unused #) (raw #) (string #) ...) (cons
command vector))
17: 35* [cached-file-contents #f]
In /usr/share/lilypond/2.5.11/scm/file-cache.scm:
10: 36 (let ((contents #)) (if (not #) (begin # #)) contents)
13: 37* (if (not #) (begin # #))
14: 38 (begin (set! contents #) (hash-set! cache-hash-tab filename
contents))
15: 39* (set! contents (ly:gulp-file filename))
15: 40* [ly:gulp-file #f]
/usr/share/lilypond/2.5.11/scm/file-cache.scm:15:26: In procedure
ly_gulp_file in expression (ly:gulp-file filename):
/usr/share/lilypond/2.5.11/scm/file-cache.scm:15:26: Wrong type argument
in position 1 (expecting string): #f
[EMAIL PROTECTED] essai]$
-----------end of command-------------
Using first the command
[EMAIL PROTECTED] essai]$ convert-ly special-ending.ly >
special-ending_2.ly
does not change anything in the result
I tried to uninstall the 2.5.11 and install the Thac's rpm (2.4.2), as
recommended on the website. The result is worse, identical for the two
files :
---------command lilypond 2.4.2 (console)---------
[EMAIL PROTECTED] essai]$ lilypond repetition.ly
GNU LilyPond 2.4.2
Processing `repetition.ly'
Analyse...
Interprétation en cours de la musique...[3]
Pré-traitement des éléments graphiques...
Calcul des bris de lignes...
AVERTISSEMENT: lily-guile: can't find "latin1.enc"
Backtrace:
In /usr/share/lilypond/2.4.2/scm/page-layout.scm:
91: 24 (let* (# # # #) (if # #) head-stencil)
96: 25* (if (procedure? header-proc) (header-proc layout scopes number
last?) #f)
97: 26 [plain-footer #< Output_def> () 1 #t]
64: 27 (let* (# # # # ...) (if last? #) (if # #) ...)
71: 28* (if last? (set! stencil (ly:stencil-combine-at-edge stencil Y
...)))
72: 29 (set! stencil (ly:stencil-combine-at-edge stencil Y ...))
73: 30* [ly:stencil-combine-at-edge #f 1 -1 ...
74: 31* [Text_interface::interpret_markup #< Output_def> ((# # # ...))
...]
In unknown file:
?: 32* [get-coding-vector "latin1"]
In /usr/share/lilypond/2.4.2/scm/encoding.scm:
124: 33* [caddr ...
124: 34* [get-coding "latin1"]
105: 35 (let ((entry #)) (if entry (cons # #) (if # # #)))
...
107: 36 [cons "latin1.enc" ...
107: 37* [force #<promise #<procedure #f ()>>]
In unknown file:
?: 38* [#<procedure #f ()>]
In /usr/share/lilypond/2.4.2/scm/encoding.scm:
76: 39* [get-coding-from-file "latin1.enc"]
65: 40 (let* ((coding #) (com #) (vec #) (tab #)) (list com vec tab))
65: 41* [read-encoding-file "latin1.enc"]
15: 42 (let* ((path #) (unused #) (raw #) (string #) ...) (cons
command vector))
17: 43* [ly:gulp-file #f]
/usr/share/lilypond/2.4.2/scm/encoding.scm:17:15: In procedure
ly_gulp_file in expression (ly:gulp-file path):
/usr/share/lilypond/2.4.2/scm/encoding.scm:17:15: Wrong type argument in
position 1 (expecting string): #f
[EMAIL PROTECTED] essai]$
-----------end of command-------------
I tried an old Mandrake version (2.2.0) without more success, I thus
decided to install lilypond 2.4.5 directly from the sources. The
installation process seemed OK, I checked all the requirements, but all
that I get is the following message :
---------command lilypond 2.4.2 (console)---------
[EMAIL PROTECTED] essai]$ /usr/local/bin/lilypond repetition.ly
GNU LilyPond 2.4.5
Processing `essai2.ly'
Analyse...
Interprétation en cours de la musique...Erreur: ne peut trouver «
feta20.afm »
Les fontes Musicales n'ont pas été installées correctement. Abandon
[EMAIL PROTECTED] essai]$
-----------end of command-------------
The compilation install the program in /usr/local. Is this a path
problem ? I tried to link (ln -s) all what I found in /usr/local in /usr
(exepted /usr/local/share/texmf/ls-R, I just added the lines), it does
not work better.
I suppose that this kind of problem was already treated here but in the
absence of FAC it is not easy to make a research in the archives.
Any help would be highly appreciated.
Vincent
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-use
r
--
=============================================
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user