1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/es/
9 % DO NOT ALTER THIS PREAMBLE!!!
11 % This preamble is designed to ensure that the manual prints
12 % out as advertised. If you mess with this preamble,
13 % parts of the manual may not print out as expected. If you
14 % have problems LaTeXing this file, please contact
15 % the documentation team
16 % email: lyx-docs@lists.lyx.org
18 % the pages of the TOC are numbered roman
19 % and a PDF-bookmark for the TOC is added
21 \let\myTOC\tableofcontents
22 \renewcommand{\tableofcontents}{%
23 \pdfbookmark[1]{\contentsname}{}
26 \pagenumbering{arabic}}
28 % extra space for tables
29 \newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
31 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
32 \use_default_options false
40 \maintain_unincluded_children false
42 \language_package default
45 \font_roman "lmodern" "default"
46 \font_sans "lmss" "default"
47 \font_typewriter "lmtt" "default"
48 \font_math "auto" "auto"
49 \font_default_family default
50 \use_non_tex_fonts false
53 \font_sf_scale 100 100
54 \font_tt_scale 100 100
56 \use_dash_ligatures false
58 \default_output_format pdf2
60 \bibtex_command default
61 \index_command default
65 \pdf_title "Características adicionales de LyX"
66 \pdf_author "LyX Team"
67 \pdf_subject "Documentación Adicional LyX"
68 \pdf_keywords "LyX, Documentación, Adicional"
70 \pdf_bookmarksnumbered true
71 \pdf_bookmarksopen false
72 \pdf_bookmarksopenlevel 1
77 \pdf_pdfusetitle false
78 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
81 \use_package amsmath 1
82 \use_package amssymb 1
85 \use_package mathdots 1
86 \use_package mathtools 0
88 \use_package stackrel 0
89 \use_package stmaryrd 0
90 \use_package undertilde 0
92 \cite_engine_type default
96 \paperorientation portrait
101 \notefontcolor #0000ff
108 \paragraph_separation indent
109 \paragraph_indentation default
111 \math_indentation default
112 \math_numbering_side default
117 \paperpagestyle headings
118 \tracking_changes true
119 \output_changes false
123 \author 34634807 "Jean-Pierre"
129 Características adicionales de \SpecialChar LyX
133 \begin_layout Subtitle
135 \change_deleted 34634807 1499890754
137 \change_inserted 34634807 1499890754
144 por el Equipo \SpecialChar LyX
149 \begin_layout Plain Layout
151 El principal mantenedor de este archivo es
156 Si tienes correcciones o comentarios, envíalos, por favor, a la lista de
157 correo de Documentación de \SpecialChar LyX
159 \begin_inset Flex Code
162 \begin_layout Plain Layout
164 <lyx-docs@lists.lyx.org>
177 \begin_layout Standard
178 \begin_inset CommandInset toc
179 LatexCommand tableofcontents
186 \begin_layout Chapter
190 \begin_layout Standard
191 Este manual es esencialmente la Parte II de la
196 La segregación de este documento obedece a una sencilla razón: la
200 es muy extensa, y contiene todas las características básicas que uno necesita
201 conocer para preparar la mayoría de documentos.
202 Sin embargo, el Equipo \SpecialChar LyX
203 ha tenido siempre el objetivo de extender las caracterí
204 sticas del programa mediante diversos archivos de configuración y paquetes
206 Esto significa que si necesitas soporte para el paquete \SpecialChar LaTeX
211 , puedes crear un archivo de formato (o módulo) para él sin tener que alterar
212 el propio \SpecialChar LyX
214 Ya hemos hecho de esta manera contribuciones a varias características nuevas.
215 Este es el documento donde se explican todas estas cosas.
218 \begin_layout Standard
219 En este manual se describen también algunas características especiales como
220 soporte de fax, control de versiones y soporte para SGML, que requieren
221 software adicional para funcionar bien.
222 Por último hay un capítulo sobre herramientas y consejos de \SpecialChar LaTeX
224 para mejorar la presentación de los documentos usando directamente las
225 poderosas características de \SpecialChar LaTeX
227 Después de todo, \SpecialChar LyX
232 es WYSIWYM y siempre será solo una interfaz para algunas, no todas, característi
233 cas de \SpecialChar LaTeX
238 \begin_layout Standard
239 Si aún no has leído la
243 , no hay duda de que estás en el manual equivocado.
248 es el primer sitio al que acudir, porque ahí te remitimos al manual adecuado
249 y te explicamos los criterios y el formato de todos los manuales.
250 También deberías estar familiarizado con la
254 y con las características fundamentales de \SpecialChar LyX
259 \begin_layout Standard
260 Puesto que todos los temas tratados en este manual dependen estrechamente
261 de la interacción entre \SpecialChar LyX
263 , el siguiente capítulo trata sobre el trabajo
264 interno de \SpecialChar LyX
265 y la forma de usar \SpecialChar LyX
266 para generar exactamente el código \SpecialChar LaTeX
268 Obviamente, es para usuarios experimentados en \SpecialChar LyX
272 \begin_layout Chapter
278 \begin_layout Section
279 Uso de \SpecialChar LaTeX
284 \begin_layout Standard
285 Este capítulo es tanto para
286 \begin_inset Quotes cld
291 \begin_inset Quotes crd
294 como para curiosos de \SpecialChar LaTeX
296 En él explicaremos cómo trabajan juntos \SpecialChar LyX
298 para generar salida imprimible.
299 Este es el único manual en el que suponemos que sabes algo sobre \SpecialChar LaTeX
303 \begin_layout Standard
304 Una vez llamamos a \SpecialChar LyX
306 \begin_inset Quotes cld
309 interfaz WYSIWYM para \SpecialChar LaTeX
311 \begin_inset Quotes crd
314 , pero ya no es cierto.
315 Hay otros programas que también lo son.
319 \begin_layout Plain Layout
320 Algunos habituales son \SpecialChar TeX
321 maker y kile para Linux y \SpecialChar TeX
323 Están además los modos \SpecialChar LaTeX
324 de vi y emacs, por supuesto.
329 Básicamente son editores con la habilidad de ejecutar \SpecialChar LaTeX
331 en el archivo que se está editando.
332 Aunque \SpecialChar LyX
341 correr a \SpecialChar LaTeX
342 , y también marca los errores en el archivo, hace mucho, mucho
344 Gracias al concepto WYSIWYM, no necesitas \SpecialChar LaTeX
345 para usar \SpecialChar LyX
347 Además, \SpecialChar LyX
348 ha añadido algunas extensiones a \SpecialChar LaTeX
350 Prueba esto en alguna ocasión: selecciona
351 \begin_inset Flex Noun
354 \begin_layout Plain Layout
355 Exportar\SpecialChar menuseparator
366 \begin_inset Flex Noun
369 \begin_layout Plain Layout
376 \begin_inset Flex Noun
379 \begin_layout Plain Layout
380 Ver\SpecialChar menuseparator
381 Panel de código fuente
386 ), y luego mira el preámbulo del archivo
391 \begin_inset Flex Code
394 \begin_layout Plain Layout
405 Observarás una serie de macros nuevas definidas específicamente por \SpecialChar LyX
407 Estas macros se definen automáticamente, de acuerdo con las características
408 elegidas para el documento.
411 \begin_layout Standard
412 Hay varios comandos que ejecutan \SpecialChar LaTeX
417 \begin_layout Itemize
418 \begin_inset Flex Noun
421 \begin_layout Plain Layout
424 Documento\SpecialChar menuseparator
433 \begin_layout Itemize
434 \begin_inset Flex Noun
437 \begin_layout Plain Layout
440 Documento\SpecialChar menuseparator
453 \begin_layout Standard
454 Solo llaman a \SpecialChar LaTeX
455 si el archivo ha cambiado desde la última vez que se ejecutó.
459 \begin_layout Standard
460 Cuando \SpecialChar LyX
461 ejecuta \SpecialChar LaTeX
462 sobre el archivo que estás editando, lleva a cabo los siguiente
466 \begin_layout Enumerate
467 Convierte el documento a \SpecialChar LaTeX
468 y guarda un archivo con extensión
469 \begin_inset Flex Code
472 \begin_layout Plain Layout
483 \begin_layout Enumerate
494 \begin_inset Flex Code
497 \begin_layout Plain Layout
509 (quizá varias veces) y cualesquiera otros comandos (como
510 \begin_inset Flex Code
513 \begin_layout Plain Layout
520 \begin_inset Flex Code
523 \begin_layout Plain Layout
529 ) necesarios para compilar el archivo.
532 \begin_layout Enumerate
533 Si hay errores, muestra el registro de errores.
536 \begin_layout Standard
537 Si has ejecutado \SpecialChar LaTeX
543 \begin_inset Flex Noun
546 \begin_layout Plain Layout
559 ejecuta un visor DVI para mostrar la salida.
565 \begin_inset Flex Noun
568 \begin_layout Plain Layout
584 \begin_layout Itemize
589 para convertir el archivo DVI a PostScript.
592 \begin_layout Itemize
593 Ejecuta un visor PostScript, como
596 \begin_inset Flex Code
599 \begin_layout Plain Layout
609 para mostrar la salida.
612 \begin_layout Standard
614 procede de forma parecida cuando ves o exportas otros formatos.
617 \begin_layout Section
618 Convertir archivos \SpecialChar LaTeX
623 \begin_layout Standard
624 Puedes importar un archivo \SpecialChar LaTeX
629 \begin_inset Flex Noun
632 \begin_layout Plain Layout
635 Archivo\SpecialChar menuseparator
636 Importar\SpecialChar menuseparator
645 Esto llamará al programa llamado
646 \begin_inset Flex Code
649 \begin_layout Plain Layout
655 que generará un archivo
656 \begin_inset Flex Code
659 \begin_layout Plain Layout
666 \begin_inset Flex Code
669 \begin_layout Plain Layout
679 \begin_layout Plain Layout
680 \begin_inset Flex Code
683 \begin_layout Plain Layout
689 también se puede ejecutar en línea de comandos, por supuesto.
697 \begin_layout Standard
698 \begin_inset Flex Code
701 \begin_layout Plain Layout
707 traducirá casi todo el \SpecialChar LaTeX
709 Dejará en código \SpecialChar TeX
710 cosas que no comprende, así que después de importar un
712 \begin_inset Flex Code
715 \begin_layout Plain Layout
723 , puedes buscar texto en rojo y editarlo a mano para que funcione bien.
726 \begin_layout Standard
727 Si no sabes qué es código \SpecialChar TeX
728 lee la sección siguiente.
731 \begin_layout Section
732 Insertar código \SpecialChar TeX
733 en documentos \SpecialChar LyX
735 \begin_inset CommandInset label
737 name "sec:Insertar-Código-TeX"
744 \begin_layout Standard
745 Todo lo que se puede hacer en \SpecialChar LaTeX
746 se puede hacer en \SpecialChar LyX
747 , por una razón muy simple:
748 en cualquier momento puedes insertar código \SpecialChar LaTeX
749 en un documento \SpecialChar LyX
752 no puede, y nunca podrá, mostrar cada una de las posibles estructuras
753 de \SpecialChar LaTeX
755 Si necesitas incluir comandos \SpecialChar LaTeX
756 en tu documento, puedes usar los marcos
758 \begin_inset Flex Code
761 \begin_layout Plain Layout
762 código \SpecialChar TeX
769 \begin_inset Flex Noun
772 \begin_layout Plain Layout
775 Insertar\SpecialChar menuseparator
784 \begin_layout Standard
785 Aquí hay un ejemplo de inserción de comandos \SpecialChar LaTeX
786 en un documento \SpecialChar LyX
791 \begin_layout LyX-Code
795 \begin_inset Newline newline
801 \begin_inset Newline newline
804 Este es un ejemplo para un entorno minipágina.
806 \begin_inset Newline newline
809 puedes poner prácticamente todo, incluso figuras y
810 \begin_inset Newline newline
813 cuadros (no flotantes).
815 \begin_inset Newline newline
821 \begin_inset Newline newline
825 \begin_inset Newline newline
831 \begin_inset Newline newline
837 \begin_inset Newline newline
843 \begin_inset Newline newline
848 \begin_inset Newline newline
854 \begin_inset Newline newline
860 \begin_inset Newline newline
866 \begin_inset Newline newline
874 \begin_layout Standard
876 \begin_inset Flex Code
879 \begin_layout Plain Layout
880 código \SpecialChar TeX
886 que contiene ese texto está tras este párrafo.
887 Si estás leyendo este manual en \SpecialChar LyX
888 solo verás el código insertado en rojo.
889 Si estás leyendo una versión impresa verás los resultados reales:
890 \begin_inset Newline newline
896 \begin_layout Standard
900 \begin_layout Plain Layout
907 \begin_layout Plain Layout
914 \begin_layout Plain Layout
916 Este es un ejemplo para un entorno minipágina.
917 En él puedes poner prácticamente todo, incluso figuras y cuadros (no flotantes).
920 \begin_layout Plain Layout
927 \begin_layout Plain Layout
932 \begin_layout Plain Layout
939 \begin_layout Plain Layout
946 \begin_layout Plain Layout
953 \begin_layout Plain Layout
959 \begin_layout Plain Layout
966 \begin_layout Plain Layout
973 \begin_layout Plain Layout
980 \begin_layout Plain Layout
990 \begin_inset Newline newline
996 \begin_layout Standard
997 Además de estos métodos,
1001 también puedes crear un archivo separado con estructuras de \SpecialChar LaTeX
1003 usar después el menú
1008 \begin_inset Flex Noun
1011 \begin_layout Plain Layout
1018 \SpecialChar menuseparator
1019 Archivo\SpecialChar menuseparator
1021 \begin_inset space ~
1033 para incluir ese archivo (deberías seleccionar el tipo
1036 \begin_inset Flex Code
1039 \begin_layout Plain Layout
1050 Recomendamos hacer esto solo si dispones de un archivo
1053 \begin_inset Flex Code
1056 \begin_layout Plain Layout
1071 Si no, te espera una ardua tarea rastreando errores de \SpecialChar LaTeX
1076 \begin_layout Standard
1077 Hay unas últimas observaciones que hacer:
1080 \begin_layout Itemize
1086 comprueba si el código \SpecialChar LaTeX
1090 \begin_layout Itemize
1091 Abstente de reinventar la rueda.
1094 \begin_layout Standard
1095 Respecto al último punto, \SpecialChar LyX
1096 tiene bastantes características incorporadas,
1098 Asegúrate de explorar los manuales para convencerte de que \SpecialChar LyX
1100 de tal o cual función antes de hacerlo a mano.
1101 Además, hay por ahí multitud de paquetes \SpecialChar LaTeX
1102 para hacer toda clase de cosas,
1103 desde etiquetas o sobres a fantásticos cuadros multipágina.
1105 \begin_inset CommandInset href
1108 target "http://www.ctan.org/"
1116 \begin_layout Standard
1117 Si necesitas hacer algunas cosas fantásticas en tu documento, asegúrate
1118 de investigar en un buen libro sobre \SpecialChar LaTeX
1120 Hay unos cuantos de ellos recogidos en la bibliografía de la
1127 \begin_layout Section
1129 y el Preámbulo \SpecialChar LaTeX
1133 \begin_layout Subsection
1134 Sobre el preámbulo \SpecialChar LaTeX
1138 \begin_layout Standard
1139 Si conoces \SpecialChar LaTeX
1140 , no es necesario explicar para qué sirve el preámbulo.
1141 Si no lo sabes, lo que sigue te dará algunas ideas —de nuevo recomendamos
1142 consultar un libro sobre \SpecialChar LaTeX
1143 para información adicional—.
1144 En cualquier caso, deberías leer los puntos siguientes porque detallan
1145 lo que puedes hacer y lo que no necesitas hacer en el preámbulo \SpecialChar LaTeX
1147 documento \SpecialChar LyX
1151 \begin_layout Standard
1152 El preámbulo \SpecialChar LaTeX
1153 se encuentra en el principio de un documento,
1161 \begin_layout Itemize
1162 Declarar la clase de documento.
1163 \begin_inset Newline newline
1169 \begin_inset Quotes cld
1174 \begin_inset Quotes crd
1177 , y dispones de alguna clase personalizada de documento que deseas usar,
1178 busca información sobre cómo incluirlo en \SpecialChar LyX
1187 \begin_layout Itemize
1188 Declarar el empleo de paquetes.
1189 \begin_inset Newline newline
1192 Los paquetes \SpecialChar LaTeX
1193 suministran comandos especiales, que solo estarán disponibles
1194 para su uso si el paquete correspondiente se ha declarado en el preámbulo.
1195 Por ejemplo, el paquete
1198 \begin_inset Flex Code
1201 \begin_layout Plain Layout
1211 fuerza el sangrado en todos los párrafos.
1212 Hay otros paquetes para etiquetas, sobres, márgenes, etc.
1215 \begin_layout Itemize
1216 Configurar contadores, variables, longitudes y anchuras.
1217 \begin_inset Newline newline
1220 Hay varios contadores \SpecialChar LaTeX
1225 configurarse globalmente desde dentro del preámbulo para conseguir el efecto
1227 (Hay otras variables que se pueden configurar y reiniciar dentro del documento).
1228 Los márgenes son un buen ejemplo de algo que debe configurarse en el preámbulo.
1229 Otro ejemplo es el formato de las etiquetas para las listas.
1230 En realidad, puedes configurarlas donde quieras, pero es mejor hacerlo
1231 de una vez en el preámbulo.
1234 \begin_layout Itemize
1235 Declarar comandos definidos por el usuario (con
1238 \begin_inset Flex Code
1241 \begin_layout Plain Layout
1256 \begin_inset Flex Code
1259 \begin_layout Plain Layout
1272 \begin_inset Newline newline
1275 Son generalmente abreviaturas para comandos \SpecialChar LaTeX
1276 que aparecen muy a menudo en
1278 Aunque el preámbulo es un buen sitio para declarar dichos comandos,
1282 ser definidos en cualquier sitio (por supuesto,
1286 de que se vayan a usar por vez primera).
1287 Esto puede ser útil si hay demasiado código \SpecialChar LaTeX
1288 en el documento, lo que normalment
1289 e no debería suceder.
1292 \begin_layout Standard
1294 añade su propio conjunto de definiciones al preámbulo del archivo
1297 \begin_inset Flex Code
1300 \begin_layout Plain Layout
1311 Esto hace que los archivos \SpecialChar LaTeX
1312 generados por \SpecialChar LyX
1316 \begin_layout Subsection
1317 Cambiar el preámbulo
1320 \begin_layout Standard
1321 Los comandos que \SpecialChar LyX
1322 añade al preámbulo de un archivo \SpecialChar LaTeX
1323 son fijos; no puedes
1324 cambiarlos sin parchear el propio \SpecialChar LyX
1326 Sin embargo, puedes añadir tus cosas al preámbulo seleccionando
1329 \begin_inset Flex Noun
1332 \begin_layout Plain Layout
1336 \begin_inset space ~
1348 \begin_inset Flex Noun
1351 \begin_layout Plain Layout
1356 o\SpecialChar menuseparator
1366 añade todo lo del diálogo a su propio preámbulo incorporado.
1367 Antes de añadir tus declaraciones en el preámbulo, deberías verificar que
1369 no dispone ya de soporte para lo que quieres hacer.
1370 (¿Recuerdas lo que dijimos respecto a reinventar la rueda?) Además,
1372 asegúrate de que el código del preámbulo es correcto
1380 no comprueba esto por ti.
1381 Si hay un error, probablemente obtendrás un mensaje como
1382 \begin_inset Quotes cld
1386 \begin_inset Flex Code
1389 \begin_layout Plain Layout
1398 \begin_inset Quotes crd
1402 Si ves este error comprueba tu preámbulo.
1405 \begin_layout Subsection
1409 \begin_layout Standard
1410 Aquí tenemos algunos ejemplos de lo que puedes añadir a un preámbulo y del
1414 \begin_layout Subsubsection
1415 Ejemplo 1: Ajustes del área de impresión
1418 \begin_layout Standard
1419 Hay dos variables en \SpecialChar LaTeX
1423 \begin_inset Flex Code
1426 \begin_layout Plain Layout
1441 \begin_inset Flex Code
1444 \begin_layout Plain Layout
1456 , que controlan la composición de la página, es decir, el desplazamiento
1457 horizontal y vertical del área de impresión.
1458 Estas variables son útiles para casos como, por ejemplo, la impresión de
1460 A veces, el tamaño de un soporte de impresión y el área realmente imprimible
1462 Entonces intervienen
1465 \begin_inset Flex Code
1468 \begin_layout Plain Layout
1483 \begin_inset Flex Code
1486 \begin_layout Plain Layout
1502 \begin_layout Standard
1507 valor predeterminado para
1510 \begin_inset Flex Code
1513 \begin_layout Plain Layout
1528 \begin_inset Flex Code
1531 \begin_layout Plain Layout
1544 \begin_inset space \thinspace{}
1547 pt., no cambia la composición de la página.
1548 Desafortunadamente, algunos controladores DVI siempre parecen alterar la
1550 No tenemos ni idea de la causa de esto ni de por qué el administrador del
1551 sistema no lo arregla.
1552 Si estás usando \SpecialChar LyX
1553 en un sistema que no administras personalmente y el responsabl
1557 \begin_inset Flex Code
1560 \begin_layout Plain Layout
1577 \begin_inset Flex Code
1580 \begin_layout Plain Layout
1592 pueden salvar el día.
1593 Supongamos que los márgenes superior e izquierdo siempre son 0.5
1594 \begin_inset space \thinspace{}
1597 in (pulgadas) demasiado grandes.
1598 Puedes añadir lo siguiente al preámbulo:
1601 \begin_layout LyX-Code
1609 \begin_layout LyX-Code
1617 \begin_layout Standard
1618 ahora los márgenes deberían ser correctos.
1621 \begin_layout Subsubsection
1622 Ejemplo 2: Etiquetas
1625 \begin_layout Standard
1626 Supongamos que quieres imprimir un puñado de etiquetas para direcciones.
1627 Hay un paquete estupendo disponible en CTAN, llamado
1630 \begin_inset Flex Code
1633 \begin_layout Plain Layout
1643 para imprimir hojas con etiquetas.
1644 Es posible que tu sistema no disponga de este paquete, compruébalo.
1645 Necesitarás también leer su documentación, porque nosotros no te lo vamos
1646 a explicar, pero sí te daremos un ejemplo de su empleo.
1649 \begin_layout Standard
1650 Primero, comprueba que estás utilizando la clase de documento
1653 \begin_inset Flex Code
1656 \begin_layout Plain Layout
1667 Después, debes poner en el preámbulo lo siguiente:
1670 \begin_layout LyX-Code
1676 \begin_layout LyX-Code
1682 \begin_layout LyX-Code
1688 \begin_layout LyX-Code
1694 \begin_layout LyX-Code
1700 \begin_layout LyX-Code
1706 \begin_layout LyX-Code
1712 \begin_layout Standard
1713 Esta es la configuración para hojas de etiquetas Avery, stock #5360.
1714 Ahora estás preparado para imprimirlas, pero necesitarás insertar código
1716 , poniendo los comandos
1719 \begin_inset Flex Code
1722 \begin_layout Plain Layout
1737 \begin_inset Flex Code
1740 \begin_layout Plain Layout
1752 antes y después, respectivamente, del texto de cada etiqueta.
1753 Esto y otras características de
1757 se explican en su documentación.
1761 \begin_layout Standard
1762 Algún día, alguien escribirá un archivo de formato (
1765 \begin_inset Flex Code
1768 \begin_layout Plain Layout
1778 ) para soportar directamente este paquete en \SpecialChar LyX
1780 Puede que ese alguien seas tú.
1783 \begin_layout Subsubsection
1784 Ejemplo 3: Sangrado de párrafos
1787 \begin_layout Standard
1788 Los americanos están acostumbrados a sangrar la primera línea de
1796 \begin_layout Plain Layout
1797 Por omisión, el estilo
1801 también sangra la primera línea de todos los párrafos.
1802 Se puede cambiar con el comando
1808 spanishoptions{es-noindentfirst}
1819 funcionan si se usa soporte
1838 Igual que con otras de sus peculiares manías, casi todos ellos se lamentarán
1839 y gimotearán hasta que no consigan hacerlo a su manera y puedan sangrar
1840 la primera línea de todos los párrafos.
1841 (Sí, estamos de guasa.
1842 ¿Lo estamos? ¡Oh, yes!)
1845 \begin_layout Standard
1846 Por supuesto, este ajuste no es el estándar en tipografía.
1847 En los libros, habitualmente solo se sangra la primera línea de un párrafo
1853 La idea que subyace tras el hecho de sangrar la primera línea de un párrafo
1854 es distinguir entre párrafos vecinos.
1855 Si no hay párrafo previo, porque sigue a una figura, por ejemplo, o es
1856 el primer párrafo de una sección, entonces no tiene sentido el sangrado.
1859 \begin_layout Standard
1860 Si eres un típico americano (¡otra vez de guasa!), no obstante, no te preocupes
1861 por estos esotéricos asuntos; ¡quieres tu sangrado! Pues añade esto al
1865 \begin_layout LyX-Code
1868 usepackage{indentfirst}
1871 \begin_layout Standard
1872 Si tu distribución de \SpecialChar TeX
1873 no está descerebrada, tendrás este paquete, y todos
1874 tus párrafos tendrán el sangrado que los Padres Fundadores pretenden que
1878 \begin_layout Subsubsection
1879 Ejemplo 4: Este documento
1882 \begin_layout Standard
1883 Puedes explorar el preámbulo de este documento para hacerte una idea de
1884 algunas de las cosas avanzadas que se pueden hacer.
1888 \begin_layout Section
1890 y errores de \SpecialChar LaTeX
1894 \begin_layout Standard
1895 Cuando \SpecialChar LyX
1896 llama a \SpecialChar LaTeX
1897 , le indica que ignore alegremente los errores y que siga
1899 Después de la ejecución de \SpecialChar LaTeX
1900 se genera un informe
1901 \begin_inset Quotes cld
1905 \begin_inset Quotes crd
1909 Tras analizarlo, \SpecialChar LyX
1910 muestra una ventana con la lista de errores.
1911 Pulsando sobre cualquiera de ellos el cursor se desplazará al lugar del
1912 archivo donde está el error.
1916 \begin_layout Plain Layout
1918 El análisis del archivo log es una dura tarea, y \SpecialChar LyX
1919 no siempre acierta con
1921 Además hay casos en que \SpecialChar LaTeX
1922 informa del error en una línea, pero el error
1923 preciso es anterior.
1924 Esto no es como olvidar una llave de cierre en un programa; obtendrás error
1933 \begin_layout Standard
1934 A algunos les gusta mirar directamente en el archivo
1938 , que es accesible con el menú
1941 \begin_inset Flex Noun
1944 \begin_layout Plain Layout
1951 \SpecialChar menuseparator
1953 \begin_inset space ~
1957 \begin_inset space ~
1968 Hay algunos mensajes de error y alertas que son frecuentes.
1969 Los trataremos a continuación.
1970 Encontrarás una lista completa en un buen libro de \SpecialChar LaTeX
1975 \begin_layout Itemize
1978 \begin_inset Flex Code
1981 \begin_layout Plain Layout
1992 \begin_inset Newline newline
1995 Todo lo que comience con estas palabras es un mensaje de alerta con el propósito
1997 \begin_inset Quotes cld
2001 \begin_inset Quotes crd
2004 el propio código \SpecialChar LaTeX
2006 Tendrás avisos como este si añades o cambias referencias cruzadas o entradas
2007 de bibliografía, en cuyo caso \SpecialChar LaTeX
2008 intenta decirte que debes ejecutarlo de
2010 En general los puedes ignorar.
2013 \begin_layout Itemize
2016 \begin_inset Flex Code
2019 \begin_layout Plain Layout
2030 \begin_inset Newline newline
2033 Otro mensaje de aviso, esta vez sobre tipografías que \SpecialChar LaTeX
2035 El resto del mensaje dirá algo sobre reemplazo de tipografías que ha hecho
2038 Puedes ignorarlos sin problema.
2041 \begin_layout Itemize
2044 \begin_inset Flex Code
2047 \begin_layout Plain Layout
2060 \begin_inset Newline newline
2063 A \SpecialChar LaTeX
2069 Te avisa de líneas que son demasiado largas y sobrepasan el margen derecho.
2070 Casi siempre será inapreciable en la salida (suele ser solo uno o dos puntos).
2071 O solo uno o dos caracteres sobrepasan el margen.
2073 parece generar al menos uno de estos mensajes en cada documento que procesa.
2074 \begin_inset Newline newline
2077 Puedes ignorar estos estúpidos mensajes.
2078 Tus ojos verán si hay algún problema con algo excesivamente ancho; solo
2079 mira el documento de salida.
2083 \begin_layout Plain Layout
2084 También puedes activar la opción 'draft' en
2086 Documento\SpecialChar menuseparator
2089 , y entonces \SpecialChar LaTeX
2090 dibujará un marco negro en el margen de las líneas sobrecargadas.
2098 \begin_layout Itemize
2101 \begin_inset Flex Code
2104 \begin_layout Plain Layout
2117 \begin_inset Newline newline
2120 No tan común como su primo.
2121 Parece que a \SpecialChar LaTeX
2122 le encanta imprimir líneas que son un poco demasiado anchas
2123 como contrapartida a las que son un poco demasiado estrechas.
2124 No tenemos ni idea del porqué.
2128 \begin_layout Itemize
2131 \begin_inset Flex Code
2134 \begin_layout Plain Layout
2149 \begin_inset Flex Code
2152 \begin_layout Plain Layout
2165 \begin_inset Newline newline
2168 Avisos sobre problemas
2173 Una vez más, comprueba la salida para ver si algo ha ido mal.
2176 \begin_layout Itemize
2179 \begin_inset Flex Code
2182 \begin_layout Plain Layout
2186 \begin_inset Quotes els
2190 \begin_inset Quotes ers
2201 \begin_inset Newline newline
2205 \begin_inset Quotes cld
2209 \begin_inset Quotes crd
2212 no está instalado en el sistema.
2213 Generalmente esto aparece porque algún paquete requerido por el documento
2215 Si no has tocado el preámbulo o no has usado el comando
2218 \begin_inset Flex Code
2221 \begin_layout Plain Layout
2233 , entonces alguno de los paquetes que \SpecialChar LyX
2234 ha de cargar se ha perdido.
2238 \begin_inset Flex Noun
2241 \begin_layout Plain Layout
2244 Ayuda\SpecialChar menuseparator
2248 \begin_inset space ~
2254 \begin_inset space ~
2264 para obtener una lista de los paquetes reconocidos por \SpecialChar LyX
2266 Este archivo se actualiza cada vez que reconfiguras \SpecialChar LyX
2270 \begin_inset Flex Noun
2273 \begin_layout Plain Layout
2276 Herramientas\SpecialChar menuseparator
2284 ) y te informa de los paquetes que han sido detectados y de lo que hacen.
2285 \begin_inset Newline newline
2288 Si has utilizado el comando
2291 \begin_inset Flex Code
2294 \begin_layout Plain Layout
2306 pero el paquete en cuestión no está instalado, deberás instalarlo.
2312 \begin_layout Itemize
2315 \begin_inset Flex Code
2318 \begin_layout Plain Layout
2321 LaTeX Error: Unknown option
2329 \begin_inset Newline newline
2332 Los mensajes de error que comienzan así te informan de que has especificado
2333 una opción errónea o no definida en algún paquete.
2334 Consulta la documentación del paquete.
2337 \begin_layout Itemize
2340 \begin_inset Flex Code
2343 \begin_layout Plain Layout
2344 Undefined control sequence
2352 \begin_inset Newline newline
2355 Si has insertado código \SpecialChar LaTeX
2356 con errores de tipografía tendrás un aviso de estos.
2357 También puedes haber olvidado cargar un paquete.
2358 En todo caso, este aviso suele indicar el uso de un comando no definido
2362 \begin_layout Standard
2363 Hay otros mensajes de aviso y de error.
2364 Algunos se explican por sí mismos.
2365 Estos son generalmente mensajes de \SpecialChar LaTeX
2367 Otros son francamente crípticos.
2368 Estos realmente son mensajes de error de \SpecialChar TeX
2369 , y no tenemos pistas sobre su
2370 significado o sobre cómo descifrarlos.
2374 \begin_layout Standard
2375 Si recibes mensajes de error, deberías seguir la siguiente secuencia general:
2378 \begin_layout Enumerate
2379 Revisa el código \SpecialChar LaTeX
2380 que hayas insertado y busca errores tipográficos.
2383 \begin_layout Enumerate
2384 Si no los hay, comprueba que has usado correctamente el (los) comando(s).
2387 \begin_layout Enumerate
2388 Si observas un puñado de cuadros de error amontonados muy al principio del
2389 documento, —especialmente si ves un
2390 \begin_inset Quotes cld
2394 \begin_inset Flex Code
2397 \begin_layout Plain Layout
2406 \begin_inset Quotes crd
2409 — significa que los errores están en el preámbulo.
2410 Empieza por depurar el preámbulo.
2413 \begin_layout Enumerate
2414 Si no has añadido nada al preámbulo ni has añadido código \SpecialChar LaTeX
2415 , la primera sospecha
2416 recae en tu propia distribución de \SpecialChar LaTeX
2418 Comprueba si faltan paquetes e instálalos.
2421 \begin_layout Enumerate
2422 De acuerdo, no faltan paquetes.
2423 ¿Has utilizado alguna de las opciones de ajuste fino de \SpecialChar LyX
2425 ¿has hecho un mal uso de alguna de ellas, como insertar manualmente montones
2429 \begin_inset Flex Code
2432 \begin_layout Plain Layout
2438 \begin_inset space ~
2449 \begin_inset Flex Code
2452 \begin_layout Plain Layout
2458 \begin_inset space ~
2466 \begin_inset space ~
2481 \begin_inset Flex Code
2484 \begin_layout Plain Layout
2490 \begin_inset space ~
2498 \begin_inset space ~
2510 ? ¿Has intentado juntar cosas con ellos en vez de usar el entorno de párrafo
2514 \begin_layout Enumerate
2515 Todo es correcto, no has utilizado ninguna de las opciones de ajuste fino,
2516 y has cumplido las reglas.
2517 ¿Has intentado hacer una fantástica maniobra? ¿Quizá has hecho algo
2521 en una ecuación o en un cuadro, como insertar un gráfico en una celda?
2525 \begin_layout Enumerate
2526 ¿Tienes largas piezas de texto en las que \SpecialChar LaTeX
2527 no encuentra dónde quebrar una
2528 línea? Por omisión, \SpecialChar LaTeX
2529 es más bien estricto en relación al espacio extra
2530 entre palabras que añadirá para romper una línea.
2531 Preferiblemente, deberías rehacer el párrafo para evitar el problema.
2534 \begin_layout Enumerate
2535 ¿Te has pasado con la anidación? \SpecialChar LyX
2536 , actualmente, no comprueba si estás dentro
2537 de los límites para los entornos anidables.
2538 Si anidas un puñado de entornos hasta el nivel 17, ahí está el problema.
2539 (El límite en \SpecialChar LaTeX
2543 \begin_layout Enumerate
2544 Vale, no recibes ningún mensaje de error, pero la salida es horrorosa.
2545 Si tienes un cuadro o una figura demasiado anchos o largos para la página,
2550 \begin_layout Enumerate
2551 ajustar el tamaño de la figura a la página.
2554 \begin_layout Enumerate
2555 ajustar el cuadro para que quepa.
2559 \begin_layout Enumerate
2560 Si la salida sigue dando problemas, y no has probado nada raro ni has empleado
2561 mal opciones de ajuste fino, no estamos seguros de lo que está equivocado.
2564 \begin_layout Standard
2565 Si todo esto no ayuda, bueno,
2573 (fallo) en \SpecialChar LyX
2578 \begin_layout Chapter
2579 Herramientas suplementarias
2582 \begin_layout Section
2583 Personalizar bibliografías con Bib\SpecialChar TeX
2585 \change_inserted 34634807 1499889171
2593 \begin_layout Standard
2594 Los fundamentos del uso de Bib\SpecialChar TeX
2596 \change_inserted 34634807 1499889180
2606 se explican en la sección
2608 Bases de datos bibliográficos
2609 \change_deleted 34634807 1499889185
2610 (Bib\SpecialChar TeX
2620 Las siguientes subsecciones describen características especiales de bibliografí
2621 a soportadas por \SpecialChar LyX
2625 \begin_layout Subsection
2626 Estilos alternativos de cita
2629 \begin_layout Standard
2630 El estilo normal de Bib\SpecialChar TeX
2632 \begin_inset space \thinspace{}
2636 \begin_inset space \space{}
2640 \begin_inset Quotes cld
2644 \begin_inset Quotes crd
2647 ) para referir una cita bibliográfica.
2648 Sin embargo, en muchas disciplinas científicas se emplean otros estilos.
2649 El más común es el estilo autor-año (p.
2650 \begin_inset space \thinspace{}
2654 \begin_inset space \space{}
2658 \begin_inset Quotes cld
2662 \begin_inset Quotes crd
2668 \change_deleted 34634807 1499889201
2670 \change_inserted 34634807 1499889203
2673 paquetes que suministra este estilo,
2674 \change_inserted 34634807 1499889217
2678 \begin_inset Flex Code
2681 \begin_layout Plain Layout
2683 \change_inserted 34634807 1499889217
2698 \begin_inset Flex Code
2701 \begin_layout Plain Layout
2714 \begin_inset Flex Code
2717 \begin_layout Plain Layout
2729 \change_deleted 34634807 1499889233
2731 \change_inserted 34634807 1499889230
2739 \change_deleted 34634807 1499889259
2741 \change_inserted 34634807 1499889291
2748 sus pros y sus contras, que no podemos detallar aquí.
2749 Si solo necesitas un estilo sencillo autor-año (o numérico)
2757 emplear un archivo de estilo sin contador, probablemente tu elección debería
2761 \begin_inset Flex Code
2764 \begin_layout Plain Layout
2776 \change_deleted 34634807 1499889335
2777 Si necesitas características especiales como referencias con título breve,
2779 \change_inserted 34634807 1499889342
2782 If you look for specific citation styles common in law studies
2786 deberías considerar el nuevo paquete
2789 \begin_inset Flex Code
2792 \begin_layout Plain Layout
2804 \change_inserted 34634807 1499889355
2807 If you want to have full control over the formatting or look for advanced
2808 features such as ibidem, footnote citations, full title citations, advanced
2809 date formats (such as 400 BC) or full localization to other languages than
2810 English, you should definitely consider
2811 \begin_inset Flex Code
2814 \begin_layout Plain Layout
2816 \change_inserted 34634807 1499889355
2824 , which exceeds all other packages in terms of features, but is also quite
2825 heavy and more resource-hungry.
2830 \begin_layout Standard
2832 \change_deleted 34634807 1499889371
2834 \change_inserted 34634807 1499889368
2841 paquetes es básicamente el mismo.
2845 \begin_inset Flex Noun
2848 \begin_layout Plain Layout
2851 Documento\SpecialChar menuseparator
2863 y selecciona en el panel
2864 \begin_inset Flex Noun
2867 \begin_layout Plain Layout
2876 \change_deleted 34634807 1499889397
2880 \begin_inset Flex Noun
2883 \begin_layout Plain Layout
2885 \change_inserted 34634807 1499889413
2888 \begin_inset Flex Noun
2891 \begin_layout Plain Layout
2893 \change_inserted 34634807 1499889410
2902 \begin_inset Flex Noun
2905 \begin_layout Plain Layout
2907 \change_inserted 34634807 1499889410
2916 \begin_inset Flex Noun
2919 \begin_layout Plain Layout
2921 \change_inserted 34634807 1499889410
2924 Biblatex (Natbib mode)
2935 \change_inserted 34634807 1499889418
2949 \begin_inset Flex Noun
2952 \begin_layout Plain Layout
2956 \change_inserted 34634807 1499889432
2968 \change_inserted 34634807 1499889446
2973 \begin_inset space ~
2976 6.5.3 in the User's Guide for more information on these choices)
2982 \change_deleted 34634807 1499889452
2984 \change_inserted 34634807 1499889458
2991 paquetes dispondrás de algunas características extras en el diálogo y podrás
2992 elegir el estilo de las citas (
2993 \begin_inset Quotes cld
2997 \begin_inset Quotes crd
3001 \begin_inset Quotes cld
3005 \begin_inset Quotes crd
3009 \begin_inset Quotes cld
3013 \begin_inset Quotes crd
3017 \begin_inset Quotes cld
3021 \begin_inset Quotes crd
3025 Ten en cuenta que los
3026 \change_deleted 34634807 1499889480
3028 \change_inserted 34634807 1499889487
3036 \change_deleted 34634807 1499889496
3039 necesitan archivos de estilo específicamente diseñados (
3040 \change_deleted 34634807 1499889523
3042 \change_inserted 34634807 1499889526
3045 incluyen el suyo propio, pero hay muchos otros archivos de estilo disponibles
3046 e incluso un programa interactivo
3050 \begin_layout Plain Layout
3052 \begin_inset Flex URL
3055 \begin_layout Plain Layout
3057 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/custom-bib/
3067 para confeccionar estilos para
3074 \begin_layout Subsection
3076 \change_inserted 34634807 1499889539
3084 \change_deleted 34634807 1499889545
3090 \begin_layout Standard
3091 En ocasiones, es posible que necesites dividir la bibliografía en secciones.
3092 Por ejemplo, si eres un historiador, la posibilidad de separar fuentes
3093 y trabajos científicos es probablemente un imperativo.
3094 Desafortunadamente, Bib\SpecialChar TeX
3095 no permite hacer esto por sí solo.
3096 Pero la buena noticia es que, con la ayuda de ciertos paquetes \SpecialChar LaTeX
3097 , Bib\SpecialChar TeX
3099 ampliar su cometido para conseguirlo.
3102 \begin_layout Standard
3104 provee soporte nativo para uno de estos paquetes,
3107 \begin_inset Flex Code
3110 \begin_layout Plain Layout
3124 \begin_layout Plain Layout
3126 \begin_inset Flex URL
3129 \begin_layout Plain Layout
3131 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/bibtopic/
3141 La ventaja de este paquete (comparado con otros como
3144 \begin_inset Flex Code
3147 \begin_layout Plain Layout
3157 ) es que no necesitas definir nuevos comandos de cita.
3158 Lo que tienes que hacer es preparar diferentes bases de datos bibliográficos
3159 que incluyen las entradas para las distintas secciones de la bibliografía.
3160 Por ejemplo: si quieres dividir tu bibliografía en las secciones
3161 \begin_inset Quotes cld
3165 \begin_inset Quotes crd
3169 \begin_inset Quotes cld
3172 Trabajos científicos
3173 \begin_inset Quotes crd
3176 , primero debes crear dos bases de datos, p.
3177 \begin_inset space \thinspace{}
3181 \begin_inset space ~
3187 \begin_inset Flex Code
3190 \begin_layout Plain Layout
3203 \begin_inset Flex Code
3206 \begin_layout Plain Layout
3219 \begin_layout Standard
3223 \begin_inset Flex Noun
3226 \begin_layout Plain Layout
3229 Documento\SpecialChar menuseparator
3237 y selecciona en el panel
3240 \begin_inset Flex Noun
3243 \begin_layout Plain Layout
3256 \begin_inset Flex Noun
3259 \begin_layout Plain Layout
3261 \change_inserted 34634807 1499889591
3264 Subdivided bibliography
3265 \change_deleted 34634807 1499889598
3270 \begin_inset space ~
3274 \begin_inset space ~
3287 Ahora puedes insertar múltiples referencias Bib\SpecialChar TeX
3288 , una para cada sección
3290 Volviendo a nuestro ejemplo: Inserta una bibliografía Bib\SpecialChar TeX
3295 \begin_inset Flex Code
3298 \begin_layout Plain Layout
3308 y otra para la base de datos
3311 \begin_inset Flex Code
3314 \begin_layout Plain Layout
3325 Eres libre de usar estilos diferentes o iguales para cada sección.
3326 Por otra parte, puedes elegir si la sección bibliográfica debe contener
3328 \begin_inset Quotes cld
3331 todas las referencias citadas
3332 \begin_inset Quotes crd
3335 de la base de datos especificada (así es por omisión),
3336 \begin_inset Quotes cld
3339 todas las referencias no citadas
3340 \begin_inset Quotes crd
3344 \begin_inset Quotes cld
3347 todas las referencias
3348 \begin_inset Quotes crd
3352 Esto podría ser útil para separar la bibliografía en tres secciones:
3353 \begin_inset Quotes cld
3357 \begin_inset Quotes crd
3361 \begin_inset Quotes cld
3365 \begin_inset Quotes crd
3369 \begin_inset Quotes cld
3372 Trabajos científicos
3373 \begin_inset Quotes crd
3377 Los títulos para las secciones pueden añadirse como secciones ordinarias
3378 o como subsecciones.
3382 \begin_inset Flex Code
3385 \begin_layout Plain Layout
3395 quita el título de la bibliografía, debes reañadirlo manualmente (como
3396 un capítulo* o sección*, por ejemplo).
3397 \change_inserted 34634807 1499889620
3401 \begin_layout Standard
3403 \change_inserted 34634807 1499889623
3410 , the procedure is a bit different.
3419 , the aforementioned
3420 \begin_inset Flex Noun
3423 \begin_layout Plain Layout
3425 \change_inserted 34634807 1499889623
3428 Subdivided bibliography
3433 option is disabled if you use
3442 provides its own means to generate subdivided bibliographies.
3443 You can either add keywords to bibliography entries via the
3444 \begin_inset Flex Code
3447 \begin_layout Plain Layout
3449 \change_inserted 34634807 1499889623
3457 entry option and then filter bibliography sections by keyword (by adding
3459 \begin_inset Flex Code
3462 \begin_layout Plain Layout
3464 \change_inserted 34634807 1499889623
3473 \begin_inset Flex Noun
3476 \begin_layout Plain Layout
3478 \change_inserted 34634807 1499889623
3486 field of the dialog that opens if you right-click on the
3487 \begin_inset Flex Noun
3490 \begin_layout Plain Layout
3492 \change_inserted 34634807 1499889623
3495 Biblatex Generated Bibliography
3500 button), or you can filter by entry types (such as
3509 \begin_inset space \thinspace{}
3514 \begin_inset Flex Code
3517 \begin_layout Plain Layout
3519 \change_inserted 34634807 1499889623
3528 \begin_inset Flex Code
3531 \begin_layout Plain Layout
3533 \change_inserted 34634807 1499889623
3542 \begin_inset Flex Noun
3545 \begin_layout Plain Layout
3547 \change_inserted 34634807 1499889623
3555 field, or you can create so-called
3556 \begin_inset Quotes eld
3559 Bibliography Categories
3560 \begin_inset Quotes erd
3563 to which you can assign individual entries.
3564 Please refer to the Biblatex manual, section
3566 Subdivided Bibliographies
3573 \begin_layout Subsection
3574 Bibliografías múltiples
3577 \begin_layout Standard
3579 no soporta por sí mismo bibliografías múltiples, p.
3580 \begin_inset space \thinspace{}
3584 \begin_inset space \space{}
3587 una bibliografía para cada
3588 \change_inserted 34634807 1499889656
3596 \change_inserted 34634807 1499889671
3600 \change_deleted 34634807 1499889674
3604 \change_inserted 34634807 1499889689
3607 or child (sub-document)
3612 \change_deleted 34634807 1499889741
3616 \begin_inset Flex Code
3619 \begin_layout Plain Layout
3629 , que sirve para crear bibliografías por secciones (véase la sección previa),
3630 provee una sencilla manera de hacer esta tarea si estás dispuesto a emplear
3632 \begin_inset Flex Code
3635 \begin_layout Plain Layout
3636 código \SpecialChar TeX
3643 \begin_inset space ~
3647 \begin_inset CommandInset ref
3649 reference "sec:Insertar-Código-TeX"
3657 \begin_layout Plain Layout
3658 Una vía alternativa es usar los paquetes
3674 \begin_layout Standard
3676 \change_deleted 34634807 1499889741
3680 \begin_inset Flex Noun
3683 \begin_layout Plain Layout
3686 Documento\SpecialChar menuseparator
3698 selecciona en el panel
3701 \begin_inset Flex Noun
3704 \begin_layout Plain Layout
3717 \begin_inset Flex Noun
3720 \begin_layout Plain Layout
3724 \begin_inset space ~
3732 \begin_inset space ~
3743 En el documento, debes encerrar las secciones, que contendrán su propia
3744 bibliografía (incluyendo la propia referencia Bib\SpecialChar TeX
3748 \begin_inset Flex Code
3751 \begin_layout Plain Layout
3766 \begin_inset Flex Code
3769 \begin_layout Plain Layout
3781 (estos comandos deben insertarse en
3782 \begin_inset Flex Code
3785 \begin_layout Plain Layout
3786 código \SpecialChar TeX
3793 La bibliografía contendrá todas las referencias que han sido citadas en
3797 \begin_inset Flex Code
3800 \begin_layout Plain Layout
3815 : Si empleas este camino, entonces
3819 referencia de cita debe estar dentro de alguna
3822 \begin_inset Flex Code
3825 \begin_layout Plain Layout
3837 \begin_inset Flex Code
3840 \begin_layout Plain Layout
3848 \change_inserted 34634807 1499889771
3851 are also supported by \SpecialChar LyX
3853 In order to enable it, go to
3854 \begin_inset Flex Noun
3857 \begin_layout Plain Layout
3859 \change_inserted 34634807 1499889771
3862 Document\SpecialChar menuseparator
3863 Settings\SpecialChar menuseparator
3869 and select the relevant unit (e.
3870 \begin_inset space \thinspace{}
3874 \begin_inset Quotes eld
3878 \begin_inset Quotes erd
3882 \begin_inset Flex Noun
3885 \begin_layout Plain Layout
3887 \change_inserted 34634807 1499889771
3890 Multiple Bibliographies
3896 Then add a Bib(la)\SpecialChar TeX
3897 bibliography to each unit (e.
3898 \begin_inset space \thinspace{}
3901 g., section) of your document.
3902 In the output, a separate bibliography, containing only the references
3903 done in the current unit is generated.
3906 \begin_layout Standard
3908 \change_inserted 34634807 1499889771
3911 If you use Bib\SpecialChar TeX
3913 \begin_inset Flex Code
3916 \begin_layout Plain Layout
3918 \change_inserted 34634807 1499889771
3927 \begin_inset Flex Code
3930 \begin_layout Plain Layout
3932 \change_inserted 34634807 1499889771
3940 package is used to create multiple bibliographies.
3941 The former package is used if you select
3942 \begin_inset Quotes eld
3946 \begin_inset Quotes erd
3954 \begin_inset Flex Noun
3957 \begin_layout Plain Layout
3959 \change_inserted 34634807 1499889771
3962 Sectioned Bibliography
3969 \begin_inset Flex Code
3972 \begin_layout Plain Layout
3974 \change_inserted 34634807 1499889771
3986 \begin_layout Plain Layout
3988 \change_inserted 34634807 1499889771
3991 An alternative approach, if you are willing to use some
3992 \begin_inset Flex Noun
3995 \begin_layout Plain Layout
3997 \change_inserted 34634807 1499889771
4007 \begin_inset space ~
4011 \begin_inset CommandInset ref
4013 reference "sec:Inserting-TeX-Code"
4018 \begin_inset Flex Code
4021 \begin_layout Plain Layout
4023 \change_inserted 34634807 1499889771
4037 \begin_inset Flex Code
4040 \begin_layout Plain Layout
4042 \change_inserted 34634807 1499889771
4050 is used, \SpecialChar LyX
4051 encloses the specified units in
4052 \begin_inset Flex Code
4055 \begin_layout Plain Layout
4057 \change_inserted 34634807 1499889771
4066 \begin_inset Flex Code
4069 \begin_layout Plain Layout
4071 \change_inserted 34634807 1499889771
4082 \begin_inset Flex Code
4085 \begin_layout Plain Layout
4087 \change_inserted 34634807 1499889771
4097 in order to create the units.
4098 Note that this approach has some limitations.
4099 First, every citation reference has to be inside some
4100 \begin_inset Flex Code
4103 \begin_layout Plain Layout
4105 \change_inserted 34634807 1499889771
4114 So citations outside a defined unit (e.
4115 \begin_inset space \thinspace{}
4118 g., before the first section if you use
4119 \begin_inset Quotes eld
4123 \begin_inset Quotes erd
4127 \begin_inset Quotes eld
4131 \begin_inset Quotes erd
4135 You can also create your own units by entering
4136 \begin_inset Flex Code
4139 \begin_layout Plain Layout
4141 \change_inserted 34634807 1499889771
4152 \begin_inset Flex Code
4155 \begin_layout Plain Layout
4157 \change_inserted 34634807 1499889771
4168 code (for instance to work around the mentioned limitation).
4170 \begin_inset Flex Code
4173 \begin_layout Plain Layout
4175 \change_inserted 34634807 1499889771
4184 A second limitation is that
4185 \begin_inset Flex Code
4188 \begin_layout Plain Layout
4190 \change_inserted 34634807 1499889771
4198 always processes all references of a bibliography database, even if they
4200 This can result in odd labels (e.
4201 \begin_inset space \thinspace{}
4206 \begin_inset Quotes eld
4210 \begin_inset Quotes erd
4213 if two works of this author from 2014 are in the database, even if only
4217 \begin_layout Standard
4219 \change_inserted 34634807 1499889771
4227 \begin_inset Flex Code
4230 \begin_layout Plain Layout
4232 \change_inserted 34634807 1499889771
4240 option is used instead.
4241 If you need specific units, you can start them with the \SpecialChar TeX
4243 \begin_inset Flex Code
4246 \begin_layout Plain Layout
4248 \change_inserted 34634807 1499889771
4259 \begin_inset Flex Code
4262 \begin_layout Plain Layout
4264 \change_inserted 34634807 1499889771
4275 If you also want to control the end of the unit, use the environment
4276 \begin_inset Flex Code
4279 \begin_layout Plain Layout
4281 \change_inserted 34634807 1499889771
4293 \begin_inset Flex Code
4296 \begin_layout Plain Layout
4298 \change_inserted 34634807 1499889771
4310 \begin_inset Flex Code
4313 \begin_layout Plain Layout
4315 \change_inserted 34634807 1499889771
4324 In addition to the individual bibliography of the current unit,
4328 also provides an easy way to output all bibliographies, subsequently, at
4330 \begin_inset space \thinspace{}
4333 g., at the end of the document).
4335 \begin_inset Quotes eld
4339 \begin_inset Quotes erd
4342 from the Content combo box of the Bib(la)TeX inset dialog in order to achieve
4348 manual for more information on this topic.
4353 \begin_layout Section
4354 Documentos con varias partes
4357 \begin_layout Subsection
4361 \begin_layout Standard
4362 Cuando trabajas en un extenso documento con muchas secciones, o si tienes
4363 una parte en la que un cuadro puede cambiar de vez en cuando pero no el
4364 texto precedente, suele ser conveniente dividir el documento en varios
4366 En estos casos, deberías considerar seriamente el uso de documentos hijo.
4367 Por ejemplo, los artículos científicos suelen tener cinco secciones principales
4368 : introducción, observaciones, resultados, discusión y conclusiones.
4369 Cada una de ellas debería estar en su propio archivo \SpecialChar LyX
4371 Por otra parte un archivo
4372 \begin_inset Quotes cld
4376 \begin_inset Quotes crd
4379 contendría el título, los autores, el resumen, las referencias, etc., e
4380 incluiría los cinco archivos.
4381 Es importante tener en cuenta que cada uno de estos es un completo archivo
4383 que puede ser diseñado e impreso de forma independiente, además de estar
4384 incluido en el maestro.
4385 Sin embargo, todos deben ser de la misma clase de documento —no intentes
4387 \begin_inset space \thinspace{}
4390 ej., libro y artículo—.
4391 También puedes incluir archivos \SpecialChar LaTeX
4392 ; pero no deben tener su propio preámbulo
4393 (es decir, debe eliminarse todo lo que precede a
4396 \begin_inset Flex Code
4399 \begin_layout Plain Layout
4411 , así como esta misma línea y también
4414 \begin_inset Flex Code
4417 \begin_layout Plain Layout
4429 ), de lo contrario se generarán errores al procesar el archivo.
4432 \begin_layout Standard
4434 facilita la inclusión de archivos con la opción de menú
4437 \begin_inset Flex Noun
4440 \begin_layout Plain Layout
4443 Insertar\SpecialChar menuseparator
4444 Archivo\SpecialChar menuseparator
4446 \begin_inset space ~
4457 Surge entonces una ventana que permite seleccionar el archivo a incluir
4458 y el método de inclusión, y en la posición actual del cursor se inserta
4459 un cuadro gris con el nombre del archivo, que se puede desplegar con un
4460 clic para hacer modificaciones.
4466 \begin_layout Standard
4467 Los métodos de inclusión de un archivo son
4468 \begin_inset Quotes cld
4472 \begin_inset Quotes crd
4476 \begin_inset Quotes cld
4480 \begin_inset Quotes crd
4484 \begin_inset Quotes cld
4488 \begin_inset Quotes crd
4492 La diferencia entre los métodos
4493 \begin_inset Quotes cld
4497 \begin_inset Quotes crd
4501 \begin_inset Quotes cld
4505 \begin_inset Quotes crd
4508 solo es significativa para
4509 \begin_inset Quotes cld
4514 \begin_inset Quotes crd
4517 , pero en la práctica los archivos
4518 \begin_inset Quotes cld
4522 \begin_inset Quotes crd
4525 se imprimen en una página independiente, mientras que los archivos
4526 \begin_inset Quotes cld
4530 \begin_inset Quotes crd
4533 se imprimen en la página en la que estén insertados.
4537 \begin_layout Standard
4538 Generalmente, el archivo maestro es convertido en un archivo \SpecialChar LaTeX
4540 de ser procesado, mientras que los archivos incluidos son convertidos a
4541 archivos \SpecialChar LaTeX
4542 que no tienen toda la información del preámbulo.
4545 \begin_layout Standard
4546 La inserción de un archivo
4547 \begin_inset Quotes cld
4551 \begin_inset Quotes crd
4554 permite incluirlo tal cual es, de forma literal, con los caracteres en
4560 Normalmente los espacios en este tipo de inclusión son invisibles, aunque
4561 se conservan dos espacios consecutivos, a diferencia del normal tratamiento
4562 de los espacios en \SpecialChar LyX
4564 Sin embargo, si se marca en
4567 \begin_inset Flex Noun
4570 \begin_layout Plain Layout
4578 \begin_inset space ~
4582 \begin_inset space ~
4586 \begin_inset space ~
4590 \begin_inset space ~
4600 , se imprime una marca que señala sin ambigüedad la presencia de espacios.
4603 \begin_layout Subsection
4604 Referencias cruzadas entre archivos
4607 \begin_layout Standard
4608 \begin_inset Box Shadowbox
4618 height_special "totalheight"
4623 backgroundcolor "none"
4626 \begin_layout Plain Layout
4627 Esta sección está algo anticuada.
4628 Es preciso describir los documentos maestros predeterminados y cómo son
4629 abiertos los hijos cuando está el maestro.
4638 \begin_layout Standard
4639 Se pueden configurar referencias cruzadas entre los distintos archivos.
4640 Primero, abre todos los archivos en cuestión: digamos A y B por ejemplo,
4641 donde B está incluido en A.
4642 Supongamos que insertas una etiqueta en A y quieres mencionarla en B.
4643 Abre el diálogo de referencias cruzadas en B y selecciona el
4644 \begin_inset Quotes cld
4648 \begin_inset Quotes crd
4654 \begin_layout Subsection
4655 Listas de bibliografía en todos los subdocumentos
4658 \begin_layout Standard
4659 \begin_inset Box Frameless
4669 height_special "totalheight"
4674 backgroundcolor "none"
4677 \begin_layout Plain Layout
4678 Esta sección también requiere actualización.
4679 Ahora hay material sobre esto en la wiki que se podría copiar aquí.
4687 \begin_layout Standard
4688 Copia la lista de bibliografía con todas las entradas en todos los subdocumentos
4689 y transfórmalas en un comentario.
4690 De esta forma \SpecialChar LyX
4691 encontrará los archivos
4692 \begin_inset Flex Code
4695 \begin_layout Plain Layout
4701 y puedes fácilmente insertar referencias sin hacer visible la lista de
4705 \begin_layout Standard
4706 Como la lista de bibliografía está en un comentario, \SpecialChar LaTeX
4708 referencias se mostrarán así: [?], en lugar de así : [1].
4709 Una solución es usar el paquete \SpecialChar LaTeX
4711 \begin_inset Flex Code
4714 \begin_layout Plain Layout
4720 que solo incluirá comentarios procesando los archivos separadamente.
4721 Para hacer esto, añade en el preámbulo \SpecialChar LaTeX
4722 de cada subdocumento lo siguiente:
4725 \begin_layout LyX-Code
4731 \begin_layout LyX-Code
4734 includecomment{comment}
4737 \begin_layout Standard
4739 \begin_inset Flex URL
4742 \begin_layout Plain Layout
4744 http://wiki.lyx.org/FAQ/Unsorted#toc31
4752 \begin_layout Section
4753 Archivos \SpecialChar LyX
4757 \begin_layout Standard
4758 A veces, los usuarios necesitan
4759 \begin_inset Quotes cld
4763 \begin_inset Quotes crd
4766 un archivo \SpecialChar LyX
4767 junto con las imágenes (y otros archivos) de los que depende,
4768 bien para enviarlo a un editor o para compartirlo con un co-autor.
4770 2.0 incluye un guión en Python (
4771 \begin_inset Flex Code
4774 \begin_layout Plain Layout
4780 ) que automatiza el proceso.
4781 Para usarlo, deben estar instalados los módulos Python
4782 \begin_inset Flex Code
4785 \begin_layout Plain Layout
4792 \begin_inset Flex Code
4795 \begin_layout Plain Layout
4802 Por omisión, el guión prefiere el formato
4803 \begin_inset Flex Code
4806 \begin_layout Plain Layout
4813 \begin_inset Flex Code
4816 \begin_layout Plain Layout
4822 en sistemas tipo Unix y el formato
4823 \begin_inset Flex Code
4826 \begin_layout Plain Layout
4835 \begin_layout Standard
4836 El proceso de configuración de \SpecialChar LyX
4837 preparará el guión para exportar a
4838 \begin_inset Quotes cld
4841 Archivo \SpecialChar LyX
4843 \begin_inset Quotes crd
4846 , que estará disponible en el menú
4847 \begin_inset Flex Code
4850 \begin_layout Plain Layout
4851 Archivo\SpecialChar menuseparator
4860 \begin_layout Standard
4861 Independientemente de la plataforma, la generación de un formato determinado
4862 de archivo puede controlarse añadiendo el conmutador
4863 \begin_inset Flex Code
4866 \begin_layout Plain Layout
4873 \begin_inset Flex Code
4876 \begin_layout Plain Layout
4883 \begin_inset Flex Code
4886 \begin_layout Plain Layout
4893 \begin_inset Flex Code
4896 \begin_layout Plain Layout
4903 \begin_inset Flex Code
4906 \begin_layout Plain Layout
4908 \SpecialChar menuseparator
4916 \begin_inset Flex Code
4919 \begin_layout Plain Layout
4920 Herramientas\SpecialChar menuseparator
4921 Preferencias\SpecialChar menuseparator
4922 Gestión de archivos\SpecialChar menuseparator
4929 (Asegúrate de añadir el conmutador tras el nombre del guión, no delante.)
4932 \begin_layout Section
4933 Encabezados y pies de página elaborados
4936 \begin_layout Standard
4937 El formato de página predeterminado es más bien simple; para la clase
4940 \begin_inset Flex Code
4943 \begin_layout Plain Layout
4953 , todo lo que obtienes es un número centrado al final de la página.
4954 El presente documento es de la clase
4957 \begin_inset Flex Code
4960 \begin_layout Plain Layout
4972 , así que resulta un poco más elaborado.
4973 Pero para montar un show de verdad, has de elegir
4974 \begin_inset Quotes cld
4978 \begin_inset Quotes crd
4985 para el estilo de página del documento, como se comenta en la
4990 En esta sección se describe el código \SpecialChar LaTeX
4991 que debes introducir en el preámbulo
4993 para conseguir los resultados deseados.
4996 \begin_layout Standard
4997 El encabezado de página se divide en tres zonas,
4998 \begin_inset Quotes cld
5002 \begin_inset Quotes crd
5006 \begin_inset Quotes cld
5010 \begin_inset Quotes crd
5014 \begin_inset Quotes cld
5018 \begin_inset Quotes crd
5022 Y el pie de página, pues igual.
5023 Los comandos \SpecialChar LaTeX
5024 para configurar estas zonas en su forma más simple son
5027 \begin_inset Flex Code
5030 \begin_layout Plain Layout
5045 \begin_inset Flex Code
5048 \begin_layout Plain Layout
5063 \begin_inset Flex Code
5066 \begin_layout Plain Layout
5081 \begin_inset Flex Code
5084 \begin_layout Plain Layout
5097 Supongamos que quieres poner un nombre en la parte superior izquierda de
5099 Pues inserta el siguiente comando en el preámbulo:
5102 \begin_layout Standard
5111 \begin_layout Standard
5112 Con este comando el nombre saldrá en la parte superior izquierda.
5113 Si una zona tiene asignada una entrada por omisión y quieres eliminarla
5115 \begin_inset space \thinspace{}
5119 \begin_inset space ~
5122 el número de página en el pie central), pon un comando con el argumento
5124 \begin_inset space \thinspace{}
5130 \begin_layout Standard
5138 \begin_layout Standard
5139 Vamos ahora con algunos adornos: vamos a poner el número de sección con
5141 \begin_inset Quotes cld
5145 \begin_inset Quotes crd
5149 \begin_inset space \thinspace{}
5153 \begin_inset space ~
5157 \begin_inset space ~
5160 3) en la superior izquierda, el número de página (p.
5161 \begin_inset space \thinspace{}
5165 \begin_inset space ~
5169 \begin_inset space ~
5172 4) en la superior derecha, el nombre en la inferior izquierda y la fecha
5173 en la inferior derecha.
5174 Para ello deberíamos escribir las siguientes líneas en el preámbulo:
5177 \begin_layout Standard
5187 \begin_layout Standard
5195 \begin_layout Standard
5205 \begin_layout Standard
5214 \begin_layout Standard
5222 \begin_layout Standard
5232 \begin_layout Standard
5236 \begin_inset Flex Code
5239 \begin_layout Plain Layout
5254 \begin_inset Flex Code
5257 \begin_layout Plain Layout
5269 aluden a los contadores de sección y de página de \SpecialChar LaTeX
5270 , que se encargan de
5271 imprimir los números de la sección y la página actuales.
5275 \begin_inset Flex Code
5278 \begin_layout Plain Layout
5290 imprime la fecha de hoy.
5293 \begin_layout Standard
5294 El grosor de las líneas horizontales dibujadas bajo el encabezado y sobre
5295 el pie se puede modificar.
5296 Si quieres que no aparezca alguna de esas líneas ponle grosor 0.
5297 Por omisión, la línea de encabezado tiene 0.4
5298 \begin_inset space \thinspace{}
5301 pt de grosor y la de pie 0
5302 \begin_inset space \thinspace{}
5306 Para cambiar estos valores se pueden usar los comandos
5312 headrulewidth}{0.4pt}
5320 footrulewidth}{0.4pt}
5323 \begin_layout Standard
5324 La configuración del encabezado y/o el pie para páginas individuales se
5325 puede alterar con comandos como
5328 \begin_inset Flex Code
5331 \begin_layout Plain Layout
5336 thispagestyle{empty}
5342 \begin_inset Flex Code
5345 \begin_layout Plain Layout
5350 thispagestyle{plain}
5358 \begin_inset Newline linebreak
5364 \begin_inset Flex Code
5367 \begin_layout Plain Layout
5372 thispagestyle{fancy}
5380 Simplemente se inserta en
5381 \begin_inset Flex Code
5384 \begin_layout Plain Layout
5385 código \SpecialChar TeX
5391 en la página que se quiere cambiar.
5392 De hecho las páginas de título tienen estilo simple por omisión, mientras
5393 que las páginas siguientes se marcan en estilo elaborado si este es el
5394 formato establecido globalmente.
5398 \begin_layout Standard
5399 Por último, veamos cómo incluir una imagen en el encabezado o en el pie;
5400 por ejemplo, un logotipo en la esquina superior izquierda.
5401 Prueba algo como esto:
5404 \begin_layout Standard
5413 includegraphics{logo.eps}}}
5416 \begin_layout Standard
5417 (quizá sea necesario anteponer
5420 \begin_inset Flex Code
5423 \begin_layout Plain Layout
5428 usepackage{graphics}
5435 si tu documento no incluye otros gráficos).
5439 \begin_layout Section
5440 Selección de marcas de listas
5441 \begin_inset CommandInset label
5450 \begin_layout Standard
5456 \begin_layout Subsection
5460 \begin_layout Standard
5462 suministra 216 símbolos de marcas a los que se accede mediante un simple
5463 diálogo que permite elegir un símbolo para cada nivel de una lista no numerada.
5464 Esta elección es aplicable a la totalidad del documento, no es posible
5465 escoger distintos conjuntos de marcas para distintos párrafos.
5469 \begin_layout Plain Layout
5470 Bien, en realidad sí se puede hacer, pero a mano.
5478 \begin_layout Subsection
5482 \begin_layout Standard
5483 Abre el diálogo siguiendo el camino de menú
5489 \SpecialChar menuseparator
5490 Configuración\SpecialChar menuseparator
5496 \begin_layout Standard
5497 El diálogo suministra un cuadro de símbolos para las marcas.
5502 hay una lista desplegable con seis paneles de símbolos.
5507 permite elegir el nivel para el que elegimos la marca.
5508 Un campo de texto bajo el cuadro permite escoger un símbolo personalizado
5509 poniendo su código \SpecialChar LaTeX
5513 \begin_layout Standard
5518 corresponden a los distintos paquetes requeridos.
5519 El cuadro siguiente recoge los nombres y sus paquetes asociados:
5522 \begin_layout Standard
5524 \begin_inset Tabular
5525 <lyxtabular version="3" rows="7" columns="2">
5526 <features tabularvalignment="middle">
5527 <column alignment="center" valignment="top" width="0pt">
5528 <column alignment="center" valignment="top" width="0pt">
5530 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5533 \begin_layout Plain Layout
5548 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5551 \begin_layout Plain Layout
5568 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5571 \begin_layout Plain Layout
5586 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5589 \begin_layout Plain Layout
5598 base \SpecialChar LaTeX
5606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5609 \begin_layout Plain Layout
5624 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5627 \begin_layout Plain Layout
5644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5647 \begin_layout Plain Layout
5662 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5665 \begin_layout Plain Layout
5682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5685 \begin_layout Plain Layout
5700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5703 \begin_layout Plain Layout
5720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5723 \begin_layout Plain Layout
5738 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5741 \begin_layout Plain Layout
5758 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5761 \begin_layout Plain Layout
5776 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5779 \begin_layout Plain Layout
5802 \begin_layout Standard
5804 no se detiene si usas marcas de paquetes no disponibles.
5805 Pero si se producen errores de \SpecialChar LaTeX
5806 al intentar ver o imprimir el archivo,
5807 probablemente se debe a la falta de algún paquete.
5811 \begin_layout Plain Layout
5813 no restringe su uso porque puede que estés editando localmente el archivo
5814 para procesarlo luego en otra máquina.
5822 \begin_layout Subsection
5826 \begin_layout Standard
5827 Selecciona la profundidad de nivel y luego elige la marca y su tamaño.
5828 Los cambios no serán visibles en \SpecialChar LyX
5829 pero sí lo serán en la salida procesada.
5832 \begin_layout Standard
5833 Se puede reiniciar una marca a su valor predeterminado con clic-derecha
5834 sobre el botón apropiado de nivel de profundidad.
5838 \begin_layout Plain Layout
5839 Si quieres tener varios conjuntos de párrafos con diferentes conjuntos de
5840 marcas en cada uno, tendrás que enfangarte con código \SpecialChar TeX
5842 El diálogo de selección de marcas puede, no obstante, ayudarte porque te
5843 suministra el código \SpecialChar LaTeX
5844 para un amplio rango de símbolos de marcas.
5845 Para hacer tus propios párrafos personalizados tienes las siguientes opciones:
5848 \begin_layout Plain Layout
5852 \begin_layout Plain Layout
5868 \begin_layout Plain Layout
5872 \begin_layout Plain Layout
5894 \begin_layout Itemize
5895 Usa el comando \SpecialChar LaTeX
5897 \begin_inset Flex Code
5900 \begin_layout Plain Layout
5908 para especificar un símbolo de marca para una profundidad determinada.
5909 Además tendrás que guardar la marca actual para que puedas recuperarla
5911 En esta lista no numerada se ha usado el siguiente código \SpecialChar LaTeX
5913 la marca del primer nivel:
5917 \begin_layout LyX-Code
5927 \begin_layout LyX-Code
5944 \begin_layout Itemize
5945 Observa que el nivel de profundidad se especifica en números romanos como
5949 \begin_inset Flex Code
5952 \begin_layout Plain Layout
5965 \begin_layout Itemize
5969 \begin_layout Plain Layout
5982 Especifica cada entrada individual empezando cada ítem con el símbolo escogido
5983 encerrado entre corchetes y en
5984 \begin_inset Flex Code
5987 \begin_layout Plain Layout
5988 código \SpecialChar TeX
5995 Por ejemplo, este ítem se inicia con
5996 \begin_inset Flex Code
5999 \begin_layout Plain Layout
6014 \begin_layout Plain Layout
6018 \begin_layout Plain Layout
6034 \begin_layout Plain Layout
6035 Además tendrás que volver a la configuración inicial global de marcas para
6036 que esta vuelva a funcionar.
6037 Así hemos hecho con:
6040 \begin_layout LyX-Code
6050 \begin_layout LyX-Code
6059 \begin_layout Chapter
6064 \begin_layout Standard
6066 soporta desde hace tiempo la exportación de documentos a varios formatos
6067 adecuados para la web, como HTML.
6068 Sin embargo, antes de la versión 2.0, la exportación a HTML siempre se hacía
6069 mediante el uso de convertidores externos.
6073 \begin_layout Plain Layout
6088 Pueden actuar de dos maneras: usando \SpecialChar LaTeX
6089 como formato intermedio, como
6101 , encargándose \SpecialChar LyX
6102 de la generación del \SpecialChar LaTeX
6103 , o trabajando directamente sobre archivos
6111 Cada método tiene distintas ventajas e inconvenientes.
6115 \begin_layout Standard
6116 Los convertidores basados en \SpecialChar LaTeX
6117 tienen la ventaja de que, en principio, lo
6118 saben todo sobre el documento que exporta \SpecialChar LaTeX
6120 Estos convertidores no se preocupan, por ejemplo, de si determinado bloque
6121 de código fue generado por \SpecialChar LyX
6122 o si era código \SpecialChar TeX
6128 Saben manejar archivos
6132 , contadores, referencias, y generalmente pueden manejar archivos
6136 generados por Bib\SpecialChar TeX
6138 Por otra parte, \SpecialChar LaTeX
6139 es un lenguaje complejo de analizar —a veces se comenta
6140 que solo \SpecialChar TeX
6141 comprende a \SpecialChar TeX
6142 — y los convertidores basados en \SpecialChar LaTeX
6144 con estructuras aparentemente simples; las complejas pueden ahogarlos totalment
6145 e; en el momento de escribir esto, por ejemplo, el manual
6149 no se puede exportar con
6154 Las matemáticas son otro tema: estos convertidores suelen convertir las
6155 ecuaciones en pequeñas imágenes que se enlazan posteriormente al documento
6157 Puesto que realmente las ecuaciones son generadas por \SpecialChar LaTeX
6159 Pero no redimensionan bien su tamaño, y ajustar su aspecto al que debería
6160 tener en el documento —de forma que los tamaños de los caracteres parezcan
6161 aproximadamente iguales— puede ser un reto.
6165 \begin_layout Standard
6168 \begin_inset Flex Code
6171 \begin_layout Plain Layout
6182 , de Alex Fernández, (
6183 \begin_inset CommandInset href
6185 name "http://elyxer.nongnu.org/"
6186 target "http://elyxer.nongnu.org/"
6191 ) resuelve algunos de estos problemas.
6192 En particular, las ecuaciones generadas redimensionan el tamaño perfectamente,
6193 ya que las procesa usando una combinación de HTML y CSS en lugar de convertirla
6195 Pero incluso expresiones moderadamente complejas tienen un aspecto no tan
6200 ; esto refleja las limitaciones de HTML.
6204 \begin_layout Plain Layout
6210 también puede usar jsMath y MathJax, pero estas opciones solo están disponibles
6211 globalmente y requieren acceso al servidor que ejecuta el entorno.
6216 Y más importante (al menos desde la versión 1.1.1),
6217 \begin_inset Flex Code
6220 \begin_layout Plain Layout
6227 tiene soporte limitado para macros de ecuación y no lo tiene para párrafos
6228 o estilos de texto definidos por el usuario.
6229 Estas limitaciones hacen a
6230 \begin_inset Flex Code
6233 \begin_layout Plain Layout
6240 inadecuado para muchos documentos de \SpecialChar LyX
6242 En principio, por supuesto, estos problemas se podrían resolver, pero los
6243 desarrolladores de \SpecialChar LyX
6244 han decidido seguir una vía diferente y hacer al propio
6246 capaz de escribir XHTML, igual que es capaz de escribir \SpecialChar LaTeX
6251 \begin_layout Standard
6252 En el momento de escribir esto, La salida XHTML está en desarrollo y debería
6254 \begin_inset Quotes cld
6258 \begin_inset Quotes crd
6265 \begin_layout Plain Layout
6267 \begin_inset Flex Code
6270 \begin_layout Plain Layout
6271 development/HTML.notes
6276 que está en el código fuente de \SpecialChar LyX
6278 \begin_inset CommandInset href
6280 name "accessed online"
6281 target "http://www.lyx.org/trac/browser/lyxgit/development/HTML/HTML.notes?rev=master"
6286 , contiene información actualizada sobre el estado de XHTML.
6287 Véase también la lista de fallos en XHTML en
6288 \begin_inset CommandInset href
6290 name "the bug tracker"
6291 target "http://www.lyx.org/trac/query?status=reopened&status=assigned&status=new&max=0&component=xhtml+export&order=id&col=id&col=summary&col=reporter&col=keywords&keywords=%21%7Efixedintrunk&desc=1"
6301 Aún así, los desarrolladores han escogido este camino porque tiene ventajas
6302 potenciales sobre los otros dos.
6305 \begin_layout Standard
6306 Estas ventajas se deben, en primer lugar, al hecho de que las rutinas para
6307 exportar XHTML, ya que son parte de \SpecialChar LyX
6308 , conocen todo lo que \SpecialChar LyX
6310 documento a exportar.
6314 \begin_layout Plain Layout
6315 Otra ventaja es que, puesto que estas rutinas son internas de \SpecialChar LyX
6317 a los cambios en el formato de los archivos de \SpecialChar LyX
6318 o en la semántica de los
6319 recuadros insertados.
6325 Así pues, conocen sobre los índices (mostrados en el contorno), sobre los
6326 contadores asociados a estilos de párrafo, y sobre estilos personalizados.
6327 Las rutinas XHTML también saben sobre internacionalización lo mismo que
6329 , de modo que la salida dirá
6330 \begin_inset Quotes cld
6334 \begin_inset Quotes crd
6338 \begin_inset Quotes cld
6342 \begin_inset Quotes crd
6345 según el idioma activo.
6348 \begin_layout Standard
6349 En general, las rutinas de salida saben lo mismo que \SpecialChar LyX
6350 sobre el formato del
6351 documento, es decir, sobre cómo se mostrará el documento en pantalla.
6352 Usamos esta información cuando exportamos a XHTML.
6353 En particular, \SpecialChar LyX
6358 la información de estilo CSS correspondiente a la información que maneja
6359 para mostrar el documento en pantalla: si los encabezados de sección son
6360 palo seco en negrita en pantalla, entonces también (por omisión) serán
6361 palo seco negrita en un navegador web.
6362 Y esto es cierto no solo para estilos predefinidos, como una sección, sino
6363 para cualquier estilo, incluyendo los definidos por el usuario.
6364 En realidad, las rutinas XHTML no distinguen entre estilos de texto y de
6365 párrafo personalizados y los predefinidos por el propio \SpecialChar LyX
6367 todo lo que \SpecialChar LyX
6368 sabe sobre estilos está contenido en los archivos de formato.
6369 Y lo mismo se puede afirmar en relación a los recuadros de texto predefinidos,
6370 como notas al pie y varios recuadros personalizados.
6373 \begin_layout Standard
6374 El resultado es que la salida XHTML se puede personalizar y extender de
6375 igual forma que se puede hacer con la salida \SpecialChar LaTeX
6376 : mediante archivos de formato
6378 Véase el capítulo 5 del manual
6385 \begin_layout Standard
6386 El resto de este capítulo contiene información más detallada sobre la salida
6387 XHTML, sus limitaciones y formas de evitarlas.
6390 \begin_layout Section
6391 Las ecuaciones en XHTML
6394 \begin_layout Standard
6396 ofrece cuatro posibilidades para el procesamiento de matemáticas.
6397 Cada una tiene sus ventajas y sus inconvenientes.
6400 \begin_layout Itemize
6402 \begin_inset Newline newline
6405 MathML es un dialecto de XML diseñado específicamente para matemáticas en
6406 la web, y habitualmente rinde muy bien en los navegadores que lo soportan.
6407 La desventaja es que no todos los navegadores soportan MathML, y el soporte
6408 no es completo en navegadores basados en Gecko, como Firefox.
6409 \begin_inset Newline newline
6413 no es capaz de procesar una fórmula como MathML —por ejemplo, si la
6414 ecuación usa el paquete
6415 \begin_inset Flex Code
6418 \begin_layout Plain Layout
6424 o código \SpecialChar TeX
6425 — la transformará en imagen.
6428 \begin_layout Itemize
6430 \begin_inset Newline newline
6433 Como se ha dicho antes,
6434 \begin_inset Flex Code
6437 \begin_layout Plain Layout
6444 procesa las matemáticas como HTML usando estilos CSS.
6448 \begin_layout Plain Layout
6451 \begin_inset Flex Code
6454 \begin_layout Plain Layout
6461 parte del CSS para su salida HTML.
6466 Para ecuaciones simple funciona bastante bien, aunque con expresiones más
6467 complejas tiende a fallar.
6468 Aún así, este método tiene la ventaja de que es ampliamente soportado y
6469 puede ser apropiado para documentos que tengan pocas y sencillas ecuaciones.
6470 \begin_inset Newline newline
6474 es incapaz de procesar una ecuación como HTML —por ejemplo, si la ecuación
6476 \begin_inset Flex Code
6479 \begin_layout Plain Layout
6485 o código \SpecialChar TeX
6486 — la transformará en imagen.
6489 \begin_layout Itemize
6491 \begin_inset Newline newline
6495 \begin_inset Flex Code
6498 \begin_layout Plain Layout
6505 transformará las ecuaciones en imágenes, las mismas, de hecho, que se
6506 usan para la visualización instantánea.
6510 \begin_layout Plain Layout
6515 es preciso que esté activa la previsualización instantánea para ver las
6516 imágenes en la salida.
6521 La ventaja de este método es que las imágenes son simplemente generadas
6522 por \SpecialChar LaTeX
6523 , por lo que son muy precisas.
6524 La desventaja, como ya hemos dicho, es que son imágenes mapa de bits, por
6525 lo que no se redimensionan nada bien y no se pueden copiar, etc.
6526 (Además, en estos momentos hay problemas con la numeración de ecuaciones.
6528 \begin_inset CommandInset href
6531 target "http://www.lyx.org/trac/ticket/6894"
6537 \begin_inset Newline newline
6540 El tamaño de las imágenes se puede controlar estableciendo el parámetro
6542 \begin_inset Quotes cld
6545 Escala de imágenes de ecuaciones
6546 \begin_inset Quotes crd
6550 \begin_inset Flex Noun
6553 \begin_layout Plain Layout
6554 Documento\SpecialChar menuseparator
6555 Configuración\SpecialChar menuseparator
6566 \begin_layout Plain Layout
6567 Por si interesa: esto controla la resolución de la imagen en puntos por
6568 pulgada, y se basa en un valor inicial de 75 ppp.
6574 \begin_inset Newline newline
6577 Si, por alguna razón, \SpecialChar LyX
6578 falla al crear una imagen para una ecuación (p.
6579 \begin_inset space ~
6582 ej., si no está instalado un paquete \SpecialChar LaTeX
6583 requerido), generará la salida en \SpecialChar LaTeX
6588 \begin_layout Itemize
6591 \begin_inset Newline newline
6594 Para acabar, \SpecialChar LyX
6595 generará salida alegremente las ecuaciones como \SpecialChar LaTeX
6597 Siendo la solución de último recurso, este método puede usarse con herramientas
6599 \begin_inset CommandInset href
6602 target "http://www.math.union.edu/~dpvc/jsMath/"
6607 , que usa JavaScript para insertar \SpecialChar LaTeX
6610 envuelve el \SpecialChar LaTeX
6612 \begin_inset Flex Code
6615 \begin_layout Plain Layout
6621 (para fórmulas en línea) o en un
6622 \begin_inset Flex Code
6625 \begin_layout Plain Layout
6631 (para fórmulas presentadas) con
6632 \begin_inset Flex Code
6635 \begin_layout Plain Layout
6641 , tal como requiere jsMath.
6644 \begin_layout Standard
6645 Debemos seleccionar uno de estos métodos en
6646 \begin_inset Flex Noun
6649 \begin_layout Plain Layout
6650 Documento\SpecialChar menuseparator
6651 Configuración\SpecialChar menuseparator
6658 Por omisión, \SpecialChar LyX
6660 Se trata de una configuración para todo el documento.
6663 \begin_layout Standard
6664 Eventualmente, \SpecialChar LyX
6665 ofrecerá al usuario la opción de seleccionar un método alternati
6666 vo para algún recuadro en particular, en el caso de que no se procese adecuadame
6671 \begin_layout Plain Layout
6672 Dicho esto, como \SpecialChar LyX
6673 recurre a imágenes si el recuadro contiene código \SpecialChar TeX
6675 posible forzar la salida como imagen poniendo algún código \SpecialChar TeX
6677 ecuación, por ejemplo
6678 \begin_inset Formula $a=b\relax$
6689 \begin_layout Section
6690 Bibliografía y citas
6693 \begin_layout Standard
6694 XHTML soporta totalmente bibliografías y citas.
6697 \begin_layout Standard
6698 Las etiquetas de citas se generan con el mismo mecanismo que genera las
6699 etiquetas en la pantalla de \SpecialChar LyX
6700 , así que las etiquetas tendrán el mismo aspecto
6701 que en \SpecialChar LyX
6703 Si se usan citas numeradas, \SpecialChar LyX
6704 generará etiquetas numeradas, como [1], [17],
6705 en vez de mostrar las claves de las citas entre corchetes, como hace en
6707 Si se usan citas autor-año, \SpecialChar LyX
6708 añadirá letras minúsculas a los años, como
6709 hace Bib\SpecialChar TeX
6710 , si encuentra más de una cita para una combinación dada autor-año.
6711 Las etiquetas se imprimirán con las entradas bibliográficas.
6712 Hay que advertir que, por el momento, no hay forma de personalizar el aspecto
6713 de las etiquetas, por ejemplo para elegir entre corchetes o paréntesis.
6716 \begin_layout Standard
6717 Para la salida de la bibliografía interviene el mismo mecanismo que maneja
6718 la presentación de la información de las referencias en el diálogo de citas,
6719 de modo que se verán en XHTML como se ven en el diálogo de citas.
6720 El formato se puede personalizar en un archivo de usuario o, preferiblemente,
6729 \begin_layout Standard
6730 El defecto principal en estos momentos es que la información de las referencias
6731 cruzadas se imprime junto con cada entrada con la que está asociada.
6732 Entonces, puedes ver cosas como estas:
6737 \begin_inset Quotes eld
6740 Context and Logical Form
6741 \begin_inset Quotes erd
6746 Language in Context: Selected Essays
6748 (Oxford: Oxford University Press, 2007), pp.
6754 \begin_inset Quotes eld
6757 Semantics in Context
6758 \begin_inset Quotes erd
6763 Language in Context: Selected Essays
6765 (Oxford: Oxford University Press, 2007), pp.
6769 \begin_layout Standard
6770 Esto debería estar pronto solucionado.
6773 \begin_layout Standard
6774 De momento no hay soporte para bibliografías por secciones.
6775 Si tienes múltiples bibliografías, \SpecialChar LyX
6776 imprimirá la misma una y otra vez.
6779 \begin_layout Section
6783 \begin_layout Standard
6784 Afortunadamente, \SpecialChar LyX
6785 exportará los índices como XHTML, aunque con ciertas limitacio
6786 nes, por el momento.
6789 \begin_layout Standard
6790 La exportación de índices será más fiable si no intentas usar las elegantes
6791 estructuras que se describen en la sección sobre índices de ls
6799 \begin_layout Plain Layout
6800 La cuestión principal es que \SpecialChar LyX
6801 no maneja esto por sí mismo.
6802 Solo deja que introduzcas lo que deberías introducir en \SpecialChar LaTeX
6808 Describiremos cómo se manejan usando los encabezados de subsección de esta
6812 \begin_layout Itemize
6813 Agrupación de entradas de índice (subentradas): \SpecialChar LyX
6814 se esfuerza en soportar
6815 esto, pero las entradas deben separarse por
6816 \begin_inset Quotes cld
6820 \begin_inset Quotes crd
6823 , es decir, debe haber espacios alrededor del signo de exclamación.
6824 Esto es porque de otra manera sería complicado comprobar puntos de exclamación
6825 escapados en matemáticas, etc.
6828 \begin_layout Itemize
6829 Rangos de páginas: no hay soporte para rangos de páginas, puesto que esto
6830 no tiene sentido en XHTML.
6831 En su lugar, solo se mostrarán dos entradas de índice, uno en cada extremo.
6834 \begin_layout Itemize
6835 Referencias cruzadas: no hay soporte para esto.
6837 encuentra una entrada de la forma
6838 \begin_inset Quotes cld
6842 \begin_inset Quotes crd
6845 la ignora y el resto lo considera como una entrada de índice ordinaria.
6848 \begin_layout Itemize
6849 Orden de las entradas de índice: \SpecialChar LyX
6850 no soporta maniobras para fijar el orden
6852 Tomará lo que está antes del primer @ que encuentre y lo usará para ordenarlo,
6853 tomando lo que sigue a @ como la entrada real.
6854 Por el momento \SpecialChar LyX
6855 no identifica la @ escapada, por tanto no intentes indexar
6856 direcciones de correo.
6859 \begin_layout Itemize
6860 Formato de entradas de índice: Se pueden formatear entradas mediante el
6861 diálogo de estilo del texto, o con otro método disponible en \SpecialChar LyX
6863 No hay soporte para estructuras como
6864 \begin_inset Quotes cld
6868 \begin_inset Quotes crd
6873 encuentra un símbolo de tubería, '|' en una entrada lo borrará, y todo
6877 \begin_layout Itemize
6878 Índices múltiples: no hay soporte para esto.
6879 Todas las entradas de estos índices se imprimirán como un solo índice.
6880 Para evitar la impresión de varias versiones del índice, imprimiremos solo
6881 el índice principal, de modo que asegúrate de tener uno.
6884 \begin_layout Section
6885 Nomenclatura y glosario
6888 \begin_layout Standard
6889 Por ahora no hay soporte para glosarios.
6890 Añadirlo debería ser bastante trivial, y bienvenido.
6893 \begin_layout Chapter
6894 El servidor \SpecialChar LyX
6898 \begin_layout Section
6902 \begin_layout Standard
6903 El 'servidor \SpecialChar LyX
6904 ' permite a otros programas comunicarse con \SpecialChar LyX
6907 y recabar información sobre el estado interno de \SpecialChar LyX
6909 Esto está dirigido solo a usuarios avanzados, quienes descubrirán su utilidad.
6910 Escribiendo al servidor, por ejemplo, los administradores de bibliografía,
6911 como JabRef, pueden dar
6912 \begin_inset Quotes cld
6916 \begin_inset Quotes crd
6919 a las citas en \SpecialChar LyX
6923 \begin_layout Section
6924 Iniciar el servidor \SpecialChar LyX
6928 \begin_layout Standard
6929 El servidor \SpecialChar LyX
6930 funciona mediante el uso de un par de las denominadas tuberías.
6931 Estas se encuentran generalmente en
6932 \begin_inset Flex Code
6935 \begin_layout Plain Layout
6941 (no en Windows, en donde las tuberías
6946 \begin_inset Flex Code
6949 \begin_layout Plain Layout
6962 \begin_inset Flex Code
6965 \begin_layout Plain Layout
6972 \begin_inset Flex Code
6975 \begin_layout Plain Layout
6982 Los programas externos escriben en
6983 \begin_inset Flex Code
6986 \begin_layout Plain Layout
6993 \begin_inset Flex Code
6996 \begin_layout Plain Layout
7003 La raíz de los nombres de las tuberías se puede definir en el diálogo
7005 Herramientas\SpecialChar menuseparator
7009 \begin_inset Flex Code
7012 \begin_layout Plain Layout
7013 "/home/myhome/lyxpipe"
7019 \begin_inset Flex Code
7022 \begin_layout Plain Layout
7036 en Windows (donde se puede usar cualquier ruta en vez de lyxpipe, por ejemplo
7038 \begin_inset Flex Code
7041 \begin_layout Plain Layout
7064 configurar esto a mano para que arranque el servidor.
7067 \begin_layout Standard
7069 añadirá las extensiones '
7070 \begin_inset Flex Code
7073 \begin_layout Plain Layout
7080 \begin_inset Flex Code
7083 \begin_layout Plain Layout
7089 ' para crear las tuberías.
7090 Si alguna de ellas ya existe, \SpecialChar LyX
7091 asumirá que se está ejecutando otro proceso
7092 y no iniciará el servidor.
7093 Esto significa que si \SpecialChar LyX
7094 se bloquea, o si por alguna otra razón queda una
7096 \begin_inset Quotes cld
7100 \begin_inset Quotes crd
7103 cuando \SpecialChar LyX
7104 se cierra, entonces \SpecialChar LyX
7105 no iniciará el servidor.
7107 Tendrás que borrar las tuberías a mano y después reiniciar \SpecialChar LyX
7111 \begin_layout Standard
7112 Para tener al mismo tiempo varios procesos con servidores hay que usar diferente
7113 s configuraciones, quizás usando distintos directorios de usuario, cada
7114 uno con su propio archivo
7115 \begin_inset Flex Code
7118 \begin_layout Plain Layout
7127 \begin_layout Standard
7128 Si estás desarrollando un programa cliente, podría ser útil activar la informaci
7129 ón de depuración del servidor de \SpecialChar LyX
7131 Esto se hace iniciando \SpecialChar LyX
7133 \begin_inset Flex Code
7136 \begin_layout Plain Layout
7145 \begin_layout Standard
7146 Puedes encontrar un ejemplo completo de cliente escrito en C++ en la distribució
7148 \begin_inset Flex Code
7151 \begin_layout Plain Layout
7152 development/lyxserver/server_monitor.cpp
7160 \begin_layout Standard
7161 Otra herramienta útil es el cliente en línea de comandos
7162 \begin_inset Flex Code
7165 \begin_layout Plain Layout
7166 src/client/lyxclient
7174 \begin_layout Section
7178 \begin_layout Standard
7179 Para emitir una llamada a \SpecialChar LyX
7180 , el cliente escribe una línea de texto ASCII
7181 en la tubería de entrada.
7182 Esta línea tiene el siguiente formato:
7199 \begin_layout Description
7200 clientname es un nombre que el cliente puede escoger arbitrariamente.
7201 Su única función es que \SpecialChar LyX
7202 lo repetirá si envía una respuesta —así un cliente
7203 puede enviar resultados desde diferentes solicitantes.
7206 \begin_layout Description
7207 function es la función que quieres que \SpecialChar LyX
7209 Es lo mismo que los comandos que usarías en el minibúfer.
7212 \begin_layout Description
7213 argument es un argumento opcional que solo es significativo para ciertas
7214 funciones (por ejemplo, la función LFUN
7215 \begin_inset Quotes cld
7219 \begin_inset Quotes crd
7222 insertará el argumento como texto en la posición del cursor).
7225 \begin_layout Standard
7226 La respuesta de \SpecialChar LyX
7227 llegará en la tubería de salida y será de la forma
7244 \begin_layout Standard
7253 solo son respuestas del comando solicitante, mientras que
7257 es información más o menos útil sobre cómo ha funcionado la ejecución del
7259 Algunos comandos, tales como
7260 \begin_inset Quotes cld
7264 \begin_inset Quotes crd
7267 , devolverán información sobre el estado interno de \SpecialChar LyX
7268 , mientras que otros
7269 devolverán una respuesta vacía.
7270 Esto significa que la ejecución del comando fue correcta.
7273 \begin_layout Standard
7274 En caso de errores la respuesta de \SpecialChar LyX
7292 \begin_layout Standard
7297 debería contener una explicación de por qué falló el comando.
7300 \begin_layout Standard
7304 \begin_layout LyX-Code
7305 echo "LYXCMD:test:beginning-of-buffer:" >~/.lyxpipe.in
7308 \begin_layout LyX-Code
7309 echo "LYXCMD:test:get-xy:" >~/.lyxpipe.in
7310 \begin_inset Newline newline
7313 read a <~/.lyxpipe.out
7314 \begin_inset Newline newline
7320 \begin_layout Subsection
7321 AppleScript (Mac OS X)
7324 \begin_layout Standard
7325 Desde \SpecialChar LyX
7326 2.1, \SpecialChar LyX
7327 soporta interacciones básicas con AppleScript para comunicación
7328 normal mediante el comando run.
7329 Este comando toma un argumento directo (la
7333 a realizar) y un argumento opcional.
7334 Devuelve la salida de la función o desencadena un error con un mensaje
7338 \begin_layout Standard
7342 \begin_layout LyX-Code
7343 tell application "\SpecialChar LyX
7347 \begin_layout LyX-Code
7351 \begin_layout LyX-Code
7352 -- Stores the current file name into f
7355 \begin_layout LyX-Code
7356 set f to (run "server-get-filename" with argument "")
7359 \begin_layout LyX-Code
7360 on error the error_message number the error_number
7363 \begin_layout LyX-Code
7364 display dialog "Error: " & the error_number & ".
7368 \begin_layout LyX-Code
7369 & the error_message buttons {"OK"} default button 1
7372 \begin_layout LyX-Code
7376 \begin_layout LyX-Code
7380 \begin_layout Section
7384 \begin_layout Standard
7386 puede notificar a los clientes acontecimientos ocurridos de manera asíncrona.
7387 Actualmente solo lo hará si el usuario liga una secuencia de teclas a la
7389 \begin_inset Quotes cld
7393 \begin_inset Quotes crd
7397 El formato de la cadena que envía \SpecialChar LyX
7402 \begin_inset Flex Code
7405 \begin_layout Plain Layout
7416 \begin_layout Standard
7421 es la representación impresa de la secuencia de teclas que fue realmente
7422 tecleada por el usuario.
7425 \begin_layout Standard
7426 Este mecanismo puede utilizarse para ampliar el conjunto de comandos de
7428 e implementar macros.
7429 Asocia alguna secuencia de teclas a
7430 \begin_inset Quotes cld
7434 \begin_inset Quotes crd
7438 Después inicia un cliente que escucha en la tubería de salida, envía el
7439 comando acorde con la secuencia e inicia una función que pueda usar llamadas
7440 y solicitudes a \SpecialChar LyX
7441 para emitir un comando o una serie de comandos a \SpecialChar LyX
7445 \begin_layout Section
7446 El sencillo protocolo del servidor \SpecialChar LyX
7450 \begin_layout Standard
7452 implementa un protocolo sencillo que puede utilizarse para administrar
7454 Todos los mensajes son de la forma
7467 \begin_layout Standard
7473 \begin_inset Quotes cld
7477 \begin_inset Quotes crd
7481 \begin_inset Quotes cld
7485 \begin_inset Quotes crd
7490 \begin_inset Quotes cld
7494 \begin_inset Quotes crd
7497 de un cliente, \SpecialChar LyX
7498 devolverá información al cliente de que está escuchando
7499 sus mensajes, mientras que
7500 \begin_inset Quotes cld
7504 \begin_inset Quotes crd
7507 enviado desde \SpecialChar LyX
7508 informará a los clientes que \SpecialChar LyX
7512 \begin_layout Section
7513 Búsqueda inversa DVI/PDF
7516 \begin_layout Standard
7517 Algunos visores DVI/PDF
7521 \begin_layout Plain Layout
7522 Okular en KDE/Linux, Qpdfview en Unix, Skim en Mac OSX y SumatraPDF en Windows.
7527 ofrecen la posibilidad de
7532 Esto quiere decir que puedes indicar a \SpecialChar LyX
7533 que coloque el cursor en una línea
7534 determinada en el documento haciendo clic en la posición correspondiente
7535 en la salida DVI/PDF.
7536 Para ello, el visor ha de ser capaz de comunicarse con \SpecialChar LyX
7538 Esto se consigue mediante el servidor \SpecialChar LyX
7543 ) o el zócalo de dominio UNIX (
7547 ) que \SpecialChar LyX
7548 crea en su directorio temporal (esta es la forma en que \SpecialChar LyX
7551 \begin_inset Flex Code
7554 \begin_layout Plain Layout
7561 En algunos casos, hará falta un guión de apoyo que medie entre el visor
7563 , en otros, el visor se podrá comunicar directamente con \SpecialChar LyX
7565 Esto depende del visor seleccionado y del sistema operativo.
7566 Lo mismo es aplicable a la forma en que los visores deben configurarse
7567 y la forma en que la búsqueda inversa se lleva a cabo realmente.
7568 En lo que sigue, describiremos cómo se configura la búsqueda en visores
7570 Antes, sin embargo, explicamos lo que hay que hacer en general para habilitar
7571 la búsqueda inversa en el DVI/PDF.
7574 \begin_layout Subsection
7575 Activación automática
7576 \begin_inset CommandInset label
7578 name "subsec:Activación-automática"
7585 \begin_layout Standard
7586 En la mayoría de los casos \SpecialChar LyX
7587 funcionará marcando la opción
7588 \begin_inset Flex Noun
7591 \begin_layout Plain Layout
7592 Documento\SpecialChar menuseparator
7593 Configuración\SpecialChar menuseparator
7594 Salidas\SpecialChar menuseparator
7595 Sincronizar con salida
7601 En estos casos \SpecialChar LyX
7602 insertará automáticamente la macro
7603 \begin_inset Flex Code
7606 \begin_layout Plain Layout
7607 Sync\SpecialChar TeX
7613 (para PDF) o el paquete
7614 \begin_inset Flex Code
7617 \begin_layout Plain Layout
7624 Esta opción está fácilmente disponible, además, en la barra de herramientas
7626 \begin_inset Flex Noun
7629 \begin_layout Plain Layout
7638 \begin_layout Standard
7639 Si necesitas una configuración diferente, puedes seleccionar o introducir
7640 una macro personalizada desde el cuadro desplegable bajo
7641 \begin_inset Flex Noun
7644 \begin_layout Plain Layout
7645 Documento\SpecialChar menuseparator
7646 Configuración\SpecialChar menuseparator
7647 Salidas\SpecialChar menuseparator
7648 Sincronizar con salida
7656 \begin_layout Standard
7658 \begin_inset Flex Code
7661 \begin_layout Plain Layout
7669 activa compresión gzip.
7670 Si el visor no lo soporta, sería mejor usar
7671 \begin_inset Flex Code
7674 \begin_layout Plain Layout
7685 \begin_layout Standard
7686 Advirtamos que la inclusión de los paquetes
7687 \begin_inset Flex Code
7690 \begin_layout Plain Layout
7697 \begin_inset Flex Code
7700 \begin_layout Plain Layout
7706 puede tener a veces un impacto no deseado en la tipografía; entonces, si
7707 se usa alguno de dichos paquetes habría que desactivar la sincronización
7708 para la composición final.
7711 \begin_layout Standard
7712 En caso de necesitar otros ajustes más específicos no cubiertos por la configura
7713 ción automática, lee la sección siguiente sobre activación manual.
7714 Si la configuración automática cubre tus necesidades, puedes pasar directamente
7716 \begin_inset CommandInset ref
7718 reference "subsec:Configuración-y-uso-de-visores"
7722 , en la que se describen los pasos necesarios para configurar el visor —necesari
7723 os tanto para configuración automática como manual.
7726 \begin_layout Subsection
7730 \begin_layout Standard
7732 proporciona varios métodos para la búsqueda inversa.
7733 Algunos son parte del programa
7734 \begin_inset Flex Code
7737 \begin_layout Plain Layout
7743 , otros forman parte de paquetes externos.
7744 La elección depende de si la distribución \SpecialChar LaTeX
7745 instalada ya proporciona un
7746 método (los métodos incorporados son bastante nuevos) y si el visor a usar
7747 puede enfrentarse a este.
7748 Describimos a continuación los métodos disponibles.
7751 \begin_layout Subsubsection*
7752 Buscador DVI incorporado vía src-specials (solo DVI)
7755 \begin_layout Standard
7756 Este método proporciona el archivo DVI con la información necesaria para
7757 realizar búsqueda inversa.
7758 Está disponible en \SpecialChar LaTeX
7759 desde hace tiempo (cualquier distribución reciente
7760 lo debe incluir) y es fiable.
7761 Para habilitarlo, cambia el convertidor
7762 \begin_inset Flex Code
7765 \begin_layout Plain Layout
7772 \begin_inset Flex Code
7775 \begin_layout Plain Layout
7776 LaTeX (plain)->DraftDVI
7782 \begin_inset Flex Noun
7785 \begin_layout Plain Layout
7786 Herramientas\SpecialChar menuseparator
7787 Preferencias\SpecialChar menuseparator
7788 Gestión de archivos\SpecialChar menuseparator
7795 \begin_inset Flex Code
7798 \begin_layout Plain Layout
7799 latex -src-specials $$i
7805 Si no funciona, comprueba si tu maquinaria \SpecialChar TeX
7806 necesita opciones diferentes
7807 (la sintaxis podría diferir en algunas distribuciones).
7810 \begin_layout Subsubsection*
7811 Paquetes externos (PDFSync y srcltx)
7814 \begin_layout Standard
7816 \begin_inset Flex Code
7819 \begin_layout Plain Layout
7826 \begin_inset Flex Code
7829 \begin_layout Plain Layout
7835 proporcionan la función búsqueda inversa para PDF (vía pdflatex) y DVI,
7837 Para habilitarlos carga el paquete en el preámbulo \SpecialChar LaTeX
7841 \begin_layout Itemize
7842 \begin_inset Flex Code
7845 \begin_layout Plain Layout
7853 para búsqueda inversa en PDF
7856 \begin_layout Itemize
7857 \begin_inset Flex Code
7860 \begin_layout Plain Layout
7863 usepackage[active]{srcltx}
7868 para búsqueda inversa en DVI
7871 \begin_layout Standard
7872 Para habilitar el uso de ambos inserta las siguientes líneas:
7875 \begin_layout LyX-Code
7879 \begin_inset Newline newline
7885 \begin_inset Newline newline
7891 \begin_inset Newline newline
7897 \begin_inset Newline newline
7902 usepackage[active]{srcltx}
7903 \begin_inset Newline newline
7911 \begin_layout Standard
7912 Así, el archivo se puede ver tanto como DVI como PDF (pdflatex), usando
7913 el paquete adecuado.
7916 \begin_layout Standard
7917 Advirtamos que PDFSync podría afectar el formato de salida del documento.
7918 Por eso es conveniente deshabilitar PDFSync para componer el documento
7922 \begin_layout Subsubsection*
7923 Búsqueda inversa incorporada vía Sync\SpecialChar TeX
7927 \begin_layout Standard
7928 Las recientes versiones de
7929 \begin_inset Flex Code
7932 \begin_layout Plain Layout
7938 incorporan soporte para búsqueda inversa en PDF y DVI.
7939 La instalación llamada
7941 Sync\SpecialChar TeX
7944 es básicamente el resultado de integrar el paquete PDFSync en pdftex y
7945 su fusión con el enfoque
7950 Para usarla hace falta al menos \SpecialChar TeX
7951 Live 2008 o una distribución Mik\SpecialChar TeX
7953 Además, solo unos pocos visores PDF (Okular y Qpdfview en Unix, Skim en
7954 Mac, SumatraPDF en Windows) proporcionan por ahora soporte para Sync\SpecialChar TeX
7958 \begin_layout Standard
7959 Para activar Sync\SpecialChar TeX
7960 en DVI, cambia el convertidor
7961 \begin_inset Flex Code
7964 \begin_layout Plain Layout
7965 LaTeX (plain) -> DVI
7971 \begin_inset Flex Code
7974 \begin_layout Plain Layout
7975 LaTeX (plain) -> DraftDVI
7981 \begin_inset Flex Noun
7984 \begin_layout Plain Layout
7985 Herramientas\SpecialChar menuseparator
7986 Preferencias\SpecialChar menuseparator
7987 Gestión de archivos\SpecialChar menuseparator
7994 \begin_inset Flex Code
7997 \begin_layout Plain Layout
7998 latex -synctex=1 $$i
8004 \begin_inset Flex Code
8007 \begin_layout Plain Layout
8008 LaTeX (pdflatex) -> PDF (pdflatex)
8014 \begin_inset Flex Code
8017 \begin_layout Plain Layout
8018 pdflatex -synctex=1 $$i
8024 Consulta en la documentación de tu visor si necesita ser configurado para
8025 usarlo con Sync\SpecialChar TeX
8030 \begin_layout Plain Layout
8032 \begin_inset Flex Code
8035 \begin_layout Plain Layout
8041 permite compresión gzip.
8042 Si el visor no lo soporta, entonces usa
8043 \begin_inset Flex Code
8046 \begin_layout Plain Layout
8060 \begin_layout Subsection
8061 Configuración y uso de visores específicos
8062 \begin_inset CommandInset label
8064 name "subsec:Configuración-y-uso-de-visores"
8071 \begin_layout Subsubsection*
8072 Xdvi (todas las plataformas)
8075 \begin_layout Standard
8077 \begin_inset Flex Code
8080 \begin_layout Plain Layout
8086 no necesitas hacer nada para utilizar la búsqueda inversa en DVI, ya que
8088 proporciona los ganchos necesarios para usar automáticamente el programa
8090 \begin_inset Flex Code
8093 \begin_layout Plain Layout
8100 Basta con configurar tu documento como se describió antes (la búsqueda
8101 inversa se inicia con Ctrl-clic o Alt-clic en Mac OSX).
8104 \begin_layout Standard
8105 Sin embargo, si por la razón que sea quieres usar la tubería en vez del
8106 zócalo para comunicar con \SpecialChar LyX
8107 , simplemente cambia el visor DVI en
8108 \begin_inset Flex Noun
8111 \begin_layout Plain Layout
8112 Herramientas\SpecialChar menuseparator
8113 Preferencias\SpecialChar menuseparator
8114 Gestión de archivos\SpecialChar menuseparator
8121 \begin_inset Flex Code
8124 \begin_layout Plain Layout
8125 xdvi -editor "lyxeditor.sh %f %l"
8134 \begin_layout Plain Layout
8135 En Mac OSX hay que usar
8136 \begin_inset Flex Code
8139 \begin_layout Plain Layout
8140 DISPLAY=:0.0 xdvi -editor "lyxeditor.sh %f %l"
8151 \begin_inset Flex Code
8154 \begin_layout Plain Layout
8160 es un guión apropiado.
8161 Por ejemplo, un mínimo guión de shell es el siguiente:
8164 \begin_layout LyX-Code
8166 \begin_inset Newline newline
8169 LYXPIPE="/ruta/a/lyxpipe"
8170 \begin_inset Newline newline
8173 COMMAND="LYXCMD:revdvi:server-goto-file-row:$1 $2"
8174 \begin_inset Newline newline
8177 echo "$COMMAND" > "${LYXPIPE}".in || exit
8178 \begin_inset Newline newline
8181 read TMP < "${LYXPIPE}".out || exit
8184 \begin_layout Standard
8186 \begin_inset Flex Code
8189 \begin_layout Plain Layout
8195 es la ruta de la tubería \SpecialChar LyX
8196 Server especificada en
8197 \begin_inset Flex Noun
8200 \begin_layout Plain Layout
8201 Herramientas\SpecialChar menuseparator
8202 Preferencias\SpecialChar menuseparator
8212 \begin_layout Plain Layout
8214 \begin_inset Flex Code
8217 \begin_layout Plain Layout
8223 de una distribución fuente puedes encontrar un guión
8224 \begin_inset Flex Code
8227 \begin_layout Plain Layout
8238 basado en tus preferencias.
8246 \begin_layout Subsubsection*
8250 \begin_layout Standard
8252 \begin_inset Flex Code
8255 \begin_layout Plain Layout
8256 /Applications/MacDviX_Folder/calleditor.script
8264 \begin_layout LyX-Code
8265 /Applications/LyX.app/Contents/MacOS/lyxeditor "$2" $1
8266 \begin_inset Newline newline
8272 \begin_layout Standard
8273 Modifica las líneas si \SpecialChar LyX
8274 está instalado en algún otro lugar distinto de la
8275 carpeta 'Applications'.
8278 \begin_layout Standard
8279 La búsqueda inversa se lanza con Alt-clic (OPCIÓN-clic).
8282 \begin_layout Subsubsection*
8286 \begin_layout Standard
8288 \begin_inset Flex Code
8291 \begin_layout Plain Layout
8292 open -a Skim.app $$i
8297 en la configuración del visor en
8298 \begin_inset Flex Noun
8301 \begin_layout Plain Layout
8302 Herramientas\SpecialChar menuseparator
8303 Preferencias\SpecialChar menuseparator
8304 Gestión de archivos\SpecialChar menuseparator
8311 \begin_inset Flex Code
8314 \begin_layout Plain Layout
8315 Skim\SpecialChar menuseparator
8316 Preferences\SpecialChar menuseparator
8322 selecciona \SpecialChar LyX
8326 \begin_layout Standard
8327 La búsqueda inversa se inicia con COMANDO-MAYÚSCULAS-clic.
8330 \begin_layout Subsubsection*
8334 \begin_layout Standard
8336 \begin_inset Flex Noun
8339 \begin_layout Plain Layout
8340 Configurar\SpecialChar menuseparator
8341 Configurar Okular\SpecialChar menuseparator
8348 \begin_inset Quotes cld
8351 Editor personalizado
8352 \begin_inset Quotes crd
8356 \begin_inset Flex Code
8359 \begin_layout Plain Layout
8368 \begin_layout Standard
8369 La búsqueda inversa se inicia con MAYÚSCULAS-clic.
8372 \begin_layout Subsubsection*
8376 \begin_layout Standard
8377 Qpdfview soporta Sync\SpecialChar TeX
8378 desde la versión 0.3.5.
8380 \begin_inset Flex Noun
8383 \begin_layout Plain Layout
8384 Editar\SpecialChar menuseparator
8385 Configuración\SpecialChar menuseparator
8391 , clic en el campo de entrada del
8392 \begin_inset Quotes eld
8396 \begin_inset Quotes erd
8400 \begin_inset Flex Code
8403 \begin_layout Plain Layout
8412 \begin_layout Standard
8413 La búsqueda inversa se lanza con doble clic.
8416 \begin_layout Subsubsection*
8420 \begin_layout Standard
8421 En yap, en el menú Ver Opciones marca
8422 \begin_inset Quotes cld
8425 Búsqueda inversa DVI
8426 \begin_inset Quotes crd
8431 \begin_inset Quotes cld
8435 \begin_inset Quotes crd
8439 \begin_inset Quotes cld
8444 \begin_inset Quotes crd
8448 \begin_inset Quotes cld
8452 \begin_inset Quotes crd
8457 \begin_inset Quotes cld
8461 \begin_inset Quotes crd
8465 \begin_inset Flex Code
8468 \begin_layout Plain Layout
8476 \begin_inset Flex Code
8479 \begin_layout Plain Layout
8485 , con los argumentos %f %l.
8488 \begin_layout LyX-Code
8490 \begin_inset Newline newline
8493 echo LYXCMD:revdvi:server-goto-file-row:%1 %2>
8502 \begin_inset Newline newline
8516 \begin_layout Standard
8517 Se lanza con doble clic.
8520 \begin_layout Subsubsection*
8521 SumatraPDF (Windows)
8524 \begin_layout Standard
8527 SumatraPDF -inverse-search "lyxeditor.bat %f %l"
8534 \begin_inset Flex Noun
8537 \begin_layout Plain Layout
8538 Herramientas\SpecialChar menuseparator
8539 Preferencias\SpecialChar menuseparator
8540 Gestión de archivos\SpecialChar menuseparator
8548 lyxeditor.bat es el anterior.
8551 no está en la ruta de comandos usa su nombre completo.
8554 \begin_layout Standard
8555 Se inicia con doble clic.
8558 \begin_layout Subsubsection*
8562 \begin_layout Standard
8563 Si yap es el visor por defecto en Windows, ejecuta y elige
8568 \begin_inset Quotes cld
8571 Búsqueda inversa DVI
8572 \begin_inset Quotes crd
8577 \begin_inset Quotes cld
8581 \begin_inset Quotes crd
8585 \begin_inset Quotes cld
8590 \begin_inset Quotes crd
8594 \begin_inset Quotes cld
8598 \begin_inset Quotes crd
8603 \begin_inset Quotes cld
8607 \begin_inset Quotes crd
8610 y navega hasta el directorio del ejecutable
8615 Especifica los argumentos -g %f %l.
8616 Así, se usará el zócalo
8620 para comunicar con \SpecialChar LyX
8626 omite -g y escribe la tubería \SpecialChar LyX
8627 Server en las preferencias de \SpecialChar LyX
8631 \begin_layout Standard
8632 Se lanza con doble clic.
8635 \begin_layout Subsubsection*
8639 \begin_layout Standard
8641 \begin_inset Flex Noun
8644 \begin_layout Plain Layout
8645 Herramientas\SpecialChar menuseparator
8646 Preferencias\SpecialChar menuseparator
8647 Gestión de archivos\SpecialChar menuseparator
8654 \begin_inset Flex Code
8657 \begin_layout Plain Layout
8658 SumatraPDF -inverse-search "lyxeditor -g %f %l"
8663 en la configuración del visor.
8664 Si SumatraPDF.exe no está en la ruta de comandos usa su ruta posix completa
8666 La -g habilita comunicación vía
8675 , y verifica la ruta de \SpecialChar LyX
8676 Server en las preferencias de \SpecialChar LyX
8680 \begin_layout Standard
8681 Se inicia con doble clic.
8684 \begin_layout Section
8688 \begin_layout Standard
8689 La búsqueda directa, como su nombre indica, es en cierto sentido lo
8690 \begin_inset Quotes cld
8694 \begin_inset Quotes crd
8698 Permite saltar a una posición determinada del documento en el visor desde
8699 dentro de \SpecialChar LyX
8701 Si la búsqueda directa está habilitada (como se describe a continuación),
8702 puedes poner el cursor en cualquier punto del documento en \SpecialChar LyX
8706 Navegar\SpecialChar menuseparator
8713 en el menú contextual mediante clic derecho), en el visor se mostrará esa
8715 Esto implica, por supuesto, que el visor soporte esta función.
8718 \begin_layout Standard
8719 Para posibilitar la búsqueda directa hay que proporcionar al archivo DVI/PDF
8720 de salida información adicional sobre el código \SpecialChar TeX
8722 Se puede hacer mediante los métodos descritos en la sección
8723 \begin_inset CommandInset ref
8725 reference "subsec:Activación-automática"
8732 \begin_layout Standard
8733 Adicionalmente, hay que configurar \SpecialChar LyX
8734 para usar los visores en
8735 \begin_inset Flex Noun
8738 \begin_layout Plain Layout
8739 Herramientas\SpecialChar menuseparator
8740 Preferencias\SpecialChar menuseparator
8741 Salidas\SpecialChar menuseparator
8748 Proporcionamos un conjunto de configuraciones comprobadas para algunos
8749 visores, que pueden seleccionarse en la lista desplegable.
8750 Si ninguna de estas configuraciones te satisface, tienes que introducir
8751 a mano una configuración adecuada.
8752 La sintaxis de las definiciones usa los siguientes marcadores:
8755 \begin_layout Itemize
8757 \begin_inset Flex Code
8760 \begin_layout Plain Layout
8769 \begin_layout Itemize
8771 \begin_inset Flex Code
8774 \begin_layout Plain Layout
8780 : nombre del archivo .tex exportado (temporal)
8783 \begin_layout Itemize
8785 \begin_inset Flex Code
8788 \begin_layout Plain Layout
8794 : nombre del archivo de salida exportado (dvi o pdf, según el que exista
8795 en el directorio temporal)
8798 \begin_layout Standard
8799 Solo algunos visores permiten completamente la búsqueda directa, entre ellos
8806 \begin_layout Plain Layout
8809 You might want to set
8810 \begin_inset Flex Code
8813 \begin_layout Plain Layout
8824 \begin_inset Flex Noun
8827 \begin_layout Plain Layout
8830 Tools\SpecialChar menuseparator
8831 Preferences\SpecialChar menuseparator
8832 File Handling\SpecialChar menuseparator
8834 \begin_inset space ~
8849 , qpdfview y SumatraPDF
8855 \begin_layout Plain Layout
8858 SumatraPDF can also use DDE commands through the external program CMCDDE
8860 \begin_inset CommandInset href
8862 target "http://www.istri.fr/spip/zip/CMCDDE.zip"
8875 Aunque algunos de los visores PDF más conocidos (como Adobe Reader) no
8876 soportan búsqueda directa, otros (como evince y pdf) permiten al menos
8877 recargar el documento y mostrar una página determinada, por lo que al menos
8878 permiten una navegación
8879 \begin_inset Quotes cld
8883 \begin_inset Quotes crd
8887 Esta última funcionalidad es facilitada mediante una llamada externa a
8888 synctex (consulta los ejemplos predefinidos en Preferencias).
8892 \begin_layout Standard
8893 La búsqueda directa funciona con DVI y PDF.
8895 comprueba qué formato de vista preliminar has usado antes (o sea, el que
8896 ya está en el directorio temporal) y elige dinámicamente la configuración
8897 adecuada para el formato en cuestión.
8900 \begin_layout Chapter
8901 Clases especiales de documentos
8904 \begin_layout Section
8908 \begin_layout Standard
8914 \begin_layout Subsection
8918 \begin_layout Standard
8919 Esta sección describe el uso de \SpecialChar LyX
8920 para escribir artículos destinados a la
8923 Astronomy and Astrophysics
8926 \begin_inset Flex URL
8929 \begin_layout Plain Layout
8931 http://www.edpsciences.fr/aa/
8936 ), usando la versión
8937 \begin_inset space ~
8940 5.01 de la clase de documento
8945 Este paquete se puede descargar del sitio ftp
8948 \begin_layout Standard
8949 \begin_inset VSpace medskip
8955 \begin_layout Standard
8957 \begin_inset Flex URL
8960 \begin_layout Plain Layout
8962 ftp://ftp.edpsciences.org/pub/aa/readme.html
8970 \begin_layout Standard
8971 \begin_inset VSpace medskip
8977 \begin_layout Standard
8978 El paquete contiene un manual, y este texto no aspira a reemplazar al original,
8979 se trata solo de una breve guía de uso.
8982 \begin_layout Standard
8983 Ten en cuenta que el editor de la revista ha cambiado de
8991 desde 1 de enero de 2001.
8992 Este cambio implica ligeros cambios en los archivos de estilo, a saber,
8993 la eliminación del comando
8998 La clase \SpecialChar LyX
9003 soporta las versiones más nuevas de estos archivos de estilo, V 5.01.
9004 Si tienes instalada una versión más antigua, actualízala, por favor.
9005 Por compatibilidad, el antiguo formato (versión 4) se ha mantenido como
9011 Puedes acudir a los comentarios en el archivo
9014 Dir/layouts/aapaper.layout
9019 \begin_layout Subsection
9023 \begin_layout Standard
9024 Se recomienda empezar con el modelo de ejemplo suministrado con \SpecialChar LyX
9026 Si no es así, observa los siguientes aspectos:
9029 \begin_layout Itemize
9036 Documento\SpecialChar menuseparator
9039 (vale, esto era obvio).
9042 \begin_layout Itemize
9043 No cambies la opción
9046 \begin_inset space ~
9050 \begin_inset space ~
9060 Todo el formato está hecho por macros y no deberías cambiar nada.
9063 \begin_layout Subsection
9064 El bloque del encabezado
9067 \begin_layout Standard
9068 Lo primero que hay que introducir es la información del encabezado.
9069 Consta de siete entradas, de las que algunas son opcionales.
9073 \begin_layout Itemize
9081 \begin_layout Itemize
9089 \begin_layout Itemize
9097 \begin_layout Itemize
9105 \begin_layout Itemize
9106 Separatas: (opcional) si hay más de un autor: a quien dirigirse.
9109 \begin_layout Itemize
9110 Correo: (opcional) dirección de contacto.
9113 \begin_layout Itemize
9119 El formato sugerido es
9121 Recibido: <fecha>; Aceptado <fecha>
9124 \begin_layout Standard
9125 No es necesario poner el comando
9132 lo hace automáticamente cuando se termina el encabezado.
9133 Aunque el orden de las entradas del encabezado no importa, es conveniente
9134 mantener la secuencia de arriba, solo por conseguir un mejor aspecto y
9135 respetar el formato del documento real.
9138 \begin_layout Standard
9139 Si quieres poner notas al pie en el encabezado, p.
9140 \begin_inset space \thinspace{}
9144 \begin_inset space ~
9147 para consignar tu actual dirección, usa la nota al pie estándar con
9149 Insertar\SpecialChar menuseparator
9151 \begin_inset space ~
9155 \begin_inset space ~
9163 \begin_inset Quotes cld
9167 \begin_inset Quotes crd
9179 \begin_layout Standard
9180 Además, las macros emplean tres comandos \SpecialChar LaTeX
9181 adicionales que no tienen contrapartid
9182 a en \SpecialChar LyX
9186 \begin_layout Itemize
9193 para separar nombres diferentes de más de un autor e instituto, respectivamente.
9196 \begin_layout Itemize
9203 para señalar pares de autor/institución correspondientes.
9204 Las instituciones se numeran secuencialmente tal como aparecen en el campo
9209 , así que tienes que poner un marcador a cada autor.
9212 \begin_layout Itemize
9219 para proporcionar un correo electrónico para contacto rápido.
9222 \begin_layout Standard
9223 En todos los casos, el comando apropiado ha de introducirse en \SpecialChar LyX
9225 como código \SpecialChar LaTeX
9227 Véanse los ejemplos.
9231 \begin_layout Subsection
9235 \begin_layout Standard
9236 El resumen debería ir a continuación del encabezado.
9237 Con la versión 5 el resumen cambió de entorno a comando, y ahora hay una
9238 restricción a un único párrafo.
9239 Además, debería contener una entrada con las claves.
9240 Esto no está aún implementado en \SpecialChar LyX
9241 , por tanto hay que introducir el comando
9249 a mano en código \SpecialChar LaTeX
9254 \begin_layout Subsection
9258 \begin_layout Standard
9259 El formato A&A soporta los entornos siguientes para estructurar el texto:
9262 \begin_layout Itemize
9268 \begin_layout Itemize
9274 \begin_layout Itemize
9280 \begin_layout Itemize
9286 \begin_layout Itemize
9292 \begin_layout Itemize
9298 \begin_layout Itemize
9304 \begin_layout Itemize
9310 \begin_layout Itemize
9316 \begin_layout Itemize
9322 \begin_layout Itemize
9328 \begin_layout Itemize
9335 \begin_layout Subsection
9336 Comandos no soportados por \SpecialChar LyX
9340 \begin_layout Standard
9341 Algunos comandos aún no son soportados por el formato
9346 Algunos se han mencionado ya.
9351 Pero aquí están todos juntos:
9354 \begin_layout Itemize
9362 \begin_layout Itemize
9370 \begin_layout Itemize
9378 \begin_layout Itemize
9386 \begin_layout Itemize
9394 \begin_layout Itemize
9402 \begin_layout Itemize
9410 \begin_layout Itemize
9418 \begin_layout Standard
9419 Si quieres usar alguno de ellos tienes que introducirlos a mano, y
9421 ¡no olvides marcarlos en código \SpecialChar LaTeX
9425 \begin_layout Subsection
9426 Figuras y cuadros flotantes
9429 \begin_layout Standard
9431 proporciona soporte para poner figuras y cuadros flotantes, por tanto no
9432 queremos decir mucho más sobre ello.
9438 Solo recordaremos que los cuadros deben alinearse a la izquierda.
9439 Para eso selecciona el cuadro y cambia la alineación en
9441 Editar\SpecialChar menuseparator
9443 \begin_inset space ~
9447 \begin_inset space ~
9453 \begin_layout Standard
9454 Hay un apunte particular: las figuras que deben llevar el título del encabezado
9456 Para insertar estas figuras has de hacer lo siguiente:
9459 \begin_layout Enumerate
9460 Crea un flotante de figura ancha:
9466 Insertar\SpecialChar menuseparator
9467 Flotante\SpecialChar menuseparator
9470 , después haz clic derecho en la figura y selecciona
9473 \begin_inset space ~
9481 \begin_layout Enumerate
9482 Introduce el texto del encabezado.
9485 \begin_layout Enumerate
9490 para mover el cursor sobre el encabezado.
9493 \begin_layout Enumerate
9497 \begin_layout Enumerate
9498 Coloca el cursor tras la figura e inserta un relleno horizontal:
9500 Insertar\SpecialChar menuseparator
9502 \begin_inset space ~
9505 especial\SpecialChar menuseparator
9507 \begin_inset space ~
9515 \begin_layout Enumerate
9516 Cambia a modo \SpecialChar LaTeX
9524 \begin_layout Enumerate
9534 ¡No cierres la llave!
9537 \begin_layout Enumerate
9538 Coloca el cursor tras el texto del encabezado, cambia a modo \SpecialChar LaTeX
9549 \begin_layout Standard
9550 Además, consulta el ejemplo de
9557 \begin_layout Subsection
9561 \begin_layout Standard
9562 Antes de remitir el artículo a los editores hay que darle un formato especial
9564 Para eso hay que pasar la opción
9568 a la clase de documento, simplemente introduciendo esa palabra en el campo
9578 \begin_inset space ~
9586 \begin_inset space ~
9597 \SpecialChar menuseparator
9605 \begin_layout Subsection
9609 \begin_layout Standard
9614 contiene un ejemplo del formato
9618 escrito con \SpecialChar LyX
9620 Es el ejemplo del paquete de macros original, traducido a \SpecialChar LyX
9622 Puede servirte de inspiración, y para comparar el código \SpecialChar LaTeX
9624 el generado por \SpecialChar LyX
9628 \begin_layout Section
9633 \begin_layout Standard
9639 \begin_layout Subsection
9643 \begin_layout Standard
9645 es un conjunto de macros producidas por la
9647 American Astronomical Society
9649 para facilitar la remisión de manuscritos electrónicos a las tres revistas
9652 Astrophysical Journal
9654 (incluyendo Cartas y Suplemento),
9656 Astronomical Journal
9660 Publications of the Astronomical Society of the Pacific
9664 ha demostrado ser una herramienta excelente para generar estos documentos,
9665 especialmente por su capacidad para el manejo de ecuaciones, citas y figuras.
9667 requiere la versión 5.0 (o superior) de estas macros; preferiblemente 5.2,
9668 que es la versión aquí explicada, o mayor.
9669 Las versiones anteriores a 5.0 están pensadas para usar con \SpecialChar LaTeX
9670 2.09 y son básicament
9671 e incompatibles con \SpecialChar LyX
9673 El paquete AAS\SpecialChar TeX
9674 se puede obtener del sitio web de AAS\SpecialChar TeX
9678 \begin_layout Standard
9679 \begin_inset VSpace medskip
9685 \begin_layout Standard
9687 \begin_inset Flex URL
9690 \begin_layout Plain Layout
9692 https://aas.org/aastex/aastex-downloads
9700 \begin_layout Standard
9701 \begin_inset VSpace medskip
9707 \begin_layout Standard
9708 Contiene una completa guía del usuario con la que deberías familiarizarte
9709 antes de embarcarte en la escritura de estos documentos en \SpecialChar LyX
9712 no reduce la necesidad de comprender todos los comandos AAS\SpecialChar TeX
9714 la tediosa faena de teclearlo todo.
9715 Es de tu incumbencia comprobar que el documento final exportado a \SpecialChar LaTeX
9717 ente conforme con los requerimientos de la revista a la que se remite.
9720 \begin_layout Subsection
9721 Empezar un artículo nuevo
9724 \begin_layout Standard
9725 Recomiendo encarecidamente que comiences con el archivo de plantilla modelo
9726 de AAS\SpecialChar TeX
9730 Archivo\SpecialChar menuseparator
9732 \begin_inset space ~
9736 \begin_inset space ~
9741 , introduce el nombre del nuevo archivo, y luego escoge el archivo
9746 Este contempla los campos más habituales presentes en un manuscrito.
9747 Simplemente tienes que sustituir el texto existente (incluyendo las abrazaderas
9752 ) con el texto personal.
9753 Muchos de los comandos y entornos AAS\SpecialChar TeX
9754 se pueden implementar directamente
9756 , pero algunos no: los más destacables son
9768 , que resaltarán como luciérnagas en la noche en la plantilla recién abierta.
9769 Comandos como estos deben introducirse directamente en código \SpecialChar TeX
9776 He intentado reducir la cantidad de código \SpecialChar TeX
9777 necesario en documentos AAS\SpecialChar TeX
9779 pero aún queda más del que quisiéramos.
9782 \begin_layout Subsection
9783 Finalizar el artículo
9786 \begin_layout Standard
9787 Cuando has acabado satisfactoriamente el artículo, y se puede ver/imprimir
9788 correctamente, quedan pendientes algunas acciones de
9789 \begin_inset Quotes cld
9793 \begin_inset Quotes crd
9796 antes de remitir el trabajo.
9799 \begin_layout Enumerate
9800 Exporta el documento a archivo \SpecialChar LaTeX
9803 Archivo\SpecialChar menuseparator
9804 Exportar\SpecialChar menuseparator
9815 \begin_layout Enumerate
9816 Edita el archivo resultante
9820 con tu editor de textos favorito.
9824 \begin_layout Enumerate
9825 quita las líneas de comentario antes del comando
9832 \begin_layout Enumerate
9837 usepackage...{fontenc}
9839 si está (generalmente justo detrás de
9845 }; quita también la línea
9854 \begin_layout Enumerate
9855 quita todo entre los comandos
9867 , ambos incluidos, excepto comandos que hayas puesto específicamente en
9868 el preámbulo (que deberían aparecer inmediatamente después del comentario
9870 \begin_inset Quotes cld
9873 User specified \SpecialChar LaTeX
9875 \begin_inset Quotes crd
9886 \begin_layout Enumerate
9887 Ejecuta el archivo resultante con \SpecialChar LaTeX
9888 para asegurar que se procesa correctamente.
9891 \begin_layout Enumerate
9892 Relee los requerimientos del editor para comprobar que los nombres de los
9893 archivos y los formatos son correctos.
9896 \begin_layout Enumerate
9900 \begin_layout Subsection
9901 Comentarios sobre comandos específicos
9904 \begin_layout Standard
9905 No voy a describir el empleo detallado de los comandos individuales de AAS\SpecialChar TeX
9907 la Guía del Usuario de AAS\SpecialChar TeX
9912 ) da una buena descripción de ellos.
9913 Así que lo más fácil para mí es dar la lista tal como aparece en la guía
9914 y hacer comentarios donde proceda.
9915 Comencemos\SpecialChar ldots
9919 \begin_layout Subsubsection
9920 Cosas que funcionan como es de esperar
9923 \begin_layout Standard
9924 Puesto que funcionan como es de esperar, solo las enumero con la sección
9925 donde se encuentran:
10025 begin{thebibliography}
10033 (2.13.2), todos los comandos de citas y sus variantes (2.13.2), los comandos
10034 genéricos de figuras,
10062 (2.15.4, entre otros sitios),
10089 \begin_layout Standard
10090 Las siguientes opciones de estilo también funcionan:
10111 Simplemente pónlos en el cuadro de
10119 \SpecialChar menuseparator
10127 \begin_layout Subsubsection
10128 Cosas que funcionan, pero\SpecialChar ldots
10132 \begin_layout Standard
10133 Las siguientes opciones funcionan, pero requieren algunas aclaraciones:
10136 \begin_layout Itemize
10137 Las siguientes se reservan para los editores, pero puedes ponerlas en el
10138 preámbulo \SpecialChar LaTeX
10169 (todas desde 2.1.3)
10172 \begin_layout Itemize
10173 Estas opciones se pueden situar en el preámbulo \SpecialChar LaTeX
10174 , y se incluyen en blanco
10196 \begin_layout Itemize
10203 (2.3) solo se puede poner separado, no en mitad de un párrafo.
10204 Usa código \SpecialChar TeX
10205 si necesitas empotrarlo.
10208 \begin_layout Itemize
10215 (2.3) tendrá {} extra tras él.
10216 Esto no debería producir error.
10219 \begin_layout Itemize
10226 (2.6) solo se puede poner separado, no en mitad de un párrafo.
10227 Usa código \SpecialChar TeX
10228 si necesitas empotrarlo.
10231 \begin_layout Itemize
10238 (2.8) no puede insertar etiquetas de referencias cruzadas, hay que introducirlo
10242 \begin_layout Itemize
10249 (2.8) igual que para
10256 \begin_layout Itemize
10263 (2.9) tendrá {} extra tras él.
10264 Esto no debería producir error.
10267 \begin_layout Itemize
10274 (2.11) tendrá {} extra tras él.
10275 Esto no debería producir error.
10278 \begin_layout Itemize
10285 (2.14.2) puedes insertar un argumento de nombre opcional situando el cursor
10286 al inicio del texto y seleccionando
10288 Insertar\SpecialChar menuseparator
10293 \begin_inset Quotes cld
10297 \begin_inset Quotes crd
10300 inserta un argumento opcional del tipo necesitado por
10307 Debería ser renombrado algún día.
10311 \begin_layout Itemize
10318 (2.17.1) lo mismo que en
10324 para el parámetro opcional de catálogo ID.
10327 \begin_layout Itemize
10334 (2.17.1) lo mismo que en
10340 para el parámetro opcional de catálogo ID.
10343 \begin_layout Subsubsection
10344 Cosas no implementadas, código \SpecialChar TeX
10348 \begin_layout Standard
10371 setcounter{equation}
10373 (2.12), Journal abreviaciones (2.13.4),
10409 (2.15.4, insertar como primer elemento en la celda izquierda y después donde
10411 No uses ninguna regla de \SpecialChar LyX
10424 (2.15.5), mucho de Misc (2.17, excepto
10475 \begin_layout Subsubsection
10476 Cosas que no pueden implementarse
10479 \begin_layout Standard
10481 al menos de forma significativa, así que sugiero ignorarlas.
10491 Si de verdad necesitas usar
10495 , sugiero editar un archivo aparte con un editor de textos, y luego incluirlo
10496 en el documento \SpecialChar LyX
10499 Insertar\SpecialChar menuseparator
10503 \begin_inset space ~
10518 \begin_layout Subsection
10519 FAQs, consejos, trucos, y otras reflexiones
10522 \begin_layout Subsubsection
10523 Conseguir que \SpecialChar LyX
10524 y AAS\SpecialChar TeX
10528 \begin_layout Standard
10529 Puede ser un poco complicado hacer que \SpecialChar LyX
10530 reconozca un nuevo formato y una
10532 Si todo lo demás falla, haz lo siguiente:
10535 \begin_layout Enumerate
10536 Comprueba que \SpecialChar LaTeX
10537 encuentra a AAS\SpecialChar TeX
10547 ) de la distribución de AAS\SpecialChar TeX
10548 en un directorio totalmente independiente de
10554 AAS\SpecialChar TeX
10555 y ejecuta \SpecialChar LaTeX
10563 \begin_layout Enumerate
10570 /usr/.../share/lyx/layouts
10579 \begin_layout Enumerate
10582 Herramientas\SpecialChar menuseparator
10585 en \SpecialChar LyX
10586 , y reinicia \SpecialChar LyX
10590 \begin_layout Enumerate
10591 Abre un archivo nuevo normal, no desde plantilla.
10592 ¿Aparece AAS\SpecialChar TeX
10593 en la lista desplegable de clases en
10595 Documento\SpecialChar menuseparator
10601 \begin_layout Standard
10602 Si al abrir un documento AAS\SpecialChar TeX
10603 recibes un aviso de que no se encuentra la
10604 clase AAS\SpecialChar TeX
10605 , o un mensaje como
10606 \begin_inset Quotes cld
10609 You should not mix title layouts with normal ones
10610 \begin_inset Quotes crd
10613 , la instalación no ha sido correcta.
10616 \begin_layout Subsubsection
10617 Error de \SpecialChar LaTeX
10618 al procesar un cuadro
10621 \begin_layout Standard
10623 , por omisión, intenta centrar el encabezado/título del cuadro.
10624 Esto parece ocasionar una mala interacción con AAS\SpecialChar TeX
10625 ; entonces debes hacer
10626 clic en algún sitio del encabezado/título, después abrir la
10631 \begin_inset space ~
10639 \begin_inset space ~
10655 En mi caso, esto ha resuelto el problema.
10658 \begin_layout Subsubsection
10662 \begin_layout Standard
10663 Un par de cosas: 1) He observado algunos espacios raros en las entradas
10664 de la bibliografía.
10665 Cuando introduzcas los datos de los ítems de la bibliografía, cuida que
10670 haya espacio entre el último autor y el paréntesis que contiene el año;
10672 \begin_inset space \thinspace{}
10684 2) Introducir las referencias no es nada obvio.
10685 La cosa más fácil es empezar escribiendo tu primera cita al final del documento
10686 , y después marcarla como
10691 Esto pondrá un pequeño recuadro gris delante de lo recién escrito.
10692 Clic en el recuadro para rellenar el resto de la información.
10693 Para nuevas referencias, ve al final de una referencia existente y pulsa
10699 Esto creará una línea nueva con su propio recuadro, etc.
10702 \begin_layout Subsubsection
10703 Incluir archivos EPS
10706 \begin_layout Standard
10707 Aunque AAS\SpecialChar TeX
10708 provee sus propios comandos de gráficos (
10714 , por ejemplo), prefiero los comandos estándar de \SpecialChar LaTeX
10715 (con el predeterminado
10721 Puedes insertar los comandos
10728 \begin_inset space ~
10731 como código \SpecialChar TeX
10732 en una Figura Flotante si lo deseas, pero yo nunca he tenido
10733 la suerte de conseguir un formato correcto.
10734 Con los gráficos estándar, \SpecialChar LyX
10739 usepackage{graphicx}
10741 en el preámbulo \SpecialChar LaTeX
10742 y maneja las figuras de la manera habitual en \SpecialChar LaTeX2e
10744 las figuras en el texto.
10745 Recuerdo que ApJ acepta ahora figuras exactamente de esta forma; AJ podría
10746 usar todavía la técnica
10747 \begin_inset Quotes cld
10750 apilar todo al final
10751 \begin_inset Quotes crd
10757 \begin_layout Subsubsection
10758 Cosas que podría haber hecho, y no he hecho
10761 \begin_layout Standard
10762 Podría haber implementado unas pocas cosas
10763 \begin_inset Quotes cld
10767 \begin_inset Quotes crd
10770 , pero decidí no hacerlo.
10771 Por ejemplo, no veía la utilidad en presentar doble espacio entre líneas
10772 en la ventana de \SpecialChar LyX
10773 , aunque lo tenga en la salida impresa.
10774 También decidí no hacer formatos separados para los estilos
10783 Como supongo que pasas la mayor parte del tiempo en el modo manuscrito
10784 simple, he preferido no comer más espacio de disco con esto.
10788 \begin_layout Subsection
10792 \begin_layout Standard
10793 Tu recorrido puede variar.
10794 He escrito artículos publicados por ApJ y AJ en los que el 98
10795 \begin_inset space \thinspace{}
10798 % de la tarea ha corrido a cuenta de \SpecialChar LyX
10800 \begin_inset space \thinspace{}
10803 % restante ha correspondido a postprocesamiento con \SpecialChar LaTeX
10804 y un poco de limpieza
10806 No he tenido problemas con el procedimiento de envío, y estoy seguro de
10807 que los editores no notaron diferencias.
10808 Así pues, ¡adelante, a publicar!
10811 \begin_layout Section
10812 AMS \SpecialChar LaTeX
10816 \begin_layout Standard
10826 \begin_layout Standard
10827 \begin_inset VSpace bigskip
10833 \begin_layout Standard
10835 Los formatos AMS \SpecialChar LaTeX
10836 están configurados para adaptarse a los estilos recomendados
10839 American Mathematical Society
10841 para sus publicaciones.
10842 Estos formatos no están definidos para una revista en particular, pero
10843 se pueden adaptar fácilmente.
10844 En la documentación de AMS (disponible en
10845 \begin_inset Flex URL
10848 \begin_layout Plain Layout
10856 \begin_inset Flex URL
10859 \begin_layout Plain Layout
10861 ftp://ftp.ams.org/pub/tex/amslatex/
10866 ) encontrarás instrucciones específicas para cada publicación (generalmente
10867 será cuestión de cambiar una simple línea).
10868 Estos formatos son apropiados, y útiles, para cualquier escrito de matemáticas.
10871 \begin_layout Standard
10873 Hay dos formatos básicos AMS \SpecialChar LaTeX
10877 \begin_layout Itemize
10878 amsart: formato estándar de artículo AMS
10881 \begin_layout Itemize
10882 amsbook: formato estándar de libro AMS (en realidad, monografía)
10885 \begin_layout Standard
10886 Los formatos por sí mismos solo contienen el mínimo necesario para usar
10888 En particular, no contienen ninguno de los entornos 'teorema' utilizados
10889 para establecer teoremas, lemas y demás.
10890 Estos se encuentran, en cambio, en el módulo
10891 \begin_inset Flex Code
10894 \begin_layout Plain Layout
10900 , que se carga por omisión cuando seleccionas una de las clases AMS.
10901 (Además se puede usar con otras clases y se puede quitar, si prefieres
10903 Hay entornos menos utilizados en el módulo
10904 \begin_inset Flex Code
10907 \begin_layout Plain Layout
10908 Teoremas (AMS-Extendido)
10913 , que se debe cargar a mano.
10916 \begin_layout Standard
10917 Por omisión, los teoremas y demás se numeran consecutivamente a lo largo
10918 del documento, pero esto se puede modificar cargando el módulo
10919 \begin_inset Flex Code
10922 \begin_layout Plain Layout
10923 Teoremas (por secciones)
10929 \begin_inset Flex Code
10932 \begin_layout Plain Layout
10939 \begin_inset Flex Code
10942 \begin_layout Plain Layout
10943 Teoremas (por capítulos)
10949 Estos numerarán los resultados como
10950 \begin_inset Formula $n.m$
10953 , donde el primer número se refiere a la sección (o capítulo) y el segundo
10954 al número total de resultados hasta ese momento en la sección (o capítulo).
10955 Muchos entornos también están disponibles sin numeración.
10956 Estos se indican mediante un asterisco al final.
10957 Si es el caso que quieres
10961 resultados sin numerar, el módulo
10962 \begin_inset Flex Code
10965 \begin_layout Plain Layout
10966 Teoremas (asterisco)
10971 proporciona esta opción.
10974 \begin_layout Standard
10975 Hay que tener en cuenta que estos módulos no
10979 utilizarse con las clases AMS.
10980 Es perfectamente posible usar el módulo
10981 \begin_inset Flex Code
10984 \begin_layout Plain Layout
10990 y los otros mencionados con otras clases, como
10991 \begin_inset Flex Code
10994 \begin_layout Plain Layout
11001 \begin_inset Flex Code
11004 \begin_layout Plain Layout
11011 \begin_inset Flex Code
11014 \begin_layout Plain Layout
11023 \begin_layout Subsection
11024 Qué proporcionan estos formatos
11027 \begin_layout Standard
11028 Estos formatos proporcionan una larga lista de entornos incluidos.
11029 En AMS-\SpecialChar LaTeX
11030 se puede definir, de hecho, una variedad ilimitada de entornos
11032 Sin embargo AMS recomienda utilizar los entornos que están disponibles
11033 en \SpecialChar LyX
11038 \begin_layout Standard
11039 Los siguientes entornos —así como los entornos estándar como
11040 \begin_inset Flex Noun
11043 \begin_layout Plain Layout
11050 \begin_inset Flex Noun
11053 \begin_layout Plain Layout
11060 \begin_inset Flex Noun
11063 \begin_layout Plain Layout
11070 \begin_inset Flex Noun
11073 \begin_layout Plain Layout
11080 \begin_inset Flex Noun
11083 \begin_layout Plain Layout
11089 — son suministrados por
11090 \begin_inset Flex Code
11093 \begin_layout Plain Layout
11100 \begin_inset Flex Code
11103 \begin_layout Plain Layout
11112 \begin_layout Description
11113 Dirección Esto debería ser la dirección permanente del autor.
11116 \begin_layout Description
11118 \begin_inset space ~
11121 actual Debería ser la dirección provisional del autor en el momento de la
11122 presentación, si es diferente de la Dirección.
11125 \begin_layout Description
11127 \begin_inset space ~
11130 electrónico Dirección de correo electrónico del autor.
11133 \begin_layout Description
11134 URL Dirección de la página web del autor, si se quiere.
11137 \begin_layout Description
11138 Claves Palabras o frases claves usadas para identificar temas específicos
11139 tratados en el artículo.
11142 \begin_layout Description
11143 ClaseTema Se refiere a la Clasificación de temas de AMS, publicada y descrita
11146 Mathematical Reviews
11149 También están disponibles en línea en los sitios AMS citados arriba.
11152 \begin_layout Description
11156 \begin_layout Description
11160 \begin_layout Description
11164 \begin_layout Standard
11165 Los siguientes entornos son suministrados por ambos módulos
11166 \begin_inset Flex Code
11169 \begin_layout Plain Layout
11176 \begin_inset Flex Code
11179 \begin_layout Plain Layout
11185 , en el segundo caso en ambas versiones no numerada (asterisco) y numerada
11187 Estos mismos entornos son suministrados solo en la versión con asterisco
11189 \begin_inset Flex Code
11192 \begin_layout Plain Layout
11193 Teoremas (asterisco)
11201 \begin_layout Theorem
11202 Se usa típicamente para declaraciones fundamentales.
11205 \begin_layout Corollary*
11206 Se usa para declaraciones que se siguen justa y directamente de declaraciones
11208 De nuevo, pueden ser resultados fundamentales.
11212 \begin_layout Lemma
11213 Resultados de menor importancia necesarios para probar otras declaraciones.
11216 \begin_layout Proposition
11217 Son resultados menos importantes que (es de esperar) se añaden a la teoría
11218 general en discusión.
11221 \begin_layout Conjecture
11222 Son afirmaciones propuestas sin justificación, que el autor no sabe como
11223 probar, pero que parecen ser ciertas (al menos para el autor).
11226 \begin_layout Definition*
11227 Adivina para qué es esto.
11228 La letra es distinta en este entorno que en los anteriores.
11231 \begin_layout Example*
11232 Se usa para ejemplos que ilustran resultados probados.
11235 \begin_layout Problem
11236 Realmente no se sabe para qué es esto.
11240 \begin_layout Exercise*
11241 Escribe una descripción para esto.
11244 \begin_layout Remark
11245 Este entorno es también un tipo de teorema, generalmente un tipo menor de
11249 \begin_layout Claim*
11250 Usada a menudo en el curso de una demostración de un resultado más amplio.
11254 Generalmente se usan para interrumpir argumentos largos, usando casos específico
11255 s de alguna condición.
11259 El esquema de numeración de casos es propio, independiente de otras declaracione
11263 \begin_layout Proof
11264 Al final de este entorno se coloca un símbolo QED (generalmente un cuadrado,
11265 aunque puede variar con estilos diferentes).
11266 Si quieres tener otros entornos dentro de este —por ejemplo, un entorno
11267 Caso— y quieres que el símbolo QED aparezca solo tras ellos, entonces los
11268 demás entornos tienen que anidarse dentro del entorno demostración.
11271 Anidación de entornos
11277 para información sobre anidación.
11280 \begin_layout Standard
11281 Y estos son los entornos suministrados por
11282 \begin_inset Flex Code
11285 \begin_layout Plain Layout
11286 Teoremas (AMS extendido)
11294 \begin_layout Criterion*
11295 Una condición requerida.
11298 \begin_layout Algorithm*
11299 Un procedimiento general a utilizar.
11302 \begin_layout Axiom*
11303 Esto es una propiedad o declaración tomada como verdadera dentro del sistema
11307 \begin_layout Condition*
11308 Utilizado a veces para establecer una condición asumida en el presente contexto
11312 \begin_layout Note*
11313 Similar a Observación.
11316 \begin_layout Notation*
11317 Usado para la explicación de una notación, sí.
11320 \begin_layout Summary
11321 ¿Necesitamos explicarlo?
11324 \begin_layout Acknowledgement*
11328 \begin_layout Conclusion*
11329 Usado a veces al final de una larga cadena de argumentos.
11333 Se usa en forma parecida a Proposición, aunque quizá a una menor escala.
11336 \begin_layout Standard
11337 Además, Las clases AMS suministran automáticamente los paquetes de tipografía
11338 AMS \SpecialChar LaTeX
11340 Deben estar disponibles en tu sistema para usar estos entornos.
11343 \begin_layout Section
11344 Publicaciones de AGU (
11351 \begin_layout Standard
11357 \begin_layout Subsection
11361 \begin_layout Standard
11362 Son los archivos de formato para algunas de las publicaciones de la
11364 American Geophysical Society
11367 Se supone que tienes instalados los archivos de clase propios de AGU y
11368 AGUplus (todo se encuentra en
11369 \begin_inset Flex URL
11372 \begin_layout Plain Layout
11374 http://publications.agu.org/files/2013/08/AGU-LaTeX.zip
11382 \begin_layout Subsection
11386 \begin_layout Standard
11396 Aún se llaman así en la interfaz de \SpecialChar LyX
11397 , aunque sus equivalentes \SpecialChar LaTeX
11410 \begin_layout Standard
11411 Los estilos definidos de nuevo son
11448 En su mayoría son atributos del manuscrito definidos en la documentación
11452 \begin_layout Standard
11453 Sospecho que esto aún está incompleto.
11456 \begin_layout Subsection
11460 \begin_layout Standard
11470 También tenemos un nuevo
11477 \begin_layout Subsection
11478 Publicaciones soportadas
11481 \begin_layout Itemize
11484 Journal of Geophysical Research
11493 \begin_layout Standard
11494 ¡Añade los tuyos, no es tan duro! Mira en los ejemplos
11505 \begin_layout Subsection
11506 Fallos y cosas que recordar
11509 \begin_layout Standard
11510 Para usar los nuevos formatos, debes tener en cuenta lo siguiente:
11513 \begin_layout Enumerate
11521 Herramientas\SpecialChar menuseparator
11522 Preferencias\SpecialChar menuseparator
11526 (Los artículos AGU siempre son en inglés ¿de acuerdo? Así que
11530 cambies el lenguaje).
11533 \begin_layout Enumerate
11542 de la configuración del documento.
11543 (Sí, hay un fallo).
11546 \begin_layout Enumerate
11547 Comprueba que usas el estilo de bibliografía
11555 en el segundo campo de Bib\SpecialChar TeX
11557 Ninguno de los estilos estándar lo hace.
11560 \begin_layout Section
11564 \begin_layout Standard
11570 \begin_layout Subsection
11574 \begin_layout Standard
11575 Broadway se usa para escribir guiones teatrales.
11576 El formato es más decorativo que el de Hollywood, y mucho menos normalizado.
11577 Este formato debería ser adecuado para los lugares de trabajo.
11580 \begin_layout Subsection
11581 Problemas especiales
11584 \begin_layout Standard
11585 Los mismos que en el caso de
11592 \begin_layout Subsection
11593 Características especiales
11596 \begin_layout Standard
11597 Introduce los nombres de los personajes
11601 como etiquetas, después haz una referencia cruzada a la etiqueta para insertar
11603 El diálogo de referencia cruzada mostrará el conjunto de personajes.
11606 \begin_layout Subsection
11607 Tamaño del papel y márgenes
11610 \begin_layout Standard
11611 USLetter, izquierdo 1.6
11612 \begin_inset space \thinspace{}
11616 \begin_inset space \thinspace{}
11620 \begin_inset space \thinspace{}
11624 \begin_inset space \thinspace{}
11630 \begin_layout Subsection
11634 \begin_layout Standard
11635 Están disponibles los entornos siguientes.
11636 Los atajos de teclado indicados a la derecha funcionan con el archivo
11643 \begin_layout Itemize
11647 \begin_inset Newline newline
11652 No deberías necesitarlo, pero está por si alguna cosa no cuadra en ninguno
11653 de los demás entornos.
11656 \begin_layout Itemize
11660 \begin_inset space \hfill{}
11664 \begin_inset Newline newline
11669 Se usa para la descripción del escenario y de la acción.
11670 La primera aparición de un personaje en MAYÚSCULAS.
11673 \begin_layout Itemize
11677 \begin_inset space \hfill{}
11681 \begin_inset Newline newline
11686 Automáticamente numerado.
11687 En pantalla se verá en números arábigos, pero se imprimirá en números romanos.
11690 \begin_layout Itemize
11694 \begin_inset space \hfill{}
11698 \begin_inset Newline newline
11711 \begin_layout Itemize
11715 \begin_inset space \hfill{}
11719 \begin_inset Newline newline
11724 No es automáticamente numerado, debes ponerlo.
11725 Esto es porque no he sabido cómo hacerlo.
11728 \begin_layout Itemize
11732 \begin_inset space \hfill{}
11736 \begin_inset Newline newline
11741 Un caso especial de
11745 para describir el escenario y la acción cuando se levanta el telón.
11748 \begin_layout Itemize
11752 \begin_inset space \hfill{}
11756 \begin_inset Newline newline
11761 El nombre del personaje (del actor), centrado, en MAYÚSCULAS.
11764 \begin_layout Itemize
11768 \begin_inset space \hfill{}
11772 \begin_inset Newline newline
11777 Instrucciones para el portavoz.
11778 Los paréntesis se insertan automáticamente.
11779 Solo ( se muestra en pantalla, pero se imprimirán ambos.
11780 Este entorno solo se usa dentro del entorno
11787 \begin_layout Itemize
11791 \begin_inset space \hfill{}
11795 \begin_inset Newline newline
11800 Lo que dice el personaje portavoz.
11803 \begin_layout Itemize
11807 \begin_inset space \hfill{}
11811 \begin_inset Newline newline
11819 \begin_layout Itemize
11823 \begin_inset space \hfill{}
11829 \begin_layout Itemize
11833 \begin_inset space \hfill{}
11839 \begin_layout Itemize
11843 \begin_inset space \hfill{}
11849 \begin_layout Standard
11850 Un saludo para todos.
11853 \begin_layout Section
11857 \begin_layout Standard
11858 La clase de documento
11862 sirve para escribir cartas de acuerdo con las convenciones alemanas.
11863 Se incluye un archivo modelo como punto de partida, en
11865 .../lyx/share/templates
11870 \begin_layout Section
11871 Publicaciones de EGS (
11878 \begin_layout Standard
11884 \begin_layout Subsection
11888 \begin_layout Standard
11889 Este es el formato para las revistas de
11891 European Geophysical Society
11898 necesarios se pueden descargar del sitio web de EGS:
11899 \begin_inset Flex URL
11902 \begin_layout Plain Layout
11912 \begin_layout Subsection
11916 \begin_layout Standard
11919 Dirección_dcha, Título_Latex, Afil, Publicación, NúmeroMS, PrimerAutor,
11927 Desgraciadamente, el actual archivo de formato es muy poco modular y podría
11928 beneficiarse de la inclusión de varios archivos
11935 \begin_layout Section
11936 Publicaciones de Elsevier
11939 \begin_layout Standard
11940 Véase el archivo de plantilla de \SpecialChar LyX
11946 Contiene la información necesaria.
11949 \begin_layout Section
11959 \begin_inset CommandInset label
11968 \begin_layout Standard
11974 \begin_layout Subsection
11978 \begin_layout Standard
11979 En esta sección se describe cómo hacer transparencias para proyectores con
11982 Hay dos clases de documento que permiten hacerlas: la clase predeterminada
11996 Esta sección se ocupa de esta última.
11999 \begin_layout Standard
12000 Repito de nuevo alto y claro, para que no haya equívocos:
12003 \begin_layout Standard
12004 \begin_inset VSpace bigskip
12010 \begin_layout Standard
12019 \begin_inset space ~
12030 \begin_layout Standard
12031 \begin_inset VSpace bigskip
12037 \begin_layout Standard
12038 Si buscas la documentación para
12043 \begin_inset space ~
12047 \begin_inset CommandInset ref
12049 reference "sec:slitex"
12054 Si tu sistema no dispone de la clase
12058 , tendrás que usar la clase
12062 , que no es tan buena como
12067 \begin_layout Standard
12072 está diseñada para usar con la versión
12073 \begin_inset space ~
12076 2.1 de la clase \SpecialChar LaTeX
12081 , que forma parte de \SpecialChar LaTeX2e
12085 \begin_layout Subsection
12089 \begin_layout Standard
12090 Obviamente, para usar esta clase, debes seleccionar
12096 Documento\SpecialChar menuseparator
12100 Algunas de las configuraciones de este diálogo son específicas de esta
12101 clase y deberían quedar así:
12104 \begin_layout Itemize
12105 No cambies las opciones
12114 No se tienen en cuenta por la clase
12121 \begin_layout Itemize
12122 El tamaño de letra por omisión es 20
12123 \begin_inset space \thinspace{}
12126 pt, y las otras opciones son 17
12127 \begin_inset space \thinspace{}
12131 \begin_inset space \thinspace{}
12135 \begin_inset space \thinspace{}
12141 \begin_layout Itemize
12142 La tipografía predeterminada es
12150 , pero en las ecuaciones matemáticas se usa la habitual fuente romana.
12153 \begin_layout Itemize
12159 soporta los tamaños de papel A4 y Letter, así como un tamaño especial para
12160 trabajar con diapositivas de 35
12161 \begin_inset space \thinspace{}
12165 No soporta los tamaños A5, B5, legal o executive.
12168 \begin_layout Itemize
12169 No enredes cambiando la colocación de flotantes porque se ignoran en todo
12171 Los flotantes aparecen siempre en el lugar del texto donde se pongan.
12174 \begin_layout Itemize
12175 La configuración del
12178 \begin_inset space ~
12182 \begin_inset space ~
12187 funciona un poco distinto para esta clase.
12193 proporciona amplias capacidades para el encabezado y el pie, incluyendo
12194 el uso de logos personalizados.
12196 \begin_inset space ~
12200 \begin_inset CommandInset ref
12202 reference "sec:foilfoot"
12207 La página de título se trata de manera diferente a las demás páginas,
12215 pone el logo, (si se define uno), centrado en la parte inferior de la página.
12216 Las opciones posibles de estilo de página son:
12220 \begin_layout Labeling
12221 \labelwidthstring MMMMMMM
12228 El documento de salida no contiene números de página, ni encabezados ni
12229 pies (excepto notas al pie, claro).
12233 \begin_layout Labeling
12234 \labelwidthstring MMMMMMM
12241 La salida contiene números de página centrados en la parte inferior.
12242 No contiene encabezados ni pies (que no sean notas).
12245 \begin_layout Labeling
12246 \labelwidthstring MMMMMMM
12253 Números de página en la esquina inferior derecha.
12254 Además se muestran encabezados y pies.
12255 Esta es la opción por omisión.
12258 \begin_layout Labeling
12259 \labelwidthstring MMMMMMM
12266 Da acceso al paquete
12275 desaconseja su empleo a causa de potenciales conflictos con el diseño de
12280 \begin_layout Subsubsection
12284 \begin_layout Standard
12287 Documento\SpecialChar menuseparator
12290 se pueden poner las siguientes opciones extras:
12293 \begin_layout Labeling
12294 \labelwidthstring MMMMMMx
12299 Establece el formato de papel en 7.33
12300 \begin_inset space \thinspace{}
12304 \begin_inset space \thinspace{}
12307 in, que es aproximadamente el aspecto de una diapositiva de 35
12308 \begin_inset space \thinspace{}
12311 mm, Haciendo algo más fácil trabajar con este soporte.
12314 \begin_layout Labeling
12315 \labelwidthstring MMMMMMx
12320 Dibuja una línea bajo el encabezado en cada página excepto la de título.
12323 \begin_layout Labeling
12324 \labelwidthstring MMMMMMx
12329 Dibuja una línea sobre el pie de cada página excepto la de título.
12332 \begin_layout Labeling
12333 \labelwidthstring MMMMMMx
12338 Esto se configura automáticamente con cada nuevo documento
12348 que use el driver dvips para girar las páginas establecidas en modo apaisado.
12351 \begin_layout Labeling
12352 \labelwidthstring MMMMMMx
12357 Simplemente cambia las dimensiones de las páginas apaisadas pero no haceninguna
12359 Por tanto si usas esta opción necesitas un programa externo para rotar
12360 las páginas y alimentar la impresora en modo apaisado.
12361 Ten en cuenta que esta opción invierte los comportamientos de los entornos
12370 (que se describen en la siguiente sección).
12373 \begin_layout Labeling
12374 \labelwidthstring MMMMMMx
12379 Números de ecuación a la izquierda.
12382 \begin_layout Labeling
12383 \labelwidthstring MMMMMMx
12388 Ecuaciones ajustadas a la izquierda.
12391 \begin_layout Subsection
12392 Entornos soportados
12395 \begin_layout Standard
12396 La mayoría de los entornos habitualmente soportados en otras clases lo son
12397 también por la clase
12402 Hay varios entornos adicionales suministrados por
12407 así como un par añadidos por \SpecialChar LyX
12409 Los entornos siguientes son compartidos con otras clases:
12412 \begin_layout Standard
12413 \begin_inset Flex Multiple Columns
12416 \begin_layout Itemize
12422 \begin_layout Itemize
12428 \begin_layout Itemize
12434 \begin_layout Itemize
12440 \begin_layout Itemize
12446 \begin_layout Itemize
12449 Código-\SpecialChar LyX
12453 \begin_layout Itemize
12459 \begin_layout Itemize
12465 \begin_layout Itemize
12471 \begin_layout Itemize
12477 \begin_layout Itemize
12483 \begin_layout Itemize
12489 \begin_layout Itemize
12495 \begin_layout Itemize
12501 \begin_layout Itemize
12507 \begin_layout Itemize
12513 \begin_layout Itemize
12519 \begin_layout Itemize
12530 \begin_layout Standard
12531 Esto es, todos los entornos principales aparte de los entornos de secciones.
12536 contiene sus propias secciones, con un título y un cuerpo,
12541 proporciona comandos específicos para comenzar nuevas diapositivas, y son:
12544 \begin_layout Itemize
12547 Encabezado_Diapositiva
12550 \begin_layout Itemize
12553 Encabezado_Diapositiva_Giro
12556 \begin_layout Standard
12557 Además, \SpecialChar LyX
12558 provee versiones ligeramente modificadas de estos dos entornos,
12562 \begin_layout Itemize
12565 Encabezado_Diapositiva_Corto
12568 \begin_layout Itemize
12571 Encabezado_Diapositiva_Giro_Corto
12574 \begin_layout Standard
12575 cuyas diferencias serán explicadas en la siguiente sección.
12578 \begin_layout Standard
12579 Puesto que las diapositivas se emplean con frecuencia para presentaciones
12580 de ideas, teoremas y demás,
12585 proporciona además una extensa colección de entornos para estas cosas:
12588 \begin_layout Standard
12591 \begin_inset Flex Multiple Columns
12594 \begin_layout Itemize
12600 \begin_layout Itemize
12606 \begin_layout Itemize
12612 \begin_layout Itemize
12618 \begin_layout Itemize
12624 \begin_layout Itemize
12630 \begin_layout Itemize
12636 \begin_layout Itemize
12642 \begin_layout Itemize
12648 \begin_layout Itemize
12654 \begin_layout Itemize
12665 \begin_layout Standard
12666 Las versiones con asterisco son sin numeración y sin asterisco con numeración.
12667 Además hay dos entornos de lista añadidos por \SpecialChar LyX
12671 \begin_layout Itemize
12677 \begin_layout Itemize
12683 \begin_layout Standard
12689 proporciona algunas capacidades poderosas para encabezados y pies, que
12690 es mejor configurar en el preámbulo, aunque se puede hacer en cualquier
12691 lugar del documento.
12692 Si quieres hacerlo así, el mejor sitio es hacerlo al principio de una diapositi
12693 va, justo detrás del encabezado de la misma.
12696 \begin_layout Standard
12697 Para este propósito se suministran los siguientes estilos [
12704 \begin_layout Standard
12705 \begin_inset Flex Multiple Columns
12708 \begin_layout Itemize
12714 \begin_layout Itemize
12720 \begin_layout Itemize
12726 \begin_layout Itemize
12732 \begin_layout Itemize
12735 Encabezado_Izquierdo
12739 \begin_layout Plain Layout
12740 \begin_inset space ~
12752 \begin_layout Standard
12753 Hay algunos comandos de
12758 que \SpecialChar LyX
12759 no soporta directamente, pero se explica su función y su empleo en
12761 \begin_inset space ~
12765 \begin_inset CommandInset ref
12767 reference "sec:unsuppfoils"
12774 \begin_layout Subsection
12775 Diseño de una colección de diapositivas
12778 \begin_layout Standard
12779 Esta sección da una simple introducción a los diferentes entornos para construir
12780 una colección de diapositivas.
12785 ver un ejemplo echa un vistazo al archivo
12789 , accesible desde el botón
12795 Archivo\SpecialChar menuseparator
12799 \begin_layout Subsubsection
12803 \begin_layout Standard
12804 A diferencia de otras clases que proporcionan los entornos
12824 crea el título en una página propia.
12825 Si no pones entorno
12830 pondrá la fecha actual (cada vez que generes salida).
12833 \begin_layout Subsubsection
12834 Comenzar una diapositiva
12837 \begin_layout Standard
12838 Como mencioné antes, hay cuatro maneras de empezar una nueva diapositiva.
12839 Para la portada deberías usar
12842 \begin_inset space ~
12850 \begin_inset space ~
12854 \begin_inset space ~
12860 La diferencia entre estos es la cantidad de espacio entre el título (el
12861 encabezado) y el cuerpo de la diapositiva.
12864 \begin_layout Standard
12865 Las diapositivas apaisadas se generan con los entornos
12868 \begin_inset space ~
12872 \begin_inset space ~
12880 \begin_inset space ~
12884 \begin_inset space ~
12888 \begin_inset space ~
12894 De nuevo, la única diferencia es el espacio entre encabezado y cuerpo.
12895 Las dos versiones cortas ponen 0.5 pulgadas menos de separación.
12899 \begin_layout Standard
12900 Un problema con el soporte de las diapositivas apaisadas es el requerimiento
12901 de que debes usar el driver
12905 para generar la salida PostScript, si no las diapositivas no se giran.
12906 Es posible conseguir orientación apaisada incluso si no dispones de
12910 driver al configurar la salida a través de la impresora ;-)
12913 \begin_layout Subsubsection
12914 Teoremas, lemas, demostraciones y más
12917 \begin_layout Standard
12918 Debido a un pequeño fallo de \SpecialChar LyX
12919 no puedes poner seguidos dos de estos entornos
12921 Deben estar separados por algo.
12922 Si lo pruebas, observarás que el contenido del segundo entorno se añade
12923 al primero sin separación.
12924 ¿Cómo remediar este problema? Lo más sencillo es insertar algún texto entre
12925 los dos entornos, o añadir un entorno
12930 entre los dos con solo un
12931 \begin_inset Quotes cld
12939 \begin_inset Quotes crd
12943 Est forzará a \SpecialChar LyX
12944 a producir dos entornos separados y la salida será correcta.
12945 En el archivo de ejemplo suministrado con \SpecialChar LyX
12947 Recuerda, este problema solo sucede si intentas poner seguidos dos entornos
12948 de tipos como teorema.
12951 \begin_layout Subsubsection
12955 \begin_layout Standard
12956 Dispones de todos los tipos de listas habituales en otras clases más dos
12958 Solo describiré estas últimas.
12959 Para más información sobre los demás entornos de listas mira la
12964 Si piensas usar el entorno
12971 podrías mirar también en la sección
12972 \begin_inset space ~
12976 \begin_inset CommandInset ref
12978 reference "sec:Marcas"
12982 la descripción de la Selección de Marcas de Listas.
12985 \begin_layout Standard
12986 Los dos estilos nuevos de lista,
12989 \begin_inset space ~
12999 \begin_inset space ~
13006 , están diseñadas para facilitar la creación de listas del tipo
13007 \begin_inset Quotes cld
13011 \begin_inset Quotes crd
13015 \begin_inset Quotes cld
13019 \begin_inset Quotes crd
13022 suministrando entornos dedicados que ponen una señal o una cruz como etiqueta.
13023 De hecho, estas listas son versiones particularizadas del entorno
13032 debe estar instalado.
13035 \begin_layout Subsubsection
13039 \begin_layout Standard
13045 redefine los flotantes de figuras y cuadros para que aparezcan exactamente
13046 en su lugar en el texto más bien que al principio de la página o en alguna
13048 De hecho, si haces cambios en la colocación de los flotantes no serán tenidos
13052 \begin_layout Subsubsection
13053 Encabezados y pies de página
13054 \begin_inset CommandInset label
13056 name "sec:foilfoot"
13063 \begin_layout Standard
13067 \begin_inset space ~
13076 son comandos usados para controlar el texto del pie izquierdo de la página.
13077 El primero permite incluir un logotipo gráfico en las transparencias; por
13078 omisión se imprime el logotipo
13079 \begin_inset Quotes cld
13088 \begin_inset Quotes crd
13092 El segundo permite poner una clasificación para los asistentes, p.
13093 \begin_inset space \thinspace{}
13097 \begin_inset space ~
13101 Está vacío por omisión.
13104 \begin_layout Standard
13105 Las restantes esquinas de la página se pueden completar con
13108 \begin_inset space ~
13113 (por omisión los números de página),
13116 \begin_inset space ~
13124 \begin_inset space ~
13129 (arriba izquierda).
13132 \begin_layout Subsection
13139 \begin_inset CommandInset label
13141 name "sec:unsuppfoils"
13148 \begin_layout Standard
13149 Todos los comandos mencionados a continuación deben ponerse en un entorno
13151 , o en modo \SpecialChar TeX
13152 dentro de otro entorno.
13155 \begin_layout Subsubsection
13159 \begin_layout Standard
13160 Todas las longitudes se ajustan con el comando:
13163 \begin_layout Standard
13183 \begin_inset Newline newline
13190 es el nombre de la variable de longitud que se quiere cambiar y
13194 es el valor deseado para esa longitud.
13195 Las longitudes deben expresarse en unidades como pulgadas (
13211 o en unidades relativas a la dimensión de alguna parte del deocumento,
13222 \begin_layout Standard
13223 Es posible cambiar el espacio entre el encabezado y el cuerpo de una transparenc
13224 ia especificando una longitud con
13231 Por ejemplo, para acercar todos los encabezados al cuerpo en 0.5 pulgadas,
13232 pon en el preámbulo:
13238 foilheadskip}{-0.5in}
13241 \begin_layout Standard
13242 Los espacios alrededor de los flotantes se ajustan con las siguientes variables
13246 \begin_layout Labeling
13247 \labelwidthstring MMMMMMMMMMM
13254 Separación entre el texto y la parte superior del flotante;
13257 \begin_layout Labeling
13258 \labelwidthstring MMMMMMMMMMM
13265 Separación entre el flotante y el encabezado;
13268 \begin_layout Labeling
13269 \labelwidthstring MMMMMMMMMMM
13276 Separación entre el encabezado y el texto siguiente;
13279 \begin_layout Labeling
13280 \labelwidthstring MMMMMMMMMMM
13287 Para poner encabezados más estrechos que el texto circundante.
13288 Lo mejor es definirlo en función de
13297 \begin_layout Standard
13298 Hay otras longitudes relativas a la página de título que te pueden ser útiles
13299 en el caso de títulos largos o de varios autores::
13302 \begin_layout Labeling
13303 \labelwidthstring MMMMMMMMMMM
13310 Separación entre los encabezamientos y el
13315 \begin_layout Labeling
13316 \labelwidthstring MMMMMMMMMMM
13332 \begin_layout Labeling
13333 \labelwidthstring MMMMMMMMMMM
13340 entre varias líneas de
13345 \begin_layout Labeling
13346 \labelwidthstring MMMMMMMMMMM
13362 \begin_layout Labeling
13363 \labelwidthstring MMMMMMMMMMM
13379 \begin_layout Standard
13380 Esta última variable de longitud afecta a todos los entornos de listas.
13391 de un entorno de lista, se suprimen todos los espacios verticales entre
13392 los ítems de la lista.
13393 Ten en cuenta que este es un comando, no una variable de longitud, así
13400 como las variables mencionadas antes.
13403 \begin_layout Subsubsection
13404 Encabezamientos y pies
13407 \begin_layout Standard
13420 controlan si el logotipo definido en
13424 aparece o no en una página dada.
13431 en el preámbulo, ninguna de las transparencias tendrá logotipo.
13432 Si no quieres poner el logotipo en cierta página,
13442 directamente detrás del principio de la página y
13448 directamente detrás del comienzo de la siguiente.
13451 \begin_layout Standard
13452 Si decides poner estilo de página
13458 Documento\SpecialChar menuseparator
13461 deberías seguramente añadir
13471 al preámbulo para que los encabezamientos y pies en páginas apaisadas se
13472 sitúen correctamente.
13473 Esto es debido a ciertas incompatibilidades entre el formato de página
13474 impuesto por el paquete que
13485 \begin_layout Section
13486 Hollywood (Guiones de Hollywood)
13489 \begin_layout Standard
13495 \begin_layout Subsection
13499 \begin_layout Standard
13500 Dar formato a un guión de Hollywood es un
13501 \begin_inset Quotes cld
13505 \begin_inset Quotes crd
13509 Está diseñado para que los lectores se centren en el contenido y resulte
13510 familiar y fácil de leer por los actores.
13511 Cada página de un guión debería representar un minuto de película.
13512 En el guión no hay nada que no veas u oigas en la pantalla.
13513 Debe emplearse el tipo de letra courier 12
13514 \begin_inset space \thinspace{}
13517 pt en todo el guión.
13521 \begin_layout Subsection
13522 Detalles particulares
13525 \begin_layout Standard
13526 Las palabras de un diálogo NUNCA se cortan a final de línea.
13531 debe continuar tras un salto de página, se repite el nombre del mismo (
13538 \begin_layout Subsection
13539 Características especiales
13542 \begin_layout Standard
13543 Introduce los nombres de los personajes
13547 como etiquetas, después haz una referencia cruzada a la etiqueta para insertar
13549 El diálogo de referencia cruzada mostrará el conjunto de personajes.
13550 Esto lo puedes usar también para introducir el nombre de un personaje en
13551 las partes narrativas.
13554 \begin_layout Subsection
13555 Tamaño del papel y márgenes
13558 \begin_layout Standard
13559 USLetter, izquierdo 1.6
13560 \begin_inset space \thinspace{}
13564 \begin_inset space \thinspace{}
13568 \begin_inset space \thinspace{}
13572 \begin_inset space \thinspace{}
13578 \begin_layout Subsection
13582 \begin_layout Standard
13583 Los siguientes entornos están disponibles.
13588 para disponer de los atajos de teclado indicados a la derecha.
13591 \begin_layout Itemize
13595 \begin_inset Newline newline
13600 Para el caso de que no convenga ningún otro.
13604 \begin_layout Itemize
13610 \begin_inset space \hfill{}
13618 \begin_inset Newline newline
13621 Generalmente seguido de algo como
13622 \begin_inset Quotes cld
13625 al levantarse Sally.
13626 \begin_inset Quotes crd
13632 \begin_layout Itemize
13640 \begin_inset space \hfill{}
13644 \begin_inset Newline newline
13649 Introduce una nueva secuencia en INTERIOR.
13650 Seguido siempre de DÍA o NOCHE, o algo similar para definir la iluminación
13652 Esta línea, toda en MAYÚSCULAS.
13655 \begin_layout Itemize
13663 \begin_inset space \hfill{}
13667 \begin_inset Newline newline
13672 Introduce una nueva secuencia en EXTERIOR.
13673 Esta línea, toda en MAYÚSCULAS.
13676 \begin_layout Itemize
13680 \begin_inset space \hfill{}
13684 \begin_inset Newline newline
13689 El personaje que habla.
13692 \begin_layout Itemize
13696 \begin_inset space \hfill{}
13700 \begin_inset Newline newline
13705 Instrucciones para el personaje portavoz.
13706 Los () se insertan automáticamente, pero solo el ( se verá en \SpecialChar LyX
13708 Se imprimirán los dos.
13711 \begin_layout Itemize
13719 \begin_inset space \hfill{}
13723 \begin_inset Newline newline
13728 Lo que dice el personaje.
13731 \begin_layout Itemize
13735 \begin_inset space \hfill{}
13739 \begin_inset Newline newline
13744 Instrucciones para el movimiento de cámara, p.
13745 \begin_inset space \thinspace{}
13749 \begin_inset space ~
13755 \begin_layout Itemize
13758 DESAPARICIÓN_GRADUAL:
13759 \begin_inset space \hfill{}
13765 \begin_layout Itemize
13769 \begin_inset space \hfill{}
13775 \begin_layout Itemize
13779 \begin_inset space \hfill{}
13785 \begin_layout Itemize
13789 \begin_inset space \hfill{}
13795 \begin_layout Subsection
13799 \begin_layout Itemize
13800 (O.S) — off screen (fuera de pantalla)
13803 \begin_layout Itemize
13804 (V.0) — voice over (voz en off)
13807 \begin_layout Itemize
13812 \begin_layout Itemize
13814 — close-up (primer plano)
13817 \begin_layout Itemize
13818 PAN — movimiento de cámara
13821 \begin_layout Itemize
13822 INSERT — pasa a primer plano
13825 \begin_layout Section
13829 \begin_layout Standard
13832 Panayotis Papasotiriou
13835 \begin_layout Subsection
13839 \begin_layout Standard
13844 es una colección de macros que facilitan la presentación de manuscritos
13847 International Journal of Modern Physics C
13850 Igualmente, el paquete
13854 sirve para escribir artículos para
13856 International Journal of Modern Physics D
13859 Ambas revistas son editadas por
13864 Las correspondientes clases de documento se llaman
13873 Estos archivos, junto con las instrucciones de los autores, se pueden descargar
13875 \begin_inset Flex URL
13878 \begin_layout Plain Layout
13880 http://www.worldscinet.com/ijmpc/mkt/guidelines.shtml
13886 \begin_inset Flex URL
13889 \begin_layout Plain Layout
13891 http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml
13897 Ambos paquetes son versiones modificadas del paquete estándar
13901 , y son casi idénticos.
13902 La mayor parte de sus características son soportadas en \SpecialChar LyX
13904 He utilizado \SpecialChar LyX
13905 con éxito para escribir artículos para ambas revistas sin
13909 \begin_layout Subsection
13910 Escribir un artículo
13913 \begin_layout Standard
13914 Como es habitual, la forma más fácil de escribir un artículo es partiendo
13918 Archivo\SpecialChar menuseparator
13919 Nuevo desde plantilla
13921 , y elige una plantilla
13930 Así se muestra un documento casi vacío que incluye los campos más habituales
13932 Simplemente sobreescribe el texto (incluyendo abrazaderas <>) con el tuyo.
13933 Debes tener en cuenta los siguientes puntos:
13936 \begin_layout Enumerate
13938 no permite el cambio del tamaño de letra ni del estilo de página porque
13939 estos paquetes no lo permiten.
13942 \begin_layout Enumerate
13943 No debería cambiarse el lenguaje del documento.
13944 Antes de ver tu artículo, asegúrate
13946 que no está cargado el paquete babel.
13953 \SpecialChar menuseparator
13962 y desmarca la opción
13975 si deseas el cambio permanente).
13979 \begin_layout Enumerate
13981 \begin_inset Quotes cld
13985 \begin_inset Quotes crd
13988 se debe utilizar para definir palabras-clave.
13991 \begin_layout Enumerate
13996 provee un estilo llamado
13997 \begin_inset Quotes cld
14000 Classification Codes
14001 \begin_inset Quotes crd
14004 , que se puede usar para definir códigos de clasificación, como números
14006 Esta facilidad no es soportada por el paquete
14013 \begin_layout Enumerate
14014 Hay varios entornos nuevos disponibles:
14015 \begin_inset Quotes cld
14019 \begin_inset Quotes crd
14023 \begin_inset Quotes cld
14027 \begin_inset Quotes crd
14031 \begin_inset Quotes cld
14035 \begin_inset Quotes crd
14039 \begin_inset Quotes cld
14043 \begin_inset Quotes crd
14047 \begin_inset Quotes cld
14051 \begin_inset Quotes crd
14055 \begin_inset Quotes cld
14059 \begin_inset Quotes crd
14063 \begin_inset Quotes cld
14067 \begin_inset Quotes crd
14071 \begin_inset Quotes cld
14075 \begin_inset Quotes crd
14079 \begin_inset Quotes cld
14083 \begin_inset Quotes crd
14087 \begin_inset Quotes cld
14091 \begin_inset Quotes crd
14095 \begin_inset Quotes cld
14099 \begin_inset Quotes crd
14103 \begin_inset Quotes cld
14107 \begin_inset Quotes crd
14111 \begin_inset Quotes cld
14115 \begin_inset Quotes crd
14119 \begin_inset Quotes cld
14123 \begin_inset Quotes crd
14127 Su uso es más o menos obvio.
14129 soporta todos estos entornos; utilizará la etiqueta, estilo de texto y
14130 esquema de numeración más apropiados para cada caso.
14133 \begin_layout Enumerate
14134 Ambos paquetes usan citas básicas; el paquete
14139 En \SpecialChar LyX
14140 las referencias a citas se ven normalmente; en la salida se ven como
14142 Si quieres usar una cita como texto normal, debes emplear el comando
14147 \begin_inset space \thinspace{}
14151 \begin_inset Quotes cld
14155 \begin_inset space ~
14165 \begin_inset Quotes crd
14171 \begin_layout Enumerate
14173 \begin_inset Quotes cld
14177 \begin_inset Quotes crd
14180 en ninguno de estos paquetes.
14181 Para ponerlo usa el entorno
14182 \begin_inset Quotes cld
14186 \begin_inset Quotes crd
14192 \begin_layout Enumerate
14193 Se pueden añadir apéndices
14197 de los Agradecimientos y
14201 de las Referencias.
14203 provee un entorno especial, llamado
14204 \begin_inset Quotes cld
14208 \begin_inset Quotes crd
14211 que marca el inicio de los apéndices.
14212 Este entorno debería dejarse en blanco; lo único que hace es enviar un
14213 comando \SpecialChar LaTeX
14214 pero realmente no se imprime nada.
14215 En \SpecialChar LyX
14217 \begin_inset Quotes cld
14221 \begin_inset Quotes crd
14224 se imprime con letras azules, para indicar que todas las secciones posteriores
14226 Para escribir un apéndice usa el entorno
14227 \begin_inset Quotes cld
14231 \begin_inset Quotes crd
14236 ordenará cada apéndice con letras mayúsculas, como requieren ambas revistas.
14238 \begin_inset Quotes cld
14242 \begin_inset Quotes crd
14249 estar presente antes del primer apéndice; si no, los apéndices se numerarán
14250 como secciones normales.
14253 \begin_layout Enumerate
14266 para implementar encabezados de cuadro.
14267 Como resultado, un cuadro creado por \SpecialChar LyX
14268 se imprime correctamente, pero se
14269 ignora su encabezado.
14270 Sin embargo puedes emplear código \SpecialChar TeX
14271 para sortear este problema, de forma
14272 que los encabezados se impriman como es de esperar.
14273 Para hacerlo crea un cuadro flotante de la manera habitual, quita el encabezado
14280 encabezado del cuadro
14284 en código \SpecialChar TeX
14285 —atención a la llave de apertura
14286 \begin_inset Quotes cld
14290 \begin_inset Quotes crd
14293 —, y cierra inmediatamente detrás del contenido del cuadro con
14297 en código \SpecialChar TeX
14299 Estudia los ejemplos de cuadros incluidos en las plantillas para ver como
14300 se realiza este procedimiento.
14301 Alternativamente, si necesitas encabezados de cuadro, podrías construir
14302 el cuadro flotante completo en un archivo
14306 , que después puedes incluir mediante
14308 Insertar\SpecialChar menuseparator
14309 Archivo\SpecialChar menuseparator
14311 \begin_inset space ~
14325 puedes ver más detalles sobre la creación de cuadros flotantes.
14328 \begin_layout Subsection
14329 Preparar un artículo para su remisión
14332 \begin_layout Standard
14333 Antes de remitir un artículo debes exportarlo a \SpecialChar LaTeX
14336 Archivo\SpecialChar menuseparator
14337 Exportar\SpecialChar menuseparator
14348 \begin_layout Plain Layout
14349 Realmente dispones de las opciones \SpecialChar LaTeX
14350 (simple) y pdflatex.
14351 Si piensas usar pdflatex para preparar el artículo,los gráficos incluidos
14352 estarán en formato PDF.
14357 , después haz los cambios siguientes en el resultante archivo
14364 \begin_layout Enumerate
14365 Elimina las líneas de comentarios anteriores al comando
14374 \begin_layout Enumerate
14375 Elimina los comandos
14387 y todo lo que haya entre ambos, excepto aquellos comandos que hayas añadido
14388 expresamente al preámbulo \SpecialChar LaTeX
14392 \begin_layout Standard
14397 modificado debe ser guardado y procesado con \SpecialChar LaTeX
14398 tantas veces como sea necesario.
14399 Comprueba después el documento
14406 \begin_layout Subsection
14407 Uso de código \SpecialChar TeX
14411 \begin_layout Standard
14412 El uso de código \SpecialChar TeX
14413 se reduce a dos comandos, que deben colocarse al principio
14415 Si has empezado tu artículo a partir de una plantilla
14423 , el código \SpecialChar TeX
14424 necesario ya está en su sitio; generalmente no necesitas borrarlo.
14425 Solo puedes modificar el primer código \SpecialChar TeX
14426 para especificar la información
14427 impresa en la parte superior de las páginas pares e impares (título corto
14428 del artículo y nombre del autor, respectivamente).
14429 Este código \SpecialChar TeX
14430 debe ser de la forma
14434 markboth{Nombres de autores}{Título corto del artículo}
14439 \begin_layout Section
14443 \begin_layout Standard
14449 \begin_layout Subsection
14453 \begin_layout Standard
14458 suministra una clase de documento para remitir documentos electrónicos
14459 a publicaciones del
14461 Institute of Physics
14464 Las instrucciones para los autores que quieran crear documentos de esta
14469 se pueden descargar del sitio
14470 \begin_inset Flex URL
14473 \begin_layout Plain Layout
14475 ftp://ftp.iop.org/pub/journals/latex2e
14483 \begin_layout Subsection
14484 Escribir un documento
14487 \begin_layout Standard
14488 La forma más sencilla de escribir un documento es empezar con el archivo
14493 , disponible en el directorio de ejemplos de \SpecialChar LyX
14495 Abre el archivo, guárdalo con otro nombre y comienza a escribir.
14496 El archivo de ejemplo explica cómo usar los entornos especiales de texto.
14497 Aquí están los consejos más importantes:
14500 \begin_layout Itemize
14501 Para poder compilar tu documento a PDF, PS o DVI, asegúrate de que las dos
14504 Usar el paquete de ecuaciones AMS
14506 de la configuración del documento, en el apartado
14510 , ¡no están marcadas!
14513 \begin_layout Itemize
14514 El entorno de título define la clase de tu documento.
14515 Por tanto usa uno de los siguientes entornos para el título:
14519 \begin_layout Itemize
14527 \begin_layout Itemize
14535 \begin_layout Itemize
14540 para una reseña de actualidad
14543 \begin_layout Itemize
14551 \begin_layout Itemize
14559 \begin_layout Itemize
14564 para un artículo (igual que Title)
14567 \begin_layout Itemize
14572 para una comunicación preliminar
14575 \begin_layout Itemize
14580 para una comunicación rápida
14583 \begin_layout Itemize
14588 para una carta al editor
14592 \begin_layout Itemize
14593 Todos los entornos de título excepto
14597 pueden tener un título breve opcional.
14600 \begin_layout Itemize
14601 Hay un entorno general de título
14605 que no es soportado directamente por \SpecialChar LyX
14607 Puede usarse en código \SpecialChar TeX
14608 si tu documento no se adecúa a ninguno de los otros
14612 \begin_layout Standard
14613 Para más información, como consejos para formatos especiales de ecuaciones
14614 y cuadros, echa un vistazo a las pautas dadas por el autor de IOP.
14617 \begin_layout Section
14621 \begin_layout Standard
14624 Panayotis Papasotiriou
14627 \begin_layout Subsection
14631 \begin_layout Standard
14632 El paquete Kluwer es un conjunto de macros producido por
14634 Kluwer Academic Publishers
14636 que facilita la confección de manuscritos electrónicos con destino a sus
14638 Las más conocidas (al menos en mi parcela de interés) son
14640 Astrophysics and Space Science
14646 , aunque hay muchas otras (véase una lista completa en
14647 \begin_inset Flex URL
14650 \begin_layout Plain Layout
14652 http://www.wkap.nl/jrnllist.htm/JRNLHOME
14658 El paquete Kluwer puede ser descargado del sitio
14659 \begin_inset Flex URL
14662 \begin_layout Plain Layout
14664 http://www.wkap.nl/kaphtml.htm/STYLEFILES
14670 Contiene una completa guía de uso, que también puede descargarse separadamente.
14673 \begin_layout Standard
14675 soporta muchas características del paquete pero no todas.
14676 No obstante, el código \SpecialChar TeX
14677 necesario se reduce a ciertos
14678 \begin_inset Quotes cld
14682 \begin_inset Quotes crd
14686 \begin_inset space ~
14690 \begin_inset CommandInset ref
14692 reference "subsec:kluwer_peculiaridades"
14697 He usado \SpecialChar LyX
14698 recientemente para escribir un artículo para
14700 Astrophysics and Space Science
14702 sin ningún problema.
14705 \begin_layout Subsection
14706 Escribir un artículo
14709 \begin_layout Standard
14710 La forma más sencilla de escribir un artículo es empezar con la plantilla
14714 Archivo\SpecialChar menuseparator
14718 \begin_inset space ~
14726 \begin_inset space ~
14738 Se trata de un documento casi vacío que incluye la mayoría de campos más
14739 habituales y una breve descripción de su uso.
14740 Como es habitual en las plantillas, simplemente debes sobreescribir el
14741 texto presente (incluidas las abrazaderas <>) con la información correcta.
14744 \begin_layout Subsection
14745 Preparar un artículo para su remisión
14748 \begin_layout Standard
14749 Como en el paquete AAS\SpecialChar TeX
14750 , antes de remitir tu trabajo a una publicación debes
14751 procesarlo como sigue:
14754 \begin_layout Enumerate
14755 Exporta tu documento a \SpecialChar LaTeX
14758 Archivo\SpecialChar menuseparator
14759 Exportar\SpecialChar menuseparator
14766 \begin_layout Enumerate
14771 resultante con un editor de texto y haz los siguientes cambios:
14775 \begin_layout Enumerate
14776 borra las líneas de comentarios anteriores al comando
14785 \begin_layout Enumerate
14786 quita todo entre los comandos
14798 , ellos incluidos, excepto aquellos específicamente añadidos al preámbulo
14803 \begin_layout Standard
14812 \begin_layout Enumerate
14817 con \SpecialChar LaTeX
14818 tantas veces como sea necesario (generalmente hasta tres).
14821 \begin_layout Enumerate
14822 Mira el documento resultante
14827 \begin_inset space \thinspace{}
14834 , y comprueba si todo está bien (debería, si no has cometido algún error).
14837 \begin_layout Subsection
14838 «Peculiaridades» del paquete Kluwer
14839 \begin_inset CommandInset label
14841 name "subsec:kluwer_peculiaridades"
14848 \begin_layout Standard
14849 El paquete Kluwer tiene algunas
14850 \begin_inset Quotes cld
14854 \begin_inset Quotes crd
14860 \begin_layout Enumerate
14861 Es posible escribir artículos múltiples en el mismo archivo \SpecialChar LaTeX
14866 \begin_layout Plain Layout
14867 No puedo imaginar una buena razón para hacer esto.
14873 Cada artículo debe estar incluido en un entorno
14874 \begin_inset Quotes cld
14878 \begin_inset Quotes crd
14882 Desafortunadamente, este entorno no se puede omitir, incluso si escribes
14884 Por esto, cada artículo empieza con el comando
14890 y, termina, obviamente, con el comando
14897 Aunque esto se puede implementar en \SpecialChar LyX
14898 , no lo he incluido, puesto que se
14899 ve feo y puede confundir al novato.
14900 Así pues hay que introducirlo en código \SpecialChar LaTeX
14902 \begin_inset Quotes cld
14905 código \SpecialChar TeX
14907 \begin_inset Quotes crd
14913 \begin_layout Enumerate
14914 La información dada al principio del artículo (p.
14915 \begin_inset space \thinspace{}
14918 e., título, subtítulo, autor, institución, título corriente, autor corriente,
14919 resumen y palabras-clave) deben incluirse en un entorno llamado
14920 \begin_inset Quotes cld
14924 \begin_inset Quotes crd
14928 Esto no está implementado en \SpecialChar LyX
14929 , así que hay que introducir el título, subtítulo,
14930 etc., entre dos líneas en código \SpecialChar TeX
14946 \begin_layout Enumerate
14947 Según el manual de uso, la etiqueta de cada ítem de la bibliografía debe
14971 \begin_layout Standard
14976 se cuida de todas estas
14977 \begin_inset Quotes cld
14981 \begin_inset Quotes crd
14985 Si empiezas un nuevo artículo a partir de esta plantilla no necesitas hacer
14990 \begin_layout Enumerate
14991 no borrar el código \SpecialChar TeX
14992 incluido en el modelo, y
14995 \begin_layout Enumerate
14996 copia el ejemplo de ítem de bibliografía incluido en la plantilla y modifícalo
14997 como haga falta para introducir nuevas entradas.
15000 \begin_layout Section
15004 \begin_layout Standard
15010 \begin_layout Subsection
15014 \begin_layout Standard
15015 En \SpecialChar LyX
15016 , las clases de documento
15021 article (koma-script)
15025 report (koma-script)
15043 corresponden respectivamente a las clases de \SpecialChar LaTeX
15060 , de la familia Koma-Script.
15061 Son alternativas a las correspondientes clases estándar
15077 , y en ciertos aspectos
15081 se adaptan mejor a las convenciones tipográficas
15088 \begin_layout Itemize
15089 El tamaño estándar de letra es 11
15090 \begin_inset space \thinspace{}
15095 article (koma-script)
15099 report (koma-script)
15106 \begin_inset space \thinspace{}
15111 letter (koma-script)
15116 \begin_layout Itemize
15117 Los encabezados, los marcadores del entorno
15121 y otros elementos de la clase
15123 letter (koma-script)
15128 se ponen en sans serif negrita.
15132 \begin_layout Plain Layout
15133 Hay una gran diferencia entre las antiguas tipografías cm sans serif negrita
15134 y las nuevas tipografías ec, especialmente en cuanto al aspecto de los
15136 En comparación, las tipografías ec sans serif negrita se ven algo más delgadas.
15137 El paquete \SpecialChar LaTeX
15146 permite generar la apariencia
15147 \begin_inset Quotes cld
15151 \begin_inset Quotes crd
15154 cuando se emplean las tipografías ec.
15159 La numeración de los encabezados de capítulo se hace de la misma forma
15160 que la numeración de los encabezados de sección, o sea, sin la línea extra
15162 \begin_inset Quotes cld
15165 Capítulo\SpecialChar ldots
15167 \begin_inset Quotes crd
15171 Además, el aspecto de los encabezados se puede modificar mediante algunas
15172 opciones (en \SpecialChar LyX
15173 se introducen en el diálogo D
15175 ocumento\SpecialChar menuseparator
15179 Se puede encontrar una completa descripción de estas opciones, en alemán,
15180 en la documentación de Koma-Script
15187 \begin_layout Itemize
15188 En las clases Koma-Script, los aspectos principales del diseño del área
15189 imprimible se controlan con las opciones
15197 (en \SpecialChar LyX
15198 se introducen en el campo de opciones de clase del diálogo
15200 Documento\SpecialChar menuseparator
15204 Dichas opciones permiten un ajuste más claro de los márgenes posibles de
15206 En la documentación de Koma-Script
15210 , (en alemán), hay una detallada descripción de estas y otras opciones de
15211 configuración del área imprimible.
15214 \begin_layout Itemize
15215 Las clases \SpecialChar LaTeX
15216 de documentos de la familia Koma-Script definen un cierto número
15217 de comandos adicionales.
15218 Aquellos que tienen sentido en \SpecialChar LyX
15219 se implementan en los correspondientes
15223 \begin_layout Standard
15224 En la documentación de Koma-Script,
15232 (inglés), hay una detallada descripción de las clases \SpecialChar LaTeX
15233 de la familia Koma-Scrip
15237 \begin_layout Subsection
15238 article (koma-script), report (koma-script), y book (koma-script)
15241 \begin_layout Standard
15242 Las clases de documento
15244 article (koma-script)
15248 report (koma-script)
15258 están implementadas en los archivos de formato
15271 Contienen todos los tipos de párrafo de las correspondientes clases estándar
15290 , parcialmente modificados, con la excepción del tipo
15294 a, específico de \SpecialChar LyX
15295 , que es reemplazado por el nuevo tipo
15299 , que tiene la misma funcionalidad.
15304 se han añadido otros nuevos tipos de párrafo.
15309 se encuentran en la clase
15311 letter (koma-script)
15316 \begin_layout Itemize
15319 Añadir_Parte, Añadir_Cap
15325 : son los equivalentes respectivos a
15333 , pero además añaden una entrada en el índice general.
15344 article (koma-script)
15349 \begin_layout Itemize
15358 : se comportan igual que
15366 pero no indican la numeración del capítulo o sección.
15371 * no está disponible en
15373 article (koma-script)
15379 \begin_layout Plain Layout
15386 report (koma-script)
15392 hay también un comando
15398 , pero como es idéntico a
15402 , no ha sido implementado en \SpecialChar LyX
15411 \begin_layout Itemize
15420 : genera un encabezado directamente sobre el párrafo siguiente en el tamaño
15421 de carácter estándar sin afectar a la estructura del documento.
15424 \begin_layout Itemize
15433 son encabezados especiales que respetan los espacios diferentes para encabezado
15434 s situados sobre y bajo un elemento (si sigues estrictamente las normas
15435 tipográficas, pondrás los encabezados de cuadro siempre sobre ellos).
15436 También puedes usar la opción de clase
15448 para los cuadros y por
15453 Para usar esta opción necesitas al menos la versión Koma-Script 2.8q.
15456 \begin_layout Itemize
15461 : sirve para poner una cita o un proverbio, por ejemplo, al principio de
15463 Si utilizas el parámetro opcional
15465 Insertar\SpecialChar menuseparator
15467 \begin_inset space ~
15472 , puedes insertar aquí el nombre del autor de la sentencia.
15473 La sentencia y su autor se separan con una línea.
15474 Para esta posibilidad necesitas Koma-Script versión 2.8q o superior.
15479 no está incluido en
15481 article (koma-script)
15486 \begin_layout Standard
15487 Los entornos siguientes, junto con los habituales
15499 , forman la zona de título del documento.
15500 Deben introducirse sobre el primer párrafo
15501 \begin_inset Quotes cld
15505 \begin_inset Quotes crd
15512 \begin_layout Plain Layout
15513 Los comandos \SpecialChar LaTeX
15514 correspondientes deben aparecer antes de
15525 Cuando este entorno se emplea más de una vez, el último anula a los anteriores,
15526 lo que implica que para cada tipo solo es válida la última entrada.
15527 El orden de los distintos entornos no influye en el documento final, lo
15528 mismo que sucede con
15543 \begin_layout Itemize
15548 : genera un párrafo centrado sobre el título ordinario (
15560 ) para poner el tema del documento.
15563 \begin_layout Itemize
15568 : genera un párrafo centrado bajo el título ordinario (
15580 ) para los nombres de los editores.
15583 \begin_layout Itemize
15590 report (koma-script)
15596 produce un párrafo centrado en su propia página detrás de la de título,
15599 article (koma-script)
15601 produce un párrafo centrado bajo el título ordinario (
15620 \begin_layout Itemize
15625 : produce un párrafo alineado a la izquierda sobre el título ordinario (
15644 \begin_layout Itemize
15647 Reverso_Título_Superior
15649 : genera, en documentos a dos caras, un párrafo alineado a la izquierda
15650 en la parte superior del reverso de la página titular en
15652 report (koma-script)
15658 ; no afecta a documentos a una cara ni a
15663 article (koma-script)
15668 \begin_layout Itemize
15671 Reverso_Título_Inferior
15673 : genera, en documentos a dos caras, un párrafo alineado a la izquierda
15674 en la parte inferior del reverso de la página titular en
15676 report (koma-script)
15682 ; no afecta a documentos a una cara ni a
15684 article (koma-script)
15689 \begin_layout Itemize
15694 ítulo: produce una página especial al principio del documento con un párrafo
15698 \begin_layout Standard
15699 Los archivos de formato para las clases
15701 article (koma-script)
15705 report (koma-script)
15711 incluyen el archivo
15716 Este está pensado como un lugar para definir tus propios tipos.
15721 en tu directorio personal y edítalo!
15724 \begin_layout Subsection
15725 letter (koma-script)
15728 \begin_layout Standard
15730 La clase de documento
15732 letter (koma-script)
15734 se implementa en el archivo de formato
15739 Contiene todos los tipos de párrafo de la clase
15746 estándar, parcialmente modificados, excepto los específicos de \SpecialChar LyX
15749 Código-\SpecialChar LyX
15754 Comentario y el tipo
15760 , que es reemplazado por el nuevo tipo
15765 Además contiene, a diferencia de la clase estándar, los entornos estándar
15775 , más un número de nuevos tipos específicos para cartas.
15778 \begin_layout Standard
15779 El aspecto de las cartas producidas por esta clase de documento se puede
15780 controlar mediante comandos \SpecialChar LaTeX
15781 que puedes poner en el preámbulo.
15785 \begin_layout Plain Layout
15786 Por ejemplo, el aspecto estándar de la cabecera de una carta, nombres y
15787 direcciones, se consigue con estos comandos \SpecialChar LaTeX
15791 \begin_layout LyX-Code
15801 \begin_layout LyX-Code
15817 \begin_layout LyX-Code
15827 \begin_layout LyX-Code
15847 Hay una detallada descripción de ellos en la documentación de Koma-Script,
15853 Con su ayuda puedes producir formatos personalizados de cartas.
15856 \begin_layout Standard
15865 definen el comienzo de la carta y deben ponerse en todas ellas.
15866 Se pueden escribir varias
15870 cartas en el mismo archivo.
15875 da comienzo a una nueva carta para el mismo destinatario mientras que un
15880 da lugar a una nueva carta para distinto destinatario.
15897 son párrafos ordinarios y se pueden usar varias veces en la misma carta.
15900 \begin_layout Itemize
15905 : produce un párrafo para poner el destinatario y define implícitamente
15906 el inicio de la carta.
15909 \begin_layout Itemize
15914 : produce un párrafo para poner el destinatario e inicia implícitamente
15918 \begin_layout Itemize
15923 : da lugar a un párrafo para el cierre de la carta.
15926 \begin_layout Itemize
15931 : párrafo para poner una postdata.
15934 \begin_layout Itemize
15939 : párrafo para una lista de co-destinatarios.
15942 \begin_layout Itemize
15947 : párrafo para documentos adjuntos.
15950 \begin_layout Standard
15951 Los tipos de entorno
15978 \begin_inset space ~
15995 son entradas provistas de una etiqueta para introducir información que
15996 será procesada por la clase de documento.
16000 \begin_layout Plain Layout
16001 Podría ser inconsecuente que
16009 , descritos arriba, no sean también entornos con etiqueta de entrada.
16010 Sin embargo, debido al signifificado particular de estos tipos, los he
16011 implementado como párrafos ordinarios con una letra en el margen.
16012 Además, afectaría a mi sensación de simetría si los tipos
16020 tuvieran aspectos muy distintos.
16025 Estos tipos deben ponerse antes de la
16032 \begin_layout Standard
16033 Una implementación de estos tipos en modo WYSIWYG no tendría sentido porque
16034 el aspecto real de la carta no solo depende del uso de un tipo particular,
16035 sino también de otros factores.
16036 Por ejemplo, en el comportamiento predeterminado, una firma introducida
16041 solo aparecerá en la carta si se usa, además, el tipo
16046 El valor introducido en
16050 tampoco aparece en la carta.
16051 La posibilidad de diseñar el encabezamiento de la carta ya se ha señalado
16052 antes en una nota al pie.
16055 \begin_layout Standard
16056 Los entornos para introducir datos también se pueden usar como párrafos
16058 Esto tiene sentido, p.
16059 \begin_inset space \thinspace{}
16062 e., para el entorno
16071 , en el comportamiento estándar se usará el valor de
16075 como firma, mientras que si se define una
16079 vacía no saldrá ninguna.
16082 \begin_layout Standard
16083 Los entornos para introducir datos también pueden servir para escribir una
16084 plantilla, que contenga campos cumplimentados con tus datos personales
16085 (nombre, dirección, etc.), y campos vacíos listos para ser completados con
16089 \begin_layout Itemize
16094 : nombre del remitente, en el comportamiento normal aparece en versalitas,
16095 en un párrafo centrado en el encabezado de la carta.
16098 \begin_layout Itemize
16103 : firma del remitente, en el comportamiento normal aparece bajo el
16108 Si no se utiliza el párrafo
16112 , se escribe en su lugar el valor del campo
16119 \begin_layout Itemize
16124 : dirección del remitente, en el comportamiento normal aparece en un párrafo
16125 centrado, en el encabezado, bajo el
16132 \begin_layout Itemize
16137 o: teléfono del remitente, en el comportamiento normal corresponde a la
16144 de \SpecialChar LaTeX
16148 \begin_layout Itemize
16153 : lugar donde se ha escrito la carta.
16156 \begin_layout Itemize
16161 : fecha de escritura de la carta.
16170 , por omisión, aparecen en una línea a la derecha bajo el campo de dirección.
16171 Si el párrafo Fecha se deja vacío, no aparecen ni lugar ni fecha, independiente
16172 mente del valor puesto en
16177 Si no se pone párrafo de
16181 , se usará la fecha del día.
16184 \begin_layout Itemize
16189 : dirección para la respuesta, normalmente aparece sobre el campo del destinatar
16194 ) en tipografía sans serif pequeña, subrayado.
16197 \begin_layout Itemize
16202 : información especial de correo, en el comportamiento normal aparece subrayado
16203 sobre la dirección y bajo el remite.
16206 \begin_layout Itemize
16215 : información adicional, en el comportamiento normal aparece a la derecha
16216 bajo el campo del destinatario (
16223 \begin_layout Itemize
16228 : título de la carta, en el comportamiento normal aparece en letra sans
16229 serif grande, en negrita, sobre el
16236 \begin_layout Itemize
16241 : el tema de la carta, en el comportamiento normal aparece en negrita sobre
16249 \begin_layout Standard
16270 generan, a la manera de las cartas comerciales, una línea sobre el
16275 \begin_inset Quotes cld
16279 \begin_inset Quotes crd
16283 \begin_inset Quotes cld
16287 \begin_inset Quotes crd
16291 \begin_inset Quotes cld
16295 \begin_inset Quotes crd
16299 \begin_inset Quotes cld
16303 \begin_inset Quotes crd
16307 \begin_inset Quotes cld
16311 \begin_inset Quotes crd
16315 \begin_inset Quotes cld
16319 \begin_inset Quotes crd
16324 \begin_inset Quotes cld
16328 \begin_inset Quotes crd
16331 toma el valor del entorno
16336 Si se utiliza uno de estos tipos para
16337 \begin_inset Quotes cld
16341 \begin_inset Quotes crd
16348 no aparece, solo se define la variable \SpecialChar LaTeX
16356 La salida ordinaria de lugar y fecha en una línea a la derecha bajo el
16357 campo del destinatario se suprime.
16358 Los tipos se implementan para introducción de datos, provistos con una
16359 etiqueta, y deben utilizarse antes del correspondiente tipo
16366 \begin_layout Itemize
16374 \begin_layout Itemize
16379 Correo: su carta de.
16382 \begin_layout Itemize
16394 \begin_layout Itemize
16402 \begin_layout Itemize
16410 \begin_layout Subsection
16411 La nueva clase de carta: letter (koma-script v.2)
16414 \begin_layout Standard
16420 \begin_layout Standard
16421 \begin_inset VSpace medskip
16427 \begin_layout Standard
16429 Koma-Script versión 2.8 ha introducido una clase nueva
16441 , que ya no se desarrolla.
16442 Tiene, en lo que respecta a \SpecialChar LaTeX
16443 , una interfaz completamente nueva incompatible
16444 con la clase antigua.
16446 soporta las dos, pero se recomienda usar la nueva.
16449 \begin_layout Standard
16450 Esta clase cubre las mismas funciones que
16452 letter (koma-script)
16458 Las funciones básicas son
16462 (dirección del destinatario, como
16466 en el formato antiguo),
16483 comenzará una carta nueva (o sea, que puedes escribir varias cartas en
16484 el mismo documento).
16485 Los elementos nuevos de remitente son
16501 y la posibilidad de usar un
16507 Insertar\SpecialChar menuseparator
16510 ) en el encabezado.
16513 \begin_layout Standard
16514 La mejora más importante es, creo, que el formato de la carta es configurable
16515 para casi cualquier necesidad.
16516 Esto se puede hacer en el preámbulo o con un archivo de estilo especial
16521 , Letter Class Option), que será leído como una opción de clase.
16525 \begin_layout Plain Layout
16526 El paquete KOMA viene con algunos archivos
16531 Hay, por ejemplo, un archivo
16535 que sigue las normas tipográficas alemanas, o
16539 que proporciona el formato predefinido de la antigua clase
16544 Esta última puede cargarse como opción de clase
16554 Documento\SpecialChar menuseparator
16555 Configuración\SpecialChar menuseparator
16557 \begin_inset space ~
16561 \begin_inset space ~
16571 Echa una ojeada a la plantilla
16575 que se incluye como ejemplo en \SpecialChar LyX
16577 En la documentación de Koma-Script (
16581 ) hay una descripción detallada.
16584 \begin_layout Subsection
16588 \begin_layout Standard
16589 En \SpecialChar LyX
16590 , la visualización de documentos de la clase Koma-Script ocasiona algunos
16594 \begin_layout Itemize
16595 El número de capítulo en un párrafo
16599 aparece en una línea propia sobre la cabecera de capítulo en vez de aparecer
16600 delante en la misma línea.
16601 La causa de esto es el comportamiento interno de \SpecialChar LyX
16602 en relación a los marcadores
16607 en el archivo de formato.
16610 \begin_layout Itemize
16611 Los encabezados de los entornos
16619 solo se ponen en el índice generado por \SpecialChar LaTeX
16620 , no en el índice de \SpecialChar LyX
16623 Documento\SpecialChar menuseparator
16625 \begin_inset space ~
16633 \begin_layout Itemize
16634 Los párrafos en documentos de la clase
16638 aparecen separados con espacio adicional entre ellos, no con sangrado.
16639 Este es el comportamiento normal, no hacen falta comandos \SpecialChar LaTeX
16641 Sin embargo, en el diálogo
16643 Documento\SpecialChar menuseparator
16646 el botón que aparece marcado es
16651 Si se introduce un valor de
16654 \begin_inset space ~
16659 se insertan en el documento comandos \SpecialChar LaTeX
16660 adicionales para dar ese espacio,
16661 lo que en este caso no es lo que queremos.
16664 \begin_layout Section
16668 \begin_layout Standard
16674 \begin_layout Subsection
16678 \begin_layout Standard
16679 Memoir es una clase poderosa y en continCarpeta sin títulouo desarrollo.
16680 Se ha diseñado para escribir literatura de ficción y de no ficción.
16681 Su objetivo es dar al usuario el máximo control sobre su documento.
16682 Memoir está basada en la clase estándar
16686 , pero también puede emular la clase
16690 (véase más adelante).
16693 \begin_layout Standard
16694 Peter Wilson, el desarrollador de Memoir, es conocido como autor de muchos
16695 paquetes en el mundillo de \SpecialChar LaTeX
16697 La mayoría de ellos se han combinado con Memoir.
16698 Por tanto, es mucho más sencillo diseñar los índices, apéndices, capítulos
16701 , no obstante, no soporta por sí mismo todas sus características.
16702 Algunas se podrán añadir en futuras versiones
16706 \begin_layout Plain Layout
16707 Estás invitado a enviar sugerencias a
16708 \begin_inset Flex URL
16711 \begin_layout Plain Layout
16713 lyx-devel@lists.lyx.org
16723 , muchas nunca, probablemente, debido a limitaciones estructurales de \SpecialChar LyX
16725 Por supuesto, puedes usar todas las características con ayuda de comandos
16727 (código \SpecialChar TeX
16732 \begin_layout Plain Layout
16733 Consulta la sección
16734 \begin_inset space ~
16738 \begin_inset CommandInset ref
16740 reference "sec:Insertar-Código-TeX"
16750 En esta sección solo trataremos las características soportadas directamente
16751 por \SpecialChar LyX
16753 Para una decripción más completa (y para el resto de características) recomenda
16754 mos la consulta del manual de Memoir
16758 \begin_layout Plain Layout
16759 \begin_inset Flex URL
16762 \begin_layout Plain Layout
16764 CTAN:/macros/latex/memoir/memman.pdf
16774 , que es, no solo una guía de usuario, sino también una completa guía sobre
16775 normas tipográficas y un estupendo ejemplo en sí mismo de buena tipografía.
16778 \begin_layout Subsection
16779 Características básicas y restricciones
16782 \begin_layout Standard
16783 Memoir soporta básicamente todas las características de las clases estándar
16789 Pero hay algunas diferencias:
16792 \begin_layout Description
16794 \begin_inset space ~
16798 \begin_inset space ~
16801 tipografía: Memoir tiene un amplio rango de tamaños de tipografía: 9, 10,
16805 \begin_layout Description
16807 \begin_inset space ~
16811 \begin_inset space ~
16815 \begin_inset Quotes cld
16819 \begin_inset Quotes crd
16822 no está soportado, debido a un conflicto entre Memoir y el paquete
16826 (ambos definen un comando con el mismo nombre, lo que confunde a \SpecialChar LaTeX
16828 En su lugar, Memoir dispone de un puñado de estilos de página propios (véase
16831 Documento\SpecialChar menuseparator
16832 Configuración\SpecialChar menuseparator
16834 \begin_inset space ~
16838 \begin_inset space ~
16844 Si quieres usar estos para las páginas de capítulos, tienes que usar el
16851 en el texto o en el preámbulo (p.
16852 \begin_inset space \thinspace{}
16856 \begin_inset space ~
16863 chapterstyle{companion}
16868 \begin_layout Description
16869 Seccionamiento: En las clases estándar, las secciones (capítulo, sección,
16870 subsección, etc.) van con un argumento opcional con el que puedes especificar
16871 una versión alternativa del título de la sección para el índice y para
16872 los encabezamientos de página, (por ejemplo, cuando el título es excesivamente
16874 En \SpecialChar LyX
16875 , puedes hacerlo con la opción de menú
16877 Insertar\SpecialChar menuseparator
16879 \begin_inset space ~
16884 al principio de un capítulo/sección.
16889 suministra un segundo argumento opcional para separar el índice del encabezamie
16891 Con esto puedes definir tres variantes de un título: una para el texto
16892 principal, otra para el índice general y otra para los encabezamientos.
16893 Simplemente, inserta dos argumentos opcionales si necesitas esta característica
16894 , el primero contiene el título breve para el Índice General, el segundo
16895 contiene un título breve alternativo para los encabezamientos.
16898 \begin_layout Description
16899 TOC/LOF/LOT: En las clases estándar (y en muchas otras), los índices general
16900 (IG, TOC), de figuras (LOF) y de cuadros (LOT) se inician automáticamente
16906 no sigue esta regla.
16907 Si lo quieres, tienes que insertar a mano el salto de página.
16910 \begin_layout Description
16912 \begin_inset space ~
16916 \begin_inset space ~
16919 Título: Por razones desconocidas,
16923 usa paginación en la página del título (en las clases estándar, las páginas
16924 de título van en estilo
16925 \begin_inset Quotes cld
16933 \begin_inset Quotes crd
16937 Si quieres una página de título en dicho estilo, pon
16941 aliaspagestyle{title}{empty}
16946 \begin_layout Description
16947 Article: Con la opción de clase
16951 (que se debe introducir en
16953 Documento\SpecialChar menuseparator
16954 Configuración\SpecialChar menuseparator
16956 \begin_inset space ~
16960 \begin_inset space ~
16963 documento\SpecialChar menuseparator
16966 ), puedes emular algunos comportamientos de estilo de la clase
16970 : los contadores (de notas al pie, figuras, cuadros, etc.) no se reinician
16971 al cambiar de capítulo, los capítulos nuevos no comienzan en página nueva
16972 (aunque, a diferencia de las clases
16977 \begin_inset Quotes cld
16981 \begin_inset Quotes crd
16984 , está permitido); sin embargo, las partes sí van en páginas nuevas, como
16992 \begin_layout Description
16994 \begin_inset space ~
16998 \begin_inset space ~
17002 \begin_inset space ~
17005 antiguos: por omisión,
17009 no permite el uso de los comandos de tipografía obsoletos que se usaban
17010 en la antigua versión de \SpecialChar LaTeX
17012 \begin_inset space \thinspace{}
17018 \begin_inset space ~
17026 \begin_inset space ~
17036 Si están presentes, generan errores y detienen el procesamiento de \SpecialChar LaTeX
17042 readmite el uso de dichos comandos, (aunque escupe algunas advertencias,
17043 al menos no detiene a \SpecialChar LaTeX
17045 Puesto que algunos paquetes, en particular Bib\SpecialChar TeX
17046 en sus archivos de estilo,
17047 todavía utilizan estos comandos, hemos decidido mantener esta opción como
17051 \begin_layout Subsection
17052 Características adicionales
17055 \begin_layout Standard
17056 Solo indicaremos las soportadas por \SpecialChar LyX
17057 (que actualmente no son muchas).
17058 Consulta el manual de
17066 \begin_layout Plain Layout
17067 \begin_inset Flex URL
17070 \begin_layout Plain Layout
17072 CTAN:/macros/latex/memoir/memman.pdf
17085 \begin_layout Description
17086 Resumen: Te preguntarás por qué un resumen es un característica suplementaria.
17087 Bien, lo es en la clase
17092 Usualmente los libros no tienen resúmenes.
17098 Puedes usarlo donde, como y cuantas veces quieras.
17101 \begin_layout Description
17103 \begin_inset space ~
17106 conciso: Quizá conozcas esto de
17107 \begin_inset Quotes cld
17111 \begin_inset Quotes crd
17118 \begin_layout Plain Layout
17119 Estilo de escritura en que se da más importancia a la bella apariencia que
17129 : El contenido de un capítulo es brevemente descrito debajo del título y
17130 también en el índice general (p.
17131 \begin_inset space \thinspace{}
17135 \begin_inset space ~
17140 Nuestro héroe llega a Troya; pierde algunos compañeros; encuentra a otros
17143 Capítulo_Conciso hace precisamente eso.
17144 Por tanto solo tiene sentido bajo un título de un capítulo.
17147 \begin_layout Description
17148 Epígrafe: Un epígrafe es un texto breve o lema al principio de un capítulo.
17149 El entorno epígrafe lo presenta de manera elegante.
17150 El propio lema (texto) y su autor (origen) se separan con una línea corta.
17151 Desafortunadamente, tenemos que marear un poco a \SpecialChar LyX
17152 , porque el entorno necesita
17153 dos argumentos (texto y origen).
17154 En este caso tenemos que usar llaves (}{, en modo \SpecialChar TeX
17155 ) entre ambos argumentos:
17169 \begin_layout Description
17171 \begin_inset space ~
17178 ofrece muchas posibilidades para escribir poesía (incluso complejos poemas
17180 Lyx solo soporta unas pocas de ellas.
17185 , que pone un título centrado para el poema y que también se añade al índice
17191 es el entorno estándar para poesía.
17196 dispone de algunas versiones mejoradas de
17200 , pero necesitas usar código \SpecialChar TeX
17201 , porque tienen que anidarse en entornos regulares
17202 de verso, lo que no es posible en \SpecialChar LyX
17206 \begin_layout Description
17208 \begin_inset space ~
17214 \begin_inset space ~
17219 , pero no añade entrada al índice general.
17222 \begin_layout Section
17223 Article (mwart), book (mwbk) y report (mwrep)
17224 \begin_inset Argument 1
17227 \begin_layout Plain Layout
17238 \begin_layout Standard
17244 \begin_layout Standard
17245 Las clases de documento
17261 de \SpecialChar LyX
17262 corresponden a las clases de documentos \SpecialChar LaTeX
17276 Son remodelaciones de las clases estándar de documentos
17288 , respectivamente, y se adaptan mejor a las convenciones tipográficas polacas
17289 en varios aspectos.
17293 \begin_layout Standard
17294 Las diferencias fundamentales son:
17297 \begin_layout Itemize
17298 Encabezados no numerados (con asterisco, p.
17299 \begin_inset space \thinspace{}
17310 \begin_layout Itemize
17311 Estilos de página adicionales:
17315 \begin_layout Description
17316 uheadings encabezados en líneas separadas,
17319 \begin_layout Description
17320 myheadings encabezados personalizados con
17335 \begin_layout Description
17336 myuheadings encabezados personalizados en líneas separadas,
17339 \begin_layout Description
17340 outer el número de página se coloca en el lado exterior de la misma.
17344 \begin_layout Itemize
17349 \begin_layout Description
17350 rmheadings encabezados en serif (predeterminado),
17353 \begin_layout Description
17354 sfheadings encabezados en sans-serif,
17357 \begin_layout Description
17358 authortitle en la página del título se pone primero el autor y luego el
17359 título (predeterminado),
17362 \begin_layout Description
17363 titleauthor en la página del título se pone el título, después el autor,
17366 \begin_layout Description
17367 withmarginpar reservar sitio de la página para los márgenes.
17371 \begin_layout Section
17375 \begin_layout Standard
17376 La clase de documento
17380 provee una alternativa a la clase estándar
17385 Tiene una funcionalidad similar, aunque quizá prefieras este formato con
17386 secciones en sans serif, encabezados, y más..
17389 \begin_layout Section
17390 Rev\SpecialChar TeX
17394 \begin_layout Standard
17400 \begin_layout Standard
17401 \begin_inset VSpace bigskip
17407 \begin_layout Standard
17412 \begin_inset space ~
17417 trabaja con la clase Rev\SpecialChar TeX
17419 \begin_inset Formula $\beta$
17422 de mayo de 1999) de la
17424 American Physical Society
17429 \begin_layout Standard
17431 tiene la clase de texto
17435 que funciona con Rev\SpecialChar TeX
17437 Sin embargo, la versión 3.1 está obsoleta, porque trabaja con \SpecialChar LaTeX
17439 Esto quiere decir que no interactúa muy bien con \SpecialChar LyX
17440 , que requiere \SpecialChar LaTeX2e
17443 Puesto que Rev\SpecialChar TeX
17444 4.0 se ha diseñado para trabajar mucho mejor con \SpecialChar LaTeX2e
17447 también funcionar mejor con la clase
17449 Rev\SpecialChar TeX
17451 \begin_inset space ~
17459 \begin_layout Standard
17460 Esta documentación está pensada para ser usada
17464 la documentación de Rev\SpecialChar TeX
17466 \begin_inset space ~
17469 4.0, por tanto no describiremos ninguna de las macros especiales de Rev\SpecialChar TeX
17471 y supondremos que sabes lo que hay que poner en el preámbulo, si fuera
17475 \begin_layout Subsection
17479 \begin_layout Standard
17480 Debes instalar Rev\SpecialChar TeX
17482 \begin_inset space ~
17485 4 como se describe en el archivo README del paquete.
17486 El paquete se puede encontrar en el sitio web de Rev\SpecialChar TeX
17488 \begin_inset Flex URL
17491 \begin_layout Plain Layout
17493 http://publish.aps.org/revtex4/
17499 Instálalo donde \SpecialChar LaTeX
17501 Compruébalo procesando con \SpecialChar LaTeX
17502 algún corto documento Rev\SpecialChar TeX
17504 \begin_inset space ~
17507 4 en algún directorio casual (es decir, no en el directorio donde se ha
17508 instalado el archivo de clase).
17509 Luego, si reconfiguras \SpecialChar LyX
17510 , este reconocerá el archivo de clase Rev\SpecialChar TeX
17512 \begin_inset space ~
17515 4 y lo podrás utilizar.
17518 \begin_layout Standard
17519 Probablemente la forma más fácil de empezar es importar un documento Rev\SpecialChar TeX
17521 \begin_inset space ~
17524 4 usando re\SpecialChar LyX
17525 , o partir del modelo de la plantilla de Rev\SpecialChar TeX
17527 \begin_inset space ~
17534 , disponible en el directorio de plantillas (
17541 \begin_layout Subsection
17545 \begin_layout Standard
17546 Los argumentos opcionales a
17553 \begin_inset Quotes cld
17557 \begin_inset Quotes crd
17561 \begin_inset Quotes cld
17565 \begin_inset Quotes crd
17574 Documento\SpecialChar menuseparator
17575 Configuración\SpecialChar menuseparator
17577 \begin_inset space ~
17583 \begin_inset space ~
17591 ¡Recuerda que en Rev\SpecialChar TeX
17592 , se requiere, al menos, un argumento opcional!
17595 \begin_layout Standard
17596 Otras cosas del preámbulo, como
17602 etc., van en el diálogo
17605 \begin_inset space ~
17618 \begin_layout Subsection
17619 Entornos de párrafo
17622 \begin_layout Standard
17623 En Rev\SpecialChar TeX
17625 \begin_inset space ~
17628 4.0, los entornos de párrafo corresponden básicamente a comandos.
17629 Por ejemplo, el formato
17640 Ten en cuenta que (al menos desde Rev\SpecialChar TeX
17641 4.0 Beta), los entornos
17649 son exactamente equivalentes, por lo que no tendrías que usar ambos.
17653 \begin_layout Plain Layout
17654 Si tienes curiosidad, se incluyeron ambos para que
17656 tex2\SpecialChar LyX
17659 puediera traducir ambos,
17679 \begin_layout Subsection
17683 \begin_layout Standard
17684 Hay un par de importantes aspectos únicos de Rev\SpecialChar TeX
17685 4 que podrían ocasionar
17686 fallos que serán incluso más confusos en \SpecialChar LyX
17690 \begin_layout Standard
17691 En Rev\SpecialChar TeX
17709 El equivalente en \SpecialChar LyX
17710 es que hay un entorno
17719 escribas notas al pie en el entorno
17725 sucederán cosas raras
17728 Véase la documentación de Rev\SpecialChar TeX
17729 4 para más detalles.
17732 \begin_layout Standard
17733 Además, los entornos
17736 \begin_inset space ~
17744 \begin_inset space ~
17761 y el entorno correspondiente
17778 , \SpecialChar LaTeX
17782 \begin_layout Subsection
17786 \begin_layout Standard
17787 El problema principal con este formato es que no puedes usar los argumentos
17788 opcionales en ciertos entornos como
17797 (El problema no es exclusivo de este formato; tampoco puedes usar argumentos
17798 opcionales en los entornos de
17803 Esto significa que después de exportar el archivo a \SpecialChar LaTeX
17804 (a la larga deberás
17805 hacerlo para enviarlo al APS), tendrás que abrir el archivo
17809 con un editor para añadir los argumentos opcionales que restan por poner,
17811 \begin_inset space \thinspace{}
17815 \begin_inset space ~
17818 el título de los encabezamientos de página.
17819 Al no tener estos entornos, los comandos
17831 ) son inútiles, pues los entornos correspondientes no existen, y deberán
17836 \begin_layout Plain Layout
17841 en realidad, \SpecialChar LyX
17842 1.3.0 soporta algunos tipos de argumentos opcionales, pero
17843 este formato no ha sido actualizado todavía para beneficiarse de ello.
17851 \begin_layout Section
17852 Publicaciones de Springer (
17859 \begin_layout Standard
17865 \begin_layout Subsection
17869 \begin_layout Standard
17870 Estos son los archivos de formato para algunas de las publicaciones editadas
17875 , las que se recogen en
17876 \begin_inset Flex URL
17879 \begin_layout Plain Layout
17881 http://www.springer.de/author/tex/help-journals.html
17886 , donde debes acudir para conseguir los archivos de la clase (¡sí, ahora
17887 son \SpecialChar LaTeX2e
17889 Es un sistema modular: las características comunes a todas las publicaciones
17894 , y los archivos de formato específicos (tales como, p.
17895 \begin_inset space \thinspace{}
17906 ) pueden incluirlo.
17909 \begin_layout Standard
17910 Esto significa que implementar soporte para cualquier otra publicación de
17915 incluida en esa lista es tan sencillo como escribir tu propio archivo
17923 siguiendo las pautas dadas en
17931 \begin_layout Standard
17932 Está razonablemente bien probado solo en el caso de
17945 vienen con la distribución estándar de \SpecialChar LyX
17947 Instala el archivo de clase correspondiente (descargado del sitio de
17951 ) en un directorio adecuado, reconfigura \SpecialChar LaTeX
17952 —en el caso de te\SpecialChar TeX
17957 , como root si es necesario.
17959 no se ocupa de esto?)—; reconfigura \SpecialChar LyX
17960 y ya debería funcionar.
17963 \begin_layout Subsection
17967 \begin_layout Standard
17968 Un gran número de estilos tipo teorema –
17970 Afirmación, Conjetura,
17980 \begin_layout Standard
17983 Nota_Encabezado, Dedicatoria, Subtítulo, Título_\SpecialChar LaTeX
17984 _Puesto, Autor_Puesto, Instituto
17985 , Correo, Separatas, Palabras_clave, Agradecimientos
17988 Véase la documentación de la clase Springer para más detalles.
17991 \begin_layout Subsection
17992 Publicaciones soportadas
17995 \begin_layout Itemize
18007 \begin_layout Itemize
18010 Probability Theory and Related Fields
18016 — Jean-Marc Lasgouttes
18019 \begin_layout Standard
18020 ¡Añade el tuyo, no es tan duro!
18023 \begin_layout Subsection
18024 CréditosCarpeta sin título
18027 \begin_layout Standard
18028 Estos archivos están basados parcialmente en el antiguo
18032 , basado a su vez en una versión modificada de un antiguo archivo de estilo
18033 de \SpecialChar LaTeX
18039 Todo esto, y el archivo
18043 layout, están obsoletos.
18044 Jean-Marc Lasgouttes me ayudó mucho a encontrar mi propio mecanismo para
18045 el archivo de formato de \SpecialChar LyX
18049 \begin_layout Subsection
18053 \begin_layout Standard
18055 Pero probablemente menos que en el antiguo
18059 de \SpecialChar LaTeX
18063 \begin_layout Standard
18065 \begin_inset space \thinspace{}
18068 ej.: no muestra el número para formatos tipo teorema, solamente #.
18071 \begin_layout Section
18078 \begin_inset CommandInset label
18087 \begin_layout Standard
18095 \begin_layout Subsection
18099 \begin_layout Standard
18100 Esta sección describe cómo usar \SpecialChar LyX
18101 para hacer transparencias para proyectores.
18102 Hay dos clases de documento que pueden hacer esto: la clase predeterminada
18113 Esta sección se ocupa de la primera de ellas.
18116 \begin_layout Standard
18117 Lo voy a repetir alto y claro, para que no haya equívocos:
18120 \begin_layout Standard
18121 \begin_inset VSpace medskip
18127 \begin_layout Standard
18131 En esta sección se explica
18136 \begin_inset space ~
18141 slides (predeterminada)
18147 \begin_layout Standard
18148 \begin_inset VSpace medskip
18154 \begin_layout Standard
18155 Si buscas la documentación para
18156 \begin_inset Quotes cld
18161 slides (Foil\SpecialChar TeX
18165 \begin_inset Quotes crd
18168 , mira en la sección
18169 \begin_inset space ~
18173 \begin_inset CommandInset ref
18175 reference "sec:foiltex"
18185 \begin_inset Quotes cld
18190 slides (Foil\SpecialChar TeX
18194 \begin_inset Quotes crd
18197 ) es realmente un poco mejor que la clase predeterminada
18205 \begin_layout Plain Layout
18207 o eso se dice repetidamente por sus defensores.
18208 Puesto que no la he usado nunca, no tengo ni idea si es cierto o no.
18213 que se explica en esta sección.
18216 \begin_layout Standard
18217 Esta clase es una mejora del antiguo paquete
18222 de \SpecialChar LaTeX2e
18224 Toda distribución de \SpecialChar LaTeX2e
18225 la incluye (nos referiremos desde ahora a
18226 \begin_inset Quotes cld
18234 \begin_inset Quotes crd
18237 ), así que lo tendrás.
18238 Como anoté antes, hay otras clases, como
18242 , que también produce transparencias y hace mejor su tarea.
18243 Sin embargo, hay ciertas cosas que
18247 puede hacer que los otros no pueden, como capas superpuestas.
18248 ¡Sigue leyendo para saber más!
18251 \begin_layout Subsection
18253 \begin_inset CommandInset label
18255 name "sec:slidesetup"
18262 \begin_layout Standard
18263 Obviamente, para usar esta clase debes escoger
18264 \begin_inset Quotes cld
18272 \begin_inset Quotes crd
18277 Documento\SpecialChar menuseparator
18281 Algunas cosas que debes saber sobre esta clase:
18284 \begin_layout Itemize
18285 No enredes con cambios en las opciones
18294 No es soportado por
18301 \begin_layout Itemize
18305 \begin_inset space ~
18309 \begin_inset space ~
18314 se porta un poco distinto para esta clase.
18315 Las opciones disponibles y su efecto son:
18319 \begin_layout Description
18324 La salida tiene números de página en la esquina inferior derecha.
18327 \begin_layout Description
18336 , pero además imprime los marcadores de tiempo que hayas puesto.
18337 Esta es la opción por omisión.
18340 \begin_layout Description
18345 La salida no imprime ni números de pàgina ni marcadores, nada.
18349 \begin_layout Itemize
18354 tiene una opción extra:
18360 \begin_inset Quotes cld
18368 \begin_inset Quotes crd
18371 en las opciones de la configuración de clase.
18375 \begin_layout Standard
18376 Usar estas opciones te permite añadir marcadores de tiempo a las
18384 \begin_layout Standard
18385 También puedes utilizar la plantilla
18386 \begin_inset Quotes cld
18394 \begin_inset Quotes crd
18397 para preparar un nuevo documento de esta clase, con
18399 Archivo\SpecialChar menuseparator
18401 \begin_inset space ~
18405 \begin_inset space ~
18411 La plantilla contiene algunos ejemplos de entornos de párrafo especiales
18413 Se describirán a continuación.
18416 \begin_layout Subsection
18417 Entornos de párrafo
18420 \begin_layout Subsubsection
18421 Entornos soportados
18424 \begin_layout Standard
18425 La primera cosa que observarás cuando inicies un documento
18429 es el tipo y tamaño de tipografía:
18432 \begin_inset space ~
18442 Es también la tipografía que se utiliza en la salida.
18443 Interpreta esto como un
18444 \begin_inset Quotes cld
18448 \begin_inset Quotes crd
18451 que te recuerda que es una transparencia.
18452 En realidad las transparencias finales pueden usar una tipografía más grande,
18453 por tanto dispondrás de menos espacio.
18454 Es decir, la tipografía grande en pantalla no es WYSIWYG, es solo un recordator
18458 \begin_layout Standard
18459 La segunda cosa que llamará la atención es el cuadro desplegable de los
18460 entornos de párrafo ( a la izquierda de la barra de herramientas).
18461 La mayoría de los entornos que estás acostumbrado a ver ahí están ausentes.
18462 Y hay cinco nuevos.
18463 Esto se debe a que la clase
18467 por sí misma solo soporta un cierto número de entornos de párrafo:
18470 \begin_layout Itemize
18476 \begin_layout Itemize
18482 \begin_layout Itemize
18488 \begin_layout Itemize
18494 \begin_layout Itemize
18500 \begin_layout Itemize
18506 \begin_layout Itemize
18512 \begin_layout Itemize
18518 \begin_layout Itemize
18524 \begin_layout Itemize
18527 Código-\SpecialChar LyX
18531 \begin_layout Itemize
18537 \begin_layout Standard
18538 Todos los demás entornos estándar, incluyendo los de cabeceras de sección,
18539 no funcionan en la clase
18546 \begin_layout Standard
18547 Por otra parte, verás los siguientes nuevos entornos:
18550 \begin_layout Itemize
18556 \begin_layout Itemize
18562 \begin_layout Itemize
18568 \begin_layout Itemize
18574 \begin_layout Itemize
18580 \begin_layout Standard
18581 Estos cinco tienen ciertas peculiaridades debido a una
18582 \begin_inset Quotes cld
18586 \begin_inset Quotes crd
18589 de \SpecialChar LyX
18591 Verás, \SpecialChar LyX
18592 no permite anidar ningún entorno de párrafo en un entorno vacío.
18593 Bien, esto es fino y elegante, pero significa que no podrás comenzar una
18594 transparencia con nada que no sea texto simple.
18595 Para evitar esto, he hecho un poco de
18596 \begin_inset Quotes cld
18599 magia \SpecialChar LaTeX
18601 \begin_inset Quotes crd
18607 \begin_layout Subsubsection
18608 Peculiaridades de los nuevos entornos
18609 \begin_inset CommandInset label
18611 name "sec:slide-Peculiaridades"
18618 \begin_layout Standard
18619 Los cinco entornos nuevos son un poco peculiares debido a limitaciones inherente
18620 s a \SpecialChar LyX
18622 Como he dicho, \SpecialChar LyX
18623 prohibe los entornos que comienzan con otro entorno.
18624 Para obviar esto, el entorno
18628 no se comporta como los entornos de párrafo típicos descritos en la
18636 \begin_layout Standard
18649 deberían considerarse
18650 \begin_inset Quotes cld
18654 \begin_inset Quotes crd
18658 Tienen el aspecto de una cabecera de sección o de un
18659 \begin_inset Quotes cld
18667 \begin_inset Quotes crd
18670 , pero realmente comienzan (y si es necesario finalizan el anterior) un
18671 entorno de párrafo.
18672 De igual manera, considera
18681 \begin_inset Quotes cld
18685 \begin_inset Quotes crd
18689 Estos dos realizan acciones.
18692 \begin_layout Standard
18693 Una característica común a los cinco entornos,
18713 , es una etiqueta más bien larga.
18714 El texto que sigue a la etiqueta —generalmente los contenidos del entorno
18715 de párrafo— no es tenido en cuenta.
18717 lo ignora completamente.
18718 De hecho, puedes dejar estos cinco entornos totalmente vacíos.
18722 \begin_layout Standard
18727 que poner texto tras la etiqueta, puedes hacerlo.
18728 Podría ser, por ejemplo, una breve descripción del contenido de la
18733 En ese caso, introduce tu texto y pulsa
18737 como harías normalmente.
18740 \begin_layout Standard
18741 Si, por otra parte, no deseas introducir ningún texto descriptivo, puedes
18742 utilizar otra peculiaridad de \SpecialChar LyX
18745 , como la naturaleza, siente horror al vacío, y no te permitirá iniciar
18746 un nuevo entorno de párrafo hasta que pongas algo en el anterior.
18747 En ese caso puedes hacer esto:
18750 \begin_layout Itemize
18751 Comienza introduciendo el texto que
18779 \begin_layout Itemize
18780 Sitúate ahora en el principio de ese párrafo.
18784 \begin_layout Itemize
18793 \begin_layout Itemize
18794 Por último, cambia este nuevo párrafo vacío a
18817 \begin_layout Standard
18818 Confiemos en que alguna futura versión de \SpecialChar LyX
18819 resuelva esta peculiaridad\SpecialChar ldots
18823 \begin_layout Subsection
18824 Hacer una presentación con
18837 \begin_layout Subsubsection
18838 Utilizar el entorno
18843 \begin_layout Standard
18844 Si esperas que esta sección te enseñe a realizar una presentación, te vas
18846 Naturalmente, describiré todas las formas en que la clase
18850 te ayudará a preparar una presentación.
18851 Completar el contenido es tarea tuya.
18852 (Esta es, también, la filosofía de \SpecialChar LyX
18857 \begin_layout Standard
18858 Al escoger el entorno
18862 (como se indica en la sección
18863 \begin_inset space ~
18867 \begin_inset CommandInset ref
18869 reference "sec:slide-Peculiaridades"
18874 comienza una nueva.
18875 El marcador para este entorno/
18876 \begin_inset Quotes cld
18880 \begin_inset Quotes crd
18884 \begin_inset Quotes cld
18888 \begin_inset Quotes crd
18891 en azul con la etiqueta
18892 \begin_inset Quotes cld
18896 \begin_inset Quotes crd
18902 \begin_layout Standard
18903 Cualquier texto o entorno de párrafo que siga a este irá en la nueva diapositiva.
18907 \begin_layout Standard
18908 Probablemente, en las diapositivas necesitarás forzar saltos de página en
18910 (puede especificarse en el diálogo
18912 Insertar\SpecialChar menuseparator
18916 De hecho, tendrás que hacerlo una vez acabes el contenido de una transparencia.
18917 Si has introducido más texto del que cabe en una transparencia, el sobrante
18919 Sin embargo no lo recomiendo, puesto que la diapositiva con el texto excedente
18920 no tendrá número de página.
18921 Además, puede interferir con algún
18925 que hayas incluido en la transparencia sobredimensionada.
18928 \begin_layout Standard
18937 funcionan como el entorno
18943 \begin_inset Quotes cld
18947 \begin_inset Quotes crd
18951 \begin_inset Quotes cld
18955 \begin_inset Quotes crd
18959 \begin_inset Quotes cld
18963 \begin_inset Quotes crd
18971 color es magenta en vez de azul, y la
18972 \begin_inset Quotes cld
18976 \begin_inset Quotes crd
18979 tiene un aspecto diferente en estilo y longitud.
18980 La tipografía de las etiquetas de las tres también es diferente en cada
18984 \begin_layout Standard
18989 , si los contenidos de una
18997 exceden el espacio físico de la diapositiva o del papel, el texto sobrante
18998 ocupa una nueva hoja.
18999 De nuevo lo desaconsejamos porque las
19007 s carecerían de utilidad.
19010 \begin_layout Subsubsection
19020 \begin_layout Standard
19025 es una transparencia que se superpone a otra.
19026 Supón que quieres presentar una figura en una diapositiva antes que el
19027 texto que la acompaña.
19028 Una forma de conseguirlo es ocultar con papel negro la parte que quieres
19029 que se muestre más tarde.
19030 Sin embargo, este método no sirve si quieres superponer un gráfico a otro,
19032 Entonces tendrías que trastear con las transparencias, mientras sigues
19033 hablando, para superponerlas de manera que los gráficos queden correctamente
19039 , ambas cosas son mucho más sencillas.
19042 \begin_layout Standard
19047 tiene el mismo número de página que la
19052 \begin_inset Quotes cld
19056 \begin_inset Quotes crd
19060 \begin_inset Quotes cld
19064 \begin_inset Quotes crd
19071 \begin_layout Plain Layout
19072 Presumiblemente, múltiples
19077 \begin_inset Quotes cld
19085 \begin_inset Quotes crd
19089 \begin_inset Quotes cld
19097 \begin_inset Quotes crd
19101 \begin_inset Quotes cld
19109 \begin_inset Quotes crd
19113 \begin_inset space ~
19116 tras el número de página de la
19121 \begin_inset Quotes cld
19125 \begin_inset Quotes crd
19134 ¡Efectivamente, quieres que la Diapositiva
19142 cuenten como si fueran una sola página! Probablemente deberías considerar
19148 \begin_inset Quotes cld
19152 \begin_inset Quotes crd
19168 en \SpecialChar LyX
19169 : la etiqueta al principio de un
19173 es más corta que la de comienzo de una
19178 Por último, al generar salida impresa, verás marcas de alineación en las
19179 cuatro esquinas de las páginas de la
19188 Esas marcas te ayudarán a alinear físicamente las dos transparencias.
19191 \begin_layout Standard
19192 El mayor problema para superponer dos transparencias es alinear sus contenidos.
19193 ¿Qué espacio habrá que dejar para tal gráfico en la segunda transparencia?
19194 Peor aún, ¿qué pasa si quieres un gráfico y una frase en la segunda transparenc
19195 ia, pero en la primera hay texto que debe aparecer entre ellos? Podrías
19196 probar a insertar un espacio vertical adecuado, pero el mejor método es
19208 \begin_layout Standard
19209 Como su nombre indica,
19217 son entornos de párrafo que hacen invisible o visible, respectivamente,
19218 todo el texto siguiente.
19219 Sin embargo, ten en cuenta que no colocas nada
19223 de estos entornos, recuerda la sección
19224 \begin_inset space ~
19228 \begin_inset CommandInset ref
19230 reference "sec:slide-Peculiaridades"
19239 , se inserta una etiqueta en azul-cielo, centrada en la página con la leyenda
19240 <Invisible Text Follows>.
19241 Los párrafos que siguen a esta etiqueta en la
19249 (da lo mismo) se sustituyen por el espacio en blanco equivalente.
19252 \begin_layout Standard
19257 , la etiqueta tiene la leyenda <Visible Text Follows>
19258 \begin_inset space ~
19262 Los párrafos que la siguen se comportan normalmente.
19263 Ten en cuenta que el inicio de
19275 desactiva automáticamente la función
19280 No es necesario utilizar
19291 \begin_layout Standard
19292 Ya deberíamos estar listos para crear transparencias superpuestas con la
19293 adecuada combinación de
19312 \begin_layout Enumerate
19317 , incluyendo todo lo que debe aparecer en ella y en los
19324 \begin_layout Enumerate
19325 Antes de cada figura o párrafo que vaya a salir solo en un
19329 , inserta un entorno
19334 Si es necesario, inserta un entorno
19338 tras el texto que pertenece solo al
19345 \begin_layout Enumerate
19350 inmediatamente detrás de la
19357 \begin_layout Enumerate
19358 Copia los contenidos de esta
19369 \begin_layout Enumerate
19374 , cambia todas las líneas del
19385 \begin_layout Standard
19387 Acabas de hacer una transparencia superpuesta.
19390 \begin_layout Standard
19391 Hay un problema con el procedimiento que he diseñado para la clase
19395 en \SpecialChar LyX
19396 : no puedes hacer invisible un texto en mitad de un párrafo, ni hacer
19397 visible un texto dentro de un párrafo invisible.
19398 Para conseguirlo necesitarás usar algo de código \SpecialChar LaTeX
19403 \begin_layout Plain Layout
19404 Los comandos de interés son:
19407 \begin_layout Itemize
19412 invisible \SpecialChar ldots
19416 \begin_layout Itemize
19421 visible \SpecialChar ldots
19425 \begin_layout Plain Layout
19427 que deben marcarse como \SpecialChar TeX
19429 El texto \SpecialChar ldots
19435 \begin_inset Quotes cld
19439 \begin_inset Quotes crd
19442 quieres cambiar debe ir a continuación del comando
19454 , y todo ello entre llaves { }.
19455 Si no sabes cómo se marca un texto como \SpecialChar TeX
19456 , consulta la sección adecuada
19469 \begin_layout Subsubsection
19479 \begin_layout Standard
19488 está asociada a una
19496 \begin_inset Quotes cld
19500 \begin_inset Quotes crd
19504 También \SpecialChar LyX
19509 visualmente: La etiqueta para una
19513 es más corta que la de una
19517 pero más larga que la de
19521 y, como este, en color magenta.
19526 tiene en la salida el número de página de la
19531 \begin_inset Quotes cld
19535 \begin_inset Quotes crd
19539 \begin_inset Quotes cld
19547 \begin_inset Quotes crd
19551 \begin_inset Quotes cld
19559 \begin_inset Quotes crd
19563 \begin_inset Quotes cld
19571 \begin_inset Quotes crd
19575 Puedes poner varias
19591 , seguramente te interesará cortar las
19595 largas para que quepan en una hoja.
19598 \begin_layout Standard
19599 El propósito de una
19603 es evidente: hacer comentarios adicionales al contenido principal.
19604 También podría utilizarse como recordatorio en una
19609 En este caso, podrías hacer uso de marcadores de tiempo.
19610 Actualmente, la clase
19614 no tiene en \SpecialChar LyX
19616 \begin_inset Quotes cld
19620 \begin_inset Quotes crd
19623 para marcadores de tiempo, una función de
19629 Por tanto tendrías que usar código \SpecialChar LaTeX
19633 \begin_layout Standard
19634 Para usar marcadores de tiempo debes especificar la opción extra de clase
19636 \begin_inset Quotes cld
19644 \begin_inset Quotes crd
19648 \begin_inset space ~
19652 \begin_inset CommandInset ref
19654 reference "sec:slidesetup"
19659 Esta opción habilita marcas de tiempo que se mostrarán en la esquina inferior
19665 Para establecer lo que aparecerá en el marcador de tiempo, usa los comandos
19668 \begin_inset Quotes cld
19678 \begin_inset Quotes crd
19682 \begin_inset Quotes cld
19692 \begin_inset Quotes crd
19696 El argumento de ambos comandos es un tiempo expresado en segundos.
19698 \begin_inset Quotes cld
19708 \begin_inset Quotes crd
19711 fija el marcador en un instante dado.
19713 \begin_inset Quotes cld
19723 \begin_inset Quotes crd
19726 incrementa el marcador en la cantidad de tiempo especificada.
19727 Usar los marcadores de tiempo y las
19731 de esta manera te recordará cuanto tiempo emplear en una
19738 \begin_layout Standard
19739 Queda por describir una característica.
19740 Seguramente te gustaría imprimir todas tus
19748 en transparentes y las
19765 a la que están asociadas.
19766 ¿Qué hacer entonces?
19769 \begin_layout Standard
19770 Afortunadamente hay dos comandos \SpecialChar LaTeX
19771 que permiten seleccionar lo que se ha
19773 Se deben poner en el preámbulo del documento.
19775 \begin_inset Quotes cld
19787 \begin_inset Quotes crd
19790 hará que la salida solo contenga las
19799 De igual manera, el comando
19800 \begin_inset Quotes cld
19812 \begin_inset Quotes crd
19820 Aconsejo poner ambos comandos en el preámbulo pero desactivados mediante
19821 un comentario a principio de línea para que puedas ver preliminares de
19822 toda la presentación.
19823 A la hora de imprimir, puedes descomentar uno de ellos para imprimir esa
19825 Tengo la costumbre de descomentar
19826 \begin_inset Quotes cld
19838 \begin_inset Quotes crd
19841 , exportar a un archivo con
19842 \begin_inset Quotes cld
19850 \begin_inset Quotes crd
19853 en el nombre, comentarlo de nuevo, ahora descomentar
19854 \begin_inset Quotes cld
19866 \begin_inset Quotes crd
19869 y exportar a otro archivo con
19870 \begin_inset Quotes cld
19878 \begin_inset Quotes crd
19882 Entonces puedo mandar ambos archivos a la impresora poniendo transparentes
19883 o papel según convenga.
19886 \begin_layout Standard
19887 También puedes poner otros argumentos a los comandos
19888 \begin_inset Quotes cld
19898 \begin_inset Quotes crd
19902 \begin_inset Quotes cld
19912 \begin_inset Quotes crd
19916 Consulta un buen libro sobre \SpecialChar LaTeX
19920 \begin_layout Subsection
19921 La plantilla para la clase
19926 \begin_layout Standard
19927 He preparado también un archivo modelo,
19928 \begin_inset Quotes cld
19936 \begin_inset Quotes crd
19944 Para empezar tu presentación con él abrelo con
19946 Archivo\SpecialChar menuseparator
19948 \begin_inset space ~
19952 \begin_inset space ~
19958 Contiene un ejemplo de presentación con el trío
19979 tienen además un ejemplo del uso de TextoI
19988 Por último, el preámbulo contiene:
19991 \begin_layout LyX-Code
19992 % Uncomment to print out only slides and overlays
19996 \begin_layout Plain Layout
19998 \begin_inset Quotes cld
20002 \begin_inset Quotes crd
20005 ) para imprimir solo diapositivas y superpuestos.
20019 \begin_layout LyX-Code
20023 \begin_layout LyX-Code
20029 \begin_inset Newline newline
20035 \begin_layout LyX-Code
20036 % Uncomment to print out only notes
20040 \begin_layout Plain Layout
20042 \begin_inset Quotes cld
20046 \begin_inset Quotes crd
20049 ) para imprimir solo las notas.
20063 \begin_layout LyX-Code
20067 \begin_layout LyX-Code
20075 \begin_layout Standard
20076 Un apunte final: He creado esta clase para dar soporte a la clase integrante
20077 de \SpecialChar LaTeX2e
20079 \begin_inset Quotes cld
20088 \begin_inset Quotes crd
20092 Ni yo ni el resto del equipo \SpecialChar LyX
20093 aprobamos o desaprobamos el empleo de esta
20095 A tí te corresponde decidir si la necesitas.
20096 Hay otras clases de \SpecialChar LaTeX2e
20097 para crear presentaciones, como
20102 \begin_inset space ~
20106 \begin_inset CommandInset ref
20108 reference "sec:foiltex"
20113 \begin_inset Quotes cld
20121 \begin_inset Quotes crd
20124 (presente en algunas distribuciones de \SpecialChar TeX
20126 Este último aún no es soportado por \SpecialChar LyX
20131 \begin_layout Plain Layout
20132 Quizá quieras abordar tú la tarea\SpecialChar ldots
20138 No conozco estas otras clases.
20139 Puedes probarlas para ver qué alternativas te ofrecen.
20142 \begin_layout Chapter
20143 Características de \SpecialChar LyX
20144 que requieren software adicional
20145 \begin_inset Argument 1
20148 \begin_layout Plain Layout
20157 \begin_layout Section
20158 Comprobar \SpecialChar TeX
20162 \begin_layout Standard
20168 \begin_layout Subsection
20172 \begin_layout Standard
20181 \begin_layout Plain Layout
20182 Aún no disponible en la distribución Mik\SpecialChar TeX
20192 encontrarás la opción
20195 \begin_inset space ~
20201 Para que esté disponible necesitas instalar el programa
20206 Puedes obtenerlo de CTAN,
20207 \begin_inset Newline newline
20211 \begin_inset CommandInset href
20213 target "http://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
20221 \begin_layout Standard
20224 Chk\SpecialChar TeX
20232 , a causa de la frustración que generan algunas construcciones de \SpecialChar LaTeX
20234 intuitivas y fáciles de olvidar.
20235 El programa se ejecuta sobre el archivo \SpecialChar LaTeX
20236 y comprueba la integridad del
20237 mismo, identificando algunos errores comunes.
20238 En palabras técnicas, es como
20242 para \SpecialChar LaTeX
20246 \begin_layout Standard
20247 Bien, ¿qué pinta un revisor de sintaxis en \SpecialChar LyX
20248 , que se supone que siempre genera
20250 correcto? La respuesta es sencilla: Igual que
20254 no solo comprueba la
20258 de programas C, sino que también comprueba la
20266 busca de errores de tipografía,
20268 Chk\SpecialChar TeX
20271 detecta, además de los errores sintácticos, errores
20275 comunes, tales como
20278 \begin_layout Itemize
20279 Puntos suspensivos incorrectos:
20280 \begin_inset Newline newline
20283 Usa \SpecialChar ldots
20287 \begin_layout Itemize
20288 Espacio junto a los paréntesis:
20289 \begin_inset Newline newline
20292 ( espaciado incorrecto )
20295 \begin_layout Itemize
20296 Introducción de espacio normal tras abreviaciones:
20297 \begin_inset Newline newline
20302 es un espacio demasiado grande.
20305 \begin_layout Itemize
20306 Colocación de un espacio fin-de-frase cuando la última frase acaba con mayúscula
20308 \begin_inset Newline newline
20312 Y esto un espacio incorrecto.
20315 \begin_layout Itemize
20316 Espacio ante etiquetas y otros comandos:
20317 \begin_inset Newline newline
20320 La etiqueta debe estar pegada al texto precedente para evitar un salto de
20321 línea o página en mal sitio.
20323 \begin_inset CommandInset label
20333 \begin_layout Plain Layout
20334 Esta nota podría salir en una página inadecuada.
20339 La etiqueta está demasiado separada.
20342 \begin_layout Itemize
20343 Espacio no protegido ante las referencias:
20344 \begin_inset Newline newline
20347 Si te despistas en esto, el texto podría saltar de línea justo entre él
20348 y el número de la referencia, lo que se ve feo.
20350 \begin_inset CommandInset ref
20352 reference "sec:chktex"
20359 \begin_layout Itemize
20361 \begin_inset Quotes eld
20365 \begin_inset Quotes erd
20369 \begin_inset Formula $\times$
20373 \begin_inset Newline newline
20376 2x2 se ve cutre comparado con
20377 \begin_inset Formula $2\times2$
20383 \begin_layout Standard
20384 y más\SpecialChar ldots
20385 Es una herramienta imprescindible una vez acabado tu documento y hecha
20386 la revisión ortográfica; antes de afinar la composición del documento e
20387 imprimirlo deberías ejecutar
20389 Chk\SpecialChar TeX
20395 \begin_layout Subsection
20399 \begin_layout Standard
20400 Si el programa está instalado, se ejecuta con
20402 Herramientas\SpecialChar menuseparator
20404 \begin_inset space ~
20411 genera entonces un archivo \SpecialChar LaTeX
20412 del documento, inicia
20414 Chk\SpecialChar TeX
20417 para revisarlo, e inserta
20418 \begin_inset Quotes cld
20422 \begin_inset Quotes crd
20425 con las advertencias de
20427 Chk\SpecialChar TeX
20431 Las advertencias se situarán cerca del error, y puedes navegar entre ellas
20432 con la opción de menú
20434 Navegar\SpecialChar menuseparator
20437 , o con el atajo de teclado
20446 Los cuadros de error se abren pulsando sobre ellos o con el atajo
20463 Lee las advertencias y corrige los errores.
20464 Si no tienes ni idea de qué va un mensaje puedes ignorarlo limpiamente.
20465 Recuerda que hay un estrato oculto entre el documento en pantalla y los
20466 detalles técnicos al ejecutar
20468 Chk\SpecialChar TeX
20471 , por lo que pueden aparecer algunos avisos de aspecto misterioso o absurdo.
20474 \begin_layout Standard
20475 Este documento es un excelente banco de pruebas para esta característica,
20476 con el que comprobar la presencia de advertencias y enredar con ellas.
20477 Aunque, como los ordenadores son tan listos, confía en que la mayoría de
20478 advertencias serán falsas alarmas.
20481 \begin_layout Subsection
20485 \begin_layout Standard
20486 A veces observarás que con
20488 Chk\SpecialChar TeX
20491 hay más ruido que nueces.
20492 Puedes elegir no usarlo, o intentar personalizar
20494 Chk\SpecialChar TeX
20497 para adaptarlo a tus necesidades.
20500 \begin_layout Standard
20503 Chk\SpecialChar TeX
20510 muy configurable y ampliable, no esperes resolver todos los problemas de
20514 Chk\SpecialChar TeX
20518 Como \SpecialChar LyX
20519 ha de generar un archivo \SpecialChar LaTeX
20520 un tanto especial para poder casar los
20521 números de línea de la salida de
20523 Chk\SpecialChar TeX
20526 con la estructura interna del documento
20530 \begin_layout Plain Layout
20531 Puedes inspeccionar la salida de
20537 Documento\SpecialChar menuseparator
20539 \begin_inset space ~
20543 \begin_inset space ~
20558 , algunos de los avisos no estarán bien colocados.
20559 Puedes hacer dos cosas:
20562 \begin_layout Itemize
20563 Afinar la línea de comandos de
20565 Chk\SpecialChar TeX
20574 Salidas\SpecialChar menuseparator
20578 ), o el archivo de configuración global de
20580 Chk\SpecialChar TeX
20583 (normalmente se ubica en
20584 \begin_inset Newline newline
20589 /usr/local/share/chktexrc
20592 Véase más adelante qué advertencias se pueden activar o desactivar en la
20597 \begin_layout Itemize
20598 Exporta tu documento a un archivo \SpecialChar LaTeX
20603 Archivo\SpecialChar menuseparator
20604 Exportar\SpecialChar menuseparator
20612 Ejecutado así, puede ser peliagudo encontrar el lugar correspondiente en
20613 el documento \SpecialChar LyX
20614 , pero con un poco de paciencia lo lograrás.
20617 \begin_layout Standard
20618 A continuación se listan los mensajes de error que pueden ser activados
20628 para desactivar un aviso, y
20633 Las entradas en énfasis están desactivadas por omisión, porque de forma
20634 predeterminada se ejecuta como "
20636 chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38
20641 \begin_layout Standard
20642 Ten en cuenta que solo deberías usar las opciones que activan o desactivan
20643 avisos, porque las demás las usa \SpecialChar LyX
20644 de manera específica para comunicarse
20652 \begin_layout Enumerate
20656 Command terminated with space.
20657 (Comando finalizado con un espacio
20664 \begin_layout Enumerate
20667 Non-breaking space (
20668 \begin_inset Quotes eld
20676 \begin_inset Quotes erd
20679 ) should have been used.
20684 debería haber usado un espacio protegido
20685 \begin_inset Quotes cld
20689 \begin_inset Quotes crd
20695 \begin_layout Enumerate
20699 You should enclose the previous parenthesis with
20700 \begin_inset Quotes eld
20708 \begin_inset Quotes erd
20715 (Deberías cerrar los paréntesis previos con
20720 \begin_inset Quotes cld
20724 \begin_inset Quotes crd
20730 \begin_layout Enumerate
20733 Italic correction (
20734 \begin_inset Quotes eld
20744 \begin_inset Quotes erd
20747 ) found in non-italic buffer.
20748 (Corrección de cursiva (
20749 \begin_inset Quotes cld
20755 \begin_inset Quotes crd
20758 ) en un grupo que no está en cursiva)
20761 \begin_layout Enumerate
20764 Italic correction (
20765 \begin_inset Quotes eld
20775 \begin_inset Quotes erd
20778 ) found more than once.
20779 (Corrección de cursiva (
20780 \begin_inset Quotes cld
20786 \begin_inset Quotes crd
20792 \begin_layout Enumerate
20796 No italic correction (
20797 \begin_inset Quotes eld
20807 \begin_inset Quotes erd
20811 (Corrección de cursiva (
20814 \begin_inset Quotes cld
20820 \begin_inset Quotes crd
20832 \begin_layout Enumerate
20836 \begin_inset Quotes eld
20844 \begin_inset Quotes erd
20848 \begin_inset Quotes eld
20856 \begin_inset Quotes erd
20861 \begin_inset Quotes cld
20865 \begin_inset Quotes crd
20869 \begin_inset Quotes cld
20873 \begin_inset Quotes crd
20879 \begin_layout Enumerate
20882 Wrong length of dash may have been used.
20883 (Quizá se ha usado un guión de longitud inadecuada)
20886 \begin_layout Enumerate
20890 \begin_inset Quotes eld
20898 \begin_inset Quotes erd
20902 \begin_inset Quotes eld
20910 \begin_inset Quotes erd
20915 \begin_inset Quotes cld
20919 \begin_inset Quotes crd
20923 \begin_inset Quotes cld
20927 \begin_inset Quotes crd
20933 \begin_layout Enumerate
20937 \begin_inset Quotes eld
20945 \begin_inset Quotes erd
20949 (Se ha encontrado un solo
20950 \begin_inset Quotes cld
20954 \begin_inset Quotes crd
20960 \begin_layout Enumerate
20964 \begin_inset Quotes eld
20972 \begin_inset Quotes erd
20975 to achieve an ellipsis.
20977 \begin_inset Quotes cld
20981 \begin_inset Quotes crd
20984 para los puntos suspensivos)
20987 \begin_layout Enumerate
20990 Inter-word spacing (
20991 \begin_inset Quotes eld
21001 \begin_inset Quotes eld
21004 ) should perhaps be used.
21005 (Quizá tendría que ponerse un espacio entre palabras (
21006 \begin_inset Quotes cld
21012 \begin_inset Quotes crd
21018 \begin_layout Enumerate
21021 Inter-sentence spacing (
21022 \begin_inset Quotes eld
21032 \begin_inset Quotes erd
21035 ) should perhaps be used.
21036 (Quizá tendría que ponerse un espacio entre frases (
21037 \begin_inset Quotes cld
21043 \begin_inset Quotes crd
21049 \begin_layout Enumerate
21052 Could not find argument for command.
21053 (Argumento de comando no encontrado)
21056 \begin_layout Enumerate
21060 \begin_inset Quotes eld
21068 \begin_inset Quotes erd
21073 \begin_inset Quotes cld
21077 \begin_inset Quotes crd
21083 \begin_layout Enumerate
21086 Math mode still on at end of \SpecialChar LaTeX
21088 (El archivo \SpecialChar LaTeX
21089 termina en modo ecuación)
21092 \begin_layout Enumerate
21096 \begin_inset Quotes eld
21104 \begin_inset Quotes erd
21107 doesn't match the number of
21108 \begin_inset Quotes eld
21116 \begin_inset Quotes erd
21121 \begin_inset Quotes cld
21125 \begin_inset Quotes crd
21128 no corresponde con el número de
21129 \begin_inset Quotes cld
21133 \begin_inset Quotes crd
21139 \begin_layout Enumerate
21142 You should use either
21145 \begin_inset Quotes eld
21153 \begin_inset Quotes erd
21158 as an alternative to
21159 \begin_inset Quotes eld
21167 \begin_inset Quotes erd
21172 \begin_inset Quotes cld
21176 \begin_inset Quotes crd
21182 \begin_inset Quotes cld
21192 \begin_inset Quotes crd
21200 \begin_layout Enumerate
21207 " (ASCII 39) instead of "
21213 \begin_inset Quotes cld
21217 \begin_inset Quotes crd
21220 (ASCII 39) en lugar de
21221 \begin_inset Quotes cld
21225 \begin_inset Quotes crd
21231 \begin_layout Enumerate
21234 User-specified pattern found.
21235 (Se ha encontrado un patrón definido por el usuario)
21238 \begin_layout Enumerate
21241 This command might not be intended.
21242 (Comando posiblemente no buscado)
21245 \begin_layout Enumerate
21250 (Comentario mostrado)
21253 \begin_layout Enumerate
21284 \begin_layout Enumerate
21287 Delete this space to maintain correct page references.
21288 (Borra este espacio para mantener las referencias de página)
21291 \begin_layout Enumerate
21295 You might wish to put this between a pair of
21296 \begin_inset Quotes eld
21304 \begin_inset Quotes erd
21308 (Esto quizá estaría mejor entre llaves
21309 \begin_inset Quotes cld
21313 \begin_inset Quotes crd
21319 \begin_layout Enumerate
21322 You ought to remove spaces in front of punctuation.
21323 (Debes quitar espacios delante de la puntuación)
21326 \begin_layout Enumerate
21329 Could not execute \SpecialChar LaTeX
21331 (No se puede ejecutar comando \SpecialChar LaTeX
21335 \begin_layout Enumerate
21344 in front of small punctuation.
21351 delante de un punto)
21354 \begin_layout Enumerate
21362 may look prettier here.
21363 (Aquí quedaría mejor
21373 \begin_layout Enumerate
21377 Multiple spaces detected in output.
21378 (Se detectan espacios múltiples en la salida)
21381 \begin_layout Enumerate
21384 This text may be ignored.
21385 (Este texto podría no tenerse en cuenta)
21388 \begin_layout Enumerate
21394 \begin_inset Quotes eld
21399 to begin quotation, not
21404 (Usa `` para comenzar una cita, no ')
21407 \begin_layout Enumerate
21414 to end quotation, not
21417 \begin_inset Quotes eld
21423 (Usa ' para finalizar una cita, no ``)
21426 \begin_layout Enumerate
21430 (No mezcles distintos tipos de comillas)
21433 \begin_layout Enumerate
21436 You should perhaps use
21437 \begin_inset Quotes eld
21445 \begin_inset Quotes erd
21449 (Quizá sería mejor usar
21450 \begin_inset Quotes cld
21454 \begin_inset Quotes crd
21460 \begin_layout Enumerate
21463 You should put a space in front of/after parenthesis.
21464 (Deberías poner un espacio delante/detrás de los paréntesis)
21467 \begin_layout Enumerate
21470 You should avoid spaces in front of/after parenthesis.
21471 (Deberías evitar espacios delante/detrás de los paréntesis)
21474 \begin_layout Enumerate
21478 You should not use punctuation in front of/after quotes.
21479 (No deberías usar puntuación delante/detrás de comillas)
21482 \begin_layout Enumerate
21485 Double space found.
21486 (Espacio doble encontrado)
21489 \begin_layout Enumerate
21492 You should put punctuation outside inner/inside display math mode.
21493 (Deberías poner la puntuación fuera del modo ecuación)
21496 \begin_layout Enumerate
21499 You ought to not use primitive \SpecialChar TeX
21500 in \SpecialChar LaTeX
21502 (No debes usar primitivas de \SpecialChar TeX
21503 dentro de código \SpecialChar LaTeX
21507 \begin_layout Enumerate
21510 You should remove spaces in front of
21511 \begin_inset Quotes eld
21519 \begin_inset Quotes erd
21522 (Deberías quitar los espacios delante de
21523 \begin_inset Quotes cld
21527 \begin_inset Quotes crd
21533 \begin_layout Enumerate
21536 \begin_inset Quotes eld
21544 \begin_inset Quotes erd
21547 is normally not followed by
21548 \begin_inset Quotes eld
21556 \begin_inset Quotes erd
21561 \begin_inset Quotes cld
21565 \begin_inset Quotes crd
21568 normalmente no va seguido de
21569 \begin_inset Quotes cld
21573 \begin_inset Quotes crd
21579 \begin_layout Standard
21580 En las últimas versiones de \SpecialChar LyX
21581 esperamos proporcionar una interfaz más completa
21582 para esta herramienta (y su prima pequeña
21586 ) para aprovechar toda su potencia.
21587 Pero no deja de ser útil tal como está: prueba con alguno de tus documentos
21588 de cierta longitud y sorpréndete.
21591 \begin_layout Section
21592 Control de versiones en \SpecialChar LyX
21596 \begin_layout Standard
21599 Lars Gullik Bjønnes
21606 \begin_layout Subsection
21610 \begin_layout Standard
21612 soporta algunos comandos básicos de RCS/CVS/SVN/GIT.
21613 Si necesitas algo más sofisticado tendrás que hacerlo a mano en un terminal.
21616 \begin_layout Standard
21617 Además, hay que tener en cuenta que el soporte de CVS no es tan bueno como
21618 el de subversion, por lo que recomendamos SVN.
21619 Para empezar con Subversion es conveniente consultar SVN Book.
21623 \begin_layout Plain Layout
21624 \begin_inset CommandInset href
21626 target "http://svnbook.red-bean.com/"
21636 Para RCS deberías leer
21637 \begin_inset Quotes cld
21641 \begin_inset Quotes crd
21649 Este archivo describe todas las características básicas de RCS.
21650 Deberías fijarte especialmente en el comentario sobre el directorio RCS
21651 y las nociones sobre el archivo maestro RCS (el que acaba en
21658 \begin_layout Standard
21659 Antes de usar el control de versiones en \SpecialChar LyX
21660 hay que conocer el uso de RCS/CVS/SVN/
21662 La implementación en \SpecialChar LyX
21663 asume el uso de versiones recientes de los paquetes
21664 GNU RCS o CVS/SVN —no hay garantías con versiones antiguas—.
21665 La mayoría de los mensajes de registro no son actualmente mostrados tras
21666 las operaciones —puedes comprobarlos en el panel Messages si no estás seguro.
21667 Los usuarios habituales de control de versiones apreciarán las herramientas
21670 Ver\SpecialChar menuseparator
21671 Barras de herramientas\SpecialChar menuseparator
21672 Control de versiones
21677 \begin_layout Standard
21678 Para introducir tus propios comandos externos consulta vc-command en el
21681 Funciones de \SpecialChar LyX
21687 \begin_layout Standard
21688 Es muy recomendable guardar los documentos sin comprimir si se usa control
21689 de versiones (desactiva
21691 Documento\SpecialChar menuseparator
21694 si lo está): los documentos \SpecialChar LyX
21695 sin comprimir son archivos de texto y por
21696 tanto factibles de ser mezclados por sistemas de control de versiones.
21697 Los documentos \SpecialChar LyX
21698 comprimidos son archivos binarios, no manejables por sistemas
21699 de control de versiones.
21703 \begin_layout Subsection
21704 Comandos RCS en \SpecialChar LyX
21708 \begin_layout Standard
21709 Las secciones siguientes describen los comandos RCS soportados por \SpecialChar LyX
21711 Los puedes encontrar en el submenú
21713 Archivo\SpecialChar menuseparator
21715 \begin_inset space ~
21719 \begin_inset space ~
21726 se ha probado con la versión RCS 5.7/5.8.
21729 \begin_layout Subsubsection
21735 \begin_layout Standard
21736 Si tu documento no está sometido a control de versiones, este es el único
21737 ítem mostrado en el submenú.
21738 Y si está sometido a control de versiones, el ítem
21746 \begin_layout Standard
21747 Este comando registra el documento con RCS\SpecialChar endofsentence
21748 Se te pide interactivamente una
21749 descripción inicial del documento.
21750 Por ahora, el documento está puesto en modo Solo-lectura y debes
21752 Liberar para edición
21754 antes de hacer cambios en él.
21755 Un documento bajo control de revisión tiene un ítem
21756 \begin_inset Quotes cld
21759 [RCS:<version> <locker>]
21760 \begin_inset Quotes crd
21763 junto al nombre de archivo en el búfer .
21766 \begin_layout Standard
21773 ci -q -u -i -t-"<descripción inicial>" <nombre-archivo>
21776 \begin_layout Standard
21781 para entender las opciones.
21785 \begin_layout Subsubsection
21791 \begin_layout Standard
21792 Cuando has acabado de editar un archivo liberas tus cambios.
21797 se te pide una descripción que se almacena en el historial.
21798 El número de versión es actualizado, tus cambios se aplican al archivo
21799 maestro RCS, el documento es desbloqueado y puesto en modo Solo-lectura.
21803 \begin_layout Standard
21806 ci -q -u -m"<descripción>" <nombre-archivo>
21809 \begin_layout Subsubsection
21812 Reservar para edición
21815 \begin_layout Standard
21816 Haciendo esto bloqueas el documento de manera que solo tú puedes editarlo.
21817 Además el documento será de Lectura-Escritura únicamente para ti.
21818 Generalmente continuarás la edición un rato más y al acabar liberarás los
21820 La línea de estado cambia para indicar que has bloqueado el archivo.
21824 \begin_layout Standard
21827 co -q -l <nombre-archivo>
21830 \begin_layout Subsubsection
21835 versión del repositorio
21838 \begin_layout Standard
21839 Esto descartará todos los cambios hechos en el documento desde la última
21840 liberación de cambios.
21841 Recibes un mensaje de aviso antes de descartar los cambios.
21847 \begin_layout Standard
21850 co -f -u<version> <nombre-archivo>
21853 \begin_layout Subsubsection
21857 \begin_layout Standard
21858 Creará una copia del documento actual.
21859 Puesto que RCS no soporta nativamente operaciones de copia, el historial
21860 de versiones no se preserva y la copia se añade como archivo nuevo.
21861 Requiere un documento limpio sin ningún cambio desde la última liberación.
21862 Pedirá un nombre de archivo y una descripción de la operación de copia.
21863 Después se crea la copia localmente y en el repositorio.
21864 Si los directorios padre de los documentos original y copiado difieren,
21865 se ajustan todas las rutas relativas de los archivos incluidos en la copia
21868 Archivo\SpecialChar menuseparator
21873 Por último, se carga la copia en vez del documento original.
21876 \begin_layout Labeling
21877 \labelwidthstring 00.00.0000
21879 \begin_inset space ~
21883 \begin_inset space ~
21887 \begin_inset Newline newline
21891 \begin_inset Flex Code
21894 \begin_layout Plain Layout
21895 \begin_inset Quotes eld
21899 \begin_inset Quotes erd
21908 \begin_inset Flex Code
21911 \begin_layout Plain Layout
21912 \begin_inset Quotes eld
21915 <nuevo-nombre-archivo>
21916 \begin_inset Quotes erd
21925 \begin_inset Newline newline
21929 \begin_inset Flex Code
21932 \begin_layout Plain Layout
21934 \begin_inset Quotes eld
21937 <nuevo-nombre-archivo>
21938 \begin_inset Quotes erd
21949 \begin_layout Subsubsection
21952 Deshacer última liberación
21955 \begin_layout Standard
21956 Esto es como si la última liberación de cambios no hubiera sucedido.
21957 No se hacen cambios al documento cargado en \SpecialChar LyX
21958 , pero la última versión es
21959 eliminada del archivo maestro RCS.
21963 \begin_layout Standard
21966 rcs -o<versión> <nombre-archivo>
21969 \begin_layout Subsubsection
21975 \begin_layout Standard
21976 Muestra el registro completo del historial del documento RCS.
21985 se muestra en un buscador.
21990 para más información.
21993 \begin_layout Subsubsection
21994 Información de revisión
21997 \begin_layout Standard
21999 soporta información de número de versión, autor, fecha y hora del último
22003 rlog -r <nombre-archivo>
22007 \begin_inset CommandInset ref
22009 reference "subsec:VCS-Información-de-revisión"
22016 \begin_layout Subsection
22017 Comandos CVS en \SpecialChar LyX
22021 \begin_layout Standard
22022 Ahora \SpecialChar LyX
22023 soporta un subconjunto de operaciones CVS.
22024 Puedes ver los comandos en el submenú
22026 Archivo\SpecialChar menuseparator
22027 Control de versiones
22030 El sistema de control de versiones SVN es más poderoso, por lo que úsalo
22031 en lugar de CVS, si es posible.
22034 \begin_layout Subsubsection
22038 \begin_layout Standard
22039 Si comienzas desde cero con CVS debes crear tu repositorio y reservar la
22040 copia de trabajo con herramientas externas.
22041 Si usas una configuración cliente-servidor puedes necesitar registrarte
22042 antes de hacer la primera reserva en el repositorio.
22045 \begin_layout Standard
22046 Si tus documentos están bajo control de revisión y otros usan el mismo repositor
22047 io surgen problemas cuando se hacen cambios en el mismo documento y en el
22049 Los repositorios estándar CVS no operan con bloqueo de archivos.
22050 Esto puede sorprender, pero los conflictos solo suceden si la gente discrepa
22051 sobre el adecuado contenido de la misma parte de un documento.
22052 Por tanto, si los colaboradores acostumbran a comunicarse regularmente,
22053 los conflictos ocurren raramente.
22054 Si no se comunican, tienen un problema fundamental de todos modos.
22055 Con todo, algunos prefieren trabajar con las denominadas
22056 \begin_inset Quotes cld
22059 reservas reservadas
22060 \begin_inset Quotes crd
22064 Si lo hacen así, la copia de trabajo de todos los archivos es de solo lectura
22065 cuando reservan primero y el usuario comienza la edición después de usar
22066 un comando especial para hacer posible la escritura en la copia de trabajo.
22067 Cuando los cambios son liberados la copia de trabajo vuelve al estado solo
22069 Con \SpecialChar LyX
22070 , uno debe editar el archivo
22071 \begin_inset Flex Code
22074 \begin_layout Plain Layout
22081 \begin_inset Flex Code
22084 \begin_layout Plain Layout
22091 \begin_inset Quotes cld
22094 reservas reservadas
22095 \begin_inset Quotes crd
22099 El beneficio es la posibilidad de ver quién está usando una copia con acceso
22100 a escritura de algún documento.
22101 No está garantizado que solo un usuario hace copias con permiso de escritura.
22104 \begin_layout Standard
22106 intenta averiguar si estás usando reservas reservadas o no.
22107 Si la copia de trabajo es solo lectura asume que es reservada, si admite
22108 escritura y una copia adicional del documento existe en el subdirectorio
22109 CVS/Base, asume que es no reservada.
22110 Si se detecta una reservada debes usar
22111 \begin_inset Flex Noun
22114 \begin_layout Plain Layout
22120 para poder escribir en ella.
22121 Después de hacerlo, la operación
22122 \begin_inset Flex Noun
22125 \begin_layout Plain Layout
22131 es posible y esto hace que tu copia de trabajo se haga de nuevo solo lectura
22132 después de transferir los cambios al repositorio.
22135 \begin_layout Standard
22136 Más información sobre CVS se puede encontrar en
22137 \begin_inset Flex URL
22140 \begin_layout Plain Layout
22142 http://www.nongnu.org/cvs
22148 \begin_inset Flex URL
22151 \begin_layout Plain Layout
22153 http://ximbiot.com/cvs
22161 \begin_layout Standard
22163 \begin_inset Flex Code
22166 \begin_layout Plain Layout
22172 para comprender los sub-comandos y conmutadores mencionados abajo.
22175 \begin_layout Subsubsection
22179 \begin_layout Standard
22180 Si el documento no está bajo control de revisión, este es el único ítem
22181 mostrado en el menú.
22182 Y si está bajo control de revisión, el ítem
22185 \begin_inset Flex Noun
22188 \begin_layout Plain Layout
22201 \begin_layout Standard
22202 Este comando registra tu documento en CVS
22203 \begin_inset Flex Emph
22206 \begin_layout Plain Layout
22207 \begin_inset Flex Strong
22210 \begin_layout Plain Layout
22221 en el caso de que ya tengas el directorio de documentos bajo control CVS
22222 (en particular, existe el archivo
22227 Esto significa que debes crear o reservar el archivo por ti mismo usando
22228 herramientas externas.
22229 (En caso de olvidar este paso, \SpecialChar LyX
22230 registra el documento con RCS).
22233 \begin_layout Standard
22234 Después se te pide interactivamente una descripción inicial del documento.
22235 No olvides que el archivo registrado todavía no está liberado.
22238 \begin_layout Standard
22239 El comando CVS que es ejecutado:
22242 \begin_inset Quotes erd
22246 \begin_inset Quotes eld
22250 \begin_inset Quotes erd
22256 \begin_layout Standard
22260 \begin_inset Quotes eld
22264 \begin_inset Quotes erd
22269 anterior y en todos los demás comandos CVS es una abreviación para
22270 \begin_inset Quotes cld
22273 cambiar el directorio de trabajo actual a la ubicación del archivo y usa
22274 el nombre de archivo sin el componente ruta como argumento
22275 \begin_inset Quotes crd
22281 \begin_layout Subsubsection
22285 \begin_layout Standard
22286 Cuando has terminado de editar un archivo se ingresan los cambios.
22287 Al hacerlo se te pide una descripción de los mismos.
22288 Después, los cambios son escritos en el repositorio.
22289 En caso de que no hayas cambiado el documento y se detecte una copia reservada
22290 se deshace la reserva hecha con
22291 \begin_inset Flex Noun
22294 \begin_layout Plain Layout
22303 \begin_layout Labeling
22304 \labelwidthstring 00.00.0000
22306 \begin_inset space ~
22310 \begin_inset space ~
22314 \begin_inset Newline newline
22320 \begin_inset Flex Code
22323 \begin_layout Plain Layout
22326 cvs -q commit -m"<description>" <file-name>
22334 \begin_inset Newline newline
22338 \begin_inset Flex Code
22341 \begin_layout Plain Layout
22342 cvs -q unedit "<file-name>"
22350 \begin_layout Subsubsection
22354 \begin_layout Standard
22355 Cuando estás compartiendo un repositorio con otros, puede que tengas que
22356 incorporar sus cambios en tu copia de trabajo.
22359 \begin_layout Standard
22362 cvs -q update "<file-name>"
22365 \begin_layout Standard
22366 Si se detecta una reserva solo lectura la copia se hace reservada y accesible
22370 \begin_layout Standard
22373 cvs -q edit "<file-name>"
22376 \begin_layout Subsubsection
22377 Volver a la versión del repositorio
22380 \begin_layout Standard
22381 Esto descartará todos los cambios hechos en el documento desde la última
22383 Recibes un mensaje de aviso antes de descartar los cambios.
22384 Primero se borra el archivo y luego se ejecuta el comando CVS de actualización.
22390 \begin_layout Standard
22394 \begin_inset Quotes eld
22398 \begin_inset Quotes erd
22404 \begin_layout Standard
22405 Si se detecta una copia reservada y la copia de trabajo no tiene cambios
22406 solo se deshace la reserva.
22409 \begin_layout Standard
22413 \begin_inset Quotes eld
22417 \begin_inset Quotes erd
22423 \begin_layout Subsubsection
22427 \begin_layout Standard
22428 Creará una copia del documento actual.
22429 Como CVS no soporta de forma nativa operaciones de copia, el historial
22430 de versiones no se preserva y la copia se añade como archivo nuevo.
22431 Requiere un documento limpio sin ningún cambio desde la última liberación.
22432 Pedirá un nombre de archivo y una descripción de la operación de copia.
22433 Después se crea la copia localmente y en el repositorio.
22434 Si los directorios padre de los documentos original y copiado difieren,
22435 se ajustan todas las rutas relativas de los archivos incluidos en la copia
22438 Archivo\SpecialChar menuseparator
22443 Por último, se carga la copia en vez del documento original.
22446 \begin_layout Labeling
22447 \labelwidthstring 00.00.0000
22449 \begin_inset space ~
22453 \begin_inset space ~
22457 \begin_inset Newline newline
22461 \begin_inset Flex Code
22464 \begin_layout Plain Layout
22465 \begin_inset Quotes eld
22469 \begin_inset Quotes erd
22478 \begin_inset Flex Code
22481 \begin_layout Plain Layout
22482 \begin_inset Quotes eld
22486 \begin_inset Quotes erd
22495 \begin_inset Newline newline
22499 \begin_inset Flex Code
22502 \begin_layout Plain Layout
22504 \begin_inset Quotes eld
22508 \begin_inset Quotes erd
22519 \begin_layout Subsubsection
22523 \begin_layout Standard
22524 Este comando renombra el documento actual.
22525 Como CVS no soporta de forma nativa operaciones de renombrado, el historial
22526 de versiones no se preserva, el documento renombrado se añade como archivo
22527 nuevo y el original se borra.
22528 Requiere un documento limpio sin ningún cambio desde la última liberación.
22529 Pedirá un nombre de archivo y una descripción de la operación.
22530 Después el documento se renombra localmente y en el repositorio.
22531 Si los directorios padre de los nombres de erchivo nuevo y antiguo difieren,
22532 se ajustan todas las rutas relativas de los archivos incluidos (como en
22535 Archivo\SpecialChar menuseparator
22540 Por último, se recarga el documento con el nuevo nombre.
22543 \begin_layout Labeling
22544 \labelwidthstring 00.00.0000
22546 \begin_inset space ~
22550 \begin_inset space ~
22554 \begin_inset Newline newline
22558 \begin_inset Flex Code
22561 \begin_layout Plain Layout
22562 \begin_inset Quotes eld
22566 \begin_inset Quotes erd
22575 \begin_inset Flex Code
22578 \begin_layout Plain Layout
22579 \begin_inset Quotes eld
22583 \begin_inset Quotes erd
22592 \begin_inset Newline newline
22596 \begin_inset Flex Code
22599 \begin_layout Plain Layout
22601 \begin_inset Quotes eld
22605 \begin_inset Quotes erd
22614 \begin_inset Newline newline
22618 \begin_inset Flex Code
22621 \begin_layout Plain Layout
22623 \begin_inset Quotes eld
22627 \begin_inset Quotes erd
22638 \begin_layout Subsubsection
22639 Actualizar la reserva del directorio local desde el repositorio
22642 \begin_layout Standard
22643 Conforme tus documentos son más complejos, conteniendo sub-documentos y
22644 figuras e incluyendo archivos externos
22648 y demás, el uso de control de versiones se hace más complejo.
22650 soporta la actualización del árbol completo en el que reside el documento.
22651 Esto es especialmente útil cuando colaboras con gente que ni tiene conocimiento
22652 detallado de CVS ni tiene interés en ingresar material adicional al repositorio.
22653 Tienes que organizar la estructura de archivos para que los archivos externos
22654 residan en el mismo directorio o subdirectorio del documento.
22655 Es una buena práctica de todos modos almacenar los documentos multi-parte
22656 en un directorio extra.
22659 \begin_layout Standard
22661 \begin_inset Flex Code
22664 \begin_layout Plain Layout
22665 Actualizar directorio local desde el repositorio
22670 actualiza el directorio completo.
22671 Si se detectan cambios locales el usuario es advertido antes de iniciar
22673 En caso de conflictos en la fusión ambas versiones de las partes conflictivas
22674 se sitúan al final del documento.
22675 Debes revisar y corregir el resultado de la fusión.
22676 Los conflictos los verás encerrados entre pares de
22677 \begin_inset Flex Code
22680 \begin_layout Plain Layout
22687 \begin_inset Flex Code
22690 \begin_layout Plain Layout
22697 \begin_inset Flex Code
22700 \begin_layout Plain Layout
22707 La parte primera es tu versión antes de la operación de actualización con
22708 pecedida del nombre del documento.
22709 La segunda es la versión del repositorio con el número de la versión tras
22710 la secuencia de signos
22711 \begin_inset Flex Code
22714 \begin_layout Plain Layout
22723 \begin_layout Labeling
22724 \labelwidthstring 00.00.0000
22726 \begin_inset space ~
22730 \begin_inset space ~
22734 \begin_inset Newline newline
22738 \begin_inset Flex Code
22741 \begin_layout Plain Layout
22742 cd $path; cvs diff "."
22747 (Para ver si se detectan cambios)
22748 \begin_inset Newline newline
22752 \begin_inset Flex Code
22755 \begin_layout Plain Layout
22756 cd $path; cvs -q update "."
22764 \begin_layout Standard
22766 \begin_inset Flex Code
22769 \begin_layout Plain Layout
22775 es la ruta al documento.
22778 \begin_layout Subsubsection
22782 \begin_layout Standard
22783 Muestra el historial completo del documento CVS.
22785 \begin_inset Newline newline
22791 \begin_inset Quotes eld
22797 \begin_inset Quotes erd
22800 se muestra en un buscador.
22803 \begin_layout Subsubsection
22804 Información de la revisión
22807 \begin_layout Standard
22809 soporta número de versión CVS, nombre de autor, fecha y hora del último
22811 Toda esta información se obtiene de
22813 cvs log -r <file-name>
22817 \begin_inset CommandInset ref
22819 reference "subsec:VCS-Información-de-revisión"
22826 \begin_layout Subsection
22827 Comandos SVN en Lyx
22830 \begin_layout Standard
22831 Ahora \SpecialChar LyX
22832 soporta parcialmente SVN.
22833 Puedes encontrar los comandos en el submenú
22835 Archivo\SpecialChar menuseparator
22836 Control de versiones
22839 Ten en cuenta que si utilizas acceso protegido con contraseña al repositorio
22840 vía ssh, se te pedirá en una ventana de terminal.
22842 se ha probado con SVN 1.5 y 1.6.
22846 \begin_layout Plain Layout
22847 La mayoría de los comandos funcionarán también con 1.4, véase
22848 \begin_inset CommandInset ref
22850 reference "subsec:SVN-Actualizar-el-directorio"
22862 \begin_layout Subsubsection
22866 \begin_layout Standard
22867 Si tu documento no está bajo control de revisión este es el único ítem mostrado
22869 Y si está bajo control de revisión, el ítem
22876 \begin_layout Standard
22877 Este comando registra tu documento en SVN
22883 en el caso de que ya tengas el directorio de documentos bajo control SVN
22884 ( en particular, existe el archivo
22889 Esto significa que debes reservar el archivo por ti mismo.
22892 \begin_layout Standard
22893 Después se te pide interactivamente una descripción inicial del documento.
22894 No olvides que el archivo registrado todavía no es definitivo.
22897 \begin_layout Standard
22898 El comando SVN que es ejecutado:
22901 \begin_inset Quotes eld
22905 \begin_inset Quotes erd
22911 \begin_layout Standard
22916 para comprender las alternativas.
22919 \begin_layout Subsubsection
22923 \begin_layout Standard
22924 Cuando has terminado de editar un archivo, ingresas los cambios.
22925 Al hacerlo se te pide una descripción de los mismos.
22926 Después, los cambios son ingresados.
22929 \begin_layout Standard
22934 \begin_layout Plain Layout
22935 En el caso de que el bloqueo no esté habilitado.
22937 \begin_inset CommandInset ref
22939 reference "subsec:SVN-Bloqueo-de-archivos"
22950 svn commit -q -m"<description>" <file-name>
22953 \begin_layout Subsubsection
22954 Reservar para edición
22957 \begin_layout Standard
22958 Actualiza los cambios de este archivo desde el repositorio.
22959 Asegúrate de que comprendes la mezcla y la resolución de conflictos de
22960 SVN antes de usar esta función, porque ¡todos los conflictos debes resolverlos
22964 \begin_layout Standard
22969 \begin_layout Plain Layout
22977 svn update --non-interactive
22978 \begin_inset Quotes eld
22982 \begin_inset Quotes erd
22988 \begin_layout Subsubsection
22989 Volver a la versión del repositorio
22992 \begin_layout Standard
22993 Esto descartará todos los cambios hechos en el documento desde la última
22994 liberación de cambios.
22995 Recibes un mensaje de aviso antes de descartar los cambios.
22998 \begin_layout Standard
23002 \begin_inset Quotes eld
23006 \begin_inset Quotes erd
23012 \begin_layout Subsubsection
23016 \begin_layout Standard
23017 Creará una copia del documento actual incluyendo el historial de versiones.
23018 Requiere un documento limpio sin ningún cambio desde la última liberación.
23019 Pedirá un nombre de archivo y una descripción de la operación de copia.
23020 Después se crea la copia localmente y en el repositorio.
23021 Si los directorios padre de los documentos original y copiado difieren,
23022 se ajustan todas las rutas relativas de los archivos incluidos de la copia
23025 Archivo\SpecialChar menuseparator
23030 Por último, se carga la copia en vez del documento original
23033 \begin_layout Labeling
23034 \labelwidthstring 00.00.0000
23036 \begin_inset space ~
23040 \begin_inset space ~
23044 \begin_inset Newline newline
23048 \begin_inset Flex Code
23051 \begin_layout Plain Layout
23053 \begin_inset Quotes eld
23057 \begin_inset Quotes erd
23061 \begin_inset Quotes eld
23065 \begin_inset Quotes erd
23074 \begin_inset Newline newline
23078 \begin_inset Flex Code
23081 \begin_layout Plain Layout
23090 \begin_layout Subsubsection
23094 \begin_layout Standard
23095 Renombrará el documento actual incluyendo el historial de versiones.
23096 Requiere un documento limpio sin ningún cambio desde la última liberación.
23097 Pedirá un nombre de archivo y una descripción de la operación de renombrado.
23098 Después se renombra el documento localmente y en el repositorio.
23099 Si los directorios padre de los nombres de archivo nuevo y antiguo difieren,
23100 se ajustan todas las rutas relativas de los archivos incluidos (como en
23103 Archivo\SpecialChar menuseparator
23108 Por último, se recarga el documento con su nuevo nombre.
23111 \begin_layout Labeling
23112 \labelwidthstring 00.00.0000
23114 \begin_inset space ~
23118 \begin_inset space ~
23122 \begin_inset Newline newline
23126 \begin_inset Flex Code
23129 \begin_layout Plain Layout
23131 \begin_inset Quotes eld
23135 \begin_inset Quotes erd
23139 \begin_inset Quotes eld
23143 \begin_inset Quotes erd
23152 \begin_inset Newline newline
23156 \begin_inset Flex Code
23159 \begin_layout Plain Layout
23168 \begin_layout Subsubsection
23169 Actualizar la reserva del directorio local desde el repositio
23173 \begin_layout Plain Layout
23174 Ten en cuenta que este comando solo funcionará con
23175 \begin_inset Formula $\geqq1.5$
23184 \begin_inset CommandInset label
23186 name "subsec:SVN-Actualizar-el-directorio"
23193 \begin_layout Standard
23194 Todos los comandos anteriores tienen un defecto: solo negocian con el documento
23196 Una vez que el documento contiene figuras, archivos externos
23200 , etc., su administración se hace más complicada.
23201 Ahora \SpecialChar LyX
23202 soporta la actualización del árbol completo en el que reside el
23207 \begin_layout Plain Layout
23208 Hay que organizar la estructura de archivos de modo que todos los archivos
23209 externos estén en el mismo directorio o subdirectorios del documento.
23214 Esto es especialmente útil cuando colaboras con gente que ni tiene conocimiento
23215 detallado de CVS ni tiene interés en ingresar material adicional al repositorio.
23218 \begin_layout Standard
23220 \begin_inset Flex Code
23223 \begin_layout Plain Layout
23224 Actualizar directorio local desde el repositorio
23229 actualiza el directorio completo y en caso de conflictos con la mezcla
23230 se deja la versión local de los archivos, para que no haya pérdida indeseada
23232 Si se detectan cambios locales se avisa al usuario antes de iniciar la
23236 \begin_layout Labeling
23237 \labelwidthstring 00.00.0000
23239 \begin_inset space ~
23243 \begin_inset space ~
23247 \begin_inset Newline newline
23251 \begin_inset Flex Code
23254 \begin_layout Plain Layout
23260 (Para ver si se detectan cambios.)
23261 \begin_inset Newline newline
23265 \begin_inset Flex Code
23268 \begin_layout Plain Layout
23269 svn update –accept mine-full $path
23277 \begin_layout Standard
23282 es la ruta al documento.
23285 \begin_layout Subsubsection
23289 \begin_layout Standard
23290 Muestra el historial completo del documento SVN.
23292 \begin_inset Newline newline
23298 \begin_inset Quotes eld
23304 \begin_inset Quotes erd
23307 se muestra en un buscador.
23310 \begin_layout Subsubsection
23311 Bloqueo de archivos
23312 \begin_inset CommandInset label
23314 name "subsec:SVN-Bloqueo-de-archivos"
23321 \begin_layout Standard
23322 El intercambio de archivos entre varios sistemas de control de revisiones
23323 tiene el problema de conflictos en las fusiones en el caso de que dos usuarios
23324 intenten editar el mismo documento (o partes de él).
23325 Cuando sucede un conflicto requiere una solución manual, y una alternativa
23326 razonable es proveer algún tipo de mecanismo de bloqueo que garantice que
23327 solo un usuario pueda editar el archivo al mismo tiempo.
23330 \begin_layout Standard
23331 SVN dispone de dos de estos mecanismos que garantizan exclusividad recíproca
23332 en el acceso a archivos, bloqueos y configuración automática de permisos
23333 de escritura (véase la sec.
23334 \begin_inset space ~
23338 \begin_inset CommandInset ref
23340 reference "subsec:SVN-Bloqueo-automático"
23344 ), basados en la propiedad de los archivos svn
23345 \begin_inset Flex Code
23348 \begin_layout Plain Layout
23358 \begin_layout Plain Layout
23359 \begin_inset CommandInset href
23361 target "http://svnbook.red-bean.com/en/1.2/svn.advanced.locking.html"
23371 Si esta propiedad se detecta para determinado documento, \SpecialChar LyX
23372 empieza automáticamen
23373 te a usar bloqueo SVN para la edición del documento, y el mecanismo completo
23374 de liberación/reserva conmuta al mismo régimen que para RCS.
23375 En particular, esto quiere decir que hay dos modos diferentes de uso archivos
23376 en \SpecialChar LyX
23380 \begin_layout Itemize
23381 Estado no bloqueado.
23382 El archivo cargado está en modo solo lectura.
23383 Para editar hay que reservar.
23388 consiste en actualizar desde el repositorio y adquirir bloqueo de escritura.
23389 Si no es posible obtener el bloqueo permanece el estado no bloquedo.
23392 \begin_layout Itemize
23394 El archivo cargado está en modo 'normal' de edición.
23395 Ningún otro usuario tiene permiso para editar el archivo.
23400 consiste en ingresar los cambios y liberar el bloqueo de escritura.
23401 Si no se han hecho cambios en el documento, no se producirá ningún ingreso
23405 \begin_layout Plain Layout
23406 No te extrañe si de todas formas se te pide un mensaje de ingreso.
23411 y solo se realizará el desbloqueo de escritura.
23414 \begin_layout Standard
23418 \begin_layout Labeling
23419 \labelwidthstring 00.00.0000
23422 svn commit -q -m"<description>" "<file-name>"
23423 \begin_inset Newline newline
23426 svn unlock "<file-name>"
23429 \begin_layout Labeling
23430 \labelwidthstring 00.00.0000
23432 \begin_inset Note Note
23435 \begin_layout Plain Layout
23436 traduccion http://forum.wordreference.com/showthread.php?t=689994
23443 svn update "<file-name>"
23444 \begin_inset Newline newline
23447 svn lock "<file-name>"
23450 \begin_layout Subsubsection
23451 Propiedad de bloqueo automático
23452 \begin_inset CommandInset label
23454 name "subsec:SVN-Bloqueo-automático"
23461 \begin_layout Standard
23462 La configuración automática de los permisos de escritura del archivo .lyx
23464 \begin_inset Flex Noun
23467 \begin_layout Plain Layout
23468 Archivo\SpecialChar menuseparator
23469 Control de versiones\SpecialChar menuseparator
23470 Cambiar propiedad de bloqueo
23476 Este comando está activo solo cuando el archivo no está bloqueado en el
23477 servidor svn (es decir, debes reservar antes de proceder).
23480 \begin_layout Labeling
23481 \labelwidthstring 00.00.0000
23483 \begin_inset space ~
23489 \begin_layout Labeling
23490 \labelwidthstring 00.00.0000
23493 svn propset svn:needs-lock ON "<file-name>"
23496 \begin_layout Labeling
23497 \labelwidthstring 00.00.0000
23500 svn propdel svn:needs-lock "<file-name>"
23503 \begin_layout Subsubsection
23504 Información de revisión en documentos
23505 \begin_inset CommandInset label
23507 name "subsec:VCS-Información-de-revisión"
23514 \begin_layout Standard
23515 Hay más posibilidades para activar la información de revisión en nuestro
23519 \begin_layout Itemize
23521 lo soporta directamente.
23525 \begin_layout Itemize
23526 Información de revisión del árbol (
23527 \begin_inset Flex Code
23530 \begin_layout Plain Layout
23537 El resultado es la salida del comando
23538 \begin_inset Flex Code
23541 \begin_layout Plain Layout
23547 ; el siguiente cuadro da una idea de la interpretación de los resultados.
23550 \begin_layout Standard
23552 \begin_inset Tabular
23553 <lyxtabular version="3" rows="6" columns="2">
23554 <features tabularvalignment="middle">
23555 <column alignment="center" valignment="top">
23556 <column alignment="center" valignment="top">
23558 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23561 \begin_layout Plain Layout
23567 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23570 \begin_layout Plain Layout
23578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23581 \begin_layout Plain Layout
23587 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23590 \begin_layout Plain Layout
23591 revisión mezclada de la copia de trabajo
23598 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23601 \begin_layout Plain Layout
23607 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23610 \begin_layout Plain Layout
23611 copia de trabajo modificada
23618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23621 \begin_layout Plain Layout
23627 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23630 \begin_layout Plain Layout
23631 copia de trabajo conmutada
23638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23641 \begin_layout Plain Layout
23647 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23650 \begin_layout Plain Layout
23651 copia de trabajo parcial, de una reserva dispersa
23658 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23661 \begin_layout Plain Layout
23667 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23670 \begin_layout Plain Layout
23671 copia de trabajo de revisión mezclada, modificada, conmutada
23684 \begin_layout Itemize
23685 Información de revisión del archivo.
23686 El resultado del análisis de la salida de
23687 \begin_inset Flex Code
23690 \begin_layout Plain Layout
23692 \begin_inset space ~
23696 \begin_inset space ~
23700 \begin_inset space ~
23709 Los argumentos soportados son:
23713 \begin_layout Itemize
23714 número de versión del último ingreso (
23715 \begin_inset Flex Code
23718 \begin_layout Plain Layout
23727 \begin_layout Itemize
23728 autordel último ingreso (
23729 \begin_inset Flex Code
23732 \begin_layout Plain Layout
23741 \begin_layout Itemize
23742 fecha del último ingreso (
23743 \begin_inset Flex Code
23746 \begin_layout Plain Layout
23755 \begin_layout Itemize
23756 hora del último ingreso (
23757 \begin_inset Flex Code
23760 \begin_layout Plain Layout
23770 \begin_layout Standard
23771 Puedes obtener esta información mediante InsetInfo (p.
23772 \begin_inset space \thinspace{}
23777 \begin_inset Flex Code
23780 \begin_layout Plain Layout
23781 info-insert buffer vcs-date
23787 La información estará disponible solo cuando tengas el arvhivo almacenado
23788 bajo administración svn (es decir, el directorio
23789 \begin_inset Flex Code
23792 \begin_layout Plain Layout
23798 está disponible con tu documento).
23802 \begin_layout Itemize
23803 Otra posibilidad —de
23807 — es usar claves svn
23811 \begin_layout Plain Layout
23812 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html
23818 Estableces la propiedad de claves de archivo (p.
23819 \begin_inset space \thinspace{}
23825 svn propset svn:keywords 'Rev' file.lyx
23827 ) y luego pegas la clave en código \SpecialChar TeX
23832 \begin_layout Plain Layout
23833 Esta es una manera fácil de asegurar que \SpecialChar LyX
23834 no quiebre la línea en mitad de
23840 en tu documento (p.
23841 \begin_inset space \thinspace{}
23849 \begin_layout Plain Layout
23857 De esta manera el cliente svn sustituirá automáticamente el número de revisión
23859 \begin_inset space \thinspace{}
23867 \begin_layout Plain Layout
23874 ) tras cada actualización e ingreso.
23875 Hay otros problemas con este enfoque.
23876 Primero, el carácter '$' se usa en \SpecialChar TeX
23877 para expresiones matemáticas, de modo
23878 que cualquier aparición de una fórmula
23879 \begin_inset Formula $Rev$
23883 \begin_inset Formula $Rev:59$
23886 en tu documento \SpecialChar LyX
23888 Lo mismo sucederá con otras claves como Id, Date, Author, etc.
23889 Segundo, la salida svn es dependiente del idioma, por lo que es fácil que
23890 svn produzca alguna cadena problemática al usar Date.
23891 Tercero, se obtiene la cadena completa 'Rev: 59' en tu documento en vez
23893 Hasta que subversion implemente claves personalizadas por el usuario será
23894 pesado usar este enfoque con fiabilidad o permitir a \SpecialChar LyX
23895 soportarlo directamente.
23898 \begin_layout Subsection
23899 SVN y entorno Windows
23902 \begin_layout Quote
23903 Mi inclinación es decir que si el usuario no es capaz por sí mismo de entender
23904 las operaciones en línea de comandos, sería recomendable que usara TortoiseSVN.
23906 \begin_inset space \thinspace{}
23910 \begin_inset space \thinspace{}
23916 \begin_layout Subsubsection
23920 \begin_layout Standard
23921 Además de instalar \SpecialChar LyX
23922 y tener acceso al repositorio de Subversion, el usuario
23923 deberá instalar el programa cliente de Subversion.
23925 \begin_inset CommandInset href
23928 target "http://www.collab.net/nonav/downloads/subversion/"
23933 hay disponible un instalador para Windows.
23934 Además, al usuario le puede interesar instalar
23935 \begin_inset CommandInset href
23938 target "http://tortoisesvn.tigris.org/"
23943 , que integra las operaciones de Subversion en el menú contextual (clic
23944 derecho) del Explorador de Windows.
23945 Las operaciones hechas fuera de \SpecialChar LyX
23946 generalmente son más convenientes en el
23947 menú contextual del Explorador.
23948 Hay que tener en cuenta que TortoiseSVN no es un reemplazo del programa
23949 cliente, que es lo que usa el propio \SpecialChar LyX
23953 \begin_layout Subsubsection
23954 Poner un documento bajo control de Subversion
23957 \begin_layout Standard
23958 Antes de poner un documento \SpecialChar LyX
23959 bajo control de Subversion, su directorio padre
23960 debe estar bajo control de versiones.
23961 Si el documento se va a añadir a un proyecto ya en el repositorio, esto
23962 se lleva a cabo comprobando el directorio donde se incluirá el documento
23964 Si el proyecto mismo no está ya bajo control de versión (por ejemplo, si
23965 el documento inicia un proyecto nuevo), hay que importar el directorio
23967 Esto se hace fuera de \SpecialChar LyX
23969 Tanto la importación como la reserva se hacen fácilmente en el menú contextual
23970 del Explorador mediante TortoiseSVN, o bien usando un cliente de línea
23971 de comandos en DOS.
23972 El procedimiento para importar el proyecto con TortoiseSVN se describe
23973 abajo, suponiendo que hay un repositorio y un proyecto nuevo en
23980 Para información sobre el uso del programa cliente de Subversion, ejecuta
23985 en línea de comandos de DOS.
23988 \begin_layout Enumerate
23995 en el Explorador de Windows, clic derecho y selecciona
23997 TortoiseSVN\SpecialChar menuseparator
24001 Si es preciso ajusta el URL para el repositorio, y pulsa OK.
24004 \begin_layout Enumerate
24005 Haz clic derecho en el nivel del repositorio bajo el que quieres situar
24006 la carpeta del nuevo proyecto (típicamente el nivel superior) y pulsa
24010 Da nombre a la carpeta y pulsa OK.
24011 Añade un mensaje para el registro, si quieres, y pulsa OK de nuevo.
24012 La carpeta del nuevo proyecto debería figurar en el repositorio.
24013 Por último, OK de nuevo para salir del navegador del repositorio.
24016 \begin_layout Enumerate
24017 Haz otra vez clic derecho en
24023 , esta vez seleccionando SVN Checkout Selecciona el URL de la carpeta que
24024 acabas de crear en el repositorio y ajusta el directorio a
24032 Serás avisado sobre una carpeta no vacía; OK para continuar.
24033 Ahora debería haber un directorio
24044 \begin_layout Enumerate
24045 Crea o abre tu documento en \SpecialChar LyX
24048 Archivo\SpecialChar menuseparator
24049 Control de versiones\SpecialChar menuseparator
24053 Añade un mensaje de registro y pulsa OK para someter el documento a control
24057 \begin_layout Standard
24058 De aquí en adelante deberías tener funcionalidad completa en el menú
24060 Archivo\SpecialChar menuseparator
24061 Control de versiones
24064 Además tienes la opción de comprobar el documento entrante y saliente,
24065 ver su historial, etc., usando el menú contextual TortoiseSVN en el Explorador
24066 o en la línea de comandos del programa cliente de Subversion.
24070 \begin_layout Subsubsection
24071 SSH tunnel con SVN bajo Windows
24074 \begin_layout Standard
24075 Comparado con la configuración del cliente svn en Linux para comunicar sobre
24076 ssh, bajo Windows es una tarea es bastante más molesta.
24077 Al menos ofreceremos algunas indicaciones para configurar el cliente, pero
24078 hay que aclarar antes algo sobre ssh y la línea de comandos en Windows
24079 y estar preparados para grandes dosis de frustración\SpecialChar ldots
24083 \begin_layout Enumerate
24084 Obtén un cliente svn para windows, como se describe en secciones anteriores.
24085 Si es una instalación nueva ejecuta algún comando para crear los archivos
24086 de configuración (p.
24087 \begin_inset space \thinspace{}
24092 \begin_inset Flex Code
24095 \begin_layout Plain Layout
24101 ), que deberás cambiar más tarde.
24104 \begin_layout Enumerate
24105 Elige un cliente ssh para Windows.
24106 Hay varias opciones, aquí usaremos el de Putty tools
24110 \begin_layout Plain Layout
24111 \begin_inset Flex URL
24114 \begin_layout Plain Layout
24116 http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
24127 Tendrás que configurar la conexión para que el cliente no pia contraseña.
24128 Para facilitar las cosas usaremos solo claves sin ninguna protección adicional
24129 de contraseña, etc.
24133 \begin_layout Enumerate
24134 Genera las claves con
24135 \begin_inset Flex Code
24138 \begin_layout Plain Layout
24145 Guarda tu clave privada .ppk y pon la pública en el servidor.
24146 Si el servidor SVN corre bajo Linux, ten en cuenta que el formato de la
24147 clave pública no es compatible con openssh Linux y tendrás que copiar y
24148 pegar directamente la clave desde el campo de edición “
24150 Public key for pasting into OpenSSH authorized_keys file
24152 :” en el archivo del servidor
24153 \begin_inset Flex Code
24156 \begin_layout Plain Layout
24157 ~/.ssh/authorized_keys
24163 \begin_inset Flex Code
24166 \begin_layout Plain Layout
24175 \begin_layout Enumerate
24177 \begin_inset Flex Code
24180 \begin_layout Plain Layout
24187 En el archivo de configuración SVN
24191 \begin_layout Plain Layout
24192 La ruta exacta depende de la versión de Windows, usualmente algo como
24193 \begin_inset Flex Code
24196 \begin_layout Plain Layout
24199 Documents and Settings
24213 \begin_inset Flex Code
24216 \begin_layout Plain Layout
24231 , sección [tunnels], configura el comando ssh, p.
24232 \begin_inset space \thinspace{}
24237 \begin_inset Flex Code
24240 \begin_layout Plain Layout
24241 ssh=c:/path/plink.exe -i c:/path/private_key.ppk
24250 \begin_layout Plain Layout
24251 Usualmente toma tiempo conseguir el comando exacto y depende de muchas cosas.
24252 Por ejemplo, no tener algún servidor remoto guardado como predeterminado
24254 Si falla, intenta primero conectar vía plink sin SVN.
24263 \begin_layout Enumerate
24264 Reserva el archivo SVN, p.
24265 \begin_inset space \thinspace{}
24269 \begin_inset Newline newline
24273 \begin_inset Flex Code
24276 \begin_layout Plain Layout
24277 svn co svn+ssh://user@server/repository_path
24285 \begin_layout Subsubsection
24286 Conversiones de los finales de línea
24289 \begin_layout Standard
24290 Cuando los colaboradores mezclan entornos Linux y Windows, \SpecialChar LyX
24292 finales de línea en los archivos .lyx.
24293 Esto no es un problema en lo que concierne a la funcionalidad de \SpecialChar LyX
24295 los archivos diff de los ingresos serán enormes y propensos a conflictos
24297 Afortunadamente SVN sabe por sí mismo
24301 \begin_layout Plain Layout
24302 \begin_inset Flex URL
24305 \begin_layout Plain Layout
24307 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html
24317 como manejar problemas con retornos y saltos de línea (CR/LF) cuando cambia
24318 archivos .lyx al modo
24319 \begin_inset Flex Code
24322 \begin_layout Plain Layout
24332 \begin_layout Plain Layout
24333 Para los perezosos:
24334 \begin_inset Flex Code
24337 \begin_layout Plain Layout
24338 svn propset svn:eol-style native FILE_NAME
24351 \begin_layout Subsection
24352 Comandos GIT en \SpecialChar LyX
24356 \begin_layout Standard
24358 soporta un conjunto mínimo de comandos GIT.
24359 Se encuentra en el submenú
24361 Archivo\SpecialChar menuseparator
24362 Control de versiones
24365 Hay que tener en cuenta que si se usa acceso con contraseña al repositorio
24366 vía ssh, ésta se pedirá en una ventana de terminal.
24368 se ha probado con GIT 1.7.
24372 \begin_layout Standard
24373 Una gran diferencia entre GIT y los demás sistemas de control de versiones
24374 soportados es la naturaleza distribuida de GIT: con los sistemas de control
24375 de versiones tradicionales hay un servidor central que aloja el repositorio.
24376 Los usuarios envían sus cambios al servidor y obtienen de él actualizaciones
24378 Con GIT, los usuarios remiten a un repositorio local, el cuál se puede
24379 sincronizar con uno o más repositorios remotos usando los comandos GIT
24381 \begin_inset Flex Code
24384 \begin_layout Plain Layout
24391 \begin_inset Flex Code
24394 \begin_layout Plain Layout
24402 no interactúa de ninguna forma con los repositorios GIT remotos.
24403 Trabaja exclusivamente con el repositorio local de manera similar a como
24404 con un repositorio CVS o SVN.
24405 Si usas repositorios GIT remotos debes hacer las operaciones
24406 \begin_inset Flex Code
24409 \begin_layout Plain Layout
24416 \begin_inset Flex Code
24419 \begin_layout Plain Layout
24425 con tu cliente GIT favorito.
24428 \begin_layout Subsubsection
24432 \begin_layout Standard
24433 Si el documento no está bajo control de versiones, éste es el único ítem
24434 mostrado en el menú.
24435 Si está bajo control de versiones
24442 \begin_layout Standard
24443 Este comando registra el documento en GIT sólo en el caso de que el directorio
24444 de los documentos esté ya bajo control de GIT (en particular, existe el
24450 Esto quiere decir que debes reservar
24451 \begin_inset Note Note
24454 \begin_layout Plain Layout
24460 el archivo por ti mismo.
24463 \begin_layout Standard
24464 Entonces se pedirá de forma interactiva una descripción inicial del documento.
24465 No olvides que el archivo registrado aún no ha sido ingresado.
24468 \begin_layout Standard
24469 El comando GIT que se ejecuta:
24472 \begin_inset Quotes eld
24478 \begin_layout Standard
24483 para entender los conmutadores.
24487 \begin_layout Subsubsection
24491 \begin_layout Standard
24492 Una vez editado un archivo hay que ingresar los cambios realizados en él.
24493 Al hacerlo se pedirá una descripción de los mismos y después se ingresan.
24496 \begin_layout Standard
24499 git commit -q -m"<description>" <file-name>
24502 \begin_layout Subsubsection
24503 Volver a la versión del repositorio
24506 \begin_layout Standard
24507 Descartará los cambios hechos en el documento desde la última liberación.
24508 Hay un aviso antes de descartar los cambios.
24511 \begin_layout Standard
24515 \begin_inset Quotes eld
24519 \begin_inset Quotes erd
24525 \begin_layout Subsubsection
24529 \begin_layout Standard
24530 Renombrará el documento actual incluyendo el historial de versiones.
24531 Requiere un documento limpio sin ningún cambio desde la última liberación.
24532 Pedirá un nombre de archivo y una descripción de la operación de renombrado.
24533 Después se renombra el documento localmente y en el repositorio.
24534 Si los directorios padre de los nombres de archivo nuevo y antiguo difieren,
24535 se ajustan todas las rutas relativas de los archivos incluidos (como en
24538 Archivo\SpecialChar menuseparator
24543 Por último, se recarga el documento con su nuevo nombre.
24546 \begin_layout Labeling
24547 \labelwidthstring 00.00.0000
24549 \begin_inset space ~
24553 \begin_inset space ~
24557 \begin_inset Newline newline
24561 \begin_inset Flex Code
24564 \begin_layout Plain Layout
24566 \begin_inset Quotes eld
24570 \begin_inset Quotes erd
24574 \begin_inset Quotes eld
24578 \begin_inset Quotes erd
24587 \begin_inset Newline newline
24591 \begin_inset Flex Code
24594 \begin_layout Plain Layout
24603 \begin_layout Subsubsection
24607 \begin_layout Standard
24608 Muestra el historial completo del documento GIT.
24612 \begin_inset Quotes eld
24616 \begin_inset Quotes erd
24621 se muestra en un buscador.
24624 \begin_layout Subsubsection
24625 Información de la versión
24628 \begin_layout Standard
24630 soporta número hash GIT del últim ingreso al archivo, autor, fecha y hora
24631 del último ingreso.
24632 Todos se obtienen de
24634 git log -n 1 --pretty=format:%H%n%an%n%ai
24637 La información de l versión del árbol se obtiene vía
24639 git describe --abbrev --dirty --long
24643 \begin_inset CommandInset ref
24645 reference "subsec:VCS-Información-de-revisión"
24649 para otros detalles.
24652 \begin_layout Subsection
24653 Ajustes adicionales
24656 \begin_layout Standard
24657 Con la reciente adición de la función vc-command, los usuarios que exprimen
24658 la potencia de \SpecialChar LyX
24659 pueden crear sus propios comandos para el control de revisiones.
24662 \begin_layout Standard
24663 Como ejemplo puedes ver cómo integrar directamente dos comandos TortoiseSVN:
24666 \begin_layout Description
24668 \begin_inset Flex Code
24671 \begin_layout Plain Layout
24672 vc-command DS "." "TortoiseProc /command:commit /path:$$p"
24680 \begin_layout Description
24682 \begin_inset Flex Code
24685 \begin_layout Plain Layout
24686 vc-command DR "." "TortoiseProc /command:revert /path:$$p"
24694 \begin_layout Subsection
24695 Control de versiones y comparación de documentos
24698 \begin_layout Standard
24699 Uno de los usos típicos del control de versiones es inspeccionar los cambios
24700 entre revisiones, usualmente creando volcados
24701 \begin_inset Flex Code
24704 \begin_layout Plain Layout
24711 Aunque esto es útil para archivos de texto sencillo, es mucho menos útil
24712 en archivos de \SpecialChar LyX
24713 , que tienen una estructura más complicada.
24714 Por tanto, proporcionamos caminos para la característica de comparar documentos.
24715 Hay dos maneras de iniciar esta función, una por llamada directa a
24716 \begin_inset Flex Code
24719 \begin_layout Plain Layout
24725 (véase el manual Funciones de \SpecialChar LyX
24726 para detalles) y otra con el icono o menú
24728 \begin_inset Flex Noun
24731 \begin_layout Plain Layout
24732 Comparar con revisión anterior...
24738 Se pueden comparar dos revisiones determinadas o se puede simplemente comparar
24739 la versión actual del texto editado con revisiones anteriores (donde '
24740 \begin_inset Flex Code
24743 \begin_layout Plain Layout
24749 ' revisiones atrás quiere decir comparar el archivo en edición con la última
24750 revisión remitida).
24754 \begin_layout Standard
24755 Esta característica está soportada por SVN y RCS, aunque debido al esquema
24756 de versiones más complicado de RCS hay una restricción, en la dirección
24757 de las revisiones en el diálogo, los números siempre apuntan al último
24758 número en el número de revisión de RCS, es decir, '35' en '1.2.35'.
24761 \begin_layout Section
24762 Programación literaria
24765 \begin_layout Standard
24770 (kayvan@sylvan.com)
24774 documentación original de
24776 Edmar Wienskoski Jr.
24779 (edmar-w-jr@technologist.com)
24782 \begin_layout Subsection
24786 \begin_layout Standard
24787 El propósito principal de esta documentación es mostrar el uso de \SpecialChar LyX
24789 escribir programación literaria
24795 \begin_layout Plain Layout
24796 «Literate Programming», llamada también programación «ilustrada» o «letrada».
24800 \begin_inset space \thinspace{}
24811 Se supone que la técnica de la programación te resulta familiar y sabes
24812 lo que significan términos como
24813 \begin_inset Quotes cld
24817 \begin_inset Quotes crd
24821 \begin_inset Quotes cld
24825 \begin_inset Quotes crd
24832 \begin_layout Plain Layout
24833 Generación del código y de la documentación, respectivamente.
24837 \begin_inset space \thinspace{}
24848 Si no es así, acude a los enlaces web mencionados en las siguientes secciones.
24849 Hay mucha y buena documentación que abarca desde la historia de los inicios
24850 de la programación hasta las últimas herramientas y trucos.
24853 \begin_layout Standard
24854 También se supone que estás familiarizado con el uso de \SpecialChar LyX
24856 de conocer cómo cambiar las preferencias y el archivo de recursos X.
24857 Si no es así acude al resto de documentación de \SpecialChar LyX
24858 en función de tus necesidades.
24861 \begin_layout Subsection
24862 Programación literaria
24865 \begin_layout Standard
24866 Extraído de las PUF:
24869 \begin_layout Quotation
24870 En la programación literaria se combinan documentación y código fuente de
24871 manera legible para los seres humanos.
24872 ¡De hecho, la programación literaria debería ser de lectura agradable,
24873 incluso sugerente! (¡Lo siento Bob, no he podido resistirme\SpecialChar ldots
24875 en la escritura de los programas se combinan código y documentación en
24877 Las herramientas de programación literaria analizan después el archivo
24878 y pueden generar la documentación o el código fuente compilable por separado.
24879 El estilo WEB de programación fue creado por
24882 \begin_inset space \thinspace{}
24886 \begin_inset space \thinspace{}
24891 mientras desarrollaba su sistema de composición tipográfica \SpecialChar TeX
24895 \begin_layout Standard
24899 \begin_layout Quotation
24902 ¿En qué se diferencian la programación literaria y
24906 l comentario literal?
24909 \begin_layout Quotation
24910 Hay tres rasgos distintivos, que son, por orden de importancia:
24914 \begin_layout Itemize
24915 orden de elaboración flexible
24918 \begin_layout Itemize
24919 soporte automático de búsqueda
24922 \begin_layout Itemize
24923 documentación bien presentada, especialmente los diagramas y las matemáticas.
24928 \begin_layout Standard
24929 Y ahora que he despertado tu curiosidad, veamos las referencias.
24932 \begin_layout Subsubsection
24936 \begin_layout Standard
24937 Las FAQ completas de
24938 \begin_inset Quotes cld
24941 Literate Programming
24942 \begin_inset Quotes crd
24948 \begin_layout Quote
24949 Literate Programming FAQ:
24950 \begin_inset Flex URL
24953 \begin_layout Plain Layout
24955 http://www.xmarks.com/site/shelob.ce.ttu.edu/daves/lpfaq/faq.html
24963 \begin_layout Standard
24964 En las FAQ se describen 23 (¡23!) herramientas diferentes de programación
24966 Algunas son específicas de lenguajes de programación particulares, otras
24967 son de aplicación general.
24968 He seleccionado la herramienta
24972 para mi uso personal por varias razones:
24975 \begin_layout Itemize
24976 Puede generar la documentación en \SpecialChar LaTeX
24980 \begin_layout Itemize
24981 Es de estructura abierta, es decir, es sencillo introducir filtros nuevos
24982 y hacer procesamientos especiales según las necesidades.
24986 \begin_layout Itemize
24987 Ya hay una buena selección de filtros disponible (uno de ellos es HTML).
24990 \begin_layout Itemize
24994 \begin_layout Standard
24995 La página web de Noweb es:
24998 \begin_layout Quote
24999 Página de inicio de Noweb
25000 \begin_inset Flex URL
25003 \begin_layout Plain Layout
25005 http://www.cs.virginia.edu/~nr/noweb/
25013 \begin_layout Standard
25014 Desde allí puedes acceder a muchos enlaces de interés y a ejemplos de programaci
25015 ón en formato literario.
25018 \begin_layout Subsection
25020 y la programación literaria con Noweb
25023 \begin_layout Standard
25025 soporta Programación Literaria mediante el mecanismo de gestión de convertidore
25027 Este soporte se proporciona
25028 \begin_inset Quotes cld
25031 independiente de Noweb
25032 \begin_inset Quotes crd
25035 , es decir, podrás usar esta nueva función de \SpecialChar LyX
25036 con algunas otras herramientas
25037 de programación literaria, cuya elección puedes hacer en las preferencias
25038 de \SpecialChar LyX
25042 \begin_layout Subsubsection
25043 Generación de documentos y de código («weaving and tangling»)
25046 \begin_layout Paragraph
25047 Usando el módulo noweb
25050 \begin_layout Standard
25051 Con \SpecialChar LyX
25052 y Noweb instalados, al abrir un documento nuevo y después de elegir
25053 la clase de documento selecciona el módulo
25054 \begin_inset Quotes cld
25058 \begin_inset Quotes crd
25063 Documento\SpecialChar menuseparator
25064 Configuración\SpecialChar menuseparator
25068 Si Noweb está instalado correctamente podrás pulsar
25072 para usarlo en tu documento.
25075 \begin_layout Paragraph
25079 \begin_layout Standard
25081 proporciona el entorno
25084 \begin_inset Flex Noun
25087 \begin_layout Plain Layout
25098 para escribir código.
25099 Noweb delimita trozos como éste:
25102 \begin_layout LyX-Code
25106 \begin_layout LyX-Code
25110 \begin_layout LyX-Code
25114 \begin_layout LyX-Code
25118 \begin_layout LyX-Code
25122 \begin_layout Standard
25123 El problema es que todo lo que se escriba entre <<
25124 \begin_inset space ~
25131 debe ser interpretado de forma literal, es decir, \SpecialChar LyX
25132 no debería hacer ninguna
25133 interpretación especial de lo que está ahí escrito.
25134 Esto es también manejado por el entorno
25135 \begin_inset Flex Noun
25138 \begin_layout Plain Layout
25144 , que funciona como un párrafo normal excepto que admite espacios con libertad.
25147 \begin_layout Standard
25148 He de apuntar que también puedes usar la estructura
25149 \begin_inset Quotes cld
25157 \begin_inset Quotes crd
25160 de Noweb en tus trozos de código para añadir identificadores de referencias
25164 \begin_layout LyX-Code
25168 \begin_layout LyX-Code
25169 def una_función(argumentos):
25172 \begin_layout LyX-Code
25173 "Esta es la documentación para esta función."
25176 \begin_layout LyX-Code
25177 print "Mis argumentos: ", argumentos
25180 \begin_layout LyX-Code
25184 \begin_layout Standard
25185 Para ver un ejemplo de esta construcción y la salida con la referencia cruzada
25186 generada, puedes ver la programación literaria en python contenida en el
25188 \begin_inset Newline newline
25196 /examples/listerrors.lyx
25201 que debería aclarar esto.
25204 \begin_layout Paragraph
25205 Generación del documento
25208 \begin_layout Standard
25209 Ahora ya tienes un nuevo documento con su clase adecuada y con algo de código
25211 ¿Cómo ver la salida impresa? La respuesta es simple, con
25213 Ver\SpecialChar menuseparator
25217 Igual que harías con cualquier otro documento.
25218 No hace falta ningún procedimiento especial.
25221 \begin_layout Standard
25222 Para aclarar las cosas explicaré lo que sucede en el interior de \SpecialChar LyX
25226 \begin_layout Enumerate
25227 Al escoger la opción
25229 Ver\SpecialChar menuseparator
25230 Actualizar\SpecialChar menuseparator
25233 , se genera un archivo \SpecialChar LaTeX
25239 \begin_layout Standard
25240 Si el documento es de cualquiera de las clases en formato
25241 \begin_inset Quotes cld
25245 \begin_inset Quotes crd
25248 , el archivo generado será nombrado con una extensión definida por el formato
25250 \begin_inset Quotes cld
25254 \begin_inset Quotes crd
25257 (definido en el panel de
25261 ), si no el archivo tendrá la extensión habitual
25269 \begin_layout Enumerate
25270 La única diferencia está en la extensión del archivo, no hace falta ninguna
25271 acción especial por parte de \SpecialChar LyX
25272 , puesto que has formateado el código con
25274 \begin_inset Flex Noun
25277 \begin_layout Plain Layout
25283 , que ya se cuida de ese aspecto.
25286 \begin_layout Enumerate
25287 Si el documento es de cualquier clase
25288 \begin_inset Quotes cld
25292 \begin_inset Quotes crd
25295 , un convertidor interno se encarga de convertir el archivo \SpecialChar LyX
25301 \begin_layout Plain Layout
25304 Herramientas\SpecialChar menuseparator
25316 convierte Noweb a \SpecialChar LaTeX
25317 para generar el archivo \SpecialChar LaTeX
25322 \begin_layout Standard
25323 Si no lo es, se salta este paso.
25327 \begin_layout Enumerate
25328 Finalmente, se ejecuta \SpecialChar LaTeX
25329 y continúa el proceso de la manera habitual.
25332 \begin_layout Standard
25333 La independencia de una particular herramienta de programación literaria
25334 se basa simplemente en el cambio de los comandos ejecutados por los distintos
25338 \begin_layout Paragraph
25339 Generación del código
25342 \begin_layout Standard
25343 Al escoger la opción de menú o al pulsar el botón adecuado de la barra de
25344 herramientas, se genera un archivo \SpecialChar LaTeX
25345 como se describe en el paso 1 anterior.
25346 A continuación, \SpecialChar LyX
25347 ejecuta el convertidor
25352 Habitualmente, este paso (igual que cualquier otro convertidor) se realiza
25356 \begin_layout Enumerate
25357 El programa convertidor propiamente dicho.
25358 Este programa realiza la conversión de un formato a otro (en este caso,
25370 \begin_layout Enumerate
25371 El analizador de registro de errores.
25372 Este es un programa cuyo único propósito es reescribir los mensajes de
25373 error en un formato comprensible para \SpecialChar LyX
25375 Esto permite la colocación de los cuadros de error de \SpecialChar LyX
25376 en los lugares correctos.
25379 \begin_layout Standard
25380 La primera parte, que se especifica en el campo
25385 \begin_inset Newline newline
25389 \begin_inset Quotes cld
25397 \begin_inset Quotes crd
25401 Esto significa que \SpecialChar LyX
25403 \begin_inset Quotes cld
25411 \begin_inset Quotes crd
25414 (un programa o una secuencia) con el nombre del archivo Noweb (
25418 , generalmente un archivo en el directorio temporal de \SpecialChar LyX
25423 \begin_layout Standard
25424 He aquí una implementación de
25428 que puedes colocar en un directorio accesible para tu línea de comandos:
25431 \begin_layout Standard
25432 \begin_inset VSpace defskip
25438 \begin_layout Standard
25444 \begin_layout Standard
25450 \begin_layout Standard
25453 notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
25456 \begin_layout Standard
25457 \begin_inset VSpace defskip
25463 \begin_layout Standard
25464 La segunda parte de los ajustes del convertidor es el
25465 \begin_inset Quotes cld
25469 \begin_inset Quotes crd
25473 \begin_inset Newline newline
25477 \begin_inset Quotes eld
25482 parselog=$$s/scripts/listerrors
25485 \begin_inset Quotes erd
25491 \begin_layout Standard
25492 Esto procesará cualquier error que se genere por el proceso
25493 \begin_inset Quotes cld
25501 \begin_inset Quotes crd
25504 a través del programa
25505 \begin_inset Quotes cld
25509 \begin_inset Quotes crd
25515 \begin_layout Standard
25516 Normalmente, la compilación tendrá lugar en el directorio temporal de \SpecialChar LyX
25518 por tanto los archivos generados por la conversión estarán en ese directorio.
25520 copiará lo que considera como el archivo "principal", pero la conversión
25524 puede generar varios arcivos, aunque la mayoría de ellos se borran al cerrar
25527 Por eso pasamos la variable de entorno NOWEB_OUTPUT_DIR, para que el gragmento
25528 build-script pueda situar los archivos generados en su sitio.
25531 \begin_layout Paragraph
25532 Instrucciones de compilación en el documento
25535 \begin_layout Standard
25536 La última parte de la integración entre \SpecialChar LyX
25537 y noweb es el trozo
25538 \begin_inset Quotes cld
25542 \begin_inset Quotes crd
25546 Generalmente, las instrucciones para compilar tu programa deberían incluirse
25547 en un trozo propio.
25552 específico de noweb visto antes usa el comando
25556 para buscar ese trozo (llamado
25557 \begin_inset Quotes cld
25561 \begin_inset Quotes crd
25564 ) y procesa su contenido a través de
25571 \begin_layout Standard
25572 Típicamente, un trozo
25573 \begin_inset Quotes cld
25577 \begin_inset Quotes crd
25580 se verá más o menos así:
25583 \begin_layout LyX-Code
25587 \begin_layout LyX-Code
25589 \begin_inset Newline newline
25592 if [ -z "${NOWEB_SOURCE}" ]
25593 \begin_inset Newline newline
25599 \begin_layout LyX-Code
25600 NOWEB_SOURCE=myfile.nw
25601 \begin_inset Newline newline
25605 \begin_inset Newline newline
25609 code to extract files ...
25610 use NOWEB_OUTPUT_DIR here ...]
25611 \begin_inset Newline newline
25615 code to compile files ...]
25616 \begin_inset Newline newline
25622 \begin_layout Standard
25628 /examples/listerrors.lyx
25635 /examples/Literate.lyx
25637 , que implementan dos versiones del programa
25641 , para ver algunos ejemplos de cómo ensamblar todo esto, o en
25646 /examples/noweb2lyx.lyx
25652 Es interesante ver cómo estos tres archivos muestran la independencia del
25653 lenguaje de programación literaria utilizado en \SpecialChar LyX
25654 , puesto que están escritos,
25655 respectivamente, en Python, C y Perl.
25658 \begin_layout Subsubsection
25659 Configurar \SpecialChar LyX
25663 \begin_layout Standard
25664 Todo el soporte de Programación Literaria se configura en el panel del menú
25667 Herramientas\SpecialChar menuseparator
25675 \begin_inset space ~
25683 \begin_inset space ~
25695 Las partes importantes son:
25698 \begin_layout Description
25700 \begin_inset space ~
25704 \begin_inset space ~
25708 \begin_inset Quotes cld
25712 \begin_inset Quotes crd
25718 \begin_inset space ~
25722 \begin_inset space ~
25727 se configuran las partes específicas de Noweb.
25731 \begin_inset space ~
25749 Esto prepara a \SpecialChar LyX
25750 para generar un archivo con extensión
25754 en el primer paso del proceso de conversión.
25757 \begin_layout Description
25759 \begin_inset space ~
25765 \begin_inset space ~
25770 a Este es un formato ficticio cuyo único propósito es ser el punto final
25771 de una conversión (que luego nos permite establecer un convertidor que
25779 \begin_layout Description
25789 Este convertidor realiza el
25790 \begin_inset Quotes cld
25794 \begin_inset Quotes crd
25797 (generación de la documentación) del documento literario.
25798 Para Noweb, hay que poner el
25803 \begin_inset Quotes cld
25808 noweave -delay -index $$i > $$o
25811 \begin_inset Quotes crd
25817 \begin_layout Description
25826 a Este realiza el paso
25827 \begin_inset Quotes cld
25831 \begin_inset Quotes crd
25834 (generación del código).
25835 Como se dijo antes, el
25840 \begin_inset Quotes cld
25848 \begin_inset Quotes crd
25857 \begin_inset space ~
25866 \begin_inset Quotes cld
25871 originaldir,parselog=listerrors
25874 \begin_inset Quotes crd
25880 \begin_layout Subsubsection
25881 Extensiones de depuración
25884 \begin_layout Standard
25885 En el servidor \SpecialChar LyX
25886 también se ha implementado una nueva función,
25887 \begin_inset Quotes cld
25890 server-goto-file-row
25891 \begin_inset Quotes crd
25894 , para ser utilizada con
25906 \begin_layout Standard
25907 Cuando se depura código con
25915 , es posible invocar un editor de texto en la posición actual de ejecución
25916 con una sencilla pulsación de teclado.
25917 La configuración por omisión de
25926 La línea de comando del editor utilizado por
25930 se puede definir accediendo al diálogo
25932 Editar\SpecialChar menuseparator
25933 Preferencias\SpecialChar menuseparator
25936 cambiando la entrada
25943 \begin_layout Standard
25944 He aprovechado las ventajas de la nueva función del servidor \SpecialChar LyX
25950 , poniendo lo siguiente en
25957 \begin_layout Standard
25958 \begin_inset VSpace defskip
25964 \begin_layout Standard
25967 echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
25970 \begin_layout Standard
25971 \begin_inset VSpace defskip
25977 \begin_layout Standard
25978 Con esto, cuando estás usando
25982 y encuentras una parte del programa que quieres editar, solo has de pulsar
25995 pasa esta información por medio del servidor \SpecialChar LyX
25997 , en cuya ventana se verá
25998 el mismo archivo con el cursor en la posición apuntada por
26003 ¡Se acabaron las adivinanzas y los tediosos deslizamientos de pantalla
26004 para localizar los fallos del programa!
26007 \begin_layout Standard
26008 Sin embargo, ten en cuenta que debes habilitar el servidor \SpecialChar LyX
26010 con él (por omisión está desactivado).
26019 ), introduciendo en el campo
26022 \begin_inset space ~
26029 \begin_inset Newline newline
26033 \begin_inset Quotes cld
26038 /home/<directorio-personal>/.lyx/lyxpipe
26041 \begin_inset Quotes crd
26047 \begin_layout Standard
26048 Lee la documentación del servidor \SpecialChar LyX
26053 para más información.
26056 \begin_layout Subsubsection
26057 Ampliación de la barra de herramientas
26060 \begin_layout Standard
26061 Hay seis botones nuevos que pueden añadirse a la barra de herramientas de
26064 Cinco de ellos son atajos a los tipos de párrafo:
26079 Código-\SpecialChar LyX
26087 El otro es un atajo a la entrada
26088 \begin_inset Quotes cld
26096 \begin_inset Quotes crd
26107 \begin_layout Standard
26109 dispone de una colección de botones para personalizar la barra de herramientas.
26110 En mi barra de herramientas personal me gusta combinar los seis botones
26111 mencionados con otros dos para las entradas de menú
26115 \SpecialChar menuseparator
26120 \SpecialChar menuseparator
26127 Documento\SpecialChar menuseparator
26134 \begin_layout LyX-Code
26138 \begin_layout LyX-Code
26142 \begin_layout LyX-Code
26143 Icon "layout Standard"
26146 \begin_layout LyX-Code
26147 Icon "layout Section"
26150 \begin_layout LyX-Code
26151 Icon "layout \SpecialChar LaTeX
26155 \begin_layout LyX-Code
26156 Icon "layout \SpecialChar LyX
26160 \begin_layout LyX-Code
26161 Icon "layout Chunk"
26164 \begin_layout LyX-Code
26168 \begin_layout LyX-Code
26172 \begin_layout LyX-Code
26173 Icon "buffer-typeset"
26176 \begin_layout LyX-Code
26177 Icon "build-program"
26180 \begin_layout LyX-Code
26184 \begin_layout LyX-Code
26188 \begin_layout LyX-Code
26192 \begin_layout LyX-Code
26196 \begin_layout LyX-Code
26200 \begin_layout Subsubsection
26201 Personalización de los colores
26204 \begin_layout Standard
26205 Cierto número de colores usados en \SpecialChar LyX
26206 se pueden personalizar en el diálogo
26212 Una de las cosas que más molesta a la gente es el color de la tipografía
26213 del código \SpecialChar LaTeX
26214 , que por omisión es rojo, y como el entorno
26217 \begin_inset Flex Noun
26220 \begin_layout Plain Layout
26231 utiliza código \SpecialChar LaTeX
26232 y hay mucho código en los documentos de programación literaria,
26233 puedes acabar harto de ver tanto rojo.
26234 Así pues, puedes cambiarlo si quieres en
26238 \SpecialChar menuseparator
26244 \begin_layout Standard
26245 El siguiente asunto es la presencia visible del carácter salto de línea
26247 Puedes elegir el color de este carácter en particular para confundirlo
26249 Recomiendo escoger un color parecido al del fondo pero no idéntico, de
26250 esta forma lo seguirás viendo pero sin molestar tanto.
26253 \begin_layout Subsection
26258 \begin_layout Standard
26267 está documentado en el archivo de ejemplo
26271 y en el manual de Sweave (menú
26273 Ayuda\SpecialChar menuseparator
26274 Manuales específicos
26279 \begin_layout Chapter
26280 Características especiales
26283 \begin_layout Standard
26284 Con \SpecialChar LyX
26285 se puede hacer todo lo que se puede hacer con \SpecialChar LaTeX
26287 Aunque \SpecialChar LyX
26288 no puede soportar directamente todas las características de \SpecialChar LaTeX
26290 es posible usar código \SpecialChar LaTeX
26292 Este capítulo trata de algunas cosas especiales que podrían interesarte.
26293 Las características especiales relacionadas con figuras, cuadros, flotantes,
26294 marcos y notas, se pueden consultar en el manual
26302 \begin_layout Section
26306 \begin_layout Standard
26307 Esta característica es independiente de la opción
26309 Documento con dos columnas
26315 de la configuración del documento.
26316 Para tener dos columnas de texto en todo el documento se recomienda usar
26318 Para el resto de casos se usa la característica aquí descrita.
26321 \begin_layout Standard
26322 Para poner texto en varias columnas, hay que cargar el módulo
26328 Documento\SpecialChar menuseparator
26329 Configuración\SpecialChar menuseparator
26332 ), y debe estar instalado el paquete \SpecialChar LaTeX
26338 \begin_inset Index idx
26341 \begin_layout Plain Layout
26343 -paquetes ! multicol
26351 \begin_layout Standard
26352 Las notas al pie en las columnas se colocarán al final de la página y no
26354 En las distintas columnas se puede usar todo, excepto que para flotantes
26355 hay que usar la opción
26362 \begin_layout Subsection
26366 \begin_layout Standard
26367 Para poner un texto en dos columnas, usa el menú
26369 Insertar\SpecialChar menuseparator
26371 \begin_inset space ~
26374 personalizado\SpecialChar menuseparator
26377 en el punto en que deben iniciarse las columnas.
26378 Escribe en el recuadro todo el texto que debe ir en dos columnas.
26381 \begin_layout Standard
26385 \begin_layout Standard
26389 \begin_inset Flex Multiple Columns
26392 \begin_layout Plain Layout
26398 The Adventure of the Empty House
26401 \begin_inset Newline newline
26404 by Sir Arthur Conan Doyle
26407 \begin_layout Plain Layout
26411 It was in the spring of the year 1894 that all London was interested, and
26412 the fashionable world dismayed, by the murder of the Honourable Ronald
26413 Adair under most unusual and inexplicable circumstances.
26414 The public has already learned those particulars of the crime which came
26415 out in the police investigation, but a good deal was suppressed upon that
26416 occasion, since the case for the prosecution was so overwhelmingly strong
26417 that it was not necessary to bring forward all the facts.
26418 Only now, at the end of nearly ten years, am I allowed to supply those
26419 missing links which make up the whole of that remarkable chain.
26420 The crime was of interest in itself, but that interest was as nothing to
26421 me compared to the inconceivable sequel, which afforded me the greatest
26422 shock and surprise of any event in my adventurous life.
26423 Even now, after this long interval, I find myself thrilling as I think
26424 of it, and feeling once more that sudden flood of joy, amazement, and increduli
26425 ty which utterly submerged my mind.
26426 Let me say to that public, which has shown some interest in those glimpses
26427 which I have occasionally given them of the thoughts and actions of a very
26428 remarkable man, that they are not to blame me if I have not shared my knowledge
26429 with them, for I should have considered it my first duty to do so, had
26430 I not been barred by a positive prohibition from his own lips, which was
26431 only withdrawn upon the third of last month.
26439 \begin_layout Standard
26440 Para poner tres o más columnas coloca el cursor dentro del recuadro, usa
26443 Insertar\SpecialChar menuseparator
26446 y escribe el número de columnas, por ejemplo "3".
26447 \begin_inset Newline newline
26450 Un ejemplo de texto en tres columnas:
26453 \begin_layout Standard
26456 \begin_inset Flex Multiple Columns
26459 \begin_layout Plain Layout
26463 \begin_inset Argument 1
26466 \begin_layout Plain Layout
26474 It can be imagined that my close intimacy with Sherlock Holmes had interested
26475 me deeply in crime, and that after his disappearance I never failed to
26476 read with care the various problems which came before the public.
26477 And I even attempted, more than once, for my own private satisfaction,
26478 to employ his methods in their solution, though with indifferent success.
26479 There was none, however, which appealed to me like this tragedy of Ronald
26481 As I read the evidence at the inquest, which led up to a verdict of willful
26482 murder against some person or persons unknown, I realized more clearly
26483 than I had ever done the loss which the community had sustained by the
26484 death of Sherlock Holmes.
26485 There were points about this strange business which would, I was sure,
26486 have specially appealed to him, and the efforts of the police would have
26487 been supplemented, or more probably anticipated, by the trained observation
26488 and the alert mind of the first criminal agent in Europe.
26489 All day, as I drove upon my round, I turned over the case in my mind and
26490 found no explanation which appeared to me to be adequate.
26491 At the risk of telling a twice-told tale, I will recapitulate the facts
26492 as they were known to the public at the conclusion of the inquest.
26500 \begin_layout Standard
26501 Se puede llegar hasta 10
26502 \begin_inset space ~
26505 columnas, aunque seguramente no será muy cómodo para los lectores.
26508 \begin_layout Standard
26511 \begin_inset Newpage newpage
26517 \begin_layout Subsection
26518 Columnas dentro de otras columnas
26521 \begin_layout Standard
26522 Es posible poner columnas dentro de otras:
26525 \begin_layout Standard
26528 \begin_inset Flex Multiple Columns
26531 \begin_layout Plain Layout
26535 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
26536 at that time governor of one of the Australian colonies.
26537 Adair's mother had returned from Australia to undergo the operation for
26538 cataract, and she, her son Ronald, and her daughter Hilda were living together
26542 \begin_layout Plain Layout
26545 \begin_inset Flex Multiple Columns
26548 \begin_layout Plain Layout
26552 The youth moved in the best society–had, so far as was known, no enemies
26553 and no particular vices.
26554 He had been engaged to Miss Edith Woodley, of Carstairs, but the engagement
26555 had been broken off by mutual consent some months before, and there was
26556 no sign that it had left any very profound feeling behind it.
26557 For the rest {sic} the man's life moved in a narrow and conventional circle,
26558 for his habits were quiet and his nature unemotional.
26559 Yet it was upon this easy-going young aristocrat that death came, in most
26560 strange and unexpected form, between the hours of ten and eleven-twenty
26561 on the night of March 30, 1894.
26569 \begin_layout Plain Layout
26573 Ronald Adair was fond of cards–playing continually, but never for such stakes
26575 He was a member of the Baldwin, the Cavendish, and the Bagatelle card clubs.
26576 It was shown that, after dinner on the day of his death, he had played
26577 a rubber of whist at the latter club.
26578 He had also played there in the afternoon.
26583 The evidence of those who had played with him– Mr.
26584 Murray, Sir John Hardy, and Colonel Moran–showed that the game was whist,
26585 and that there was a fairly equal fall of the cards.
26586 Adair might have lost five pounds, but not more.
26587 His fortune was a considerable one, and such a loss could not in any way
26589 He had played nearly every day at one club or other, but he was a cautious
26590 player, and usually rose a winner.
26591 It came out in evidence that, in partnership with Colonel Moran, he had
26592 actually won as much as four hundred and twenty pounds in a sitting, some
26593 weeks before, from Godfrey Milner and Lord Balmoral.
26594 So much for his recent history as it came out at the inquest.
26602 \begin_layout Subsection
26606 \begin_layout Standard
26607 Los ejemplos de esta sección muestran algunas características más avanzadas
26611 \begin_layout Standard
26612 Para ver más opciones de columnas echa un vistazo a la documentación del
26613 paquete \SpecialChar LaTeX
26619 \begin_inset Index idx
26622 \begin_layout Plain Layout
26624 -paquetes ! multicol
26630 \begin_inset CommandInset citation
26640 \begin_layout Subsubsection
26644 \begin_layout Standard
26645 Para añadir un prefacio a las columnas coloca el cursor dentro del recuadro
26646 del texto en columnas y usa el menú
26648 Insertar\SpecialChar menuseparator
26652 Escribe en el marco que aparece el texto del prefacio.
26653 \begin_inset Newline newline
26656 Ejemplo con un texto de prefacio:
26657 \begin_inset VSpace bigskip
26663 \begin_layout Standard
26666 \begin_inset Flex Multiple Columns
26669 \begin_layout Plain Layout
26670 \begin_inset Argument 2
26673 \begin_layout Plain Layout
26674 Y la historia continúa\SpecialChar ldots
26683 On the evening of the crime, he returned from the club exactly at ten.
26684 His mother and sister were out spending the evening with a relation.
26685 The servant deposed that she heard him enter the front room on the second
26686 floor, generally used as his sitting-room.
26687 She had lit a fire there, and as it smoked she had opened the window.
26688 No sound was heard from the room until eleven-twenty, the hour of the return
26689 of Lady Maynooth and her daughter.
26690 Desiring to say good-night, she attempted to enter her son's room.
26691 The door was locked on the inside, and no answer could be got to their
26692 cries and knocking.
26693 Help was obtained, and the door forced.
26694 The unfortunate young man was found lying near the table.
26695 His head had been horribly mutilated by an expanding revolver bullet, but
26696 no weapon of any sort was to be found in the room.
26704 \begin_layout Standard
26705 También se puede usar un encabezado de sección como prefacio, poniendo un
26706 comando de sección en código \SpecialChar TeX
26708 Por ejemplo, el comando
26711 \begin_layout Standard
26716 subsection{título de la subsección}
26719 \begin_layout Standard
26720 crea una subsección.
26721 En el siguiente ejemplo el título de la subsubsección hace de prefacio:
26724 \begin_layout Standard
26727 \begin_inset Flex Multiple Columns
26730 \begin_layout Plain Layout
26731 \begin_inset Argument 2
26734 \begin_layout Plain Layout
26738 \begin_layout Plain Layout
26747 Un encabezado de subsubsección como prefacio
26751 \begin_layout Plain Layout
26766 A minute examination of the circumstances served only to make the case more
26768 In the first place, no reason could be given why the young man should have
26769 fastened the door upon the inside.
26770 There was the possibility that the murderer had done this, and had afterwards
26771 escaped by the window.
26772 The drop was at least twenty feet, however, and a bed of crocuses in full
26774 Neither the flowers nor the earth showed any sign of having been disturbed,
26775 nor were there any marks upon the narrow strip of grass which separated
26776 the house from the road.
26777 Apparently, therefore, it was the young man himself who had fastened the
26779 But how did he come by his death? No one could have climbed up to the window
26780 without leaving traces.
26781 Suppose a man had fired through the window, he would indeed be a remarkable
26782 shot who could with a revolver inflict so deadly a wound.
26783 Again, Park Lane is a frequented thoroughfare; there is a cab stand within
26784 a hundred yards of the house.
26785 No one had heard a shot.
26793 \begin_layout Standard
26794 Si al comenzar las columnas queda menos espacio vertical en la página que
26795 el correspondiente a 6 líneas de texto, se insertará un salto de página.
26796 Dependiendo del número de líneas del texto del prefacio, es posible cambiar
26798 Para ello se coloca el cursor detrás del prefacio (si lo hay), se usa el
26801 Insertar\SpecialChar menuseparator
26803 \begin_inset space ~
26807 \begin_inset space ~
26811 \begin_inset space ~
26815 \begin_inset space ~
26820 y se escribe en el marco el espacio deseado, por ej.
26822 \begin_inset Newline newline
26825 En el siguiente ejemplo, el espacio establecido es de 7 líneas de texto
26827 \begin_inset Quotes cld
26833 \begin_inset Quotes crd
26842 en código \SpecialChar TeX
26846 \begin_layout Standard
26849 \begin_inset Flex Multiple Columns
26852 \begin_layout Plain Layout
26853 \begin_inset Argument 3
26856 \begin_layout Plain Layout
26861 \begin_layout Plain Layout
26878 On the evening of the crime, he returned from the club exactly at ten.
26879 His mother and sister were out spending the evening with a relation.
26880 The servant deposed that she heard him enter the front room on the second
26881 floor, generally used as his sitting-room.
26882 She had lit a fire there, and as it smoked she had opened the window.
26883 No sound was heard from the room until eleven-twenty, the hour of the return
26884 of Lady Maynooth and her daughter.
26885 Desiring to say good-night, she attempted to enter her son's room.
26886 The door was locked on the inside, and no answer could be got to their
26887 cries and knocking.
26888 Help was obtained, and the door forced.
26889 The unfortunate young man was found lying near the table.
26890 His head had been horribly mutilated by an expanding revolver bullet, but
26891 no weapon of any sort was to be found in the room.
26899 \begin_layout Subsubsection
26900 Espacio circundante
26903 \begin_layout Standard
26904 El espacio delante y detrás de las columnas se puede cambiar con el comando
26915 \begin_layout Standard
26925 \begin_layout Standard
26926 en código \SpecialChar TeX
26927 establece un espacio de 3
26928 \begin_inset space \thinspace{}
26932 El cambio debe hacerse antes del inicio de las columnas.
26933 El valor por omisión es de 13
26934 \begin_inset space \thinspace{}
26940 \begin_layout Standard
26947 se ha establecido en 2.5
26948 \begin_inset space \thinspace{}
26954 \begin_layout Standard
26958 \begin_layout Plain Layout
26964 multicolsep}{2.5cm}
26972 \begin_layout Standard
26975 \begin_inset Flex Multiple Columns
26978 \begin_layout Plain Layout
26982 All day I turned these facts over in my mind, endeavouring to hit upon some
26983 theory which could reconcile them all, and to find that line of least resistanc
26984 e which my poor friend had declared to be the starting-point of every investigat
26986 I confess that I made little progress.
26987 In the evening I strolled across the Park, and found myself about six o'clock
26988 at the Oxford Street end of Park Lane.
26989 A group of loafers upon the pavements, all staring up at a particular window,
26990 directed me to the house which I had come to see.
26991 A tall, thin man with coloured glasses, whom I strongly suspected of being
26992 a plain-clothes detective, was pointing out some theory of his own, while
26993 the others crowded round to listen to what he said.
26994 I got as near him as I could, but his observations seemed to me to be absurd,
26995 so I withdrew again in some disgust.
26996 As I did so I struck against an elderly, deformed man, who had been behind
26997 me, and I knocked down several books which he was carrying.
27005 \begin_layout Standard
27006 \begin_inset Note Greyedout
27009 \begin_layout Plain Layout
27020 serán válidos para todas las columnas siguientes hasta que se cambie de
27029 \begin_layout Standard
27033 \begin_layout Plain Layout
27045 \begin_inset Note Note
27048 \begin_layout Plain Layout
27049 vuelta al valor predefinido
27057 \begin_layout Standard
27060 \begin_inset Newpage newpage
27066 \begin_layout Subsubsection
27070 \begin_layout Standard
27071 Se puede forzar un salto de columna insertando el comando
27077 en código \SpecialChar TeX
27078 en la posición del texto en la que se desee quebrar la columna.
27079 A tener en cuenta que, en la mayoría de los casos, esto genera espacios
27081 \begin_inset Newline newline
27087 \begin_layout Standard
27090 \begin_inset Flex Multiple Columns
27093 \begin_layout Plain Layout
27097 \begin_inset Quotes eld
27100 You're surprised to see me, sir,
27101 \begin_inset Quotes erd
27104 said he, in a strange, croaking voice.
27107 \begin_layout Plain Layout
27111 I acknowledged that I was.
27114 \begin_layout Plain Layout
27118 \begin_inset Quotes eld
27121 Well, I've a conscience, sir, and when I chanced to see you go into this
27122 house, as I came hobbling after you, I thought to myself, I'll just step
27123 in and see that kind gentleman, and tell him that if I was a bit gruff
27124 in my manner there was not any harm meant, and that I am much obliged to
27125 him for picking up my books.
27126 \begin_inset Quotes erd
27132 \begin_layout Plain Layout
27136 \begin_inset Quotes eld
27139 You make too much of a trifle,
27140 \begin_inset Quotes erd
27145 \begin_inset Quotes eld
27148 May I ask how you knew who I was?
27149 \begin_inset Quotes erd
27154 TRAS ESTA FRASE SE FUERZA UN SALTO DE COLUMNA.
27158 \begin_layout Plain Layout
27170 \begin_layout Plain Layout
27174 \begin_inset Quotes eld
27177 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
27178 you'll find my little bookshop at the corner of Church Street, and very
27179 happy to see you, I am sure.
27180 Maybe you collect yourself, sir.
27184 \begin_inset space ~
27197 –a bargain, every one of them.
27198 With five volumes you could just fill that gap on that second shelf.
27199 It looks untidy, does it not, sir?
27200 \begin_inset Quotes erd
27211 \begin_layout Subsubsection
27212 Separación de columnas
27215 \begin_layout Standard
27216 La anchura de las columnas se calcula automáticamente, pero la separación
27217 entre ellas se puede modificar mediante el comando
27224 El valor predeterminado es 10
27225 \begin_inset space \thinspace{}
27229 A continuación hay un ejemplo en el que la longitud de
27235 se ha establecido en 3
27236 \begin_inset space \thinspace{}
27242 \begin_layout Standard
27246 \begin_layout Plain Layout
27260 \begin_layout Standard
27263 \begin_inset Flex Multiple Columns
27266 \begin_layout Plain Layout
27270 My observations of No.
27271 \begin_inset space \space{}
27274 427 Park Lane did little to clear up the problem in which I was interested.
27275 The house was separated from the street by a low wall and railing, the
27276 whole not more than five feet high.
27277 It was perfectly easy, therefore, for anyone to get into the garden, but
27278 the window was entirely inaccessible, since there was no water pipe or
27279 anything which could help the most active man to climb it.
27280 More puzzled than ever, I retraced my steps to Kensington.
27281 I had not been in my study five minutes when the maid entered to say that
27282 a person desired to see me.
27283 To my astonishment it was none other than my strange old book collector,
27284 his sharp, wizened face peering out from a frame of white hair, and his
27285 precious volumes, a dozen of them at least, wedged under his right arm.
27293 \begin_layout Standard
27297 \begin_layout Plain Layout
27309 \begin_inset Note Note
27312 \begin_layout Plain Layout
27313 vuelta al valor predefinido
27321 \begin_layout Subsubsection
27325 \begin_layout Standard
27326 Entre las columnas se dibuja una línea cuya anchura viene dada por
27333 La anchura por omisión es de 0
27334 \begin_inset space \thinspace{}
27337 pt, no se dibuja ninguna línea.
27338 En el siguiente ejemplo la anchura de línea es 2
27339 \begin_inset space \thinspace{}
27345 \begin_layout Standard
27349 \begin_layout Plain Layout
27355 columnseprule}{2pt}
27363 \begin_layout Standard
27366 \begin_inset Flex Multiple Columns
27369 \begin_layout Plain Layout
27373 \begin_inset Quotes eld
27376 You're surprised to see me, sir,
27377 \begin_inset Quotes erd
27380 said he, in a strange, croaking voice.
27383 \begin_layout Plain Layout
27387 I acknowledged that I was.
27390 \begin_layout Plain Layout
27394 \begin_inset Quotes eld
27397 Well, I've a conscience, sir, and when I chanced to see you go into this
27398 house, as I came hobbling after you, I thought to myself, I'll just step
27399 in and see that kind gentleman, and tell him that if I was a bit gruff
27400 in my manner there was not any harm meant, and that I am much obliged to
27401 him for picking up my books.
27402 \begin_inset Quotes erd
27408 \begin_layout Plain Layout
27412 \begin_inset Quotes eld
27415 You make too much of a trifle,
27416 \begin_inset Quotes erd
27421 \begin_inset Quotes eld
27424 May I ask how you knew who I was?
27425 \begin_inset Quotes erd
27431 \begin_layout Plain Layout
27435 \begin_inset Quotes eld
27438 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
27439 you'll find my little bookshop at the corner of Church Street, and very
27440 happy to see you, I am sure.
27441 Maybe you collect yourself, sir.
27445 \begin_inset space ~
27458 –a bargain, every one of them.
27459 With five volumes you could just fill that gap on that second shelf.
27460 It looks untidy, does it not, sir?
27461 \begin_inset Quotes erd
27472 \begin_layout Standard
27473 \begin_inset VSpace defskip
27479 \begin_layout Standard
27480 La raya se puede colorear redefiniendo el comando
27490 Esto se consigue insertando el comando
27491 \begin_inset Newline newline
27500 columnseprulecolor}{
27505 \begin_inset Newline newline
27508 en código \SpecialChar TeX
27509 delante del recuadro columnas.
27510 Se puede poner el color deseado en lugar de
27515 Se puede usar cualquier color predefinido o personalizado.
27528 para más información sobre colores.
27529 Para volver al color por omisión inserta el comando
27530 \begin_inset Newline newline
27539 columnseprulecolor}{
27544 \begin_inset Newline newline
27547 Aquí hay un ejemplo con una línea en color cian y 1
27548 \begin_inset space \thinspace{}
27551 cm de separación entre columnas:
27554 \begin_layout Standard
27558 \begin_layout Plain Layout
27567 \begin_layout Plain Layout
27573 columnseprulecolor}{
27583 \begin_layout Standard
27586 \begin_inset Flex Multiple Columns
27589 \begin_layout Plain Layout
27593 \begin_inset Quotes eld
27596 You're surprised to see me, sir,
27597 \begin_inset Quotes erd
27600 said he, in a strange, croaking voice.
27603 \begin_layout Plain Layout
27607 I acknowledged that I was.
27610 \begin_layout Plain Layout
27614 \begin_inset Quotes eld
27617 Well, I've a conscience, sir, and when I chanced to see you go into this
27618 house, as I came hobbling after you, I thought to myself, I'll just step
27619 in and see that kind gentleman, and tell him that if I was a bit gruff
27620 in my manner there was not any harm meant, and that I am much obliged to
27621 him for picking up my books.
27622 \begin_inset Quotes erd
27628 \begin_layout Plain Layout
27632 \begin_inset Quotes eld
27635 You make too much of a trifle,
27636 \begin_inset Quotes erd
27641 \begin_inset Quotes eld
27644 May I ask how you knew who I was?
27645 \begin_inset Quotes erd
27651 \begin_layout Plain Layout
27655 \begin_inset Quotes eld
27658 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
27659 you'll find my little bookshop at the corner of Church Street, and very
27660 happy to see you, I am sure.
27661 Maybe you collect yourself, sir.
27665 \begin_inset space ~
27678 –a bargain, every one of them.
27679 With five volumes you could just fill that gap on that second shelf.
27680 It looks untidy, does it not, sir?
27681 \begin_inset Quotes erd
27692 \begin_layout Standard
27696 \begin_layout Plain Layout
27702 columnseprule}{0pt}
27705 \begin_layout Plain Layout
27711 columnseprulecolor}{
27719 \begin_inset Note Note
27722 \begin_layout Plain Layout
27723 retornar a los valores por omisión.
27731 \begin_layout Standard
27732 \begin_inset Newpage newpage
27738 \begin_layout Section
27739 Párrafos con formas diversas
27742 \begin_layout Standard
27744 y cualquier procesador de texto usan por omisión párrafos rectangulares.
27745 Para casos especiales como posters, tarjetas o poemas, es posible modifcar
27746 la forma del párrafo.
27747 Esto se puede conseguir mediante el paquete \SpecialChar LaTeX
27752 , que se carga con el módulo
27754 Párrafos conformados
27758 Documento\SpecialChar menuseparator
27759 Configuración\SpecialChar menuseparator
27765 \begin_layout Subsection
27766 Formas predefinidas
27769 \begin_layout Standard
27774 proporciona las siguientes formas:
27777 \begin_layout Standard
27778 \begin_inset Tabular
27779 <lyxtabular version="3" rows="13" columns="3">
27780 <features booktabs="true" islongtable="true" longtabularalignment="center">
27781 <column alignment="center" valignment="middle" width="16col%">
27782 <column alignment="center" valignment="middle" width="40col%">
27783 <column alignment="center" valignment="middle" width="35col%">
27784 <row endhead="true">
27785 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27788 \begin_layout Plain Layout
27794 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27797 \begin_layout Plain Layout
27803 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27806 \begin_layout Plain Layout
27814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27817 \begin_layout Plain Layout
27823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27826 \begin_layout Plain Layout
27827 Círculo con orificio central (tamaño de CD/DVD)
27832 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27835 \begin_layout Plain Layout
27836 No se puede cambiar el tamaño; no debe contener demasiado texto
27843 <cell alignment="center" valignment="top" topline="true" usebox="none">
27846 \begin_layout Plain Layout
27852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27855 \begin_layout Plain Layout
27861 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27864 \begin_layout Plain Layout
27865 Frágil, los cálculos
27868 \begin_layout Plain Layout
27876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27879 \begin_layout Plain Layout
27885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27888 \begin_layout Plain Layout
27889 Romboide (simbolizando
27892 \begin_layout Plain Layout
27894 \begin_inset Quotes cld
27898 \begin_inset Quotes crd
27906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27909 \begin_layout Plain Layout
27917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27920 \begin_layout Plain Layout
27926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27929 \begin_layout Plain Layout
27935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27938 \begin_layout Plain Layout
27946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27949 \begin_layout Plain Layout
27955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27958 \begin_layout Plain Layout
27964 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27967 \begin_layout Plain Layout
27975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27978 \begin_layout Plain Layout
27984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27987 \begin_layout Plain Layout
27991 \begin_layout Plain Layout
27992 (hexágono con orificio circular)
27997 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28000 \begin_layout Plain Layout
28008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28011 \begin_layout Plain Layout
28017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28020 \begin_layout Plain Layout
28026 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28029 \begin_layout Plain Layout
28037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28040 \begin_layout Plain Layout
28046 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28049 \begin_layout Plain Layout
28050 Estrella de 5 puntas
28055 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28058 \begin_layout Plain Layout
28066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28069 \begin_layout Plain Layout
28075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28078 \begin_layout Plain Layout
28084 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28087 \begin_layout Plain Layout
28095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28098 \begin_layout Plain Layout
28099 Gota/Gota invertida
28104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28107 \begin_layout Plain Layout
28108 Forma de gota normal/invertida
28113 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28116 \begin_layout Plain Layout
28117 Frágil, los cáculos
28120 \begin_layout Plain Layout
28128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28131 \begin_layout Plain Layout
28138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28141 \begin_layout Plain Layout
28142 Logotipo de \SpecialChar TeX
28148 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28151 \begin_layout Plain Layout
28159 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28162 \begin_layout Plain Layout
28164 \begin_inset Newline newline
28168 \begin_inset Newline newline
28176 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28179 \begin_layout Plain Layout
28180 Triángulos en diferentes orientaciones
28185 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28188 \begin_layout Plain Layout
28202 \begin_layout Standard
28203 Para elegir una determinada forma selecciónala en la lista desplegable de
28204 entornos de \SpecialChar LyX
28205 (primer botón de la barra de herramientas).
28208 \begin_layout Standard
28209 \begin_inset Newpage newpage
28215 \begin_layout Standard
28216 Ejemplo de párrafo con forma de tuerca:
28219 \begin_layout Standard
28220 \begin_inset VSpace bigskip
28227 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28228 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28230 At vero eos et accusam et justo duo dolores et ea rebum.
28231 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28233 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28234 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28238 \begin_layout Standard
28239 \begin_inset VSpace bigskip
28245 \begin_layout Standard
28246 \begin_inset Note Greyedout
28249 \begin_layout Plain Layout
28254 : los párrafos conformados no pueden saltar de página.
28262 \begin_layout Standard
28263 \begin_inset VSpace bigskip
28269 \begin_layout Standard
28274 preserva siempre la forma independientemente de la cantidad de texto.
28275 Por tanto el tamaño del párrafo cambia en función del texto.
28276 Esto puede provocar desbordamiento de los márgenes.
28277 Para comprobar el efecto de ajuste del tamaño veamos el mismo ejemplo anterior
28278 con el doble de texto:
28281 \begin_layout Standard
28282 \begin_inset Newpage newpage
28289 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28290 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28292 At vero eos et accusam et justo duo dolores et ea rebum.
28293 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28295 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28296 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28298 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28299 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28301 At vero eos et accusam et justo duo dolores et ea rebum.
28302 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28304 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28305 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28309 \begin_layout Standard
28310 \begin_inset VSpace bigskip
28316 \begin_layout Standard
28322 No se puede hacer escala porque debe ajustarse al tamaño de un CD/DVD.
28323 Por tanto la cantidad de texto que admite esta forma es limitada.
28324 \begin_inset Newline newline
28335 son frágiles, lo que significa que pueden fallar los cálculos de su tamaño,
28336 según la cantidad de texto.
28337 En esos casos se producirá el error de \SpecialChar LaTeX
28339 \begin_inset Quotes eld
28342 Arithmetic overflow
28343 \begin_inset Quotes erd
28347 Se puede arreglar añadiendo o quitando algo de texto; si no funciona habrá
28348 que elegir otra forma.
28351 \begin_layout Standard
28352 \begin_inset VSpace bigskip
28358 \begin_layout Standard
28359 En formas con puntas, la rutina de división silábica de \SpecialChar LaTeX
28361 Entonces habrá que añadir guiones protegidos
28366 arg "specialchar-insert hyphenation"
28371 ) donde sea necesario.
28374 \begin_layout Standard
28375 \begin_inset VSpace bigskip
28381 \begin_layout Standard
28382 Los párrafos conformados siempre van centrados en la página o ajustados
28383 al margen izquierdo, por tanto no se puede usar la alineación de la configuraci
28385 Una solución es poner el párrafo en una minipágina o en un marco y alinear
28387 En ese caso el problema es saber la anchura adecuada del marco: si es demasiado
28388 ancho y se centra, el párrafo no queda centrado porque se ajusta a la izquierda
28390 De modo que habrá que ir probando un poco para acertar con la anchura correcta.
28391 Aquí tenemos dos párrafos
28395 , el primero no alineado, el segundo a la derecha:
28398 \begin_layout Standard
28399 \begin_inset Newpage newpage
28405 \begin_layout Heart
28407 Lo\SpecialChar softhyphen
28408 rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28409 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28411 At vero eos et accusam et justo duo dolores et ea rebum.
28412 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28416 \begin_layout Standard
28417 \begin_inset VSpace bigskip
28423 \begin_layout Standard
28426 \begin_inset Box Frameless
28436 height_special "totalheight"
28441 backgroundcolor "none"
28444 \begin_layout Heart
28446 Lo\SpecialChar softhyphen
28447 rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28448 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28450 At vero eos et accusam et justo duo dolores et ea rebum.
28451 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28460 \begin_layout Subsection
28461 Formas personalizadas
28464 \begin_layout Standard
28465 Se puede definir cualquier forma.
28466 Hacerlo manualmente lleva mucho trabajo porque debe especificarse cada
28468 Pero hay una forma de que el ordenador haga los cálculos:
28471 \begin_layout Enumerate
28472 Instala el programa
28473 \begin_inset CommandInset href
28476 target "http://www.ctan.org/tex-archive/graphics/jpgfdraw"
28484 \begin_layout Enumerate
28491 TeX/LaTeX\SpecialChar menuseparator
28492 Settings\SpecialChar menuseparator
28495 y selecciona el tamaño de tipografía usado en el documento.
28496 Por ejemplo, este documento usa el tamaño 12
28497 \begin_inset space \thinspace{}
28503 \begin_layout Enumerate
28507 \begin_layout Enumerate
28510 TeX/LaTeX\SpecialChar menuseparator
28513 para exportar la forma a coordenadas.
28514 En el diálogo que surge usa la descripción de la forma para las coordenadas
28519 \begin_layout Plain Layout
28521 \begin_inset CommandInset href
28523 target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
28536 \begin_layout Standard
28537 Las coordenadas se escriben en un archivo \SpecialChar TeX
28539 Para incorporarlo a \SpecialChar LyX
28543 \begin_layout Enumerate
28544 Coloca el cursor delante del primer carácter del párrafo (o en uno nuevo
28548 \begin_layout Enumerate
28549 En \SpecialChar LyX
28552 Insertar\SpecialChar menuseparator
28553 Archivo\SpecialChar menuseparator
28555 \begin_inset space ~
28558 hijo\SpecialChar ldots
28561 , selecciona el archivo y elige
28568 \begin_inset space ~
28572 \begin_inset space ~
28578 \begin_layout Standard
28579 \begin_inset VSpace defskip
28585 \begin_layout Standard
28586 \begin_inset Note Greyedout
28589 \begin_layout Plain Layout
28594 : el cambio de forma sólo se aplica al párrafo actual; todo se restablece
28595 a normal para el párrafo siguiente.
28596 Por tanto la definición de forma debe aplicarse a cada párrafo por separado.
28604 \begin_layout Standard
28605 \begin_inset VSpace bigskip
28611 \begin_layout Standard
28615 \begin_layout Standard
28616 \begin_inset VSpace bigskip
28622 \begin_layout Standard
28623 \begin_inset CommandInset include
28625 filename "../SpecialParagraphShape.tex"
28629 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28630 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28632 At vero eos et accusam et justo duo dolores et ea rebum.
28633 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28635 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28636 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28640 \begin_layout Standard
28641 \begin_inset VSpace bigskip
28647 \begin_layout Standard
28652 para dibujar formas complejas en
28656 puedes dibujar la forma con el programa que quieras e importar la imagen
28662 Después sólo tendrás que dibujar una línea o spline sobre el contorno de
28666 \begin_layout Standard
28667 \begin_inset VSpace bigskip
28673 \begin_layout Standard
28676 Párrafos conformados
28678 proporciona además el
28694 que se pueden usar para definir formas coordenada a coordenada.
28698 \begin_layout Plain Layout
28699 Estos comandos se usan internamente para todas las formas que se han descrito
28705 Para información sobre el uso de estos entornos de estilo y más posibilidades
28706 de personalización echa un vistazo a la documentación del paquete
28711 \begin_inset CommandInset citation
28721 \begin_layout Bibliography
28722 \begin_inset CommandInset bibitem
28723 LatexCommand bibitem
28729 Documentación del paquete \SpecialChar LaTeX
28731 \begin_inset CommandInset href
28734 target "http://mirror.ctan.org/macros/latex/required/tools/multicol.pdf"
28742 \begin_layout Bibliography
28743 \begin_inset CommandInset bibitem
28744 LatexCommand bibitem
28750 Documentación del paquete \SpecialChar LaTeX
28752 \begin_inset CommandInset href
28755 target "http://mirrors.ctan.org/macros/latex/contrib/shapepar/shapepar.pdf"