From: John Mandereau Date: Sun, 6 Apr 2008 06:11:03 +0000 (+0200) Subject: Move sections in French and German docs X-Git-Tag: release/2.11.44-1~20^2~2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=273e0ffd5c5ca2c4ac1a20bca71228cffb9bca56;p=lilypond.git Move sections in French and German docs LM sectioning is now up to date, NR sectioning is not up to date but at least ssectioning is consistent; a dozen of xrefs are broken in NR (in both languages), I'll look at this later. --- diff --git a/Documentation/de/user/changing-defaults.itely b/Documentation/de/user/changing-defaults.itely index d54c7f56c1..923c402bef 100644 --- a/Documentation/de/user/changing-defaults.itely +++ b/Documentation/de/user/changing-defaults.itely @@ -1,14 +1,12 @@ @c -*- coding: utf-8; mode: texinfo; documentlanguage: de -*- @c This file is part of lilypond.tely @ignore - Translation of GIT committish: d9b4bfc69674eb4ed7b8c6eaa0b646f00eae6c8d + Translation of GIT committish: 02cb8b672238eeb53bffa2240c87f23dd8ca9e60 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.38" - @node Changing defaults @chapter Changing defaults @@ -18,6 +16,7 @@ UNTRANSLATED NODE: IGNORE ME @menu * Interpretation contexts:: * The \override command:: +* Discussion of specific tweaks:: @end menu @node Interpretation contexts @section Interpretation contexts @@ -135,6 +134,25 @@ UNTRANSLATED NODE: IGNORE ME UNTRANSLATED NODE: IGNORE ME +@node Discussion of specific tweaks +@section Discussion of specific tweaks + +UNTRANSLATED NODE: IGNORE ME + +@menu +* Line styles:: +* Controlling visibility of objects:: +@end menu +@node Line styles +@subsection Line styles + +UNTRANSLATED NODE: IGNORE ME + +@node Controlling visibility of objects +@subsection Controlling visibility of objects + +UNTRANSLATED NODE: IGNORE ME + -- SKELETON FILE -- When you actually translate this file, please remove these lines as diff --git a/Documentation/de/user/converters.itely b/Documentation/de/user/converters.itely index 9d6a1204df..704750c013 100644 --- a/Documentation/de/user/converters.itely +++ b/Documentation/de/user/converters.itely @@ -1,14 +1,12 @@ @c -*- coding: utf-8; mode: texinfo; documentlanguage: de -*- @c This file is part of lilypond-program.tely @ignore - Translation of GIT committish: d9b4bfc69674eb4ed7b8c6eaa0b646f00eae6c8d + Translation of GIT committish: 02cb8b672238eeb53bffa2240c87f23dd8ca9e60 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.38" - @node Converting from other formats @chapter Converting from other formats diff --git a/Documentation/de/user/editorial.itely b/Documentation/de/user/editorial.itely index bf4da25ff7..232125acec 100644 --- a/Documentation/de/user/editorial.itely +++ b/Documentation/de/user/editorial.itely @@ -12,46 +12,11 @@ @section Editorial annotations @menu -* Note heads:: * Inside the staff:: * Outside the staff:: @end menu -@node Note heads -@subsection Note heads - -@menu -* Easy notation note heads:: -* Shape note heads:: -* Improvisation:: -* Special noteheads:: -@end menu - -@node Easy Notation note heads -@unnumberedsubsubsec Easy Notation note heads - -UNTRANSLATED NODE: IGNORE ME - - -@node Shape note heads -@unnumberedsubsubsec Shape note heads - -UNTRANSLATED NODE: IGNORE ME - - -@node Improvisation -@unnumberedsubsubsec Improvisation - -UNTRANSLATED NODE: IGNORE ME - - -@node Special noteheads -@unnumberedsubsubsec Special noteheads - -UNTRANSLATED NODE: IGNORE ME - - @node Inside the staff @subsection Inside the staff @@ -62,7 +27,6 @@ UNTRANSLATED NODE: IGNORE ME * Hidden notes:: * Coloring objects:: * Parentheses:: -* Ambitus:: * Stems:: @end menu @@ -150,12 +114,6 @@ UNTRANSLATED NODE: IGNORE ME UNTRANSLATED NODE: IGNORE ME -@node Ambitus -@unnumberedsubsubsec Ambitus - -UNTRANSLATED NODE: IGNORE ME - - @node Stems @unnumberedsubsubsec Stems @@ -196,24 +154,22 @@ a4 b c b @menu * Balloon help:: * Grid lines:: -* Blank music sheet:: +* Analysis brackets:: @end menu @node Balloon help -@subsection Balloon help +@unnumberedsubsubsec Balloon help UNTRANSLATED NODE: IGNORE ME @node Grid lines -@subsection Grid lines +@unnumberedsubsubsec Grid lines UNTRANSLATED NODE: IGNORE ME -@node Blank music sheet -@subsection Blank music sheet +@node Analysis brackets +@unnumberedsubsubsec Analysis brackets UNTRANSLATED NODE: IGNORE ME - - diff --git a/Documentation/de/user/expressive.itely b/Documentation/de/user/expressive.itely index df35f9dcee..b51c183394 100644 --- a/Documentation/de/user/expressive.itely +++ b/Documentation/de/user/expressive.itely @@ -621,7 +621,6 @@ c4-\bendAfter #-3 * Glissando:: * Arpeggio:: * Trills:: -* Analysis brackets:: @end menu @node Glissando @@ -791,9 +790,3 @@ ohne Hals in Klammern gesetzt. Programmreferenz: @internalsref{TrillSpanner}. -@node Analysis brackets -@unnumberedsubsubsec Analysis brackets - -UNTRANSLATED NODE: IGNORE ME - - diff --git a/Documentation/de/user/fundamental.itely b/Documentation/de/user/fundamental.itely index c37eefb5cb..14e4e6c3d7 100644 --- a/Documentation/de/user/fundamental.itely +++ b/Documentation/de/user/fundamental.itely @@ -13,25 +13,140 @@ @node Fundamental concepts @chapter Fundamental concepts -UNTRANSLATED NODE: IGNORE ME +Dieses Kapitel behandelt das allgemeine Konzept von LilyPond +und wie man @code{\score}-Blöcke erstellt. @menu * How LilyPond files work:: * Voices contain music:: * Contexts and engravers:: * Extending the templates:: -@end menu +@end menu + @node How LilyPond files work @section How LilyPond files work -UNTRANSLATED NODE: IGNORE ME - -@menu +Das LilyPond Eingabeformat hat eine ziemlich freie Form, so dass +für erfahrene Benutzer viel Freiheit besteht, die Struktur ihrer +Quelldateien anzulegen. Für Neulinge kann diese Flexibilität aber +erst einmal verwirrend sein. In diesem Kapitel soll darum ein Teil +dieser Strukturen dargestellt werden, vieles aber zur Vereinfachung +auch weggelassen werden. Für eine komplette Beschreibung des Eingabeformats +siehe @ruser{File structure}. + +Die meisten Beispiele in diesem Handbuch sind kleine Schnipsel, wie +etwa dieser: + +@example +c4 a b c +@end example + +Wie hoffentlich bekannt ist, lässt sich solch ein Schnipsel nicht +in dieser Form übersetzen. Diese Beispiele sind also nur Kurzformen +von wirklichen Beispielen. Sie müssen wenigstens zusätzlich in +geschweifte Klammern gesetzt werden. + +@example +@{ + c4 a b c +@} +@end example + +Die meisten Beispiele benutzen auch den @code{\relative c'}-Befehl. +Der ist nicht nötig, um die Dateien zu übersetzen, aber in den meisten +Fällen sieht der Notensatz seltsam aus, wenn man den Befehl +weglässt. + +@lilypond[quote,fragment,ragged-right,verbatim] +\relative c'' { + c4 a b c +} +@end lilypond + +Jetzt kommt noch eine Ebene dazu: LilyPond-Code in der obigen Form +ist in Wirklichkeit auch wieder eine Abkürzung. Auch wenn man so +Dateien schreiben kann und sie auch korrekt gesetzt werden, heißt +der wirkliche Code, der hier gemeint ist, eigentlich: + +@example +\score @{ + \relative c'' @{ + c4 a b c + @} +@} +@end example + +Eine Partitur (@code{\score}) muss immer mit einem musikalischen Ausdruck +beginnen. Das ist letztendlich alle Musik, angefangen bei einer +einzelnen +Note bis hin zu einer riesigen Partitur mit vielen Notensystemen +(bezeichnet durch @code{GrandStaff}): + +@example +@{ + \new GrandStaff << + hier die gesamte Partitur + >> +@} +@end example + +@noindent +Da sich alles innerhalb der geschweiften Klammern @code{@{ ... @}} +befindet, wird es wie ein einziger musikalischer Ausdruck behandelt. + + +Ein @code{\score} auch andere Dinge enthalten, wie etwa + +@example +\score @{ + @{ c'4 a b c' @} + \layout @{ @} + \midi @{ @} + \header @{ @} +@} +@end example + +@noindent +Viele setzen einige dieser Befehle außerhalb des +@code{\score}-Blocks, zum Beispiel wird der @code{\header} +sehr oft oberhalb der @code{\score}-Umgebung gesetzt. Das +funktioniert genauso gut. + +@cindex Variablen +@cindex Bezeichner + +Eine gute Möglichkeit zur Vereinfachung sind selbst definierte Variablen. +Alle Vorlagen verwenden diese Möglichkeit. + +@example +melodie = \relative c' @{ + c4 a b c +@} + +\score @{ + @{ \melodie @} +@} +@end example + +Wenn LilyPond diese Datei analysiert, nimmt es den Inhalt +von @code{melodie} (alles, was nach dem Gleichheitszeichen +kommt) und fügt ihn immer dann ein, wenn ein @code{\melodie} +vorkommt. Die Namen sind frei wählbar, die Variable kann genauso +gut @code{melodie}, @code{GLOBAL}, +@code{rechteHandklavier}, oder @code{foofoobarbaz} heißen. Für mehr +Information siehe +@ruser{Saving typing with identifiers and functions}. + +Eine komplette Definition des Eingabeformats findet sich +im Kapitel @ruser{File structure}. + +@menu * Introduction to the LilyPond file structure:: * Score is a (single) compound musical expression:: * Nesting music expressions:: * On the un-nestedness of brackets and ties:: -@end menu +@end menu + @node Introduction to the LilyPond file structure @subsection Introduction to the LilyPond file structure @@ -40,7 +155,145 @@ UNTRANSLATED NODE: IGNORE ME @node Score is a (single) compound musical expression @subsection Score is a (single) compound musical expression -UNTRANSLATED NODE: IGNORE ME +Im vorigen Kapitel, @ruser{How LilyPond files work}, +wurde die allgemeine Struktur einer LilyPond-Quelldatei +beschrieben. Aber anscheinend haben wir die wichtigste +Frage ausgelassen, nämlich wie man herausfindet, was nach +dem @code{\score} geschrieben werden soll. + +In Wirklichkeit ist das aber gar kein Geheimnis. Diese +Zeile ist die Antwort: + + +@quotation +@emph{Eine Partitur fängt immer mit @code{\score} an, gefolgt +von einem einzelnen musikalischen Ausdruck.} +@end quotation + +@noindent +Vielleicht wollen Sie noch einmal +@ruser{Music expressions explained} überfliegen. In diesem +Kapitel wurde gezeigt, wie sich große musikalische Ausdrücke +aus kleinen Teilen zusammensetzen. Noten können zu Akkorden +verbunden werden usw. Jetzt gehen wir aber in die andere Richtung +und betrachten, wie sich ein großer musikalischer Ausdruck +zerlegen lässt. + +@example +\score @{ + @{ % diese Klammer startet den großen mus. Ausdruck + \new GrandStaff << + hier eine ganze Wagner-Oper einfügen + >> + @} % diese Klammer beendet den Ausdruck + \layout @{ @} +@} +@end example + +Eine Wagner-Oper ist mindestens doppelt so lang wie dieses Handbuch, +beschränken wir uns also auf einen Sänger und Klavier. Wir brauchen +keine Orchesterpartitur (@code{GrandStaff}) dafür, darum lassen wir +den Befehl weg. Wir brauchen aber einen Sänger und ein Klavier. + +@example +\score @{ + @{ + << + \new Staff = "Sänger" << + >> + \new PianoStaff = Klavier << + >> + >> + @} + \layout @{ @} +@} +@end example + +Zur Erinnerung: mit @code{<<} und @code{>>} werden Noten gleichzeitig +gesetzt; wir wollen ja auch Klavier- und Sängerstimme gleichzeitig +haben. + +@example +\score @{ + @{ + << + \new Staff = "Sänger" << + \new Voice = "vocal" @{ @} + >> + \new Lyrics \lyricsto vocal \new Lyrics @{ @} + \new PianoStaff = "piano" << + \new Staff = "upper" @{ @} + \new Staff = "lower" @{ @} + >> + >> + @} + \layout @{ @} +@} +@end example + +Jetzt haben wir viel mehr Details. Wir haben ein System (engl. staff) +für einen Sänger, in dem sich wieder eine Stimme (engl. voice) +befindet. @code{Voice} bedeutet für LilyPond eine Stimme (sowohl +gesungen als auch gespielt) und evtl. zusätzlich einen Text. Zusätzlich +werden zwei Notensysteme für das Klavier mit dem Befehl @code{\new +PianoStaff} gesetzt. @code{PianoStaff} bezeichnet die Piano-Umgebung (etwa +durchgehende Taktstriche und die geschweifte Klammer am Anfang), in der +dann wiederum zwei eigene Systeme ("upper" für die rechte Hand und +"lower" +für die linke) erstellt werden. + +Jetzt könnte man in diese Umgebung Noten einfügen. Innerhalb der +geschweiften +Klammern neben @code{\new Voice = vocal} könnte man + + +@example +\relative c'' @{ + a4 b c d +@} +@end example + +@noindent schreiben. Aber wenn man seine Datei so direkt schreibt, wird +der @code{\score}-Abschnitt sehr lang und es wird ziemlich schwer zu +verstehen, wie alles zusammenhängt. Darum bietet es sich an, Bezeichner +(oder Variablen) zu verwenden. + + +@example +melodie = @{ @} +text = @{ @} +upper = @{ @} +lower = @{ @} +\score @{ + @{ + << + \new Staff = "Sänger" << + \new Voice = "vocal" @{ \melodie @} + >> + \new Lyrics \lyricsto vocal \new Lyrics @{ \text @} + \new PianoStaff = "piano" << + \new Staff = "upper" @{ \upper @} + \new Staff = "lower" @{ \lower @} + >> + >> + @} + \layout @{ @} +@} +@end example + +@noindent +Nochmal: der Bezeichner kann aller möglicher Text sein. Die +Einschränkungen sind in +@ruser{File structure} genau aufgelistet. + +Beim Schreiben (oder Lesen) einer @code{\score}-Umgebung +sollte man langsam und sorgfältig vorgehen. Am besten fängt +man mit dem größten Gebilde an und definiert dann die darin +enthaltenen kleineren der Reihe nach. Es hilft auch, sehr +genau mit den Einzügen zu sein, so dass jede Zeile, die +der gleichen Ebene angehört, wirklich horizontal an der +gleichen Stelle beginnt. + @node Nesting music expressions @subsection Nesting music expressions @@ -89,7 +342,8 @@ UNTRANSLATED NODE: IGNORE ME * Engravers explained:: * Modifying context properties:: * Adding and removing engravers:: -@end menu +@end menu + @node Contexts explained @subsection Contexts explained @@ -115,9 +369,6 @@ UNTRANSLATED NODE: IGNORE ME UNTRANSLATED NODE: IGNORE ME -@subsubsection Changing a single context -@ -@subsubsection Changing all contexts of the same type @node Extending the templates @section Extending the templates @@ -127,7 +378,8 @@ UNTRANSLATED NODE: IGNORE ME * Soprano and cello:: * Four-part SATB vocal score:: * Building a score from scratch:: -@end menu +@end menu + @node Soprano and cello @subsection Soprano and cello @@ -143,7 +395,3 @@ UNTRANSLATED NODE: IGNORE ME UNTRANSLATED NODE: IGNORE ME - --- SKELETON FILE -- -When you actually translate this file, please remove these lines as -well as all `UNTRANSLATED NODE: IGNORE ME' lines. diff --git a/Documentation/de/user/input.itely b/Documentation/de/user/input.itely index 4f9bc61df6..4d297e6533 100644 --- a/Documentation/de/user/input.itely +++ b/Documentation/de/user/input.itely @@ -1,14 +1,12 @@ @c -*- coding: utf-8; mode: texinfo; documentlanguage: de -*- @c This file is part of lilypond.tely @ignore - Translation of GIT committish: d9b4bfc69674eb4ed7b8c6eaa0b646f00eae6c8d + Translation of GIT committish: 02cb8b672238eeb53bffa2240c87f23dd8ca9e60 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.38" - @node Input syntax @chapter Input syntax @@ -75,11 +73,12 @@ UNTRANSLATED NODE: IGNORE ME UNTRANSLATED NODE: IGNORE ME @menu -* Controlling direction:: +* Controlling direction and placement:: * Distances and measurements MAYBE MOVE:: +* When to add a -:: @end menu -@node Controlling direction -@subsection Controlling direction +@node Controlling direction and placement +@subsection Controlling direction and placement UNTRANSLATED NODE: IGNORE ME @@ -88,6 +87,11 @@ UNTRANSLATED NODE: IGNORE ME UNTRANSLATED NODE: IGNORE ME +@node When to add a - +@subsection When to add a - + +UNTRANSLATED NODE: IGNORE ME + @node Other stuffs TODO move? @section Other stuffs TODO move? diff --git a/Documentation/de/user/install.itely b/Documentation/de/user/install.itely index 78d191be74..281dcd3aac 100644 --- a/Documentation/de/user/install.itely +++ b/Documentation/de/user/install.itely @@ -1,14 +1,12 @@ @c -*- coding: utf-8; mode: texinfo; documentlanguage: de -*- @c This file is part of lilypond-program.tely @ignore - Translation of GIT committish: d9b4bfc69674eb4ed7b8c6eaa0b646f00eae6c8d + Translation of GIT committish: 02cb8b672238eeb53bffa2240c87f23dd8ca9e60 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.38" - @node Install @chapter Install diff --git a/Documentation/de/user/lilypond-book.itely b/Documentation/de/user/lilypond-book.itely index 1f2d4c5197..f32948f558 100644 --- a/Documentation/de/user/lilypond-book.itely +++ b/Documentation/de/user/lilypond-book.itely @@ -1,14 +1,12 @@ @c -*- coding: utf-8; mode: texinfo; documentlanguage: de -*- @c This file is part of lilypond-program.tely @ignore - Translation of GIT committish: d9b4bfc69674eb4ed7b8c6eaa0b646f00eae6c8d + Translation of GIT committish: 02cb8b672238eeb53bffa2240c87f23dd8ca9e60 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.38" - @node LilyPond-book @chapter @command{lilypond-book}: Integrating text and music diff --git a/Documentation/de/user/lilypond-learning.tely b/Documentation/de/user/lilypond-learning.tely index 3613701395..6c33513521 100644 --- a/Documentation/de/user/lilypond-learning.tely +++ b/Documentation/de/user/lilypond-learning.tely @@ -10,6 +10,8 @@ @documentencoding UTF-8 @documentlanguage de +@include macros.itexi + @iftex @afourpaper @c don't replace quotes with directed quotes @@ -83,21 +85,7 @@ Free Documentation License''. @vskip 20pt -@lilypond[ragged-right] -\score { - \context Lyrics { - \override Score.RehearsalMark #'self-alignment-X = #LEFT - \override Score.RehearsalMark #'font-size = #-2 - \mark #(ly:export (string-append - "(For LilyPond version " (lilypond-version) ")")) - s2 - } - \layout { - indent = 0.0\pt - } -} -@end lilypond - +Für LilyPond Version @version{} @end titlepage @copying @@ -167,10 +155,7 @@ Free Documentation License''. @top GNU LilyPond -- Handbuch zum Lernen @c HJJ: Info needs `@top', which is a synonym for `@unnumbered' in TeX. -Das ist des Handbuch zum Erlernen von GNU LilyPond Version 2.11.x -@ifhtml -(Siehe Ende der Seite für die genaue Versionsnummer). -@end ifhtml +Das ist des Handbuch zum Erlernen von GNU LilyPond Version @version{}. @cindex Internetseite @cindex URL @@ -183,14 +168,9 @@ finden sich Kopien dieser und anderer Dokumentationsdateien. * Preface:: Vorwort. * Introduction:: Was, warum und wie. * Tutorial:: Eine Übung zur Einführung. -* Putting it all together:: Genauere Erklärungen zu LilyPonds -Eigenschaften. -* Fundamental concepts:: Grundlegende Konzepte, die benötigt -werden, um den Rest dieses Handbuchs zu lesen. -* Tweaking output:: Einleitung in die Beeinflussung des -Notenbilds. -* Working on LilyPond projects:: Benutzung des Programms im -wirklichen Leben. +* Fundamental concepts:: Grundlegende Konzepte, die benötigt werden, um den Rest dieses Handbuchs zu lesen. +* Tweaking output:: Einleitung in die Beeinflussung des Notenbilds. +* Working on LilyPond projects:: Benutzung des Programms im wirklichen Leben. Anhänge @@ -205,12 +185,9 @@ Anhänge @contents -@include macros.itexi - @include preface.itely @include introduction.itely @include tutorial.itely -@include putting.itely @include fundamental.itely @include tweaks.itely @include working.itely diff --git a/Documentation/de/user/lilypond-program.tely b/Documentation/de/user/lilypond-program.tely index 91807ef20e..c1295cf60b 100644 --- a/Documentation/de/user/lilypond-program.tely +++ b/Documentation/de/user/lilypond-program.tely @@ -10,6 +10,8 @@ @documentencoding UTF-8 @documentlanguage de +@include macros.itexi + @iftex @afourpaper @c don't replace quotes with directed quotes @@ -84,21 +86,7 @@ Free Documentation License''. @vskip 20pt -@lilypond[ragged-right] -\score { - \context Lyrics { - \override Score.RehearsalMark #'self-alignment-X = #LEFT - \override Score.RehearsalMark #'font-size = #-2 - \mark #(ly:export (string-append - "(For LilyPond version " (lilypond-version) ")")) - s2 - } - \layout { - indent = 0.0\pt - } -} -@end lilypond - +Für LilyPond Version @version{} @end titlepage @copying @@ -170,10 +158,7 @@ Free Documentation License''. @top GNU LilyPond -- Programmbenutzung @c HJJ: Info needs `@top', which is a synonym for `@unnumbered' in TeX. -Das ist das Handbuch zur Programmbenutzung für GNU LilyPond Version 2.11.x. -@ifhtml -(Siehe Ende der Seite für die genaue Versionsnummer). -@end ifhtml +Das ist das Handbuch zur Programmbenutzung für GNU LilyPond Version @version{}. @cindex Internetseite @cindex URL @@ -198,8 +183,6 @@ Anhänge @contents -@include macros.itexi - @include install.itely @include setup.itely @include running.itely diff --git a/Documentation/de/user/lilypond.tely b/Documentation/de/user/lilypond.tely index 6c6ef95537..ce5c007220 100644 --- a/Documentation/de/user/lilypond.tely +++ b/Documentation/de/user/lilypond.tely @@ -10,6 +10,8 @@ @documentencoding UTF-8 @documentlanguage de +@include macros.itexi + @iftex @afourpaper @c don't replace quotes with directed quotes @@ -116,21 +118,7 @@ Free Documentation License''. @vskip 20pt -@lilypond[ragged-right] -\score { - \context Lyrics { - \override Score.RehearsalMark #'self-alignment-X = #LEFT - \override Score.RehearsalMark #'font-size = #-2 - \mark #(ly:export (string-append - "(For LilyPond version " (lilypond-version) ")")) - s2 - } - \layout { - indent = 0.0\pt - } -} -@end lilypond - +Für LilyPond Version @version{} @end titlepage @copying @@ -202,10 +190,7 @@ Free Documentation License''. @top GNU LilyPond -- Das Notationsprogramm @c HJJ: Info needs `@top', which is a synonym for `@unnumbered' in TeX. -Das ist das Benutzerhandbuch für GNU LilyPond Version 2.11.x -@ifhtml -(Siehe Ende der Seite für die genaue Versionsnummer). -@end ifhtml +Das ist das Benutzerhandbuch für GNU LilyPond Version @version{}. @cindex Internetseite @cindex URL @@ -218,10 +203,8 @@ finden sich Kopien dieser und anderer Dokumentationsdateien. @menu * Musical notation:: Allgemeine Notation von Musik. -* Specialist notation:: Notation, die nur für spezielle Zwecke - eingesetzt wird. -* Input syntax:: Allgemeine Information über die - Quelledateien von LilyPond. +* Specialist notation:: Notation, die nur für spezielle Zwecke eingesetzt wird. +* Input syntax:: Allgemeine Information über die Quelledateien von LilyPond. * Non-musical notation:: Alles, was nicht Musiknotation ist. * Spacing issues:: Anzeige der Ausgabe auf dem Papier. * Changing defaults:: Das Notenbild verfeinern. @@ -241,8 +224,6 @@ Anhänge @contents -@include macros.itexi - @include notation.itely @include specialist.itely diff --git a/Documentation/de/user/non-music.itely b/Documentation/de/user/non-music.itely index 0f4ac44ab8..3a233bac71 100644 --- a/Documentation/de/user/non-music.itely +++ b/Documentation/de/user/non-music.itely @@ -1,14 +1,12 @@ @c -*- coding: utf-8; mode: texinfo; documentlanguage: de -*- @c This file is part of lilypond.tely @ignore - Translation of GIT committish: d9b4bfc69674eb4ed7b8c6eaa0b646f00eae6c8d + Translation of GIT committish: 02cb8b672238eeb53bffa2240c87f23dd8ca9e60 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.38" - @node Non-musical notation @chapter Non-musical notation @@ -84,11 +82,50 @@ UNTRANSLATED NODE: IGNORE ME @menu * Repeats and MIDI:: -@end menu +@end menu + @node Repeats and MIDI @subsubsection Repeats and MIDI -UNTRANSLATED NODE: IGNORE ME +@cindex Erweiterung von Wiederholungen +@funindex \unfoldRepeats + +Mit ein bisschen Anpassung können alle Wiederholungstypen +auch in der MIDI-Datei wiedergegeben werden. Das wird erreicht +durch die @code{\unfoldRepeats}-Funktion. Hiermit werden alle +Wiederholungen, welcher Art auch immer, in notengetreue Wiederholungen +umgewandelt, die Noten werden also wiederholt ausgegeben. + +@lilypond[quote,verbatim,fragment,line-width=8.0\cm] +\unfoldRepeats { + \repeat tremolo 8 {c'32 e' } + \repeat percent 2 { c''8 d'' } + \repeat volta 2 {c'4 d' e' f'} + \alternative { + { g' a' a' g' } + {f' e' d' c' } + } +} +\bar "|." +@end lilypond + +Wenn man eine Partitur schreibt, die diesen @code{\unfoldRepeats}-Befehl +für die MIDI-Ausgabe benutzt, muss man zwei @code{\score}-Umgebungen +schreiben: eine für die MIDI-Ausgabe, wo die Wiederholungen ausgeschrieben +werden, und eine für die gedruckte Notation, in der Klammern, Tremolo und +Prozent-Wiederholungen benutzt werden. Zum Beispiel: + +@example +\score @{ + @var{..music..} + \layout @{ .. @} +@} +\score @{ + \unfoldRepeats @var{..music..} + \midi @{ .. @} +@} +@end example + @node other midi @section other midi diff --git a/Documentation/de/user/programming-interface.itely b/Documentation/de/user/programming-interface.itely index 452a987ef9..f84d010efd 100644 --- a/Documentation/de/user/programming-interface.itely +++ b/Documentation/de/user/programming-interface.itely @@ -1,14 +1,12 @@ @c -*- coding: utf-8; mode: texinfo; documentlanguage: de -*- @c This file is part of lilypond.tely @ignore - Translation of GIT committish: d9b4bfc69674eb4ed7b8c6eaa0b646f00eae6c8d + Translation of GIT committish: 02cb8b672238eeb53bffa2240c87f23dd8ca9e60 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.38" - @node Interfaces for programmers @chapter Interfaces for programmers diff --git a/Documentation/de/user/putting.itely b/Documentation/de/user/putting.itely deleted file mode 100644 index 3f56c2626c..0000000000 --- a/Documentation/de/user/putting.itely +++ /dev/null @@ -1,629 +0,0 @@ -@c -*- coding: utf-8; mode: texinfo; -*- -@c This file is part of lilypond.tely -@ignore - Translation of GIT committish: 3db3697bb5109201192c9cecdd2e4b7a5520421a - - 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.38" - -@node Putting it all together -@chapter Putting it all together - -Dieses Kapitel behandelt das allgemeine Konzept von LilyPond -und wie man @code{\score}-Blöcke erstellt. - - -@menu -* Extending the templates:: -* How LilyPond files work:: -* Score is a single musical expression:: -* An orchestral part:: -@end menu - - -@node Extending the templates -@section Extending the templates - -Wenn Sie das Übungskapitel gelesen haben, wissen Sie, wie man Noten -schreibt. Aber wie erhalten Sie genau die Notensysteme, die Sie sich -vorstellen? Die Vorlagen sind gut, aber was, wenn Sie etwas anderen -wollen? - -Beginnen Sie mit der Vorlage, die am ehesten dem nahe kommt, was Sie als -Ergebnis haben wollen. Sagen wir, Sie wollen ein Stück für Sopran und -Cello notieren. In diesem Fall beginnen Sie mit - @qq{Noten und Text} (für die Sopranstimme). - -@example -\version "2.11.38" -melodie = \relative c' @{ - \clef treble - \key c \major - \time 4/4 - - a4 b c d -@} - -text = \lyricmode @{ - Aaa Bee Cee Dee -@} - -\score@{ - << - \new Voice = "one" @{ - \autoBeamOff - \melodie - @} - \new Lyrics \lyricsto "one" \text - >> - \layout @{ @} - \midi @{ @} -@} -@end example - -Jetzt wollen wir die Cellostimme hinzufügen. Schauen wir uns das -@qq{Nur Noten}-Beispiel an: - -@example -\version "2.11.38" -melodie = \relative c' @{ - \clef treble - \key c \major - \time 4/4 - - a4 b c d -@} - -\score @{ -\new Staff \melodie -\layout @{ @} -\midi @{ @} -@} -@end example - -Wir brauchen nicht zwei @code{\version}-Befehle. Wir brauchen den -@code{melodie}-Abschnitt. Wir brauchen keine zwei -@code{\score}-Abschnitte, -denn damit würden wir ja zwei voneinander getrennte Notensysteme -erhalten. Wir wollen sie aber zusammen, als Duo. Innerhalb eines -@code{\score}-Abschnittes brauchen wir auch nicht zweimal -@code{\layout} und @code{\midi}. - -Kopieren wir aber nur den @code{melodie}-Abschnitt, hätte wir zwei -@code{melodie}-Abschnitte. Also nennen wir diesen Bezeichner anders. -Die Noten für den Sopran nennen wir @code{sopranNoten}, die Noten -für das Cello @code{celloNoten}. Gleichzeitig können wir auch noch -den Abschnitt @code{text} in @code{sopranText} umbenennen. Es ist -wichtig, beide Befehle umzubenennen, einmal die Definition (also den -@code{melodie = \relative c' @{ }-Teil), zweitens die Anwendung des -Namens in der Partitur (also in dem @code{\score}-Abschnitt). - -Während wir hier diese Änderungen vornehmen, können wir auch gleich -das Cello-System anpassen -- Celli brauchen im Normalfall den -Bass-Schlüssel. -Wir setzen hier auch ein paar andere Noten für das Cello. - - -@example -\version "2.11.38" -sopranNoten = \relative c' @{ - \clef treble - \key c \major - \time 4/4 - - a4 b c d -@} - -sopranText = \lyricmode @{ - Aaa Bee Cee Dee -@} - -celloNoten = \relative c @{ - \clef bass - \key c \major - \time 4/4 - - d4 g fis8 e d4 -@} - -\score@{ - << - \new Voice = "one" @{ - \autoBeamOff - \sopranoNoten - @} - \new Lyrics \lyricsto "one" \sopranText - >> - \layout @{ @} - \midi @{ @} -@} -@end example - -Das sieht schon ganz gut aus, aber das Cello-System erscheint noch -nicht in der Partitur. Wir haben den Bezeichner ja auch nicht im -@code{\score}-Abschnitt benutzt. Wenn wir wollen, dass die Noten -auch gedruckt werden, müssen wir noch - -@example -\new Staff \celloNoten -@end example - -@noindent -unter dem Sopran-System einfügen. Wir müssen auch die Zeichen - @code{<<} und unter der Musik dann die Zeichen @code{>>} einfügen, - denn dadurch wird LilyPond -mitgeteilt, dass mehrere Ausdrücke (hier unsere zwei Systeme -(@code{Staff}) -gleichzeitig gesetzt werden sollen. Der @code{\score}-Abschnitt -sieht jetzt so aus: - -@example -\score@{ - << - << - \new Voice = "one" @{ - \autoBeamOff - \sopranNoten - @} - \new Lyrics \lyricsto "one" \sopranText - >> - \new Staff \celloNoten - >> - \layout @{ @} - \midi @{ @} -@} -@end example - -@noindent -Das sieht noch etwas durcheinander aus, die Einzüge sind in -Unordnung geraden. Aber das ist einfach wieder hergestellt. Hier die -vollständige Vorlage für Sopran und Cello: - -@lilypond[quote,verbatim,ragged-right] -\version "2.11.38" -sopranoMusic = \relative c' { - \clef treble - \key c \major - \time 4/4 - - a4 b c d -} - -sopranoLyrics = \lyricmode { - Aaa Bee Cee Dee -} - -celloMusic = \relative c { - \clef bass - \key c \major - \time 4/4 - - d4 g fis8 e d4 -} - -\score{ - << - << - \new Voice = "one" { - \autoBeamOff - \sopranoMusic - } - \new Lyrics \lyricsto "one" \sopranoLyrics - >> - \new Staff \celloMusic - >> - \layout { } - \midi { } -} -@end lilypond - - - -@node How LilyPond files work -@section How LilyPond files work - -Das LilyPond Eingabeformat hat eine ziemlich freie Form, so dass -für erfahrene Benutzer viel Freiheit besteht, die Struktur ihrer -Quelldateien anzulegen. Für Neulinge kann diese Flexibilität aber -erst einmal verwirrend sein. In diesem Kapitel soll darum ein Teil -dieser Strukturen dargestellt werden, vieles aber zur Vereinfachung -auch weggelassen werden. Für eine komplette Beschreibung des Eingabeformats -siehe @ruser{File structure}. - -Die meisten Beispiele in diesem Handbuch sind kleine Schnipsel, wie -etwa dieser: - -@example -c4 a b c -@end example - -Wie hoffentlich bekannt ist, lässt sich solch ein Schnipsel nicht -in dieser Form übersetzen. Diese Beispiele sind also nur Kurzformen -von wirklichen Beispielen. Sie müssen wenigstens zusätzlich in -geschweifte Klammern gesetzt werden. - -@example -@{ - c4 a b c -@} -@end example - -Die meisten Beispiele benutzen auch den @code{\relative c'}-Befehl. -Der ist nicht nötig, um die Dateien zu übersetzen, aber in den meisten -Fällen sieht der Notensatz seltsam aus, wenn man den Befehl -weglässt. - -@lilypond[quote,fragment,ragged-right,verbatim] -\relative c'' { - c4 a b c -} -@end lilypond - -Jetzt kommt noch eine Ebene dazu: LilyPond-Code in der obigen Form -ist in Wirklichkeit auch wieder eine Abkürzung. Auch wenn man so -Dateien schreiben kann und sie auch korrekt gesetzt werden, heißt -der wirkliche Code, der hier gemeint ist, eigentlich: - -@example -\score @{ - \relative c'' @{ - c4 a b c - @} -@} -@end example - -Eine Partitur (@code{\score}) muss immer mit einem musikalischen Ausdruck -beginnen. Das ist letztendlich alle Musik, angefangen bei einer -einzelnen -Note bis hin zu einer riesigen Partitur mit vielen Notensystemen -(bezeichnet durch @code{GrandStaff}): - -@example -@{ - \new GrandStaff << - hier die gesamte Partitur - >> -@} -@end example - -@noindent -Da sich alles innerhalb der geschweiften Klammern @code{@{ ... @}} -befindet, wird es wie ein einziger musikalischer Ausdruck behandelt. - - -Ein @code{\score} auch andere Dinge enthalten, wie etwa - -@example -\score @{ - @{ c'4 a b c' @} - \layout @{ @} - \midi @{ @} - \header @{ @} -@} -@end example - -@noindent -Viele setzen einige dieser Befehle außerhalb des -@code{\score}-Blocks, zum Beispiel wird der @code{\header} -sehr oft oberhalb der @code{\score}-Umgebung gesetzt. Das -funktioniert genauso gut. - -@cindex Variablen -@cindex Bezeichner - -Eine gute Möglichkeit zur Vereinfachung sind selbst definierte Variablen. -Alle Vorlagen verwenden diese Möglichkeit. - -@example -melodie = \relative c' @{ - c4 a b c -@} - -\score @{ - @{ \melodie @} -@} -@end example - -Wenn LilyPond diese Datei analysiert, nimmt es den Inhalt -von @code{melodie} (alles, was nach dem Gleichheitszeichen -kommt) und fügt ihn immer dann ein, wenn ein @code{\melodie} -vorkommt. Die Namen sind frei wählbar, die Variable kann genauso -gut @code{melodie}, @code{GLOBAL}, -@code{rechteHandklavier}, oder @code{foofoobarbaz} heißen. Für mehr -Information siehe -@ruser{Saving typing with identifiers and functions}. - -Eine komplette Definition des Eingabeformats findet sich -im Kapitel @ruser{File structure}. - - -@node Score is a single musical expression -@section Score is a single musical expression - -Im vorigen Kapitel, @ruser{How LilyPond files work}, -wurde die allgemeine Struktur einer LilyPond-Quelldatei -beschrieben. Aber anscheinend haben wir die wichtigste -Frage ausgelassen, nämlich wie man herausfindet, was nach -dem @code{\score} geschrieben werden soll. - -In Wirklichkeit ist das aber gar kein Geheimnis. Diese -Zeile ist die Antwort: - - -@quotation -@emph{Eine Partitur fängt immer mit @code{\score} an, gefolgt -von einem einzelnen musikalischen Ausdruck.} -@end quotation - -@noindent -Vielleicht wollen Sie noch einmal -@ruser{Music expressions explained} überfliegen. In diesem -Kapitel wurde gezeigt, wie sich große musikalische Ausdrücke -aus kleinen Teilen zusammensetzen. Noten können zu Akkorden -verbunden werden usw. Jetzt gehen wir aber in die andere Richtung -und betrachten, wie sich ein großer musikalischer Ausdruck -zerlegen lässt. - -@example -\score @{ - @{ % diese Klammer startet den großen mus. Ausdruck - \new GrandStaff << - hier eine ganze Wagner-Oper einfügen - >> - @} % diese Klammer beendet den Ausdruck - \layout @{ @} -@} -@end example - -Eine Wagner-Oper ist mindestens doppelt so lang wie dieses Handbuch, -beschränken wir uns also auf einen Sänger und Klavier. Wir brauchen -keine Orchesterpartitur (@code{GrandStaff}) dafür, darum lassen wir -den Befehl weg. Wir brauchen aber einen Sänger und ein Klavier. - -@example -\score @{ - @{ - << - \new Staff = "Sänger" << - >> - \new PianoStaff = Klavier << - >> - >> - @} - \layout @{ @} -@} -@end example - -Zur Erinnerung: mit @code{<<} und @code{>>} werden Noten gleichzeitig -gesetzt; wir wollen ja auch Klavier- und Sängerstimme gleichzeitig -haben. - -@example -\score @{ - @{ - << - \new Staff = "Sänger" << - \new Voice = "vocal" @{ @} - >> - \new Lyrics \lyricsto vocal \new Lyrics @{ @} - \new PianoStaff = "piano" << - \new Staff = "upper" @{ @} - \new Staff = "lower" @{ @} - >> - >> - @} - \layout @{ @} -@} -@end example - -Jetzt haben wir viel mehr Details. Wir haben ein System (engl. staff) -für einen Sänger, in dem sich wieder eine Stimme (engl. voice) -befindet. @code{Voice} bedeutet für LilyPond eine Stimme (sowohl -gesungen als auch gespielt) und evtl. zusätzlich einen Text. Zusätzlich -werden zwei Notensysteme für das Klavier mit dem Befehl @code{\new -PianoStaff} gesetzt. @code{PianoStaff} bezeichnet die Piano-Umgebung (etwa -durchgehende Taktstriche und die geschweifte Klammer am Anfang), in der -dann wiederum zwei eigene Systeme ("upper" für die rechte Hand und -"lower" -für die linke) erstellt werden. - -Jetzt könnte man in diese Umgebung Noten einfügen. Innerhalb der -geschweiften -Klammern neben @code{\new Voice = vocal} könnte man - - -@example -\relative c'' @{ - a4 b c d -@} -@end example - -@noindent schreiben. Aber wenn man seine Datei so direkt schreibt, wird -der @code{\score}-Abschnitt sehr lang und es wird ziemlich schwer zu -verstehen, wie alles zusammenhängt. Darum bietet es sich an, Bezeichner -(oder Variablen) zu verwenden. - - -@example -melodie = @{ @} -text = @{ @} -upper = @{ @} -lower = @{ @} -\score @{ - @{ - << - \new Staff = "Sänger" << - \new Voice = "vocal" @{ \melodie @} - >> - \new Lyrics \lyricsto vocal \new Lyrics @{ \text @} - \new PianoStaff = "piano" << - \new Staff = "upper" @{ \upper @} - \new Staff = "lower" @{ \lower @} - >> - >> - @} - \layout @{ @} -@} -@end example - -@noindent -Nochmal: der Bezeichner kann aller möglicher Text sein. Die -Einschränkungen sind in -@ruser{File structure} genau aufgelistet. - -Beim Schreiben (oder Lesen) einer @code{\score}-Umgebung -sollte man langsam und sorgfältig vorgehen. Am besten fängt -man mit dem größten Gebilde an und definiert dann die darin -enthaltenen kleineren der Reihe nach. Es hilft auch, sehr -genau mit den Einzügen zu sein, so dass jede Zeile, die -der gleichen Ebene angehört, wirklich horizontal an der -gleichen Stelle beginnt. - - - - - - - -@node An orchestral part -@section An orchestral part - -Orchesternoten werden alle zweimal gesetzt. Erstens als Stimmen für -die Musiker, und dann als große Partitur für den Dirigenten. Mit -Variablen -kann hier doppelte Arbeit erspart werden. Die Musik muss nur einmal -eingegeben werden und wird in einer Variable abgelegt. Der Inhalt -dieser -Variable wird dann benutzt, um sowohl die Stimme als auch die Partitur -zu erstellen. - -Es bietet sich an, die Noten in eigenen Dateien zu speichern. Sagen wir -beispielsweise, dass in der Datei @file{Horn-Noten.ly} die folgenden -Noten eines Duetts für Horn und Fagott gespeichert sind: - -@example -HornNoten = \relative c @{ - \time 2/4 - r4 f8 a cis4 f e d -@} -@end example - -@noindent -Daraus wird dann eine eigene Stimme gemacht, indem folgende Datei -erstellt -wird: - -@example -\include "Horn-Noten.ly" -\header @{ - instrument = "Horn in F" -@} - -@{ - \transpose f c' \HornNoten -@} -@end example - -Die Zeile - -@example -\include "Horn-Noten.ly" -@end example - -@noindent -setzt den Inhalt der Datei @file{Horn-Noten.ly} an die Stelle des -Befehls in die aktuelle Datei. Damit besteht also eine Definition -für @code{HornNoten}, so dass die Variable verwendet werden kann. -Der Befehl @code{\transpose f@tie{}c'} zeigt an, dass das Argument, -also @code{\HornNoten}, um eine Quinte nach oben transponiert wird. -Klingendes @q{f} wird also als @code{c'} notiert. Das entspricht -der Notation eines Waldhorn in F. Die Transposition zeigt die folgende -Ausgabe: - -@lilypond[quote,ragged-right] -\transpose f c' \relative c { - \time 2/4 - r4 f8 a cis4 f e d -} -@end lilypond - -In Musik für mehrere Instrumente kommt es oft vor, dass eine Stimme -für mehrere Takte nicht spielt. Das wird mit einer besonderen Pause -angezeigt, dem Pausenzeichen für mehrere Takte (engl. multi-measure -rest). Sie wird mit dem @emph{großen} Buchstaben @samp{R} eingegeben, -gefolgt von einer Dauer (@code{1}@tie{}für eine Ganze, @code{2}@tie{} -für eine Halbe usw.). Indem man die Dauer multipliziert, können längere -Pausen erstellt werden. Z. B. dauert diese Pause drei Takte eines -2/4-Taktes: - -@example -R2*3 -@end example - -Wenn die Stimme gedruckt wird, müssen diese Pausen zusammengezogen -werden. -Das wird durch eine Variable erreicht: - -@example -\set Score.skipBars = ##t -@end example - -@noindent -Dieser Befehl setzt die Eigenschaft des @code{skipBars} (@qq{überspringe -Takte}) auf wahr (@code{##t}). Wenn diese Option und die Pause -zu der Musik des Beispiels gesetzt wird, erhält man folgendes Ergebnis: - -@lilypond[quote,ragged-right] -\transpose f c' \relative c { - \time 2/4 - \set Score.skipBars = ##t - R2*3 - r4 f8 a cis4 f e d -} -@end lilypond - -Die Partitur wird erstellt, indem alle Noten zusammengesetzt werden. -Angenommen, die andere Stimme trägt den Namen @code{FagottNoten} - und ist in der Datei @file{Fagott-Noten.ly} gespeichert. Die -Partitur sieht dann folgendermaßen aus: - -@example -\include "Fagott-Noten.ly" -\include "Horn-Noten.ly" - -<< - \new Staff \HornNoten - \new Staff \FagottNoten ->> -@end example - -@noindent -Und mit LilyPond übersetzt: - -@lilypond[quote,ragged-right] -\relative c << - \new Staff { - \time 2/4 R2*3 - r4 f8 a cis4 f e d - } - \new Staff { - \clef bass - r4 d,8 f | gis4 c | b bes | - a8 e f4 | g d | gis f - } ->> -@end lilypond - -Tiefer gehende Information darüber, wie Stimmauszüge und Partituren -erstellt werden, finden sich im Notationshandbuch, siehe -@ruser{Orchestral music}. - -Das Setzen der Variablen, die das Verhalten von LilyPond beeinflussen -(@q{properties}), wird im Kapitel -@ruser{Changing context properties on the fly} besprochen. - - - diff --git a/Documentation/de/user/repeats.itely b/Documentation/de/user/repeats.itely index 3153d2ba7d..d323c732b1 100644 --- a/Documentation/de/user/repeats.itely +++ b/Documentation/de/user/repeats.itely @@ -15,22 +15,21 @@ Wiederholung ist ein zentrales Konzept in der Musik, und es gibt eine ganze Vielzahl von Notationsmöglichkeiten für Wiederholungen. @menu -* Writing repeats:: -* Other repeats:: +* Writing long repeats:: +* Short repeats:: @end menu -@node Writing repeats -@subsection Writing repeats +@node Writing long repeats +@subsection Writing long repeats @menu * Repeat types:: * Repeat syntax:: * Manual repeat commands:: -* Repeats and MIDI:: @end menu @node Repeat types -@unnumberedsubsubsec Repeat types +@subsubsection Repeat types @cindex Wiederholungen @@ -64,7 +63,7 @@ berücksichtigt. Diese Wiederholungen müssen innerhalb eines Stimmen @node Repeat syntax -@unnumberedsubsubsec Repeat syntax +@subsubsection Repeat syntax @cindex Klammer, Wiederholung @cindex Volta @@ -219,7 +218,7 @@ Bindebögen nicht wiederholt. @node Manual repeat commands -@unnumberedsubsubsec Manual repeat commands +@subsubsection Manual repeat commands @funindex repeatCommands @@ -262,60 +261,67 @@ Programmreferenz: @internalsref{VoltaBracket}, @internalsref{UnfoldedRepeatedMusic}. -@node Repeats and MIDI -@unnumberedsubsubsec Repeats and MIDI +@node Short repeats +@subsection Short repeats -@cindex Erweiterung von Wiederholungen -@funindex \unfoldRepeats +@menu +* Percent repeats:: +* Tremolo repeats:: +* Tremolo subdivisions:: +@end menu -Mit ein bisschen Anpassung können alle Wiederholungstypen -auch in der MIDI-Datei wiedergegeben werden. Das wird erreicht -durch die @code{\unfoldRepeats}-Funktion. Hiermit werden alle -Wiederholungen, welcher Art auch immer, in notengetreue Wiederholungen -umgewandelt, die Noten werden also wiederholt ausgegeben. +@node Percent repeats +@subsubsection Percent repeats + +@cindex Prozent-Wiederholungen +@cindex Taktweise Wiederholungen -@lilypond[quote,verbatim,fragment,line-width=8.0\cm] -\unfoldRepeats { - \repeat tremolo 8 {c'32 e' } - \repeat percent 2 { c''8 d'' } - \repeat volta 2 {c'4 d' e' f'} - \alternative { - { g' a' a' g' } - {f' e' d' c' } - } +Wenn der Prozent (@code{percent})-Wiederholungsstil gesetzt ist, wird +eine Notenphrase wiederholt. Sie wird einmal gedruckt und dann durch +ein spezielles Zeichen ersetzt. Phrasen von ein oder zwei Takten Dauer +werden durch ein dem Prozentzeichen ähnlichen Zeichen markiert, Phrasen, +die kürzer als ein Takt sind, durch einen Schrägstrich dargestellt. +Dieser Wiederholungstyp muss innerhalb eines Stimmen +(@code{Voice})-Kontextes notiert werden. + +@lilypond[quote,verbatim,ragged-right] +\new Voice \relative c' { + \repeat percent 4 { c4 } + \repeat percent 2 { c2 es2 f4 fis4 g4 c4 } } -\bar "|." @end lilypond -Wenn man eine Partitur schreibt, die diesen @code{\unfoldRepeats}-Befehl -für die MIDI-Ausgabe benutzt, muss man zwei @code{\score}-Umgebungen -schreiben: eine für die MIDI-Ausgabe, wo die Wiederholungen ausgeschrieben -werden, und eine für die gedruckte Notation, in der Klammern, Tremolo und -Prozent-Wiederholungen benutzt werden. Zum Beispiel: +Wiederholungen, die länger als einen Takt dauern, können gezählt werden, +wenn die @code{countPercentRepeats}-Eigenschaft eingeschaltet wird. -@example -\score @{ - @var{..music..} - \layout @{ .. @} -@} -\score @{ - \unfoldRepeats @var{..music..} - \midi @{ .. @} -@} -@end example +@lilypond[relative=2,fragment,quote,verbatim,ragged-right] +\new Voice { +\set countPercentRepeats = ##t + \repeat "percent" 4 { c1 } +} +@end lilypond +Isolierte Prozentzeichen können auch gedruckt werden. Das geschieht, indem +einer Ganztaktpause (@code{R}) eine andere Funktion zugewiesen wird. + +@lilypond[fragment,verbatim,quote] +\override MultiMeasureRest #'stencil + = #ly:multi-measure-rest::percent +R1 +@end lilypond + +@seealso + +Programmreferenz: @internalsref{RepeatSlash}, +@internalsref{PercentRepeat}, @internalsref{DoublePercentRepeat}, +@internalsref{DoublePercentRepeatCounter}, +@internalsref{PercentRepeatCounter}, +@internalsref{PercentRepeatedMusic}. -@node Other repeats -@subsection Other repeats -@menu -* Tremolo repeats:: -* Tremolo subdivisions:: -* Measure repeats:: -@end menu @node Tremolo repeats -@unnumberedsubsubsec Tremolo repeats +@subsubsection Tremolo repeats @cindex Tremolobalken @@ -349,7 +355,7 @@ Programmreferenz: @internalsref{Beam}, @internalsref{StemTremolo}. @node Tremolo subdivisions -@unnumberedsubsubsec Tremolo subdivisions +@subsubsection Tremolo subdivisions @cindex Tremolozeichen @funindex tremoloFlags @@ -378,54 +384,3 @@ Im Handbuch: @ref{Tremolo repeats}. Programmreferenz: @internalsref{StemTremolo}. - -@node Measure repeats -@unnumberedsubsubsec Measure repeats - -@cindex Prozent-Wiederholungen -@cindex Taktweise Wiederholungen - -Wenn der Prozent (@code{percent})-Wiederholungsstil gesetzt ist, wird -eine Notenphrase wiederholt. Sie wird einmal gedruckt und dann durch -ein spezielles Zeichen ersetzt. Phrasen von ein oder zwei Takten Dauer -werden durch ein dem Prozentzeichen ähnlichen Zeichen markiert, Phrasen, -die kürzer als ein Takt sind, durch einen Schrägstrich dargestellt. -Dieser Wiederholungstyp muss innerhalb eines Stimmen -(@code{Voice})-Kontextes notiert werden. - -@lilypond[quote,verbatim,ragged-right] -\new Voice \relative c' { - \repeat percent 4 { c4 } - \repeat percent 2 { c2 es2 f4 fis4 g4 c4 } -} -@end lilypond - -Wiederholungen, die länger als einen Takt dauern, können gezählt werden, -wenn die @code{countPercentRepeats}-Eigenschaft eingeschaltet wird. - -@lilypond[relative=2,fragment,quote,verbatim,ragged-right] -\new Voice { -\set countPercentRepeats = ##t - \repeat "percent" 4 { c1 } -} -@end lilypond - -Isolierte Prozentzeichen können auch gedruckt werden. Das geschieht, indem -einer Ganztaktpause (@code{R}) eine andere Funktion zugewiesen wird. - -@lilypond[fragment,verbatim,quote] -\override MultiMeasureRest #'stencil - = #ly:multi-measure-rest::percent -R1 -@end lilypond - -@seealso - -Programmreferenz: @internalsref{RepeatSlash}, -@internalsref{PercentRepeat}, @internalsref{DoublePercentRepeat}, -@internalsref{DoublePercentRepeatCounter}, -@internalsref{PercentRepeatCounter}, -@internalsref{PercentRepeatedMusic}. - - - diff --git a/Documentation/de/user/running.itely b/Documentation/de/user/running.itely index 6ac3b1d0a5..95bc7b3070 100644 --- a/Documentation/de/user/running.itely +++ b/Documentation/de/user/running.itely @@ -1,14 +1,12 @@ @c -*- coding: utf-8; mode: texinfo; documentlanguage: de -*- @c This file is part of lilypond-program.tely @ignore - Translation of GIT committish: d9b4bfc69674eb4ed7b8c6eaa0b646f00eae6c8d + Translation of GIT committish: 02cb8b672238eeb53bffa2240c87f23dd8ca9e60 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.38" - @node Running LilyPond @chapter Running LilyPond diff --git a/Documentation/de/user/spacing.itely b/Documentation/de/user/spacing.itely index dbf0e0940f..2e80570c7f 100644 --- a/Documentation/de/user/spacing.itely +++ b/Documentation/de/user/spacing.itely @@ -1,14 +1,12 @@ @c -*- coding: utf-8; mode: texinfo; documentlanguage: de -*- @c This file is part of lilypond.tely @ignore - Translation of GIT committish: d9b4bfc69674eb4ed7b8c6eaa0b646f00eae6c8d + Translation of GIT committish: 02cb8b672238eeb53bffa2240c87f23dd8ca9e60 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.38" - @node Spacing issues @chapter Spacing issues diff --git a/Documentation/de/user/text.itely b/Documentation/de/user/text.itely index 2ae725a461..a2f35b6b31 100644 --- a/Documentation/de/user/text.itely +++ b/Documentation/de/user/text.itely @@ -1,14 +1,12 @@ @c -*- coding: utf-8; mode: texinfo; documentlanguage: de -*- @c This file is part of lilypond.tely @ignore - Translation of GIT committish: d9b4bfc69674eb4ed7b8c6eaa0b646f00eae6c8d + Translation of GIT committish: 02cb8b672238eeb53bffa2240c87f23dd8ca9e60 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.38" - @node Text @section Text @@ -17,8 +15,7 @@ UNTRANSLATED NODE: IGNORE ME @menu * Writing text:: -* Text markup:: -* Special text concerns:: +* Formatting text:: @end menu @node Writing text @subsection Writing text @@ -26,16 +23,11 @@ UNTRANSLATED NODE: IGNORE ME UNTRANSLATED NODE: IGNORE ME @menu -* Overview of text entry:: * Text scripts:: * Text spanners:: * Text marks:: +* Separate text:: @end menu -@node Overview of text entry -@subsubsection Overview of text entry - -UNTRANSLATED NODE: IGNORE ME - @node Text scripts @subsubsection Text scripts @@ -51,8 +43,13 @@ UNTRANSLATED NODE: IGNORE ME UNTRANSLATED NODE: IGNORE ME -@node Text markup -@subsection Text markup +@node Separate text +@subsubsection Separate text + +UNTRANSLATED NODE: IGNORE ME + +@node Formatting text +@subsection Formatting text UNTRANSLATED NODE: IGNORE ME @@ -82,25 +79,6 @@ UNTRANSLATED NODE: IGNORE ME UNTRANSLATED NODE: IGNORE ME -@node Special text concerns -@subsection Special text concerns - -UNTRANSLATED NODE: IGNORE ME - -@menu -* New dynamic marks:: -* Text and line spanners:: -@end menu -@node New dynamic marks -@subsubsection New dynamic marks - -UNTRANSLATED NODE: IGNORE ME - -@node Text and line spanners -@subsubsection Text and line spanners - -UNTRANSLATED NODE: IGNORE ME - -- SKELETON FILE -- When you actually translate this file, please remove these lines as diff --git a/Documentation/de/user/tutorial.itely b/Documentation/de/user/tutorial.itely index 3eede472c4..847153effa 100644 --- a/Documentation/de/user/tutorial.itely +++ b/Documentation/de/user/tutorial.itely @@ -35,11 +35,11 @@ werden können. @menu -* First steps:: -* Single staff notation:: -* Multiple notes at once:: -* Songs:: -* Final touches:: +* First steps:: +* Single staff notation:: +* Multiple notes at once:: +* Songs:: +* Final touches:: @end menu @@ -50,10 +50,10 @@ In diesem Abschnitt werden die Grundlagen zur Benutzung des Programmes erklärt. @menu -* Compiling a file:: -* Simple notation:: -* Working on text files:: -* How to read the manual:: +* Compiling a file:: +* Simple notation:: +* Working on text files:: +* How to read the manual:: @end menu @@ -166,9 +166,9 @@ Erstellen Sie eine Text-Datei mit dem Namen @file{test.ly} und geben Sie folgenden Text ein: @example -{ +@{ c' e' g' e' -} +@} @end example Um die Datei zu bearbeiten, geben sie an der Konsole @@ -980,11 +980,11 @@ in einem Stück. Polyphonie bzw. Mehrstimmigkeit heißt für LilyPond allerdings das Vorkommen von mehr als einer Stimme pro System. @menu -* Music expressions explained:: -* Multiple staves:: -* Piano staves:: -* Combining notes into chords:: -* Single staff polyphony:: +* Music expressions explained:: +* Multiple staves:: +* Staff groups:: +* Combining notes into chords:: +* Single staff polyphony:: @end menu @@ -1319,7 +1319,7 @@ gezeigt. @menu * Setting simple songs:: * Aligning lyrics to a melody:: -* Lyrics to multiple staves:: +* Lyrics to multiple staves:: @end menu @@ -1420,7 +1420,7 @@ betroffenen Noten zu notieren: @end lilypond Hier wurde auch noch die Balkenlänge manuell gesetzt (mit den -eckigen Klammern {code{[ ]}, damit die Balkenlänge der +eckigen Klammern @code{[ ]}, damit die Balkenlänge der üblichen Notationsweise für Gesang entspricht (siehe @ref{Automatic and manual beams}). @@ -1577,7 +1577,7 @@ Gleichzeitig dient es als Einleitung zum Rest des Handbuches. * Version number:: * Adding titles:: * Absolute note names:: -* After the tutorial:: +* After the tutorial:: @end menu diff --git a/Documentation/de/user/vocal.itely b/Documentation/de/user/vocal.itely index d5c71cc89b..2bc9fbef26 100644 --- a/Documentation/de/user/vocal.itely +++ b/Documentation/de/user/vocal.itely @@ -1,14 +1,12 @@ @c -*- coding: utf-8; mode: texinfo; documentlanguage: de -*- @c This file is part of lilypond.tely @ignore - Translation of GIT committish: d9b4bfc69674eb4ed7b8c6eaa0b646f00eae6c8d + Translation of GIT committish: 02cb8b672238eeb53bffa2240c87f23dd8ca9e60 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.38" - @node Vocal music @section Vocal music diff --git a/Documentation/de/user/working.itely b/Documentation/de/user/working.itely index 97d1b3c57a..39cb7964f5 100644 --- a/Documentation/de/user/working.itely +++ b/Documentation/de/user/working.itely @@ -21,16 +21,14 @@ zu lesen. @menu * Suggestions for writing LilyPond files:: -* Saving typing with identifiers and functions:: -* Style sheets:: -* Updating old files:: -* Troubleshooting (taking it all apart):: -* Minimal examples:: +* When things don't work:: +* Scores and parts:: @end menu @node Suggestions for writing LilyPond files @section Suggestions for writing LilyPond files + Jetzt sind Sie so weit, größere Stücke mit LilyPond zu schreiben -- nicht nur die kleinen Beispiele aus der Übung, sondern ganze Stücke. @@ -63,6 +61,8 @@ strukturiert werden, damit sie einfacher aktualisierbar sind. * General suggestions:: * Typesetting existing music:: * Large projects:: +* Saving typing with variables and functions:: +* Style sheets:: @end menu @@ -199,8 +199,8 @@ g4\fdannp c'8. e16 @end itemize -@node Saving typing with identifiers and functions -@section Saving typing with identifiers and functions +@node Saving typing with variables and functions +@subsection Saving typing with variables and functions @cindex Variable @cindex Bezeichner @@ -305,7 +305,7 @@ verändert werden, wenn sich die Syntax ändert. Alle Verwendungen des Befehles beziehen sich dann auf die neue Definition. @node Style sheets -@section Style sheets +@subsection Style sheets Die Ausgabe, die LilyPond erstellt, kann sehr start modifiziert werden, siehe @ruser{Tweaking output} für Einzelheiten. Aber wie @@ -567,8 +567,17 @@ für meine Projekte. Jede Notationsdatei fängt an mit @end example +@node When things don't work +@section When things don't work + +@menu +* Updating old files:: +* Troubleshooting (taking it all apart):: +* Minimal examples:: +@end menu + @node Updating old files -@section Updating old files +@subsection Updating old files Die Syntax von LilyPond verändert sich ab und zu. Wenn LilyPond besser wird, muss auch die Syntax (Eingabesprache) entsprechend @@ -598,7 +607,7 @@ verändern, das muss manuell vorgenommen werden. @node Troubleshooting (taking it all apart) -@section Troubleshooting (taking it all apart) +@subsection Troubleshooting (taking it all apart) Früher oder später werden Sie in die Lage kommen, dass LilyPond Ihre Datei nicht kompilieren will. Die @@ -659,7 +668,7 @@ Eine andere nützliche Technik zur Problemlösung ist es, @node Minimal examples -@section Minimal examples +@subsection Minimal examples Ein Minimalbeispiel ist eine Beispieldatei, die so klein wie möglich ist. Diese Beispiele sind sehr viel einfacher zu @@ -700,3 +709,140 @@ Zweck des Beispieles sind. @end itemize +@node Scores and parts +@section Scores and parts + +Orchesternoten werden alle zweimal gesetzt. Erstens als Stimmen für +die Musiker, und dann als große Partitur für den Dirigenten. Mit +Variablen +kann hier doppelte Arbeit erspart werden. Die Musik muss nur einmal +eingegeben werden und wird in einer Variable abgelegt. Der Inhalt +dieser +Variable wird dann benutzt, um sowohl die Stimme als auch die Partitur +zu erstellen. + +Es bietet sich an, die Noten in eigenen Dateien zu speichern. Sagen wir +beispielsweise, dass in der Datei @file{Horn-Noten.ly} die folgenden +Noten eines Duetts für Horn und Fagott gespeichert sind: + +@example +HornNoten = \relative c @{ + \time 2/4 + r4 f8 a cis4 f e d +@} +@end example + +@noindent +Daraus wird dann eine eigene Stimme gemacht, indem folgende Datei +erstellt +wird: + +@example +\include "Horn-Noten.ly" +\header @{ + instrument = "Horn in F" +@} + +@{ + \transpose f c' \HornNoten +@} +@end example + +Die Zeile + +@example +\include "Horn-Noten.ly" +@end example + +@noindent +setzt den Inhalt der Datei @file{Horn-Noten.ly} an die Stelle des +Befehls in die aktuelle Datei. Damit besteht also eine Definition +für @code{HornNoten}, so dass die Variable verwendet werden kann. +Der Befehl @code{\transpose f@tie{}c'} zeigt an, dass das Argument, +also @code{\HornNoten}, um eine Quinte nach oben transponiert wird. +Klingendes @q{f} wird also als @code{c'} notiert. Das entspricht +der Notation eines Waldhorn in F. Die Transposition zeigt die folgende +Ausgabe: + +@lilypond[quote,ragged-right] +\transpose f c' \relative c { + \time 2/4 + r4 f8 a cis4 f e d +} +@end lilypond + +In Musik für mehrere Instrumente kommt es oft vor, dass eine Stimme +für mehrere Takte nicht spielt. Das wird mit einer besonderen Pause +angezeigt, dem Pausenzeichen für mehrere Takte (engl. multi-measure +rest). Sie wird mit dem @emph{großen} Buchstaben @samp{R} eingegeben, +gefolgt von einer Dauer (@code{1}@tie{}für eine Ganze, @code{2}@tie{} +für eine Halbe usw.). Indem man die Dauer multipliziert, können längere +Pausen erstellt werden. Z. B. dauert diese Pause drei Takte eines +2/4-Taktes: + +@example +R2*3 +@end example + +Wenn die Stimme gedruckt wird, müssen diese Pausen zusammengezogen +werden. +Das wird durch eine Variable erreicht: + +@example +\set Score.skipBars = ##t +@end example + +@noindent +Dieser Befehl setzt die Eigenschaft des @code{skipBars} (@qq{überspringe +Takte}) auf wahr (@code{##t}). Wenn diese Option und die Pause +zu der Musik des Beispiels gesetzt wird, erhält man folgendes Ergebnis: + +@lilypond[quote,ragged-right] +\transpose f c' \relative c { + \time 2/4 + \set Score.skipBars = ##t + R2*3 + r4 f8 a cis4 f e d +} +@end lilypond + +Die Partitur wird erstellt, indem alle Noten zusammengesetzt werden. +Angenommen, die andere Stimme trägt den Namen @code{FagottNoten} + und ist in der Datei @file{Fagott-Noten.ly} gespeichert. Die +Partitur sieht dann folgendermaßen aus: + +@example +\include "Fagott-Noten.ly" +\include "Horn-Noten.ly" + +<< + \new Staff \HornNoten + \new Staff \FagottNoten +>> +@end example + +@noindent +Und mit LilyPond übersetzt: + +@lilypond[quote,ragged-right] +\relative c << + \new Staff { + \time 2/4 R2*3 + r4 f8 a cis4 f e d + } + \new Staff { + \clef bass + r4 d,8 f | gis4 c | b bes | + a8 e f4 | g d | gis f + } +>> +@end lilypond + +Tiefer gehende Information darüber, wie Stimmauszüge und Partituren +erstellt werden, finden sich im Notationshandbuch, siehe +@ruser{Orchestral music}. + +Das Setzen der Variablen, die das Verhalten von LilyPond beeinflussen +(@q{properties}), wird im Kapitel +@ruser{Changing context properties on the fly} besprochen. + diff --git a/Documentation/fr/user/putting.itely b/Documentation/fr/user/putting.itely deleted file mode 100644 index 28036de907..0000000000 --- a/Documentation/fr/user/putting.itely +++ /dev/null @@ -1,151 +0,0 @@ -@c -*- coding: utf-8; mode: texinfo; documentlanguage: fr -*- -@c This file is part of lilypond.tely -@ignore - Translation of GIT committish: 27af34a245b02a6b89c9af3becefcfe676b2e19d - - 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.38" - -@c FIXME outdated stuff, to be soon deleted - -@node Putting it all together -@chapter Putting it all together - -Ce chapitre traite des principes généraux de LilyPond, et de -la manière de créer des blocs @code{\score} @footnote{Le terme -@q{score} signifie partition en anglais.}. - - -@menu -* An orchestral part:: -@end menu - -@node An orchestral part -@section An orchestral part - -Dans la musique d'orchestre, toutes les notes sont imprimées deux fois. -D'abord dans les parties séparées destinées aux musiciens, et ensuite -dans le conducteur destiné au chef. Les variables sont là pour vous éviter -un double travail. La musique n'est entrée qu'une seule fois, et stockée dans -une variable, dont le contenu servira à imprimer à la fois la partie -séparée et la partition d'orchestre. - -Il est judicieux de définir les notes dans un fichier séparé. Par -exemple, supposons que le fichier @file{musique-Cor.ly} contienne la -partie suivante pour un duo cor/@/basson. - -@example -notesCor = \relative c @{ - \time 2/4 - r4 f8 a cis4 f e d -@} -@end example - -@noindent -On établira alors une partie séparée en constituant un nouveau fichier : - -@example -\include "musique-Cor.ly" -\header @{ - instrument = "Cor en Fa" -@} - -@{ - \transpose f c' \notesCor -@} -@end example - -À la ligne - -@example -\include "musique-Cor.ly" -@end example - -@noindent -sera substitué le contenu du fichier @file{musique-Cor.ly}, et de ce -fait la variable @code{notesCor} se trouvera définie. La commande -@code{\transpose f@tie{}c'} indique que son argument @code{\notesCor} -sera transposé à la quinte supérieure : le son réel @samp{f} s'écrit -@code{c'}, ce qui est la caractéristique d'un Cor en Fa. La transposition -est visible comme suit : - -@lilypond[quote,ragged-right] -\transpose f c' \relative c { - \time 2/4 - r4 f8 a cis4 f e d -} -@end lilypond - -Dans les pièces d'ensemble, il arrive souvent qu'une voix ne joue pas -pendant plusieurs mesures. Un silence spécial, appelé silence multi-mesures, -l'indique alors. On l'obtient par un @samp{R} majuscule, suivi d'une -durée : @code{1}@tie{}pour une pause, @code{2}@tie{}pour une demi-pause, -etc. Cette durée peut être multipliée pour établir de plus longs silences. -Par exemple, le silence suivant dure 3@tie{}mesures à 2/4. - -@example -R2*3 -@end example - -Dans une partie séparée, les silences multi-mesures sont compressés. -Il faut pour cela définir la propriété @code{skipBars} à @q{vrai} : - -@example -\set Score.skipBars = ##t -@end example - -@noindent -Cette commande assigne la valeur @q{vrai} --- @q{true} en anglais, et -@samp{#t} dans le langage Scheme --- à cette propriété dans le -contexte @code{Score}. Si l'on ajoute dans la musique ci-dessus le -silence multi-mesures et cette option, on obtient le résultat suivant : - -@lilypond[quote,ragged-right] -\transpose f c' \relative c { - \time 2/4 - \set Score.skipBars = ##t - R2*3 - r4 f8 a cis4 f e d -} -@end lilypond - -Le conducteur rassemble toute la musique. Si l'on suppose que l'autre -voix de notre duo se trouve dans le fichier @file{musique-Basson.ly} en -tant que variable @code{notesBasson}, on établira un conducteur avec - -@example -\include "musique-Basson.ly" -\include "musique-Cor.ly" - -<< - \new Staff \notesCor - \new Staff \notesBasson ->> -@end example - -@noindent -ce qui équivaut à - -@lilypond[quote,ragged-right] -\relative c << - \new Staff { - \time 2/4 R2*3 - r4 f8 a cis4 f e d - } - \new Staff { - \clef bass - r4 d,8 f | gis4 c | b bes | - a8 e f4 | g d | gis f - } ->> -@end lilypond - -Des informations plus détaillées sur la mise en place de conducteurs -et de parties séparées se trouvent dans le manuel : voir -@ruser{Orchestral music}. - -Les variables (@q{propriétés}) réglables sont abordées en détail dans -@ruser{Changing context properties on the fly}. diff --git a/Documentation/fr/user/working.itely b/Documentation/fr/user/working.itely index 249c0f12ed..cab2b18b47 100644 --- a/Documentation/fr/user/working.itely +++ b/Documentation/fr/user/working.itely @@ -21,12 +21,9 @@ ces astuces peuvent vous paraître évidentes, mais vous ne perdrez tout de même pas votre temps à lire ce chapitre. @menu -* Suggestions for writing LilyPond files:: -* Saving typing with identifiers and functions:: -* Style sheets:: -* Updating old files:: -* Troubleshooting (taking it all apart):: -* Minimal examples:: +* Suggestions for writing LilyPond files:: +* When things don't work:: +* Scores and parts:: @end menu @node Suggestions for writing LilyPond files @@ -61,9 +58,11 @@ faciliter leur mise à jour. @end itemize @menu -* General suggestions:: -* Typesetting existing music:: -* Large projects:: +* General suggestions:: +* Typesetting existing music:: +* Large projects:: +* Saving typing with variables and functions:: +* Style sheets:: @end menu @node General suggestions @@ -188,8 +187,8 @@ g4\fthenp c'8. e16 @end itemize -@node Saving typing with identifiers and functions -@section Saving typing with identifiers and functions +@node Saving typing with variables and functions +@subsection Saving typing with variables and functions @cindex variables @cindex identificateurs @@ -294,7 +293,7 @@ chaque fichier @code{.ly}. @node Style sheets -@section Style sheets +@subsection Style sheets La sortie que produit LilyPond peut être largement modifiée --- voir @ruser{Tweaking output} pour plus de détails. Mais que faire si vous @@ -552,8 +551,17 @@ chaque fichier de musique par @code{\include "../global.ly"} qui contient : \include "../init/init-papier.ly" @end example +@node When things don't work +@section When things don't work + +@menu +* Updating old files:: +* Troubleshooting (taking it all apart):: +* Minimal examples:: +@end menu + @node Updating old files -@section Updating old files +@subsection Updating old files La syntaxe de LilyPond change de temps en temps. Ces changements de syntaxe du langage d'entrée accompagnent les améliorations du @@ -584,7 +592,7 @@ fichiers LilyPond manuellement. @node Troubleshooting (taking it all apart) -@section Troubleshooting (taking it all apart) +@subsection Troubleshooting (taking it all apart) Tôt ou tard, vous écrirez un fichier que LilyPond ne peut pas compiler. Les messages que LilyPond affiche peuvent vous aider à @@ -645,7 +653,7 @@ d'@ruser{Minimal examples}. @node Minimal examples -@section Minimal examples +@subsection Minimal examples Un exemple minimal est un exemple de code aussi court que possible. De tels exemples sont bien plus compréhensibles que des exemples @@ -680,3 +688,130 @@ celles-ci, @item n'utilisez pas de commandes @code{\override} sauf si elles font l'intérêt de l'exemple. @end itemize + +@node Scores and parts +@section Scores and parts + +Dans la musique d'orchestre, toutes les notes sont imprimées deux fois. +D'abord dans les parties séparées destinées aux musiciens, et ensuite +dans le conducteur destiné au chef. Les variables sont là pour vous éviter +un double travail. La musique n'est entrée qu'une seule fois, et stockée dans +une variable, dont le contenu servira à imprimer à la fois la partie +séparée et la partition d'orchestre. + +Il est judicieux de définir les notes dans un fichier séparé. Par +exemple, supposons que le fichier @file{musique-Cor.ly} contienne la +partie suivante pour un duo cor/@/basson. + +@example +notesCor = \relative c @{ + \time 2/4 + r4 f8 a cis4 f e d +@} +@end example + +@noindent +On établira alors une partie séparée en constituant un nouveau fichier : + +@example +\include "musique-Cor.ly" +\header @{ + instrument = "Cor en Fa" +@} + +@{ + \transpose f c' \notesCor +@} +@end example + +À la ligne + +@example +\include "musique-Cor.ly" +@end example + +@noindent +sera substitué le contenu du fichier @file{musique-Cor.ly}, et de ce +fait la variable @code{notesCor} se trouvera définie. La commande +@code{\transpose f@tie{}c'} indique que son argument @code{\notesCor} +sera transposé à la quinte supérieure : le son réel @samp{f} s'écrit +@code{c'}, ce qui est la caractéristique d'un Cor en Fa. La transposition +est visible comme suit : + +@lilypond[quote,ragged-right] +\transpose f c' \relative c { + \time 2/4 + r4 f8 a cis4 f e d +} +@end lilypond + +Dans les pièces d'ensemble, il arrive souvent qu'une voix ne joue pas +pendant plusieurs mesures. Un silence spécial, appelé silence multi-mesures, +l'indique alors. On l'obtient par un @samp{R} majuscule, suivi d'une +durée : @code{1}@tie{}pour une pause, @code{2}@tie{}pour une demi-pause, +etc. Cette durée peut être multipliée pour établir de plus longs silences. +Par exemple, le silence suivant dure 3@tie{}mesures à 2/4. + +@example +R2*3 +@end example + +Dans une partie séparée, les silences multi-mesures sont compressés. +Il faut pour cela définir la propriété @code{skipBars} à @q{vrai} : + +@example +\set Score.skipBars = ##t +@end example + +@noindent +Cette commande assigne la valeur @q{vrai} --- @q{true} en anglais, et +@samp{#t} dans le langage Scheme --- à cette propriété dans le +contexte @code{Score}. Si l'on ajoute dans la musique ci-dessus le +silence multi-mesures et cette option, on obtient le résultat suivant : + +@lilypond[quote,ragged-right] +\transpose f c' \relative c { + \time 2/4 + \set Score.skipBars = ##t + R2*3 + r4 f8 a cis4 f e d +} +@end lilypond + +Le conducteur rassemble toute la musique. Si l'on suppose que l'autre +voix de notre duo se trouve dans le fichier @file{musique-Basson.ly} en +tant que variable @code{notesBasson}, on établira un conducteur avec + +@example +\include "musique-Basson.ly" +\include "musique-Cor.ly" + +<< + \new Staff \notesCor + \new Staff \notesBasson +>> +@end example + +@noindent +ce qui équivaut à + +@lilypond[quote,ragged-right] +\relative c << + \new Staff { + \time 2/4 R2*3 + r4 f8 a cis4 f e d + } + \new Staff { + \clef bass + r4 d,8 f | gis4 c | b bes | + a8 e f4 | g d | gis f + } +>> +@end lilypond + +Des informations plus détaillées sur la mise en place de conducteurs +et de parties séparées se trouvent dans le manuel : voir +@ruser{Orchestral music}. + +Les variables (@q{propriétés}) réglables sont abordées en détail dans +@ruser{Changing context properties on the fly}.