Sophie

Sophie

distrib > Fedora > 13 > x86_64 > by-pkgid > f07b4b9fcbe6d8ab9260b52d15e551a6 > files > 6928

lilypond-doc-2.12.3-1.fc13.noarch.rpm

<!-- 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 por los autores

La traducción de la siguiente nota de copyright se ofrece como
cortesía para las personas de habla no inglesa, pero únicamente la
nota en inglés tiene validez legal.

The translation of the following copyright notice is provided
for courtesy to non-English speakers, but only the notice in English
legally counts.

Se otorga permiso para copiar, distribuir y/o modificar este documento
bajo los términos de la Licencia de Documentación Libre de GNU, versión 1.1
o cualquier versión posterior publicada por la Free Software Foundation;
sin ninguna de las secciones invariantes.
Se incluye una copia de esta licencia dentro de la sección titulada "Licencia
de Documentación Libre de GNU".


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 el 15 diciembre 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>Manual de aprendizaje de GNU LilyPond: 2.1.1 Compiling a file</title>

<meta name="description" content="Manual de aprendizaje de GNU LilyPond: 2.1.1 Compiling a file">
<meta name="keywords" content="Manual de aprendizaje de GNU LilyPond: 2.1.1 Compiling a file">
<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.es.html#Top" rel="start" title="GNU LilyPond: Manual de aprendizaje">
<link href="LilyPond-index.es.html#LilyPond-index" rel="index" title="D. LilyPond index">
<link href="index_toc.es.html#SEC_Contents" rel="contents" title="&Iacute;ndice General">
<link href="index_abt.es.html#SEC_About" rel="help" title="Acerca de este documento">
<link href="First-steps.es.html#First-steps" rel="up" title="2.1 First steps">
<link href="LilyPond-index.es.html#LilyPond-index" rel="next" title="D. LilyPond index">
<link href="First-steps.es.html#First-steps" rel="previous" title="2.1 First steps">
<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="es" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">


