I should have been more clear. My suggestion will work in version 2.2.x,
but not necessarily in 2.3.x, since one of the major changes in the
2.3.x series is the handling of font encodings.
I just tried the latest CVS version of the 2.3.x series but it gives
an ugly crash (probably because of some ongoing hacking), so I cannot
test it there.

I definitely recommend the latest stable version 2.2.3 for any
serious typesetting job, the development versions 2.3.x should be
considered experimental.

   /Mats

Herman Grootaers wrote:
On Thursday 01 July 2004 17:21, you wrote:

The steps described below are not relevant for the current versions
of LilyPond. However, they provided enough hints that I think I have
found a solution, see the following example. Note that I don't know
any russian, so I just copied a text from a web page.

------------------------------------------------
\header{
  inputencoding="koi8-r"
  fontencoding="T2A"
}

\score{<<
  \context Voice = melody \notes \relative c'{
    c d e f g a b c}
  \lyricsto melody \new Lyrics \lyrics{
    ÐÐÑ ÐÐÐÐÐÑÐÐÐ ÑÑÑÑÐÐÐÐ ÑÐÑÐÐ Ð teTeX ÐÑÐÐÐ
  }>>
\paper{
  \context{
    \LyricsContext
    \override LyricText #'font-name = #'"larm1000"
  }
}
}

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

As you can see, the necessary steps are to define the
inputencoding and the fontencoding and to tell LilyPond
the name of the font file. The steps to find out the name of
the font file is just as described below (I don't understand
the problems mentioned about the larm* files though).

Note that you need LilyPond version 2.2.0 or newer for
this solution to work.



Thanks, I got it now so far that I can compile the file correctly, though there are some problems in getting the script on the paper.

I do send the source and the log of the verbose translation with it.

Maybe you can give me a final hint where to look for, because there are a few projects waiting to be resolved on this.

== Greetings,
Herman Grootaers



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

lilypond (GNU LilyPond) 2.3.5
Openen van pijp `/usr/local/bin/lilypond-bin --version '...
Openen van pijp `kpsexpand \$TEXMF'...
Openen van pijp `kpsewhich -expand-path=\$T1FONTS'...
Inroepen van `/usr/local/bin/lilypond-bin  -I /home/herman/Documents/Lilypond -I 
/home/herman/Documents/Lilypond -I /home/herman/Documents/Lilypond 
--header=orientation --header=language --header=latexpackages --header=papersize 
--header=latexheaders --header=latexoptions --header=linewidth --header=unit --verbose 
testmulti'
lilypond_datadir: `/usr/local/share/lilypond'
local_lilypond_datadir: `/usr/local/share/lilypond/2.3.5'
localedir: `/usr/local/share/locale'
LILYPONDPREFIX: `'


