@c -*- coding: utf-8; mode: texinfo; -*-
@c This file is part of lilypond.tely
@ignore
- Translation of GIT committish: 3a8542af9f54c99b53374328af0d5d87005ca49e
+ Translation of GIT committish: 2c00bdbfaf62dd90863331c4713e6b29e32c9322
When revising a translation, copy the HEAD committish of the
version that you are working on. See TRANSLATION for details.
(pos (ly:grob-property grob 'staff-position)))
(if (memq 'note-head-interface interfaces)
(begin
- (ly:grob-set-property! grob 'stencil ly:text-interface::print)
- (ly:grob-set-property! grob 'font-family 'roman)
- (ly:grob-set-property! grob 'text
- (make-raise-markup -0.5
- (case pos
- ((-5) (make-simple-markup "m"))
- ((-3) (make-simple-markup "c "))
- ((-2) (make-smaller-markup (make-bold-markup "2")))
- (else (make-simple-markup "bla")))))))))
+ (ly:grob-set-property! grob 'stencil
+ (grob-interpret-markup grob
+ (make-lower-markup 0.5
+ (case pos
+ ((-5) "m")
+ ((-3) "c ")
+ ((-2) (make-smaller-markup (make-bold-markup "2")))
+ (else "bla")))))))))
\new Voice \relative c' {
- \stemUp
- \set autoBeaming = ##f
- \time 2/4
- <d f g>4
- \once \override NoteHead #'stencil = #ly:note-head::brew-ez-stencil
- \once \override NoteHead #'font-size = #-7
- \once \override NoteHead #'font-family = #'sans
- \once \override NoteHead #'font-series = #'bold
- <d f g>
- \once \override NoteHead #'style = #'cross
- <d f g>
- \applyOutput #'Voice #mc-squared
- <d f g>
- <<
- { d8[ es-( fis^^ g] fis2-) }
- \repeat unfold 5 { \applyOutput #'Voice #mc-squared s8 }
- >>
+ \stemUp
+ \set autoBeaming = ##f
+ \time 2/4
+ <d f g>4
+ \once \override NoteHead #'stencil = #ly:note-head::brew-ez-stencil
+ \once \override NoteHead #'font-size = #-7
+ \once \override NoteHead #'font-family = #'sans
+ \once \override NoteHead #'font-series = #'bold
+ <d f g>4
+ \once \override NoteHead #'style = #'cross
+ <d f g>4
+ \applyOutput #'Voice #mc-squared
+ <d f g>4
+ <<
+ { d8[ es-( fis^^ g] fis2-) }
+ \repeat unfold 5 { \applyOutput #'Voice #mc-squared s8 }
+ >>
}
@end lilypond
@c -*- coding: utf-8; mode: texinfo; documentlanguage: de -*-
@c This file is part of lilypond-program.tely
@ignore
- Translation of GIT committish: 023d49bb18cbc21a03e7711186d961b8b4fc5e80
+ Translation of GIT committish: 2c00bdbfaf62dd90863331c4713e6b29e32c9322
When revising a translation, copy the HEAD committish of the
version that you are working on. See TRANSLATION for details.
@end ignore
+ @c \version "2.11.61"
+
@c Translators: Reinhold Kainhofer
+ @c Translation checkers: Till Rettig
+
@node LilyPond-book
@chapter @command{lilypond-book}: Integrating text and music
-
Wenn Sie in ein Dokument Grafiken Ihres Musiksatzes einfügen möchten, so
können Sie genauso machen, wie Sie andere Grafiken einfügen würden: Die
Bilder werden getrennt vom Dokument im PostScript- oder PNG-Format erstellt
@command{lilypond-book} ist ein eigenständiges Programm und wird
üblicherweise von der Kommandozeile aufgerufen. Nähere Informationen
- hierzu finden sich in @ref{Command-line usage}.
+ hierzu finden sich in @ref{Command-line usage}. Wenn Sie MacOS 10.3
+ oder 10.4 benutzen und Probleme mit @code{lilypond-book} haben, lesen
+ Sie @ref{Setup for MacOS X}.
Dieses Vorgehen kann bei @LaTeX{}, HTML, Texinfo oder DocBook Dokumenten
angewendet werden.
\lilypond@{ IHR LILYPOND QUELLCODE @}
@end example
- Der Aufruf von @command{lilypond-book} liefert eine Datei, die dann mit
- @LaTeX{} weiter verarbeitet werden kann.
+ Zusätzlich kann mit @code{\lilypondversion} die benutzte Versionsnummer
+ von LilyPond angezeigt werden. Der Aufruf von @command{lilypond-book}
+ liefert eine Datei, die dann mit @LaTeX{} weiter verarbeitet werden kann.
- Dies soll hier an einigen Beispielen gezeigt werden. Die @code{lilypond} Umgebung
+ Dies soll hier an einigen Beispielen gezeigt werden. Die @code{lilypond}-Umgebung
@example
\begin[quote,fragment,staffsize=26]@{lilypond@}
Jedes Musikbeispiele ruft die folgenden Makros auf, wenn sie vom Benutzer
definiert wurden:
- @itemize bullet
+ @itemize
@item @code{\preLilyPondExample} -- wird vor der Musik aufgerufen,
@item @code{\postLilyPondExample} -- wird nach der Musik aufgerufen,
\begin@{lilypond@}...\end@{lilypond@}
@end example
-
@seealso
@command{lilypond-book} stellt auch zahlreiche Kommandozeilen-Optionen zur
- Verfügung. Für eine Liste dieser Optionen und andere hilfreiche Details zur
+ Verfügung. Für eine Liste dieser Optionen und andere hilfreiche Details zur
Verarbeitung von @LaTeX{}-Dokumenten, siehe @ref{Invoking lilypond-book}.
+
+
@node Texinfo
@subsection Texinfo
@@lilypondfile[Optionen,kommen,hier]@{@var{Dateiname}@}
@end example
+ Zusätzlich kann mit @code{@@lilypondversion} die aktuelle Versionsnummer
+ von LilyPond angezeigt werden.
Wenn @command{lilypond-book} eine derartige Datei verarbeitet,
wird eine Texinfo-Datei mit der Erweiterung @file{.texi} erzeugt,
die @code{@@image} Befehle für die Ausgabe nach HTML, Info und PDF
@command{lilypond-book} erzeugt dann daraus eine HTML-Datei mit den entsprechenden
@code{<image>} Tags für die Musikbeispiele in jeweils einem eigenen Absatz.
-
@lilypond[fragment,relative=2]
\key c \minor c4 es g2
@end lilypond
<lilypondfile @var{Option1} @var{Option2} ...>@var{Dateiname}</lilypondfile>
@end example
+ Zusätzlich gibt @code{<lilypondversion/>} die aktuelle Versionsnummer
+ von LilyPond aus.
@node DocBook
<programlisting language="lilypond" role="fragment verbatim staffsize=16 ragged-right relative=2">
\context Staff \with @{
\remove Time_signature_engraver
- \remove Clef_engraver@}
+ \remove Clef_engraver@}
@{ c4( fis) @}
</programlisting>
</textobject>
Streckt Musikfragmente mit nur einer Notenzeile auf die volle Breite,
es wird also @code{ragged-right = ##f} in das Musikfragment eingefügt.
-@c does this option still exist in lilypond? -jm
-@item packed
-Erzeugt Notenzeilen mit möglichst engem Notenabstand, es wird also
-@code{packed = ##t} in das Musikfragment eingefügt.
-
@item line-width
@itemx line-width=@var{Breite}\@var{Einheit}
Setzt die Breite der Notenzeilen auf @var{Breite}, gemessen in Vielfachen
@example
lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts Dateiname.ly
+ @end example
- Eine @file{PNG}-Datei mittels:
+ @noindent
+ eine @file{PNG}-Datei mittels:
+
+ @example
lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts --png Dateiname.ly
@end example