[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scandinavian letters in lyrics and text markup
From: |
Oddgeir Finstad |
Subject: |
Re: Scandinavian letters in lyrics and text markup |
Date: |
18 Apr 2004 14:38:08 +0200 |
søn, 2004-04-18 kl. 11:21 skrev Jan Nieuwenhuizen:
> Oddgeir Finstad writes:
>
> You may try this:
>
> \header{
> latexpackages="t1enc"
> }
> \score{
> <<
> \notes\relative c' {
> a4 a a a a a a a
> }
> \lyricsto "" \new Lyrics \lyrics {
> \override LyricText #'font-name = #"ecrb12"
> Han f\o -- rer d\o {} - dens s\aa g\aa r
> }
> >>
> }
>
> I'm amazed how much time it took me to figure this out, we should have
> some good examples on this. The v2.2.0 lilypond script is not very
> flexible or elegant with respect to setting special latex options.
>
> I'm fairly sure that with some good bug reports (with latex code
> solutions) this could have been fixed eons ago.
>
> Jan.
Thanks for your reply.When I ran the file you suggested, it gave me this
output - without and with --verbose:
1.
address@hidden lilypond]$ lilypond kodefiler/test.ly
lilypond (GNU LilyPond) 2.2.0
Running lilypond-bin...
Now processing `kodefiler/test.ly'
Parsing...
/home/oddgeir/lilypond/kodefiler/test.ly:2:0: error: parse error,
unexpected $,
expecting SCM_T or SCM_IDENTIFIER or STRING or '}':
latexpackages="t1enc"
Failed files: kodefiler/test.ly
lilypond: error: LilyPond failed on input file kodefiler/test (exit
status 1)
lilypond: warning: Running LilyPond failed. Rerun with --verbose for a
trace.
address@hidden lilypond]$
2.
address@hidden lilypond]$ lilypond -V kodefiler/test.ly
lilypond (GNU LilyPond) 2.2.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/oddgeir/lilypond -I
/home/oddgeir/lilypond -I /home/oddgeir/lilypond/kodefiler -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 papersize -H textheight -H pagenumber -H language -H
latexheaders -H latexoptions -H linewidth -H latexpackages -H unit -H
orientation --verbose kodefiler/test'
lilypond_datadir: `/usr/share/lilypond'
local_lilypond_datadir: `/usr/share/lilypond/2.2.0'
localedir: `/usr/share/locale'
LILYPONDPREFIX: `'
[/usr/share/lilypond/2.2.0/scm/define-music-types.scm][/usr/share/lilypond/2.2.0/scm/output-lib.scm][/usr/share/lilypond/2.2.0/scm/c++.scm][/usr/share/lilypond/2.2.0/scm/chord-ignatzek-names.scm][/usr/share/lilypond/2.2.0/scm/chord-entry.scm][/usr/share/lilypond/2.2.0/scm/chord-generic-names.scm][/usr/share/lilypond/2.2.0/scm/stencil.scm][/usr/share/lilypond/2.2.0/scm/new-markup.scm][/usr/share/lilypond/2.2.0/scm/bass-figure.scm][/usr/share/lilypond/2.2.0/scm/music-functions.scm][/usr/share/lilypond/2.2.0/scm/part-combiner.scm][/usr/share/lilypond/2.2.0/scm/define-music-properties.scm][/usr/share/lilypond/2.2.0/scm/auto-beam.scm][/usr/share/lilypond/2.2.0/scm/chord-name.scm][/usr/share/lilypond/2.2.0/scm/define-context-properties.scm][/usr/share/lilypond/2.2.0/scm/translation-functions.scm][/usr/share/lilypond/2.2.0/scm/script.scm][/usr/share/lilypond/2.2.0/scm/midi.scm][/usr/share/lilypond/2.2.0/scm/beam.scm][/usr/share/lilypond/2.2.0/scm/clef.scm][/usr/share/lilypond/2.2.0/scm/slur.scm][/usr/share/lilypond/2.2.0/scm/font.scm][/usr/share/lilypond/2.2.0/scm/define-markup-commands.scm][/usr/share/lilypond/2.2.0/scm/define-grob-properties.scm][/usr/share/lilypond/2.2.0/scm/define-grobs.scm][/usr/share/lilypond/2.2.0/scm/define-grob-interfaces.scm][/usr/share/lilypond/2.2.0/scm/page-layout.scm][/usr/share/lilypond/2.2.0/scm/paper.scm]
Now processing `kodefiler/test.ly'
Parsing...
[/usr/share/lilypond/2.2.0/ly/init.ly[/usr/share/lilypond/2.2.0/ly/declarations-init.ly[/usr/share/lilypond/2.2.0/ly/nederlands.ly][/usr/share/lilypond/2.2.0/ly/drumpitch-init.ly][/usr/share/lilypond/2.2.0/ly/chord-modifiers-init.ly][/usr/share/lilypond/2.2.0/ly/script-init.ly][/usr/share/lilypond/2.2.0/ly/scale-definitions-init.ly][/usr/share/lilypond/2.2.0/ly/grace-init.ly][/usr/share/lilypond/2.2.0/ly/midi-init.ly[/usr/share/lilypond/2.2.0/ly/performer-init.ly]][/usr/share/lilypond/2.2.0/ly/engraver-init.ly][/usr/share/lilypond/2.2.0/ly/dynamic-scripts-init.ly][/usr/share/lilypond/2.2.0/ly/spanners-init.ly][/usr/share/lilypond/2.2.0/ly/property-init.ly]][/home/oddgeir/lilypond/kodefiler/test.ly
/home/oddgeir/lilypond/kodefiler/test.ly:2:0: error: parse error,
unexpected $,
expecting SCM_T or SCM_IDENTIFIER or STRING or '}':
latexpackages="t1enc"
]]Failed files: kodefiler/test.ly
lilypond: warning: `lilypond-bin' failed (status 1) (ignored)
lilypond: error: LilyPond failed on input file kodefiler/test (exit
status 1)
Traceback (most recent call last):
File "/usr/bin/lilypond", line 867, in ?
run_lilypond (files, dep_prefix)
File "/usr/bin/lilypond", line 292, in run_lilypond
ly.exit (status)
File "/usr/share/lilypond/2.2.0/python/lilylib.py", line 130, in exit
raise _ ('Exiting (%d)...') % i
Exiting (256)...
Cleaning /tmp/@1784.0lilypond...
address@hidden lilypond]$
Not quite what I hoped for.
I'm running a RH9 distro that I got from LinuxUser 33. The kernel I'm
using is planetCCRMA 2.24-and-something. I have also run an "apt-get
dist-upgrade" exclusively from the CCRMA-respository recently (that's
where I got my Lily).
I'm not sure what latexpackages I have installed, but it looks like
latin1 is not present, while German seems to be there. As for Babel, I
have no idea. By the way, how relevant IS latin1 for LilyPond, and how
do I find out exactly what I have and what I haven't got? As for the
relevance, I have found very little about it in the documentation.
Thank you for a great application, by the way. The very first climb was
extremely steep, but as I have become more and more familiar with the
doc, it does most of what I want very neatly. Except for lyrics in my
native language.
Oddgeir
- Scandinavian letters in lyrics and text markup, Oddgeir Finstad, 2004/04/17
- Re: Scandinavian letters in lyrics and text markup, Erik Sandberg, 2004/04/17
- Re: Scandinavian letters in lyrics and text markup, Jan Nieuwenhuizen, 2004/04/17
- Re: Scandinavian letters in lyrics and text markup, Oddgeir Finstad, 2004/04/17
- Re: Scandinavian letters in lyrics and text markup, Mats Bengtsson, 2004/04/19
- Re: Scandinavian letters in lyrics and text markup, Jan Nieuwenhuizen, 2004/04/20
- Re: Scandinavian letters in lyrics and text markup, Mats Bengtsson, 2004/04/20
- Re: Scandinavian letters in lyrics and text markup, Jan Nieuwenhuizen, 2004/04/20
- Re: Scandinavian letters in lyrics and text markup, Mats Bengtsson, 2004/04/20
- Re: Scandinavian letters in lyrics and text markup, Jan Nieuwenhuizen, 2004/04/20
- Re: Scandinavian letters in lyrics and text markup, Ferenc Wagner, 2004/04/20
- Re: Scandinavian letters in lyrics and text markup, Jan Nieuwenhuizen, 2004/04/20
- Re: Scandinavian letters in lyrics and text markup, Mats Bengtsson, 2004/04/21