<div id="main">
<a name="Compiling-a-file"></a>
<table class="nav_table">
<tr><td valign="middle" align="left" colspan="1">[<a href="Tutorial.es.html#Tutorial" title="Inicio de este cap&iacute;tulo o cap&iacute;tulo anterior"> &lt;&lt; Tutorial&nbsp;</a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.es.html#Top" title="Portada del documento" rel="start">Arriba</a>][<a href="index_toc.es.html#SEC_Contents" title="&Iacute;ndice general" rel="contents">&Iacute;ndice general</a>][<a href="LilyPond-index.es.html#LilyPond-index" title="&Iacute;ndice" rel="index">&Iacute;ndice</a>][<a href="index_abt.es.html#SEC_About" title="Acerca de (p&aacute;gina de ayuda)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Fundamental-concepts.es.html#Fundamental-concepts" title="Cap&iacute;tulo siguiente">&nbsp;Fundamental concepts &gt;&gt; </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="First-steps.es.html#First-steps" title="Secci&oacute;n anterior en orden de lectura" accesskey="p" rel="previous"> &lt; First steps&nbsp;</a>]</td><td valign="middle" align="center" colspan="1">[<a href="First-steps.es.html#First-steps" title="Subir secci&oacute;n" accesskey="u" rel="up">&nbsp; Subir :&nbsp;First steps&nbsp;</a>]</td><td valign="middle" align="right" colspan="2">[<a href="Simple-notation.es.html#Simple-notation" title="Secci&oacute;n siguiente en orden de lectura" accesskey="n" rel="next">&nbsp;Simple notation &gt; </a>]</td></tr></table>
<a name="Compiling-a-file"></a>
<h3 class="subsection">2.1.1 Compiling a file</h3>

<a name="index-compilacion"></a>
<a name="index-ejemplo-inicial"></a>
<a name="index-inicial_002c-ejemplo"></a>
<a name="index-mayusculas_002c-sensible-a"></a>

<p>&ldquo;Compilación&rdquo; es una palabra que significa procesar un texto de
entrada en formato de LilyPond para producir un archivo que se puede
imprimir y (de manera opcional) un archivo MIDI que se puede
reproducir.  El primer ejemplo muestra el aspecto de un sencillo
archivo de texto de entrada.
</p>
<p>Para crear una partitura, escribimos un archivo de texto que detalla
la notación deseada.  Por ejemplo, si escribimos
</p>
<blockquote><pre class="example">{
  c' e' g' e'
}
</pre></blockquote>

<p>el resultado tiene este aspecto:
</p>
<blockquote><p>
 <a href="../a1/lily-fb428739.ly">
  <img align="middle"
       border="0"
       src="../a1/lily-fb428739.png"
       alt="[image of music]">
 </a>
</p>
</blockquote>



<table class="cartouche" border="1"><tr><td>
<p><b>Nota:</b> la música y la letra escrita en el código de entrada de
LilyPond tiene que ir siempre entre <strong>{ llaves }</strong>.  Las llaves
deberían también estar rodeadas por espacios a no ser que se
encuentren al principio o al final de una línea, para evitar
ambigüedades.  Es posible que se omitan en algunos ejemplos del
presente manual ¡pero no las omita en su propia música!  Para ver más
información sobre la presentación de los ejemplos del manual, consulte
<a href="How-to-read-the-manual.es.html#How-to-read-the-manual">How to read the manual</a>.
</p></td></tr></table>

<p>Además, la entrada de LilyPond es <strong>sensible a las mayúsculas</strong>.
<code> { c d e }</code> es una entrada válida; <code>{ C D E }</code> produce
un mensaje de error.
</p>
<br>

<a name="Entering-music-and-viewing-output"></a>
<h3 class="subheading">Entering music and viewing output</h3>

<a name="index-PDF_002c-archivo"></a>
<a name="index-ver-la-musica"></a>
<a name="index-editores-de-texto"></a>
<a name="index-ejecutar-LilyPond-bajo-MacOS-X"></a>
<a name="index-MacOS-X_002c-ejecutar-LilyPond"></a>
<a name="index-ejecutar-LilyPond-bajo-Windows"></a>
<a name="index-Windows_002c-ejecutar-LilyPond"></a>
<a name="index-ejecutar-LilyPond-bajo-UNIX"></a>
<a name="index-UNIX_002c-ejecutar-LilyPond"></a>

<p>En esta sección vamos a explicar qué órdenes hay que ejecutar y cómo,
para ver o imprimir el resultado.
</p>
<p>Tenga en cuenta que están disponibles varios otros editores de texto
con un mejor apoyo a la edición de texto de LilyPond.  Para ver más
información, consulte <a name="index-Text-editor-support"></a>
<a href="../lilypond-program/Text-editor-support.es.html#Text-editor-support">Text editor support</a>.
</p>
<table class="cartouche" border="1"><tr><td>
<p><b>Nota:</b> La primera vez que ejecute LilyPond, tardará un minuto o dos
porque todas las tipografías del sistema han de ser analizadas
previamente.  ¡Después de esto, LilyPond será mucho más rápido!
</p></td></tr></table>

<a name="MacOS-X"></a>
<h4 class="subsubheading">MacOS X</h4>

<p>Si hace doble clic sobre <code>LilyPond.app</code>, se abrirá con un archivo
de ejemplo.  Guárdelo, por ejemplo, como &lsquo;<tt>prueba.ly</tt>&rsquo; en el
Escritorio, y a continuación procéselo con la orden de menú
&lsquo;<samp>Compilar &gt; Componer archivo</samp>&rsquo;.  El PDF resultante se mostrará en
la pantalla.
</p>

<p>Para posteriores usos de LilyPond, debería comenzar eligiendo
&lsquo;Nuevo&rsquo; o &lsquo;Abrir&rsquo;.  Tiene que grabar el archivo antes de
componerlo tipográficamente.  Si se produce algún error durante el
proceso, observe la ventana del registro.
</p>

<a name="Windows"></a>
<h4 class="subsubheading">Windows</h4>

<p>En Windows, si hace doble clic sobre el icono de LilyPond que está en
el escritorio, se abrirá un sencillo editor de texto con un archivo de
ejemplo.  Guárdelo, por ejemplo, con el nombre &lsquo;<tt>prueba.ly</tt>&rsquo; en el
escritorio y después haga doble clic sobre el icono del archivo para
procesarlo (el icono tiene la forma de una corchea).  Transcurridos
unos segundos, obtendrá un archivo &lsquo;<tt>prueba.pdf</tt>&rsquo; en el
escritorio. Haga doble clic sobre este archivo PDF para ver la
partitura compuesta tipográficamente.  Un método alternativo para
procesar el archivo &lsquo;<tt>prueba.ly</tt>&rsquo; es arrastrarlo y soltarlo sobre
el icono de LilyPond utilizando el ratón.
</p>
<p>Para editar un archivo &lsquo;<tt>.ly</tt>&rsquo; existente, haga clic sobre él con el
botón derecho del ratón y elija &ldquo;Editar la fuente&rdquo;.  Para empezar
con un archivo vacío, arranque el editor como se describe más arriba y
elija &ldquo;Nuevo&rdquo; del menú &ldquo;Archivo&rdquo;, o haga clic con el botón
derecho sobre el escritorio y elija &ldquo;Nuevo..Documento de texto&rdquo;,
cámbiele el nombre por otro de su elección y cambie la extensión del
archivo a <code>.ly</code>.  Edítelo y luego haga doble click sobre él para
procesarlo como se explicó antes.
</p>
<p>Al hacer doble clic sobre el archivo no sólo se obtiene como resultado
un archivo PDF, sino también un archivo &lsquo;<tt>.log</tt>&rsquo; que contiene
cierta información acerca de lo que LilyPond ha hecho con el
archivo. Si se produce algún error, examine este archivo de registro.
</p>

<a name="UNIX"></a>
<h4 class="subsubheading">UNIX</h4>

<p>Cree un archivo de texto con el nombre &lsquo;<tt>prueba.ly</tt>&rsquo; y escriba en él:
</p>
<blockquote><pre class="example">{
  c' e' g' e'
}
</pre></blockquote>

<p>Para procesar el archivo &lsquo;<tt>prueba.ly</tt>&rsquo; haga lo siguiente:
</p>
<blockquote><pre class="example">lilypond prueba.ly
</pre></blockquote>

<p>Verá algo parecido a:
</p>
<blockquote><pre class="example">lilypond prueba.ly
GNU LilyPond 2.12.3
Procesando `prueba.ly'
Analizando...
Interpretando la música...
Preprocesando los objetos gráficos...
Buscando el número de páginas ideal...
Disponiendo la música en 1 página...
Dibujando los sistemas...
Escribiendo la página de salida en `prueba.ps'...
Convirtiendo a `prueba.pdf'...
</pre></blockquote>


<hr size="6">
<table class="nav_table">
<tr><td valign="middle" align="left" colspan="1">[<a href="Tutorial.es.html#Tutorial" title="Inicio de este cap&iacute;tulo o cap&iacute;tulo anterior"> &lt;&lt; Tutorial&nbsp;</a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.es.html#Top" title="Portada del documento" rel="start">Arriba</a>][<a href="index_toc.es.html#SEC_Contents" title="&Iacute;ndice general" rel="contents">&Iacute;ndice general</a>][<a href="LilyPond-index.es.html#LilyPond-index" title="&Iacute;ndice" rel="index">&Iacute;ndice</a>][<a href="index_abt.es.html#SEC_About" title="Acerca de (p&aacute;gina de ayuda)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Fundamental-concepts.es.html#Fundamental-concepts" title="Cap&iacute;tulo siguiente">&nbsp;Fundamental concepts &gt;&gt; </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="First-steps.es.html#First-steps" title="Secci&oacute;n anterior en orden de lectura" accesskey="p" rel="previous"> &lt; First steps&nbsp;</a>]</td><td valign="middle" align="center" colspan="1">[<a href="First-steps.es.html#First-steps" title="Subir secci&oacute;n" accesskey="u" rel="up">&nbsp; Subir :&nbsp;First steps&nbsp;</a>]</td><td valign="middle" align="right" colspan="2">[<a href="Simple-notation.es.html#Simple-notation" title="Secci&oacute;n siguiente en orden de lectura" accesskey="n" rel="next">&nbsp;Simple notation &gt; </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="Compiling-a-file.html">English</a>, <a href="Compiling-a-file.fr.html">français</a>, <a href="Compiling-a-file.de.html">deutsch</a>.
 <br>
 
</p>

<!-- FOOTER -->

<!-- end div#main here -->
</div>



<div id="tocframe">
<p class="toc_uplink"><a href="../index.es.html" 
         title="Documentation Index">&lt;&lt; Volver al índice de la documentación</a></p>
<h4 class="toc_header"><a href="index.es.html#Top" title="Start of the manual">Manual de aprendizaje</a></h4>
<div class="contents">
<ul class="toc">
  <li><a name="toc-Preface-1" href="Preface.es.html#Preface">Preface</a>  </li>
  <li><a name="toc-Introduction-1" href="Introduction.es.html#Introduction">1. Introduction</a>
  <ul class="toc">
    <li><a name="toc-Background-1" href="Background.es.html#Background">1.1 Background</a>    </li>
    <li><a name="toc-About-the-documentation-1" href="About-the-documentation.es.html#About-the-documentation">1.2 About the documentation</a>    </li>
  </ul>
  </li>
  <li class="toc_current"><a name="toc-Tutorial-1" href="Tutorial.es.html#Tutorial">2. Tutorial</a>
  <ul class="toc">
    <li class="toc_current"><a name="toc-First-steps-1" href="First-steps.es.html#First-steps">2.1 First steps</a>
    <ul class="toc">
      <li class="toc_current"><a name="toc-Compiling-a-file-1" href="Compiling-a-file.es.html#Compiling-a-file">2.1.1 Compiling a file</a>      </li>
      <li><a name="toc-Simple-notation-1" href="Simple-notation.es.html#Simple-notation">2.1.2 Simple notation</a>      </li>
      <li><a name="toc-Working-on-input-files-1" href="Working-on-input-files.es.html#Working-on-input-files">2.1.3 Working on input files</a>      </li>
      <li><a name="toc-How-to-read-the-manual-1" href="How-to-read-the-manual.es.html#How-to-read-the-manual">2.1.4 How to read the manual</a>      </li>
    </ul>
    </li>
    <li><a name="toc-Single-staff-notation-1" href="Single-staff-notation.es.html#Single-staff-notation">2.2 Single staff notation</a>    </li>
    <li><a name="toc-Multiple-notes-at-once-1" href="Multiple-notes-at-once.es.html#Multiple-notes-at-once">2.3 Multiple notes at once</a>    </li>
    <li><a name="toc-Songs-1" href="Songs.es.html#Songs">2.4 Songs</a>    </li>
    <li><a name="toc-Final-touches-1" href="Final-touches.es.html#Final-touches">2.5 Final touches</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Fundamental-concepts-1" href="Fundamental-concepts.es.html#Fundamental-concepts">3. Fundamental concepts</a>
  <ul class="toc">
    <li><a name="toc-How-LilyPond-input-files-work-1" href="How-LilyPond-input-files-work.es.html#How-LilyPond-input-files-work">3.1 How LilyPond input files work</a>    </li>
    <li><a name="toc-Voices-contain-music-1" href="Voices-contain-music.es.html#Voices-contain-music">3.2 Voices contain music</a>    </li>
    <li><a name="toc-Contexts-and-engravers-1" href="Contexts-and-engravers.es.html#Contexts-and-engravers">3.3 Contexts and engravers</a>    </li>
    <li><a name="toc-Extending-the-templates-1" href="Extending-the-templates.es.html#Extending-the-templates">3.4 Extending the templates</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Tweaking-output-1" href="Tweaking-output.es.html#Tweaking-output">4. Tweaking output</a>
  <ul class="toc">
    <li><a name="toc-Tweaking-basics-1" href="Tweaking-basics.es.html#Tweaking-basics">4.1 Tweaking basics</a>    </li>
    <li><a name="toc-The-Internals-Reference-manual-1" href="The-Internals-Reference-manual.es.html#The-Internals-Reference-manual">4.2 The Internals Reference manual</a>    </li>
    <li><a name="toc-Appearance-of-objects-1" href="Appearance-of-objects.es.html#Appearance-of-objects">4.3 Appearance of objects</a>    </li>
    <li><a name="toc-Placement-of-objects-1" href="Placement-of-objects.es.html#Placement-of-objects">4.4 Placement of objects</a>    </li>
    <li><a name="toc-Collisions-of-objects-1" href="Collisions-of-objects.es.html#Collisions-of-objects">4.5 Collisions of objects</a>    </li>
    <li><a name="toc-Further-tweaking-1" href="Further-tweaking.es.html#Further-tweaking">4.6 Further tweaking</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Working-on-LilyPond-projects-1" href="Working-on-LilyPond-projects.es.html#Working-on-LilyPond-projects">5. Working on LilyPond projects</a>
  <ul class="toc">
    <li><a name="toc-Suggestions-for-writing-LilyPond-files-1" href="Suggestions-for-writing-LilyPond-files.es.html#Suggestions-for-writing-LilyPond-files">5.1 Suggestions for writing LilyPond files</a>    </li>
    <li><a name="toc-When-things-don_0027t-work-1" href="When-things-don_0027t-work.es.html#When-things-don_0027t-work">5.2 When things don&rsquo;t work</a>    </li>
    <li><a name="toc-Scores-and-parts-1" href="Scores-and-parts.es.html#Scores-and-parts">5.3 Scores and parts</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Templates-1" href="Templates.es.html#Templates">A. Templates</a>
  <ul class="toc">
    <li><a name="toc-Single-staff-1" href="Single-staff.es.html#Single-staff">A.1 Single staff</a>    </li>
    <li><a name="toc-Piano-templates-1" href="Piano-templates.es.html#Piano-templates">A.2 Piano templates</a>    </li>
    <li><a name="toc-String-quartet-2" href="String-quartet.es.html#String-quartet">A.3 String quartet</a>    </li>
    <li><a name="toc-Vocal-ensembles-1" href="Vocal-ensembles.es.html#Vocal-ensembles">A.4 Vocal ensembles</a>    </li>
    <li><a name="toc-Ancient-notation-templates-1" href="Ancient-notation-templates.es.html#Ancient-notation-templates">A.5 Ancient notation templates</a>    </li>
    <li><a name="toc-Jazz-combo-1" href="Jazz-combo.es.html#Jazz-combo">A.6 Jazz combo</a>    </li>
    <li><a name="toc-lilypond_002dbook-templates-1" href="lilypond_002dbook-templates.es.html#lilypond_002dbook-templates">A.7 lilypond-book templates</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Scheme-tutorial-1" href="Scheme-tutorial.es.html#Scheme-tutorial">B. Scheme tutorial</a>
  <ul class="toc">
    <li><a name="toc-Tweaking-with-Scheme-1" href="Tweaking-with-Scheme.es.html#Tweaking-with-Scheme">B.1 Tweaking with Scheme</a>    </li>
  </ul>
  </li>
  <li><a name="toc-GNU-Free-Documentation-License-1" href="GNU-Free-Documentation-License.es.html#GNU-Free-Documentation-License">C. GNU Free Documentation License</a>  </li>
  <li><a name="toc-LilyPond-index-1" href="LilyPond-index.es.html#LilyPond-index">D. LilyPond index</a>  </li>
</ul>
</div>
</div>

</body>
</html>