<!-- header_tag --> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd"> <html> <!-- Copyright C 1999-2009 bei den Autoren The translation of the following copyright notice is provided for courtesy to non-English speakers, but only the notice in English legally counts. Die Übersetzung der folgenden Lizenzanmerkung ist zur Orientierung für Leser, die nicht Englisch sprechen. Im rechtlichen Sinne ist aber nur die englische Version gültig. Es ist erlaubt, dieses Dokument unter den Bedingungen der GNU Free Documentation Lizenz (Version 1.1 oder spätere, von der Free Software Foundation publizierte Versionen, ohne Invariante Abschnitte), zu kopieren, verbreiten und/oder zu verändern. Eine Kopie der Lizenz ist im Abschnitt "GNU Free Documentation License" angefügt. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections. A copy of the license is included in the section entitled "GNU Free Documentation License". --> <!-- Created on 15. Dezember 2009 by texi2html 1.82 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> Olaf Bachmann <obachman@mathematik.uni-kl.de> and many others. Maintained by: Many creative people. Send bugs and suggestions to <texi2html-bug@nongnu.org> --> <head> <title>GNU LilyPond Programmbenutzung: 4.2.2 Texinfo</title> <meta name="description" content="GNU LilyPond Programmbenutzung: 4.2.2 Texinfo"> <meta name="keywords" content="GNU LilyPond Programmbenutzung: 4.2.2 Texinfo"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="texi2html 1.82"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link href="index.de.html#Top" rel="start" title="GNU LilyPond – Programmbenutzung"> <link href="LilyPond-index.de.html#LilyPond-index" rel="index" title="B. LilyPond index"> <link href="index_toc.de.html#SEC_Contents" rel="contents" title="Inhaltsverzeichnis"> <link href="index_abt.de.html#SEC_About" rel="help" title="Über dieses Dokument"> <link href="Integrating-music-and-text.de.html#Integrating-music-and-text" rel="up" title="4.2 Integrating music and text"> <link href="LilyPond-index.de.html#LilyPond-index" rel="next" title="B. LilyPond index"> <link href="LaTeX.de.html#LaTeX" rel="previous" title="4.2.1 LaTeX"> <link rel="stylesheet" type="text/css" title="Patrick McCarty's design" href="lilypond-mccarty.css"> <link rel="alternate stylesheet" type="text/css" href="lilypond.css" title="Andrew Hawryluk's design"> <link rel="alternate stylesheet" type="text/css" href="lilypond-blue.css" title="Kurt Kroon's blue design"> <!--[if lte IE 7]> <link href="lilypond-ie-fixes.css" rel="stylesheet" type="text/css"> <![endif]--> </head> <body lang="de" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> <div id="main"> <a name="Texinfo"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="LilyPond_002dbook.de.html#LilyPond_002dbook" title="Anfang dieses oder des letzten Kapitels"> << LilyPond-book </a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.de.html#Top" title="Titelseite des Dokuments" rel="start">Anfang</a>][<a href="index_toc.de.html#SEC_Contents" title="Inhaltsverzeichnis" rel="contents">Inhalt</a>][<a href="LilyPond-index.de.html#LilyPond-index" title="Index" rel="index">Index</a>][<a href="index_abt.de.html#SEC_About" title="Über (Hilfe)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Converting-from-other-formats.de.html#Converting-from-other-formats" title="Nächstes Kapitel"> Converting from other formats >> </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="LaTeX.de.html#LaTeX" title="Voriger Abschnitt in Lesereihenfolge" accesskey="p" rel="previous"> < LaTeX </a>]</td><td valign="middle" align="center" colspan="1">[<a href="Integrating-music-and-text.de.html#Integrating-music-and-text" title="Abschnitt nach oben" accesskey="u" rel="up"> Nach oben : Integrating music and text </a>]</td><td valign="middle" align="right" colspan="2">[<a href="HTML.de.html#HTML" title="Nächster Abschnitt in Lesereihenfolge" accesskey="n" rel="next"> HTML > </a>]</td></tr></table> <a name="Texinfo"></a> <h3 class="subsection">4.2.2 Texinfo</h3> <p>Texinfo ist das Standard-Dokumentationsformat des GNU Projekts. Ein Beispiel für ein Dokument im Texinfo Format ist dieses Handbuch, wobei die HTML-, PDF- und Info-Versionen alle aus demselben Texinfo Dokument erzeugt werden. </p> <p>In der Eingabedatei wir Musik eingegeben als </p> <blockquote><pre class="example">@lilypond[Optionen,kommen,hier] IHR LILYPOND QUELLCODE @end lilypond </pre></blockquote> <p>oder </p> <blockquote><pre class="example">@lilypond[Optionen,kommen,hier]{ IHR LILYPOND QUELLCODE } </pre></blockquote> <p>oder </p> <blockquote><pre class="example">@lilypondfile[Optionen,kommen,hier]{<var>Dateiname</var>} </pre></blockquote> <p>Zusätzlich kann mit <code>@lilypondversion</code> die aktuelle Versionsnummer von LilyPond angezeigt werden. Wenn <code>lilypond-book</code> eine derartige Datei verarbeitet, wird eine Texinfo-Datei mit der Erweiterung ‘<tt>.texi</tt>’ erzeugt, die <code>@image</code> Befehle für die Ausgabe nach HTML, Info und PDF enthält. <code>lilypond-book</code> erzeugt die entsprechenden Grafiken der Musikbeispiele im EPS- und PDF-Format für die Ausgabe nach PDF und im PNG-Format für die Ausgabe nach HTML und Info. </p> <p>Hier sollen zwei einfache Beispiele gezeigt werden. Eine <code>lilypond</code> Umgebung </p> <blockquote><pre class="example">@lilypond[fragment] c' d' e' f' g'2 g' @end lilypond </pre></blockquote> <p>erzeugt </p> <p> <a href="../69/lily-ec115b59.ly"> <img align="middle" border="0" src="../69/lily-ec115b59.png" alt="[image of music]"> </a> </p> <p>Die Kurzversion </p> <blockquote><pre class="example">@lilypond[fragment,staffsize=11]{<c' e' g'>} </pre></blockquote> <p>erzeugt </p> <p> <a href="../e6/lily-ee004a71.ly"> <img align="middle" border="0" src="../e6/lily-ee004a71.png" alt="[image of music]"> </a> </p> <p>Im Gegensatz zu LaTeX erzeugt <code>@lilypond{...}</code> allerdings keine Grafik im Fließtext, sondern setzt sie immer in einen eigenen Absatz. </p> <hr size="6"> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="LilyPond_002dbook.de.html#LilyPond_002dbook" title="Anfang dieses oder des letzten Kapitels"> << LilyPond-book </a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.de.html#Top" title="Titelseite des Dokuments" rel="start">Anfang</a>][<a href="index_toc.de.html#SEC_Contents" title="Inhaltsverzeichnis" rel="contents">Inhalt</a>][<a href="LilyPond-index.de.html#LilyPond-index" title="Index" rel="index">Index</a>][<a href="index_abt.de.html#SEC_About" title="Über (Hilfe)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Converting-from-other-formats.de.html#Converting-from-other-formats" title="Nächstes Kapitel"> Converting from other formats >> </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="LaTeX.de.html#LaTeX" title="Voriger Abschnitt in Lesereihenfolge" accesskey="p" rel="previous"> < LaTeX </a>]</td><td valign="middle" align="center" colspan="1">[<a href="Integrating-music-and-text.de.html#Integrating-music-and-text" title="Abschnitt nach oben" accesskey="u" rel="up"> Nach oben : Integrating music and text </a>]</td><td valign="middle" align="right" colspan="2">[<a href="HTML.de.html#HTML" title="Nächster Abschnitt in Lesereihenfolge" accesskey="n" rel="next"> HTML > </a>]</td></tr></table> <!-- footer_tag --> <div class="footer"> <p class="footer_version"> This page is for LilyPond-2.12.3 (stable-branch). </p> <p class="footer_report"> Your <a href="http://lilypond.org/web/devel/participating/documentation-adding">suggestions for the documentation</a> are welcome, please report errors to our <a href="http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs">bug list</a>. </p> </div> <p id="languages"> Other languages: <a href="Texinfo.html">English</a>, <a href="Texinfo.es.html">español</a>. <br> </p> <!-- FOOTER --> <!-- end div#main here --> </div> <div id="tocframe"> <p class="toc_uplink"><a href="../index.de.html" title="Documentation Index"><< Zur Dokumentationsübersicht</a></p> <h4 class="toc_header"><a href="index.de.html#Top" title="Start of the manual">Programmbenutzung</a></h4> <div class="contents"> <ul class="toc"> <li><a name="toc-Install-1" href="Install.de.html#Install">1. Install</a> <ul class="toc"> <li><a name="toc-Precompiled-binaries-1" href="Precompiled-binaries.de.html#Precompiled-binaries">1.1 Precompiled binaries</a> </li> <li><a name="toc-Compiling-from-source-1" href="Compiling-from-source.de.html#Compiling-from-source">1.2 Compiling from source</a> </li> </ul> </li> <li><a name="toc-Setup-1" href="Setup.de.html#Setup">2. Setup</a> <ul class="toc"> <li><a name="toc-Setup-for-specific-Operating-Systems-1" href="Setup-for-specific-Operating-Systems.de.html#Setup-for-specific-Operating-Systems">2.1 Setup for specific Operating Systems</a> </li> <li><a name="toc-Text-editor-support-1" href="Text-editor-support.de.html#Text-editor-support">2.2 Text editor support</a> </li> <li><a name="toc-Point-and-click-1" href="Point-and-click.de.html#Point-and-click">2.3 Point and click</a> </li> </ul> </li> <li><a name="toc-Running-LilyPond-1" href="Running-LilyPond.de.html#Running-LilyPond">3. Running LilyPond</a> <ul class="toc"> <li><a name="toc-Normal-usage-1" href="Normal-usage.de.html#Normal-usage">3.1 Normal usage</a> </li> <li><a name="toc-Command_002dline-usage-1" href="Command_002dline-usage.de.html#Command_002dline-usage">3.2 Command-line usage</a> </li> <li><a name="toc-Error-messages-1" href="Error-messages.de.html#Error-messages">3.3 Error messages</a> </li> <li><a name="toc-Updating-files-with-convert_002dly-1" href="Updating-files-with-convert_002dly.de.html#Updating-files-with-convert_002dly">3.4 Updating files with <code>convert-ly</code></a> </li> <li><a name="toc-Reporting-bugs-1" href="Reporting-bugs.de.html#Reporting-bugs">3.5 Reporting bugs</a> </li> </ul> </li> <li class="toc_current"><a name="toc-lilypond_002dbook_003a-Integrating-text-and-music" href="LilyPond_002dbook.de.html#LilyPond_002dbook">4. <code>lilypond-book</code>: Integrating text and music</a> <ul class="toc"> <li><a name="toc-An-example-of-a-musicological-document-1" href="An-example-of-a-musicological-document.de.html#An-example-of-a-musicological-document">4.1 An example of a musicological document</a> </li> <li class="toc_current"><a name="toc-Integrating-music-and-text-1" href="Integrating-music-and-text.de.html#Integrating-music-and-text">4.2 Integrating music and text</a> <ul class="toc"> <li><a name="toc-LaTeX-1" href="LaTeX.de.html#LaTeX">4.2.1 LaTeX</a> </li> <li class="toc_current"><a name="toc-Texinfo-1" href="Texinfo.de.html#Texinfo">4.2.2 Texinfo</a> </li> <li><a name="toc-HTML-1" href="HTML.de.html#HTML">4.2.3 HTML</a> </li> <li><a name="toc-DocBook-1" href="DocBook.de.html#DocBook">4.2.4 DocBook</a> </li> </ul> </li> <li><a name="toc-Music-fragment-options-1" href="Music-fragment-options.de.html#Music-fragment-options">4.3 Music fragment options</a> </li> <li><a name="toc-Invoking-lilypond_002dbook-1" href="Invoking-lilypond_002dbook.de.html#Invoking-lilypond_002dbook">4.4 Invoking <code>lilypond-book</code></a> </li> <li><a name="toc-Filename-extensions-1" href="Filename-extensions.de.html#Filename-extensions">4.5 Filename extensions</a> </li> <li><a name="toc-Alternative-methods-of-mixing-text-and-music" href="Alternate-methods-of-mixing-text-and-music.de.html#Alternate-methods-of-mixing-text-and-music">4.6 Alternative methods of mixing text and music</a> </li> </ul> </li> <li><a name="toc-Converting-from-other-formats-1" href="Converting-from-other-formats.de.html#Converting-from-other-formats">5. Converting from other formats</a> <ul class="toc"> <li><a name="toc-Invoking-midi2ly-1" href="Invoking-midi2ly.de.html#Invoking-midi2ly">5.1 Invoking <code>midi2ly</code></a> </li> <li><a name="toc-Invoking-musicxml2ly-1" href="Invoking-musicxml2ly.de.html#Invoking-musicxml2ly">5.2 Invoking <code>musicxml2ly</code></a> </li> <li><a name="toc-Invoking-abc2ly-1" href="Invoking-abc2ly.de.html#Invoking-abc2ly">5.3 Invoking <code>abc2ly</code></a> </li> <li><a name="toc-Invoking-etf2ly-1" href="Invoking-etf2ly.de.html#Invoking-etf2ly">5.4 Invoking <code>etf2ly</code></a> </li> <li><a name="toc-Generating-LilyPond-files-1" href="Generating-LilyPond-files.de.html#Generating-LilyPond-files">5.5 Generating LilyPond files</a> </li> </ul> </li> <li><a name="toc-GNU-Free-Documentation-License-1" href="GNU-Free-Documentation-License.de.html#GNU-Free-Documentation-License">A. GNU Free Documentation License</a> </li> <li><a name="toc-LilyPond-index-1" href="LilyPond-index.de.html#LilyPond-index">B. LilyPond index</a> </li> </ul> </div> </div> </body> </html>