Nu wordt verwerkt `testmulti.ly' Ontleden... [/usr/local/share/lilypond/2.3.5/ly/init.ly[/usr/local/share/lilypond/2.3.5/ly/declarations-init.ly[/usr/local/share/lilypond/2.3.5/ly/music-functions-init.ly][/usr/local/share/lilypond/2.3.5/ly/nederlands.ly][/usr/local/share/lilypond/2.3.5/ly/drumpitch-init.ly][/usr/local/share/lilypond/2.3.5/ly/chord-modifiers-init.ly][/usr/local/share/lilypond/2.3.5/ly/script-init.ly][/usr/local/share/lilypond/2.3.5/ly/scale-definitions-init.ly][/usr/local/share/lilypond/2.3.5/ly/grace-init.ly][/usr/local/share/lilypond/2.3.5/ly/midi-init.ly[/usr/local/share/lilypond/2.3.5/ly/performer-init.ly]][/usr/local/share/lilypond/2.3.5/ly/book-paper-defaults.ly][/usr/local/share/lilypond/2.3.5/ly/engraver-init.ly][/usr/local/share/lilypond/2.3.5/ly/dynamic-scripts-init.ly][/usr/local/share/lilypond/2.3.5/ly/spanners-init.ly][/usr/local/share/lilypond/2.3.5/ly/property-init.ly]][/home/herman/Documents/Lilypond/testmulti.ly invoer hernoemd naar: `Ektenia101.ly' Vertolken van muziek...[/usr/local/share/lilypond/2.3.5/fonts/afm/feta20.afm][/usr/local/share/lilypond/2.3.5/fonts/tfm/feta20.tfm[/usr/local/share/lilypond/2.3.5/ps/feta20.enc]][6]duur: 0.44 seconden Aantal elementen 635 (spanners 18)Voorbewerken van grafische objecten... Aantal grobs 821[/usr/local/share/lilypond/2.3.5/fonts/afm/feta11.afm][/usr/local/share/lilypond/2.3.5/fonts/tfm/feta11.tfm][/usr/local/share/lilypond/2.3.5/fonts/afm/parmesan11.afm][/usr/local/share/lilypond/2.3.5/fonts/tfm/parmesan11.tfm[/usr/local/share/lilypond/2.3.5/ps/parmesan20.enc]][/usr/local/share/lilypond/2.3.5/fonts/afm/feta13.afm][/usr/local/share/lilypond/2.3.5/fonts/tfm/feta13.tfm][/usr/local/share/lilypond/2.3.5/fonts/afm/parmesan13.afm][/usr/local/share/lilypond/2.3.5/fonts/tfm/parmesan13.tfm][/usr/local/share/lilypond/2.3.5/fonts/afm/feta14.afm][/usr/local/share/lilypond/2.3.5/fonts/tfm/feta14.tfm][/usr/local/share/lilypond/2.3.5/fonts/afm/parmesan14.afm][/usr/local/share/lilypond/2.3.5/fonts/tfm/parmesan14.tfm][/usr/local/share/lilypond/2.3.5/fonts/afm/feta16.afm][/usr/local/share/lilypond/2.3.5/fonts/tfm/feta16.tfm][/usr/local/share/lilypond/2.3.5/fonts/afm/parmesan16.afm][/usr/loca
l/share/lilypond/2.3.5/fonts/tfm/parmesan16.tfm][/usr/local/share/lilypond/2.3.5/fonts/afm/feta18.afm][/usr/local/share/lilypond/2.3.5/fonts/tfm/feta18.tfm][/usr/local/share/lilypond/2.3.5/fonts/afm/parmesan18.afm][/usr/local/share/lilypond/2.3.5/fonts/tfm/parmesan18.tfm][/usr/local/share/lilypond/2.3.5/fonts/afm/parmesan20.afm][/usr/local/share/lilypond/2.3.5/fonts/tfm/parmesan20.tfm][/usr/local/share/lilypond/2.3.5/fonts/afm/feta23.afm][/usr/local/share/lilypond/2.3.5/fonts/tfm/feta23.tfm][/usr/local/share/lilypond/2.3.5/fonts/afm/parmesan23.afm][/usr/local/share/lilypond/2.3.5/fonts/tfm/parmesan23.tfm][/usr/share/texmf/dvips/base/cork.enc]
Berekenen van regelafbreuken... Globaal kortste lengte is 1/8
waarschuwing: kpathsea kan TMF bestand niet vinden: `ecrb10'
waarschuwing: kan font niet vinden: `ecrb10'
waarschuwing: Laden van standaardfont
[/usr/share/texmf/fonts/tfm/public/cm/cmr10.tfm[/usr/local/share/lilypond/2.3.5/ps/cmr.enc]][3]
Optimale foutscore: 0.788425
Aantal elementen: 293.[0]papier uitvoer naar testmulti.tex...
]][/usr/local/share/lilypond/2.3.5/scm/define-music-types.scm][/usr/local/share/lilypond/2.3.5/scm/output-lib.scm][/usr/local/share/lilypond/2.3.5/scm/c++.scm][/usr/local/share/lilypond/2.3.5/scm/chord-ignatzek-names.scm][/usr/local/share/lilypond/2.3.5/scm/chord-entry.scm][/usr/local/share/lilypond/2.3.5/scm/chord-generic-names.scm][/usr/local/share/lilypond/2.3.5/scm/stencil.scm][/usr/local/share/lilypond/2.3.5/scm/new-markup.scm][/usr/local/share/lilypond/2.3.5/scm/bass-figure.scm][/usr/local/share/lilypond/2.3.5/scm/music-functions.scm][/usr/local/share/lilypond/2.3.5/scm/part-combiner.scm][/usr/local/share/lilypond/2.3.5/scm/define-music-properties.scm][/usr/local/share/lilypond/2.3.5/scm/auto-beam.scm][/usr/local/share/lilypond/2.3.5/scm/chord-name.scm][/usr/local/share/lilypond/2.3.5/scm/ly-from-scheme.scm][/usr/local/share/lilypond/2.3.5/scm/define-context-properties.scm][/usr/local/share/lilypond/2.3.5/scm/translation-functions.scm][/usr/local/share/lilypond/2.3.5/
scm/script.scm][/usr/local/share/lilypond/2.3.5/scm/midi.scm][/usr/local/share/lilypond/2.3.5/scm/beam.scm][/usr/local/share/lilypond/2.3.5/scm/clef.scm][/usr/local/share/lilypond/2.3.5/scm/slur.scm][/usr/local/share/lilypond/2.3.5/scm/font.scm][/usr/local/share/lilypond/2.3.5/scm/encoding.scm][/usr/local/share/lilypond/2.3.5/scm/fret-diagrams.scm][/usr/local/share/lilypond/2.3.5/scm/define-markup-commands.scm][/usr/local/share/lilypond/2.3.5/scm/define-grob-properties.scm][/usr/local/share/lilypond/2.3.5/scm/define-grobs.scm][/usr/local/share/lilypond/2.3.5/scm/define-grob-interfaces.scm][/usr/local/share/lilypond/2.3.5/scm/page-layout.scm][/usr/local/share/lilypond/2.3.5/scm/titling.scm][/usr/local/share/lilypond/2.3.5/scm/paper.scm][/usr/local/share/lilypond/2.3.5/scm/safe-lily.scm]((gc-time-taken
 . 225) (cells-allocated . 255970) (cell-heap-size . 892928) (bytes-malloced . 
1191435) (gc-malloc-threshold . 2139126) (gc-times . 32) (gc-mark-time-taken . 117) 
(gc-sweep-time-t
aken . 108) (cells-marked . 3867942) (cells-swept . 8316480) (cell-heap-segments 
(137062400 . 137013248) (137089024 . 137072640) (137207808 . 137142272) (137322496 . 
137224192) (1078515712 . 1078368256) (1078683648 . 1078519808) (1078900736 . 
1078687744) (1079232512 . 1078904832) (1079728128 . 1079236608) (1080551424 . 
1079814144) (1081997312 . 1080555520) (1083525120 . 1082001408) (1085442048 . 
1083574272)))
Analyseren van testmulti.tex...
Inroepen van `(( latex \\nonstopmode \\input testmulti.latex  >&2 ) >&- )'This is TeX, 
Version 3.14159 (Web2C 7.4.5)
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, b
asque, italian, portuges, russian, spanish, nohyphenation, loaded.

(./testmulti.latex (/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/base/inputenc.sty)
No file testmulti.aux.
(./testmulti.tex (/usr/local/share/lilypond/2.3.5/tex/lilyponddefs.tex
(/usr/local/share/lilypond/2.3.5/tex/feta20.tex)
(/usr/local/share/lilypond/2.3.5/tex/lily-ps-defs.tex))) [1] (./testmulti.aux) )
(see the transcript file for additional information)
Output written on testmulti.dvi (1 page, 19292 bytes).
Transcript written on testmulti.log.


Openen van pijp `kpsewhich feta20.pfa'...
Inroepen van `dvips -ta4 -Ppdf -G0 -u +ec-mftrace.map -u +lilypond.map -otestmulti.ps testmulti.dvi'This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com)
' TeX output 2004.07.01:2356' -> testmulti.ps
<tex.pro><alt-rule.pro><texc.pro><music-drawing-routines.ps><f7b6d320.enc>
<texps.pro><special.pro>. <cmr10.pfb><feta20.pfa>[1]


Inroepen van `ps2pdf testmulti.ps testmulti.pdf'
DVI uitvoer naar `testmulti.dvi'...
lilypond: waarschuwing: kan bestand niet vinden: `testmulti.midi'
PDF uitvoer naar `testmulti.pdf'...
PS uitvoer naar `testmulti.ps'...
Schoonmaken van /home/herman/tmp/tmprTLHNRlilypond...


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

