<!-- 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: 3.2.1 Invoking lilypond</title> <meta name="description" content="GNU LilyPond Programmbenutzung: 3.2.1 Invoking lilypond"> <meta name="keywords" content="GNU LilyPond Programmbenutzung: 3.2.1 Invoking lilypond"> <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="Command_002dline-usage.de.html#Command_002dline-usage" rel="up" title="3.2 Command-line usage"> <link href="LilyPond-index.de.html#LilyPond-index" rel="next" title="B. LilyPond index"> <link href="Command_002dline-usage.de.html#Command_002dline-usage" rel="previous" title="3.2 Command-line usage"> <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="Invoking-lilypond"></a> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="Running-LilyPond.de.html#Running-LilyPond" title="Anfang dieses oder des letzten Kapitels"> << Running LilyPond </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="LilyPond_002dbook.de.html#LilyPond_002dbook" title="Nächstes Kapitel"> LilyPond-book >> </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="Command_002dline-usage.de.html#Command_002dline-usage" title="Voriger Abschnitt in Lesereihenfolge" accesskey="p" rel="previous"> < Command-line usage </a>]</td><td valign="middle" align="center" colspan="1">[<a href="Command_002dline-usage.de.html#Command_002dline-usage" title="Abschnitt nach oben" accesskey="u" rel="up"> Nach oben : Command-line usage </a>]</td><td valign="middle" align="right" colspan="2">[<a href="Command-line-options-for-lilypond.de.html#Command-line-options-for-lilypond" title="Nächster Abschnitt in Lesereihenfolge" accesskey="n" rel="next"> Command line options for lilypond > </a>]</td></tr></table> <a name="Invoking-lilypond"></a> <h3 class="subsection">3.2.1 Invoking <code>lilypond</code></h3> <a name="index-lilypond-aufrufen"></a> <a name="index-Kommandozeilen_002dOptionen-fur-lilypond"></a> <a name="index-Optionen-an-der-Kommandozeile"></a> <p>Das <code>lilypond</code> Programm kann folgendermaßen von der Kommandozeile aufgerufen werden. </p> <blockquote><pre class="example">lilypond [<var>Option</var>]… <var>Dateiname</var>… </pre></blockquote> <p>Wird ein ‘<tt>Dateiname</tt>’ ohne Erweiterung angegeben, so wird ‘<tt>.ly</tt>’ als Standarderweiterung für LilyPond-Dateien benutzt. Um Daten von <code>stdin</code> einzulesen, benutzen Sie einfach einen Bindestrich (<code>-</code>) als <var>Dateiname</var>. </p> <p>Wenn Lilypond die Datei ‘<tt>Dateiname.ly</tt>’ verarbeitet, werden daraus die Dateien ‘<tt>Dateiname.ps</tt>’ und ‘<tt>Dateiname.pdf</tt>’ erzeugt. Es können an <code>lilypond</code> auch mehrere ‘<tt>.ly</tt>’ Dateien übergeben werden, die dann einzeln und voneinander unabhängig abgearbeitet werden.<sup><a name="DOCF2" href="#FOOT2">1</a></sup> </p> <p>Falls ‘<tt>Dateiname.ly</tt>’ mehr als einen <code>\score</code>-Block enthält, werden die weiteren Stücke in durchnummerierte Dateien der Form ‘<tt>Dateiname-1.pdf</tt>’ ausgegeben. Zusätzlich wird der Wert der Variable <code>output-suffix</code> zwischen den ursprünglichen Dateienamen und der Zahl eingefügt. Eine Lilypond-Datei <var>Dateiname.ly</var> mit dem Inhalt </p> <blockquote><pre class="example">#(define output-suffix "Geige") \book { … } #(define output-suffix "Cello") \book { … } </pre></blockquote> <p>erzeugt daher die Dateien <var>Dateiname</var>‘<tt>-Geige.pdf</tt>’ und <var>Dateiname</var>‘<tt>-Cello-1.pdf</tt>’. </p> <div class="footnote"> <hr> <h3>Fußnoten</h3> <p class="footnote"><small>[<a name="FOOT2" href="#DOCF2">1</a>]</small> Der Zustand von GUILE wird allerdings nicht nach jeder Datei zurückgesetzt, sodass Achtung geboten ist, wenn in einer Datei globale Änderungen von Scheme aus durchgeführt werden. </p></div> <hr size="6"> <table class="nav_table"> <tr><td valign="middle" align="left" colspan="1">[<a href="Running-LilyPond.de.html#Running-LilyPond" title="Anfang dieses oder des letzten Kapitels"> << Running LilyPond </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="LilyPond_002dbook.de.html#LilyPond_002dbook" title="Nächstes Kapitel"> LilyPond-book >> </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="Command_002dline-usage.de.html#Command_002dline-usage" title="Voriger Abschnitt in Lesereihenfolge" accesskey="p" rel="previous"> < Command-line usage </a>]</td><td valign="middle" align="center" colspan="1">[<a href="Command_002dline-usage.de.html#Command_002dline-usage" title="Abschnitt nach oben" accesskey="u" rel="up"> Nach oben : Command-line usage </a>]</td><td valign="middle" align="right" colspan="2">[<a href="Command-line-options-for-lilypond.de.html#Command-line-options-for-lilypond" title="Nächster Abschnitt in Lesereihenfolge" accesskey="n" rel="next"> Command line options for lilypond > </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="Invoking-lilypond.html">English</a>, <a href="Invoking-lilypond.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 class="toc_current"><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 class="toc_current"><a name="toc-Command_002dline-usage-1" href="Command_002dline-usage.de.html#Command_002dline-usage">3.2 Command-line usage</a> <ul class="toc"> <li class="toc_current"><a name="toc-Invoking-lilypond-1" href="Invoking-lilypond.de.html#Invoking-lilypond">3.2.1 Invoking <code>lilypond</code></a> </li> <li><a name="toc-Command-line-options-for-lilypond-1" href="Command-line-options-for-lilypond.de.html#Command-line-options-for-lilypond">3.2.2 Command line options for <code>lilypond</code></a> </li> <li><a name="toc-Environment-variables-1" href="Environment-variables.de.html#Environment-variables">3.2.3 Environment variables</a> </li> </ul> </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><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><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> </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>