%% Generated by lilypond-book
%% Options: [printfilename,texidoc,linewidth]
#(define toplevel-score-handler ly:parser-print-score)
\paper { linewidth = 160 \mm
       }
\renameinput "Ektenia101.ly"
\version "2.3.5"
\header { texidoc = "Mayor or Peace-litany"
          %% Choral response to the prayers by the Diacon or Priest
          %% First litany in the orthodox services
          %% Named after it's size and after the first prayer
          inputencoding="Unicode"
          fontencoding="T2A"
        }
sopMusic = \relative c''
{ \cadenzaOn
  \stemUp
  \autoBeamOff
  a4 a2^\fermata \bar "||"
  a8 a a a a2 a^\fermata \bar "|:"
  a8 a a a g2 a^\fermata \bar ":|"
  a4 a2 bes bes a^\fermata \bar "||"
  a4 a2^\fermata \bar "|."
}
sopWords = \lyrics
{
}
altoMusic = \relative c'
{ \cadenzaOn
  \stemDown
  \autoBeamOff
  c4 c2_\fermata \bar "||"
  c8 c c c c2 c_\fermata \bar "|:"
  c8 c c c c2 c_\fermata \bar ":|"
  c4 c2 d c c_\fermata \bar "||"
  c4 c2_\fermata \bar "|."
}
altoWords =\lyrics
{ Ð-4 ÐÐÐ.2
  ÐÐÑ-8 ÐÐ- ÐÐ- ÐÐ- ÐÐ-2 ÐÑÐ.
  ÐÐÑ-8 ÐÐ- ÐÐ- ÐÐ- ÐÐ-2 ÐÑÐ.
  ÐÐ-4 ÐÐ,2 ÐÐÑ- ÐÐ- ÐÐ.
  Ð-4 ÐÐÐ.2
}
tenorMusic =  \relative c'
{ \cadenzaOn
  \stemUp
  \autoBeamOff
  c4 c2^\fermata \bar "||"
  c8 c c c c2 c^\fermata \bar "|:"
  c8 c c c c2 c^\fermata \bar ":|"
  c4 c2 d c c^\fermata \bar "||"
  c4 c2^\fermata \bar "|."
}
tenorWords = \lyrics
{
}
bassMusic =  \relative c
{ \cadenzaOn
  \stemDown
  \autoBeamOff
  f4 f2_\fermata \bar "||"
  f8 f f f f2 f_\fermata \bar "|:"
  f8 f f f c2 f_\fermata \bar ":|"
  f4 f2 bes, c f_\fermata \bar "||"
  f4 f2_\fermata \bar "|."
}
bassWords = \lyrics
{
}
\score { << \context StaffGroup << \context Lyrics = sopranos { s1 }
                                   \context Staff = women << \context Voice = sopranos 
{ \voiceOne \sopMusic }
                                                             \context Voice = altos { 
\voiceTwo \altoMusic }
                                                          >>
                                   \context Lyrics = altos { s1 }
                                   \context Lyrics = tenors { s1 }
                                   \context Staff = men << \clef bass
                                                           \context Voice = tenors { 
\voiceOne \tenorMusic }
                                                           \context Voice = basses { 
\voiceTwo \bassMusic }
                                                        >>
                                   \context Lyrics = basses { s1 }
                                   \context Lyrics = sopranos \lyricsto sopranos 
\sopWords
                                   \context Lyrics = altos \lyricsto altos \altoWords
                                   \context Lyrics = tenors \lyricsto tenors 
\tenorWords
                                   \context Lyrics = basses \lyricsto basses \bassWords
                                >>
         >>
       }
\paper { \context { % a little smaller so lyrics can be closer to the staff.
                    \Staff minimumVerticalExtent = #'(-3 . 3)
                    \override LyricText #'fontname = #'"verdana"
                  }
       }

-- ============================================= 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

Reply via email to