1 #LyX 2.4 created this file. For more info see https://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 no
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_typewriter_osf false
55 \font_sf_scale 100 100
56 \font_tt_scale 100 100
58 \use_dash_ligatures false
60 \default_output_format pdf2
62 \bibtex_command default
63 \index_command default
67 \pdf_title "Características adicionales de LyX"
68 \pdf_author "LyX Team"
69 \pdf_subject "Documentación Adicional LyX"
70 \pdf_keywords "LyX, Documentación, Adicional"
72 \pdf_bookmarksnumbered true
73 \pdf_bookmarksopen false
74 \pdf_bookmarksopenlevel 1
79 \pdf_pdfusetitle false
80 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
83 \use_package amsmath 1
84 \use_package amssymb 1
87 \use_package mathdots 1
88 \use_package mathtools 1
90 \use_package stackrel 1
91 \use_package stmaryrd 1
92 \use_package undertilde 1
94 \cite_engine_type default
98 \paperorientation portrait
103 \notefontcolor #0000ff
111 \paragraph_separation indent
112 \paragraph_indentation default
114 \math_indentation default
115 \math_numbering_side default
120 \paperpagestyle headings
121 \tracking_changes false
122 \postpone_fragile_content false
123 \output_changes false
132 Características adicionales de \SpecialChar LyX
136 \begin_layout Subtitle
141 por el Equipo \SpecialChar LyX
146 \begin_layout Plain Layout
148 El principal mantenedor de este archivo es
150 Richard Kimberly Heck
153 Si tienes correcciones o comentarios, envíalos, por favor, a la lista de
154 correo de Documentación de \SpecialChar LyX
156 \begin_inset Flex Code
159 \begin_layout Plain Layout
160 <lyx-docs@lists.lyx.org>
173 \begin_layout Standard
174 \begin_inset CommandInset toc
175 LatexCommand tableofcontents
182 \begin_layout Chapter
186 \begin_layout Standard
187 Este manual es esencialmente la Parte II de la
192 La segregación de este documento obedece a una sencilla razón: la
196 es muy extensa, y contiene todas las características básicas que uno necesita
197 conocer para preparar la mayoría de documentos.
198 Sin embargo, el Equipo \SpecialChar LyX
199 ha tenido siempre el objetivo de extender las caracterí
200 sticas del programa mediante diversos archivos de configuración y paquetes
202 Esto significa que si necesitas soporte para el paquete \SpecialChar LaTeX
207 , puedes crear un archivo de formato (o módulo) para él sin tener que alterar
208 el propio \SpecialChar LyX
210 Ya hemos hecho de esta manera contribuciones a varias características nuevas.
211 Este es el documento donde se explican todas estas cosas.
214 \begin_layout Standard
215 En este manual se describen también algunas características especiales como
216 soporte de fax, control de versiones y soporte para SGML, que requieren
217 software adicional para funcionar bien.
218 Por último hay un capítulo sobre herramientas y consejos de \SpecialChar LaTeX
220 para mejorar la presentación de los documentos usando directamente las
221 poderosas características de \SpecialChar LaTeX
223 Después de todo, \SpecialChar LyX
228 es WYSIWYM y siempre será solo una interfaz para algunas, no todas, característi
229 cas de \SpecialChar LaTeX
234 \begin_layout Standard
235 Si aún no has leído la
239 , no hay duda de que estás en el manual equivocado.
244 es el primer sitio al que acudir, porque ahí te remitimos al manual adecuado
245 y te explicamos los criterios y el formato de todos los manuales.
246 También deberías estar familiarizado con la
250 y con las características fundamentales de \SpecialChar LyX
255 \begin_layout Standard
256 Puesto que todos los temas tratados en este manual dependen estrechamente
257 de la interacción entre \SpecialChar LyX
259 , el siguiente capítulo trata sobre el trabajo
260 interno de \SpecialChar LyX
261 y la forma de usar \SpecialChar LyX
262 para generar exactamente el código \SpecialChar LaTeX
264 Obviamente, es para usuarios experimentados en \SpecialChar LyX
268 \begin_layout Chapter
274 \begin_layout Section
275 Uso de \SpecialChar LaTeX
280 \begin_layout Standard
281 Este capítulo es tanto para
282 \begin_inset Quotes cld
287 \begin_inset Quotes crd
290 como para curiosos de \SpecialChar LaTeX
292 En él explicaremos cómo trabajan juntos \SpecialChar LyX
294 para generar salida imprimible.
295 Este es el único manual en el que suponemos que sabes algo sobre \SpecialChar LaTeX
299 \begin_layout Standard
300 Una vez llamamos a \SpecialChar LyX
302 \begin_inset Quotes cld
305 interfaz WYSIWYM para \SpecialChar LaTeX
307 \begin_inset Quotes crd
310 , pero ya no es cierto.
311 Hay otros programas que también lo son.
315 \begin_layout Plain Layout
316 Algunos habituales son \SpecialChar TeX
317 maker y kile para Linux y \SpecialChar TeX
319 Están además los modos \SpecialChar LaTeX
320 de vi y emacs, por supuesto.
325 Básicamente son editores con la habilidad de ejecutar \SpecialChar LaTeX
327 en el archivo que se está editando.
328 Aunque \SpecialChar LyX
337 correr a \SpecialChar LaTeX
338 , y también marca los errores en el archivo, hace mucho, mucho
340 Gracias al concepto WYSIWYM, no necesitas \SpecialChar LaTeX
341 para usar \SpecialChar LyX
343 Además, \SpecialChar LyX
344 ha añadido algunas extensiones a \SpecialChar LaTeX
346 Prueba esto en alguna ocasión: selecciona
347 \begin_inset Flex Noun
350 \begin_layout Plain Layout
351 Exportar\SpecialChar menuseparator
362 \begin_inset Flex Noun
365 \begin_layout Plain Layout
372 \begin_inset Flex Noun
375 \begin_layout Plain Layout
376 Ver\SpecialChar menuseparator
377 Panel de código fuente
382 ), y luego mira el preámbulo del archivo
387 \begin_inset Flex Code
390 \begin_layout Plain Layout
401 Observarás una serie de macros nuevas definidas específicamente por \SpecialChar LyX
403 Estas macros se definen automáticamente, de acuerdo con las características
404 elegidas para el documento.
407 \begin_layout Standard
408 Hay varios comandos que ejecutan \SpecialChar LaTeX
413 \begin_layout Itemize
414 \begin_inset Flex Noun
417 \begin_layout Plain Layout
420 Documento\SpecialChar menuseparator
429 \begin_layout Itemize
430 \begin_inset Flex Noun
433 \begin_layout Plain Layout
436 Documento\SpecialChar menuseparator
449 \begin_layout Standard
450 Solo llaman a \SpecialChar LaTeX
451 si el archivo ha cambiado desde la última vez que se ejecutó.
455 \begin_layout Standard
456 Cuando \SpecialChar LyX
457 ejecuta \SpecialChar LaTeX
458 sobre el archivo que estás editando, lleva a cabo los siguiente
462 \begin_layout Enumerate
463 Convierte el documento a \SpecialChar LaTeX
464 y guarda un archivo con extensión
465 \begin_inset Flex Code
468 \begin_layout Plain Layout
479 \begin_layout Enumerate
490 \begin_inset Flex Code
493 \begin_layout Plain Layout
505 (quizá varias veces) y cualesquiera otros comandos (como
506 \begin_inset Flex Code
509 \begin_layout Plain Layout
516 \begin_inset Flex Code
519 \begin_layout Plain Layout
525 ) necesarios para compilar el archivo.
528 \begin_layout Enumerate
529 Si hay errores, muestra el registro de errores.
532 \begin_layout Standard
533 Si has ejecutado \SpecialChar LaTeX
539 \begin_inset Flex Noun
542 \begin_layout Plain Layout
555 ejecuta un visor DVI para mostrar la salida.
561 \begin_inset Flex Noun
564 \begin_layout Plain Layout
580 \begin_layout Itemize
585 para convertir el archivo DVI a PostScript.
588 \begin_layout Itemize
589 Ejecuta un visor PostScript, como
592 \begin_inset Flex Code
595 \begin_layout Plain Layout
605 para mostrar la salida.
608 \begin_layout Standard
610 procede de forma parecida cuando ves o exportas otros formatos.
613 \begin_layout Section
614 Convertir archivos \SpecialChar LaTeX
619 \begin_layout Standard
620 Puedes importar un archivo \SpecialChar LaTeX
625 \begin_inset Flex Noun
628 \begin_layout Plain Layout
631 Archivo\SpecialChar menuseparator
632 Importar\SpecialChar menuseparator
641 Esto llamará al programa llamado
642 \begin_inset Flex Code
645 \begin_layout Plain Layout
651 que generará un archivo
652 \begin_inset Flex Code
655 \begin_layout Plain Layout
662 \begin_inset Flex Code
665 \begin_layout Plain Layout
675 \begin_layout Plain Layout
676 \begin_inset Flex Code
679 \begin_layout Plain Layout
685 también se puede ejecutar en línea de comandos, por supuesto.
693 \begin_layout Standard
694 \begin_inset Flex Code
697 \begin_layout Plain Layout
703 traducirá casi todo el \SpecialChar LaTeX
705 Dejará en código \SpecialChar TeX
706 cosas que no comprende, así que después de importar un
708 \begin_inset Flex Code
711 \begin_layout Plain Layout
719 , puedes buscar texto en rojo y editarlo a mano para que funcione bien.
722 \begin_layout Standard
723 Si no sabes qué es código \SpecialChar TeX
724 lee la sección siguiente.
727 \begin_layout Section
728 Insertar código \SpecialChar TeX
729 en documentos \SpecialChar LyX
731 \begin_inset CommandInset label
733 name "sec:Insertar-Código-TeX"
740 \begin_layout Standard
741 Todo lo que se puede hacer en \SpecialChar LaTeX
742 se puede hacer en \SpecialChar LyX
743 , por una razón muy simple:
744 en cualquier momento puedes insertar código \SpecialChar LaTeX
745 en un documento \SpecialChar LyX
748 no puede, y nunca podrá, mostrar cada una de las posibles estructuras
749 de \SpecialChar LaTeX
751 Si necesitas incluir comandos \SpecialChar LaTeX
752 en tu documento, puedes usar los marcos
754 \begin_inset Flex Code
757 \begin_layout Plain Layout
758 código \SpecialChar TeX
765 \begin_inset Flex Noun
768 \begin_layout Plain Layout
771 Insertar\SpecialChar menuseparator
780 \begin_layout Standard
781 Aquí hay un ejemplo de inserción de comandos \SpecialChar LaTeX
782 en un documento \SpecialChar LyX
787 \begin_layout LyX-Code
791 \begin_inset Newline newline
797 \begin_inset Newline newline
800 Este es un ejemplo para un entorno minipágina.
802 \begin_inset Newline newline
805 puedes poner prácticamente todo, incluso figuras y
806 \begin_inset Newline newline
809 cuadros (no flotantes).
811 \begin_inset Newline newline
817 \begin_inset Newline newline
821 \begin_inset Newline newline
827 \begin_inset Newline newline
833 \begin_inset Newline newline
839 \begin_inset Newline newline
844 \begin_inset Newline newline
850 \begin_inset Newline newline
856 \begin_inset Newline newline
862 \begin_inset Newline newline
870 \begin_layout Standard
872 \begin_inset Flex Code
875 \begin_layout Plain Layout
876 código \SpecialChar TeX
882 que contiene ese texto está tras este párrafo.
883 Si estás leyendo este manual en \SpecialChar LyX
884 solo verás el código insertado en rojo.
885 Si estás leyendo una versión impresa verás los resultados reales:
886 \begin_inset Newline newline
892 \begin_layout Standard
896 \begin_layout Plain Layout
903 \begin_layout Plain Layout
910 \begin_layout Plain Layout
912 Este es un ejemplo para un entorno minipágina.
913 En él puedes poner prácticamente todo, incluso figuras y cuadros (no flotantes).
916 \begin_layout Plain Layout
923 \begin_layout Plain Layout
928 \begin_layout Plain Layout
935 \begin_layout Plain Layout
942 \begin_layout Plain Layout
949 \begin_layout Plain Layout
955 \begin_layout Plain Layout
962 \begin_layout Plain Layout
969 \begin_layout Plain Layout
976 \begin_layout Plain Layout
986 \begin_inset Newline newline
992 \begin_layout Standard
993 Además de estos métodos,
997 también puedes crear un archivo separado con estructuras de \SpecialChar LaTeX
1004 \begin_inset Flex Noun
1007 \begin_layout Plain Layout
1014 \SpecialChar menuseparator
1015 Archivo\SpecialChar menuseparator
1017 \begin_inset space ~
1029 para incluir ese archivo (deberías seleccionar el tipo
1032 \begin_inset Flex Code
1035 \begin_layout Plain Layout
1046 Recomendamos hacer esto solo si dispones de un archivo
1049 \begin_inset Flex Code
1052 \begin_layout Plain Layout
1067 Si no, te espera una ardua tarea rastreando errores de \SpecialChar LaTeX
1072 \begin_layout Standard
1073 Hay unas últimas observaciones que hacer:
1076 \begin_layout Itemize
1082 comprueba si el código \SpecialChar LaTeX
1086 \begin_layout Itemize
1087 Abstente de reinventar la rueda.
1090 \begin_layout Standard
1091 Respecto al último punto, \SpecialChar LyX
1092 tiene bastantes características incorporadas,
1094 Asegúrate de explorar los manuales para convencerte de que \SpecialChar LyX
1096 de tal o cual función antes de hacerlo a mano.
1097 Además, hay por ahí multitud de paquetes \SpecialChar LaTeX
1098 para hacer toda clase de cosas,
1099 desde etiquetas o sobres a fantásticos cuadros multipágina.
1101 \begin_inset CommandInset href
1104 target "http://www.ctan.org/"
1112 \begin_layout Standard
1113 Si necesitas hacer algunas cosas fantásticas en tu documento, asegúrate
1114 de investigar en un buen libro sobre \SpecialChar LaTeX
1116 Hay unos cuantos de ellos recogidos en la bibliografía de la
1123 \begin_layout Section
1125 y el Preámbulo \SpecialChar LaTeX
1129 \begin_layout Subsection
1130 Sobre el preámbulo \SpecialChar LaTeX
1134 \begin_layout Standard
1135 Si conoces \SpecialChar LaTeX
1136 , no es necesario explicar para qué sirve el preámbulo.
1137 Si no lo sabes, lo que sigue te dará algunas ideas —de nuevo recomendamos
1138 consultar un libro sobre \SpecialChar LaTeX
1139 para información adicional—.
1140 En cualquier caso, deberías leer los puntos siguientes porque detallan
1141 lo que puedes hacer y lo que no necesitas hacer en el preámbulo \SpecialChar LaTeX
1143 documento \SpecialChar LyX
1147 \begin_layout Standard
1148 El preámbulo \SpecialChar LaTeX
1149 se encuentra en el principio de un documento,
1157 \begin_layout Itemize
1158 Declarar la clase de documento.
1159 \begin_inset Newline newline
1165 \begin_inset Quotes cld
1170 \begin_inset Quotes crd
1173 , y dispones de alguna clase personalizada de documento que deseas usar,
1174 busca información sobre cómo incluirlo en \SpecialChar LyX
1183 \begin_layout Itemize
1184 Declarar el empleo de paquetes.
1185 \begin_inset Newline newline
1188 Los paquetes \SpecialChar LaTeX
1189 suministran comandos especiales, que solo estarán disponibles
1190 para su uso si el paquete correspondiente se ha declarado en el preámbulo.
1191 Por ejemplo, el paquete
1194 \begin_inset Flex Code
1197 \begin_layout Plain Layout
1207 fuerza el sangrado en todos los párrafos.
1208 Hay otros paquetes para etiquetas, sobres, márgenes, etc.
1211 \begin_layout Itemize
1212 Configurar contadores, variables, longitudes y anchuras.
1213 \begin_inset Newline newline
1216 Hay varios contadores \SpecialChar LaTeX
1221 configurarse globalmente desde dentro del preámbulo para conseguir el efecto
1223 (Hay otras variables que se pueden configurar y reiniciar dentro del documento).
1224 Los márgenes son un buen ejemplo de algo que debe configurarse en el preámbulo.
1225 Otro ejemplo es el formato de las etiquetas para las listas.
1226 En realidad, puedes configurarlas donde quieras, pero es mejor hacerlo
1227 de una vez en el preámbulo.
1230 \begin_layout Itemize
1231 Declarar comandos definidos por el usuario (con
1234 \begin_inset Flex Code
1237 \begin_layout Plain Layout
1252 \begin_inset Flex Code
1255 \begin_layout Plain Layout
1268 \begin_inset Newline newline
1271 Son generalmente abreviaturas para comandos \SpecialChar LaTeX
1272 que aparecen muy a menudo en
1274 Aunque el preámbulo es un buen sitio para declarar dichos comandos,
1278 ser definidos en cualquier sitio (por supuesto,
1282 de que se vayan a usar por vez primera).
1283 Esto puede ser útil si hay demasiado código \SpecialChar LaTeX
1284 en el documento, lo que normalment
1285 e no debería suceder.
1288 \begin_layout Standard
1290 añade su propio conjunto de definiciones al preámbulo del archivo
1293 \begin_inset Flex Code
1296 \begin_layout Plain Layout
1307 Esto hace que los archivos \SpecialChar LaTeX
1308 generados por \SpecialChar LyX
1312 \begin_layout Subsection
1313 Cambiar el preámbulo
1316 \begin_layout Standard
1317 Los comandos que \SpecialChar LyX
1318 añade al preámbulo de un archivo \SpecialChar LaTeX
1319 son fijos; no puedes
1320 cambiarlos sin parchear el propio \SpecialChar LyX
1322 Sin embargo, puedes añadir tus cosas al preámbulo seleccionando
1325 \begin_inset Flex Noun
1328 \begin_layout Plain Layout
1332 \begin_inset space ~
1344 \begin_inset Flex Noun
1347 \begin_layout Plain Layout
1352 o\SpecialChar menuseparator
1362 añade todo lo del diálogo a su propio preámbulo incorporado.
1363 Antes de añadir tus declaraciones en el preámbulo, deberías verificar que
1365 no dispone ya de soporte para lo que quieres hacer.
1366 (¿Recuerdas lo que dijimos respecto a reinventar la rueda?) Además,
1368 asegúrate de que el código del preámbulo es correcto
1376 no comprueba esto por ti.
1377 Si hay un error, probablemente obtendrás un mensaje como
1378 \begin_inset Quotes cld
1382 \begin_inset Flex Code
1385 \begin_layout Plain Layout
1394 \begin_inset Quotes crd
1398 Si ves este error comprueba tu preámbulo.
1401 \begin_layout Subsection
1405 \begin_layout Standard
1406 Aquí tenemos algunos ejemplos de lo que puedes añadir a un preámbulo y del
1410 \begin_layout Subsubsection
1411 Ejemplo 1: Ajustes del área de impresión
1414 \begin_layout Standard
1415 Hay dos variables en \SpecialChar LaTeX
1419 \begin_inset Flex Code
1422 \begin_layout Plain Layout
1437 \begin_inset Flex Code
1440 \begin_layout Plain Layout
1452 , que controlan la composición de la página, es decir, el desplazamiento
1453 horizontal y vertical del área de impresión.
1454 Estas variables son útiles para casos como, por ejemplo, la impresión de
1456 A veces, el tamaño de un soporte de impresión y el área realmente imprimible
1458 Entonces intervienen
1461 \begin_inset Flex Code
1464 \begin_layout Plain Layout
1479 \begin_inset Flex Code
1482 \begin_layout Plain Layout
1498 \begin_layout Standard
1503 valor predeterminado para
1506 \begin_inset Flex Code
1509 \begin_layout Plain Layout
1524 \begin_inset Flex Code
1527 \begin_layout Plain Layout
1540 \begin_inset space \thinspace{}
1543 pt., no cambia la composición de la página.
1544 Desafortunadamente, algunos controladores DVI siempre parecen alterar la
1546 No tenemos ni idea de la causa de esto ni de por qué el administrador del
1547 sistema no lo arregla.
1548 Si estás usando \SpecialChar LyX
1549 en un sistema que no administras personalmente y el responsabl
1553 \begin_inset Flex Code
1556 \begin_layout Plain Layout
1573 \begin_inset Flex Code
1576 \begin_layout Plain Layout
1588 pueden salvar el día.
1589 Supongamos que los márgenes superior e izquierdo siempre son 0.5
1590 \begin_inset space \thinspace{}
1593 in (pulgadas) demasiado grandes.
1594 Puedes añadir lo siguiente al preámbulo:
1597 \begin_layout LyX-Code
1605 \begin_layout LyX-Code
1613 \begin_layout Standard
1614 ahora los márgenes deberían ser correctos.
1617 \begin_layout Subsubsection
1618 Ejemplo 2: Etiquetas
1621 \begin_layout Standard
1622 Supongamos que quieres imprimir un puñado de etiquetas para direcciones.
1623 Hay un paquete estupendo disponible en CTAN, llamado
1626 \begin_inset Flex Code
1629 \begin_layout Plain Layout
1639 para imprimir hojas con etiquetas.
1640 Es posible que tu sistema no disponga de este paquete, compruébalo.
1641 Necesitarás también leer su documentación, porque nosotros no te lo vamos
1642 a explicar, pero sí te daremos un ejemplo de su empleo.
1645 \begin_layout Standard
1646 Primero, comprueba que estás utilizando la clase de documento
1649 \begin_inset Flex Code
1652 \begin_layout Plain Layout
1663 Después, debes poner en el preámbulo lo siguiente:
1666 \begin_layout LyX-Code
1672 \begin_layout LyX-Code
1678 \begin_layout LyX-Code
1684 \begin_layout LyX-Code
1690 \begin_layout LyX-Code
1696 \begin_layout LyX-Code
1702 \begin_layout LyX-Code
1708 \begin_layout Standard
1709 Esta es la configuración para hojas de etiquetas Avery, stock #5360.
1710 Ahora estás preparado para imprimirlas, pero necesitarás insertar código
1712 , poniendo los comandos
1715 \begin_inset Flex Code
1718 \begin_layout Plain Layout
1733 \begin_inset Flex Code
1736 \begin_layout Plain Layout
1748 antes y después, respectivamente, del texto de cada etiqueta.
1749 Esto y otras características de
1753 se explican en su documentación.
1757 \begin_layout Standard
1758 Algún día, alguien escribirá un archivo de formato (
1761 \begin_inset Flex Code
1764 \begin_layout Plain Layout
1774 ) para soportar directamente este paquete en \SpecialChar LyX
1776 Puede que ese alguien seas tú.
1779 \begin_layout Subsubsection
1780 Ejemplo 3: Sangrado de párrafos
1783 \begin_layout Standard
1784 Los americanos están acostumbrados a sangrar la primera línea de
1792 \begin_layout Plain Layout
1793 Por omisión, el estilo
1797 también sangra la primera línea de todos los párrafos.
1798 Se puede cambiar con el comando
1804 spanishoptions{es-noindentfirst}
1815 funcionan si se usa soporte
1834 Igual que con otras de sus peculiares manías, casi todos ellos se lamentarán
1835 y gimotearán hasta que no consigan hacerlo a su manera y puedan sangrar
1836 la primera línea de todos los párrafos.
1837 (Sí, estamos de guasa.
1838 ¿Lo estamos? ¡Oh, yes!)
1841 \begin_layout Standard
1842 Por supuesto, este ajuste no es el estándar en tipografía.
1843 En los libros, habitualmente solo se sangra la primera línea de un párrafo
1849 La idea que subyace tras el hecho de sangrar la primera línea de un párrafo
1850 es distinguir entre párrafos vecinos.
1851 Si no hay párrafo previo, porque sigue a una figura, por ejemplo, o es
1852 el primer párrafo de una sección, entonces no tiene sentido el sangrado.
1855 \begin_layout Standard
1856 Si eres un típico americano (¡otra vez de guasa!), no obstante, no te preocupes
1857 por estos esotéricos asuntos; ¡quieres tu sangrado! Pues añade esto al
1861 \begin_layout LyX-Code
1864 usepackage{indentfirst}
1867 \begin_layout Standard
1868 Si tu distribución de \SpecialChar TeX
1869 no está descerebrada, tendrás este paquete, y todos
1870 tus párrafos tendrán el sangrado que los Padres Fundadores pretenden que
1874 \begin_layout Subsubsection
1875 Ejemplo 4: Este documento
1878 \begin_layout Standard
1879 Puedes explorar el preámbulo de este documento para hacerte una idea de
1880 algunas de las cosas avanzadas que se pueden hacer.
1884 \begin_layout Section
1886 y errores de \SpecialChar LaTeX
1890 \begin_layout Standard
1891 Cuando \SpecialChar LyX
1892 llama a \SpecialChar LaTeX
1893 , le indica que ignore alegremente los errores y que siga
1895 Después de la ejecución de \SpecialChar LaTeX
1896 se genera un informe
1897 \begin_inset Quotes cld
1901 \begin_inset Quotes crd
1905 Tras analizarlo, \SpecialChar LyX
1906 muestra una ventana con la lista de errores.
1907 Pulsando sobre cualquiera de ellos el cursor se desplazará al lugar del
1908 archivo donde está el error.
1912 \begin_layout Plain Layout
1914 El análisis del archivo log es una dura tarea, y \SpecialChar LyX
1915 no siempre acierta con
1917 Además hay casos en que \SpecialChar LaTeX
1918 informa del error en una línea, pero el error
1919 preciso es anterior.
1920 Esto no es como olvidar una llave de cierre en un programa; obtendrás error
1929 \begin_layout Standard
1930 A algunos les gusta mirar directamente en el archivo
1934 , que es accesible con el menú
1937 \begin_inset Flex Noun
1940 \begin_layout Plain Layout
1947 \SpecialChar menuseparator
1949 \begin_inset space ~
1953 \begin_inset space ~
1964 Hay algunos mensajes de error y alertas que son frecuentes.
1965 Los trataremos a continuación.
1966 Encontrarás una lista completa en un buen libro de \SpecialChar LaTeX
1971 \begin_layout Itemize
1974 \begin_inset Flex Code
1977 \begin_layout Plain Layout
1988 \begin_inset Newline newline
1991 Todo lo que comience con estas palabras es un mensaje de alerta con el propósito
1993 \begin_inset Quotes cld
1997 \begin_inset Quotes crd
2000 el propio código \SpecialChar LaTeX
2002 Tendrás avisos como este si añades o cambias referencias cruzadas o entradas
2003 de bibliografía, en cuyo caso \SpecialChar LaTeX
2004 intenta decirte que debes ejecutarlo de
2006 En general los puedes ignorar.
2009 \begin_layout Itemize
2012 \begin_inset Flex Code
2015 \begin_layout Plain Layout
2026 \begin_inset Newline newline
2029 Otro mensaje de aviso, esta vez sobre tipografías que \SpecialChar LaTeX
2031 El resto del mensaje dirá algo sobre reemplazo de tipografías que ha hecho
2034 Puedes ignorarlos sin problema.
2037 \begin_layout Itemize
2040 \begin_inset Flex Code
2043 \begin_layout Plain Layout
2056 \begin_inset Newline newline
2059 A \SpecialChar LaTeX
2067 It seems to generate at least one of these messages for just about any
2071 Te avisa de líneas que son demasiado largas y sobrepasan el margen derecho.
2074 This happens if \SpecialChar LaTeX
2075 does not find a reasonable way to break the lines (notoriously
2076 often with typewriter font, since this does not allow for automatic break
2080 será inapreciable en la salida (suele ser solo uno o dos puntos).
2083 Sometimes, however, the lines run rather visibly into the margin; something
2084 you will not want to have in your final print.There are several global ways
2085 to try to minimize the overfull lines.
2088 Enable micro-typographic extensions
2092 Document\SpecialChar menuseparator
2093 Settings\SpecialChar menuseparator
2096 might already improve things a lot.
2097 Furthermore, \SpecialChar LaTeX
2098 code such as the following in
2100 Document\SpecialChar menuseparator
2101 Settings\SpecialChar menuseparator
2104 usually reduces the overfull lines drastically (we use this in the preamble
2109 \begin_layout LyX-Code
2115 \begin_inset Newline newline
2121 \begin_inset Newline newline
2126 emergencystretch 1.5em
2127 \begin_inset Newline newline
2135 \begin_layout Standard
2138 In some cases, however, you eventually have to rewrite the text to get the
2139 line breaking right.
2143 \begin_layout Plain Layout
2146 For more information, see
2147 \begin_inset Flex URL
2150 \begin_layout Plain Layout
2152 http://www.tex.ac.uk/FAQ-overfull.html
2165 \begin_layout Standard
2168 In any case, you should check the respective lines, at least for the final
2169 version of your document.
2170 Your eyes will tell you if there's a problem with something that's too
2175 \begin_layout Plain Layout
2178 You can also enable the `draft' option in
2179 \begin_inset Flex Noun
2182 \begin_layout Plain Layout
2185 Document\SpecialChar menuseparator
2191 , and then \SpecialChar LaTeX
2192 will draw a black box in the margin of lines that are overfull.
2201 \begin_layout Itemize
2204 \begin_inset Flex Code
2207 \begin_layout Plain Layout
2220 \begin_inset Newline newline
2223 No tan común como su primo.
2226 This happens again if \SpecialChar LaTeX
2227 does not find a reasonable break point and consequently
2228 generates too loose lines.
2229 As with the overfull lines, you should check if this is a visible problem.
2232 \begin_layout Itemize
2235 \begin_inset Flex Code
2238 \begin_layout Plain Layout
2253 \begin_inset Flex Code
2256 \begin_layout Plain Layout
2269 \begin_inset Newline newline
2272 Avisos sobre problemas
2277 Una vez más, comprueba la salida para ver si algo ha ido mal.
2280 \begin_layout Itemize
2283 \begin_inset Flex Code
2286 \begin_layout Plain Layout
2290 \begin_inset Quotes els
2294 \begin_inset Quotes ers
2305 \begin_inset Newline newline
2309 \begin_inset Quotes cld
2313 \begin_inset Quotes crd
2316 no está instalado en el sistema.
2317 Generalmente esto aparece porque algún paquete requerido por el documento
2319 Si no has tocado el preámbulo o no has usado el comando
2322 \begin_inset Flex Code
2325 \begin_layout Plain Layout
2337 , entonces alguno de los paquetes que \SpecialChar LyX
2338 ha de cargar se ha perdido.
2342 \begin_inset Flex Noun
2345 \begin_layout Plain Layout
2348 Ayuda\SpecialChar menuseparator
2352 \begin_inset space ~
2358 \begin_inset space ~
2368 para obtener una lista de los paquetes reconocidos por \SpecialChar LyX
2370 Este archivo se actualiza cada vez que reconfiguras \SpecialChar LyX
2374 \begin_inset Flex Noun
2377 \begin_layout Plain Layout
2380 Herramientas\SpecialChar menuseparator
2388 ) y te informa de los paquetes que han sido detectados y de lo que hacen.
2389 \begin_inset Newline newline
2392 Si has utilizado el comando
2395 \begin_inset Flex Code
2398 \begin_layout Plain Layout
2410 pero el paquete en cuestión no está instalado, deberás instalarlo.
2416 \begin_layout Itemize
2419 \begin_inset Flex Code
2422 \begin_layout Plain Layout
2425 LaTeX Error: Unknown option
2433 \begin_inset Newline newline
2436 Los mensajes de error que comienzan así te informan de que has especificado
2437 una opción errónea o no definida en algún paquete.
2438 Consulta la documentación del paquete.
2441 \begin_layout Itemize
2444 \begin_inset Flex Code
2447 \begin_layout Plain Layout
2448 Undefined control sequence
2456 \begin_inset Newline newline
2459 Si has insertado código \SpecialChar LaTeX
2460 con errores de tipografía tendrás un aviso de estos.
2461 También puedes haber olvidado cargar un paquete.
2462 En todo caso, este aviso suele indicar el uso de un comando no definido
2466 \begin_layout Standard
2467 Hay otros mensajes de aviso y de error.
2468 Algunos se explican por sí mismos.
2469 Estos son generalmente mensajes de \SpecialChar LaTeX
2471 Otros son francamente crípticos.
2472 Estos realmente son mensajes de error de \SpecialChar TeX
2473 , y no tenemos pistas sobre su
2474 significado o sobre cómo descifrarlos.
2478 \begin_layout Standard
2479 Si recibes mensajes de error, deberías seguir la siguiente secuencia general:
2482 \begin_layout Enumerate
2483 Revisa el código \SpecialChar LaTeX
2484 que hayas insertado y busca errores tipográficos.
2487 \begin_layout Enumerate
2488 Si no los hay, comprueba que has usado correctamente el (los) comando(s).
2491 \begin_layout Enumerate
2492 Si observas un puñado de cuadros de error amontonados muy al principio del
2493 documento, —especialmente si ves un
2494 \begin_inset Quotes cld
2498 \begin_inset Flex Code
2501 \begin_layout Plain Layout
2510 \begin_inset Quotes crd
2513 — significa que los errores están en el preámbulo.
2514 Empieza por depurar el preámbulo.
2517 \begin_layout Enumerate
2518 Si no has añadido nada al preámbulo ni has añadido código \SpecialChar LaTeX
2519 , la primera sospecha
2520 recae en tu propia distribución de \SpecialChar LaTeX
2522 Comprueba si faltan paquetes e instálalos.
2525 \begin_layout Enumerate
2526 De acuerdo, no faltan paquetes.
2527 ¿Has utilizado alguna de las opciones de ajuste fino de \SpecialChar LyX
2529 ¿has hecho un mal uso de alguna de ellas, como insertar manualmente montones
2533 \begin_inset Flex Code
2536 \begin_layout Plain Layout
2542 \begin_inset space ~
2553 \begin_inset Flex Code
2556 \begin_layout Plain Layout
2562 \begin_inset space ~
2570 \begin_inset space ~
2585 \begin_inset Flex Code
2588 \begin_layout Plain Layout
2594 \begin_inset space ~
2602 \begin_inset space ~
2614 ? ¿Has intentado juntar cosas con ellos en vez de usar el entorno de párrafo
2618 \begin_layout Enumerate
2619 Todo es correcto, no has utilizado ninguna de las opciones de ajuste fino,
2620 y has cumplido las reglas.
2621 ¿Has intentado hacer una fantástica maniobra? ¿Quizá has hecho algo
2625 en una ecuación o en un cuadro, como insertar un gráfico en una celda?
2629 \begin_layout Enumerate
2630 ¿Tienes largas piezas de texto en las que \SpecialChar LaTeX
2631 no encuentra dónde quebrar una
2632 línea? Por omisión, \SpecialChar LaTeX
2633 es más bien estricto en relación al espacio extra
2634 entre palabras que añadirá para romper una línea.
2635 Preferiblemente, deberías rehacer el párrafo para evitar el problema.
2638 \begin_layout Enumerate
2639 ¿Te has pasado con la anidación? \SpecialChar LyX
2640 , actualmente, no comprueba si estás dentro
2641 de los límites para los entornos anidables.
2642 Si anidas un puñado de entornos hasta el nivel 17, ahí está el problema.
2643 (El límite en \SpecialChar LaTeX
2647 \begin_layout Enumerate
2648 Vale, no recibes ningún mensaje de error, pero la salida es horrorosa.
2649 Si tienes un cuadro o una figura demasiado anchos o largos para la página,
2654 \begin_layout Enumerate
2655 ajustar el tamaño de la figura a la página.
2658 \begin_layout Enumerate
2659 ajustar el cuadro para que quepa.
2663 \begin_layout Enumerate
2664 Si la salida sigue dando problemas, y no has probado nada raro ni has empleado
2665 mal opciones de ajuste fino, no estamos seguros de lo que está equivocado.
2668 \begin_layout Standard
2669 Si todo esto no ayuda, bueno,
2677 (fallo) en \SpecialChar LyX
2682 \begin_layout Chapter
2683 Herramientas suplementarias
2686 \begin_layout Section
2687 Personalizar bibliografías con Bib\SpecialChar TeX
2693 \begin_layout Standard
2694 Los fundamentos del uso de Bib\SpecialChar TeX
2702 se explican en la sección
2704 Bases de datos bibliográficos
2711 Las siguientes subsecciones describen características especiales de bibliografí
2712 a soportadas por \SpecialChar LyX
2716 \begin_layout Subsection
2717 Estilos alternativos de cita
2720 \begin_layout Standard
2721 El estilo normal de Bib\SpecialChar TeX
2723 \begin_inset space \thinspace{}
2727 \begin_inset space \space{}
2731 \begin_inset Quotes cld
2735 \begin_inset Quotes crd
2738 ) para referir una cita bibliográfica.
2739 Sin embargo, en muchas disciplinas científicas se emplean otros estilos.
2740 El más común es el estilo autor-año (p.
2741 \begin_inset space \thinspace{}
2745 \begin_inset space \space{}
2749 \begin_inset Quotes cld
2753 \begin_inset Quotes crd
2758 soportathree paquetes que suministra este estilo,
2761 \begin_inset Flex Code
2764 \begin_layout Plain Layout
2777 \begin_inset Flex Code
2780 \begin_layout Plain Layout
2793 \begin_inset Flex Code
2796 \begin_layout Plain Layout
2815 sus pros y sus contras, que no podemos detallar aquí.
2816 Si solo necesitas un estilo sencillo autor-año (o numérico)
2824 emplear un archivo de estilo sin contador, probablemente tu elección debería
2828 \begin_inset Flex Code
2831 \begin_layout Plain Layout
2844 If you look for specific citation styles common in law studies
2846 deberías considerar el nuevo paquete
2849 \begin_inset Flex Code
2852 \begin_layout Plain Layout
2865 If you want to have full control over the formatting or look for advanced
2866 features such as ibidem, footnote citations, full title citations, advanced
2867 date formats (such as 400 BC) or full localization to other languages than
2868 English, you should definitely consider
2869 \begin_inset Flex Code
2872 \begin_layout Plain Layout
2880 , which exceeds all other packages in terms of features, but is also quite
2881 heavy and more resource-hungry.
2884 \begin_layout Standard
2889 paquetes es básicamente el mismo.
2893 \begin_inset Flex Noun
2896 \begin_layout Plain Layout
2899 Documento\SpecialChar menuseparator
2911 y selecciona en el panel
2912 \begin_inset Flex Noun
2915 \begin_layout Plain Layout
2924 \begin_inset Flex Noun
2927 \begin_layout Plain Layout
2930 \begin_inset Flex Noun
2933 \begin_layout Plain Layout
2942 \begin_inset Flex Noun
2945 \begin_layout Plain Layout
2954 \begin_inset Flex Noun
2957 \begin_layout Plain Layout
2960 Biblatex (Natbib mode)
2979 \begin_inset Flex Noun
2982 \begin_layout Plain Layout
2997 \begin_inset space ~
3000 6.5.3 in the User's Guide for more information on these choices)
3007 paquetes dispondrás de algunas características extras en el diálogo y podrás
3008 elegir el estilo de las citas (
3009 \begin_inset Quotes cld
3013 \begin_inset Quotes crd
3017 \begin_inset Quotes cld
3021 \begin_inset Quotes crd
3025 \begin_inset Quotes cld
3029 \begin_inset Quotes crd
3033 \begin_inset Quotes cld
3037 \begin_inset Quotes crd
3041 Ten en cuenta que los
3045 paquete necesitan archivos de estilo específicamente diseñados (all incluyen
3046 el suyo propio, pero hay muchos otros archivos de estilo disponibles e
3047 incluso un programa interactivo
3051 \begin_layout Plain Layout
3053 \begin_inset Flex URL
3056 \begin_layout Plain Layout
3058 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/custom-bib/
3068 para confeccionar estilos para
3075 \begin_layout Subsection
3083 \begin_layout Standard
3084 En ocasiones, es posible que necesites dividir la bibliografía en secciones.
3085 Por ejemplo, si eres un historiador, la posibilidad de separar fuentes
3086 y trabajos científicos es probablemente un imperativo.
3087 Desafortunadamente, Bib\SpecialChar TeX
3088 no permite hacer esto por sí solo.
3089 Pero la buena noticia es que, con la ayuda de ciertos paquetes \SpecialChar LaTeX
3090 , Bib\SpecialChar TeX
3092 ampliar su cometido para conseguirlo.
3095 \begin_layout Standard
3097 provee soporte nativo para uno de estos paquetes,
3100 \begin_inset Flex Code
3103 \begin_layout Plain Layout
3117 \begin_layout Plain Layout
3119 \begin_inset Flex URL
3122 \begin_layout Plain Layout
3124 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/bibtopic/
3134 La ventaja de este paquete (comparado con otros como
3137 \begin_inset Flex Code
3140 \begin_layout Plain Layout
3150 ) es que no necesitas definir nuevos comandos de cita.
3151 Lo que tienes que hacer es preparar diferentes bases de datos bibliográficos
3152 que incluyen las entradas para las distintas secciones de la bibliografía.
3153 Por ejemplo: si quieres dividir tu bibliografía en las secciones
3154 \begin_inset Quotes cld
3158 \begin_inset Quotes crd
3162 \begin_inset Quotes cld
3165 Trabajos científicos
3166 \begin_inset Quotes crd
3169 , primero debes crear dos bases de datos, p.
3170 \begin_inset space \thinspace{}
3174 \begin_inset space ~
3180 \begin_inset Flex Code
3183 \begin_layout Plain Layout
3196 \begin_inset Flex Code
3199 \begin_layout Plain Layout
3212 \begin_layout Standard
3216 \begin_inset Flex Noun
3219 \begin_layout Plain Layout
3222 Documento\SpecialChar menuseparator
3230 y selecciona en el panel
3233 \begin_inset Flex Noun
3236 \begin_layout Plain Layout
3249 \begin_inset Flex Noun
3252 \begin_layout Plain Layout
3255 Subdivided bibliography
3263 Ahora puedes insertar múltiples referencias Bib\SpecialChar TeX
3264 , una para cada sección
3266 Volviendo a nuestro ejemplo: Inserta una bibliografía Bib\SpecialChar TeX
3271 \begin_inset Flex Code
3274 \begin_layout Plain Layout
3284 y otra para la base de datos
3287 \begin_inset Flex Code
3290 \begin_layout Plain Layout
3301 Eres libre de usar estilos diferentes o iguales para cada sección.
3302 Por otra parte, puedes elegir si la sección bibliográfica debe contener
3304 \begin_inset Quotes cld
3307 todas las referencias citadas
3308 \begin_inset Quotes crd
3311 de la base de datos especificada (así es por omisión),
3312 \begin_inset Quotes cld
3315 todas las referencias no citadas
3316 \begin_inset Quotes crd
3320 \begin_inset Quotes cld
3323 todas las referencias
3324 \begin_inset Quotes crd
3328 Esto podría ser útil para separar la bibliografía en tres secciones:
3329 \begin_inset Quotes cld
3333 \begin_inset Quotes crd
3337 \begin_inset Quotes cld
3341 \begin_inset Quotes crd
3345 \begin_inset Quotes cld
3348 Trabajos científicos
3349 \begin_inset Quotes crd
3353 Los títulos para las secciones pueden añadirse como secciones ordinarias
3354 o como subsecciones.
3358 \begin_inset Flex Code
3361 \begin_layout Plain Layout
3371 quita el título de la bibliografía, debes reañadirlo manualmente (como
3372 un capítulo* o sección*, por ejemplo).
3375 \begin_layout Standard
3382 , the procedure is a bit different.
3391 , the aforementioned
3392 \begin_inset Flex Noun
3395 \begin_layout Plain Layout
3398 Subdivided bibliography
3403 option is disabled if you use
3412 provides its own means to generate subdivided bibliographies.
3413 You can either add keywords to bibliography entries via the
3414 \begin_inset Flex Code
3417 \begin_layout Plain Layout
3425 entry option and then filter bibliography sections by keyword (by adding
3427 \begin_inset Flex Code
3430 \begin_layout Plain Layout
3439 \begin_inset Flex Noun
3442 \begin_layout Plain Layout
3450 field of the dialog that opens if you right-click on the
3451 \begin_inset Flex Noun
3454 \begin_layout Plain Layout
3457 Biblatex Generated Bibliography
3462 button), or you can filter by entry types (such as
3471 \begin_inset space \thinspace{}
3476 \begin_inset Flex Code
3479 \begin_layout Plain Layout
3488 \begin_inset Flex Code
3491 \begin_layout Plain Layout
3500 \begin_inset Flex Noun
3503 \begin_layout Plain Layout
3511 field, or you can create so-called
3512 \begin_inset Quotes eld
3515 Bibliography Categories
3516 \begin_inset Quotes erd
3519 to which you can assign individual entries.
3520 Please refer to the Biblatex manual, section
3522 Subdivided Bibliographies
3527 \begin_layout Subsection
3528 Bibliografías múltiples
3529 \begin_inset CommandInset label
3531 name "subsec:Bibliografías-múltiples"
3538 \begin_layout Standard
3540 no soporta por sí mismo bibliografías múltiples, p.
3541 \begin_inset space \thinspace{}
3545 \begin_inset space \space{}
3548 una bibliografía para cada
3554 subsection or child (sub-document)
3558 are also supported by \SpecialChar LyX
3560 In order to enable it, go to
3561 \begin_inset Flex Noun
3564 \begin_layout Plain Layout
3567 Document\SpecialChar menuseparator
3568 Settings\SpecialChar menuseparator
3574 and select the relevant unit (e.
3575 \begin_inset space \thinspace{}
3579 \begin_inset Quotes eld
3583 \begin_inset Quotes erd
3587 \begin_inset Flex Noun
3590 \begin_layout Plain Layout
3593 Multiple Bibliographies
3599 Then add a Bib(la)\SpecialChar TeX
3600 bibliography to each unit (e.
3601 \begin_inset space \thinspace{}
3604 g., section) of your document.
3605 In the output, a separate bibliography, containing only the references
3606 done in the current unit is generated.
3609 \begin_layout Standard
3612 If you use Bib\SpecialChar TeX
3614 \begin_inset Flex Code
3617 \begin_layout Plain Layout
3626 \begin_inset Flex Code
3629 \begin_layout Plain Layout
3637 package is used to create multiple bibliographies.
3638 The former package is used if you select
3639 \begin_inset Quotes eld
3643 \begin_inset Quotes erd
3651 \begin_inset Flex Noun
3654 \begin_layout Plain Layout
3657 Sectioned Bibliography
3664 \begin_inset Flex Code
3667 \begin_layout Plain Layout
3679 \begin_layout Plain Layout
3682 An alternative approach, if you are willing to use some
3683 \begin_inset Flex Noun
3686 \begin_layout Plain Layout
3696 \begin_inset space ~
3702 \begin_inset CommandInset ref
3704 reference "sec:Insertar-Código-TeX"
3711 \begin_inset Flex Code
3714 \begin_layout Plain Layout
3728 \begin_inset Flex Code
3731 \begin_layout Plain Layout
3739 is used, \SpecialChar LyX
3740 encloses the specified units in
3741 \begin_inset Flex Code
3744 \begin_layout Plain Layout
3753 \begin_inset Flex Code
3756 \begin_layout Plain Layout
3767 \begin_inset Flex Code
3770 \begin_layout Plain Layout
3780 in order to create the units.
3781 Note that this approach has some limitations.
3782 First, every citation reference has to be inside some
3783 \begin_inset Flex Code
3786 \begin_layout Plain Layout
3795 So citations outside a defined unit (e.
3796 \begin_inset space \thinspace{}
3799 g., before the first section if you use
3800 \begin_inset Quotes eld
3804 \begin_inset Quotes erd
3808 \begin_inset Quotes eld
3812 \begin_inset Quotes erd
3816 You can also create your own units by entering
3817 \begin_inset Flex Code
3820 \begin_layout Plain Layout
3831 \begin_inset Flex Code
3834 \begin_layout Plain Layout
3845 code (for instance to work around the mentioned limitation).
3847 \begin_inset Flex Code
3850 \begin_layout Plain Layout
3859 A second limitation is that
3860 \begin_inset Flex Code
3863 \begin_layout Plain Layout
3871 always processes all references of a bibliography database, even if they
3873 This can result in odd labels (e.
3874 \begin_inset space \thinspace{}
3879 \begin_inset Quotes eld
3883 \begin_inset Quotes erd
3886 if two works of this author from 2014 are in the database, even if only
3890 \begin_layout Standard
3898 \begin_inset Flex Code
3901 \begin_layout Plain Layout
3909 option is used instead.
3910 If you need specific units, you can start them with the \SpecialChar TeX
3912 \begin_inset Flex Code
3915 \begin_layout Plain Layout
3926 \begin_inset Flex Code
3929 \begin_layout Plain Layout
3940 If you also want to control the end of the unit, use the environment
3941 \begin_inset Flex Code
3944 \begin_layout Plain Layout
3956 \begin_inset Flex Code
3959 \begin_layout Plain Layout
3971 \begin_inset Flex Code
3974 \begin_layout Plain Layout
3983 In addition to the individual bibliography of the current unit,
3987 also provides an easy way to output all bibliographies, subsequently, at
3989 \begin_inset space \thinspace{}
3992 g., at the end of the document).
3994 \begin_inset Quotes eld
3998 \begin_inset Quotes erd
4001 from the Content combo box of the Bib(la)TeX inset dialog in order to achieve
4007 manual for more information on this topic.
4010 \begin_layout Section
4011 Documentos con varias partes
4014 \begin_layout Subsection
4018 \begin_layout Standard
4019 Cuando trabajas en un extenso documento con muchas secciones, o si tienes
4020 una parte en la que un cuadro puede cambiar de vez en cuando pero no el
4021 texto precedente, suele ser conveniente dividir el documento en varios
4023 En estos casos, deberías considerar seriamente el uso de documentos hijo.
4024 Por ejemplo, los artículos científicos suelen tener cinco secciones principales
4025 : introducción, observaciones, resultados, discusión y conclusiones.
4026 Cada una de ellas debería estar en su propio archivo \SpecialChar LyX
4028 Por otra parte un archivo
4029 \begin_inset Quotes cld
4033 \begin_inset Quotes crd
4036 contendría el título, los autores, el resumen, las referencias, etc., e
4037 incluiría los cinco archivos.
4038 Es importante tener en cuenta que cada uno de estos es un completo archivo
4040 que puede ser diseñado e impreso de forma independiente, además de estar
4041 incluido en el maestro.
4042 Sin embargo, todos deben ser de la misma clase de documento —no intentes
4044 \begin_inset space \thinspace{}
4047 ej., libro y artículo—.
4048 También puedes incluir archivos \SpecialChar LaTeX
4049 ; pero no deben tener su propio preámbulo
4050 (es decir, debe eliminarse todo lo que precede a
4053 \begin_inset Flex Code
4056 \begin_layout Plain Layout
4068 , así como esta misma línea y también
4071 \begin_inset Flex Code
4074 \begin_layout Plain Layout
4086 ), de lo contrario se generarán errores al procesar el archivo.
4089 \begin_layout Standard
4091 facilita la inclusión de archivos con la opción de menú
4094 \begin_inset Flex Noun
4097 \begin_layout Plain Layout
4100 Insertar\SpecialChar menuseparator
4101 Archivo\SpecialChar menuseparator
4103 \begin_inset space ~
4114 Surge entonces una ventana que permite seleccionar el archivo a incluir
4115 y el método de inclusión, y en la posición actual del cursor se inserta
4116 un cuadro gris con el nombre del archivo, que se puede desplegar con un
4117 clic para hacer modificaciones.
4123 \begin_layout Standard
4124 Los métodos de inclusión de un archivo son
4125 \begin_inset Quotes cld
4129 \begin_inset Quotes crd
4133 \begin_inset Quotes cld
4137 \begin_inset Quotes crd
4141 \begin_inset Quotes cld
4145 \begin_inset Quotes crd
4150 \begin_inset Quotes cld
4154 \begin_inset Quotes crd
4158 \begin_inset Quotes cld
4162 \begin_inset Quotes crd
4167 are similar in many ways, but there are also some notable differences:
4172 \begin_layout Enumerate
4174 \begin_inset Quotes cld
4178 \begin_inset Quotes crd
4181 se imprimen en una página independiente, mientras que los archivos
4182 \begin_inset Quotes cld
4186 \begin_inset Quotes crd
4189 se imprimen en la página en la que estén insertados.
4192 \begin_layout Enumerate
4195 \begin_inset Quotes eld
4199 \begin_inset Quotes erd
4202 files cannot themselves
4203 \begin_inset Quotes eld
4207 \begin_inset Quotes erd
4211 \begin_inset Quotes eld
4215 \begin_inset Quotes erd
4220 \begin_inset Quotes eld
4224 \begin_inset Quotes erd
4227 , on the other hand, infinite sub-inputting is possible.
4230 \begin_layout Enumerate
4233 \begin_inset Quotes eld
4237 \begin_inset Quotes erd
4240 allow for the output of only selected
4241 \begin_inset Quotes eld
4245 \begin_inset Quotes erd
4248 files, while maintaining the actual counters (pagination etc.) and references
4249 (please refer to the section
4252 \begin_inset space ~
4260 \begin_inset space ~
4265 manual for details).
4268 \begin_layout Standard
4272 \begin_inset Quotes eld
4276 \begin_inset Quotes erd
4279 is the preferred method for chapters that are outsourced to child documents,
4281 \begin_inset Quotes eld
4285 \begin_inset Quotes erd
4288 is more suitable for arbitrary file inheritance.
4291 \begin_layout Standard
4292 La inserción de un archivo
4293 \begin_inset Quotes cld
4297 \begin_inset Quotes crd
4300 permite incluirlo tal cual es, de forma literal, con los caracteres en
4306 Normalmente los espacios en este tipo de inclusión son invisibles, aunque
4307 se conservan dos espacios consecutivos, a diferencia del normal tratamiento
4308 de los espacios en \SpecialChar LyX
4310 Sin embargo, si se marca en
4313 \begin_inset Flex Noun
4316 \begin_layout Plain Layout
4324 \begin_inset space ~
4328 \begin_inset space ~
4332 \begin_inset space ~
4336 \begin_inset space ~
4346 , se imprime una marca que señala sin ambigüedad la presencia de espacios.
4349 \begin_layout Standard
4352 Generally, the master file is converted into a full \SpecialChar LaTeX
4353 file before typesetting,
4354 while the included files are converted to \SpecialChar LaTeX
4355 files that do not have all the
4356 preamble information.
4359 \begin_layout Subsection
4360 Referencias cruzadas entre archivos
4363 \begin_layout Standard
4364 \begin_inset Box Shadowbox
4374 height_special "totalheight"
4379 backgroundcolor "none"
4382 \begin_layout Plain Layout
4383 Esta sección está algo anticuada.
4384 Es preciso describir los documentos maestros predeterminados y cómo son
4385 abiertos los hijos cuando está el maestro.
4394 \begin_layout Standard
4395 Se pueden configurar referencias cruzadas entre los distintos archivos.
4396 Primero, abre todos los archivos en cuestión: digamos A y B por ejemplo,
4397 donde B está incluido en A.
4398 Supongamos que insertas una etiqueta en A y quieres mencionarla en B.
4399 Abre el diálogo de referencias cruzadas en B y selecciona el
4400 \begin_inset Quotes cld
4404 \begin_inset Quotes crd
4410 \begin_layout Subsection
4411 Listas de bibliografía en todos los subdocumentos
4414 \begin_layout Standard
4415 \begin_inset Box Frameless
4425 height_special "totalheight"
4430 backgroundcolor "none"
4433 \begin_layout Plain Layout
4434 Esta sección también requiere actualización.
4435 Ahora hay material sobre esto en la wiki que se podría copiar aquí.
4443 \begin_layout Standard
4446 If you work with child documents, you might want to have only one main bibliogra
4447 phy at the end, but still be able to have a selected bibliography for the
4448 child if you output it on its own.
4449 Here is how to achieve this.
4452 \begin_layout Standard
4455 For the main document, you just insert a bibliography inset at the place
4456 where the main bibliography has to appear (within the master file or within
4458 If the bibliography inset is in the master file, the references will be
4459 inherited by all children, so they are available in the citation dialog
4463 \begin_layout Standard
4466 For child-specific bibliographies, insert bibliography insets within the
4467 child documents, at the place where the bibliography should appear when
4468 the child is compiled separately.
4469 However, the trick is to insert them into a branch (
4471 Insert\SpecialChar menuseparator
4472 Branch\SpecialChar menuseparator
4473 Insert New Branch...
4476 \begin_inset space \thinspace{}
4481 \begin_inset Quotes eld
4485 \begin_inset Quotes erd
4489 Within the children, activate the branch (
4491 Document\SpecialChar menuseparator
4492 Settings...\SpecialChar menuseparator
4496 Within the master, deactivate the branch (
4498 Document\SpecialChar menuseparator
4499 Settings...\SpecialChar menuseparator
4503 Now the child's bibliography will be ignored by the master, but considered
4507 \begin_layout Standard
4510 If you need multiple bibliographies (e.
4511 \begin_inset space \thinspace{}
4514 g., one per child in the
4518 ), please refer to sec
4521 \begin_inset space ~
4525 \begin_inset CommandInset ref
4527 reference "subsec:Bibliografías-múltiples"
4534 \begin_layout Section
4535 Archivos \SpecialChar LyX
4539 \begin_layout Standard
4540 A veces, los usuarios necesitan
4541 \begin_inset Quotes cld
4545 \begin_inset Quotes crd
4548 un archivo \SpecialChar LyX
4549 junto con las imágenes (y otros archivos) de los que depende,
4550 bien para enviarlo a un editor o para compartirlo con un co-autor.
4552 incluye un guión en Python (
4553 \begin_inset Flex Code
4556 \begin_layout Plain Layout
4562 ) que automatiza el proceso.
4563 Para usarlo, deben estar instalados los módulos Python
4564 \begin_inset Flex Code
4567 \begin_layout Plain Layout
4574 \begin_inset Flex Code
4577 \begin_layout Plain Layout
4584 Por omisión, el guión prefiere el formato
4585 \begin_inset Flex Code
4588 \begin_layout Plain Layout
4595 \begin_inset Flex Code
4598 \begin_layout Plain Layout
4604 en sistemas tipo Unix y el formato
4605 \begin_inset Flex Code
4608 \begin_layout Plain Layout
4617 \begin_layout Standard
4618 El proceso de configuración de \SpecialChar LyX
4619 preparará el guión para exportar a
4620 \begin_inset Quotes cld
4623 Archivo \SpecialChar LyX
4625 \begin_inset Quotes crd
4628 , que estará disponible en el menú
4629 \begin_inset Flex Code
4632 \begin_layout Plain Layout
4633 Archivo\SpecialChar menuseparator
4642 \begin_layout Standard
4643 Independientemente de la plataforma, la generación de un formato determinado
4644 de archivo puede controlarse añadiendo el conmutador
4645 \begin_inset Flex Code
4648 \begin_layout Plain Layout
4655 \begin_inset Flex Code
4658 \begin_layout Plain Layout
4665 \begin_inset Flex Code
4668 \begin_layout Plain Layout
4675 \begin_inset Flex Code
4678 \begin_layout Plain Layout
4685 \begin_inset Flex Code
4688 \begin_layout Plain Layout
4690 \SpecialChar menuseparator
4698 \begin_inset Flex Code
4701 \begin_layout Plain Layout
4702 Herramientas\SpecialChar menuseparator
4703 Preferencias\SpecialChar menuseparator
4704 Gestión de archivos\SpecialChar menuseparator
4711 (Asegúrate de añadir el conmutador tras el nombre del guión, no delante.)
4714 \begin_layout Section
4715 Encabezados y pies de página elaborados
4718 \begin_layout Standard
4719 El formato de página predeterminado es más bien simple; para la clase
4722 \begin_inset Flex Code
4725 \begin_layout Plain Layout
4735 , todo lo que obtienes es un número centrado al final de la página.
4736 El presente documento es de la clase
4739 \begin_inset Flex Code
4742 \begin_layout Plain Layout
4754 , así que resulta un poco más elaborado.
4755 Pero para montar un show de verdad, has de elegir
4756 \begin_inset Quotes cld
4760 \begin_inset Quotes crd
4767 para el estilo de página del documento, como se comenta en la
4772 En esta sección se describe el código \SpecialChar LaTeX
4773 que debes introducir en el preámbulo
4775 para conseguir los resultados deseados.
4778 \begin_layout Standard
4779 El encabezado de página se divide en tres zonas,
4780 \begin_inset Quotes cld
4784 \begin_inset Quotes crd
4788 \begin_inset Quotes cld
4792 \begin_inset Quotes crd
4796 \begin_inset Quotes cld
4800 \begin_inset Quotes crd
4804 Y el pie de página, pues igual.
4805 Los comandos \SpecialChar LaTeX
4806 para configurar estas zonas en su forma más simple son
4809 \begin_inset Flex Code
4812 \begin_layout Plain Layout
4827 \begin_inset Flex Code
4830 \begin_layout Plain Layout
4845 \begin_inset Flex Code
4848 \begin_layout Plain Layout
4863 \begin_inset Flex Code
4866 \begin_layout Plain Layout
4879 Supongamos que quieres poner un nombre en la parte superior izquierda de
4881 Pues inserta el siguiente comando en el preámbulo:
4884 \begin_layout Standard
4893 \begin_layout Standard
4894 Con este comando el nombre saldrá en la parte superior izquierda.
4895 Si una zona tiene asignada una entrada por omisión y quieres eliminarla
4897 \begin_inset space \thinspace{}
4901 \begin_inset space ~
4904 el número de página en el pie central), pon un comando con el argumento
4906 \begin_inset space \thinspace{}
4912 \begin_layout Standard
4920 \begin_layout Standard
4921 Vamos ahora con algunos adornos: vamos a poner el número de sección con
4923 \begin_inset Quotes cld
4927 \begin_inset Quotes crd
4931 \begin_inset space \thinspace{}
4935 \begin_inset space ~
4939 \begin_inset space ~
4942 3) en la superior izquierda, el número de página (p.
4943 \begin_inset space \thinspace{}
4947 \begin_inset space ~
4951 \begin_inset space ~
4954 4) en la superior derecha, el nombre en la inferior izquierda y la fecha
4955 en la inferior derecha.
4956 Para ello deberíamos escribir las siguientes líneas en el preámbulo:
4959 \begin_layout Standard
4969 \begin_layout Standard
4977 \begin_layout Standard
4987 \begin_layout Standard
4996 \begin_layout Standard
5004 \begin_layout Standard
5014 \begin_layout Standard
5018 \begin_inset Flex Code
5021 \begin_layout Plain Layout
5036 \begin_inset Flex Code
5039 \begin_layout Plain Layout
5051 aluden a los contadores de sección y de página de \SpecialChar LaTeX
5052 , que se encargan de
5053 imprimir los números de la sección y la página actuales.
5057 \begin_inset Flex Code
5060 \begin_layout Plain Layout
5072 imprime la fecha de hoy.
5075 \begin_layout Standard
5076 El grosor de las líneas horizontales dibujadas bajo el encabezado y sobre
5077 el pie se puede modificar.
5078 Si quieres que no aparezca alguna de esas líneas ponle grosor 0.
5079 Por omisión, la línea de encabezado tiene 0.4
5080 \begin_inset space \thinspace{}
5083 pt de grosor y la de pie 0
5084 \begin_inset space \thinspace{}
5088 Para cambiar estos valores se pueden usar los comandos
5094 headrulewidth}{0.4pt}
5102 footrulewidth}{0.4pt}
5105 \begin_layout Standard
5106 La configuración del encabezado y/o el pie para páginas individuales se
5107 puede alterar con comandos como
5110 \begin_inset Flex Code
5113 \begin_layout Plain Layout
5118 thispagestyle{empty}
5124 \begin_inset Flex Code
5127 \begin_layout Plain Layout
5132 thispagestyle{plain}
5140 \begin_inset Newline linebreak
5146 \begin_inset Flex Code
5149 \begin_layout Plain Layout
5154 thispagestyle{fancy}
5162 Simplemente se inserta en
5163 \begin_inset Flex Code
5166 \begin_layout Plain Layout
5167 código \SpecialChar TeX
5173 en la página que se quiere cambiar.
5174 De hecho las páginas de título tienen estilo simple por omisión, mientras
5175 que las páginas siguientes se marcan en estilo elaborado si este es el
5176 formato establecido globalmente.
5180 \begin_layout Standard
5181 Por último, veamos cómo incluir una imagen en el encabezado o en el pie;
5182 por ejemplo, un logotipo en la esquina superior izquierda.
5183 Prueba algo como esto:
5186 \begin_layout Standard
5195 includegraphics{logo.eps}}}
5198 \begin_layout Standard
5199 (quizá sea necesario anteponer
5202 \begin_inset Flex Code
5205 \begin_layout Plain Layout
5210 usepackage{graphics}
5217 si tu documento no incluye otros gráficos).
5221 \begin_layout Section
5222 Selección de marcas de listas
5223 \begin_inset CommandInset label
5232 \begin_layout Standard
5238 \begin_layout Subsection
5242 \begin_layout Standard
5244 suministra 216 símbolos de marcas a los que se accede mediante un simple
5245 diálogo que permite elegir un símbolo para cada nivel de una lista no numerada.
5246 Esta elección es aplicable a la totalidad del documento, no es posible
5247 escoger distintos conjuntos de marcas para distintos párrafos.
5251 \begin_layout Plain Layout
5252 Bien, en realidad sí se puede hacer, pero a mano.
5260 \begin_layout Subsection
5264 \begin_layout Standard
5265 Abre el diálogo siguiendo el camino de menú
5271 \SpecialChar menuseparator
5272 Configuración\SpecialChar menuseparator
5278 \begin_layout Standard
5279 El diálogo suministra un cuadro de símbolos para las marcas.
5284 hay una lista desplegable con seis paneles de símbolos.
5289 permite elegir el nivel para el que elegimos la marca.
5290 Un campo de texto bajo el cuadro permite escoger un símbolo personalizado
5291 poniendo su código \SpecialChar LaTeX
5295 \begin_layout Standard
5300 corresponden a los distintos paquetes requeridos.
5301 El cuadro siguiente recoge los nombres y sus paquetes asociados:
5304 \begin_layout Standard
5306 \begin_inset Tabular
5307 <lyxtabular version="3" rows="7" columns="2">
5308 <features tabularvalignment="middle">
5309 <column alignment="center" valignment="top" width="0pt">
5310 <column alignment="center" valignment="top" width="0pt">
5312 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5315 \begin_layout Plain Layout
5330 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5333 \begin_layout Plain Layout
5350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5353 \begin_layout Plain Layout
5368 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5371 \begin_layout Plain Layout
5380 base \SpecialChar LaTeX
5388 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5391 \begin_layout Plain Layout
5406 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5409 \begin_layout Plain Layout
5426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5429 \begin_layout Plain Layout
5444 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5447 \begin_layout Plain Layout
5464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5467 \begin_layout Plain Layout
5482 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5485 \begin_layout Plain Layout
5502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5505 \begin_layout Plain Layout
5520 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5523 \begin_layout Plain Layout
5540 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5543 \begin_layout Plain Layout
5558 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5561 \begin_layout Plain Layout
5584 \begin_layout Standard
5586 no se detiene si usas marcas de paquetes no disponibles.
5587 Pero si se producen errores de \SpecialChar LaTeX
5588 al intentar ver o imprimir el archivo,
5589 probablemente se debe a la falta de algún paquete.
5593 \begin_layout Plain Layout
5595 no restringe su uso porque puede que estés editando localmente el archivo
5596 para procesarlo luego en otra máquina.
5604 \begin_layout Subsection
5608 \begin_layout Standard
5609 Selecciona la profundidad de nivel y luego elige la marca y su tamaño.
5610 Los cambios no serán visibles en \SpecialChar LyX
5611 pero sí lo serán en la salida procesada.
5614 \begin_layout Standard
5615 Se puede reiniciar una marca a su valor predeterminado con clic-derecha
5616 sobre el botón apropiado de nivel de profundidad.
5620 \begin_layout Plain Layout
5621 Si quieres tener varios conjuntos de párrafos con diferentes conjuntos de
5622 marcas en cada uno, tendrás que enfangarte con código \SpecialChar TeX
5624 El diálogo de selección de marcas puede, no obstante, ayudarte porque te
5625 suministra el código \SpecialChar LaTeX
5626 para un amplio rango de símbolos de marcas.
5627 Para hacer tus propios párrafos personalizados tienes las siguientes opciones:
5630 \begin_layout Plain Layout
5634 \begin_layout Plain Layout
5650 \begin_layout Plain Layout
5654 \begin_layout Plain Layout
5676 \begin_layout Itemize
5677 Usa el comando \SpecialChar LaTeX
5679 \begin_inset Flex Code
5682 \begin_layout Plain Layout
5690 para especificar un símbolo de marca para una profundidad determinada.
5691 Además tendrás que guardar la marca actual para que puedas recuperarla
5693 En esta lista no numerada se ha usado el siguiente código \SpecialChar LaTeX
5695 la marca del primer nivel:
5699 \begin_layout LyX-Code
5709 \begin_layout LyX-Code
5726 \begin_layout Itemize
5727 Observa que el nivel de profundidad se especifica en números romanos como
5731 \begin_inset Flex Code
5734 \begin_layout Plain Layout
5747 \begin_layout Itemize
5748 \begin_inset Argument item:1
5751 \begin_layout Plain Layout
5755 \begin_layout Plain Layout
5773 Especifica cada entrada individual empezando cada ítem con el símbolo escogido
5775 \begin_inset Quotes eld
5779 \begin_inset Quotes erd
5784 Insert\SpecialChar menuseparator
5788 \begin_inset Flex Code
5791 \begin_layout Plain Layout
5792 código \SpecialChar TeX
5799 Por ejemplo, este ítem se inicia con
5800 \begin_inset Flex Code
5803 \begin_layout Plain Layout
5818 \begin_layout Plain Layout
5822 \begin_layout Plain Layout
5838 \begin_layout Plain Layout
5839 Además tendrás que volver a la configuración inicial global de marcas para
5840 que esta vuelva a funcionar.
5841 Así hemos hecho con:
5844 \begin_layout LyX-Code
5854 \begin_layout LyX-Code
5863 \begin_layout Chapter
5868 \begin_layout Standard
5870 soporta desde hace tiempo la exportación de documentos a varios formatos
5871 adecuados para la web, como HTML.
5872 Sin embargo, antes de la versión 2.0, la exportación a HTML siempre se hacía
5873 mediante el uso de convertidores externos.
5877 \begin_layout Plain Layout
5892 Pueden actuar de dos maneras: usando \SpecialChar LaTeX
5893 como formato intermedio, como
5905 , encargándose \SpecialChar LyX
5906 de la generación del \SpecialChar LaTeX
5907 , o trabajando directamente sobre archivos
5915 Cada método tiene distintas ventajas e inconvenientes.
5919 \begin_layout Standard
5920 Los convertidores basados en \SpecialChar LaTeX
5921 tienen la ventaja de que, en principio, lo
5922 saben todo sobre el documento que exporta \SpecialChar LaTeX
5924 Estos convertidores no se preocupan, por ejemplo, de si determinado bloque
5925 de código fue generado por \SpecialChar LyX
5926 o si era código \SpecialChar TeX
5932 Saben manejar archivos
5936 , contadores, referencias, y generalmente pueden manejar archivos
5940 generados por Bib\SpecialChar TeX
5942 Por otra parte, \SpecialChar LaTeX
5943 es un lenguaje complejo de analizar —a veces se comenta
5944 que solo \SpecialChar TeX
5945 comprende a \SpecialChar TeX
5946 — y los convertidores basados en \SpecialChar LaTeX
5948 con estructuras aparentemente simples; las complejas pueden ahogarlos totalment
5949 e; en el momento de escribir esto, por ejemplo, el manual
5953 no se puede exportar con
5958 Las matemáticas son otro tema: estos convertidores suelen convertir las
5959 ecuaciones en pequeñas imágenes que se enlazan posteriormente al documento
5961 Puesto que realmente las ecuaciones son generadas por \SpecialChar LaTeX
5963 Pero no redimensionan bien su tamaño, y ajustar su aspecto al que debería
5964 tener en el documento —de forma que los tamaños de los caracteres parezcan
5965 aproximadamente iguales— puede ser un reto.
5969 \begin_layout Standard
5972 \begin_inset Flex Code
5975 \begin_layout Plain Layout
5986 , de Alex Fernández, (
5987 \begin_inset CommandInset href
5989 name "http://pinchito.es/elyxer/"
5990 target "http://pinchito.es/elyxer/"
5995 ) resuelve algunos de estos problemas.
5996 En particular, las ecuaciones generadas redimensionan el tamaño perfectamente,
5997 ya que las procesa usando una combinación de HTML y CSS en lugar de convertirla
5999 Pero incluso expresiones moderadamente complejas tienen un aspecto no tan
6004 ; esto refleja las limitaciones de HTML.
6008 \begin_layout Plain Layout
6014 también puede usar jsMath y MathJax, pero estas opciones solo están disponibles
6015 globalmente y requieren acceso al servidor que ejecuta el entorno.
6020 Y más importante (al menos desde la versión 1.1.1),
6021 \begin_inset Flex Code
6024 \begin_layout Plain Layout
6031 tiene soporte limitado para macros de ecuación y no lo tiene para párrafos
6032 o estilos de texto definidos por el usuario.
6033 Estas limitaciones hacen a
6034 \begin_inset Flex Code
6037 \begin_layout Plain Layout
6044 inadecuado para muchos documentos de \SpecialChar LyX
6046 En principio, por supuesto, estos problemas se podrían resolver, pero los
6047 desarrolladores de \SpecialChar LyX
6048 han decidido seguir una vía diferente y hacer al propio
6050 capaz de escribir XHTML, igual que es capaz de escribir \SpecialChar LaTeX
6055 \begin_layout Standard
6056 En el momento de escribir esto, La salida XHTML está en desarrollo y debería
6058 \begin_inset Quotes cld
6062 \begin_inset Quotes crd
6069 \begin_layout Plain Layout
6071 \begin_inset Flex Code
6074 \begin_layout Plain Layout
6075 development/HTML/HTML.notes
6080 que está en el código fuente de \SpecialChar LyX
6082 \begin_inset CommandInset href
6084 name "accessed online"
6085 target "https://www.lyx.org/trac/browser/lyxgit/development/HTML/HTML.notes?rev=master"
6090 , contiene información actualizada sobre el estado de XHTML.
6091 Véase también la lista de fallos en XHTML en
6092 \begin_inset CommandInset href
6094 name "the bug tracker"
6095 target "https://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"
6105 Aún así, los desarrolladores han escogido este camino porque tiene ventajas
6106 potenciales sobre los otros dos.
6109 \begin_layout Standard
6110 Estas ventajas se deben, en primer lugar, al hecho de que las rutinas para
6111 exportar XHTML, ya que son parte de \SpecialChar LyX
6112 , conocen todo lo que \SpecialChar LyX
6114 documento a exportar.
6118 \begin_layout Plain Layout
6119 Otra ventaja es que, puesto que estas rutinas son internas de \SpecialChar LyX
6121 a los cambios en el formato de los archivos de \SpecialChar LyX
6122 o en la semántica de los
6123 recuadros insertados.
6129 Así pues, conocen sobre los índices (mostrados en el contorno), sobre los
6130 contadores asociados a estilos de párrafo, y sobre estilos personalizados.
6131 Las rutinas XHTML también saben sobre internacionalización lo mismo que
6133 , de modo que la salida dirá
6134 \begin_inset Quotes cld
6138 \begin_inset Quotes crd
6142 \begin_inset Quotes cld
6146 \begin_inset Quotes crd
6149 según el idioma activo.
6152 \begin_layout Standard
6153 En general, las rutinas de salida saben lo mismo que \SpecialChar LyX
6154 sobre el formato del
6155 documento, es decir, sobre cómo se mostrará el documento en pantalla.
6156 Usamos esta información cuando exportamos a XHTML.
6157 En particular, \SpecialChar LyX
6162 la información de estilo CSS correspondiente a la información que maneja
6163 para mostrar el documento en pantalla: si los encabezados de sección son
6164 palo seco en negrita en pantalla, entonces también (por omisión) serán
6165 palo seco negrita en un navegador web.
6166 Y esto es cierto no solo para estilos predefinidos, como una sección, sino
6167 para cualquier estilo, incluyendo los definidos por el usuario.
6168 En realidad, las rutinas XHTML no distinguen entre estilos de texto y de
6169 párrafo personalizados y los predefinidos por el propio \SpecialChar LyX
6171 todo lo que \SpecialChar LyX
6172 sabe sobre estilos está contenido en los archivos de formato.
6173 Y lo mismo se puede afirmar en relación a los recuadros de texto predefinidos,
6174 como notas al pie y varios recuadros personalizados.
6177 \begin_layout Standard
6178 El resultado es que la salida XHTML se puede personalizar y extender de
6179 igual forma que se puede hacer con la salida \SpecialChar LaTeX
6180 : mediante archivos de formato
6182 Véase el capítulo 5 del manual
6189 \begin_layout Standard
6190 El resto de este capítulo contiene información más detallada sobre la salida
6191 XHTML, sus limitaciones y formas de evitarlas.
6194 \begin_layout Section
6195 Las ecuaciones en XHTML
6198 \begin_layout Standard
6200 ofrece cuatro posibilidades para el procesamiento de matemáticas.
6201 Cada una tiene sus ventajas y sus inconvenientes.
6204 \begin_layout Itemize
6206 \begin_inset Newline newline
6209 MathML es un dialecto de XML diseñado específicamente para matemáticas en
6210 la web, y habitualmente rinde muy bien en los navegadores que lo soportan.
6211 La desventaja es que no todos los navegadores soportan MathML, y el soporte
6212 no es completo en navegadores basados en Gecko, como Firefox.
6213 \begin_inset Newline newline
6217 no es capaz de procesar una fórmula como MathML —por ejemplo, si la
6218 ecuación usa el paquete
6219 \begin_inset Flex Code
6222 \begin_layout Plain Layout
6228 o código \SpecialChar TeX
6229 — la transformará en imagen.
6232 \begin_layout Itemize
6234 \begin_inset Newline newline
6237 Como se ha dicho antes,
6238 \begin_inset Flex Code
6241 \begin_layout Plain Layout
6248 procesa las matemáticas como HTML usando estilos CSS.
6252 \begin_layout Plain Layout
6255 \begin_inset Flex Code
6258 \begin_layout Plain Layout
6265 parte del CSS para su salida HTML.
6270 Para ecuaciones simple funciona bastante bien, aunque con expresiones más
6271 complejas tiende a fallar.
6272 Aún así, este método tiene la ventaja de que es ampliamente soportado y
6273 puede ser apropiado para documentos que tengan pocas y sencillas ecuaciones.
6274 \begin_inset Newline newline
6278 es incapaz de procesar una ecuación como HTML —por ejemplo, si la ecuación
6280 \begin_inset Flex Code
6283 \begin_layout Plain Layout
6289 o código \SpecialChar TeX
6290 — la transformará en imagen.
6293 \begin_layout Itemize
6295 \begin_inset Newline newline
6299 \begin_inset Flex Code
6302 \begin_layout Plain Layout
6309 transformará las ecuaciones en imágenes, las mismas, de hecho, que se
6310 usan para la visualización instantánea.
6314 \begin_layout Plain Layout
6319 es preciso que esté activa la previsualización instantánea para ver las
6320 imágenes en la salida.
6325 La ventaja de este método es que las imágenes son simplemente generadas
6326 por \SpecialChar LaTeX
6327 , por lo que son muy precisas.
6328 La desventaja, como ya hemos dicho, es que son imágenes mapa de bits, por
6329 lo que no se redimensionan nada bien y no se pueden copiar, etc.
6331 \begin_inset Newline newline
6334 El tamaño de las imágenes se puede controlar estableciendo el parámetro
6336 \begin_inset Quotes cld
6339 Escala de imágenes de ecuaciones
6340 \begin_inset Quotes crd
6344 \begin_inset Flex Noun
6347 \begin_layout Plain Layout
6348 Documento\SpecialChar menuseparator
6349 Configuración\SpecialChar menuseparator
6360 \begin_layout Plain Layout
6361 Por si interesa: esto controla la resolución de la imagen en puntos por
6362 pulgada, y se basa en un valor inicial de 75 ppp.
6368 \begin_inset Newline newline
6371 Si, por alguna razón, \SpecialChar LyX
6372 falla al crear una imagen para una ecuación (p.
6373 \begin_inset space ~
6376 ej., si no está instalado un paquete \SpecialChar LaTeX
6377 requerido), generará la salida en \SpecialChar LaTeX
6382 \begin_layout Itemize
6385 \begin_inset Newline newline
6388 Para acabar, \SpecialChar LyX
6389 generará salida alegremente las ecuaciones como \SpecialChar LaTeX
6391 Siendo la solución de último recurso, este método puede usarse con herramientas
6393 \begin_inset CommandInset href
6396 target "http://www.math.union.edu/~dpvc/jsMath/"
6401 , que usa JavaScript para insertar \SpecialChar LaTeX
6404 envuelve el \SpecialChar LaTeX
6406 \begin_inset Flex Code
6409 \begin_layout Plain Layout
6415 (para fórmulas en línea) o en un
6416 \begin_inset Flex Code
6419 \begin_layout Plain Layout
6425 (para fórmulas presentadas) con
6426 \begin_inset Flex Code
6429 \begin_layout Plain Layout
6435 , tal como requiere jsMath.
6438 \begin_layout Standard
6439 Debemos seleccionar uno de estos métodos en
6440 \begin_inset Flex Noun
6443 \begin_layout Plain Layout
6444 Documento\SpecialChar menuseparator
6445 Configuración\SpecialChar menuseparator
6452 Por omisión, \SpecialChar LyX
6454 Se trata de una configuración para todo el documento.
6457 \begin_layout Standard
6458 Eventualmente, \SpecialChar LyX
6459 ofrecerá al usuario la opción de seleccionar un método alternati
6460 vo para algún recuadro en particular, en el caso de que no se procese adecuadame
6465 \begin_layout Plain Layout
6466 Dicho esto, como \SpecialChar LyX
6467 recurre a imágenes si el recuadro contiene código \SpecialChar TeX
6469 posible forzar la salida como imagen poniendo algún código \SpecialChar TeX
6471 ecuación, por ejemplo
6472 \begin_inset Formula $a=b\relax$
6483 \begin_layout Section
6484 Bibliografía y citas
6487 \begin_layout Standard
6488 XHTML soporta totalmente bibliografías y citas.
6491 \begin_layout Standard
6492 Las etiquetas de citas se generan con el mismo mecanismo que genera las
6493 etiquetas en la pantalla de \SpecialChar LyX
6494 , así que las etiquetas tendrán el mismo aspecto
6495 que en \SpecialChar LyX
6497 Si se usan citas numeradas, \SpecialChar LyX
6498 generará etiquetas numeradas, como [1], [17],
6499 en vez de mostrar las claves de las citas entre corchetes, como hace en
6501 Si se usan citas autor-año, \SpecialChar LyX
6502 añadirá letras minúsculas a los años, como
6503 hace Bib\SpecialChar TeX
6504 , si encuentra más de una cita para una combinación dada autor-año.
6505 Las etiquetas se imprimirán con las entradas bibliográficas.
6506 Hay que advertir que, por el momento, no hay forma de personalizar el aspecto
6507 de las etiquetas, por ejemplo para elegir entre corchetes o paréntesis.
6510 \begin_layout Standard
6511 Para la salida de la bibliografía interviene el mismo mecanismo que maneja
6512 la presentación de la información de las referencias en el diálogo de citas,
6513 de modo que se verán en XHTML como se ven en el diálogo de citas.
6514 El formato se puede personalizar en un archivo de usuario o, preferiblemente,
6523 \begin_layout Standard
6524 El defecto principal en estos momentos es que la información de las referencias
6525 cruzadas se imprime junto con cada entrada con la que está asociada.
6526 Entonces, puedes ver cosas como estas:
6531 \begin_inset Quotes eld
6534 Context and Logical Form
6535 \begin_inset Quotes erd
6540 Language in Context: Selected Essays
6542 (Oxford: Oxford University Press, 2007), pp.
6548 \begin_inset Quotes eld
6551 Semantics in Context
6552 \begin_inset Quotes erd
6557 Language in Context: Selected Essays
6559 (Oxford: Oxford University Press, 2007), pp.
6563 \begin_layout Standard
6564 Esto debería estar pronto solucionado.
6567 \begin_layout Standard
6568 De momento no hay soporte para bibliografías por secciones.
6569 Si tienes múltiples bibliografías, \SpecialChar LyX
6570 imprimirá la misma una y otra vez.
6573 \begin_layout Section
6577 \begin_layout Standard
6578 Afortunadamente, \SpecialChar LyX
6579 exportará los índices como XHTML, aunque con ciertas limitacio
6580 nes, por el momento.
6583 \begin_layout Standard
6584 La exportación de índices será más fiable si no intentas usar las elegantes
6585 estructuras que se describen en la sección sobre índices de ls
6593 \begin_layout Plain Layout
6594 La cuestión principal es que \SpecialChar LyX
6595 no maneja esto por sí mismo.
6596 Solo deja que introduzcas lo que deberías introducir en \SpecialChar LaTeX
6602 Describiremos cómo se manejan usando los encabezados de subsección de esta
6606 \begin_layout Itemize
6607 Agrupación de entradas de índice (subentradas): \SpecialChar LyX
6608 se esfuerza en soportar
6609 esto, pero las entradas deben separarse por
6610 \begin_inset Quotes cld
6614 \begin_inset Quotes crd
6617 , es decir, debe haber espacios alrededor del signo de exclamación.
6618 Esto es porque de otra manera sería complicado comprobar puntos de exclamación
6619 escapados en matemáticas, etc.
6622 \begin_layout Itemize
6623 Rangos de páginas: no hay soporte para rangos de páginas, puesto que esto
6624 no tiene sentido en XHTML.
6625 En su lugar, solo se mostrarán dos entradas de índice, uno en cada extremo.
6628 \begin_layout Itemize
6629 Referencias cruzadas: no hay soporte para esto.
6631 encuentra una entrada de la forma
6632 \begin_inset Quotes cld
6636 \begin_inset Quotes crd
6639 la ignora y el resto lo considera como una entrada de índice ordinaria.
6642 \begin_layout Itemize
6643 Orden de las entradas de índice: \SpecialChar LyX
6644 no soporta maniobras para fijar el orden
6646 Tomará lo que está antes del primer @ que encuentre y lo usará para ordenarlo,
6647 tomando lo que sigue a @ como la entrada real.
6648 Por el momento \SpecialChar LyX
6649 no identifica la @ escapada, por tanto no intentes indexar
6650 direcciones de correo.
6653 \begin_layout Itemize
6654 Formato de entradas de índice: Se pueden formatear entradas mediante el
6655 diálogo de estilo del texto, o con otro método disponible en \SpecialChar LyX
6657 No hay soporte para estructuras como
6658 \begin_inset Quotes cld
6662 \begin_inset Quotes crd
6667 encuentra un símbolo de tubería, '|' en una entrada lo borrará, y todo
6671 \begin_layout Itemize
6672 Índices múltiples: no hay soporte para esto.
6673 Todas las entradas de estos índices se imprimirán como un solo índice.
6674 Para evitar la impresión de varias versiones del índice, imprimiremos solo
6675 el índice principal, de modo que asegúrate de tener uno.
6678 \begin_layout Section
6679 Nomenclatura y glosario
6682 \begin_layout Standard
6683 Por ahora no hay soporte para glosarios.
6684 Añadirlo debería ser bastante trivial, y bienvenido.
6687 \begin_layout Chapter
6688 El servidor \SpecialChar LyX
6692 \begin_layout Section
6696 \begin_layout Standard
6697 El 'servidor \SpecialChar LyX
6698 ' permite a otros programas comunicarse con \SpecialChar LyX
6701 y recabar información sobre el estado interno de \SpecialChar LyX
6703 Esto está dirigido solo a usuarios avanzados, quienes descubrirán su utilidad.
6704 Escribiendo al servidor, por ejemplo, los administradores de bibliografía,
6705 como JabRef, pueden dar
6706 \begin_inset Quotes cld
6710 \begin_inset Quotes crd
6713 a las citas en \SpecialChar LyX
6717 \begin_layout Section
6718 Iniciar el servidor \SpecialChar LyX
6720 \begin_inset CommandInset label
6722 name "sec:Iniciar-el-servidor"
6729 \begin_layout Standard
6730 El servidor \SpecialChar LyX
6731 funciona mediante el uso de un par de las denominadas tuberías.
6732 Estas se encuentran generalmente en
6733 \begin_inset Flex Code
6736 \begin_layout Plain Layout
6742 (no en Windows, en donde las tuberías
6747 \begin_inset Flex Code
6750 \begin_layout Plain Layout
6763 \begin_inset Flex Code
6766 \begin_layout Plain Layout
6773 \begin_inset Flex Code
6776 \begin_layout Plain Layout
6783 Los programas externos escriben en
6784 \begin_inset Flex Code
6787 \begin_layout Plain Layout
6794 \begin_inset Flex Code
6797 \begin_layout Plain Layout
6804 La raíz de los nombres de las tuberías se puede definir en el diálogo
6806 Herramientas\SpecialChar menuseparator
6810 \begin_inset Flex Code
6813 \begin_layout Plain Layout
6814 "/home/myhome/lyxpipe"
6820 \begin_inset Flex Code
6823 \begin_layout Plain Layout
6837 en Windows (donde se puede usar cualquier ruta en vez de lyxpipe, por ejemplo
6839 \begin_inset Flex Code
6842 \begin_layout Plain Layout
6865 configurar esto a mano para que arranque el servidor.
6868 \begin_layout Standard
6870 añadirá las extensiones '
6871 \begin_inset Flex Code
6874 \begin_layout Plain Layout
6881 \begin_inset Flex Code
6884 \begin_layout Plain Layout
6890 ' para crear las tuberías.
6891 Si alguna de ellas ya existe, \SpecialChar LyX
6892 asumirá que se está ejecutando otro proceso
6893 y no iniciará el servidor.
6894 Esto significa que si \SpecialChar LyX
6895 se bloquea, o si por alguna otra razón queda una
6897 \begin_inset Quotes cld
6901 \begin_inset Quotes crd
6904 cuando \SpecialChar LyX
6905 se cierra, entonces \SpecialChar LyX
6906 no iniciará el servidor.
6908 Tendrás que borrar las tuberías a mano y después reiniciar \SpecialChar LyX
6912 \begin_layout Standard
6913 Para tener al mismo tiempo varios procesos con servidores hay que usar diferente
6914 s configuraciones, quizás usando distintos directorios de usuario, cada
6915 uno con su propio archivo
6916 \begin_inset Flex Code
6919 \begin_layout Plain Layout
6928 \begin_layout Standard
6929 Si estás desarrollando un programa cliente, podría ser útil activar la informaci
6930 ón de depuración del servidor de \SpecialChar LyX
6932 Esto se hace iniciando \SpecialChar LyX
6934 \begin_inset Flex Code
6937 \begin_layout Plain Layout
6946 \begin_layout Standard
6947 Puedes encontrar un ejemplo completo de cliente escrito en C++ en la distribució
6949 \begin_inset Flex Code
6952 \begin_layout Plain Layout
6953 development/lyxserver/server_monitor.cpp
6961 \begin_layout Standard
6962 Otra herramienta útil es el cliente en línea de comandos
6963 \begin_inset Flex Code
6966 \begin_layout Plain Layout
6967 src/client/lyxclient
6975 \begin_layout Section
6979 \begin_layout Standard
6980 Para emitir una llamada a \SpecialChar LyX
6981 , el cliente escribe una línea de texto ASCII
6982 en la tubería de entrada.
6983 Esta línea tiene el siguiente formato:
7000 \begin_layout Description
7001 clientname es un nombre que el cliente puede escoger arbitrariamente.
7002 Su única función es que \SpecialChar LyX
7003 lo repetirá si envía una respuesta —así un cliente
7004 puede enviar resultados desde diferentes solicitantes.
7007 \begin_layout Description
7008 function es la función que quieres que \SpecialChar LyX
7010 Es lo mismo que los comandos que usarías en el minibúfer.
7013 \begin_layout Description
7014 argument es un argumento opcional que solo es significativo para ciertas
7015 funciones (por ejemplo, la función LFUN
7016 \begin_inset Quotes cld
7020 \begin_inset Quotes crd
7023 insertará el argumento como texto en la posición del cursor).
7026 \begin_layout Standard
7027 La respuesta de \SpecialChar LyX
7028 llegará en la tubería de salida y será de la forma
7045 \begin_layout Standard
7054 solo son respuestas del comando solicitante, mientras que
7058 es información más o menos útil sobre cómo ha funcionado la ejecución del
7060 Algunos comandos, tales como
7061 \begin_inset Quotes cld
7065 \begin_inset Quotes crd
7068 , devolverán información sobre el estado interno de \SpecialChar LyX
7069 , mientras que otros
7070 devolverán una respuesta vacía.
7071 Esto significa que la ejecución del comando fue correcta.
7074 \begin_layout Standard
7075 En caso de errores la respuesta de \SpecialChar LyX
7093 \begin_layout Standard
7098 debería contener una explicación de por qué falló el comando.
7101 \begin_layout Standard
7105 \begin_layout LyX-Code
7106 echo "LYXCMD:test:beginning-of-buffer:" >~/.lyxpipe.in
7109 \begin_layout LyX-Code
7110 echo "LYXCMD:test:get-xy:" >~/.lyxpipe.in
7111 \begin_inset Newline newline
7114 read a <~/.lyxpipe.out
7115 \begin_inset Newline newline
7121 \begin_layout Subsection
7122 AppleScript (Mac OS X)
7125 \begin_layout Standard
7126 Desde \SpecialChar LyX
7127 2.1, \SpecialChar LyX
7128 soporta interacciones básicas con AppleScript para comunicación
7129 normal mediante el comando run.
7130 Este comando toma un argumento directo (la
7134 a realizar) y un argumento opcional.
7135 Devuelve la salida de la función o desencadena un error con un mensaje
7139 \begin_layout Standard
7143 \begin_layout LyX-Code
7144 tell application "\SpecialChar LyX
7148 \begin_layout LyX-Code
7152 \begin_layout LyX-Code
7153 -- Stores the current file name into f
7156 \begin_layout LyX-Code
7157 set f to (run "server-get-filename" with argument "")
7160 \begin_layout LyX-Code
7161 on error the error_message number the error_number
7164 \begin_layout LyX-Code
7165 display dialog "Error: " & the error_number & ".
7169 \begin_layout LyX-Code
7170 & the error_message buttons {"OK"} default button 1
7173 \begin_layout LyX-Code
7177 \begin_layout LyX-Code
7181 \begin_layout Section
7185 \begin_layout Standard
7187 puede notificar a los clientes acontecimientos ocurridos de manera asíncrona.
7188 Actualmente solo lo hará si el usuario liga una secuencia de teclas a la
7190 \begin_inset Quotes cld
7194 \begin_inset Quotes crd
7198 El formato de la cadena que envía \SpecialChar LyX
7203 \begin_inset Flex Code
7206 \begin_layout Plain Layout
7217 \begin_layout Standard
7222 es la representación impresa de la secuencia de teclas que fue realmente
7223 tecleada por el usuario.
7226 \begin_layout Standard
7227 Este mecanismo puede utilizarse para ampliar el conjunto de comandos de
7229 e implementar macros.
7230 Asocia alguna secuencia de teclas a
7231 \begin_inset Quotes cld
7235 \begin_inset Quotes crd
7239 Después inicia un cliente que escucha en la tubería de salida, envía el
7240 comando acorde con la secuencia e inicia una función que pueda usar llamadas
7241 y solicitudes a \SpecialChar LyX
7242 para emitir un comando o una serie de comandos a \SpecialChar LyX
7246 \begin_layout Section
7247 El sencillo protocolo del servidor \SpecialChar LyX
7251 \begin_layout Standard
7253 implementa un protocolo sencillo que puede utilizarse para administrar
7255 Todos los mensajes son de la forma
7268 \begin_layout Standard
7274 \begin_inset Quotes cld
7278 \begin_inset Quotes crd
7282 \begin_inset Quotes cld
7286 \begin_inset Quotes crd
7291 \begin_inset Quotes cld
7295 \begin_inset Quotes crd
7298 de un cliente, \SpecialChar LyX
7299 devolverá información al cliente de que está escuchando
7300 sus mensajes, mientras que
7301 \begin_inset Quotes cld
7305 \begin_inset Quotes crd
7308 enviado desde \SpecialChar LyX
7309 informará a los clientes que \SpecialChar LyX
7313 \begin_layout Section
7314 Búsqueda inversa DVI/PDF
7317 \begin_layout Standard
7318 Algunos visores DVI/PDF
7322 \begin_layout Plain Layout
7323 Okular en KDE/Linux, Qpdfview en Unix, Skim en Mac OSX y SumatraPDF en Windows.
7328 ofrecen la posibilidad de
7333 Esto quiere decir que puedes indicar a \SpecialChar LyX
7334 que coloque el cursor en una línea
7335 determinada en el documento haciendo clic en la posición correspondiente
7336 en la salida DVI/PDF.
7337 Para ello, el visor ha de ser capaz de comunicarse con \SpecialChar LyX
7339 Esto se consigue mediante el servidor \SpecialChar LyX
7344 ) o el zócalo de dominio UNIX (
7348 ) que \SpecialChar LyX
7349 crea en su directorio temporal (esta es la forma en que \SpecialChar LyX
7352 \begin_inset Flex Code
7355 \begin_layout Plain Layout
7362 En algunos casos, hará falta un guión de apoyo que medie entre el visor
7364 , en otros, el visor se podrá comunicar directamente con \SpecialChar LyX
7366 Esto depende del visor seleccionado y del sistema operativo.
7367 Lo mismo es aplicable a la forma en que los visores deben configurarse
7368 y la forma en que la búsqueda inversa se lleva a cabo realmente.
7369 En lo que sigue, describiremos cómo se configura la búsqueda en visores
7371 Antes, sin embargo, explicamos lo que hay que hacer en general para habilitar
7372 la búsqueda inversa en el DVI/PDF.
7375 \begin_layout Subsection
7376 Activación automática
7377 \begin_inset CommandInset label
7379 name "subsec:Activación-automática"
7386 \begin_layout Standard
7387 En la mayoría de los casos \SpecialChar LyX
7390 pressing the following button in the toolbar:
7393 arg "buffer-toggle-output-sync"
7397 Alternatively, you can also enable the feature by checking
7399 Synchronize with Output
7402 \begin_inset Flex Noun
7405 \begin_layout Plain Layout
7408 Document\SpecialChar menuseparator
7409 Settings\SpecialChar menuseparator
7417 En estos casos \SpecialChar LyX
7418 insertará automáticamente la macro
7419 \begin_inset Flex Code
7422 \begin_layout Plain Layout
7423 Sync\SpecialChar TeX
7429 (para PDF) o el paquete
7430 \begin_inset Flex Code
7433 \begin_layout Plain Layout
7440 Esta opción está fácilmente disponible, además, en la barra de herramientas
7442 \begin_inset Flex Noun
7445 \begin_layout Plain Layout
7454 \begin_layout Standard
7455 Si necesitas una configuración diferente, puedes seleccionar o introducir
7456 una macro personalizada desde el cuadro desplegable bajo
7457 \begin_inset Flex Noun
7460 \begin_layout Plain Layout
7461 Documento\SpecialChar menuseparator
7462 Configuración\SpecialChar menuseparator
7463 Salidas\SpecialChar menuseparator
7464 Sincronizar con salida
7472 \begin_layout Standard
7474 \begin_inset Flex Code
7477 \begin_layout Plain Layout
7485 activa compresión gzip.
7486 Si el visor no lo soporta, sería mejor usar
7487 \begin_inset Flex Code
7490 \begin_layout Plain Layout
7501 \begin_layout Standard
7502 Advirtamos que la inclusión de los paquetes
7503 \begin_inset Flex Code
7506 \begin_layout Plain Layout
7513 \begin_inset Flex Code
7516 \begin_layout Plain Layout
7522 puede tener a veces un impacto no deseado en la tipografía; entonces, si
7523 se usa alguno de dichos paquetes habría que desactivar la sincronización
7524 para la composición final.
7527 \begin_layout Standard
7528 En caso de necesitar otros ajustes más específicos no cubiertos por la configura
7529 ción automática, lee la sección siguiente sobre activación manual.
7530 Si la configuración automática cubre tus necesidades, puedes pasar directamente
7532 \begin_inset CommandInset ref
7534 reference "subsec:Configuración-y-uso-de-visores"
7538 , en la que se describen los pasos necesarios para configurar el visor —necesari
7539 os tanto para configuración automática como manual.
7542 \begin_layout Subsection
7546 \begin_layout Standard
7548 proporciona varios métodos para la búsqueda inversa.
7549 Algunos son parte del programa
7550 \begin_inset Flex Code
7553 \begin_layout Plain Layout
7559 , otros forman parte de paquetes externos.
7560 La elección depende de si la distribución \SpecialChar LaTeX
7561 instalada ya proporciona un
7562 método (los métodos incorporados son bastante nuevos) y si el visor a usar
7563 puede enfrentarse a este.
7564 Describimos a continuación los métodos disponibles.
7567 \begin_layout Subsubsection*
7568 Buscador DVI incorporado vía src-specials (solo DVI)
7571 \begin_layout Standard
7572 Este método proporciona el archivo DVI con la información necesaria para
7573 realizar búsqueda inversa.
7574 Está disponible en \SpecialChar LaTeX
7575 desde hace tiempo (cualquier distribución reciente
7576 lo debe incluir) y es fiable.
7577 Para habilitarlo, cambia el convertidor
7578 \begin_inset Flex Code
7581 \begin_layout Plain Layout
7588 \begin_inset Flex Code
7591 \begin_layout Plain Layout
7592 LaTeX (plain)->DraftDVI
7598 \begin_inset Flex Noun
7601 \begin_layout Plain Layout
7602 Herramientas\SpecialChar menuseparator
7603 Preferencias\SpecialChar menuseparator
7604 Gestión de archivos\SpecialChar menuseparator
7611 \begin_inset Flex Code
7614 \begin_layout Plain Layout
7615 latex -src-specials $$i
7621 Si no funciona, comprueba si tu maquinaria \SpecialChar TeX
7622 necesita opciones diferentes
7623 (la sintaxis podría diferir en algunas distribuciones).
7626 \begin_layout Subsubsection*
7627 Paquetes externos (PDFSync y srcltx)
7630 \begin_layout Standard
7632 \begin_inset Flex Code
7635 \begin_layout Plain Layout
7642 \begin_inset Flex Code
7645 \begin_layout Plain Layout
7651 proporcionan la función búsqueda inversa para PDF (vía pdflatex) y DVI,
7653 Para habilitarlos carga el paquete en el preámbulo \SpecialChar LaTeX
7657 \begin_layout Itemize
7658 \begin_inset Flex Code
7661 \begin_layout Plain Layout
7669 para búsqueda inversa en PDF
7672 \begin_layout Itemize
7673 \begin_inset Flex Code
7676 \begin_layout Plain Layout
7679 usepackage[active]{srcltx}
7684 para búsqueda inversa en DVI
7687 \begin_layout Standard
7688 Para habilitar el uso de ambos inserta las siguientes líneas:
7691 \begin_layout LyX-Code
7695 \begin_inset Newline newline
7701 \begin_inset Newline newline
7707 \begin_inset Newline newline
7713 \begin_inset Newline newline
7718 usepackage[active]{srcltx}
7719 \begin_inset Newline newline
7727 \begin_layout Standard
7728 Así, el archivo se puede ver tanto como DVI como PDF (pdflatex), usando
7729 el paquete adecuado.
7732 \begin_layout Standard
7733 Advirtamos que PDFSync podría afectar el formato de salida del documento.
7734 Por eso es conveniente deshabilitar PDFSync para componer el documento
7738 \begin_layout Subsubsection*
7739 Búsqueda inversa incorporada vía Sync\SpecialChar TeX
7743 \begin_layout Standard
7744 Las recientes versiones de
7745 \begin_inset Flex Code
7748 \begin_layout Plain Layout
7754 incorporan soporte para búsqueda inversa en PDF y DVI.
7755 La instalación llamada
7757 Sync\SpecialChar TeX
7760 es básicamente el resultado de integrar el paquete PDFSync en pdftex y
7761 su fusión con el enfoque
7766 Para usarla hace falta al menos \SpecialChar TeX
7767 Live 2008 o una distribución Mik\SpecialChar TeX
7769 Además, solo unos pocos visores PDF (
7773 Okular y Qpdfview en Unix, Skim en Mac, SumatraPDF en Windows
7775 ; see the next section for details
7777 ) proporcionan por ahora soporte para Sync\SpecialChar TeX
7781 \begin_layout Standard
7782 Para activar Sync\SpecialChar TeX
7783 en DVI, cambia el convertidor
7784 \begin_inset Flex Code
7787 \begin_layout Plain Layout
7788 LaTeX (plain) -> DVI
7794 \begin_inset Flex Code
7797 \begin_layout Plain Layout
7798 LaTeX (plain) -> DraftDVI
7804 \begin_inset Flex Noun
7807 \begin_layout Plain Layout
7808 Herramientas\SpecialChar menuseparator
7809 Preferencias\SpecialChar menuseparator
7810 Gestión de archivos\SpecialChar menuseparator
7817 \begin_inset Flex Code
7820 \begin_layout Plain Layout
7821 latex -synctex=1 $$i
7827 \begin_inset Flex Code
7830 \begin_layout Plain Layout
7831 LaTeX (pdflatex) -> PDF (pdflatex)
7837 \begin_inset Flex Code
7840 \begin_layout Plain Layout
7841 pdflatex -synctex=1 $$i
7849 Should your viewer not be considered in the following description, or in
7850 case of missing success, please
7852 consulta en la documentación de tu visor si necesita ser configurado para
7853 usarlo con Sync\SpecialChar TeX
7858 \begin_layout Plain Layout
7860 \begin_inset Flex Code
7863 \begin_layout Plain Layout
7869 permite compresión gzip.
7870 Si el visor no lo soporta, entonces usa
7871 \begin_inset Flex Code
7874 \begin_layout Plain Layout
7888 \begin_layout Subsection
7889 Configuración y uso de visores específicos
7890 \begin_inset CommandInset label
7892 name "subsec:Configuración-y-uso-de-visores"
7899 \begin_layout Subsubsection*
7900 Xdvi (todas las plataformas)
7903 \begin_layout Standard
7905 \begin_inset Flex Code
7908 \begin_layout Plain Layout
7914 no necesitas hacer nada para utilizar la búsqueda inversa en DVI, ya que
7916 proporciona los ganchos necesarios para usar automáticamente el programa
7918 \begin_inset Flex Code
7921 \begin_layout Plain Layout
7928 Basta con configurar tu documento como se describió antes (la búsqueda
7929 inversa se inicia con Ctrl-clic o Alt-clic en Mac OSX).
7932 \begin_layout Standard
7933 Sin embargo, si por la razón que sea quieres usar la tubería en vez del
7934 zócalo para comunicar con \SpecialChar LyX
7935 , simplemente cambia el visor DVI en
7936 \begin_inset Flex Noun
7939 \begin_layout Plain Layout
7940 Herramientas\SpecialChar menuseparator
7941 Preferencias\SpecialChar menuseparator
7942 Gestión de archivos\SpecialChar menuseparator
7949 \begin_inset Flex Code
7952 \begin_layout Plain Layout
7953 xdvi -editor "lyxeditor.sh %f %l"
7962 \begin_layout Plain Layout
7963 En Mac OSX hay que usar
7964 \begin_inset Flex Code
7967 \begin_layout Plain Layout
7968 DISPLAY=:0.0 xdvi -editor "lyxeditor.sh %f %l"
7979 \begin_inset Flex Code
7982 \begin_layout Plain Layout
7988 es un guión apropiado.
7989 Por ejemplo, un mínimo guión de shell es el siguiente:
7992 \begin_layout LyX-Code
7994 \begin_inset Newline newline
7997 LYXPIPE="/ruta/a/lyxpipe"
7998 \begin_inset Newline newline
8001 COMMAND="LYXCMD:revdvi:server-goto-file-row:$1 $2"
8002 \begin_inset Newline newline
8005 echo "$COMMAND" > "${LYXPIPE}".in || exit
8006 \begin_inset Newline newline
8009 read TMP < "${LYXPIPE}".out || exit
8012 \begin_layout Standard
8014 \begin_inset Flex Code
8017 \begin_layout Plain Layout
8023 es la ruta de la tubería \SpecialChar LyX
8024 Server especificada en
8025 \begin_inset Flex Noun
8028 \begin_layout Plain Layout
8029 Herramientas\SpecialChar menuseparator
8030 Preferencias\SpecialChar menuseparator
8040 \begin_layout Plain Layout
8042 \begin_inset Flex Code
8045 \begin_layout Plain Layout
8051 de una distribución fuente puedes encontrar un guión
8052 \begin_inset Flex Code
8055 \begin_layout Plain Layout
8066 basado en tus preferencias.
8074 \begin_layout Subsubsection*
8078 \begin_layout Standard
8080 \begin_inset Flex Code
8083 \begin_layout Plain Layout
8084 /Applications/MacDviX_Folder/calleditor.script
8092 \begin_layout LyX-Code
8093 /Applications/LyX.app/Contents/MacOS/lyxeditor "$2" $1
8094 \begin_inset Newline newline
8100 \begin_layout Standard
8101 Modifica las líneas si \SpecialChar LyX
8102 está instalado en algún otro lugar distinto de la
8103 carpeta 'Applications'.
8106 \begin_layout Standard
8107 La búsqueda inversa se lanza con Alt-clic (OPCIÓN-clic).
8110 \begin_layout Subsubsection*
8114 \begin_layout Standard
8116 \begin_inset Flex Code
8119 \begin_layout Plain Layout
8120 open -a Skim.app $$i
8125 en la configuración del visor en
8126 \begin_inset Flex Noun
8129 \begin_layout Plain Layout
8130 Herramientas\SpecialChar menuseparator
8131 Preferencias\SpecialChar menuseparator
8132 Gestión de archivos\SpecialChar menuseparator
8139 \begin_inset Flex Code
8142 \begin_layout Plain Layout
8143 Skim\SpecialChar menuseparator
8144 Preferences\SpecialChar menuseparator
8150 selecciona \SpecialChar LyX
8154 \begin_layout Standard
8155 La búsqueda inversa se inicia con COMANDO-MAYÚSCULAS-clic.
8158 \begin_layout Subsubsection*
8162 \begin_layout Standard
8164 \begin_inset Flex Noun
8167 \begin_layout Plain Layout
8168 Configurar\SpecialChar menuseparator
8169 Configurar Okular\SpecialChar menuseparator
8178 \begin_inset Quotes erd
8182 This inserts the appropriate
8187 This inserts the appropriate
8190 \begin_inset Flex Code
8193 \begin_layout Plain Layout
8202 \begin_layout Standard
8203 La búsqueda inversa se inicia con MAYÚSCULAS-clic.
8206 \begin_layout Subsubsection*
8210 \begin_layout Standard
8211 Qpdfview soporta Sync\SpecialChar TeX
8212 desde la versión 0.3.5.
8214 \begin_inset Flex Noun
8217 \begin_layout Plain Layout
8218 Editar\SpecialChar menuseparator
8219 Configuración\SpecialChar menuseparator
8225 , clic en el campo de entrada del
8226 \begin_inset Quotes eld
8230 \begin_inset Quotes erd
8234 \begin_inset Flex Code
8237 \begin_layout Plain Layout
8246 \begin_layout Standard
8247 La búsqueda inversa se lanza con doble clic.
8250 \begin_layout Subsubsection*
8254 \begin_layout Standard
8255 En yap, en el menú Ver Opciones marca
8256 \begin_inset Quotes cld
8259 Búsqueda inversa DVI
8260 \begin_inset Quotes crd
8265 \begin_inset Quotes cld
8269 \begin_inset Quotes crd
8273 \begin_inset Quotes cld
8278 \begin_inset Quotes crd
8282 \begin_inset Quotes cld
8286 \begin_inset Quotes crd
8291 \begin_inset Quotes cld
8295 \begin_inset Quotes crd
8299 \begin_inset Flex Code
8302 \begin_layout Plain Layout
8310 \begin_inset Flex Code
8313 \begin_layout Plain Layout
8319 , con los argumentos %f %l.
8322 \begin_layout LyX-Code
8324 \begin_inset Newline newline
8327 echo LYXCMD:revdvi:server-goto-file-row:%1 %2>
8336 \begin_inset Newline newline
8350 \begin_layout Standard
8351 Se lanza con doble clic.
8354 \begin_layout Subsubsection*
8355 SumatraPDF (Windows)
8358 \begin_layout Standard
8361 SumatraPDF -inverse-search "lyxeditor.bat %f %l"
8368 \begin_inset Flex Noun
8371 \begin_layout Plain Layout
8372 Herramientas\SpecialChar menuseparator
8373 Preferencias\SpecialChar menuseparator
8374 Gestión de archivos\SpecialChar menuseparator
8382 lyxeditor.bat es el anterior.
8385 no está en la ruta de comandos usa su nombre completo.
8388 \begin_layout Standard
8389 Se inicia con doble clic.
8392 \begin_layout Subsubsection*
8396 \begin_layout Standard
8397 Si yap es el visor por defecto en Windows, ejecuta y elige
8402 \begin_inset Quotes cld
8405 Búsqueda inversa DVI
8406 \begin_inset Quotes crd
8411 \begin_inset Quotes cld
8415 \begin_inset Quotes crd
8419 \begin_inset Quotes cld
8424 \begin_inset Quotes crd
8428 \begin_inset Quotes cld
8432 \begin_inset Quotes crd
8437 \begin_inset Quotes cld
8441 \begin_inset Quotes crd
8444 y navega hasta el directorio del ejecutable
8449 Especifica los argumentos -g %f %l.
8450 Así, se usará el zócalo
8454 para comunicar con \SpecialChar LyX
8460 omite -g y escribe la tubería \SpecialChar LyX
8461 Server en las preferencias de \SpecialChar LyX
8465 \begin_layout Standard
8466 Se lanza con doble clic.
8469 \begin_layout Subsubsection*
8473 \begin_layout Standard
8475 \begin_inset Flex Noun
8478 \begin_layout Plain Layout
8479 Herramientas\SpecialChar menuseparator
8480 Preferencias\SpecialChar menuseparator
8481 Gestión de archivos\SpecialChar menuseparator
8488 \begin_inset Flex Code
8491 \begin_layout Plain Layout
8492 SumatraPDF -inverse-search "lyxeditor -g %f %l"
8497 en la configuración del visor.
8498 Si SumatraPDF.exe no está en la ruta de comandos usa su ruta posix completa
8500 La -g habilita comunicación vía
8509 , y verifica la ruta de \SpecialChar LyX
8510 Server en las preferencias de \SpecialChar LyX
8514 \begin_layout Standard
8515 Se inicia con doble clic.
8518 \begin_layout Section
8522 \begin_layout Standard
8523 La búsqueda directa, como su nombre indica, es en cierto sentido lo
8524 \begin_inset Quotes cld
8528 \begin_inset Quotes crd
8532 Permite saltar a una posición determinada del documento en el visor desde
8533 dentro de \SpecialChar LyX
8535 Si la búsqueda directa está habilitada (como se describe a continuación),
8536 puedes poner el cursor en cualquier punto del documento en \SpecialChar LyX
8540 Navegar\SpecialChar menuseparator
8547 en el menú contextual mediante clic derecho), en el visor se mostrará esa
8549 Esto implica, por supuesto, que el visor soporte esta función.
8552 \begin_layout Standard
8553 Para posibilitar la búsqueda directa hay que proporcionar al archivo DVI/PDF
8554 de salida información adicional sobre el código \SpecialChar TeX
8556 Se puede hacer mediante los métodos descritos en la sección
8557 \begin_inset CommandInset ref
8559 reference "subsec:Activación-automática"
8566 \begin_layout Standard
8567 Adicionalmente, hay que configurar \SpecialChar LyX
8568 para usar los visores en
8569 \begin_inset Flex Noun
8572 \begin_layout Plain Layout
8573 Herramientas\SpecialChar menuseparator
8574 Preferencias\SpecialChar menuseparator
8575 Salidas\SpecialChar menuseparator
8582 Proporcionamos un conjunto de configuraciones comprobadas para algunos
8583 visores, que pueden seleccionarse en la lista desplegable.
8584 Si ninguna de estas configuraciones te satisface, tienes que introducir
8585 a mano una configuración adecuada.
8586 La sintaxis de las definiciones usa los siguientes marcadores:
8589 \begin_layout Itemize
8591 \begin_inset Flex Code
8594 \begin_layout Plain Layout
8603 \begin_layout Itemize
8605 \begin_inset Flex Code
8608 \begin_layout Plain Layout
8614 : nombre del archivo .tex exportado (temporal)
8617 \begin_layout Itemize
8619 \begin_inset Flex Code
8622 \begin_layout Plain Layout
8628 : nombre del archivo de salida exportado (dvi o pdf, según el que exista
8629 en el directorio temporal)
8632 \begin_layout Standard
8633 Solo algunos visores permiten completamente la búsqueda directa, entre ellos
8640 \begin_layout Plain Layout
8643 You might want to set
8644 \begin_inset Flex Code
8647 \begin_layout Plain Layout
8658 \begin_inset Flex Noun
8661 \begin_layout Plain Layout
8664 Tools\SpecialChar menuseparator
8665 Preferences\SpecialChar menuseparator
8666 File Handling\SpecialChar menuseparator
8668 \begin_inset space ~
8683 , qpdfview y SumatraPDF
8689 \begin_layout Plain Layout
8692 SumatraPDF can also use DDE commands through the external program CMCDDE
8694 \begin_inset CommandInset href
8696 target "http://www.istri.fr/spip/zip/CMCDDE.zip"
8709 Aunque algunos de los visores PDF más conocidos (como Adobe Reader) no
8710 soportan búsqueda directa, otros (como evince y pdf) permiten al menos
8711 recargar el documento y mostrar una página determinada, por lo que al menos
8712 permiten una navegación
8713 \begin_inset Quotes cld
8717 \begin_inset Quotes crd
8721 Esta última funcionalidad es facilitada mediante una llamada externa a
8722 synctex (consulta los ejemplos predefinidos en Preferencias).
8726 \begin_layout Standard
8727 La búsqueda directa funciona con DVI y PDF.
8729 comprueba qué formato de vista preliminar has usado antes (o sea, el que
8730 ya está en el directorio temporal) y elige dinámicamente la configuración
8731 adecuada para el formato en cuestión.
8734 \begin_layout Chapter
8735 Clases especiales de documentos
8738 \begin_layout Section
8742 \begin_layout Standard
8748 \begin_layout Subsection
8752 \begin_layout Standard
8753 Esta sección describe el uso de \SpecialChar LyX
8754 para escribir artículos destinados a la
8757 Astronomy and Astrophysics
8760 \begin_inset Flex URL
8763 \begin_layout Plain Layout
8765 https://www.aanda.org/
8770 ), usando la versión
8771 \begin_inset space ~
8774 5.01 de la clase de documento
8779 Este paquete se puede descargar del sitio ftp
8782 \begin_layout Standard
8783 \begin_inset VSpace medskip
8789 \begin_layout Standard
8791 \begin_inset Flex URL
8794 \begin_layout Plain Layout
8796 ftp://ftp.edpsciences.org/pub/aa/readme.html
8804 \begin_layout Standard
8805 \begin_inset VSpace medskip
8811 \begin_layout Standard
8812 El paquete contiene un manual, y este texto no aspira a reemplazar al original,
8813 se trata solo de una breve guía de uso.
8816 \begin_layout Standard
8817 Ten en cuenta que el editor de la revista ha cambiado de
8825 desde 1 de enero de 2001.
8826 Este cambio implica ligeros cambios en los archivos de estilo, a saber,
8827 la eliminación del comando
8832 La clase \SpecialChar LyX
8837 soporta las versiones más nuevas de estos archivos de estilo, V 5.01.
8838 Si tienes instalada una versión más antigua, actualízala, por favor.
8839 Por compatibilidad, el antiguo formato (versión 4) se ha mantenido como
8845 Puedes acudir a los comentarios en el archivo
8848 Dir/layouts/aapaper.layout
8853 \begin_layout Subsection
8857 \begin_layout Standard
8858 Se recomienda empezar con el modelo de ejemplo suministrado con \SpecialChar LyX
8860 Si no es así, observa los siguientes aspectos:
8863 \begin_layout Itemize
8870 Documento\SpecialChar menuseparator
8873 (vale, esto era obvio).
8876 \begin_layout Itemize
8877 No cambies la opción
8880 \begin_inset space ~
8884 \begin_inset space ~
8894 Todo el formato está hecho por macros y no deberías cambiar nada.
8897 \begin_layout Subsection
8898 El bloque del encabezado
8901 \begin_layout Standard
8902 Lo primero que hay que introducir es la información del encabezado.
8903 Consta de siete entradas, de las que algunas son opcionales.
8907 \begin_layout Itemize
8915 \begin_layout Itemize
8923 \begin_layout Itemize
8931 \begin_layout Itemize
8939 \begin_layout Itemize
8940 Separatas: (opcional) si hay más de un autor: a quien dirigirse.
8943 \begin_layout Itemize
8944 Correo: (opcional) dirección de contacto.
8947 \begin_layout Itemize
8953 El formato sugerido es
8955 Recibido: <fecha>; Aceptado <fecha>
8958 \begin_layout Standard
8959 No es necesario poner el comando
8966 lo hace automáticamente cuando se termina el encabezado.
8967 Aunque el orden de las entradas del encabezado no importa, es conveniente
8968 mantener la secuencia de arriba, solo por conseguir un mejor aspecto y
8969 respetar el formato del documento real.
8972 \begin_layout Standard
8973 Si quieres poner notas al pie en el encabezado, p.
8974 \begin_inset space \thinspace{}
8978 \begin_inset space ~
8981 para consignar tu actual dirección, usa la nota al pie estándar con
8983 Insertar\SpecialChar menuseparator
8985 \begin_inset space ~
8989 \begin_inset space ~
8997 \begin_inset Quotes cld
9001 \begin_inset Quotes crd
9013 \begin_layout Standard
9018 Edit\SpecialChar menuseparator
9021 , you'll find two insets which are relevant for the titling:
9024 \begin_layout Itemize
9032 to mark corresponding author\SpecialChar breakableslash
9034 The institutes are numbered sequentially as they appear in the
9038 field, so you have to put a marker to each author.
9041 \begin_layout Itemize
9047 to supply an email address for fast contact.
9050 \begin_layout Standard
9051 Además, las macros emplean one comando \SpecialChar LaTeX
9052 adicionalque no tien contrapartida
9057 \begin_layout Itemize
9064 para separar nombres diferentes de más de un autor e instituto, respectivamente.
9067 \begin_layout Standard
9068 El comando apropiado ha de introducirse en \SpecialChar LyX
9069 marcado como código \SpecialChar LaTeX
9071 Véanse los ejemplos.
9075 \begin_layout Subsection
9079 \begin_layout Standard
9080 El resumen debería ir a continuación del encabezado.
9081 Con la versión 5 el resumen cambió de entorno a comando, y ahora hay una
9082 restricción a un único párrafo.
9083 Además, debería contener una entrada con las claves.
9086 done via the paragraph style
9096 \begin_layout Subsection
9100 \begin_layout Standard
9101 El formato A&A soporta los entornos siguientes para estructurar el texto:
9104 \begin_layout Itemize
9110 \begin_layout Itemize
9116 \begin_layout Itemize
9122 \begin_layout Itemize
9128 \begin_layout Itemize
9134 \begin_layout Itemize
9140 \begin_layout Itemize
9146 \begin_layout Itemize
9152 \begin_layout Itemize
9158 \begin_layout Itemize
9164 \begin_layout Itemize
9170 \begin_layout Itemize
9177 \begin_layout Subsection
9178 Comandos no soportados por \SpecialChar LyX
9182 \begin_layout Standard
9183 Algunos comandos aún no son soportados por el formato
9188 Algunos se han mencionado ya.
9193 Pero aquí están todos juntos:
9196 \begin_layout Itemize
9204 \begin_layout Itemize
9212 \begin_layout Itemize
9220 \begin_layout Itemize
9228 \begin_layout Standard
9229 Si quieres usar alguno de ellos tienes que introducirlos a mano, y
9231 ¡no olvides marcarlos en código \SpecialChar LaTeX
9235 \begin_layout Subsection
9236 Figuras y cuadros flotantes
9239 \begin_layout Standard
9241 proporciona soporte para poner figuras y cuadros flotantes, por tanto no
9242 queremos decir mucho más sobre ello.
9248 Solo recordaremos que los cuadros deben alinearse a la izquierda.
9249 Para eso selecciona el cuadro y cambia la alineación en
9251 Editar\SpecialChar menuseparator
9253 \begin_inset space ~
9257 \begin_inset space ~
9263 \begin_layout Standard
9264 Hay un apunte particular: las figuras que deben llevar el título del encabezado
9266 Para insertar estas figuras has de hacer lo siguiente:
9269 \begin_layout Enumerate
9270 Crea un flotante de figura ancha:
9276 Insertar\SpecialChar menuseparator
9277 Flotante\SpecialChar menuseparator
9280 , después haz clic derecho en la figura y selecciona
9283 \begin_inset space ~
9291 \begin_layout Enumerate
9292 Introduce el texto del encabezado.
9295 \begin_layout Enumerate
9300 para mover el cursor sobre el encabezado.
9303 \begin_layout Enumerate
9307 \begin_layout Enumerate
9308 Coloca el cursor tras la figura e inserta un relleno horizontal:
9310 Insertar\SpecialChar menuseparator
9312 \begin_inset space ~
9315 especial\SpecialChar menuseparator
9317 \begin_inset space ~
9325 \begin_layout Enumerate
9326 Cambia a modo \SpecialChar LaTeX
9334 \begin_layout Enumerate
9344 ¡No cierres la llave!
9347 \begin_layout Enumerate
9348 Coloca el cursor tras el texto del encabezado, cambia a modo \SpecialChar LaTeX
9359 \begin_layout Standard
9360 Además, consulta el ejemplo de
9367 \begin_layout Subsection
9371 \begin_layout Standard
9372 Antes de remitir el artículo a los editores hay que darle un formato especial
9374 Para eso hay que pasar la opción
9378 a la clase de documento
9380 This must be done using the custom class options field in the
9382 Document\SpecialChar menuseparator
9386 Just enter the string
9393 \begin_layout Subsection
9397 \begin_layout Standard
9402 contiene un ejemplo del formato
9406 escrito con \SpecialChar LyX
9408 Es el ejemplo del paquete de macros original, traducido a \SpecialChar LyX
9410 Puede servirte de inspiración, y para comparar el código \SpecialChar LaTeX
9412 el generado por \SpecialChar LyX
9416 \begin_layout Section
9421 \begin_layout Standard
9427 \begin_layout Subsection
9431 \begin_layout Standard
9433 es un conjunto de macros producidas por la
9435 American Astronomical Society
9437 para facilitar la remisión de manuscritos electrónicos a las tres revistas
9440 Astrophysical Journal
9442 (incluyendo Cartas y Suplemento),
9444 Astronomical Journal
9448 Publications of the Astronomical Society of the Pacific
9452 ha demostrado ser una herramienta excelente para generar estos documentos,
9453 especialmente por su capacidad para el manejo de ecuaciones, citas y figuras.
9455 requiere la versión 5.0 (o superior) de estas macros; preferiblemente 6.0,
9456 que es la versión aquí explicada, o mayor.
9457 Las versiones anteriores a 5.0 están pensadas para usar con \SpecialChar LaTeX
9458 2.09 y son básicament
9459 e incompatibles con \SpecialChar LyX
9461 El paquete AAS\SpecialChar TeX
9462 se puede obtener del sitio web de AAS\SpecialChar TeX
9466 \begin_layout Standard
9467 \begin_inset VSpace medskip
9473 \begin_layout Standard
9475 \begin_inset Flex URL
9478 \begin_layout Plain Layout
9480 https://aas.org/aastex/aastex-downloads
9488 \begin_layout Standard
9489 \begin_inset VSpace medskip
9495 \begin_layout Standard
9496 Contiene una completa guía del usuario con la que deberías familiarizarte
9497 antes de embarcarte en la escritura de estos documentos en \SpecialChar LyX
9500 no reduce la necesidad de comprender todos los comandos AAS\SpecialChar TeX
9502 la tediosa faena de teclearlo todo.
9503 Es de tu incumbencia comprobar que el documento final exportado a \SpecialChar LaTeX
9505 ente conforme con los requerimientos de la revista a la que se remite.
9508 \begin_layout Subsection
9509 Empezar un artículo nuevo
9512 \begin_layout Standard
9513 Recomiendo encarecidamente que comiences con el archivo de plantilla modelo
9514 de AAS\SpecialChar TeX
9518 Archivo\SpecialChar menuseparator
9520 \begin_inset space ~
9524 \begin_inset space ~
9529 , introduce el nombre del nuevo archivo, y luego escoge el archivo
9534 Este contempla los campos más habituales presentes en un manuscrito.
9535 Simplemente tienes que sustituir el texto existente (incluyendo las abrazaderas
9540 ) con el texto personal.
9541 Muchos de los comandos y entornos AAS\SpecialChar TeX
9542 se pueden implementar directamente
9545 Comandos como estos deben introducirse directamente en código \SpecialChar TeX
9552 He intentado reducir la cantidad de código \SpecialChar TeX
9553 necesario en documentos AAS\SpecialChar TeX
9557 \begin_layout Subsection
9558 Finalizar el artículo
9561 \begin_layout Standard
9562 Cuando has acabado satisfactoriamente el artículo, y se puede ver/imprimir
9563 correctamente, quedan pendientes algunas acciones de
9564 \begin_inset Quotes cld
9568 \begin_inset Quotes crd
9571 antes de remitir el trabajo.
9574 \begin_layout Enumerate
9575 Exporta el documento a archivo \SpecialChar LaTeX
9578 Archivo\SpecialChar menuseparator
9579 Exportar\SpecialChar menuseparator
9590 \begin_layout Enumerate
9591 Edita el archivo resultante
9595 con tu editor de textos favorito.
9599 \begin_layout Enumerate
9600 quita las líneas de comentario antes del comando
9607 \begin_layout Enumerate
9612 usepackage...{fontenc}
9614 si está (generalmente justo detrás de
9620 }; quita también la línea
9629 \begin_layout Enumerate
9630 quita todo entre los comandos
9642 , ambos incluidos, excepto comandos que hayas puesto específicamente en
9643 el preámbulo (que deberían aparecer inmediatamente después del comentario
9645 \begin_inset Quotes cld
9648 User specified \SpecialChar LaTeX
9650 \begin_inset Quotes crd
9661 \begin_layout Enumerate
9662 Ejecuta el archivo resultante con \SpecialChar LaTeX
9663 para asegurar que se procesa correctamente.
9666 \begin_layout Enumerate
9667 Relee los requerimientos del editor para comprobar que los nombres de los
9668 archivos y los formatos son correctos.
9671 \begin_layout Enumerate
9675 \begin_layout Subsection
9676 Comentarios sobre comandos específicos
9679 \begin_layout Standard
9680 No voy a describir el empleo detallado de los comandos individuales de AAS\SpecialChar TeX
9682 la Guía del Usuario de AAS\SpecialChar TeX
9687 ) da una buena descripción de ellos.
9688 Así que lo más fácil para mí es dar la lista tal como aparece en la guía
9689 y hacer comentarios donde proceda.
9690 Comencemos\SpecialChar ldots
9694 \begin_layout Subsubsection
9695 Cosas que funcionan como es de esperar
9698 \begin_layout Standard
9699 Puesto que funcionan como es de esperar, solo las enumero con la sección
9700 donde se encuentran:
9800 begin{thebibliography}
9808 (2.13.2), todos los comandos de citas y sus variantes (2.13.2), los comandos
9809 genéricos de figuras,
9837 (2.15.4, entre otros sitios),
9864 \begin_layout Standard
9865 Las siguientes opciones de estilo también funcionan:
9886 Simplemente pónlos en el cuadro de
9894 \SpecialChar menuseparator
9902 \begin_layout Subsubsection
9903 Cosas que funcionan, pero\SpecialChar ldots
9907 \begin_layout Standard
9908 Las siguientes opciones funcionan, pero requieren algunas aclaraciones:
9911 \begin_layout Itemize
9912 Las siguientes se reservan para los editores, pero puedes ponerlas en el
9913 preámbulo \SpecialChar LaTeX
9947 \begin_layout Itemize
9948 Estas opciones se pueden situar en el preámbulo \SpecialChar LaTeX
9949 , y se incluyen en blanco
9971 \begin_layout Itemize
9978 (2.3) solo se puede poner separado, no en mitad de un párrafo.
9979 Usa código \SpecialChar TeX
9980 si necesitas empotrarlo.
9983 \begin_layout Itemize
9990 (2.3) tendrá {} extra tras él.
9991 Esto no debería producir error.
9994 \begin_layout Itemize
10001 (2.6) solo se puede poner separado, no en mitad de un párrafo.
10002 Usa código \SpecialChar TeX
10003 si necesitas empotrarlo.
10006 \begin_layout Itemize
10013 (2.8) no puede insertar etiquetas de referencias cruzadas, hay que introducirlo
10017 \begin_layout Itemize
10024 (2.8) igual que para
10031 \begin_layout Itemize
10038 (2.9) tendrá {} extra tras él.
10039 Esto no debería producir error.
10042 \begin_layout Itemize
10049 (2.11) tendrá {} extra tras él.
10050 Esto no debería producir error.
10053 \begin_layout Itemize
10060 (2.14.2) puedes insertar un argumento de nombre opcional situando el cursor
10061 al inicio del texto y seleccionando
10063 Insertar\SpecialChar menuseparator
10068 \begin_inset Quotes cld
10072 \begin_inset Quotes crd
10075 inserta un argumento opcional del tipo necesitado por
10082 Debería ser renombrado algún día.
10086 \begin_layout Itemize
10093 (2.17.1) lo mismo que en
10099 para el parámetro opcional de catálogo ID.
10102 \begin_layout Itemize
10109 (2.17.1) lo mismo que en
10115 para el parámetro opcional de catálogo ID.
10118 \begin_layout Subsubsection
10119 Cosas no implementadas, código \SpecialChar TeX
10123 \begin_layout Standard
10134 setcounter{equation}
10136 (2.12), Journal abreviaciones (2.13.4),
10172 (2.15.4, insertar como primer elemento en la celda izquierda y después donde
10174 No uses ninguna regla de \SpecialChar LyX
10187 (2.15.5), mucho de Misc (2.17, excepto
10238 \begin_layout Subsubsection
10239 Cosas que no pueden implementarse
10242 \begin_layout Standard
10244 al menos de forma significativa, así que sugiero ignorarlas.
10254 Si de verdad necesitas usar
10258 , sugiero editar un archivo aparte con un editor de textos, y luego incluirlo
10259 en el documento \SpecialChar LyX
10262 Insertar\SpecialChar menuseparator
10266 \begin_inset space ~
10281 \begin_layout Subsection
10282 FAQs, consejos, trucos, y otras reflexiones
10285 \begin_layout Subsubsection
10286 Conseguir que \SpecialChar LyX
10287 y AAS\SpecialChar TeX
10291 \begin_layout Standard
10292 Puede ser un poco complicado hacer que \SpecialChar LyX
10293 reconozca un nuevo formato y una
10295 Si todo lo demás falla, haz lo siguiente:
10298 \begin_layout Enumerate
10299 Comprueba que \SpecialChar LaTeX
10300 encuentra a AAS\SpecialChar TeX
10310 ) de la distribución de AAS\SpecialChar TeX
10311 en un directorio totalmente independiente de
10317 AAS\SpecialChar TeX
10318 y ejecuta \SpecialChar LaTeX
10326 \begin_layout Enumerate
10333 /usr/.../share/lyx/layouts
10342 \begin_layout Enumerate
10345 Herramientas\SpecialChar menuseparator
10348 en \SpecialChar LyX
10349 , y reinicia \SpecialChar LyX
10353 \begin_layout Enumerate
10354 Abre un archivo nuevo normal, no desde plantilla.
10355 ¿Aparece AAS\SpecialChar TeX
10356 en la lista desplegable de clases en
10358 Documento\SpecialChar menuseparator
10364 \begin_layout Standard
10365 Si al abrir un documento AAS\SpecialChar TeX
10366 recibes un aviso de que no se encuentra la
10367 clase AAS\SpecialChar TeX
10368 , o un mensaje como
10369 \begin_inset Quotes cld
10372 You should not mix title layouts with normal ones
10373 \begin_inset Quotes crd
10376 , la instalación no ha sido correcta.
10379 \begin_layout Subsubsection
10380 Error de \SpecialChar LaTeX
10381 al procesar un cuadro
10384 \begin_layout Standard
10386 , por omisión, intenta centrar el encabezado/título del cuadro.
10387 Esto parece ocasionar una mala interacción con AAS\SpecialChar TeX
10388 ; entonces debes hacer
10389 clic en algún sitio del encabezado/título, después abrir la
10394 \begin_inset space ~
10402 \begin_inset space ~
10418 En mi caso, esto ha resuelto el problema.
10421 \begin_layout Subsubsection
10425 \begin_layout Standard
10426 Un par de cosas: 1) He observado algunos espacios raros en las entradas
10427 de la bibliografía.
10428 Cuando introduzcas los datos de los ítems de la bibliografía, cuida que
10433 haya espacio entre el último autor y el paréntesis que contiene el año;
10435 \begin_inset space \thinspace{}
10447 2) Introducir las referencias no es nada obvio.
10448 La cosa más fácil es empezar escribiendo tu primera cita al final del documento
10449 , y después marcarla como
10454 Esto pondrá un pequeño recuadro gris delante de lo recién escrito.
10455 Clic en el recuadro para rellenar el resto de la información.
10456 Para nuevas referencias, ve al final de una referencia existente y pulsa
10462 Esto creará una línea nueva con su propio recuadro, etc.
10465 \begin_layout Subsubsection
10466 Incluir archivos EPS
10469 \begin_layout Standard
10470 Aunque AAS\SpecialChar TeX
10471 provee sus propios comandos de gráficos (
10477 , por ejemplo), prefiero los comandos estándar de \SpecialChar LaTeX
10478 (con el predeterminado
10484 Puedes insertar los comandos
10491 \begin_inset space ~
10494 como código \SpecialChar TeX
10495 en una Figura Flotante si lo deseas, pero yo nunca he tenido
10496 la suerte de conseguir un formato correcto.
10497 Con los gráficos estándar, \SpecialChar LyX
10502 usepackage{graphicx}
10504 en el preámbulo \SpecialChar LaTeX
10505 y maneja las figuras de la manera habitual en \SpecialChar LaTeX2e
10507 las figuras en el texto.
10508 Recuerdo que ApJ acepta ahora figuras exactamente de esta forma; AJ podría
10509 usar todavía la técnica
10510 \begin_inset Quotes cld
10513 apilar todo al final
10514 \begin_inset Quotes crd
10520 \begin_layout Subsubsection
10521 Cosas que podría haber hecho, y no he hecho
10524 \begin_layout Standard
10525 Podría haber implementado unas pocas cosas
10526 \begin_inset Quotes cld
10530 \begin_inset Quotes crd
10533 , pero decidí no hacerlo.
10534 Por ejemplo, no veía la utilidad en presentar doble espacio entre líneas
10535 en la ventana de \SpecialChar LyX
10536 , aunque lo tenga en la salida impresa.
10537 También decidí no hacer formatos separados para los estilos
10546 Como supongo que pasas la mayor parte del tiempo en el modo manuscrito
10547 simple, he preferido no comer más espacio de disco con esto.
10551 \begin_layout Subsection
10555 \begin_layout Standard
10556 Tu recorrido puede variar.
10557 He escrito artículos publicados por ApJ y AJ en los que el 98
10558 \begin_inset space \thinspace{}
10561 % de la tarea ha corrido a cuenta de \SpecialChar LyX
10563 \begin_inset space \thinspace{}
10566 % restante ha correspondido a postprocesamiento con \SpecialChar LaTeX
10567 y un poco de limpieza
10569 No he tenido problemas con el procedimiento de envío, y estoy seguro de
10570 que los editores no notaron diferencias.
10571 Así pues, ¡adelante, a publicar!
10574 \begin_layout Section
10575 AMS \SpecialChar LaTeX
10579 \begin_layout Standard
10586 Richard Kimberly Heck
10589 \begin_layout Standard
10590 \begin_inset VSpace bigskip
10596 \begin_layout Standard
10598 Los formatos AMS \SpecialChar LaTeX
10599 están configurados para adaptarse a los estilos recomendados
10602 American Mathematical Society
10604 para sus publicaciones.
10605 Estos formatos no están definidos para una revista en particular, pero
10606 se pueden adaptar fácilmente.
10607 En la documentación de AMS (disponible en
10608 \begin_inset Flex URL
10611 \begin_layout Plain Layout
10619 \begin_inset Flex URL
10622 \begin_layout Plain Layout
10624 ftp://ftp.ams.org/pub/tex/amslatex/
10629 ) encontrarás instrucciones específicas para cada publicación (generalmente
10630 será cuestión de cambiar una simple línea).
10631 Estos formatos son apropiados, y útiles, para cualquier escrito de matemáticas.
10634 \begin_layout Standard
10636 Hay dos formatos básicos AMS \SpecialChar LaTeX
10640 \begin_layout Itemize
10641 amsart: formato estándar de artículo AMS
10644 \begin_layout Itemize
10645 amsbook: formato estándar de libro AMS (en realidad, monografía)
10648 \begin_layout Standard
10649 Los formatos por sí mismos solo contienen el mínimo necesario para usar
10651 En particular, no contienen ninguno de los entornos 'teorema' utilizados
10652 para establecer teoremas, lemas y demás.
10653 Estos se encuentran, en cambio, en el módulo
10654 \begin_inset Flex Code
10657 \begin_layout Plain Layout
10663 , que se carga por omisión cuando seleccionas una de las clases AMS.
10664 (Además se puede usar con otras clases y se puede quitar, si prefieres
10666 Hay entornos menos utilizados en el módulo
10667 \begin_inset Flex Code
10670 \begin_layout Plain Layout
10671 Teoremas (AMS-Extendido)
10676 , que se debe cargar a mano.
10679 \begin_layout Standard
10680 Por omisión, los teoremas y demás se numeran consecutivamente a lo largo
10681 del documento, pero esto se puede modificar cargando el módulo
10682 \begin_inset Flex Code
10685 \begin_layout Plain Layout
10686 Teoremas (por secciones)
10692 \begin_inset Flex Code
10695 \begin_layout Plain Layout
10702 \begin_inset Flex Code
10705 \begin_layout Plain Layout
10706 Teoremas (por capítulos)
10712 Estos numerarán los resultados como
10713 \begin_inset Formula $n.m$
10716 , donde el primer número se refiere a la sección (o capítulo) y el segundo
10717 al número total de resultados hasta ese momento en la sección (o capítulo).
10718 Muchos entornos también están disponibles sin numeración.
10719 Estos se indican mediante un asterisco al final.
10720 Si es el caso que quieres
10724 resultados sin numerar, el módulo
10725 \begin_inset Flex Code
10728 \begin_layout Plain Layout
10729 Teoremas (asterisco)
10734 proporciona esta opción.
10737 \begin_layout Standard
10738 Hay que tener en cuenta que estos módulos no
10742 utilizarse con las clases AMS.
10743 Es perfectamente posible usar el módulo
10744 \begin_inset Flex Code
10747 \begin_layout Plain Layout
10753 y los otros mencionados con otras clases, como
10754 \begin_inset Flex Code
10757 \begin_layout Plain Layout
10764 \begin_inset Flex Code
10767 \begin_layout Plain Layout
10774 \begin_inset Flex Code
10777 \begin_layout Plain Layout
10786 \begin_layout Subsection
10787 Qué proporcionan estos formatos
10790 \begin_layout Standard
10791 Estos formatos proporcionan una larga lista de entornos incluidos.
10792 En AMS-\SpecialChar LaTeX
10793 se puede definir, de hecho, una variedad ilimitada de entornos
10795 Sin embargo AMS recomienda utilizar los entornos que están disponibles
10796 en \SpecialChar LyX
10801 \begin_layout Standard
10802 Los siguientes entornos —así como los entornos estándar como
10803 \begin_inset Flex Noun
10806 \begin_layout Plain Layout
10813 \begin_inset Flex Noun
10816 \begin_layout Plain Layout
10823 \begin_inset Flex Noun
10826 \begin_layout Plain Layout
10833 \begin_inset Flex Noun
10836 \begin_layout Plain Layout
10843 \begin_inset Flex Noun
10846 \begin_layout Plain Layout
10852 — son suministrados por
10853 \begin_inset Flex Code
10856 \begin_layout Plain Layout
10863 \begin_inset Flex Code
10866 \begin_layout Plain Layout
10875 \begin_layout Description
10876 Dirección Esto debería ser la dirección permanente del autor.
10879 \begin_layout Description
10881 \begin_inset space ~
10884 actual Debería ser la dirección provisional del autor en el momento de la
10885 presentación, si es diferente de la Dirección.
10888 \begin_layout Description
10890 \begin_inset space ~
10893 electrónico Dirección de correo electrónico del autor.
10896 \begin_layout Description
10897 URL Dirección de la página web del autor, si se quiere.
10900 \begin_layout Description
10901 Claves Palabras o frases claves usadas para identificar temas específicos
10902 tratados en el artículo.
10905 \begin_layout Description
10906 ClaseTema Se refiere a la Clasificación de temas de AMS, publicada y descrita
10909 Mathematical Reviews
10912 También están disponibles en línea en los sitios AMS citados arriba.
10915 \begin_layout Description
10919 \begin_layout Description
10923 \begin_layout Description
10927 \begin_layout Standard
10928 Los siguientes entornos son suministrados por ambos módulos
10929 \begin_inset Flex Code
10932 \begin_layout Plain Layout
10939 \begin_inset Flex Code
10942 \begin_layout Plain Layout
10948 , en el segundo caso en ambas versiones no numerada (asterisco) y numerada
10950 Estos mismos entornos son suministrados solo en la versión con asterisco
10952 \begin_inset Flex Code
10955 \begin_layout Plain Layout
10956 Teoremas (asterisco)
10964 \begin_layout Theorem
10965 Se usa típicamente para declaraciones fundamentales.
10968 \begin_layout Corollary*
10969 Se usa para declaraciones que se siguen justa y directamente de declaraciones
10971 De nuevo, pueden ser resultados fundamentales.
10975 \begin_layout Lemma
10976 Resultados de menor importancia necesarios para probar otras declaraciones.
10979 \begin_layout Proposition
10980 Son resultados menos importantes que (es de esperar) se añaden a la teoría
10981 general en discusión.
10984 \begin_layout Conjecture
10985 Son afirmaciones propuestas sin justificación, que el autor no sabe como
10986 probar, pero que parecen ser ciertas (al menos para el autor).
10989 \begin_layout Definition*
10990 Adivina para qué es esto.
10991 La letra es distinta en este entorno que en los anteriores.
10994 \begin_layout Example*
10995 Se usa para ejemplos que ilustran resultados probados.
10998 \begin_layout Problem
10999 Realmente no se sabe para qué es esto.
11003 \begin_layout Exercise*
11004 Escribe una descripción para esto.
11007 \begin_layout Remark
11008 Este entorno es también un tipo de teorema, generalmente un tipo menor de
11012 \begin_layout Claim*
11013 Usada a menudo en el curso de una demostración de un resultado más amplio.
11017 Generalmente se usan para interrumpir argumentos largos, usando casos específico
11018 s de alguna condición.
11022 El esquema de numeración de casos es propio, independiente de otras declaracione
11026 \begin_layout Proof
11027 Al final de este entorno se coloca un símbolo QED (generalmente un cuadrado,
11028 aunque puede variar con estilos diferentes).
11029 Si quieres tener otros entornos dentro de este —por ejemplo, un entorno
11030 Caso— y quieres que el símbolo QED aparezca solo tras ellos, entonces los
11031 demás entornos tienen que anidarse dentro del entorno demostración.
11034 Anidación de entornos
11040 para información sobre anidación.
11043 \begin_layout Standard
11044 Y estos son los entornos suministrados por
11045 \begin_inset Flex Code
11048 \begin_layout Plain Layout
11049 Teoremas (AMS extendido)
11057 \begin_layout Criterion*
11058 Una condición requerida.
11061 \begin_layout Algorithm*
11062 Un procedimiento general a utilizar.
11065 \begin_layout Axiom*
11066 Esto es una propiedad o declaración tomada como verdadera dentro del sistema
11070 \begin_layout Condition*
11071 Utilizado a veces para establecer una condición asumida en el presente contexto
11075 \begin_layout Note*
11076 Similar a Observación.
11079 \begin_layout Notation*
11080 Usado para la explicación de una notación, sí.
11083 \begin_layout Summary
11084 ¿Necesitamos explicarlo?
11087 \begin_layout Acknowledgement*
11091 \begin_layout Conclusion*
11092 Usado a veces al final de una larga cadena de argumentos.
11096 Se usa en forma parecida a Proposición, aunque quizá a una menor escala.
11099 \begin_layout Standard
11100 Además, Las clases AMS suministran automáticamente los paquetes de tipografía
11101 AMS \SpecialChar LaTeX
11103 Deben estar disponibles en tu sistema para usar estos entornos.
11106 \begin_layout Section
11110 \begin_layout Standard
11116 \begin_layout Subsection
11120 \begin_layout Standard
11121 Broadway se usa para escribir guiones teatrales.
11122 El formato es más decorativo que el de Hollywood, y mucho menos normalizado.
11123 Este formato debería ser adecuado para los lugares de trabajo.
11126 \begin_layout Subsection
11127 Problemas especiales
11130 \begin_layout Standard
11131 Los mismos que en el caso de
11138 \begin_layout Subsection
11139 Características especiales
11142 \begin_layout Standard
11143 Introduce los nombres de los personajes
11147 como etiquetas, después haz una referencia cruzada a la etiqueta para insertar
11149 El diálogo de referencia cruzada mostrará el conjunto de personajes.
11152 \begin_layout Subsection
11153 Tamaño del papel y márgenes
11156 \begin_layout Standard
11157 USLetter, izquierdo 1.6
11158 \begin_inset space \thinspace{}
11162 \begin_inset space \thinspace{}
11166 \begin_inset space \thinspace{}
11170 \begin_inset space \thinspace{}
11176 \begin_layout Subsection
11180 \begin_layout Standard
11181 Están disponibles los entornos siguientes.
11182 Los atajos de teclado indicados a la derecha funcionan con el archivo
11189 \begin_layout Itemize
11193 \begin_inset Newline newline
11198 No deberías necesitarlo, pero está por si alguna cosa no cuadra en ninguno
11199 de los demás entornos.
11202 \begin_layout Itemize
11206 \begin_inset space \hfill{}
11210 \begin_inset Newline newline
11215 Se usa para la descripción del escenario y de la acción.
11216 La primera aparición de un personaje en MAYÚSCULAS.
11219 \begin_layout Itemize
11223 \begin_inset space \hfill{}
11227 \begin_inset Newline newline
11232 Automáticamente numerado.
11233 En pantalla se verá en números arábigos, pero se imprimirá en números romanos.
11236 \begin_layout Itemize
11240 \begin_inset space \hfill{}
11244 \begin_inset Newline newline
11257 \begin_layout Itemize
11261 \begin_inset space \hfill{}
11265 \begin_inset Newline newline
11270 No es automáticamente numerado, debes ponerlo.
11271 Esto es porque no he sabido cómo hacerlo.
11274 \begin_layout Itemize
11278 \begin_inset space \hfill{}
11282 \begin_inset Newline newline
11287 Un caso especial de
11291 para describir el escenario y la acción cuando se levanta el telón.
11294 \begin_layout Itemize
11298 \begin_inset space \hfill{}
11302 \begin_inset Newline newline
11307 El nombre del personaje (del actor), centrado, en MAYÚSCULAS.
11310 \begin_layout Itemize
11314 \begin_inset space \hfill{}
11318 \begin_inset Newline newline
11323 Instrucciones para el portavoz.
11324 Los paréntesis se insertan automáticamente.
11325 Solo ( se muestra en pantalla, pero se imprimirán ambos.
11326 Este entorno solo se usa dentro del entorno
11333 \begin_layout Itemize
11337 \begin_inset space \hfill{}
11341 \begin_inset Newline newline
11346 Lo que dice el personaje portavoz.
11349 \begin_layout Itemize
11353 \begin_inset space \hfill{}
11357 \begin_inset Newline newline
11365 \begin_layout Itemize
11369 \begin_inset space \hfill{}
11375 \begin_layout Itemize
11379 \begin_inset space \hfill{}
11385 \begin_layout Itemize
11389 \begin_inset space \hfill{}
11395 \begin_layout Standard
11396 Un saludo para todos.
11399 \begin_layout Section
11403 \begin_layout Standard
11404 La clase de documento
11408 sirve para escribir cartas de acuerdo con las convenciones alemanas.
11409 Se incluye un archivo modelo como punto de partida, en
11411 .../lyx/share/templates
11416 \begin_layout Section
11417 Publicaciones de Elsevier
11420 \begin_layout Standard
11421 Véase el archivo de plantilla de \SpecialChar LyX
11427 Contiene la información necesaria.
11430 \begin_layout Section
11440 \begin_inset CommandInset label
11449 \begin_layout Standard
11455 \begin_layout Subsection
11459 \begin_layout Standard
11460 En esta sección se describe cómo hacer transparencias para proyectores con
11463 Hay dos clases de documento que permiten hacerlas: la clase predeterminada
11477 Esta sección se ocupa de esta última.
11480 \begin_layout Standard
11481 Repito de nuevo alto y claro, para que no haya equívocos:
11484 \begin_layout Standard
11485 \begin_inset VSpace bigskip
11491 \begin_layout Standard
11500 \begin_inset space ~
11511 \begin_layout Standard
11512 \begin_inset VSpace bigskip
11518 \begin_layout Standard
11519 Si buscas la documentación para
11524 \begin_inset space ~
11528 \begin_inset CommandInset ref
11530 reference "sec:slitex"
11535 Si tu sistema no dispone de la clase
11539 , tendrás que usar la clase
11543 , que no es tan buena como
11548 \begin_layout Standard
11553 está diseñada para usar con la versión
11554 \begin_inset space ~
11557 2.1 de la clase \SpecialChar LaTeX
11562 , que forma parte de \SpecialChar LaTeX2e
11566 \begin_layout Subsection
11570 \begin_layout Standard
11571 Obviamente, para usar esta clase, debes seleccionar
11577 Documento\SpecialChar menuseparator
11581 Algunas de las configuraciones de este diálogo son específicas de esta
11582 clase y deberían quedar así:
11585 \begin_layout Itemize
11586 No cambies las opciones
11595 No se tienen en cuenta por la clase
11602 \begin_layout Itemize
11603 El tamaño de letra por omisión es 20
11604 \begin_inset space \thinspace{}
11607 pt, y las otras opciones son 17
11608 \begin_inset space \thinspace{}
11612 \begin_inset space \thinspace{}
11616 \begin_inset space \thinspace{}
11622 \begin_layout Itemize
11623 La tipografía predeterminada es
11631 , pero en las ecuaciones matemáticas se usa la habitual fuente romana.
11634 \begin_layout Itemize
11640 soporta los tamaños de papel A4 y Letter, así como un tamaño especial para
11641 trabajar con diapositivas de 35
11642 \begin_inset space \thinspace{}
11646 No soporta los tamaños A5, B5, legal o executive.
11649 \begin_layout Itemize
11650 No enredes cambiando la colocación de flotantes porque se ignoran en todo
11652 Los flotantes aparecen siempre en el lugar del texto donde se pongan.
11655 \begin_layout Itemize
11656 La configuración del
11659 \begin_inset space ~
11663 \begin_inset space ~
11668 funciona un poco distinto para esta clase.
11674 proporciona amplias capacidades para el encabezado y el pie, incluyendo
11675 el uso de logos personalizados.
11677 \begin_inset space ~
11681 \begin_inset CommandInset ref
11683 reference "sec:foilfoot"
11688 La página de título se trata de manera diferente a las demás páginas,
11696 pone el logo, (si se define uno), centrado en la parte inferior de la página.
11697 Las opciones posibles de estilo de página son:
11701 \begin_layout Labeling
11702 \labelwidthstring MMMMMMM
11709 El documento de salida no contiene números de página, ni encabezados ni
11710 pies (excepto notas al pie, claro).
11714 \begin_layout Labeling
11715 \labelwidthstring MMMMMMM
11722 La salida contiene números de página centrados en la parte inferior.
11723 No contiene encabezados ni pies (que no sean notas).
11726 \begin_layout Labeling
11727 \labelwidthstring MMMMMMM
11734 Números de página en la esquina inferior derecha.
11735 Además se muestran encabezados y pies.
11736 Esta es la opción por omisión.
11739 \begin_layout Labeling
11740 \labelwidthstring MMMMMMM
11747 Da acceso al paquete
11756 desaconseja su empleo a causa de potenciales conflictos con el diseño de
11761 \begin_layout Subsubsection
11765 \begin_layout Standard
11768 Documento\SpecialChar menuseparator
11771 se pueden poner las siguientes opciones extras:
11774 \begin_layout Labeling
11775 \labelwidthstring MMMMMMx
11780 Establece el formato de papel en 7.33
11781 \begin_inset space \thinspace{}
11785 \begin_inset space \thinspace{}
11788 in, que es aproximadamente el aspecto de una diapositiva de 35
11789 \begin_inset space \thinspace{}
11792 mm, Haciendo algo más fácil trabajar con este soporte.
11795 \begin_layout Labeling
11796 \labelwidthstring MMMMMMx
11801 Dibuja una línea bajo el encabezado en cada página excepto la de título.
11804 \begin_layout Labeling
11805 \labelwidthstring MMMMMMx
11810 Dibuja una línea sobre el pie de cada página excepto la de título.
11813 \begin_layout Labeling
11814 \labelwidthstring MMMMMMx
11819 Esto se configura automáticamente con cada nuevo documento
11829 que use el driver dvips para girar las páginas establecidas en modo apaisado.
11832 \begin_layout Labeling
11833 \labelwidthstring MMMMMMx
11838 Simplemente cambia las dimensiones de las páginas apaisadas pero no haceninguna
11840 Por tanto si usas esta opción necesitas un programa externo para rotar
11841 las páginas y alimentar la impresora en modo apaisado.
11842 Ten en cuenta que esta opción invierte los comportamientos de los entornos
11851 (que se describen en la siguiente sección).
11854 \begin_layout Labeling
11855 \labelwidthstring MMMMMMx
11860 Números de ecuación a la izquierda.
11863 \begin_layout Labeling
11864 \labelwidthstring MMMMMMx
11869 Ecuaciones ajustadas a la izquierda.
11872 \begin_layout Subsection
11873 Entornos soportados
11876 \begin_layout Standard
11877 La mayoría de los entornos habitualmente soportados en otras clases lo son
11878 también por la clase
11883 Hay varios entornos adicionales suministrados por
11888 así como un par añadidos por \SpecialChar LyX
11890 Los entornos siguientes son compartidos con otras clases:
11893 \begin_layout Standard
11894 \begin_inset Flex Multiple Columns
11897 \begin_layout Itemize
11903 \begin_layout Itemize
11909 \begin_layout Itemize
11915 \begin_layout Itemize
11921 \begin_layout Itemize
11927 \begin_layout Itemize
11930 Código-\SpecialChar LyX
11934 \begin_layout Itemize
11940 \begin_layout Itemize
11946 \begin_layout Itemize
11952 \begin_layout Itemize
11958 \begin_layout Itemize
11964 \begin_layout Itemize
11970 \begin_layout Itemize
11976 \begin_layout Itemize
11982 \begin_layout Itemize
11988 \begin_layout Itemize
11999 \begin_layout Standard
12000 Esto es, todos los entornos principales aparte de los entornos de secciones.
12005 contiene sus propias secciones, con un título y un cuerpo,
12010 proporciona comandos específicos para comenzar nuevas diapositivas, y son:
12013 \begin_layout Itemize
12016 Encabezado_Diapositiva
12019 \begin_layout Itemize
12022 Encabezado_Diapositiva_Giro
12025 \begin_layout Standard
12026 Además, \SpecialChar LyX
12027 provee versiones ligeramente modificadas de estos dos entornos,
12031 \begin_layout Itemize
12034 Encabezado_Diapositiva_Corto
12037 \begin_layout Itemize
12040 Encabezado_Diapositiva_Giro_Corto
12043 \begin_layout Standard
12044 cuyas diferencias serán explicadas en la siguiente sección.
12047 \begin_layout Standard
12048 Puesto que las diapositivas se emplean con frecuencia para presentaciones
12049 de ideas, teoremas y demás,
12054 proporciona además una extensa colección de entornos para estas cosas:
12057 \begin_layout Standard
12060 \begin_inset Flex Multiple Columns
12063 \begin_layout Itemize
12069 \begin_layout Itemize
12075 \begin_layout Itemize
12081 \begin_layout Itemize
12087 \begin_layout Itemize
12093 \begin_layout Itemize
12099 \begin_layout Itemize
12105 \begin_layout Itemize
12111 \begin_layout Itemize
12117 \begin_layout Itemize
12123 \begin_layout Itemize
12134 \begin_layout Standard
12135 Las versiones con asterisco son sin numeración y sin asterisco con numeración.
12136 Además hay dos entornos de lista añadidos por \SpecialChar LyX
12140 \begin_layout Itemize
12146 \begin_layout Itemize
12152 \begin_layout Standard
12158 proporciona algunas capacidades poderosas para encabezados y pies, que
12159 es mejor configurar en el preámbulo, aunque se puede hacer en cualquier
12160 lugar del documento.
12161 Si quieres hacerlo así, el mejor sitio es hacerlo al principio de una diapositi
12162 va, justo detrás del encabezado de la misma.
12165 \begin_layout Standard
12166 Para este propósito se suministran los siguientes estilos [
12173 \begin_layout Standard
12174 \begin_inset Flex Multiple Columns
12177 \begin_layout Itemize
12183 \begin_layout Itemize
12189 \begin_layout Itemize
12195 \begin_layout Itemize
12201 \begin_layout Itemize
12204 Encabezado_Izquierdo
12208 \begin_layout Plain Layout
12209 \begin_inset space ~
12221 \begin_layout Standard
12222 Hay algunos comandos de
12227 que \SpecialChar LyX
12228 no soporta directamente, pero se explica su función y su empleo en
12230 \begin_inset space ~
12234 \begin_inset CommandInset ref
12236 reference "sec:unsuppfoils"
12243 \begin_layout Subsection
12244 Diseño de una colección de diapositivas
12247 \begin_layout Standard
12248 Esta sección da una simple introducción a los diferentes entornos para construir
12249 una colección de diapositivas.
12254 ver un ejemplo echa un vistazo al archivo
12258 , accesible desde el botón
12264 Archivo\SpecialChar menuseparator
12268 \begin_layout Subsubsection
12272 \begin_layout Standard
12273 A diferencia de otras clases que proporcionan los entornos
12293 crea el título en una página propia.
12294 Si no pones entorno
12299 pondrá la fecha actual (cada vez que generes salida).
12302 \begin_layout Subsubsection
12303 Comenzar una diapositiva
12306 \begin_layout Standard
12307 Como mencioné antes, hay cuatro maneras de empezar una nueva diapositiva.
12308 Para la portada deberías usar
12311 \begin_inset space ~
12319 \begin_inset space ~
12323 \begin_inset space ~
12329 La diferencia entre estos es la cantidad de espacio entre el título (el
12330 encabezado) y el cuerpo de la diapositiva.
12333 \begin_layout Standard
12334 Las diapositivas apaisadas se generan con los entornos
12337 \begin_inset space ~
12341 \begin_inset space ~
12349 \begin_inset space ~
12353 \begin_inset space ~
12357 \begin_inset space ~
12363 De nuevo, la única diferencia es el espacio entre encabezado y cuerpo.
12364 Las dos versiones cortas ponen 0.5 pulgadas menos de separación.
12368 \begin_layout Standard
12369 Un problema con el soporte de las diapositivas apaisadas es el requerimiento
12370 de que debes usar el driver
12374 para generar la salida PostScript, si no las diapositivas no se giran.
12375 Es posible conseguir orientación apaisada incluso si no dispones de
12379 driver al configurar la salida a través de la impresora ;-)
12382 \begin_layout Subsubsection
12383 Teoremas, lemas, demostraciones y más
12386 \begin_layout Standard
12387 No puedes poner seguidos dos de estos entornos del mismo tipo.
12390 If you use a normal paragraph break, you will just be extending the previous
12391 environment as if you had merged the two environments together.
12394 \begin_layout Subsubsection
12398 \begin_layout Standard
12399 Dispones de todos los tipos de listas habituales en otras clases más dos
12401 Solo describiré estas últimas.
12402 Para más información sobre los demás entornos de listas mira la
12407 Si piensas usar el entorno
12414 podrías mirar también en la sección
12415 \begin_inset space ~
12419 \begin_inset CommandInset ref
12421 reference "sec:Marcas"
12425 la descripción de la Selección de Marcas de Listas.
12428 \begin_layout Standard
12429 Los dos estilos nuevos de lista,
12432 \begin_inset space ~
12442 \begin_inset space ~
12449 , están diseñadas para facilitar la creación de listas del tipo
12450 \begin_inset Quotes cld
12454 \begin_inset Quotes crd
12458 \begin_inset Quotes cld
12462 \begin_inset Quotes crd
12465 suministrando entornos dedicados que ponen una señal o una cruz como etiqueta.
12466 De hecho, estas listas son versiones particularizadas del entorno
12475 debe estar instalado.
12478 \begin_layout Subsubsection
12482 \begin_layout Standard
12488 redefine los flotantes de figuras y cuadros para que aparezcan exactamente
12489 en su lugar en el texto más bien que al principio de la página o en alguna
12491 De hecho, si haces cambios en la colocación de los flotantes no serán tenidos
12495 \begin_layout Subsubsection
12496 Encabezados y pies de página
12497 \begin_inset CommandInset label
12499 name "sec:foilfoot"
12506 \begin_layout Standard
12510 \begin_inset space ~
12519 son comandos usados para controlar el texto del pie izquierdo de la página.
12520 El primero permite incluir un logotipo gráfico en las transparencias; por
12521 omisión se imprime el logotipo
12522 \begin_inset Quotes cld
12531 \begin_inset Quotes crd
12535 El segundo permite poner una clasificación para los asistentes, p.
12536 \begin_inset space \thinspace{}
12540 \begin_inset space ~
12544 Está vacío por omisión.
12547 \begin_layout Standard
12548 Las restantes esquinas de la página se pueden completar con
12551 \begin_inset space ~
12556 (por omisión los números de página),
12559 \begin_inset space ~
12567 \begin_inset space ~
12572 (arriba izquierda).
12575 \begin_layout Subsection
12582 \begin_inset CommandInset label
12584 name "sec:unsuppfoils"
12591 \begin_layout Standard
12592 Todos los comandos mencionados a continuación deben ponerse en un entorno
12594 , o en modo \SpecialChar TeX
12595 dentro de otro entorno.
12598 \begin_layout Subsubsection
12602 \begin_layout Standard
12603 Todas las longitudes se ajustan con el comando:
12606 \begin_layout Standard
12626 \begin_inset Newline newline
12633 es el nombre de la variable de longitud que se quiere cambiar y
12637 es el valor deseado para esa longitud.
12638 Las longitudes deben expresarse en unidades como pulgadas (
12654 o en unidades relativas a la dimensión de alguna parte del deocumento,
12665 \begin_layout Standard
12666 Es posible cambiar el espacio entre el encabezado y el cuerpo de una transparenc
12667 ia especificando una longitud con
12674 Por ejemplo, para acercar todos los encabezados al cuerpo en 0.5 pulgadas,
12675 pon en el preámbulo:
12681 foilheadskip}{-0.5in}
12684 \begin_layout Standard
12685 Los espacios alrededor de los flotantes se ajustan con las siguientes variables
12689 \begin_layout Labeling
12690 \labelwidthstring MMMMMMMMMMM
12697 Separación entre el texto y la parte superior del flotante;
12700 \begin_layout Labeling
12701 \labelwidthstring MMMMMMMMMMM
12708 Separación entre el flotante y el encabezado;
12711 \begin_layout Labeling
12712 \labelwidthstring MMMMMMMMMMM
12719 Separación entre el encabezado y el texto siguiente;
12722 \begin_layout Labeling
12723 \labelwidthstring MMMMMMMMMMM
12730 Para poner encabezados más estrechos que el texto circundante.
12731 Lo mejor es definirlo en función de
12740 \begin_layout Standard
12741 Hay otras longitudes relativas a la página de título que te pueden ser útiles
12742 en el caso de títulos largos o de varios autores::
12745 \begin_layout Labeling
12746 \labelwidthstring MMMMMMMMMMM
12753 Separación entre los encabezamientos y el
12758 \begin_layout Labeling
12759 \labelwidthstring MMMMMMMMMMM
12775 \begin_layout Labeling
12776 \labelwidthstring MMMMMMMMMMM
12783 entre varias líneas de
12788 \begin_layout Labeling
12789 \labelwidthstring MMMMMMMMMMM
12805 \begin_layout Labeling
12806 \labelwidthstring MMMMMMMMMMM
12822 \begin_layout Standard
12823 Esta última variable de longitud afecta a todos los entornos de listas.
12834 de un entorno de lista, se suprimen todos los espacios verticales entre
12835 los ítems de la lista.
12836 Ten en cuenta que este es un comando, no una variable de longitud, así
12843 como las variables mencionadas antes.
12846 \begin_layout Subsubsection
12847 Encabezamientos y pies
12850 \begin_layout Standard
12863 controlan si el logotipo definido en
12867 aparece o no en una página dada.
12874 en el preámbulo, ninguna de las transparencias tendrá logotipo.
12875 Si no quieres poner el logotipo en cierta página,
12885 directamente detrás del principio de la página y
12891 directamente detrás del comienzo de la siguiente.
12894 \begin_layout Standard
12895 Si decides poner estilo de página
12901 Documento\SpecialChar menuseparator
12904 deberías seguramente añadir
12914 al preámbulo para que los encabezamientos y pies en páginas apaisadas se
12915 sitúen correctamente.
12916 Esto es debido a ciertas incompatibilidades entre el formato de página
12917 impuesto por el paquete que
12928 \begin_layout Section
12929 Hollywood (Guiones de Hollywood)
12932 \begin_layout Standard
12938 \begin_layout Subsection
12942 \begin_layout Standard
12943 Dar formato a un guión de Hollywood es un
12944 \begin_inset Quotes cld
12948 \begin_inset Quotes crd
12952 Está diseñado para que los lectores se centren en el contenido y resulte
12953 familiar y fácil de leer por los actores.
12954 Cada página de un guión debería representar un minuto de película.
12955 En el guión no hay nada que no veas u oigas en la pantalla.
12956 Debe emplearse el tipo de letra courier 12
12957 \begin_inset space \thinspace{}
12960 pt en todo el guión.
12964 \begin_layout Subsection
12965 Detalles particulares
12968 \begin_layout Standard
12969 Las palabras de un diálogo NUNCA se cortan a final de línea.
12974 debe continuar tras un salto de página, se repite el nombre del mismo (
12981 \begin_layout Subsection
12982 Características especiales
12985 \begin_layout Standard
12986 Introduce los nombres de los personajes
12990 como etiquetas, después haz una referencia cruzada a la etiqueta para insertar
12992 El diálogo de referencia cruzada mostrará el conjunto de personajes.
12993 Esto lo puedes usar también para introducir el nombre de un personaje en
12994 las partes narrativas.
12997 \begin_layout Subsection
12998 Tamaño del papel y márgenes
13001 \begin_layout Standard
13002 USLetter, izquierdo 1.6
13003 \begin_inset space \thinspace{}
13007 \begin_inset space \thinspace{}
13011 \begin_inset space \thinspace{}
13015 \begin_inset space \thinspace{}
13021 \begin_layout Subsection
13025 \begin_layout Standard
13026 Los siguientes entornos están disponibles.
13031 para disponer de los atajos de teclado indicados a la derecha.
13034 \begin_layout Itemize
13038 \begin_inset Newline newline
13043 Para el caso de que no convenga ningún otro.
13047 \begin_layout Itemize
13053 \begin_inset space \hfill{}
13061 \begin_inset Newline newline
13064 Generalmente seguido de algo como
13065 \begin_inset Quotes cld
13068 al levantarse Sally.
13069 \begin_inset Quotes crd
13075 \begin_layout Itemize
13083 \begin_inset space \hfill{}
13087 \begin_inset Newline newline
13092 Introduce una nueva secuencia en INTERIOR.
13093 Seguido siempre de DÍA o NOCHE, o algo similar para definir la iluminación
13095 Esta línea, toda en MAYÚSCULAS.
13098 \begin_layout Itemize
13106 \begin_inset space \hfill{}
13110 \begin_inset Newline newline
13115 Introduce una nueva secuencia en EXTERIOR.
13116 Esta línea, toda en MAYÚSCULAS.
13119 \begin_layout Itemize
13123 \begin_inset space \hfill{}
13127 \begin_inset Newline newline
13132 El personaje que habla.
13135 \begin_layout Itemize
13139 \begin_inset space \hfill{}
13143 \begin_inset Newline newline
13148 Instrucciones para el personaje portavoz.
13149 Los () se insertan automáticamente.
13152 \begin_layout Itemize
13160 \begin_inset space \hfill{}
13164 \begin_inset Newline newline
13169 Lo que dice el personaje.
13172 \begin_layout Itemize
13176 \begin_inset space \hfill{}
13180 \begin_inset Newline newline
13185 Instrucciones para el movimiento de cámara, p.
13186 \begin_inset space \thinspace{}
13190 \begin_inset space ~
13196 \begin_layout Itemize
13199 DESAPARICIÓN_GRADUAL:
13200 \begin_inset space \hfill{}
13206 \begin_layout Itemize
13210 \begin_inset space \hfill{}
13216 \begin_layout Itemize
13220 \begin_inset space \hfill{}
13226 \begin_layout Itemize
13230 \begin_inset space \hfill{}
13236 \begin_layout Subsection
13240 \begin_layout Itemize
13241 (O.S) — off screen (fuera de pantalla)
13244 \begin_layout Itemize
13245 (V.0) — voice over (voz en off)
13248 \begin_layout Itemize
13253 \begin_layout Itemize
13255 — close-up (primer plano)
13258 \begin_layout Itemize
13259 PAN — movimiento de cámara
13262 \begin_layout Itemize
13263 INSERT — pasa a primer plano
13266 \begin_layout Section
13270 \begin_layout Standard
13273 Panayotis Papasotiriou
13276 \begin_layout Subsection
13280 \begin_layout Standard
13285 es una colección de macros que facilitan la presentación de manuscritos
13288 International Journal of Modern Physics C
13291 Igualmente, el paquete
13295 sirve para escribir artículos para
13297 International Journal of Modern Physics D
13300 Ambas revistas son editadas por
13305 Las correspondientes clases de documento se llaman
13314 Estos archivos, junto con las instrucciones de los autores, se pueden descargar
13316 \begin_inset Flex URL
13319 \begin_layout Plain Layout
13321 http://www.worldscinet.com/ijmpc/mkt/guidelines.shtml
13327 \begin_inset Flex URL
13330 \begin_layout Plain Layout
13332 http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml
13338 Ambos paquetes son versiones modificadas del paquete estándar
13342 , y son casi idénticos.
13343 La mayor parte de sus características son soportadas en \SpecialChar LyX
13345 He utilizado \SpecialChar LyX
13346 con éxito para escribir artículos para ambas revistas sin
13350 \begin_layout Subsection
13351 Escribir un artículo
13354 \begin_layout Standard
13355 Como es habitual, la forma más fácil de escribir un artículo es partiendo
13359 Archivo\SpecialChar menuseparator
13360 Nuevo desde plantilla
13362 , y elige una plantilla
13371 Así se muestra un documento casi vacío que incluye los campos más habituales
13373 Simplemente sobreescribe el texto (incluyendo abrazaderas <>) con el tuyo.
13374 Debes tener en cuenta los siguientes puntos:
13377 \begin_layout Enumerate
13379 no permite el cambio del tamaño de letra ni del estilo de página porque
13380 estos paquetes no lo permiten.
13383 \begin_layout Enumerate
13384 No debería cambiarse el lenguaje del documento.
13385 Antes de ver tu artículo, asegúrate
13387 que no está cargado el paquete babel.
13394 \SpecialChar menuseparator
13405 \begin_inset Quotes eld
13409 \begin_inset Quotes erd
13419 \begin_layout Enumerate
13421 \begin_inset Quotes cld
13425 \begin_inset Quotes crd
13428 se debe utilizar para definir palabras-clave.
13431 \begin_layout Enumerate
13436 provee un estilo llamado
13437 \begin_inset Quotes cld
13440 Classification Codes
13441 \begin_inset Quotes crd
13444 , que se puede usar para definir códigos de clasificación, como números
13446 Esta facilidad no es soportada por el paquete
13453 \begin_layout Enumerate
13454 Hay varios entornos nuevos disponibles:
13455 \begin_inset Quotes cld
13459 \begin_inset Quotes crd
13463 \begin_inset Quotes cld
13467 \begin_inset Quotes crd
13471 \begin_inset Quotes cld
13475 \begin_inset Quotes crd
13479 \begin_inset Quotes cld
13483 \begin_inset Quotes crd
13487 \begin_inset Quotes cld
13491 \begin_inset Quotes crd
13495 \begin_inset Quotes cld
13499 \begin_inset Quotes crd
13503 \begin_inset Quotes cld
13507 \begin_inset Quotes crd
13511 \begin_inset Quotes cld
13515 \begin_inset Quotes crd
13519 \begin_inset Quotes cld
13523 \begin_inset Quotes crd
13527 \begin_inset Quotes cld
13531 \begin_inset Quotes crd
13535 \begin_inset Quotes cld
13539 \begin_inset Quotes crd
13543 \begin_inset Quotes cld
13547 \begin_inset Quotes crd
13551 \begin_inset Quotes cld
13555 \begin_inset Quotes crd
13559 \begin_inset Quotes cld
13563 \begin_inset Quotes crd
13567 Su uso es más o menos obvio.
13569 soporta todos estos entornos; utilizará la etiqueta, estilo de texto y
13570 esquema de numeración más apropiados para cada caso.
13573 \begin_layout Enumerate
13574 Ambos paquetes usan citas básicas; el paquete
13579 En \SpecialChar LyX
13580 las referencias a citas se ven normalmente; en la salida se ven como
13582 Si quieres usar una cita como texto normal, debes emplear el comando
13587 \begin_inset space \thinspace{}
13591 \begin_inset Quotes cld
13595 \begin_inset space ~
13605 \begin_inset Quotes crd
13611 \begin_layout Enumerate
13613 \begin_inset Quotes cld
13617 \begin_inset Quotes crd
13620 en ninguno de estos paquetes.
13621 Para ponerlo usa el entorno
13622 \begin_inset Quotes cld
13626 \begin_inset Quotes crd
13632 \begin_layout Enumerate
13633 Se pueden añadir apéndices
13637 de los Agradecimientos y
13641 de las Referencias.
13643 provee un entorno especial, llamado
13644 \begin_inset Quotes cld
13648 \begin_inset Quotes crd
13651 que marca el inicio de los apéndices.
13652 Este entorno debería dejarse en blanco; lo único que hace es enviar un
13653 comando \SpecialChar LaTeX
13654 pero realmente no se imprime nada.
13655 En \SpecialChar LyX
13657 \begin_inset Quotes cld
13661 \begin_inset Quotes crd
13664 se imprime con letras azules, para indicar que todas las secciones posteriores
13666 Para escribir un apéndice usa el entorno
13667 \begin_inset Quotes cld
13671 \begin_inset Quotes crd
13676 ordenará cada apéndice con letras mayúsculas, como requieren ambas revistas.
13678 \begin_inset Quotes cld
13682 \begin_inset Quotes crd
13689 estar presente antes del primer apéndice; si no, los apéndices se numerarán
13690 como secciones normales.
13693 \begin_layout Enumerate
13706 para implementar encabezados de cuadro.
13707 Como resultado, un cuadro creado por \SpecialChar LyX
13708 se imprime correctamente, pero se
13709 ignora su encabezado.
13710 Sin embargo puedes emplear código \SpecialChar TeX
13711 para sortear este problema, de forma
13712 que los encabezados se impriman como es de esperar.
13713 Para hacerlo crea un cuadro flotante de la manera habitual, quita el encabezado
13720 encabezado del cuadro
13724 en código \SpecialChar TeX
13725 —atención a la llave de apertura
13726 \begin_inset Quotes cld
13730 \begin_inset Quotes crd
13733 —, y cierra inmediatamente detrás del contenido del cuadro con
13737 en código \SpecialChar TeX
13739 Estudia los ejemplos de cuadros incluidos en las plantillas para ver como
13740 se realiza este procedimiento.
13741 Alternativamente, si necesitas encabezados de cuadro, podrías construir
13742 el cuadro flotante completo en un archivo
13746 , que después puedes incluir mediante
13748 Insertar\SpecialChar menuseparator
13749 Archivo\SpecialChar menuseparator
13751 \begin_inset space ~
13765 puedes ver más detalles sobre la creación de cuadros flotantes.
13768 \begin_layout Subsection
13769 Preparar un artículo para su remisión
13772 \begin_layout Standard
13773 Antes de remitir un artículo debes exportarlo a \SpecialChar LaTeX
13776 Archivo\SpecialChar menuseparator
13777 Exportar\SpecialChar menuseparator
13788 \begin_layout Plain Layout
13789 Realmente dispones de las opciones \SpecialChar LaTeX
13790 (simple) y pdflatex.
13791 Si piensas usar pdflatex para preparar el artículo,los gráficos incluidos
13792 estarán en formato PDF.
13797 , después haz los cambios siguientes en el resultante archivo
13804 \begin_layout Enumerate
13805 Elimina las líneas de comentarios anteriores al comando
13814 \begin_layout Enumerate
13815 Elimina los comandos
13827 y todo lo que haya entre ambos, excepto aquellos comandos que hayas añadido
13828 expresamente al preámbulo \SpecialChar LaTeX
13832 \begin_layout Standard
13837 modificado debe ser guardado y procesado con \SpecialChar LaTeX
13838 tantas veces como sea necesario.
13839 Comprueba después el documento
13846 \begin_layout Section
13850 \begin_layout Standard
13856 \begin_layout Subsection
13860 \begin_layout Standard
13865 suministra una clase de documento para remitir documentos electrónicos
13866 a publicaciones del
13868 Institute of Physics
13871 Las instrucciones para los autores que quieran crear documentos de esta
13876 se pueden descargar del sitio
13877 \begin_inset Flex URL
13880 \begin_layout Plain Layout
13882 ftp://ftp.iop.org/pub/journals/latex2e
13890 \begin_layout Subsection
13891 Escribir un documento
13894 \begin_layout Standard
13895 La forma más sencilla de escribir un documento es empezar con el
13907 File\SpecialChar menuseparator
13916 de ejemplo explica cómo usar los entornos especiales de texto.
13917 Aquí están los consejos más importantes:
13920 \begin_layout Itemize
13921 Para poder compilar tu documento a PDF, PS o DVI, asegúrate de que
13923 no AMS packages are loaded in
13925 Document\SpecialChar menuseparator
13926 Settings\SpecialChar menuseparator
13932 \begin_layout Itemize
13933 El entorno de título define la clase de tu documento.
13934 Por tanto usa uno de los siguientes entornos para el título:
13938 \begin_layout Itemize
13946 \begin_layout Itemize
13954 \begin_layout Itemize
13959 para una reseña de actualidad
13962 \begin_layout Itemize
13970 \begin_layout Itemize
13978 \begin_layout Itemize
13983 para un artículo (igual que Title)
13986 \begin_layout Itemize
13991 para una comunicación preliminar
13994 \begin_layout Itemize
13999 para una comunicación rápida
14002 \begin_layout Itemize
14007 para una carta al editor
14011 \begin_layout Itemize
14012 Todos los entornos de título excepto
14016 pueden tener un título breve opcional.
14019 \begin_layout Itemize
14020 Hay un entorno general de título
14024 que no es soportado directamente por \SpecialChar LyX
14026 Puede usarse en código \SpecialChar TeX
14027 si tu documento no se adecúa a ninguno de los otros
14031 \begin_layout Standard
14032 Para más información, como consejos para formatos especiales de ecuaciones
14033 y cuadros, echa un vistazo a las pautas dadas por el autor de IOP.
14036 \begin_layout Section
14040 \begin_layout Standard
14043 Panayotis Papasotiriou
14046 \begin_layout Subsection
14050 \begin_layout Standard
14051 El paquete Kluwer es un conjunto de macros producido por
14053 Kluwer Academic Publishers
14055 que facilita la confección de manuscritos electrónicos con destino a sus
14057 Las más conocidas (al menos en mi parcela de interés) son
14059 Astrophysics and Space Science
14065 , aunque hay muchas otras (véase una lista completa en
14066 \begin_inset Flex URL
14069 \begin_layout Plain Layout
14071 http://www.wkap.nl/jrnllist.htm/JRNLHOME
14077 El paquete Kluwer puede ser descargado del sitio
14078 \begin_inset Flex URL
14081 \begin_layout Plain Layout
14083 http://www.wkap.nl/kaphtml.htm/STYLEFILES
14089 Contiene una completa guía de uso, que también puede descargarse separadamente.
14092 \begin_layout Standard
14094 soporta muchas características del paquete pero no todas.
14095 No obstante, el código \SpecialChar TeX
14096 necesario se reduce a ciertos
14097 \begin_inset Quotes cld
14101 \begin_inset Quotes crd
14105 \begin_inset space ~
14109 \begin_inset CommandInset ref
14111 reference "subsec:kluwer_peculiaridades"
14116 He usado \SpecialChar LyX
14117 recientemente para escribir un artículo para
14119 Astrophysics and Space Science
14121 sin ningún problema.
14124 \begin_layout Subsection
14125 Escribir un artículo
14128 \begin_layout Standard
14129 La forma más sencilla de escribir un artículo es empezar con la plantilla
14133 Archivo\SpecialChar menuseparator
14137 \begin_inset space ~
14145 \begin_inset space ~
14157 Se trata de un documento casi vacío que incluye la mayoría de campos más
14158 habituales y una breve descripción de su uso.
14159 Como es habitual en las plantillas, simplemente debes sobreescribir el
14160 texto presente (incluidas las abrazaderas <>) con la información correcta.
14163 \begin_layout Subsection
14164 Preparar un artículo para su remisión
14167 \begin_layout Standard
14168 Como en el paquete AAS\SpecialChar TeX
14169 , antes de remitir tu trabajo a una publicación debes
14170 procesarlo como sigue:
14173 \begin_layout Enumerate
14174 Exporta tu documento a \SpecialChar LaTeX
14177 Archivo\SpecialChar menuseparator
14178 Exportar\SpecialChar menuseparator
14185 \begin_layout Enumerate
14190 resultante con un editor de texto y haz los siguientes cambios:
14194 \begin_layout Enumerate
14195 borra las líneas de comentarios anteriores al comando
14204 \begin_layout Enumerate
14205 quita todo entre los comandos
14217 , ellos incluidos, excepto aquellos específicamente añadidos al preámbulo
14222 \begin_layout Standard
14231 \begin_layout Enumerate
14236 con \SpecialChar LaTeX
14237 tantas veces como sea necesario (generalmente hasta tres).
14240 \begin_layout Enumerate
14241 Mira el documento resultante
14246 \begin_inset space \thinspace{}
14253 , y comprueba si todo está bien (debería, si no has cometido algún error).
14256 \begin_layout Subsection
14257 «Peculiaridades» del paquete Kluwer
14258 \begin_inset CommandInset label
14260 name "subsec:kluwer_peculiaridades"
14267 \begin_layout Standard
14268 El paquete Kluwer tiene algunas
14269 \begin_inset Quotes cld
14273 \begin_inset Quotes crd
14279 \begin_layout Enumerate
14280 Es posible escribir artículos múltiples en el mismo archivo \SpecialChar LaTeX
14285 \begin_layout Plain Layout
14286 No puedo imaginar una buena razón para hacer esto.
14292 Cada artículo debe estar incluido en un entorno
14293 \begin_inset Quotes cld
14297 \begin_inset Quotes crd
14301 Desafortunadamente, este entorno no se puede omitir, incluso si escribes
14303 Por esto, cada artículo empieza con el comando
14309 y, termina, obviamente, con el comando
14316 Aunque esto se puede implementar en \SpecialChar LyX
14317 , no lo he incluido, puesto que se
14318 ve feo y puede confundir al novato.
14319 Así pues hay que introducirlo en código \SpecialChar LaTeX
14321 \begin_inset Quotes cld
14324 código \SpecialChar TeX
14326 \begin_inset Quotes crd
14332 \begin_layout Enumerate
14333 La información dada al principio del artículo (p.
14334 \begin_inset space \thinspace{}
14337 e., título, subtítulo, autor, institución, título corriente, autor corriente,
14338 resumen y palabras-clave) deben incluirse en un entorno llamado
14339 \begin_inset Quotes cld
14343 \begin_inset Quotes crd
14347 Esto no está implementado en \SpecialChar LyX
14348 , así que hay que introducir el título, subtítulo,
14349 etc., entre dos líneas en código \SpecialChar TeX
14365 \begin_layout Enumerate
14366 Según el manual de uso, la etiqueta de cada ítem de la bibliografía debe
14390 \begin_layout Standard
14395 se cuida de todas estas
14396 \begin_inset Quotes cld
14400 \begin_inset Quotes crd
14404 Si empiezas un nuevo artículo a partir de esta plantilla no necesitas hacer
14409 \begin_layout Enumerate
14410 no borrar el código \SpecialChar TeX
14411 incluido en el modelo, y
14414 \begin_layout Enumerate
14415 copia el ejemplo de ítem de bibliografía incluido en la plantilla y modifícalo
14416 como haga falta para introducir nuevas entradas.
14419 \begin_layout Section
14423 \begin_layout Standard
14429 \begin_layout Subsection
14433 \begin_layout Standard
14434 En \SpecialChar LyX
14435 , las clases de documento
14440 article (koma-script)
14444 report (koma-script)
14462 corresponden respectivamente a las clases de \SpecialChar LaTeX
14479 , de la familia Koma-Script.
14480 Son alternativas a las correspondientes clases estándar
14496 , y en ciertos aspectos
14500 se adaptan mejor a las convenciones tipográficas
14507 \begin_layout Itemize
14508 El tamaño estándar de letra es 11
14509 \begin_inset space \thinspace{}
14514 article (koma-script)
14518 report (koma-script)
14525 \begin_inset space \thinspace{}
14530 letter (koma-script)
14535 \begin_layout Itemize
14536 Los encabezados, los marcadores del entorno
14540 y otros elementos de la clase
14542 letter (koma-script)
14547 se ponen en sans serif negrita.
14551 \begin_layout Plain Layout
14552 Hay una gran diferencia entre las antiguas tipografías cm sans serif negrita
14553 y las nuevas tipografías ec, especialmente en cuanto al aspecto de los
14555 En comparación, las tipografías ec sans serif negrita se ven algo más delgadas.
14556 El paquete \SpecialChar LaTeX
14565 permite generar la apariencia
14566 \begin_inset Quotes cld
14570 \begin_inset Quotes crd
14573 cuando se emplean las tipografías ec.
14578 La numeración de los encabezados de capítulo se hace de la misma forma
14579 que la numeración de los encabezados de sección, o sea, sin la línea extra
14581 \begin_inset Quotes cld
14584 Capítulo\SpecialChar ldots
14586 \begin_inset Quotes crd
14590 Además, el aspecto de los encabezados se puede modificar mediante algunas
14591 opciones (en \SpecialChar LyX
14592 se introducen en el diálogo D
14594 ocumento\SpecialChar menuseparator
14598 Se puede encontrar una completa descripción de estas opciones, en alemán,
14599 en la documentación de Koma-Script
14606 \begin_layout Itemize
14607 En las clases Koma-Script, los aspectos principales del diseño del área
14608 imprimible se controlan con las opciones
14616 (en \SpecialChar LyX
14617 se introducen en el campo de opciones de clase del diálogo
14619 Documento\SpecialChar menuseparator
14623 Dichas opciones permiten un ajuste más claro de los márgenes posibles de
14625 En la documentación de Koma-Script
14629 , (en alemán), hay una detallada descripción de estas y otras opciones de
14630 configuración del área imprimible.
14633 \begin_layout Itemize
14634 Las clases \SpecialChar LaTeX
14635 de documentos de la familia Koma-Script definen un cierto número
14636 de comandos adicionales.
14637 Aquellos que tienen sentido en \SpecialChar LyX
14638 se implementan en los correspondientes
14642 \begin_layout Standard
14643 En la documentación de Koma-Script,
14651 (inglés), hay una detallada descripción de las clases \SpecialChar LaTeX
14652 de la familia Koma-Scrip
14656 \begin_layout Subsection
14657 article (koma-script), report (koma-script), y book (koma-script)
14660 \begin_layout Standard
14661 Las clases de documento
14663 article (koma-script)
14667 report (koma-script)
14677 están implementadas en los archivos de formato
14690 Contienen todos los tipos de párrafo de las correspondientes clases estándar
14709 , parcialmente modificados, con la excepción del tipo
14713 a, específico de \SpecialChar LyX
14714 , que es reemplazado por el nuevo tipo
14718 , que tiene la misma funcionalidad.
14723 se han añadido otros nuevos tipos de párrafo.
14728 se encuentran en la clase
14730 letter (koma-script)
14735 \begin_layout Itemize
14738 Añadir_Parte, Añadir_Cap
14744 : son los equivalentes respectivos a
14752 , pero además añaden una entrada en el índice general.
14763 article (koma-script)
14768 \begin_layout Itemize
14777 : se comportan igual que
14785 pero no indican la numeración del capítulo o sección.
14790 * no está disponible en
14792 article (koma-script)
14798 \begin_layout Plain Layout
14805 report (koma-script)
14811 hay también un comando
14817 , pero como es idéntico a
14821 , no ha sido implementado en \SpecialChar LyX
14830 \begin_layout Itemize
14839 : genera un encabezado directamente sobre el párrafo siguiente en el tamaño
14840 de carácter estándar sin afectar a la estructura del documento.
14843 \begin_layout Itemize
14852 son encabezados especiales que respetan los espacios diferentes para encabezado
14853 s situados sobre y bajo un elemento (si sigues estrictamente las normas
14854 tipográficas, pondrás los encabezados de cuadro siempre sobre ellos).
14855 También puedes usar la opción de clase
14867 para los cuadros y por
14872 Para usar esta opción necesitas al menos la versión Koma-Script 2.8q.
14875 \begin_layout Itemize
14880 : sirve para poner una cita o un proverbio, por ejemplo, al principio de
14882 Si utilizas el parámetro opcional
14884 Insertar\SpecialChar menuseparator
14888 \begin_inset space ~
14894 , puedes insertar aquí el nombre del autor de la sentencia.
14895 La sentencia y su autor se separan con una línea.
14896 Para esta posibilidad necesitas Koma-Script versión 2.8q o superior.
14901 no está incluido en
14903 article (koma-script)
14908 \begin_layout Standard
14909 Los entornos siguientes, junto con los habituales
14921 , forman la zona de título del documento.
14922 Deben introducirse sobre el primer párrafo
14923 \begin_inset Quotes cld
14927 \begin_inset Quotes crd
14934 \begin_layout Plain Layout
14935 Los comandos \SpecialChar LaTeX
14936 correspondientes deben aparecer antes de
14947 Cuando este entorno se emplea más de una vez, el último anula a los anteriores,
14948 lo que implica que para cada tipo solo es válida la última entrada.
14949 El orden de los distintos entornos no influye en el documento final, lo
14950 mismo que sucede con
14965 \begin_layout Itemize
14970 : genera un párrafo centrado sobre el título ordinario (
14982 ) para poner el tema del documento.
14985 \begin_layout Itemize
14990 : genera un párrafo centrado bajo el título ordinario (
15002 ) para los nombres de los editores.
15005 \begin_layout Itemize
15012 report (koma-script)
15018 produce un párrafo centrado en su propia página detrás de la de título,
15021 article (koma-script)
15023 produce un párrafo centrado bajo el título ordinario (
15042 \begin_layout Itemize
15047 : produce un párrafo alineado a la izquierda sobre el título ordinario (
15066 \begin_layout Itemize
15069 Reverso_Título_Superior
15071 : genera, en documentos a dos caras, un párrafo alineado a la izquierda
15072 en la parte superior del reverso de la página titular en
15074 report (koma-script)
15080 ; no afecta a documentos a una cara ni a
15085 article (koma-script)
15090 \begin_layout Itemize
15093 Reverso_Título_Inferior
15095 : genera, en documentos a dos caras, un párrafo alineado a la izquierda
15096 en la parte inferior del reverso de la página titular en
15098 report (koma-script)
15104 ; no afecta a documentos a una cara ni a
15106 article (koma-script)
15111 \begin_layout Itemize
15116 ítulo: produce una página especial al principio del documento con un párrafo
15120 \begin_layout Standard
15121 Los archivos de formato para las clases
15123 article (koma-script)
15127 report (koma-script)
15133 incluyen el archivo
15138 Este está pensado como un lugar para definir tus propios tipos.
15143 en tu directorio personal y edítalo!
15146 \begin_layout Subsection
15147 letter (koma-script)
15150 \begin_layout Description
15154 Note: This section discusses the obsolete
15156 KOMA-Script-Letter (v.
15157 \begin_inset space ~
15162 , which is not even included anymore in recent KOMA releases.
15163 Please refer to the next section for the current KOMA-Script-Letter class
15165 \begin_inset space ~
15171 \begin_layout Standard
15173 La clase de documento
15175 letter (koma-script)
15177 se implementa en el archivo de formato
15182 Contiene todos los tipos de párrafo de la clase
15189 estándar, parcialmente modificados, excepto los específicos de \SpecialChar LyX
15192 Código-\SpecialChar LyX
15197 Comentario y el tipo
15203 , que es reemplazado por el nuevo tipo
15208 Además contiene, a diferencia de la clase estándar, los entornos estándar
15218 , más un número de nuevos tipos específicos para cartas.
15221 \begin_layout Standard
15222 El aspecto de las cartas producidas por esta clase de documento se puede
15223 controlar mediante comandos \SpecialChar LaTeX
15224 que puedes poner en el preámbulo.
15228 \begin_layout Plain Layout
15229 Por ejemplo, el aspecto estándar de la cabecera de una carta, nombres y
15230 direcciones, se consigue con estos comandos \SpecialChar LaTeX
15234 \begin_layout LyX-Code
15244 \begin_layout LyX-Code
15260 \begin_layout LyX-Code
15270 \begin_layout LyX-Code
15290 Hay una detallada descripción de ellos en la documentación de Koma-Script,
15296 Con su ayuda puedes producir formatos personalizados de cartas.
15299 \begin_layout Standard
15308 definen el comienzo de la carta y deben ponerse en todas ellas.
15309 Se pueden escribir varias
15313 cartas en el mismo archivo.
15318 da comienzo a una nueva carta para el mismo destinatario mientras que un
15323 da lugar a una nueva carta para distinto destinatario.
15340 son párrafos ordinarios y se pueden usar varias veces en la misma carta.
15343 \begin_layout Itemize
15348 : produce un párrafo para poner el destinatario y define implícitamente
15349 el inicio de la carta.
15352 \begin_layout Itemize
15357 : produce un párrafo para poner el destinatario e inicia implícitamente
15361 \begin_layout Itemize
15366 : da lugar a un párrafo para el cierre de la carta.
15369 \begin_layout Itemize
15374 : párrafo para poner una postdata.
15377 \begin_layout Itemize
15382 : párrafo para una lista de co-destinatarios.
15385 \begin_layout Itemize
15390 : párrafo para documentos adjuntos.
15393 \begin_layout Standard
15394 Los tipos de entorno
15421 \begin_inset space ~
15438 son entradas provistas de una etiqueta para introducir información que
15439 será procesada por la clase de documento.
15443 \begin_layout Plain Layout
15444 Podría ser inconsecuente que
15452 , descritos arriba, no sean también entornos con etiqueta de entrada.
15453 Sin embargo, debido al signifificado particular de estos tipos, los he
15454 implementado como párrafos ordinarios con una letra en el margen.
15455 Además, afectaría a mi sensación de simetría si los tipos
15463 tuvieran aspectos muy distintos.
15468 Estos tipos deben ponerse antes de la
15475 \begin_layout Standard
15476 Una implementación de estos tipos en modo WYSIWYG no tendría sentido porque
15477 el aspecto real de la carta no solo depende del uso de un tipo particular,
15478 sino también de otros factores.
15479 Por ejemplo, en el comportamiento predeterminado, una firma introducida
15484 solo aparecerá en la carta si se usa, además, el tipo
15489 El valor introducido en
15493 tampoco aparece en la carta.
15494 La posibilidad de diseñar el encabezamiento de la carta ya se ha señalado
15495 antes en una nota al pie.
15498 \begin_layout Standard
15499 Los entornos para introducir datos también se pueden usar como párrafos
15501 Esto tiene sentido, p.
15502 \begin_inset space \thinspace{}
15505 e., para el entorno
15514 , en el comportamiento estándar se usará el valor de
15518 como firma, mientras que si se define una
15522 vacía no saldrá ninguna.
15525 \begin_layout Standard
15526 Los entornos para introducir datos también pueden servir para escribir una
15527 plantilla, que contenga campos cumplimentados con tus datos personales
15528 (nombre, dirección, etc.), y campos vacíos listos para ser completados con
15532 \begin_layout Itemize
15537 : nombre del remitente, en el comportamiento normal aparece en versalitas,
15538 en un párrafo centrado en el encabezado de la carta.
15541 \begin_layout Itemize
15546 : firma del remitente, en el comportamiento normal aparece bajo el
15551 Si no se utiliza el párrafo
15555 , se escribe en su lugar el valor del campo
15562 \begin_layout Itemize
15567 : dirección del remitente, en el comportamiento normal aparece en un párrafo
15568 centrado, en el encabezado, bajo el
15575 \begin_layout Itemize
15580 o: teléfono del remitente, en el comportamiento normal corresponde a la
15587 de \SpecialChar LaTeX
15591 \begin_layout Itemize
15596 : lugar donde se ha escrito la carta.
15599 \begin_layout Itemize
15604 : fecha de escritura de la carta.
15613 , por omisión, aparecen en una línea a la derecha bajo el campo de dirección.
15614 Si el párrafo Fecha se deja vacío, no aparecen ni lugar ni fecha, independiente
15615 mente del valor puesto en
15620 Si no se pone párrafo de
15624 , se usará la fecha del día.
15627 \begin_layout Itemize
15632 : dirección para la respuesta, normalmente aparece sobre el campo del destinatar
15637 ) en tipografía sans serif pequeña, subrayado.
15640 \begin_layout Itemize
15645 : información especial de correo, en el comportamiento normal aparece subrayado
15646 sobre la dirección y bajo el remite.
15649 \begin_layout Itemize
15658 : información adicional, en el comportamiento normal aparece a la derecha
15659 bajo el campo del destinatario (
15666 \begin_layout Itemize
15671 : título de la carta, en el comportamiento normal aparece en letra sans
15672 serif grande, en negrita, sobre el
15679 \begin_layout Itemize
15684 : el tema de la carta, en el comportamiento normal aparece en negrita sobre
15692 \begin_layout Standard
15713 generan, a la manera de las cartas comerciales, una línea sobre el
15718 \begin_inset Quotes cld
15722 \begin_inset Quotes crd
15726 \begin_inset Quotes cld
15730 \begin_inset Quotes crd
15734 \begin_inset Quotes cld
15738 \begin_inset Quotes crd
15742 \begin_inset Quotes cld
15746 \begin_inset Quotes crd
15750 \begin_inset Quotes cld
15754 \begin_inset Quotes crd
15758 \begin_inset Quotes cld
15762 \begin_inset Quotes crd
15767 \begin_inset Quotes cld
15771 \begin_inset Quotes crd
15774 toma el valor del entorno
15779 Si se utiliza uno de estos tipos para
15780 \begin_inset Quotes cld
15784 \begin_inset Quotes crd
15791 no aparece, solo se define la variable \SpecialChar LaTeX
15799 La salida ordinaria de lugar y fecha en una línea a la derecha bajo el
15800 campo del destinatario se suprime.
15801 Los tipos se implementan para introducción de datos, provistos con una
15802 etiqueta, y deben utilizarse antes del correspondiente tipo
15809 \begin_layout Itemize
15817 \begin_layout Itemize
15822 Correo: su carta de.
15825 \begin_layout Itemize
15837 \begin_layout Itemize
15845 \begin_layout Itemize
15853 \begin_layout Subsection
15854 La nueva clase de carta: letter (koma-script v.2)
15857 \begin_layout Standard
15863 \begin_layout Standard
15864 \begin_inset VSpace medskip
15870 \begin_layout Standard
15872 Koma-Script versión 2.8 ha introducido una clase nueva
15884 , que ya no se desarrolla.
15885 Tiene, en lo que respecta a \SpecialChar LaTeX
15886 , una interfaz completamente nueva incompatible
15887 con la clase antigua.
15889 soporta las dos, pero se recomienda usar la nueva.
15892 \begin_layout Standard
15893 Esta clase cubre las mismas funciones que
15895 letter (koma-script)
15901 Las funciones básicas son
15905 (dirección del destinatario, como
15909 en el formato antiguo),
15926 comenzará una carta nueva (o sea, que puedes escribir varias cartas en
15927 el mismo documento).
15928 Los elementos nuevos de remitente son
15944 y la posibilidad de usar un
15950 Insertar\SpecialChar menuseparator
15953 ) en el encabezado.
15956 \begin_layout Standard
15957 La mejora más importante es, creo, que el formato de la carta es configurable
15958 para casi cualquier necesidad.
15959 Esto se puede hacer en el preámbulo o con un archivo de estilo especial
15964 , Letter Class Option), que será leído como una opción de clase.
15968 \begin_layout Plain Layout
15969 El paquete KOMA viene con algunos archivos
15974 Hay, por ejemplo, un archivo
15978 que sigue las normas tipográficas alemanas, o
15982 que proporciona el formato predefinido de la antigua clase
15987 Esta última puede cargarse como opción de clase
15997 Documento\SpecialChar menuseparator
15998 Configuración\SpecialChar menuseparator
16000 \begin_inset space ~
16004 \begin_inset space ~
16014 Echa una ojeada a la plantilla
16018 que se incluye como ejemplo en \SpecialChar LyX
16020 En la documentación de Koma-Script (
16024 ) hay una descripción detallada.
16027 \begin_layout Subsection
16031 \begin_layout Standard
16032 En \SpecialChar LyX
16033 , la visualización de documentos de la clase Koma-Script ocasiona algunos
16037 \begin_layout Itemize
16038 El número de capítulo en un párrafo
16042 aparece en una línea propia sobre la cabecera de capítulo en vez de aparecer
16043 delante en la misma línea.
16044 La causa de esto es el comportamiento interno de \SpecialChar LyX
16045 en relación a los marcadores
16050 en el archivo de formato.
16053 \begin_layout Itemize
16054 Los encabezados de los entornos
16062 solo se ponen en el índice generado por \SpecialChar LaTeX
16063 , no en el índice de \SpecialChar LyX
16066 Documento\SpecialChar menuseparator
16068 \begin_inset space ~
16076 \begin_layout Itemize
16077 Los párrafos en documentos de la clase
16081 aparecen separados con espacio adicional entre ellos, no con sangrado.
16082 Este es el comportamiento normal, no hacen falta comandos \SpecialChar LaTeX
16084 Sin embargo, en el diálogo
16086 Documento\SpecialChar menuseparator
16089 el botón que aparece marcado es
16094 Si se introduce un valor de
16097 \begin_inset space ~
16102 se insertan en el documento comandos \SpecialChar LaTeX
16103 adicionales para dar ese espacio,
16104 lo que en este caso no es lo que queremos.
16107 \begin_layout Section
16111 \begin_layout Standard
16117 \begin_layout Subsection
16121 \begin_layout Standard
16122 Memoir es una clase poderosa y en continCarpeta sin títulouo desarrollo.
16123 Se ha diseñado para escribir literatura de ficción y de no ficción.
16124 Su objetivo es dar al usuario el máximo control sobre su documento.
16125 Memoir está basada en la clase estándar
16129 , pero también puede emular la clase
16133 (véase más adelante).
16136 \begin_layout Standard
16137 Peter Wilson, el desarrollador de Memoir, es conocido como autor de muchos
16138 paquetes en el mundillo de \SpecialChar LaTeX
16140 La mayoría de ellos se han combinado con Memoir.
16141 Por tanto, es mucho más sencillo diseñar los índices, apéndices, capítulos
16144 , no obstante, no soporta por sí mismo todas sus características.
16145 Algunas se podrán añadir en futuras versiones
16149 \begin_layout Plain Layout
16150 Estás invitado a enviar sugerencias a
16151 \begin_inset Flex URL
16154 \begin_layout Plain Layout
16156 lyx-devel@lists.lyx.org
16166 , muchas nunca, probablemente, debido a limitaciones estructurales de \SpecialChar LyX
16168 Por supuesto, puedes usar todas las características con ayuda de comandos
16170 (código \SpecialChar TeX
16175 \begin_layout Plain Layout
16176 Consulta la sección
16177 \begin_inset space ~
16181 \begin_inset CommandInset ref
16183 reference "sec:Insertar-Código-TeX"
16193 En esta sección solo trataremos las características soportadas directamente
16194 por \SpecialChar LyX
16196 Para una decripción más completa (y para el resto de características) recomenda
16197 mos la consulta del manual de Memoir
16201 \begin_layout Plain Layout
16202 \begin_inset Flex URL
16205 \begin_layout Plain Layout
16207 CTAN:/macros/latex/memoir/memman.pdf
16217 , que es, no solo una guía de usuario, sino también una completa guía sobre
16218 normas tipográficas y un estupendo ejemplo en sí mismo de buena tipografía.
16221 \begin_layout Subsection
16222 Características básicas y restricciones
16225 \begin_layout Standard
16226 Memoir soporta básicamente todas las características de las clases estándar
16232 Pero hay algunas diferencias:
16235 \begin_layout Description
16237 \begin_inset space ~
16241 \begin_inset space ~
16244 tipografía: Memoir tiene un amplio rango de tamaños de tipografía: 9, 10,
16248 \begin_layout Description
16250 \begin_inset space ~
16254 \begin_inset space ~
16258 \begin_inset Quotes cld
16262 \begin_inset Quotes crd
16265 no está soportado, debido a un conflicto entre Memoir y el paquete
16269 (ambos definen un comando con el mismo nombre, lo que confunde a \SpecialChar LaTeX
16271 En su lugar, Memoir dispone de un puñado de estilos de página propios (véase
16275 Document\SpecialChar menuseparator
16276 Settings\SpecialChar menuseparator
16278 \begin_inset space ~
16285 Si quieres usar estos para las páginas de capítulos, tienes que usar el
16292 en el texto o en el preámbulo (p.
16293 \begin_inset space \thinspace{}
16297 \begin_inset space ~
16304 chapterstyle{companion}
16309 \begin_layout Description
16310 Seccionamiento: En las clases estándar, las secciones (capítulo, sección,
16311 subsección, etc.) van con un argumento opcional con el que puedes especificar
16312 una versión alternativa del título de la sección para el índice y para
16313 los encabezamientos de página, (por ejemplo, cuando el título es excesivamente
16315 En \SpecialChar LyX
16316 , puedes hacerlo con la opción de menú
16318 Insertar\SpecialChar menuseparator
16320 \begin_inset space ~
16325 al principio de un capítulo/sección.
16330 suministra un segundo argumento opcional para separar el índice del encabezamie
16332 Con esto puedes definir tres variantes de un título: una para el texto
16333 principal, otra para el índice general y otra para los encabezamientos.
16337 makes these available in form of specific
16348 \begin_layout Description
16349 TOC/LOF/LOT: En las clases estándar (y en muchas otras), los índices general
16350 (IG, TOC), de figuras (LOF) y de cuadros (LOT) se inician automáticamente
16356 no sigue esta regla.
16357 Si lo quieres, tienes que insertar a mano el salto de página.
16360 \begin_layout Description
16362 \begin_inset space ~
16366 \begin_inset space ~
16369 Título: Por razones desconocidas,
16373 usa paginación en la página del título (en las clases estándar, las páginas
16374 de título van en estilo
16375 \begin_inset Quotes cld
16383 \begin_inset Quotes crd
16387 Si quieres una página de título en dicho estilo, pon
16391 aliaspagestyle{title}{empty}
16396 \begin_layout Description
16397 Article: Con la opción de clase
16401 (que se debe introducir en
16403 Documento\SpecialChar menuseparator
16404 Configuración\SpecialChar menuseparator
16406 \begin_inset space ~
16410 \begin_inset space ~
16413 documento\SpecialChar menuseparator
16417 \begin_inset space ~
16424 ), puedes emular algunos comportamientos de estilo de la clase
16428 : los contadores (de notas al pie, figuras, cuadros, etc.) no se reinician
16429 al cambiar de capítulo, los capítulos nuevos no comienzan en página nueva
16430 (aunque, a diferencia de las clases
16435 \begin_inset Quotes cld
16439 \begin_inset Quotes crd
16442 , está permitido); sin embargo, las partes sí van en páginas nuevas, como
16450 \begin_layout Description
16452 \begin_inset space ~
16456 \begin_inset space ~
16460 \begin_inset space ~
16463 antiguos: por omisión,
16467 no permite el uso de los comandos de tipografía obsoletos que se usaban
16468 en la antigua versión de \SpecialChar LaTeX
16470 \begin_inset space \thinspace{}
16476 \begin_inset space ~
16484 \begin_inset space ~
16494 Si están presentes, generan errores y detienen el procesamiento de \SpecialChar LaTeX
16500 readmite el uso de dichos comandos, (aunque escupe algunas advertencias,
16501 al menos no detiene a \SpecialChar LaTeX
16503 Puesto que algunos paquetes, en particular Bib\SpecialChar TeX
16504 en sus archivos de estilo,
16505 todavía utilizan estos comandos, hemos decidido mantener esta opción como
16509 \begin_layout Subsection
16510 Características adicionales
16513 \begin_layout Standard
16514 Solo indicaremos las soportadas por \SpecialChar LyX
16515 (que actualmente no son muchas).
16516 Consulta el manual de
16524 \begin_layout Plain Layout
16525 \begin_inset Flex URL
16528 \begin_layout Plain Layout
16530 CTAN:/macros/latex/memoir/memman.pdf
16543 \begin_layout Description
16544 Resumen: Te preguntarás por qué un resumen es un característica suplementaria.
16545 Bien, lo es en la clase
16550 Usualmente los libros no tienen resúmenes.
16556 Puedes usarlo donde, como y cuantas veces quieras.
16559 \begin_layout Description
16561 \begin_inset space ~
16564 conciso: Quizá conozcas esto de
16565 \begin_inset Quotes cld
16569 \begin_inset Quotes crd
16576 \begin_layout Plain Layout
16577 Estilo de escritura en que se da más importancia a la bella apariencia que
16587 : El contenido de un capítulo es brevemente descrito debajo del título y
16588 también en el índice general (p.
16589 \begin_inset space \thinspace{}
16593 \begin_inset space ~
16598 Nuestro héroe llega a Troya; pierde algunos compañeros; encuentra a otros
16601 Capítulo_Conciso hace precisamente eso.
16602 Por tanto solo tiene sentido bajo un título de un capítulo.
16605 \begin_layout Description
16606 Epígrafe: Un epígrafe es un texto breve o lema al principio de un capítulo.
16607 El entorno epígrafe lo presenta de manera elegante.
16608 El propio lema (texto) y su autor (origen) se separan con una línea corta.
16611 The author (source) can be inserted via
16613 Insert\SpecialChar menuseparator
16620 \begin_layout Description
16622 \begin_inset space ~
16629 ofrece muchas posibilidades para escribir poesía (incluso complejos poemas
16631 Lyx solo soporta unas pocas de ellas.
16636 , que pone un título centrado para el poema y que también se añade al índice
16642 es el entorno estándar para poesía.
16647 dispone de algunas versiones mejoradas de
16651 , pero necesitas usar código \SpecialChar TeX
16652 , porque tienen que anidarse en entornos regulares
16653 de verso, lo que no es posible en \SpecialChar LyX
16657 \begin_layout Description
16659 \begin_inset space ~
16665 \begin_inset space ~
16670 , pero no añade entrada al índice general.
16673 \begin_layout Section
16674 Article (mwart), book (mwbk) y report (mwrep)
16675 \begin_inset Argument 1
16678 \begin_layout Plain Layout
16689 \begin_layout Standard
16695 \begin_layout Standard
16696 Las clases de documento
16712 de \SpecialChar LyX
16713 corresponden a las clases de documentos \SpecialChar LaTeX
16727 Son remodelaciones de las clases estándar de documentos
16739 , respectivamente, y se adaptan mejor a las convenciones tipográficas polacas
16740 en varios aspectos.
16744 \begin_layout Standard
16745 Las diferencias fundamentales son:
16748 \begin_layout Itemize
16749 Encabezados no numerados (con asterisco, p.
16750 \begin_inset space \thinspace{}
16761 \begin_layout Itemize
16762 Estilos de página adicionales:
16766 \begin_layout Description
16767 uheadings encabezados en líneas separadas,
16770 \begin_layout Description
16771 myheadings encabezados personalizados con
16786 \begin_layout Description
16787 myuheadings encabezados personalizados en líneas separadas,
16790 \begin_layout Description
16791 outer el número de página se coloca en el lado exterior de la misma.
16795 \begin_layout Itemize
16800 \begin_layout Description
16801 rmheadings encabezados en serif (predeterminado),
16804 \begin_layout Description
16805 sfheadings encabezados en sans-serif,
16808 \begin_layout Description
16809 authortitle en la página del título se pone primero el autor y luego el
16810 título (predeterminado),
16813 \begin_layout Description
16814 titleauthor en la página del título se pone el título, después el autor,
16817 \begin_layout Description
16818 withmarginpar reservar sitio de la página para los márgenes.
16822 \begin_layout Section
16826 \begin_layout Standard
16827 La clase de documento
16831 provee una alternativa a la clase estándar
16836 Tiene una funcionalidad similar, aunque quizá prefieras este formato con
16837 secciones en sans serif, encabezados, y más..
16840 \begin_layout Section
16841 Rev\SpecialChar TeX
16845 \begin_layout Standard
16851 \begin_layout Standard
16852 \begin_inset VSpace bigskip
16858 \begin_layout Standard
16863 \begin_inset space ~
16868 trabaja con la clase Rev\SpecialChar TeX
16870 \begin_inset Formula $\beta$
16873 de mayo de 1999) de la
16875 American Physical Society
16880 \begin_layout Standard
16882 tiene la clase de texto
16886 que funciona con Rev\SpecialChar TeX
16888 Sin embargo, la versión 3.1 está obsoleta, porque trabaja con \SpecialChar LaTeX
16890 Esto quiere decir que no interactúa muy bien con \SpecialChar LyX
16891 , que requiere \SpecialChar LaTeX2e
16894 Puesto que Rev\SpecialChar TeX
16895 4.0 se ha diseñado para trabajar mucho mejor con \SpecialChar LaTeX2e
16898 también funcionar mejor con la clase
16900 Rev\SpecialChar TeX
16902 \begin_inset space ~
16910 \begin_layout Standard
16911 Esta documentación está pensada para ser usada
16915 la documentación de Rev\SpecialChar TeX
16917 \begin_inset space ~
16920 4.0, por tanto no describiremos ninguna de las macros especiales de Rev\SpecialChar TeX
16922 y supondremos que sabes lo que hay que poner en el preámbulo, si fuera
16926 \begin_layout Subsection
16930 \begin_layout Standard
16931 Debes instalar Rev\SpecialChar TeX
16933 \begin_inset space ~
16936 4 como se describe en el archivo README del paquete.
16937 El paquete se puede encontrar en el sitio web de Rev\SpecialChar TeX
16939 \begin_inset Flex URL
16942 \begin_layout Plain Layout
16944 http://publish.aps.org/revtex4/
16950 Instálalo donde \SpecialChar LaTeX
16952 Compruébalo procesando con \SpecialChar LaTeX
16953 algún corto documento Rev\SpecialChar TeX
16955 \begin_inset space ~
16958 4 en algún directorio casual (es decir, no en el directorio donde se ha
16959 instalado el archivo de clase).
16960 Luego, si reconfiguras \SpecialChar LyX
16961 , este reconocerá el archivo de clase Rev\SpecialChar TeX
16963 \begin_inset space ~
16966 4 y lo podrás utilizar.
16969 \begin_layout Standard
16970 Probablemente la forma más fácil de empezar es importar un documento Rev\SpecialChar TeX
16972 \begin_inset space ~
16975 4 usando re\SpecialChar LyX
16976 , o partir del modelo de la plantilla de Rev\SpecialChar TeX
16978 \begin_inset space ~
16985 , disponible en el directorio de plantillas (
16992 \begin_layout Subsection
16996 \begin_layout Standard
16997 Los argumentos opcionales a
17004 \begin_inset Quotes cld
17008 \begin_inset Quotes crd
17012 \begin_inset Quotes cld
17016 \begin_inset Quotes crd
17025 Documento\SpecialChar menuseparator
17026 Configuración\SpecialChar menuseparator
17028 \begin_inset space ~
17034 \begin_inset space ~
17042 ¡Recuerda que en Rev\SpecialChar TeX
17043 , se requiere, al menos, un argumento opcional!
17046 \begin_layout Standard
17047 Otras cosas del preámbulo, como
17053 etc., van en el diálogo
17056 \begin_inset space ~
17069 \begin_layout Subsection
17070 Entornos de párrafo
17073 \begin_layout Standard
17074 En Rev\SpecialChar TeX
17076 \begin_inset space ~
17079 4.0, los entornos de párrafo corresponden básicamente a comandos.
17080 Por ejemplo, el formato
17091 Ten en cuenta que (al menos desde Rev\SpecialChar TeX
17092 4.0 Beta), los entornos
17100 son exactamente equivalentes, por lo que no tendrías que usar ambos.
17104 \begin_layout Plain Layout
17105 Si tienes curiosidad, se incluyeron ambos para que
17107 tex2\SpecialChar LyX
17110 puediera traducir ambos,
17130 \begin_layout Subsection
17134 \begin_layout Standard
17135 Hay un par de importantes aspectos únicos de Rev\SpecialChar TeX
17136 4 que podrían ocasionar
17137 fallos que serán incluso más confusos en \SpecialChar LyX
17141 \begin_layout Standard
17142 En Rev\SpecialChar TeX
17160 El equivalente en \SpecialChar LyX
17161 es que hay un entorno
17170 escribas notas al pie en el entorno
17176 sucederán cosas raras
17179 Véase la documentación de Rev\SpecialChar TeX
17180 4 para más detalles.
17183 \begin_layout Standard
17184 Además, los entornos
17187 \begin_inset space ~
17195 \begin_inset space ~
17212 y el entorno correspondiente
17229 , \SpecialChar LaTeX
17233 \begin_layout Section
17234 Publicaciones de Springer (
17241 \begin_layout Standard
17247 \begin_layout Subsection
17251 \begin_layout Standard
17252 Estos son los archivos de formato para algunas de las publicaciones editadas
17257 , las que se recogen en
17258 \begin_inset Flex URL
17261 \begin_layout Plain Layout
17263 http://www.springer.de/author/tex/help-journals.html
17268 , donde debes acudir para conseguir los archivos de la clase (¡sí, ahora
17269 son \SpecialChar LaTeX2e
17271 Es un sistema modular: las características comunes a todas las publicaciones
17276 , y los archivos de formato específicos (tales como, p.
17277 \begin_inset space \thinspace{}
17288 ) pueden incluirlo.
17291 \begin_layout Standard
17292 Esto significa que implementar soporte para cualquier otra publicación de
17297 incluida en esa lista es tan sencillo como escribir tu propio archivo
17305 siguiendo las pautas dadas en
17313 \begin_layout Standard
17314 Está razonablemente bien probado solo en el caso de
17327 vienen con la distribución estándar de \SpecialChar LyX
17329 Instala el archivo de clase correspondiente (descargado del sitio de
17333 ) en un directorio adecuado, reconfigura \SpecialChar LaTeX
17334 —en el caso de te\SpecialChar TeX
17339 , como root si es necesario.
17341 no se ocupa de esto?)—; reconfigura \SpecialChar LyX
17342 y ya debería funcionar.
17345 \begin_layout Subsection
17349 \begin_layout Standard
17350 Un gran número de estilos tipo teorema –
17352 Afirmación, Conjetura,
17362 \begin_layout Standard
17365 Nota_Encabezado, Dedicatoria, Subtítulo, Título_\SpecialChar LaTeX
17366 _Puesto, Autor_Puesto, Instituto
17367 , Correo, Separatas, Palabras_clave, Agradecimientos
17370 Véase la documentación de la clase Springer para más detalles.
17373 \begin_layout Subsection
17374 Publicaciones soportadas
17377 \begin_layout Itemize
17389 \begin_layout Itemize
17392 Probability Theory and Related Fields
17398 — Jean-Marc Lasgouttes
17401 \begin_layout Standard
17402 ¡Añade el tuyo, no es tan duro!
17405 \begin_layout Subsection
17406 CréditosCarpeta sin título
17409 \begin_layout Standard
17410 Estos archivos están basados parcialmente en el antiguo
17414 , basado a su vez en una versión modificada de un antiguo archivo de estilo
17415 de \SpecialChar LaTeX
17421 Todo esto, y el archivo
17425 layout, están obsoletos.
17426 Jean-Marc Lasgouttes me ayudó mucho a encontrar mi propio mecanismo para
17427 el archivo de formato de \SpecialChar LyX
17431 \begin_layout Subsection
17435 \begin_layout Standard
17437 Pero probablemente menos que en el antiguo
17441 de \SpecialChar LaTeX
17445 \begin_layout Section
17452 \begin_inset CommandInset label
17461 \begin_layout Standard
17469 \begin_layout Subsection
17473 \begin_layout Standard
17474 Esta sección describe cómo usar \SpecialChar LyX
17475 para hacer transparencias para proyectores.
17476 Hay dos clases de documento que pueden hacer esto: la clase predeterminada
17487 Esta sección se ocupa de la primera de ellas.
17490 \begin_layout Standard
17491 Lo voy a repetir alto y claro, para que no haya equívocos:
17494 \begin_layout Standard
17495 \begin_inset VSpace medskip
17501 \begin_layout Standard
17505 En esta sección se explica
17510 \begin_inset space ~
17515 slides (predeterminada)
17521 \begin_layout Standard
17522 \begin_inset VSpace medskip
17528 \begin_layout Standard
17529 Si buscas la documentación para
17530 \begin_inset Quotes cld
17535 slides (Foil\SpecialChar TeX
17539 \begin_inset Quotes crd
17542 , mira en la sección
17543 \begin_inset space ~
17547 \begin_inset CommandInset ref
17549 reference "sec:foiltex"
17559 \begin_inset Quotes cld
17564 slides (Foil\SpecialChar TeX
17568 \begin_inset Quotes crd
17571 ) es realmente un poco mejor que la clase predeterminada
17579 \begin_layout Plain Layout
17581 o eso se dice repetidamente por sus defensores.
17582 Puesto que no la he usado nunca, no tengo ni idea si es cierto o no.
17587 que se explica en esta sección.
17590 \begin_layout Standard
17591 Esta clase es una mejora del antiguo paquete
17596 de \SpecialChar LaTeX2e
17598 Toda distribución de \SpecialChar LaTeX2e
17599 la incluye (nos referiremos desde ahora a
17600 \begin_inset Quotes cld
17608 \begin_inset Quotes crd
17611 ), así que lo tendrás.
17612 Como anoté antes, hay otras clases, como
17616 , que también produce transparencias y hace mejor su tarea.
17617 Sin embargo, hay ciertas cosas que
17621 puede hacer que los otros no pueden, como capas superpuestas.
17622 ¡Sigue leyendo para saber más!
17625 \begin_layout Subsection
17627 \begin_inset CommandInset label
17629 name "sec:slidesetup"
17636 \begin_layout Standard
17637 Obviamente, para usar esta clase debes escoger
17638 \begin_inset Quotes cld
17646 \begin_inset Quotes crd
17651 Documento\SpecialChar menuseparator
17655 Algunas cosas que debes saber sobre esta clase:
17658 \begin_layout Itemize
17659 No enredes con cambios en las opciones
17668 No es soportado por
17675 \begin_layout Itemize
17679 \begin_inset space ~
17683 \begin_inset space ~
17688 se porta un poco distinto para esta clase.
17689 Las opciones disponibles y su efecto son:
17693 \begin_layout Description
17698 La salida tiene números de página en la esquina inferior derecha.
17701 \begin_layout Description
17710 , pero además imprime los marcadores de tiempo que hayas puesto.
17711 Esta es la opción por omisión.
17714 \begin_layout Description
17719 La salida no imprime ni números de pàgina ni marcadores, nada.
17723 \begin_layout Itemize
17728 tiene una opción extra:
17734 \begin_inset Quotes cld
17742 \begin_inset Quotes crd
17745 en las opciones de la configuración de clase.
17749 \begin_layout Standard
17750 Usar estas opciones te permite añadir marcadores de tiempo a las
17758 \begin_layout Standard
17759 También puedes utilizar la plantilla
17760 \begin_inset Quotes cld
17768 \begin_inset Quotes crd
17771 para preparar un nuevo documento de esta clase, con
17773 Archivo\SpecialChar menuseparator
17775 \begin_inset space ~
17779 \begin_inset space ~
17785 La plantilla contiene algunos ejemplos de entornos de párrafo especiales
17787 Se describirán a continuación.
17790 \begin_layout Subsection
17791 Entornos de párrafo
17794 \begin_layout Subsubsection
17795 Entornos soportados
17798 \begin_layout Standard
17799 La primera cosa que observarás cuando inicies un documento
17803 es el tipo y tamaño de tipografía:
17806 \begin_inset space ~
17816 Es también la tipografía que se utiliza en la salida.
17817 Interpreta esto como un
17818 \begin_inset Quotes cld
17822 \begin_inset Quotes crd
17825 que te recuerda que es una transparencia.
17826 En realidad las transparencias finales pueden usar una tipografía más grande,
17827 por tanto dispondrás de menos espacio.
17828 Es decir, la tipografía grande en pantalla no es WYSIWYG, es solo un recordator
17832 \begin_layout Standard
17833 La segunda cosa que llamará la atención es el cuadro desplegable de los
17834 entornos de párrafo ( a la izquierda de la barra de herramientas).
17835 La mayoría de los entornos que estás acostumbrado a ver ahí están ausentes.
17836 Y hay cinco nuevos.
17837 Esto se debe a que la clase
17841 por sí misma solo soporta un cierto número de entornos de párrafo:
17844 \begin_layout Itemize
17850 \begin_layout Itemize
17856 \begin_layout Itemize
17862 \begin_layout Itemize
17868 \begin_layout Itemize
17874 \begin_layout Itemize
17880 \begin_layout Itemize
17886 \begin_layout Itemize
17892 \begin_layout Itemize
17898 \begin_layout Itemize
17901 Código-\SpecialChar LyX
17905 \begin_layout Standard
17906 Todos los demás entornos estándar, incluyendo los de cabeceras de sección,
17907 no funcionan en la clase
17914 \begin_layout Standard
17915 Por otra parte, verás los siguientes nuevos entornos:
17918 \begin_layout Itemize
17924 \begin_layout Itemize
17930 \begin_layout Itemize
17936 \begin_layout Itemize
17942 \begin_layout Itemize
17948 \begin_layout Standard
17949 Estos cinco tienen ciertas peculiaridades debido a una
17950 \begin_inset Quotes cld
17954 \begin_inset Quotes crd
17957 de \SpecialChar LyX
17959 Verás, \SpecialChar LyX
17960 no permite anidar ningún entorno de párrafo en un entorno vacío.
17961 Bien, esto es fino y elegante, pero significa que no podrás comenzar una
17962 transparencia con nada que no sea texto simple.
17963 Para evitar esto, he hecho un poco de
17964 \begin_inset Quotes cld
17967 magia \SpecialChar LaTeX
17969 \begin_inset Quotes crd
17975 \begin_layout Subsubsection
17976 Peculiaridades de los nuevos entornos
17977 \begin_inset CommandInset label
17979 name "sec:slide-Peculiaridades"
17986 \begin_layout Standard
17987 Los cinco entornos nuevos son un poco peculiares debido a limitaciones inherente
17988 s a \SpecialChar LyX
17990 Como he dicho, \SpecialChar LyX
17991 prohibe los entornos que comienzan con otro entorno.
17992 Para obviar esto, el entorno
17996 no se comporta como los entornos de párrafo típicos descritos en la
18004 \begin_layout Standard
18017 deberían considerarse
18018 \begin_inset Quotes cld
18022 \begin_inset Quotes crd
18026 Tienen el aspecto de una cabecera de sección o de un
18027 \begin_inset Quotes cld
18035 \begin_inset Quotes crd
18038 , pero realmente comienzan (y si es necesario finalizan el anterior) un
18039 entorno de párrafo.
18040 De igual manera, considera
18049 \begin_inset Quotes cld
18053 \begin_inset Quotes crd
18057 Estos dos realizan acciones.
18060 \begin_layout Standard
18061 Una característica común a los cinco entornos,
18081 , es una etiqueta más bien larga.
18082 El texto que sigue a la etiqueta —generalmente los contenidos del entorno
18083 de párrafo— no es tenido en cuenta.
18085 lo ignora completamente.
18086 De hecho, puedes dejar estos cinco entornos totalmente vacíos.
18090 \begin_layout Standard
18095 que poner texto tras la etiqueta, puedes hacerlo.
18096 Podría ser, por ejemplo, una breve descripción del contenido de la
18101 En ese caso, introduce tu texto y pulsa
18105 como harías normalmente.
18108 \begin_layout Standard
18109 Si, por otra parte, no deseas introducir ningún texto descriptivo, puedes
18110 utilizar otra peculiaridad de \SpecialChar LyX
18113 , como la naturaleza, siente horror al vacío, y no te permitirá iniciar
18114 un nuevo entorno de párrafo hasta que pongas algo en el anterior.
18115 En ese caso puedes hacer esto:
18118 \begin_layout Itemize
18119 Comienza introduciendo el texto que
18147 \begin_layout Itemize
18148 Sitúate ahora en el principio de ese párrafo.
18152 \begin_layout Itemize
18161 \begin_layout Itemize
18162 Por último, cambia este nuevo párrafo vacío a
18185 \begin_layout Standard
18186 Confiemos en que alguna futura versión de \SpecialChar LyX
18187 resuelva esta peculiaridad\SpecialChar ldots
18191 \begin_layout Subsection
18192 Hacer una presentación con
18205 \begin_layout Subsubsection
18206 Utilizar el entorno
18211 \begin_layout Standard
18212 Si esperas que esta sección te enseñe a realizar una presentación, te vas
18214 Naturalmente, describiré todas las formas en que la clase
18218 te ayudará a preparar una presentación.
18219 Completar el contenido es tarea tuya.
18220 (Esta es, también, la filosofía de \SpecialChar LyX
18225 \begin_layout Standard
18226 Al escoger el entorno
18230 (como se indica en la sección
18231 \begin_inset space ~
18235 \begin_inset CommandInset ref
18237 reference "sec:slide-Peculiaridades"
18242 comienza una nueva.
18243 El marcador para este entorno/
18244 \begin_inset Quotes cld
18248 \begin_inset Quotes crd
18252 \begin_inset Quotes cld
18256 \begin_inset Quotes crd
18259 en azul con la etiqueta
18260 \begin_inset Quotes cld
18264 \begin_inset Quotes crd
18270 \begin_layout Standard
18271 Cualquier texto o entorno de párrafo que siga a este irá en la nueva diapositiva.
18275 \begin_layout Standard
18276 Probablemente, en las diapositivas necesitarás forzar saltos de página en
18278 (puede especificarse en el diálogo
18280 Insertar\SpecialChar menuseparator
18284 De hecho, tendrás que hacerlo una vez acabes el contenido de una transparencia.
18285 Si has introducido más texto del que cabe en una transparencia, el sobrante
18287 Sin embargo no lo recomiendo, puesto que la diapositiva con el texto excedente
18288 no tendrá número de página.
18289 Además, puede interferir con algún
18293 que hayas incluido en la transparencia sobredimensionada.
18296 \begin_layout Standard
18305 funcionan como el entorno
18311 \begin_inset Quotes cld
18315 \begin_inset Quotes crd
18319 \begin_inset Quotes cld
18323 \begin_inset Quotes crd
18327 \begin_inset Quotes cld
18331 \begin_inset Quotes crd
18339 color es magenta en vez de azul, y la
18340 \begin_inset Quotes cld
18344 \begin_inset Quotes crd
18347 tiene un aspecto diferente en estilo y longitud.
18348 La tipografía de las etiquetas de las tres también es diferente en cada
18352 \begin_layout Standard
18357 , si los contenidos de una
18365 exceden el espacio físico de la diapositiva o del papel, el texto sobrante
18366 ocupa una nueva hoja.
18367 De nuevo lo desaconsejamos porque las
18375 s carecerían de utilidad.
18378 \begin_layout Subsubsection
18388 \begin_layout Standard
18393 es una transparencia que se superpone a otra.
18394 Supón que quieres presentar una figura en una diapositiva antes que el
18395 texto que la acompaña.
18396 Una forma de conseguirlo es ocultar con papel negro la parte que quieres
18397 que se muestre más tarde.
18398 Sin embargo, este método no sirve si quieres superponer un gráfico a otro,
18400 Entonces tendrías que trastear con las transparencias, mientras sigues
18401 hablando, para superponerlas de manera que los gráficos queden correctamente
18407 , ambas cosas son mucho más sencillas.
18410 \begin_layout Standard
18415 tiene el mismo número de página que la
18420 \begin_inset Quotes cld
18424 \begin_inset Quotes crd
18428 \begin_inset Quotes cld
18432 \begin_inset Quotes crd
18439 \begin_layout Plain Layout
18440 Presumiblemente, múltiples
18445 \begin_inset Quotes cld
18453 \begin_inset Quotes crd
18457 \begin_inset Quotes cld
18465 \begin_inset Quotes crd
18469 \begin_inset Quotes cld
18477 \begin_inset Quotes crd
18481 \begin_inset space ~
18484 tras el número de página de la
18489 \begin_inset Quotes cld
18493 \begin_inset Quotes crd
18502 ¡Efectivamente, quieres que la Diapositiva
18510 cuenten como si fueran una sola página! Probablemente deberías considerar
18516 \begin_inset Quotes cld
18520 \begin_inset Quotes crd
18536 en \SpecialChar LyX
18537 : la etiqueta al principio de un
18541 es más corta que la de comienzo de una
18546 Por último, al generar salida impresa, verás marcas de alineación en las
18547 cuatro esquinas de las páginas de la
18556 Esas marcas te ayudarán a alinear físicamente las dos transparencias.
18559 \begin_layout Standard
18560 El mayor problema para superponer dos transparencias es alinear sus contenidos.
18561 ¿Qué espacio habrá que dejar para tal gráfico en la segunda transparencia?
18562 Peor aún, ¿qué pasa si quieres un gráfico y una frase en la segunda transparenc
18563 ia, pero en la primera hay texto que debe aparecer entre ellos? Podrías
18564 probar a insertar un espacio vertical adecuado, pero el mejor método es
18576 \begin_layout Standard
18577 Como su nombre indica,
18585 son entornos de párrafo que hacen invisible o visible, respectivamente,
18586 todo el texto siguiente.
18587 Sin embargo, ten en cuenta que no colocas nada
18591 de estos entornos, recuerda la sección
18592 \begin_inset space ~
18596 \begin_inset CommandInset ref
18598 reference "sec:slide-Peculiaridades"
18607 , se inserta una etiqueta en azul-cielo, centrada en la página con la leyenda
18608 <Invisible Text Follows>.
18609 Los párrafos que siguen a esta etiqueta en la
18617 (da lo mismo) se sustituyen por el espacio en blanco equivalente.
18620 \begin_layout Standard
18625 , la etiqueta tiene la leyenda <Visible Text Follows>
18626 \begin_inset space ~
18630 Los párrafos que la siguen se comportan normalmente.
18631 Ten en cuenta que el inicio de
18643 desactiva automáticamente la función
18648 No es necesario utilizar
18659 \begin_layout Standard
18660 Ya deberíamos estar listos para crear transparencias superpuestas con la
18661 adecuada combinación de
18680 \begin_layout Enumerate
18685 , incluyendo todo lo que debe aparecer en ella y en los
18692 \begin_layout Enumerate
18693 Antes de cada figura o párrafo que vaya a salir solo en un
18697 , inserta un entorno
18702 Si es necesario, inserta un entorno
18706 tras el texto que pertenece solo al
18713 \begin_layout Enumerate
18718 inmediatamente detrás de la
18725 \begin_layout Enumerate
18726 Copia los contenidos de esta
18737 \begin_layout Enumerate
18742 , cambia todas las líneas del
18753 \begin_layout Standard
18755 Acabas de hacer una transparencia superpuesta.
18758 \begin_layout Standard
18759 Hay un problema con el procedimiento que he diseñado para la clase
18763 en \SpecialChar LyX
18764 : no puedes hacer invisible un texto en mitad de un párrafo, ni hacer
18765 visible un texto dentro de un párrafo invisible.
18766 Para conseguirlo necesitarás usar algo de código \SpecialChar LaTeX
18771 \begin_layout Plain Layout
18772 Los comandos de interés son:
18775 \begin_layout Itemize
18780 invisible \SpecialChar ldots
18784 \begin_layout Itemize
18789 visible \SpecialChar ldots
18793 \begin_layout Plain Layout
18795 que deben marcarse como \SpecialChar TeX
18797 El texto \SpecialChar ldots
18803 \begin_inset Quotes cld
18807 \begin_inset Quotes crd
18810 quieres cambiar debe ir a continuación del comando
18822 , y todo ello entre llaves { }.
18823 Si no sabes cómo se marca un texto como \SpecialChar TeX
18824 , consulta la sección adecuada
18837 \begin_layout Subsubsection
18847 \begin_layout Standard
18856 está asociada a una
18864 \begin_inset Quotes cld
18868 \begin_inset Quotes crd
18872 También \SpecialChar LyX
18877 visualmente: La etiqueta para una
18881 es más corta que la de una
18885 pero más larga que la de
18889 y, como este, en color magenta.
18894 tiene en la salida el número de página de la
18899 \begin_inset Quotes cld
18903 \begin_inset Quotes crd
18907 \begin_inset Quotes cld
18915 \begin_inset Quotes crd
18919 \begin_inset Quotes cld
18927 \begin_inset Quotes crd
18931 \begin_inset Quotes cld
18939 \begin_inset Quotes crd
18943 Puedes poner varias
18959 , seguramente te interesará cortar las
18963 largas para que quepan en una hoja.
18966 \begin_layout Standard
18967 El propósito de una
18971 es evidente: hacer comentarios adicionales al contenido principal.
18972 También podría utilizarse como recordatorio en una
18977 En este caso, podrías hacer uso de marcadores de tiempo.
18978 Actualmente, la clase
18982 no tiene en \SpecialChar LyX
18984 \begin_inset Quotes cld
18988 \begin_inset Quotes crd
18991 para marcadores de tiempo, una función de
18997 Por tanto tendrías que usar código \SpecialChar LaTeX
19001 \begin_layout Standard
19002 Para usar marcadores de tiempo debes especificar la opción extra de clase
19004 \begin_inset Quotes cld
19012 \begin_inset Quotes crd
19016 \begin_inset space ~
19020 \begin_inset CommandInset ref
19022 reference "sec:slidesetup"
19027 Esta opción habilita marcas de tiempo que se mostrarán en la esquina inferior
19033 Para establecer lo que aparecerá en el marcador de tiempo, usa los comandos
19036 \begin_inset Quotes cld
19046 \begin_inset Quotes crd
19050 \begin_inset Quotes cld
19060 \begin_inset Quotes crd
19064 El argumento de ambos comandos es un tiempo expresado en segundos.
19066 \begin_inset Quotes cld
19076 \begin_inset Quotes crd
19079 fija el marcador en un instante dado.
19081 \begin_inset Quotes cld
19091 \begin_inset Quotes crd
19094 incrementa el marcador en la cantidad de tiempo especificada.
19095 Usar los marcadores de tiempo y las
19099 de esta manera te recordará cuanto tiempo emplear en una
19106 \begin_layout Standard
19107 Queda por describir una característica.
19108 Seguramente te gustaría imprimir todas tus
19116 en transparentes y las
19133 a la que están asociadas.
19134 ¿Qué hacer entonces?
19137 \begin_layout Standard
19138 Afortunadamente hay dos comandos \SpecialChar LaTeX
19139 que permiten seleccionar lo que se ha
19141 Se deben poner en el preámbulo del documento.
19143 \begin_inset Quotes cld
19155 \begin_inset Quotes crd
19158 hará que la salida solo contenga las
19167 De igual manera, el comando
19168 \begin_inset Quotes cld
19180 \begin_inset Quotes crd
19188 Aconsejo poner ambos comandos en el preámbulo pero desactivados mediante
19189 un comentario a principio de línea para que puedas ver preliminares de
19190 toda la presentación.
19191 A la hora de imprimir, puedes descomentar uno de ellos para imprimir esa
19193 Tengo la costumbre de descomentar
19194 \begin_inset Quotes cld
19206 \begin_inset Quotes crd
19209 , exportar a un archivo con
19210 \begin_inset Quotes cld
19218 \begin_inset Quotes crd
19221 en el nombre, comentarlo de nuevo, ahora descomentar
19222 \begin_inset Quotes cld
19234 \begin_inset Quotes crd
19237 y exportar a otro archivo con
19238 \begin_inset Quotes cld
19246 \begin_inset Quotes crd
19250 Entonces puedo mandar ambos archivos a la impresora poniendo transparentes
19251 o papel según convenga.
19254 \begin_layout Standard
19255 También puedes poner otros argumentos a los comandos
19256 \begin_inset Quotes cld
19266 \begin_inset Quotes crd
19270 \begin_inset Quotes cld
19280 \begin_inset Quotes crd
19284 Consulta un buen libro sobre \SpecialChar LaTeX
19288 \begin_layout Subsection
19289 La plantilla para la clase
19294 \begin_layout Standard
19295 He preparado también un archivo modelo,
19296 \begin_inset Quotes cld
19304 \begin_inset Quotes crd
19312 Para empezar tu presentación con él abrelo con
19314 Archivo\SpecialChar menuseparator
19316 \begin_inset space ~
19320 \begin_inset space ~
19326 Contiene un ejemplo de presentación con el trío
19347 tienen además un ejemplo del uso de TextoI
19356 Por último, el preámbulo contiene:
19359 \begin_layout LyX-Code
19360 % Uncomment to print out only slides and overlays
19364 \begin_layout Plain Layout
19366 \begin_inset Quotes cld
19370 \begin_inset Quotes crd
19373 ) para imprimir solo diapositivas y superpuestos.
19387 \begin_layout LyX-Code
19391 \begin_layout LyX-Code
19397 \begin_inset Newline newline
19403 \begin_layout LyX-Code
19404 % Uncomment to print out only notes
19408 \begin_layout Plain Layout
19410 \begin_inset Quotes cld
19414 \begin_inset Quotes crd
19417 ) para imprimir solo las notas.
19431 \begin_layout LyX-Code
19435 \begin_layout LyX-Code
19443 \begin_layout Standard
19444 Un apunte final: He creado esta clase para dar soporte a la clase integrante
19445 de \SpecialChar LaTeX2e
19447 \begin_inset Quotes cld
19456 \begin_inset Quotes crd
19460 Ni yo ni el resto del equipo \SpecialChar LyX
19461 aprobamos o desaprobamos el empleo de esta
19463 A tí te corresponde decidir si la necesitas.
19464 Hay otras clases de \SpecialChar LaTeX2e
19465 para crear presentaciones, como
19470 \begin_inset space ~
19474 \begin_inset CommandInset ref
19476 reference "sec:foiltex"
19481 \begin_inset Quotes cld
19489 \begin_inset Quotes crd
19492 (presente en algunas distribuciones de \SpecialChar TeX
19494 Este último aún no es soportado por \SpecialChar LyX
19499 \begin_layout Plain Layout
19500 Quizá quieras abordar tú la tarea\SpecialChar ldots
19506 No conozco estas otras clases.
19507 Puedes probarlas para ver qué alternativas te ofrecen.
19510 \begin_layout Chapter
19511 Características de \SpecialChar LyX
19512 que requieren software adicional
19513 \begin_inset Argument 1
19516 \begin_layout Plain Layout
19525 \begin_layout Section
19526 Comprobar \SpecialChar TeX
19530 \begin_layout Standard
19536 \begin_layout Subsection
19540 \begin_layout Standard
19549 \begin_layout Plain Layout
19550 Aún no disponible en la distribución Mik\SpecialChar TeX
19560 encontrarás la opción
19563 \begin_inset space ~
19569 Para que esté disponible necesitas instalar el programa
19574 Puedes obtenerlo de CTAN,
19575 \begin_inset Newline newline
19579 \begin_inset CommandInset href
19581 target "https://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
19589 \begin_layout Standard
19592 Chk\SpecialChar TeX
19600 , a causa de la frustración que generan algunas construcciones de \SpecialChar LaTeX
19602 intuitivas y fáciles de olvidar.
19603 El programa se ejecuta sobre el archivo \SpecialChar LaTeX
19604 y comprueba la integridad del
19605 mismo, identificando algunos errores comunes.
19606 En palabras técnicas, es como
19610 para \SpecialChar LaTeX
19614 \begin_layout Standard
19615 Bien, ¿qué pinta un revisor de sintaxis en \SpecialChar LyX
19616 , que se supone que siempre genera
19618 correcto? La respuesta es sencilla: Igual que
19622 no solo comprueba la
19626 de programas C, sino que también comprueba la
19634 busca de errores de tipografía,
19636 Chk\SpecialChar TeX
19639 detecta, además de los errores sintácticos, errores
19643 comunes, tales como
19646 \begin_layout Itemize
19647 Puntos suspensivos incorrectos:
19648 \begin_inset Newline newline
19651 Usa \SpecialChar ldots
19655 \begin_layout Itemize
19656 Espacio junto a los paréntesis:
19657 \begin_inset Newline newline
19660 ( espaciado incorrecto )
19663 \begin_layout Itemize
19664 Introducción de espacio normal tras abreviaciones:
19665 \begin_inset Newline newline
19670 es un espacio demasiado grande.
19673 \begin_layout Itemize
19674 Colocación de un espacio fin-de-frase cuando la última frase acaba con mayúscula
19676 \begin_inset Newline newline
19680 Y esto un espacio incorrecto.
19683 \begin_layout Itemize
19684 Espacio ante etiquetas y otros comandos:
19685 \begin_inset Newline newline
19688 La etiqueta debe estar pegada al texto precedente para evitar un salto de
19689 línea o página en mal sitio.
19691 \begin_inset CommandInset label
19701 \begin_layout Plain Layout
19702 Esta nota podría salir en una página inadecuada.
19707 La etiqueta está demasiado separada.
19710 \begin_layout Itemize
19711 Espacio no protegido ante las referencias:
19712 \begin_inset Newline newline
19715 Si te despistas en esto, el texto podría saltar de línea justo entre él
19716 y el número de la referencia, lo que se ve feo.
19718 \begin_inset CommandInset ref
19720 reference "sec:chktex"
19727 \begin_layout Itemize
19729 \begin_inset Quotes eld
19733 \begin_inset Quotes erd
19737 \begin_inset Formula $\times$
19741 \begin_inset Newline newline
19744 2x2 se ve cutre comparado con
19745 \begin_inset Formula $2\times2$
19751 \begin_layout Standard
19752 y más\SpecialChar ldots
19753 Es una herramienta imprescindible una vez acabado tu documento y hecha
19754 la revisión ortográfica; antes de afinar la composición del documento e
19755 imprimirlo deberías ejecutar
19757 Chk\SpecialChar TeX
19763 \begin_layout Subsection
19767 \begin_layout Standard
19768 Si el programa está instalado, se ejecuta con
19770 Herramientas\SpecialChar menuseparator
19772 \begin_inset space ~
19779 genera entonces un archivo \SpecialChar LaTeX
19780 del documento, inicia
19782 Chk\SpecialChar TeX
19785 para revisarlo, e inserta
19786 \begin_inset Quotes cld
19790 \begin_inset Quotes crd
19793 con las advertencias de
19795 Chk\SpecialChar TeX
19799 Las advertencias se situarán cerca del error, y puedes navegar entre ellas
19800 con la opción de menú
19802 Navegar\SpecialChar menuseparator
19805 , o con el atajo de teclado
19814 Los cuadros de error se abren pulsando sobre ellos o con el atajo
19831 Lee las advertencias y corrige los errores.
19832 Si no tienes ni idea de qué va un mensaje puedes ignorarlo limpiamente.
19833 Recuerda que hay un estrato oculto entre el documento en pantalla y los
19834 detalles técnicos al ejecutar
19836 Chk\SpecialChar TeX
19839 , por lo que pueden aparecer algunos avisos de aspecto misterioso o absurdo.
19842 \begin_layout Standard
19843 Este documento es un excelente banco de pruebas para esta característica,
19844 con el que comprobar la presencia de advertencias y enredar con ellas.
19845 Aunque, como los ordenadores son tan listos, confía en que la mayoría de
19846 advertencias serán falsas alarmas.
19849 \begin_layout Subsection
19853 \begin_layout Standard
19854 A veces observarás que con
19856 Chk\SpecialChar TeX
19859 hay más ruido que nueces.
19860 Puedes elegir no usarlo, o intentar personalizar
19862 Chk\SpecialChar TeX
19865 para adaptarlo a tus necesidades.
19868 \begin_layout Standard
19871 Chk\SpecialChar TeX
19878 muy configurable y ampliable, no esperes resolver todos los problemas de
19882 Chk\SpecialChar TeX
19886 Como \SpecialChar LyX
19887 ha de generar un archivo \SpecialChar LaTeX
19888 un tanto especial para poder casar los
19889 números de línea de la salida de
19891 Chk\SpecialChar TeX
19894 con la estructura interna del documento
19898 \begin_layout Plain Layout
19899 Puedes inspeccionar la salida de
19905 Documento\SpecialChar menuseparator
19907 \begin_inset space ~
19911 \begin_inset space ~
19926 , algunos de los avisos no estarán bien colocados.
19927 Puedes hacer dos cosas:
19930 \begin_layout Itemize
19931 Afinar la línea de comandos de
19933 Chk\SpecialChar TeX
19942 Salidas\SpecialChar menuseparator
19946 ), o el archivo de configuración global de
19948 Chk\SpecialChar TeX
19951 (normalmente se ubica en
19952 \begin_inset Newline newline
19957 /usr/local/share/chktexrc
19960 Véase más adelante qué advertencias se pueden activar o desactivar en la
19965 \begin_layout Itemize
19966 Exporta tu documento a un archivo \SpecialChar LaTeX
19971 Archivo\SpecialChar menuseparator
19972 Exportar\SpecialChar menuseparator
19980 Ejecutado así, puede ser peliagudo encontrar el lugar correspondiente en
19981 el documento \SpecialChar LyX
19982 , pero con un poco de paciencia lo lograrás.
19985 \begin_layout Standard
19986 A continuación se listan los mensajes de error que pueden ser activados
19996 para desactivar un aviso, y
20001 Las entradas en énfasis están desactivadas por omisión, porque de forma
20002 predeterminada se ejecuta como "
20004 chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38
20009 \begin_layout Standard
20010 Ten en cuenta que solo deberías usar las opciones que activan o desactivan
20011 avisos, porque las demás las usa \SpecialChar LyX
20012 de manera específica para comunicarse
20020 \begin_layout Enumerate
20024 Command terminated with space.
20025 (Comando finalizado con un espacio
20032 \begin_layout Enumerate
20035 Non-breaking space (
20036 \begin_inset Quotes eld
20044 \begin_inset Quotes erd
20047 ) should have been used.
20052 debería haber usado un espacio protegido
20053 \begin_inset Quotes cld
20057 \begin_inset Quotes crd
20063 \begin_layout Enumerate
20067 You should enclose the previous parenthesis with
20068 \begin_inset Quotes eld
20076 \begin_inset Quotes erd
20083 (Deberías cerrar los paréntesis previos con
20088 \begin_inset Quotes cld
20092 \begin_inset Quotes crd
20098 \begin_layout Enumerate
20101 Italic correction (
20102 \begin_inset Quotes eld
20112 \begin_inset Quotes erd
20115 ) found in non-italic buffer.
20116 (Corrección de cursiva (
20117 \begin_inset Quotes cld
20123 \begin_inset Quotes crd
20126 ) en un grupo que no está en cursiva)
20129 \begin_layout Enumerate
20132 Italic correction (
20133 \begin_inset Quotes eld
20143 \begin_inset Quotes erd
20146 ) found more than once.
20147 (Corrección de cursiva (
20148 \begin_inset Quotes cld
20154 \begin_inset Quotes crd
20160 \begin_layout Enumerate
20164 No italic correction (
20165 \begin_inset Quotes eld
20175 \begin_inset Quotes erd
20179 (Corrección de cursiva (
20182 \begin_inset Quotes cld
20188 \begin_inset Quotes crd
20200 \begin_layout Enumerate
20204 \begin_inset Quotes eld
20212 \begin_inset Quotes erd
20216 \begin_inset Quotes eld
20224 \begin_inset Quotes erd
20229 \begin_inset Quotes cld
20233 \begin_inset Quotes crd
20237 \begin_inset Quotes cld
20241 \begin_inset Quotes crd
20247 \begin_layout Enumerate
20250 Wrong length of dash may have been used.
20251 (Quizá se ha usado un guión de longitud inadecuada)
20254 \begin_layout Enumerate
20258 \begin_inset Quotes eld
20266 \begin_inset Quotes erd
20270 \begin_inset Quotes eld
20278 \begin_inset Quotes erd
20283 \begin_inset Quotes cld
20287 \begin_inset Quotes crd
20291 \begin_inset Quotes cld
20295 \begin_inset Quotes crd
20301 \begin_layout Enumerate
20305 \begin_inset Quotes eld
20313 \begin_inset Quotes erd
20317 (Se ha encontrado un solo
20318 \begin_inset Quotes cld
20322 \begin_inset Quotes crd
20328 \begin_layout Enumerate
20332 \begin_inset Quotes eld
20340 \begin_inset Quotes erd
20343 to achieve an ellipsis.
20345 \begin_inset Quotes cld
20349 \begin_inset Quotes crd
20352 para los puntos suspensivos)
20355 \begin_layout Enumerate
20358 Inter-word spacing (
20359 \begin_inset Quotes eld
20369 \begin_inset Quotes eld
20372 ) should perhaps be used.
20373 (Quizá tendría que ponerse un espacio entre palabras (
20374 \begin_inset Quotes cld
20380 \begin_inset Quotes crd
20386 \begin_layout Enumerate
20389 Inter-sentence spacing (
20390 \begin_inset Quotes eld
20400 \begin_inset Quotes erd
20403 ) should perhaps be used.
20404 (Quizá tendría que ponerse un espacio entre frases (
20405 \begin_inset Quotes cld
20411 \begin_inset Quotes crd
20417 \begin_layout Enumerate
20420 Could not find argument for command.
20421 (Argumento de comando no encontrado)
20424 \begin_layout Enumerate
20428 \begin_inset Quotes eld
20436 \begin_inset Quotes erd
20441 \begin_inset Quotes cld
20445 \begin_inset Quotes crd
20451 \begin_layout Enumerate
20454 Math mode still on at end of \SpecialChar LaTeX
20456 (El archivo \SpecialChar LaTeX
20457 termina en modo ecuación)
20460 \begin_layout Enumerate
20464 \begin_inset Quotes eld
20472 \begin_inset Quotes erd
20475 doesn't match the number of
20476 \begin_inset Quotes eld
20484 \begin_inset Quotes erd
20489 \begin_inset Quotes cld
20493 \begin_inset Quotes crd
20496 no corresponde con el número de
20497 \begin_inset Quotes cld
20501 \begin_inset Quotes crd
20507 \begin_layout Enumerate
20510 You should use either
20513 \begin_inset Quotes eld
20521 \begin_inset Quotes erd
20526 as an alternative to
20527 \begin_inset Quotes eld
20535 \begin_inset Quotes erd
20540 \begin_inset Quotes cld
20544 \begin_inset Quotes crd
20550 \begin_inset Quotes cld
20560 \begin_inset Quotes crd
20568 \begin_layout Enumerate
20575 " (ASCII 39) instead of "
20581 \begin_inset Quotes cld
20585 \begin_inset Quotes crd
20588 (ASCII 39) en lugar de
20589 \begin_inset Quotes cld
20593 \begin_inset Quotes crd
20599 \begin_layout Enumerate
20602 User-specified pattern found.
20603 (Se ha encontrado un patrón definido por el usuario)
20606 \begin_layout Enumerate
20609 This command might not be intended.
20610 (Comando posiblemente no buscado)
20613 \begin_layout Enumerate
20618 (Comentario mostrado)
20621 \begin_layout Enumerate
20652 \begin_layout Enumerate
20655 Delete this space to maintain correct page references.
20656 (Borra este espacio para mantener las referencias de página)
20659 \begin_layout Enumerate
20663 You might wish to put this between a pair of
20664 \begin_inset Quotes eld
20672 \begin_inset Quotes erd
20676 (Esto quizá estaría mejor entre llaves
20677 \begin_inset Quotes cld
20681 \begin_inset Quotes crd
20687 \begin_layout Enumerate
20690 You ought to remove spaces in front of punctuation.
20691 (Debes quitar espacios delante de la puntuación)
20694 \begin_layout Enumerate
20697 Could not execute \SpecialChar LaTeX
20699 (No se puede ejecutar comando \SpecialChar LaTeX
20703 \begin_layout Enumerate
20712 in front of small punctuation.
20719 delante de un punto)
20722 \begin_layout Enumerate
20730 may look prettier here.
20731 (Aquí quedaría mejor
20741 \begin_layout Enumerate
20745 Multiple spaces detected in output.
20746 (Se detectan espacios múltiples en la salida)
20749 \begin_layout Enumerate
20752 This text may be ignored.
20753 (Este texto podría no tenerse en cuenta)
20756 \begin_layout Enumerate
20762 \begin_inset Quotes eld
20767 to begin quotation, not
20772 (Usa `` para comenzar una cita, no ')
20775 \begin_layout Enumerate
20782 to end quotation, not
20785 \begin_inset Quotes eld
20791 (Usa ' para finalizar una cita, no ``)
20794 \begin_layout Enumerate
20798 (No mezcles distintos tipos de comillas)
20801 \begin_layout Enumerate
20804 You should perhaps use
20805 \begin_inset Quotes eld
20813 \begin_inset Quotes erd
20817 (Quizá sería mejor usar
20818 \begin_inset Quotes cld
20822 \begin_inset Quotes crd
20828 \begin_layout Enumerate
20831 You should put a space in front of/after parenthesis.
20832 (Deberías poner un espacio delante/detrás de los paréntesis)
20835 \begin_layout Enumerate
20838 You should avoid spaces in front of/after parenthesis.
20839 (Deberías evitar espacios delante/detrás de los paréntesis)
20842 \begin_layout Enumerate
20846 You should not use punctuation in front of/after quotes.
20847 (No deberías usar puntuación delante/detrás de comillas)
20850 \begin_layout Enumerate
20853 Double space found.
20854 (Espacio doble encontrado)
20857 \begin_layout Enumerate
20860 You should put punctuation outside inner/inside display math mode.
20861 (Deberías poner la puntuación fuera del modo ecuación)
20864 \begin_layout Enumerate
20867 You ought to not use primitive \SpecialChar TeX
20868 in \SpecialChar LaTeX
20870 (No debes usar primitivas de \SpecialChar TeX
20871 dentro de código \SpecialChar LaTeX
20875 \begin_layout Enumerate
20878 You should remove spaces in front of
20879 \begin_inset Quotes eld
20887 \begin_inset Quotes erd
20890 (Deberías quitar los espacios delante de
20891 \begin_inset Quotes cld
20895 \begin_inset Quotes crd
20901 \begin_layout Enumerate
20904 \begin_inset Quotes eld
20912 \begin_inset Quotes erd
20915 is normally not followed by
20916 \begin_inset Quotes eld
20924 \begin_inset Quotes erd
20929 \begin_inset Quotes cld
20933 \begin_inset Quotes crd
20936 normalmente no va seguido de
20937 \begin_inset Quotes cld
20941 \begin_inset Quotes crd
20947 \begin_layout Standard
20948 En las últimas versiones de \SpecialChar LyX
20949 esperamos proporcionar una interfaz más completa
20950 para esta herramienta (y su prima pequeña
20954 ) para aprovechar toda su potencia.
20955 Pero no deja de ser útil tal como está: prueba con alguno de tus documentos
20956 de cierta longitud y sorpréndete.
20959 \begin_layout Section
20960 Control de versiones en \SpecialChar LyX
20964 \begin_layout Standard
20967 Lars Gullik Bjønnes
20974 \begin_layout Subsection
20978 \begin_layout Standard
20980 soporta algunos comandos básicos de RCS/CVS/SVN/GIT.
20981 Si necesitas algo más sofisticado tendrás que hacerlo a mano en un terminal.
20984 \begin_layout Standard
20985 Además, hay que tener en cuenta que el soporte de CVS no es tan bueno como
20986 el de subversion, por lo que recomendamos SVN.
20987 Para empezar con Subversion es conveniente consultar el SVN Book.
20991 \begin_layout Plain Layout
20992 \begin_inset CommandInset href
20994 target "http://svnbook.red-bean.com/"
21004 Para RCS deberías leer
21005 \begin_inset Quotes cld
21009 \begin_inset Quotes crd
21017 Este archivo describe todas las características básicas de RCS.
21018 Deberías fijarte especialmente en el comentario sobre el directorio RCS
21019 y las nociones sobre el archivo maestro RCS (el que acaba en
21026 \begin_layout Standard
21027 Antes de usar el control de versiones en \SpecialChar LyX
21028 hay que conocer el uso de RCS/CVS/SVN/
21030 La implementación en \SpecialChar LyX
21031 asume el uso de versiones recientes de los paquetes
21032 GNU RCS o CVS/SVN —no hay garantías con versiones antiguas—.
21033 La mayoría de los mensajes de registro no son actualmente mostrados tras
21034 las operaciones —puedes comprobarlos en el panel Messages si no estás seguro.
21035 Los usuarios habituales de control de versiones apreciarán las herramientas
21038 Ver\SpecialChar menuseparator
21039 Barras de herramientas\SpecialChar menuseparator
21040 Control de versiones
21045 \begin_layout Standard
21046 Para introducir tus propios comandos externos consulta
21052 Funciones de \SpecialChar LyX
21058 \begin_layout Standard
21059 Es muy recomendable guardar los documentos sin comprimir si se usa control
21060 de versiones (desactiva
21062 Documento\SpecialChar menuseparator
21065 si lo está): los documentos \SpecialChar LyX
21066 sin comprimir son archivos de texto y por
21067 tanto factibles de ser mezclados por sistemas de control de versiones.
21068 Los documentos \SpecialChar LyX
21069 comprimidos son archivos binarios, no manejables por sistemas
21070 de control de versiones.
21074 \begin_layout Subsection
21075 Comandos RCS en \SpecialChar LyX
21079 \begin_layout Standard
21080 Las secciones siguientes describen los comandos RCS soportados por \SpecialChar LyX
21082 Los puedes encontrar en el submenú
21084 Archivo\SpecialChar menuseparator
21086 \begin_inset space ~
21090 \begin_inset space ~
21097 se ha probado con la versión RCS 5.7/5.8.
21100 \begin_layout Subsubsection
21106 \begin_layout Standard
21107 Si tu documento no está sometido a control de versiones, este es el único
21108 ítem mostrado en el submenú.
21109 Y si está sometido a control de versiones, el ítem
21117 \begin_layout Standard
21118 Este comando registra el documento con RCS\SpecialChar endofsentence
21119 Se te pide interactivamente una
21120 descripción inicial del documento.
21121 Por ahora, el documento está puesto en modo Solo-lectura y debes
21123 Liberar para edición
21125 antes de hacer cambios en él.
21126 Un documento bajo control de revisión tiene un ítem
21127 \begin_inset Quotes cld
21130 [RCS:<version> <locker>]
21131 \begin_inset Quotes crd
21134 junto al nombre de archivo en el búfer .
21137 \begin_layout Standard
21145 \begin_layout LyX-Code
21148 ci -q -u -i -t-"<descripción inicial>" <nombre-archivo>
21151 \begin_layout Standard
21156 para entender las opciones.
21160 \begin_layout Subsubsection
21166 \begin_layout Standard
21167 Cuando has acabado de editar un archivo liberas tus cambios.
21172 se te pide una descripción que se almacena en el historial.
21173 El número de versión es actualizado, tus cambios se aplican al archivo
21174 maestro RCS, el documento es desbloqueado y puesto en modo Solo-lectura.
21178 \begin_layout Itemize
21181 ci -q -u -m"<descripción>" <nombre-archivo>
21184 \begin_layout Subsubsection
21187 Reservar para edición
21190 \begin_layout Standard
21191 Haciendo esto bloqueas el documento de manera que solo tú puedes editarlo.
21192 Además el documento será de Lectura-Escritura únicamente para ti.
21193 Generalmente continuarás la edición un rato más y al acabar liberarás los
21195 La línea de estado cambia para indicar que has bloqueado el archivo.
21199 \begin_layout Itemize
21202 co -q -l <nombre-archivo>
21205 \begin_layout Subsubsection
21210 versión del repositorio
21213 \begin_layout Standard
21214 Esto descartará todos los cambios hechos en el documento desde la última
21215 liberación de cambios.
21216 Recibes un mensaje de aviso antes de descartar los cambios.
21222 \begin_layout Itemize
21225 co -f -u<version> <nombre-archivo>
21228 \begin_layout Subsubsection
21232 \begin_layout Standard
21233 Creará una copia del documento actual.
21234 Puesto que RCS no soporta nativamente operaciones de copia, el historial
21235 de versiones no se preserva y la copia se añade como archivo nuevo.
21236 Requiere un documento limpio sin ningún cambio desde la última liberación.
21237 Pedirá un nombre de archivo y una descripción de la operación de copia.
21238 Después se crea la copia localmente y en el repositorio.
21239 Si los directorios padre de los documentos original y copiado difieren,
21240 se ajustan todas las rutas relativas de los archivos incluidos en la copia
21243 Archivo\SpecialChar menuseparator
21248 Por último, se carga la copia en vez del documento original.
21251 \begin_layout Labeling
21252 \labelwidthstring 00.00.0000
21254 \begin_inset space ~
21258 \begin_inset space ~
21262 \begin_inset Newline newline
21266 \begin_inset Flex Code
21269 \begin_layout Plain Layout
21273 \begin_inset Quotes qld
21283 \begin_inset Quotes qld
21292 \begin_inset Flex Code
21295 \begin_layout Plain Layout
21299 \begin_inset Quotes qld
21305 <nuevo-nombre-archivo>
21309 \begin_inset Quotes qld
21318 \begin_inset Newline newline
21322 \begin_inset Flex Code
21325 \begin_layout Plain Layout
21330 \begin_inset Quotes qld
21336 <nuevo-nombre-archivo>
21340 \begin_inset Quotes qld
21347 \begin_inset Quotes erd
21358 \begin_layout Subsubsection
21361 Deshacer última liberación
21364 \begin_layout Standard
21365 Esto es como si la última liberación de cambios no hubiera sucedido.
21366 No se hacen cambios al documento cargado en \SpecialChar LyX
21367 , pero la última versión es
21368 eliminada del archivo maestro RCS.
21372 \begin_layout Itemize
21375 rcs -o<versión> <nombre-archivo>
21378 \begin_layout Subsubsection
21384 \begin_layout Standard
21385 Muestra el registro completo del historial del documento RCS.
21394 se muestra en un buscador.
21399 para más información.
21402 \begin_layout Subsubsection
21403 Información de revisión
21406 \begin_layout Standard
21408 soporta información de número de versión, autor, fecha y hora del último
21412 rlog -r <nombre-archivo>
21416 \begin_inset CommandInset ref
21418 reference "subsec:VCS-Información-de-revisión"
21425 \begin_layout Subsection
21426 Comandos CVS en \SpecialChar LyX
21430 \begin_layout Standard
21431 Ahora \SpecialChar LyX
21432 soporta un subconjunto de operaciones CVS.
21433 Puedes ver los comandos en el submenú
21435 Archivo\SpecialChar menuseparator
21436 Control de versiones
21439 El sistema de control de versiones SVN es más poderoso, por lo que úsalo
21440 en lugar de CVS, si es posible.
21443 \begin_layout Subsubsection
21447 \begin_layout Standard
21448 Si comienzas desde cero con CVS debes crear tu repositorio y reservar la
21449 copia de trabajo con herramientas externas.
21450 Si usas una configuración cliente-servidor puedes necesitar registrarte
21451 antes de hacer la primera reserva en el repositorio.
21454 \begin_layout Standard
21455 Si tus documentos están bajo control de revisión y otros usan el mismo repositor
21456 io surgen problemas cuando se hacen cambios en el mismo documento y en el
21458 Los repositorios estándar CVS no operan con bloqueo de archivos.
21459 Esto puede sorprender, pero los conflictos solo suceden si la gente discrepa
21460 sobre el adecuado contenido de la misma parte de un documento.
21461 Por tanto, si los colaboradores acostumbran a comunicarse regularmente,
21462 los conflictos ocurren raramente.
21463 Si no se comunican, tienen un problema fundamental de todos modos.
21464 Con todo, algunos prefieren trabajar con las denominadas
21465 \begin_inset Quotes cld
21468 reservas reservadas
21469 \begin_inset Quotes crd
21473 Si lo hacen así, la copia de trabajo de todos los archivos es de solo lectura
21474 cuando reservan primero y el usuario comienza la edición después de usar
21475 un comando especial para hacer posible la escritura en la copia de trabajo.
21476 Cuando los cambios son liberados la copia de trabajo vuelve al estado solo
21478 Con \SpecialChar LyX
21479 , uno debe editar el archivo
21480 \begin_inset Flex Code
21483 \begin_layout Plain Layout
21490 \begin_inset Flex Code
21493 \begin_layout Plain Layout
21500 \begin_inset Quotes cld
21503 reservas reservadas
21504 \begin_inset Quotes crd
21508 El beneficio es la posibilidad de ver quién está usando una copia con acceso
21509 a escritura de algún documento.
21510 No está garantizado que solo un usuario hace copias con permiso de escritura.
21513 \begin_layout Standard
21515 intenta averiguar si estás usando reservas reservadas o no.
21516 Si la copia de trabajo es solo lectura asume que es reservada, si admite
21517 escritura y una copia adicional del documento existe en el subdirectorio
21518 CVS/Base, asume que es no reservada.
21519 Si se detecta una reservada debes usar
21520 \begin_inset Flex Noun
21523 \begin_layout Plain Layout
21529 para poder escribir en ella.
21530 Después de hacerlo, la operación
21531 \begin_inset Flex Noun
21534 \begin_layout Plain Layout
21540 es posible y esto hace que tu copia de trabajo se haga de nuevo solo lectura
21541 después de transferir los cambios al repositorio.
21544 \begin_layout Standard
21545 Más información sobre CVS se puede encontrar en
21546 \begin_inset Flex URL
21549 \begin_layout Plain Layout
21551 http://www.nongnu.org/cvs
21557 \begin_inset Flex URL
21560 \begin_layout Plain Layout
21562 http://ximbiot.com/cvs
21570 \begin_layout Standard
21572 \begin_inset Flex Code
21575 \begin_layout Plain Layout
21581 para comprender los sub-comandos y conmutadores mencionados abajo.
21584 \begin_layout Subsubsection
21588 \begin_layout Standard
21589 Si el documento no está bajo control de revisión, este es el único ítem
21590 mostrado en el menú.
21591 Y si está bajo control de revisión, el ítem
21594 \begin_inset Flex Noun
21597 \begin_layout Plain Layout
21610 \begin_layout Standard
21611 Este comando registra tu documento en CVS
21612 \begin_inset Flex Emph
21615 \begin_layout Plain Layout
21616 \begin_inset Flex Strong
21619 \begin_layout Plain Layout
21630 en el caso de que ya tengas el directorio de documentos bajo control CVS
21631 (en particular, existe el archivo
21636 Esto significa que debes crear o reservar el archivo por ti mismo usando
21637 herramientas externas.
21638 (En caso de olvidar este paso, \SpecialChar LyX
21639 registra el documento con RCS).
21642 \begin_layout Standard
21643 Después se te pide interactivamente una descripción inicial del documento.
21644 No olvides que el archivo registrado todavía no está liberado.
21647 \begin_layout Standard
21648 El comando CVS que es ejecutado:
21651 \begin_inset Quotes erd
21655 \begin_inset Quotes eld
21659 \begin_inset Quotes erd
21665 \begin_layout Standard
21669 \begin_inset Quotes eld
21673 \begin_inset Quotes erd
21678 anterior y en todos los demás comandos CVS es una abreviación para
21679 \begin_inset Quotes cld
21682 cambiar el directorio de trabajo actual a la ubicación del archivo y usa
21683 el nombre de archivo sin el componente ruta como argumento
21684 \begin_inset Quotes crd
21690 \begin_layout Subsubsection
21694 \begin_layout Standard
21695 Cuando has terminado de editar un archivo se ingresan los cambios.
21696 Al hacerlo se te pide una descripción de los mismos.
21697 Después, los cambios son escritos en el repositorio.
21698 En caso de que no hayas cambiado el documento y se detecte una copia reservada
21699 se deshace la reserva hecha con
21700 \begin_inset Flex Noun
21703 \begin_layout Plain Layout
21712 \begin_layout Labeling
21713 \labelwidthstring 00.00.0000
21715 \begin_inset space ~
21719 \begin_inset space ~
21723 \begin_inset Newline newline
21729 \begin_inset Flex Code
21732 \begin_layout Plain Layout
21735 cvs -q commit -m"<description>" <file-name>
21743 \begin_inset Newline newline
21747 \begin_inset Flex Code
21750 \begin_layout Plain Layout
21751 cvs -q unedit "<file-name>"
21759 \begin_layout Subsubsection
21763 \begin_layout Standard
21764 Cuando estás compartiendo un repositorio con otros, puede que tengas que
21765 incorporar sus cambios en tu copia de trabajo.
21768 \begin_layout Standard
21771 cvs -q update "<file-name>"
21774 \begin_layout Standard
21775 Si se detecta una reserva solo lectura la copia se hace reservada y accesible
21779 \begin_layout Standard
21782 cvs -q edit "<file-name>"
21785 \begin_layout Subsubsection
21786 Volver a la versión del repositorio
21789 \begin_layout Standard
21790 Esto descartará todos los cambios hechos en el documento desde la última
21792 Recibes un mensaje de aviso antes de descartar los cambios.
21793 Primero se borra el archivo y luego se ejecuta el comando CVS de actualización.
21799 \begin_layout Standard
21803 \begin_inset Quotes eld
21807 \begin_inset Quotes erd
21813 \begin_layout Standard
21814 Si se detecta una copia reservada y la copia de trabajo no tiene cambios
21815 solo se deshace la reserva.
21818 \begin_layout Standard
21822 \begin_inset Quotes eld
21826 \begin_inset Quotes erd
21832 \begin_layout Subsubsection
21836 \begin_layout Standard
21837 Creará una copia del documento actual.
21838 Como CVS no soporta de forma nativa operaciones de copia, el historial
21839 de versiones no se preserva y la copia se añade como archivo nuevo.
21840 Requiere un documento limpio sin ningún cambio desde la última liberación.
21841 Pedirá un nombre de archivo y una descripción de la operación de copia.
21842 Después se crea la copia localmente y en el repositorio.
21843 Si los directorios padre de los documentos original y copiado difieren,
21844 se ajustan todas las rutas relativas de los archivos incluidos en la copia
21847 Archivo\SpecialChar menuseparator
21852 Por último, se carga la copia en vez del documento original.
21855 \begin_layout Labeling
21856 \labelwidthstring 00.00.0000
21858 \begin_inset space ~
21862 \begin_inset space ~
21866 \begin_inset Newline newline
21870 \begin_inset Flex Code
21873 \begin_layout Plain Layout
21889 \begin_inset Flex Code
21892 \begin_layout Plain Layout
21908 \begin_inset Newline newline
21912 \begin_inset Flex Code
21915 \begin_layout Plain Layout
21933 \begin_layout Subsubsection
21937 \begin_layout Standard
21938 Este comando renombra el documento actual.
21939 Como CVS no soporta de forma nativa operaciones de renombrado, el historial
21940 de versiones no se preserva, el documento renombrado se añade como archivo
21941 nuevo y el original se borra.
21942 Requiere un documento limpio sin ningún cambio desde la última liberación.
21943 Pedirá un nombre de archivo y una descripción de la operación.
21944 Después el documento se renombra localmente y en el repositorio.
21945 Si los directorios padre de los nombres de erchivo nuevo y antiguo difieren,
21946 se ajustan todas las rutas relativas de los archivos incluidos (como en
21949 Archivo\SpecialChar menuseparator
21954 Por último, se recarga el documento con el nuevo nombre.
21957 \begin_layout Labeling
21958 \labelwidthstring 00.00.0000
21960 \begin_inset space ~
21964 \begin_inset space ~
21968 \begin_inset Newline newline
21972 \begin_inset Flex Code
21975 \begin_layout Plain Layout
21991 \begin_inset Flex Code
21994 \begin_layout Plain Layout
22010 \begin_inset Newline newline
22014 \begin_inset Flex Code
22017 \begin_layout Plain Layout
22033 \begin_inset Newline newline
22037 \begin_inset Flex Code
22040 \begin_layout Plain Layout
22058 \begin_layout Subsubsection
22059 Actualizar la reserva del directorio local desde el repositorio
22062 \begin_layout Standard
22063 Conforme tus documentos son más complejos, conteniendo sub-documentos y
22064 figuras e incluyendo archivos externos
22068 y demás, el uso de control de versiones se hace más complejo.
22070 soporta la actualización del árbol completo en el que reside el documento.
22071 Esto es especialmente útil cuando colaboras con gente que ni tiene conocimiento
22072 detallado de CVS ni tiene interés en ingresar material adicional al repositorio.
22073 Tienes que organizar la estructura de archivos para que los archivos externos
22074 residan en el mismo directorio o subdirectorio del documento.
22075 Es una buena práctica de todos modos almacenar los documentos multi-parte
22076 en un directorio extra.
22079 \begin_layout Standard
22081 \begin_inset Flex Code
22084 \begin_layout Plain Layout
22085 Actualizar directorio local desde el repositorio
22090 actualiza el directorio completo.
22091 Si se detectan cambios locales el usuario es advertido antes de iniciar
22093 En caso de conflictos en la fusión ambas versiones de las partes conflictivas
22094 se sitúan al final del documento.
22095 Debes revisar y corregir el resultado de la fusión.
22096 Los conflictos los verás encerrados entre pares de
22097 \begin_inset Flex Code
22100 \begin_layout Plain Layout
22107 \begin_inset Flex Code
22110 \begin_layout Plain Layout
22117 \begin_inset Flex Code
22120 \begin_layout Plain Layout
22127 La parte primera es tu versión antes de la operación de actualización con
22128 pecedida del nombre del documento.
22129 La segunda es la versión del repositorio con el número de la versión tras
22130 la secuencia de signos
22131 \begin_inset Flex Code
22134 \begin_layout Plain Layout
22143 \begin_layout Labeling
22144 \labelwidthstring 00.00.0000
22146 \begin_inset space ~
22150 \begin_inset space ~
22154 \begin_inset Newline newline
22158 \begin_inset Flex Code
22161 \begin_layout Plain Layout
22162 cd $path; cvs diff "."
22167 (Para ver si se detectan cambios)
22168 \begin_inset Newline newline
22172 \begin_inset Flex Code
22175 \begin_layout Plain Layout
22176 cd $path; cvs -q update "."
22184 \begin_layout Standard
22186 \begin_inset Flex Code
22189 \begin_layout Plain Layout
22195 es la ruta al documento.
22198 \begin_layout Subsubsection
22202 \begin_layout Standard
22203 Muestra el historial completo del documento CVS.
22205 \begin_inset Newline newline
22211 \begin_inset Quotes eld
22217 \begin_inset Quotes erd
22220 se muestra en un buscador.
22223 \begin_layout Subsubsection
22224 Información de la revisión
22227 \begin_layout Standard
22229 soporta número de versión CVS, nombre de autor, fecha y hora del último
22231 Toda esta información se obtiene de
22233 cvs log -r <file-name>
22237 \begin_inset CommandInset ref
22239 reference "subsec:VCS-Información-de-revisión"
22246 \begin_layout Subsection
22247 Comandos SVN en Lyx
22250 \begin_layout Standard
22251 Ahora \SpecialChar LyX
22252 soporta parcialmente SVN.
22253 Puedes encontrar los comandos en el submenú
22255 Archivo\SpecialChar menuseparator
22256 Control de versiones
22259 Ten en cuenta que si utilizas acceso protegido con contraseña al repositorio
22260 vía ssh, se te pedirá en una ventana de terminal.
22262 se ha probado con SVN 1.5 y 1.6.
22266 \begin_layout Plain Layout
22267 La mayoría de los comandos funcionarán también con 1.4, véase
22268 \begin_inset CommandInset ref
22270 reference "subsec:SVN-Actualizar-el-directorio"
22282 \begin_layout Subsubsection
22286 \begin_layout Standard
22287 Si tu documento no está bajo control de revisión este es el único ítem mostrado
22289 Y si está bajo control de revisión, el ítem
22296 \begin_layout Standard
22297 Este comando registra tu documento en SVN
22303 en el caso de que ya tengas el directorio de documentos bajo control SVN
22304 ( en particular, existe el archivo
22309 Esto significa que debes reservar el archivo por ti mismo.
22312 \begin_layout Standard
22313 Después se te pide interactivamente una descripción inicial del documento.
22314 No olvides que el archivo registrado todavía no es definitivo.
22317 \begin_layout Standard
22318 El comando SVN que es ejecutado:
22323 \begin_inset Quotes qld
22331 \begin_inset Quotes qld
22337 \begin_layout Standard
22342 para comprender las alternativas.
22345 \begin_layout Subsubsection
22349 \begin_layout Standard
22350 Cuando has terminado de editar un archivo, ingresas los cambios.
22351 Al hacerlo se te pide una descripción de los mismos.
22352 Después, los cambios son ingresados.
22355 \begin_layout Standard
22360 \begin_layout Plain Layout
22361 En el caso de que el bloqueo no esté habilitado.
22363 \begin_inset CommandInset ref
22365 reference "subsec:SVN-Bloqueo-de-archivos"
22376 svn commit -q -m"<description>" <file-name>
22379 \begin_layout Subsubsection
22380 Reservar para edición
22383 \begin_layout Standard
22384 Actualiza los cambios de este archivo desde el repositorio.
22385 Asegúrate de que comprendes la mezcla y la resolución de conflictos de
22386 SVN antes de usar esta función, porque ¡todos los conflictos debes resolverlos
22390 \begin_layout Standard
22395 \begin_layout Plain Layout
22406 \begin_inset Flex Code
22409 \begin_layout Plain Layout
22413 \begin_inset Quotes qld
22421 \begin_inset Quotes qld
22432 \begin_layout Subsubsection
22433 Volver a la versión del repositorio
22436 \begin_layout Standard
22437 Esto descartará todos los cambios hechos en el documento desde la última
22438 liberación de cambios.
22439 Recibes un mensaje de aviso antes de descartar los cambios.
22442 \begin_layout Standard
22448 \begin_inset Quotes qld
22456 \begin_inset Quotes qld
22462 \begin_layout Subsubsection
22466 \begin_layout Standard
22467 Creará una copia del documento actual incluyendo el historial de versiones.
22468 Requiere un documento limpio sin ningún cambio desde la última liberación.
22469 Pedirá un nombre de archivo y una descripción de la operación de copia.
22470 Después se crea la copia localmente y en el repositorio.
22471 Si los directorios padre de los documentos original y copiado difieren,
22472 se ajustan todas las rutas relativas de los archivos incluidos de la copia
22475 Archivo\SpecialChar menuseparator
22480 Por último, se carga la copia en vez del documento original
22483 \begin_layout Labeling
22484 \labelwidthstring 00.00.0000
22486 \begin_inset space ~
22490 \begin_inset space ~
22494 \begin_inset Newline newline
22498 \begin_inset Flex Code
22501 \begin_layout Plain Layout
22506 \begin_inset Quotes qld
22516 \begin_inset Quotes qld
22526 \begin_inset Quotes qld
22536 \begin_inset Quotes qld
22545 \begin_inset Newline newline
22549 \begin_inset Flex Code
22552 \begin_layout Plain Layout
22561 \begin_layout Subsubsection
22565 \begin_layout Standard
22566 Renombrará el documento actual incluyendo el historial de versiones.
22567 Requiere un documento limpio sin ningún cambio desde la última liberación.
22568 Pedirá un nombre de archivo y una descripción de la operación de renombrado.
22569 Después se renombra el documento localmente y en el repositorio.
22570 Si los directorios padre de los nombres de archivo nuevo y antiguo difieren,
22571 se ajustan todas las rutas relativas de los archivos incluidos (como en
22574 Archivo\SpecialChar menuseparator
22579 Por último, se recarga el documento con su nuevo nombre.
22582 \begin_layout Labeling
22583 \labelwidthstring 00.00.0000
22585 \begin_inset space ~
22589 \begin_inset space ~
22593 \begin_inset Newline newline
22597 \begin_inset Flex Code
22600 \begin_layout Plain Layout
22605 \begin_inset Quotes qld
22615 \begin_inset Quotes qld
22625 \begin_inset Quotes qld
22635 \begin_inset Quotes qld
22644 \begin_inset Newline newline
22648 \begin_inset Flex Code
22651 \begin_layout Plain Layout
22660 \begin_layout Subsubsection
22661 Actualizar la reserva del directorio local desde el repositio
22665 \begin_layout Plain Layout
22666 Ten en cuenta que este comando solo funcionará con
22667 \begin_inset Formula $\geqq1.5$
22676 \begin_inset CommandInset label
22678 name "subsec:SVN-Actualizar-el-directorio"
22685 \begin_layout Standard
22686 Todos los comandos anteriores tienen un defecto: solo negocian con el documento
22688 Una vez que el documento contiene figuras, archivos externos
22692 , etc., su administración se hace más complicada.
22693 Ahora \SpecialChar LyX
22694 soporta la actualización del árbol completo en el que reside el
22699 \begin_layout Plain Layout
22700 Hay que organizar la estructura de archivos de modo que todos los archivos
22701 externos estén en el mismo directorio o subdirectorios del documento.
22706 Esto es especialmente útil cuando colaboras con gente que ni tiene conocimiento
22707 detallado de CVS ni tiene interés en ingresar material adicional al repositorio.
22710 \begin_layout Standard
22712 \begin_inset Flex Code
22715 \begin_layout Plain Layout
22716 Actualizar directorio local desde el repositorio
22721 actualiza el directorio completo y en caso de conflictos con la mezcla
22722 se deja la versión local de los archivos, para que no haya pérdida indeseada
22724 Si se detectan cambios locales se avisa al usuario antes de iniciar la
22728 \begin_layout Labeling
22729 \labelwidthstring 00.00.0000
22731 \begin_inset space ~
22735 \begin_inset space ~
22739 \begin_inset Newline newline
22743 \begin_inset Flex Code
22746 \begin_layout Plain Layout
22752 (Para ver si se detectan cambios.)
22753 \begin_inset Newline newline
22757 \begin_inset Flex Code
22760 \begin_layout Plain Layout
22761 svn update --accept mine-full $path
22769 \begin_layout Standard
22774 es la ruta al documento.
22777 \begin_layout Subsubsection
22781 \begin_layout Standard
22782 Muestra el historial completo del documento SVN.
22784 \begin_inset Newline newline
22792 \begin_inset Quotes qld
22800 \begin_inset Quotes qld
22806 se muestra en un buscador.
22809 \begin_layout Subsubsection
22810 Bloqueo de archivos
22811 \begin_inset CommandInset label
22813 name "subsec:SVN-Bloqueo-de-archivos"
22820 \begin_layout Standard
22821 El intercambio de archivos entre varios sistemas de control de revisiones
22822 tiene el problema de conflictos en las fusiones en el caso de que dos usuarios
22823 intenten editar el mismo documento (o partes de él).
22824 Cuando sucede un conflicto requiere una solución manual, y una alternativa
22825 razonable es proveer algún tipo de mecanismo de bloqueo que garantice que
22826 solo un usuario pueda editar el archivo al mismo tiempo.
22829 \begin_layout Standard
22830 SVN dispone de dos de estos mecanismos que garantizan exclusividad recíproca
22831 en el acceso a archivos,
22835 bloqueos y configuración automática de permisos de escritura (véase la sec.
22836 \begin_inset space ~
22840 \begin_inset CommandInset ref
22842 reference "subsec:SVN-Bloqueo-automático"
22846 ), basados en la propiedad de los archivos svn
22847 \begin_inset Flex Code
22850 \begin_layout Plain Layout
22860 \begin_layout Plain Layout
22861 \begin_inset CommandInset href
22863 target "http://svnbook.red-bean.com/en/1.2/svn.advanced.locking.html"
22873 Si esta propiedad se detecta para determinado documento, \SpecialChar LyX
22874 empieza automáticamen
22875 te a usar bloqueo SVN para la edición del documento, y el mecanismo completo
22876 de liberación/reserva conmuta al mismo régimen que para RCS.
22877 En particular, esto quiere decir que hay dos modos diferentes de uso archivos
22878 en \SpecialChar LyX
22882 \begin_layout Itemize
22883 Estado no bloqueado.
22884 El archivo cargado está en modo solo lectura.
22885 Para editar hay que reservar.
22890 consiste en actualizar desde el repositorio y adquirir bloqueo de escritura.
22891 Si no es posible obtener el bloqueo permanece el estado no bloquedo.
22894 \begin_layout Itemize
22896 El archivo cargado está en modo
22897 \begin_inset Quotes cld
22901 \begin_inset Quotes crd
22905 Ningún otro usuario tiene permiso para editar el archivo.
22910 consiste en ingresar los cambios y liberar el bloqueo de escritura.
22911 Si no se han hecho cambios en el documento, no se producirá ningún ingreso
22915 \begin_layout Plain Layout
22916 No te extrañe si de todas formas se te pide un mensaje de ingreso.
22921 y solo se realizará el desbloqueo de escritura.
22924 \begin_layout Standard
22928 \begin_layout Labeling
22929 \labelwidthstring 00.00.0000
22932 svn commit -q -m"<description>" "<file-name>"
22933 \begin_inset Newline newline
22936 svn unlock "<file-name>"
22939 \begin_layout Labeling
22940 \labelwidthstring 00.00.0000
22942 \begin_inset Note Note
22945 \begin_layout Plain Layout
22946 traduccion http://forum.wordreference.com/showthread.php?t=689994
22953 svn update "<file-name>"
22954 \begin_inset Newline newline
22957 svn lock "<file-name>"
22960 \begin_layout Subsubsection
22961 Propiedad de bloqueo automático
22962 \begin_inset CommandInset label
22964 name "subsec:SVN-Bloqueo-automático"
22971 \begin_layout Standard
22972 La configuración automática de los permisos de escritura del archivo .lyx
22974 \begin_inset Flex Noun
22977 \begin_layout Plain Layout
22978 Archivo\SpecialChar menuseparator
22979 Control de versiones\SpecialChar menuseparator
22980 Use propiedad de bloqueo
22986 Este comando está activo solo cuando el archivo no está bloqueado en el
22987 servidor svn (es decir, debes reservar antes de proceder).
22990 \begin_layout Labeling
22991 \labelwidthstring 00.00.0000
22993 \begin_inset space ~
22999 \begin_layout Labeling
23000 \labelwidthstring 00.00.0000
23003 svn propset svn:needs-lock ON "<file-name>"
23006 \begin_layout Labeling
23007 \labelwidthstring 00.00.0000
23010 svn propdel svn:needs-lock "<file-name>"
23013 \begin_layout Subsubsection
23014 Información de revisión en documentos
23015 \begin_inset CommandInset label
23017 name "subsec:VCS-Información-de-revisión"
23024 \begin_layout Standard
23025 Hay más posibilidades para activar la información de revisión en nuestro
23029 \begin_layout Itemize
23031 lo soporta directamente.
23035 \begin_layout Itemize
23036 Información de revisión del árbol (
23037 \begin_inset Flex Code
23040 \begin_layout Plain Layout
23047 El resultado es la salida del comando
23048 \begin_inset Flex Code
23051 \begin_layout Plain Layout
23057 ; el siguiente cuadro da una idea de la interpretación de los resultados.
23060 \begin_layout Standard
23062 \begin_inset Tabular
23063 <lyxtabular version="3" rows="6" columns="2">
23064 <features tabularvalignment="middle">
23065 <column alignment="center" valignment="top">
23066 <column alignment="center" valignment="top">
23068 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23071 \begin_layout Plain Layout
23077 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23080 \begin_layout Plain Layout
23088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23091 \begin_layout Plain Layout
23097 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23100 \begin_layout Plain Layout
23101 revisión mezclada de la copia de trabajo
23108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23111 \begin_layout Plain Layout
23117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23120 \begin_layout Plain Layout
23121 copia de trabajo modificada
23128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23131 \begin_layout Plain Layout
23137 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23140 \begin_layout Plain Layout
23141 copia de trabajo conmutada
23148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23151 \begin_layout Plain Layout
23157 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23160 \begin_layout Plain Layout
23161 copia de trabajo parcial, de una reserva dispersa
23168 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23171 \begin_layout Plain Layout
23177 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23180 \begin_layout Plain Layout
23181 copia de trabajo de revisión mezclada, modificada, conmutada
23194 \begin_layout Itemize
23195 Información de revisión del archivo.
23196 El resultado del análisis de la salida de
23197 \begin_inset Flex Code
23200 \begin_layout Plain Layout
23202 \begin_inset space ~
23206 \begin_inset space ~
23210 \begin_inset space ~
23219 Los argumentos soportados son:
23223 \begin_layout Itemize
23224 número de versión del último ingreso (
23225 \begin_inset Flex Code
23228 \begin_layout Plain Layout
23237 \begin_layout Itemize
23238 autordel último ingreso (
23239 \begin_inset Flex Code
23242 \begin_layout Plain Layout
23251 \begin_layout Itemize
23252 fecha del último ingreso (
23253 \begin_inset Flex Code
23256 \begin_layout Plain Layout
23265 \begin_layout Itemize
23266 hora del último ingreso (
23267 \begin_inset Flex Code
23270 \begin_layout Plain Layout
23280 \begin_layout Standard
23281 Puedes obtener esta información mediante InsetInfo (p.
23282 \begin_inset space \thinspace{}
23287 \begin_inset Flex Code
23290 \begin_layout Plain Layout
23291 info-insert buffer vcs-date
23297 La información estará disponible solo cuando tengas el arvhivo almacenado
23298 bajo administración svn (es decir, el directorio
23299 \begin_inset Flex Code
23302 \begin_layout Plain Layout
23308 está disponible con tu documento).
23312 \begin_layout Itemize
23313 Otra posibilidad —de
23317 — es usar claves svn
23321 \begin_layout Plain Layout
23322 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html
23328 Estableces la propiedad de claves de archivo (p.
23329 \begin_inset space \thinspace{}
23335 svn propset svn:keywords 'Rev' file.lyx
23337 ) y luego pegas la clave en código \SpecialChar TeX
23342 \begin_layout Plain Layout
23343 Esta es una manera fácil de asegurar que \SpecialChar LyX
23344 no quiebre la línea en mitad de
23350 en tu documento (p.
23351 \begin_inset space \thinspace{}
23358 \begin_inset Flex Code
23361 \begin_layout Plain Layout
23372 De esta manera el cliente svn sustituirá automáticamente el número de revisión
23374 \begin_inset space \thinspace{}
23381 \begin_inset Flex Code
23384 \begin_layout Plain Layout
23394 ) tras cada actualización e ingreso.
23395 Hay otros problemas con este enfoque.
23396 Primero, el carácter '$' se usa en \SpecialChar TeX
23397 para expresiones matemáticas, de modo
23398 que cualquier aparición de una fórmula
23399 \begin_inset Formula $Rev$
23403 \begin_inset Formula $Rev:59$
23406 en tu documento \SpecialChar LyX
23408 Lo mismo sucederá con otras claves como Id, Date, Author, etc.
23409 Segundo, la salida svn es dependiente del idioma, por lo que es fácil que
23410 svn produzca alguna cadena problemática al usar Date.
23411 Tercero, se obtiene la cadena completa 'Rev: 59' en tu documento en vez
23413 Hasta que subversion implemente claves personalizadas por el usuario será
23414 pesado usar este enfoque con fiabilidad o permitir a \SpecialChar LyX
23415 soportarlo directamente.
23418 \begin_layout Subsection
23419 SVN y entorno Windows
23422 \begin_layout Quote
23423 Mi inclinación es decir que si el usuario no es capaz por sí mismo de entender
23424 las operaciones en línea de comandos, sería recomendable que usara TortoiseSVN.
23426 \begin_inset space \thinspace{}
23430 \begin_inset space \thinspace{}
23436 \begin_layout Subsubsection
23440 \begin_layout Standard
23441 Además de instalar \SpecialChar LyX
23442 y tener acceso al repositorio de Subversion, el usuario
23443 deberá instalar el programa cliente de Subversion.
23445 \begin_inset CommandInset href
23448 target "http://www.collab.net/nonav/downloads/subversion/"
23453 hay disponible un instalador para Windows.
23454 Además, al usuario le puede interesar instalar
23455 \begin_inset CommandInset href
23458 target "http://tortoisesvn.tigris.org/"
23463 , que integra las operaciones de Subversion en el menú contextual (clic
23464 derecho) del Explorador de Windows.
23465 Las operaciones hechas fuera de \SpecialChar LyX
23466 generalmente son más convenientes en el
23467 menú contextual del Explorador.
23468 Hay que tener en cuenta que TortoiseSVN no es un reemplazo del programa
23469 cliente, que es lo que usa el propio \SpecialChar LyX
23473 \begin_layout Subsubsection
23474 Poner un documento bajo control de Subversion
23477 \begin_layout Standard
23478 Antes de poner un documento \SpecialChar LyX
23479 bajo control de Subversion, su directorio padre
23480 debe estar bajo control de versiones.
23481 Si el documento se va a añadir a un proyecto ya en el repositorio, esto
23482 se lleva a cabo comprobando el directorio donde se incluirá el documento
23484 Si el proyecto mismo no está ya bajo control de versión (por ejemplo, si
23485 el documento inicia un proyecto nuevo), hay que importar el directorio
23487 Esto se hace fuera de \SpecialChar LyX
23489 Tanto la importación como la reserva se hacen fácilmente en el menú contextual
23490 del Explorador mediante TortoiseSVN, o bien usando un cliente de línea
23491 de comandos en DOS.
23492 El procedimiento para importar el proyecto con TortoiseSVN se describe
23493 abajo, suponiendo que hay un repositorio y un proyecto nuevo en
23500 Para información sobre el uso del programa cliente de Subversion, ejecuta
23506 \begin_inset Flex Code
23509 \begin_layout Plain Layout
23515 en línea de comandos de DOS.
23518 \begin_layout Enumerate
23525 en el Explorador de Windows, clic derecho y selecciona
23527 TortoiseSVN\SpecialChar menuseparator
23531 Si es preciso ajusta el URL para el repositorio, y pulsa OK.
23534 \begin_layout Enumerate
23535 Haz clic derecho en el nivel del repositorio bajo el que quieres situar
23536 la carpeta del nuevo proyecto (típicamente el nivel superior) y pulsa
23540 Da nombre a la carpeta y pulsa OK.
23541 Añade un mensaje para el registro, si quieres, y pulsa OK de nuevo.
23542 La carpeta del nuevo proyecto debería figurar en el repositorio.
23543 Por último, OK de nuevo para salir del navegador del repositorio.
23546 \begin_layout Enumerate
23547 Haz otra vez clic derecho en
23553 , esta vez seleccionando SVN Checkout Selecciona el URL de la carpeta que
23554 acabas de crear en el repositorio y ajusta el directorio a
23562 Serás avisado sobre una carpeta no vacía; OK para continuar.
23563 Ahora debería haber un directorio
23574 \begin_layout Enumerate
23575 Crea o abre tu documento en \SpecialChar LyX
23578 Archivo\SpecialChar menuseparator
23579 Control de versiones\SpecialChar menuseparator
23583 Añade un mensaje de registro y pulsa OK para someter el documento a control
23587 \begin_layout Standard
23588 De aquí en adelante deberías tener funcionalidad completa en el menú
23590 Archivo\SpecialChar menuseparator
23591 Control de versiones
23594 Además tienes la opción de comprobar el documento entrante y saliente,
23595 ver su historial, etc., usando el menú contextual TortoiseSVN en el Explorador
23596 o en la línea de comandos del programa cliente de Subversion.
23600 \begin_layout Subsubsection
23601 SSH tunnel con SVN bajo Windows
23604 \begin_layout Standard
23605 Comparado con la configuración del cliente svn en Linux para comunicar sobre
23606 ssh, bajo Windows es una tarea es bastante más molesta.
23607 Al menos ofreceremos algunas indicaciones para configurar el cliente, pero
23608 hay que aclarar antes algo sobre ssh y la línea de comandos en Windows
23609 y estar preparados para grandes dosis de frustración\SpecialChar ldots
23613 \begin_layout Enumerate
23614 Obtén un cliente svn para windows, como se describe en secciones anteriores.
23615 Si es una instalación nueva ejecuta algún comando para crear los archivos
23616 de configuración (p.
23617 \begin_inset space \thinspace{}
23622 \begin_inset Flex Code
23625 \begin_layout Plain Layout
23631 ), que deberás cambiar más tarde.
23634 \begin_layout Enumerate
23635 Elige un cliente ssh para Windows.
23636 Hay varias opciones, aquí usaremos el de Putty tools
23640 \begin_layout Plain Layout
23641 \begin_inset Flex URL
23644 \begin_layout Plain Layout
23646 http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
23657 Tendrás que configurar la conexión para que el cliente no pia contraseña.
23658 Para facilitar las cosas usaremos solo claves sin ninguna protección adicional
23659 de contraseña, etc.
23663 \begin_layout Enumerate
23664 Genera las claves con
23665 \begin_inset Flex Code
23668 \begin_layout Plain Layout
23675 Guarda tu clave privada .ppk y pon la pública en el servidor.
23676 Si el servidor SVN corre bajo Linux, ten en cuenta que el formato de la
23677 clave pública no es compatible con openssh Linux y tendrás que copiar y
23678 pegar directamente la clave desde el campo de edición “
23680 Public key for pasting into OpenSSH authorized_keys file
23682 :” en el archivo del servidor
23683 \begin_inset Flex Code
23686 \begin_layout Plain Layout
23687 ~/.ssh/authorized_keys
23693 \begin_inset Flex Code
23696 \begin_layout Plain Layout
23705 \begin_layout Enumerate
23707 \begin_inset Flex Code
23710 \begin_layout Plain Layout
23717 En el archivo de configuración SVN
23721 \begin_layout Plain Layout
23722 La ruta exacta depende de la versión de Windows, usualmente algo como
23723 \begin_inset Flex Code
23726 \begin_layout Plain Layout
23729 Documents and Settings
23743 \begin_inset Flex Code
23746 \begin_layout Plain Layout
23761 , sección [tunnels], configura el comando ssh, p.
23762 \begin_inset space \thinspace{}
23767 \begin_inset Flex Code
23770 \begin_layout Plain Layout
23771 ssh=c:/path/plink.exe -i c:/path/private_key.ppk
23780 \begin_layout Plain Layout
23781 Usualmente toma tiempo conseguir el comando exacto y depende de muchas cosas.
23782 Por ejemplo, no tener algún servidor remoto guardado como predeterminado
23784 Si falla, intenta primero conectar vía plink sin SVN.
23793 \begin_layout Enumerate
23794 Reserva el archivo SVN, p.
23795 \begin_inset space \thinspace{}
23799 \begin_inset Newline newline
23803 \begin_inset Flex Code
23806 \begin_layout Plain Layout
23807 svn co svn+ssh://user@server/repository_path
23815 \begin_layout Subsubsection
23816 Conversiones de los finales de línea
23819 \begin_layout Standard
23820 Cuando los colaboradores mezclan entornos Linux y Windows, \SpecialChar LyX
23822 finales de línea en los archivos .lyx.
23823 Esto no es un problema en lo que concierne a la funcionalidad de \SpecialChar LyX
23825 los archivos diff de los ingresos serán enormes y propensos a conflictos
23827 Afortunadamente SVN sabe por sí mismo
23831 \begin_layout Plain Layout
23832 \begin_inset Flex URL
23835 \begin_layout Plain Layout
23837 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html
23847 como manejar problemas con retornos y saltos de línea (CR/LF) cuando cambia
23848 archivos .lyx al modo
23849 \begin_inset Flex Code
23852 \begin_layout Plain Layout
23862 \begin_layout Plain Layout
23863 Para los perezosos:
23864 \begin_inset Flex Code
23867 \begin_layout Plain Layout
23868 svn propset svn:eol-style native FILE_NAME
23881 \begin_layout Subsection
23882 Comandos GIT en \SpecialChar LyX
23886 \begin_layout Standard
23888 soporta un conjunto mínimo de comandos GIT.
23889 Se encuentra en el submenú
23891 Archivo\SpecialChar menuseparator
23892 Control de versiones
23895 Hay que tener en cuenta que si se usa acceso con contraseña al repositorio
23896 vía ssh, ésta se pedirá en una ventana de terminal.
23898 se ha probado con GIT 1.7.
23902 \begin_layout Standard
23903 Una gran diferencia entre GIT y los demás sistemas de control de versiones
23904 soportados es la naturaleza distribuida de GIT: con los sistemas de control
23905 de versiones tradicionales hay un servidor central que aloja el repositorio.
23906 Los usuarios envían sus cambios al servidor y obtienen de él actualizaciones
23908 Con GIT, los usuarios remiten a un repositorio local, el cuál se puede
23909 sincronizar con uno o más repositorios remotos usando los comandos GIT
23911 \begin_inset Flex Code
23914 \begin_layout Plain Layout
23921 \begin_inset Flex Code
23924 \begin_layout Plain Layout
23932 no interactúa de ninguna forma con los repositorios GIT remotos.
23933 Trabaja exclusivamente con el repositorio local de manera similar a como
23934 con un repositorio CVS o SVN.
23935 Si usas repositorios GIT remotos debes hacer las operaciones
23936 \begin_inset Flex Code
23939 \begin_layout Plain Layout
23946 \begin_inset Flex Code
23949 \begin_layout Plain Layout
23955 con tu cliente GIT favorito.
23958 \begin_layout Subsubsection
23962 \begin_layout Standard
23963 Si el documento no está bajo control de versiones, éste es el único ítem
23964 mostrado en el menú.
23965 Si está bajo control de versiones
23972 \begin_layout Standard
23973 Este comando registra el documento en GIT sólo en el caso de que el directorio
23974 de los documentos esté ya bajo control de GIT (en particular, existe el
23980 Esto quiere decir que debes reservar
23981 \begin_inset Note Note
23984 \begin_layout Plain Layout
23990 el archivo por ti mismo.
23993 \begin_layout Standard
23994 Entonces se pedirá de forma interactiva una descripción inicial del documento.
23995 No olvides que el archivo registrado aún no ha sido ingresado.
23998 \begin_layout Standard
23999 El comando GIT que se ejecuta:
24002 \begin_inset Quotes eld
24008 \begin_layout Standard
24013 para entender los conmutadores.
24017 \begin_layout Subsubsection
24021 \begin_layout Standard
24022 Una vez editado un archivo hay que ingresar los cambios realizados en él.
24023 Al hacerlo se pedirá una descripción de los mismos y después se ingresan.
24026 \begin_layout Standard
24029 git commit -q -m"<description>" <file-name>
24032 \begin_layout Subsubsection
24033 Volver a la versión del repositorio
24036 \begin_layout Standard
24037 Descartará los cambios hechos en el documento desde la última liberación.
24038 Hay un aviso antes de descartar los cambios.
24041 \begin_layout Standard
24047 \begin_inset Quotes qld
24055 \begin_inset Quotes qld
24061 \begin_layout Subsubsection
24065 \begin_layout Standard
24066 Renombrará el documento actual incluyendo el historial de versiones.
24067 Requiere un documento limpio sin ningún cambio desde la última liberación.
24068 Pedirá un nombre de archivo y una descripción de la operación de renombrado.
24069 Después se renombra el documento localmente y en el repositorio.
24070 Si los directorios padre de los nombres de archivo nuevo y antiguo difieren,
24071 se ajustan todas las rutas relativas de los archivos incluidos (como en
24074 Archivo\SpecialChar menuseparator
24079 Por último, se recarga el documento con su nuevo nombre.
24082 \begin_layout Labeling
24083 \labelwidthstring 00.00.0000
24085 \begin_inset space ~
24089 \begin_inset space ~
24093 \begin_inset Newline newline
24097 \begin_inset Flex Code
24100 \begin_layout Plain Layout
24105 \begin_inset Quotes qld
24115 \begin_inset Quotes qld
24125 \begin_inset Quotes qld
24135 \begin_inset Quotes qld
24144 \begin_inset Newline newline
24148 \begin_inset Flex Code
24151 \begin_layout Plain Layout
24160 \begin_layout Subsubsection
24164 \begin_layout Standard
24165 Muestra el historial completo del documento GIT.
24171 \begin_inset Quotes qld
24179 \begin_inset Quotes qld
24185 se muestra en un buscador.
24188 \begin_layout Subsubsection
24189 Información de la versión
24192 \begin_layout Standard
24194 soporta número hash GIT del últim ingreso al archivo, autor, fecha y hora
24195 del último ingreso.
24196 Todos se obtienen de
24197 \begin_inset Flex Code
24200 \begin_layout Plain Layout
24201 git log -n 1 --pretty=format:%H%n%an%n%ai
24207 La información de l versión del árbol se obtiene vía
24208 \begin_inset Flex Code
24211 \begin_layout Plain Layout
24212 git describe --abbrev --dirty --long
24219 \begin_inset CommandInset ref
24221 reference "subsec:VCS-Información-de-revisión"
24225 para otros detalles.
24228 \begin_layout Subsection
24229 Ajustes adicionales
24232 \begin_layout Standard
24233 Con la reciente adición de la función
24237 , los usuarios que exprimen la potencia de \SpecialChar LyX
24238 pueden crear sus propios comandos
24239 para el control de revisiones.
24242 \begin_layout Standard
24243 Como ejemplo puedes ver cómo integrar directamente dos comandos TortoiseSVN:
24246 \begin_layout Description
24248 \begin_inset Flex Code
24251 \begin_layout Plain Layout
24252 vc-command DS "." "TortoiseProc /command:commit /path:$$p"
24260 \begin_layout Description
24262 \begin_inset Flex Code
24265 \begin_layout Plain Layout
24266 vc-command DR "." "TortoiseProc /command:revert /path:$$p"
24274 \begin_layout Subsection
24275 Control de versiones y comparación de documentos
24278 \begin_layout Standard
24279 Uno de los usos típicos del control de versiones es inspeccionar los cambios
24280 entre revisiones, usualmente creando volcados
24281 \begin_inset Flex Code
24284 \begin_layout Plain Layout
24291 Aunque esto es útil para archivos de texto sencillo, es mucho menos útil
24292 en archivos de \SpecialChar LyX
24293 , que tienen una estructura más complicada.
24294 Por tanto, proporcionamos caminos para la característica de comparar documentos.
24295 Hay dos maneras de iniciar esta función, una por llamada directa a
24301 (véase el manual Funciones de \SpecialChar LyX
24302 para detalles) y otra con el
24317 Se pueden comparar dos revisiones determinadas o se puede simplemente comparar
24318 la versión actual del texto editado con revisiones anteriores (donde '
24319 \begin_inset Flex Code
24322 \begin_layout Plain Layout
24328 ' revisiones atrás quiere decir comparar el archivo en edición con la última
24329 revisión remitida).
24333 \begin_layout Standard
24334 Esta característica está soportada por SVN y RCS, aunque debido al esquema
24335 de versiones más complicado de RCS hay una restricción, en la dirección
24336 de las revisiones en el diálogo, los números siempre apuntan al último
24337 número en el número de revisión de RCS, es decir, '35' en '1.2.35'.
24340 We don't currently support GIT addressing of revisions, one can just compare
24341 edited document with its revision X steps backs, where X is addressed as
24343 \begin_inset Flex Code
24346 \begin_layout Plain Layout
24357 \begin_layout Section
24358 Programación literaria
24361 \begin_layout Standard
24366 (kayvan@sylvan.com)
24370 documentación original de
24372 Edmar Wienskoski Jr.
24375 (edmar-w-jr@technologist.com)
24378 \begin_layout Subsection
24382 \begin_layout Standard
24383 El propósito principal de esta documentación es mostrar el uso de \SpecialChar LyX
24385 escribir programación literaria
24391 \begin_layout Plain Layout
24392 «Literate Programming», llamada también programación «ilustrada» o «letrada».
24396 \begin_inset space \thinspace{}
24407 Se supone que la técnica de la programación te resulta familiar y sabes
24408 lo que significan términos como
24409 \begin_inset Quotes cld
24413 \begin_inset Quotes crd
24417 \begin_inset Quotes cld
24421 \begin_inset Quotes crd
24428 \begin_layout Plain Layout
24429 Generación del código y de la documentación, respectivamente.
24433 \begin_inset space \thinspace{}
24444 Si no es así, acude a los enlaces web mencionados en las siguientes secciones.
24445 Hay mucha y buena documentación que abarca desde la historia de los inicios
24446 de la programación hasta las últimas herramientas y trucos.
24449 \begin_layout Standard
24450 También se supone que estás familiarizado con el uso de \SpecialChar LyX
24452 de conocer cómo cambiar las preferencias y el archivo de recursos X.
24453 Si no es así acude al resto de documentación de \SpecialChar LyX
24454 en función de tus necesidades.
24457 \begin_layout Subsection
24458 Programación literaria
24461 \begin_layout Standard
24462 Extraído de las PUF:
24465 \begin_layout Quotation
24466 En la programación literaria se combinan documentación y código fuente de
24467 manera legible para los seres humanos.
24468 ¡De hecho, la programación literaria debería ser de lectura agradable,
24469 incluso sugerente! (¡Lo siento Bob, no he podido resistirme\SpecialChar ldots
24471 en la escritura de los programas se combinan código y documentación en
24473 Las herramientas de programación literaria analizan después el archivo
24474 y pueden generar la documentación o el código fuente compilable por separado.
24475 El estilo WEB de programación fue creado por
24478 \begin_inset space \thinspace{}
24482 \begin_inset space \thinspace{}
24487 mientras desarrollaba su sistema de composición tipográfica \SpecialChar TeX
24491 \begin_layout Standard
24495 \begin_layout Quotation
24498 ¿En qué se diferencian la programación literaria y
24502 l comentario literal?
24505 \begin_layout Quotation
24506 Hay tres rasgos distintivos, que son, por orden de importancia:
24510 \begin_layout Itemize
24511 orden de elaboración flexible
24514 \begin_layout Itemize
24515 soporte automático de búsqueda
24518 \begin_layout Itemize
24519 documentación bien presentada, especialmente los diagramas y las matemáticas.
24524 \begin_layout Standard
24525 Y ahora que he despertado tu curiosidad, veamos las referencias.
24528 \begin_layout Subsubsection
24532 \begin_layout Standard
24533 Las FAQ completas de
24534 \begin_inset Quotes cld
24537 Literate Programming
24538 \begin_inset Quotes crd
24544 \begin_layout Quote
24545 Literate Programming FAQ:
24546 \begin_inset Flex URL
24549 \begin_layout Plain Layout
24551 http://www.literateprogramming.com/lpfaq.pdf
24559 \begin_layout Standard
24560 En las FAQ se describen 23 (¡23!) herramientas diferentes de programación
24562 Algunas son específicas de lenguajes de programación particulares, otras
24563 son de aplicación general.
24564 He seleccionado la herramienta
24568 para mi uso personal por varias razones:
24571 \begin_layout Itemize
24572 Puede generar la documentación en \SpecialChar LaTeX
24576 \begin_layout Itemize
24577 Es de estructura abierta, es decir, es sencillo introducir filtros nuevos
24583 \begin_layout Plain Layout
24589 are programs that read a given data stream and output a manipulated data
24591 That way, a WEB file (consisting of literate code) can be turned into a
24592 file consisting only of C program code or \SpecialChar LaTeX
24600 y hacer procesamientos especiales según las necesidades.
24604 \begin_layout Itemize
24605 Ya hay una buena selección de filtros disponible (uno de ellos es HTML).
24608 \begin_layout Itemize
24612 \begin_layout Standard
24613 La página web de Noweb es:
24616 \begin_layout Quote
24617 Página de inicio de Noweb
24618 \begin_inset Flex URL
24621 \begin_layout Plain Layout
24623 https://www.cs.tufts.edu/~nr/noweb/
24631 \begin_layout Standard
24632 Desde allí puedes acceder a muchos enlaces de interés y a ejemplos de programaci
24633 ón en formato literario.
24636 \begin_layout Subsection
24638 y la programación literaria con Noweb
24641 \begin_layout Standard
24643 soporta Programación Literaria mediante el mecanismo de gestión de convertidore
24645 Este soporte se proporciona
24646 \begin_inset Quotes cld
24649 independiente de Noweb
24650 \begin_inset Quotes crd
24653 , es decir, podrás usar esta nueva función de \SpecialChar LyX
24654 con algunas otras herramientas
24655 de programación literaria, cuya elección puedes hacer en las preferencias
24656 de \SpecialChar LyX
24660 \begin_layout Subsubsection
24661 Generación de documentos y de código («weaving and tangling»)
24664 \begin_layout Paragraph
24665 Usando el módulo noweb
24668 \begin_layout Standard
24669 Con \SpecialChar LyX
24670 y Noweb instalados, al abrir un documento nuevo y después de elegir
24671 la clase de documento selecciona el módulo
24672 \begin_inset Quotes cld
24676 \begin_inset Quotes crd
24681 Documento\SpecialChar menuseparator
24682 Configuración\SpecialChar menuseparator
24686 Si Noweb está instalado correctamente podrás pulsar
24690 para usarlo en tu documento.
24693 \begin_layout Paragraph
24697 \begin_layout Standard
24706 \begin_inset Flex Noun
24709 \begin_layout Plain Layout
24720 para escribir código.
24721 Noweb delimita trozos como éste:
24724 \begin_layout LyX-Code
24728 \begin_layout LyX-Code
24732 \begin_layout LyX-Code
24736 \begin_layout LyX-Code
24740 \begin_layout LyX-Code
24744 \begin_layout Standard
24745 El problema es que todo lo que se escriba entre <<
24746 \begin_inset space ~
24753 debe ser interpretado de forma literal, es decir, \SpecialChar LyX
24754 no debería hacer ninguna
24755 interpretación especial de lo que está ahí escrito.
24756 Esto es también manejado por el entorno
24757 \begin_inset Flex Noun
24760 \begin_layout Plain Layout
24766 , que funciona como un
24770 normal excepto que admite espacios con libertad.
24773 \begin_layout Standard
24774 He de apuntar que también puedes usar la estructura
24775 \begin_inset Quotes cld
24783 \begin_inset Quotes crd
24786 de Noweb en tus trozos de código para añadir identificadores de referencias
24790 \begin_layout LyX-Code
24794 \begin_layout LyX-Code
24795 def una_función(argumentos):
24798 \begin_layout LyX-Code
24799 "Esta es la documentación para esta función."
24802 \begin_layout LyX-Code
24803 print "Mis argumentos: ", argumentos
24806 \begin_layout LyX-Code
24810 \begin_layout Standard
24811 Para ver un ejemplo de esta construcción y la salida con la referencia cruzada
24812 generada, puedes ver la programación literaria en python contenida en el
24814 \begin_inset Newline newline
24822 /examples/listerrors.lyx
24827 que debería aclarar esto.
24830 \begin_layout Paragraph
24831 Generación del documento
24834 \begin_layout Standard
24835 Ahora ya tienes un nuevo documento con su clase adecuada y con algo de código
24837 ¿Cómo ver la salida impresa? La respuesta es simple, con
24839 Ver\SpecialChar menuseparator
24843 Igual que harías con cualquier otro documento.
24844 No hace falta ningún procedimiento especial.
24847 \begin_layout Standard
24848 Para aclarar las cosas explicaré lo que sucede en el interior de \SpecialChar LyX
24852 \begin_layout Enumerate
24853 Al escoger la opción
24855 Ver\SpecialChar menuseparator
24856 Actualizar\SpecialChar menuseparator
24859 , se genera un archivo \SpecialChar LaTeX
24865 \begin_layout Standard
24866 Si el documento es de cualquiera de las clases en formato
24867 \begin_inset Quotes cld
24871 \begin_inset Quotes crd
24874 , el archivo generado será nombrado con una extensión definida por el formato
24876 \begin_inset Quotes cld
24880 \begin_inset Quotes crd
24883 (definido en el panel de
24887 ), si no el archivo tendrá la extensión habitual
24895 \begin_layout Enumerate
24896 La única diferencia está en la extensión del archivo, no hace falta ninguna
24897 acción especial por parte de \SpecialChar LyX
24898 , puesto que has formateado el código con
24904 \begin_inset Flex Noun
24907 \begin_layout Plain Layout
24913 , que ya se cuida de ese aspecto.
24916 \begin_layout Enumerate
24917 Si el documento es de cualquier clase
24918 \begin_inset Quotes cld
24922 \begin_inset Quotes crd
24925 , un convertidor interno se encarga de convertir el archivo \SpecialChar LyX
24931 \begin_layout Plain Layout
24934 Herramientas\SpecialChar menuseparator
24946 convierte Noweb a \SpecialChar LaTeX
24947 para generar el archivo \SpecialChar LaTeX
24952 \begin_layout Standard
24953 Si no lo es, se salta este paso.
24957 \begin_layout Enumerate
24958 Finalmente, se ejecuta \SpecialChar LaTeX
24959 y continúa el proceso de la manera habitual.
24962 \begin_layout Standard
24963 La independencia de una particular herramienta de programación literaria
24964 se basa simplemente en el cambio de los comandos ejecutados por los distintos
24968 \begin_layout Paragraph
24969 Generación del código
24972 \begin_layout Standard
24973 Al escoger la opción de menú o al pulsar el botón adecuado de la barra de
24974 herramientas, se genera un archivo \SpecialChar LaTeX
24975 como se describe en el paso 1 anterior.
24976 A continuación, \SpecialChar LyX
24977 ejecuta el convertidor
24982 Habitualmente, este paso (igual que cualquier otro convertidor) se realiza
24986 \begin_layout Enumerate
24987 El programa convertidor propiamente dicho.
24988 Este programa realiza la conversión de un formato a otro (en este caso,
25000 \begin_layout Enumerate
25001 El analizador de registro de errores.
25002 Este es un programa cuyo único propósito es reescribir los mensajes de
25003 error en un formato comprensible para \SpecialChar LyX
25005 Esto permite la colocación de los cuadros de error de \SpecialChar LyX
25006 en los lugares correctos.
25009 \begin_layout Standard
25010 La primera parte, que se especifica en el campo
25017 \begin_layout LyX-Code
25025 \begin_layout Standard
25026 Esto significa que \SpecialChar LyX
25028 \begin_inset Quotes cld
25036 \begin_inset Quotes crd
25039 (un programa o una secuencia) con el nombre del archivo Noweb (
25043 , generalmente un archivo en el directorio temporal de \SpecialChar LyX
25048 \begin_layout Standard
25049 He aquí una implementación de
25053 que puedes colocar en un directorio accesible para tu línea de comandos:
25056 \begin_layout LyX-Code
25062 \begin_layout LyX-Code
25068 \begin_layout LyX-Code
25071 notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
25074 \begin_layout Standard
25075 La segunda parte de los ajustes del convertidor es el
25076 \begin_inset Quotes cld
25080 \begin_inset Quotes crd
25086 \begin_layout LyX-Code
25089 parselog=$$s/scripts/listerrors
25092 \begin_layout Standard
25093 Esto procesará cualquier error que se genere por el proceso
25094 \begin_inset Quotes cld
25102 \begin_inset Quotes crd
25105 a través del programa
25106 \begin_inset Quotes cld
25110 \begin_inset Quotes crd
25116 \begin_layout Standard
25117 Normalmente, la compilación tendrá lugar en el directorio temporal de \SpecialChar LyX
25119 por tanto los archivos generados por la conversión estarán en ese directorio.
25121 copiará lo que considera como el archivo "principal", pero la conversión
25125 puede generar varios arcivos, aunque la mayoría de ellos se borran al cerrar
25128 Por eso pasamos la variable de entorno NOWEB_OUTPUT_DIR, para que el gragmento
25129 build-script pueda situar los archivos generados en su sitio.
25132 \begin_layout Paragraph
25133 Instrucciones de compilación en el documento
25136 \begin_layout Standard
25137 La última parte de la integración entre \SpecialChar LyX
25138 y noweb es el trozo
25139 \begin_inset Quotes cld
25143 \begin_inset Quotes crd
25147 Generalmente, las instrucciones para compilar tu programa deberían incluirse
25148 en un trozo propio.
25153 específico de noweb visto antes usa el comando
25157 para buscar ese trozo (llamado
25158 \begin_inset Quotes cld
25162 \begin_inset Quotes crd
25165 ) y procesa su contenido a través de
25172 \begin_layout Standard
25173 Típicamente, un trozo
25174 \begin_inset Quotes cld
25178 \begin_inset Quotes crd
25181 se verá más o menos así:
25184 \begin_layout LyX-Code
25188 \begin_layout LyX-Code
25190 \begin_inset Newline newline
25193 if [ -z "${NOWEB_SOURCE}" ]
25194 \begin_inset Newline newline
25200 \begin_layout LyX-Code
25201 NOWEB_SOURCE=myfile.nw
25202 \begin_inset Newline newline
25206 \begin_inset Newline newline
25210 code to extract files ...
25211 use NOWEB_OUTPUT_DIR here ...]
25212 \begin_inset Newline newline
25216 code to compile files ...]
25217 \begin_inset Newline newline
25223 \begin_layout Standard
25229 /examples/listerrors.lyx
25236 /examples/Literate.lyx
25238 , que implementan dos versiones del programa
25242 , para ver algunos ejemplos de cómo ensamblar todo esto, o en
25247 /examples/noweb2lyx.lyx
25253 Es interesante ver cómo estos tres archivos muestran la independencia del
25254 lenguaje de programación literaria utilizado en \SpecialChar LyX
25255 , puesto que están escritos,
25256 respectivamente, en Python, C y Perl.
25259 \begin_layout Subsubsection
25260 Configurar \SpecialChar LyX
25264 \begin_layout Standard
25265 Todo el soporte de Programación Literaria se configura en el panel del menú
25268 Herramientas\SpecialChar menuseparator
25276 \begin_inset space ~
25284 \begin_inset space ~
25296 Las partes importantes son:
25299 \begin_layout Description
25301 \begin_inset space ~
25305 \begin_inset space ~
25309 \begin_inset Quotes cld
25313 \begin_inset Quotes crd
25319 \begin_inset space ~
25323 \begin_inset space ~
25328 se configuran las partes específicas de Noweb.
25332 \begin_inset space ~
25350 Esto prepara a \SpecialChar LyX
25351 para generar un archivo con extensión
25355 en el primer paso del proceso de conversión.
25358 \begin_layout Description
25360 \begin_inset space ~
25366 \begin_inset space ~
25371 a Este es un formato ficticio cuyo único propósito es ser el punto final
25372 de una conversión (que luego nos permite establecer un convertidor que
25380 \begin_layout Description
25390 Este convertidor realiza el
25391 \begin_inset Quotes cld
25395 \begin_inset Quotes crd
25398 (generación de la documentación) del documento literario.
25399 Para Noweb, hay que poner el
25404 \begin_inset Quotes cld
25409 noweave -delay -index $$i > $$o
25412 \begin_inset Quotes crd
25418 \begin_layout Description
25427 a Este realiza el paso
25428 \begin_inset Quotes cld
25432 \begin_inset Quotes crd
25435 (generación del código).
25436 Como se dijo antes, el
25441 \begin_inset Quotes cld
25449 \begin_inset Quotes crd
25458 \begin_inset space ~
25467 \begin_inset Quotes cld
25472 originaldir,parselog=listerrors
25475 \begin_inset Quotes crd
25481 \begin_layout Subsubsection
25482 Extensiones de depuración
25485 \begin_layout Standard
25486 En el servidor \SpecialChar LyX
25487 también se ha implementado una nueva función,
25488 \begin_inset Quotes cld
25491 server-goto-file-row
25492 \begin_inset Quotes crd
25495 , para ser utilizada con
25507 \begin_layout Standard
25508 Cuando se depura código con
25516 , es posible invocar un editor de texto en la posición actual de ejecución
25517 con una sencilla pulsación de teclado.
25518 La configuración por omisión de
25527 La línea de comando del editor utilizado por
25531 se puede definir accediendo al diálogo
25533 Editar\SpecialChar menuseparator
25534 Preferencias\SpecialChar menuseparator
25537 cambiando la entrada
25544 \begin_layout Standard
25545 He aprovechado las ventajas de la nueva función del servidor \SpecialChar LyX
25551 , poniendo lo siguiente en
25558 \begin_layout LyX-Code
25567 :monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
25570 \begin_layout Standard
25571 Con esto, cuando estás usando
25575 y encuentras una parte del programa que quieres editar, solo has de pulsar
25588 pasa esta información por medio del servidor \SpecialChar LyX
25590 , en cuya ventana se verá
25591 el mismo archivo con el cursor en la posición apuntada por
25596 ¡Se acabaron las adivinanzas y los tediosos deslizamientos de pantalla
25597 para localizar los fallos del programa!
25600 \begin_layout Standard
25601 Sin embargo, ten en cuenta que debes habilitar el servidor \SpecialChar LyX
25603 con él (por omisión está desactivado).
25607 \begin_layout Standard
25613 \begin_inset space ~
25617 \begin_inset CommandInset ref
25619 reference "sec:Iniciar-el-servidor"
25625 explains how to do that
25630 \begin_layout Subsubsection
25631 Ampliación de la barra de herramientas
25634 \begin_layout Standard
25635 Hay seis botones nuevos que pueden añadirse a la barra de herramientas de
25638 Four de ellos son atajos a los tipos de párrafo:
25653 y Código-\SpecialChar LyX
25658 one fpr the custom inset
25664 El otro es un atajo a la entrada
25665 \begin_inset Quotes cld
25673 \begin_inset Quotes crd
25684 \begin_layout Standard
25686 dispone de una colección de botones para personalizar la barra de herramientas.
25687 En mi barra de herramientas personal me gusta combinar los seis botones
25688 mencionados con otros dos para las entradas de menú
25692 \SpecialChar menuseparator
25697 \SpecialChar menuseparator
25704 Documento\SpecialChar menuseparator
25711 \begin_layout LyX-Code
25715 \begin_layout LyX-Code
25719 \begin_layout LyX-Code
25720 Icon "layout Standard"
25723 \begin_layout LyX-Code
25724 Icon "layout Section"
25727 \begin_layout LyX-Code
25728 Icon "layout \SpecialChar LaTeX
25732 \begin_layout LyX-Code
25733 Icon "layout \SpecialChar LyX
25737 \begin_layout LyX-Code
25745 \begin_layout LyX-Code
25749 \begin_layout LyX-Code
25753 \begin_layout LyX-Code
25754 Icon "buffer-typeset"
25757 \begin_layout LyX-Code
25758 Icon "build-program"
25761 \begin_layout LyX-Code
25765 \begin_layout LyX-Code
25769 \begin_layout LyX-Code
25773 \begin_layout LyX-Code
25777 \begin_layout LyX-Code
25781 \begin_layout Subsubsection
25782 Personalización de los colores
25785 \begin_layout Standard
25786 Cierto número de colores usados en \SpecialChar LyX
25787 se pueden personalizar en el diálogo
25793 Una de las cosas que más molesta a la gente es el color de la tipografía
25794 del código \SpecialChar LaTeX
25795 , que por omisión es rojo, y como el entorno
25798 \begin_inset Flex Noun
25801 \begin_layout Plain Layout
25812 utiliza código \SpecialChar LaTeX
25813 y hay mucho código en los documentos de programación literaria,
25814 puedes acabar harto de ver tanto rojo.
25815 Así pues, puedes cambiarlo si quieres en
25819 \SpecialChar menuseparator
25825 \begin_layout Standard
25826 El siguiente asunto es la presencia visible del carácter salto de línea
25828 Puedes elegir el color de este carácter en particular para confundirlo
25830 Recomiendo escoger un color parecido al del fondo pero no idéntico, de
25831 esta forma lo seguirás viendo pero sin molestar tanto.
25834 \begin_layout Subsection
25839 \begin_layout Standard
25848 está documentado en el archivo de ejemplo
25852 y en el manual de Sweave (menú
25854 Ayuda\SpecialChar menuseparator
25855 Manuales específicos
25860 \begin_layout Chapter
25861 Características especiales
25864 \begin_layout Standard
25865 Con \SpecialChar LyX
25866 se puede hacer todo lo que se puede hacer con \SpecialChar LaTeX
25868 Aunque \SpecialChar LyX
25869 no puede soportar directamente todas las características de \SpecialChar LaTeX
25871 es posible usar código \SpecialChar LaTeX
25873 Este capítulo trata de algunas cosas especiales que podrían interesarte.
25874 Las características especiales relacionadas con figuras, cuadros, flotantes,
25875 marcos y notas, se pueden consultar en el manual
25883 \begin_layout Section
25887 \begin_layout Standard
25888 Esta característica es independiente de la opción
25890 Documento con dos columnas
25896 de la configuración del documento.
25897 Para tener dos columnas de texto en todo el documento se recomienda usar
25899 Para el resto de casos se usa la característica aquí descrita.
25902 \begin_layout Standard
25903 Para poner texto en varias columnas, hay que cargar el módulo
25909 Documento\SpecialChar menuseparator
25910 Configuración\SpecialChar menuseparator
25913 ), y debe estar instalado el paquete \SpecialChar LaTeX
25919 \begin_inset Index idx
25922 \begin_layout Plain Layout
25924 -paquetes ! multicol
25932 \begin_layout Standard
25933 Las notas al pie en las columnas se colocarán al final de la página y no
25935 En las distintas columnas se puede usar todo, excepto que para flotantes
25936 hay que usar la opción
25943 \begin_layout Subsection
25947 \begin_layout Standard
25948 Para poner un texto en dos columnas, usa el menú
25950 Insertar\SpecialChar menuseparator
25952 \begin_inset space ~
25955 personalizado\SpecialChar menuseparator
25958 en el punto en que deben iniciarse las columnas.
25959 Escribe en el recuadro todo el texto que debe ir en dos columnas.
25962 \begin_layout Standard
25966 \begin_layout Standard
25970 \begin_inset Flex Multiple Columns
25973 \begin_layout Plain Layout
25979 The Adventure of the Empty House
25982 \begin_inset Newline newline
25985 by Sir Arthur Conan Doyle
25988 \begin_layout Plain Layout
25992 It was in the spring of the year 1894 that all London was interested, and
25993 the fashionable world dismayed, by the murder of the Honourable Ronald
25994 Adair under most unusual and inexplicable circumstances.
25995 The public has already learned those particulars of the crime which came
25996 out in the police investigation, but a good deal was suppressed upon that
25997 occasion, since the case for the prosecution was so overwhelmingly strong
25998 that it was not necessary to bring forward all the facts.
25999 Only now, at the end of nearly ten years, am I allowed to supply those
26000 missing links which make up the whole of that remarkable chain.
26001 The crime was of interest in itself, but that interest was as nothing to
26002 me compared to the inconceivable sequel, which afforded me the greatest
26003 shock and surprise of any event in my adventurous life.
26004 Even now, after this long interval, I find myself thrilling as I think
26005 of it, and feeling once more that sudden flood of joy, amazement, and increduli
26006 ty which utterly submerged my mind.
26007 Let me say to that public, which has shown some interest in those glimpses
26008 which I have occasionally given them of the thoughts and actions of a very
26009 remarkable man, that they are not to blame me if I have not shared my knowledge
26010 with them, for I should have considered it my first duty to do so, had
26011 I not been barred by a positive prohibition from his own lips, which was
26012 only withdrawn upon the third of last month.
26020 \begin_layout Standard
26021 Para poner tres o más columnas coloca el cursor dentro del recuadro, usa
26024 Insertar\SpecialChar menuseparator
26027 y escribe el número de columnas, por ejemplo "3".
26028 \begin_inset Newline newline
26031 Un ejemplo de texto en tres columnas:
26034 \begin_layout Standard
26037 \begin_inset Flex Multiple Columns
26040 \begin_layout Plain Layout
26044 \begin_inset Argument 1
26047 \begin_layout Plain Layout
26054 It can be imagined that my close intimacy with Sherlock Holmes had interested
26055 me deeply in crime, and that after his disappearance I never failed to
26056 read with care the various problems which came before the public.
26057 And I even attempted, more than once, for my own private satisfaction,
26058 to employ his methods in their solution, though with indifferent success.
26059 There was none, however, which appealed to me like this tragedy of Ronald
26061 As I read the evidence at the inquest, which led up to a verdict of willful
26062 murder against some person or persons unknown, I realized more clearly
26063 than I had ever done the loss which the community had sustained by the
26064 death of Sherlock Holmes.
26065 There were points about this strange business which would, I was sure,
26066 have specially appealed to him, and the efforts of the police would have
26067 been supplemented, or more probably anticipated, by the trained observation
26068 and the alert mind of the first criminal agent in Europe.
26069 All day, as I drove upon my round, I turned over the case in my mind and
26070 found no explanation which appeared to me to be adequate.
26071 At the risk of telling a twice-told tale, I will recapitulate the facts
26072 as they were known to the public at the conclusion of the inquest.
26080 \begin_layout Standard
26081 Se puede llegar hasta 10
26082 \begin_inset space ~
26085 columnas, aunque seguramente no será muy cómodo para los lectores.
26088 \begin_layout Standard
26091 \begin_inset Newpage newpage
26097 \begin_layout Subsection
26098 Columnas dentro de otras columnas
26101 \begin_layout Standard
26102 Es posible poner columnas dentro de otras:
26105 \begin_layout Standard
26108 \begin_inset Flex Multiple Columns
26111 \begin_layout Plain Layout
26115 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
26116 at that time governor of one of the Australian colonies.
26117 Adair's mother had returned from Australia to undergo the operation for
26118 cataract, and she, her son Ronald, and her daughter Hilda were living together
26122 \begin_layout Plain Layout
26125 \begin_inset Flex Multiple Columns
26128 \begin_layout Plain Layout
26132 The youth moved in the best society
26133 \begin_inset space ~
26136 – had, so far as was known, no enemies and no particular vices.
26137 He had been engaged to Miss Edith Woodley, of Carstairs, but the engagement
26138 had been broken off by mutual consent some months before, and there was
26139 no sign that it had left any very profound feeling behind it.
26140 For the rest {sic} the man's life moved in a narrow and conventional circle,
26141 for his habits were quiet and his nature unemotional.
26142 Yet it was upon this easy-going young aristocrat that death came, in most
26143 strange and unexpected form, between the hours of ten and eleven-twenty
26144 on the night of March 30, 1894.
26152 \begin_layout Plain Layout
26156 Ronald Adair was fond of cards
26157 \begin_inset space ~
26160 – playing continually, but never for such stakes as would hurt him.
26161 He was a member of the Baldwin, the Cavendish, and the Bagatelle card clubs.
26162 It was shown that, after dinner on the day of his death, he had played
26163 a rubber of whist at the latter club.
26164 He had also played there in the afternoon.
26169 The evidence of those who had played with him
26170 \begin_inset space ~
26174 Murray, Sir John Hardy, and Colonel Moran
26175 \begin_inset space ~
26178 – showed that the game was whist, and that there was a fairly equal fall
26180 Adair might have lost five pounds, but not more.
26181 His fortune was a considerable one, and such a loss could not in any way
26183 He had played nearly every day at one club or other, but he was a cautious
26184 player, and usually rose a winner.
26185 It came out in evidence that, in partnership with Colonel Moran, he had
26186 actually won as much as four hundred and twenty pounds in a sitting, some
26187 weeks before, from Godfrey Milner and Lord Balmoral.
26188 So much for his recent history as it came out at the inquest.
26196 \begin_layout Subsection
26200 \begin_layout Standard
26201 Los ejemplos de esta sección muestran algunas características más avanzadas
26205 \begin_layout Standard
26206 Para ver más opciones de columnas echa un vistazo a la
26207 \begin_inset CommandInset href
26209 name "documentación"
26210 target "http://mirror.ctan.org/macros/latex/required/tools/multicol.pdf"
26215 del paquete \SpecialChar LaTeX
26223 \begin_layout Subsubsection
26227 \begin_layout Standard
26228 Para añadir un prefacio a las columnas coloca el cursor dentro del recuadro
26229 del texto en columnas y usa el menú
26231 Insertar\SpecialChar menuseparator
26235 Escribe en el marco que aparece el texto del prefacio.
26236 \begin_inset Newline newline
26239 Ejemplo con un texto de prefacio:
26240 \begin_inset VSpace bigskip
26246 \begin_layout Standard
26249 \begin_inset Flex Multiple Columns
26252 \begin_layout Plain Layout
26253 \begin_inset Argument 2
26256 \begin_layout Plain Layout
26257 Y la historia continúa\SpecialChar ldots
26266 On the evening of the crime, he returned from the club exactly at ten.
26267 His mother and sister were out spending the evening with a relation.
26268 The servant deposed that she heard him enter the front room on the second
26269 floor, generally used as his sitting-room.
26270 She had lit a fire there, and as it smoked she had opened the window.
26271 No sound was heard from the room until eleven-twenty, the hour of the return
26272 of Lady Maynooth and her daughter.
26273 Desiring to say good-night, she attempted to enter her son's room.
26274 The door was locked on the inside, and no answer could be got to their
26275 cries and knocking.
26276 Help was obtained, and the door forced.
26277 The unfortunate young man was found lying near the table.
26278 His head had been horribly mutilated by an expanding revolver bullet, but
26279 no weapon of any sort was to be found in the room.
26287 \begin_layout Standard
26288 También se puede usar un encabezado de sección como prefacio, poniendo un
26289 comando de sección en código \SpecialChar TeX
26291 Por ejemplo, el comando
26294 \begin_layout Standard
26299 subsection{título de la subsección}
26302 \begin_layout Standard
26303 crea una subsección.
26304 En el siguiente ejemplo el título de la subsubsección hace de prefacio:
26307 \begin_layout Standard
26310 \begin_inset Flex Multiple Columns
26313 \begin_layout Plain Layout
26314 \begin_inset Argument 2
26317 \begin_layout Plain Layout
26321 \begin_layout Plain Layout
26330 Un encabezado de subsubsección como prefacio
26334 \begin_layout Plain Layout
26349 A minute examination of the circumstances served only to make the case more
26351 In the first place, no reason could be given why the young man should have
26352 fastened the door upon the inside.
26353 There was the possibility that the murderer had done this, and had afterwards
26354 escaped by the window.
26355 The drop was at least twenty feet, however, and a bed of crocuses in full
26357 Neither the flowers nor the earth showed any sign of having been disturbed,
26358 nor were there any marks upon the narrow strip of grass which separated
26359 the house from the road.
26360 Apparently, therefore, it was the young man himself who had fastened the
26362 But how did he come by his death? No one could have climbed up to the window
26363 without leaving traces.
26364 Suppose a man had fired through the window, he would indeed be a remarkable
26365 shot who could with a revolver inflict so deadly a wound.
26366 Again, Park Lane is a frequented thoroughfare; there is a cab stand within
26367 a hundred yards of the house.
26368 No one had heard a shot.
26376 \begin_layout Standard
26377 Si al comenzar las columnas queda menos espacio vertical en la página que
26378 el correspondiente a 6 líneas de texto, se insertará un salto de página.
26379 Dependiendo del número de líneas del texto del prefacio, es posible cambiar
26381 Para ello se coloca el cursor detrás del prefacio (si lo hay), se usa el
26384 Insertar\SpecialChar menuseparator
26386 \begin_inset space ~
26390 \begin_inset space ~
26394 \begin_inset space ~
26398 \begin_inset space ~
26403 y se escribe en el marco el espacio deseado, por ej.
26405 \begin_inset Newline newline
26408 En el siguiente ejemplo, el espacio establecido es de 7 líneas de texto
26410 \begin_inset Quotes cld
26420 \begin_inset Quotes crd
26429 en código \SpecialChar TeX
26433 \begin_layout Standard
26436 \begin_inset Flex Multiple Columns
26439 \begin_layout Plain Layout
26440 \begin_inset Argument 3
26443 \begin_layout Plain Layout
26448 \begin_layout Plain Layout
26465 On the evening of the crime, he returned from the club exactly at ten.
26466 His mother and sister were out spending the evening with a relation.
26467 The servant deposed that she heard him enter the front room on the second
26468 floor, generally used as his sitting-room.
26469 She had lit a fire there, and as it smoked she had opened the window.
26470 No sound was heard from the room until eleven-twenty, the hour of the return
26471 of Lady Maynooth and her daughter.
26472 Desiring to say good-night, she attempted to enter her son's room.
26473 The door was locked on the inside, and no answer could be got to their
26474 cries and knocking.
26475 Help was obtained, and the door forced.
26476 The unfortunate young man was found lying near the table.
26477 His head had been horribly mutilated by an expanding revolver bullet, but
26478 no weapon of any sort was to be found in the room.
26486 \begin_layout Subsubsection
26487 Espacio circundante
26490 \begin_layout Standard
26491 El espacio delante y detrás de las columnas se puede cambiar con el comando
26502 \begin_layout LyX-Code
26512 \begin_layout Standard
26513 en código \SpecialChar TeX
26514 establece un espacio de 3
26515 \begin_inset space \thinspace{}
26519 El cambio debe hacerse antes del inicio de las columnas.
26520 El valor por omisión es de 13
26521 \begin_inset space \thinspace{}
26527 \begin_layout Standard
26534 se ha establecido en 2.5
26535 \begin_inset space \thinspace{}
26541 \begin_layout Standard
26545 \begin_layout Plain Layout
26551 multicolsep}{2.5cm}
26559 \begin_layout Standard
26562 \begin_inset Flex Multiple Columns
26565 \begin_layout Plain Layout
26569 All day I turned these facts over in my mind, endeavouring to hit upon some
26570 theory which could reconcile them all, and to find that line of least resistanc
26571 e which my poor friend had declared to be the starting-point of every investigat
26573 I confess that I made little progress.
26574 In the evening I strolled across the Park, and found myself about six o'clock
26575 at the Oxford Street end of Park Lane.
26576 A group of loafers upon the pavements, all staring up at a particular window,
26577 directed me to the house which I had come to see.
26578 A tall, thin man with coloured glasses, whom I strongly suspected of being
26579 a plain-clothes detective, was pointing out some theory of his own, while
26580 the others crowded round to listen to what he said.
26581 I got as near him as I could, but his observations seemed to me to be absurd,
26582 so I withdrew again in some disgust.
26583 As I did so I struck against an elderly, deformed man, who had been behind
26584 me, and I knocked down several books which he was carrying.
26592 \begin_layout Standard
26593 \begin_inset Note Greyedout
26596 \begin_layout Plain Layout
26607 serán válidos para todas las columnas siguientes hasta que se cambie de
26616 \begin_layout Standard
26620 \begin_layout Plain Layout
26632 \begin_inset Note Note
26635 \begin_layout Plain Layout
26636 vuelta al valor predefinido
26644 \begin_layout Standard
26647 \begin_inset Newpage newpage
26653 \begin_layout Subsubsection
26657 \begin_layout Standard
26658 Se puede forzar un salto de columna insertando el comando
26667 en código \SpecialChar TeX
26668 en la posición del texto en la que se desee quebrar la columna.
26669 A tener en cuenta que, en la mayoría de los casos, esto genera espacios
26671 \begin_inset Newline newline
26677 \begin_layout Standard
26680 \begin_inset Flex Multiple Columns
26683 \begin_layout Plain Layout
26687 \begin_inset Quotes eld
26690 You're surprised to see me, sir,
26691 \begin_inset Quotes erd
26694 said he, in a strange, croaking voice.
26697 \begin_layout Plain Layout
26701 I acknowledged that I was.
26704 \begin_layout Plain Layout
26708 \begin_inset Quotes eld
26711 Well, I've a conscience, sir, and when I chanced to see you go into this
26712 house, as I came hobbling after you, I thought to myself, I'll just step
26713 in and see that kind gentleman, and tell him that if I was a bit gruff
26714 in my manner there was not any harm meant, and that I am much obliged to
26715 him for picking up my books.
26716 \begin_inset Quotes erd
26722 \begin_layout Plain Layout
26726 \begin_inset Quotes eld
26729 You make too much of a trifle,
26730 \begin_inset Quotes erd
26735 \begin_inset Quotes eld
26738 May I ask how you knew who I was?
26739 \begin_inset Quotes erd
26744 TRAS ESTA FRASE SE FUERZA UN SALTO DE COLUMNA.
26748 \begin_layout Plain Layout
26760 \begin_layout Plain Layout
26764 \begin_inset Quotes eld
26767 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
26768 you'll find my little bookshop at the corner of Church Street, and very
26769 happy to see you, I am sure.
26770 Maybe you collect yourself, sir.
26774 \begin_inset space ~
26788 \begin_inset space ~
26791 – a bargain, every one of them.
26792 With five volumes you could just fill that gap on that second shelf.
26793 It looks untidy, does it not, sir?
26794 \begin_inset Quotes erd
26805 \begin_layout Subsubsection
26806 Separación de columnas
26809 \begin_layout Standard
26810 La anchura de las columnas se calcula automáticamente, pero la separación
26811 entre ellas se puede modificar mediante el comando
26818 El valor predeterminado es 10
26819 \begin_inset space \thinspace{}
26823 A continuación hay un ejemplo en el que la longitud de
26829 se ha establecido en 3
26830 \begin_inset space \thinspace{}
26836 \begin_layout Standard
26840 \begin_layout Plain Layout
26854 \begin_layout Standard
26857 \begin_inset Flex Multiple Columns
26860 \begin_layout Plain Layout
26864 My observations of No.
26865 \begin_inset space \space{}
26868 427 Park Lane did little to clear up the problem in which I was interested.
26869 The house was separated from the street by a low wall and railing, the
26870 whole not more than five feet high.
26871 It was perfectly easy, therefore, for anyone to get into the garden, but
26872 the window was entirely inaccessible, since there was no water pipe or
26873 anything which could help the most active man to climb it.
26874 More puzzled than ever, I retraced my steps to Kensington.
26875 I had not been in my study five minutes when the maid entered to say that
26876 a person desired to see me.
26877 To my astonishment it was none other than my strange old book collector,
26878 his sharp, wizened face peering out from a frame of white hair, and his
26879 precious volumes, a dozen of them at least, wedged under his right arm.
26887 \begin_layout Standard
26891 \begin_layout Plain Layout
26903 \begin_inset Note Note
26906 \begin_layout Plain Layout
26907 vuelta al valor predefinido
26915 \begin_layout Subsubsection
26919 \begin_layout Standard
26920 Entre las columnas se dibuja una línea cuya anchura viene dada por
26927 La anchura por omisión es de 0
26928 \begin_inset space \thinspace{}
26931 pt, no se dibuja ninguna línea.
26932 En el siguiente ejemplo la anchura de línea es 2
26933 \begin_inset space \thinspace{}
26939 \begin_layout Standard
26943 \begin_layout Plain Layout
26949 columnseprule}{2pt}
26957 \begin_layout Standard
26960 \begin_inset Flex Multiple Columns
26963 \begin_layout Plain Layout
26967 \begin_inset Quotes eld
26970 You're surprised to see me, sir,
26971 \begin_inset Quotes erd
26974 said he, in a strange, croaking voice.
26977 \begin_layout Plain Layout
26981 I acknowledged that I was.
26984 \begin_layout Plain Layout
26988 \begin_inset Quotes eld
26991 Well, I've a conscience, sir, and when I chanced to see you go into this
26992 house, as I came hobbling after you, I thought to myself, I'll just step
26993 in and see that kind gentleman, and tell him that if I was a bit gruff
26994 in my manner there was not any harm meant, and that I am much obliged to
26995 him for picking up my books.
26996 \begin_inset Quotes erd
27002 \begin_layout Plain Layout
27006 \begin_inset Quotes eld
27009 You make too much of a trifle,
27010 \begin_inset Quotes erd
27015 \begin_inset Quotes eld
27018 May I ask how you knew who I was?
27019 \begin_inset Quotes erd
27025 \begin_layout Plain Layout
27029 \begin_inset Quotes eld
27032 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
27033 you'll find my little bookshop at the corner of Church Street, and very
27034 happy to see you, I am sure.
27035 Maybe you collect yourself, sir.
27039 \begin_inset space ~
27053 \begin_inset space ~
27056 – a bargain, every one of them.
27057 With five volumes you could just fill that gap on that second shelf.
27058 It looks untidy, does it not, sir?
27059 \begin_inset Quotes erd
27070 \begin_layout Standard
27071 \begin_inset VSpace defskip
27077 \begin_layout Standard
27078 La raya se puede colorear redefiniendo el comando
27088 Esto se consigue insertando el comando
27091 \begin_layout LyX-Code
27098 columnseprulecolor}{
27103 \begin_layout LyX-Code
27104 en código \SpecialChar TeX
27105 delante del recuadro columnas.
27106 Se puede poner el color deseado en lugar de red (rojo).
27107 Se puede usar cualquier color predefinido o personalizado.
27120 para más información sobre colores.
27121 Para volver al color por omisión inserta el comando
27124 \begin_layout LyX-Code
27129 columnseprulecolor}{
27134 \begin_layout LyX-Code
27135 Aquí hay un ejemplo con una línea en color cian y 1
27136 \begin_inset space \thinspace{}
27139 cm de separación entre columnas:
27142 \begin_layout Standard
27146 \begin_layout Plain Layout
27155 \begin_layout Plain Layout
27161 columnseprulecolor}{
27171 \begin_layout Standard
27174 \begin_inset Flex Multiple Columns
27177 \begin_layout Plain Layout
27181 \begin_inset Quotes eld
27184 You're surprised to see me, sir,
27185 \begin_inset Quotes erd
27188 said he, in a strange, croaking voice.
27191 \begin_layout Plain Layout
27195 I acknowledged that I was.
27198 \begin_layout Plain Layout
27202 \begin_inset Quotes eld
27205 Well, I've a conscience, sir, and when I chanced to see you go into this
27206 house, as I came hobbling after you, I thought to myself, I'll just step
27207 in and see that kind gentleman, and tell him that if I was a bit gruff
27208 in my manner there was not any harm meant, and that I am much obliged to
27209 him for picking up my books.
27210 \begin_inset Quotes erd
27216 \begin_layout Plain Layout
27220 \begin_inset Quotes eld
27223 You make too much of a trifle,
27224 \begin_inset Quotes erd
27229 \begin_inset Quotes eld
27232 May I ask how you knew who I was?
27233 \begin_inset Quotes erd
27239 \begin_layout Plain Layout
27243 \begin_inset Quotes eld
27246 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
27247 you'll find my little bookshop at the corner of Church Street, and very
27248 happy to see you, I am sure.
27249 Maybe you collect yourself, sir.
27253 \begin_inset space ~
27267 \begin_inset space ~
27270 – a bargain, every one of them.
27271 With five volumes you could just fill that gap on that second shelf.
27272 It looks untidy, does it not, sir?
27273 \begin_inset Quotes erd
27284 \begin_layout Standard
27288 \begin_layout Plain Layout
27294 columnseprule}{0pt}
27297 \begin_layout Plain Layout
27303 columnseprulecolor}{
27311 \begin_inset Note Note
27314 \begin_layout Plain Layout
27315 retornar a los valores por omisión.
27323 \begin_layout Standard
27324 \begin_inset Newpage newpage
27330 \begin_layout Section
27331 Párrafos con formas diversas
27334 \begin_layout Standard
27336 y cualquier procesador de texto usan por omisión párrafos rectangulares.
27337 Para casos especiales como posters, tarjetas o poemas, es posible modifcar
27338 la forma del párrafo.
27339 Esto se puede conseguir mediante el paquete \SpecialChar LaTeX
27344 , que se carga con el módulo
27346 Párrafos conformados
27350 Documento\SpecialChar menuseparator
27351 Configuración\SpecialChar menuseparator
27357 \begin_layout Subsection
27358 Formas predefinidas
27361 \begin_layout Standard
27366 proporciona las siguientes formas:
27369 \begin_layout Standard
27370 \begin_inset Tabular
27371 <lyxtabular version="3" rows="13" columns="3">
27372 <features booktabs="true" islongtable="true" longtabularalignment="center">
27373 <column alignment="center" valignment="middle" width="16col%">
27374 <column alignment="center" valignment="middle" width="40col%">
27375 <column alignment="center" valignment="middle" width="35col%">
27376 <row endhead="true">
27377 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27380 \begin_layout Plain Layout
27386 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27389 \begin_layout Plain Layout
27395 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27398 \begin_layout Plain Layout
27406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27409 \begin_layout Plain Layout
27415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27418 \begin_layout Plain Layout
27419 Círculo con orificio central (tamaño de CD/DVD)
27424 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27427 \begin_layout Plain Layout
27428 No se puede cambiar el tamaño; no debe contener demasiado texto
27435 <cell alignment="center" valignment="top" topline="true" usebox="none">
27438 \begin_layout Plain Layout
27444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27447 \begin_layout Plain Layout
27453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27456 \begin_layout Plain Layout
27457 Frágil, los cálculos
27460 \begin_layout Plain Layout
27468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27471 \begin_layout Plain Layout
27477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27480 \begin_layout Plain Layout
27481 Romboide (simbolizando
27484 \begin_layout Plain Layout
27486 \begin_inset Quotes cld
27490 \begin_inset Quotes crd
27498 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27501 \begin_layout Plain Layout
27509 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27512 \begin_layout Plain Layout
27518 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27521 \begin_layout Plain Layout
27527 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27530 \begin_layout Plain Layout
27538 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27541 \begin_layout Plain Layout
27547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27550 \begin_layout Plain Layout
27556 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27559 \begin_layout Plain Layout
27567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27570 \begin_layout Plain Layout
27576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27579 \begin_layout Plain Layout
27583 \begin_layout Plain Layout
27584 (hexágono con orificio circular)
27589 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27592 \begin_layout Plain Layout
27600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27603 \begin_layout Plain Layout
27609 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27612 \begin_layout Plain Layout
27618 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27621 \begin_layout Plain Layout
27629 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27632 \begin_layout Plain Layout
27638 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27641 \begin_layout Plain Layout
27642 Estrella de 5 puntas
27647 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27650 \begin_layout Plain Layout
27658 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27661 \begin_layout Plain Layout
27667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27670 \begin_layout Plain Layout
27676 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27679 \begin_layout Plain Layout
27687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27690 \begin_layout Plain Layout
27691 Gota/Gota invertida
27696 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27699 \begin_layout Plain Layout
27700 Forma de gota normal/invertida
27705 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27708 \begin_layout Plain Layout
27709 Frágil, los cáculos
27712 \begin_layout Plain Layout
27720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27723 \begin_layout Plain Layout
27730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27733 \begin_layout Plain Layout
27734 Logotipo de \SpecialChar TeX
27740 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27743 \begin_layout Plain Layout
27751 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27754 \begin_layout Plain Layout
27756 \begin_inset Newline newline
27760 \begin_inset Newline newline
27768 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27771 \begin_layout Plain Layout
27772 Triángulos en diferentes orientaciones
27777 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27780 \begin_layout Plain Layout
27794 \begin_layout Standard
27795 Para elegir una determinada forma selecciónala en la lista desplegable de
27796 entornos de \SpecialChar LyX
27797 (primer botón de la barra de herramientas).
27800 \begin_layout Standard
27801 \begin_inset Newpage newpage
27807 \begin_layout Standard
27808 Ejemplo de párrafo con forma de tuerca:
27811 \begin_layout Standard
27812 \begin_inset VSpace bigskip
27819 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27820 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27822 At vero eos et accusam et justo duo dolores et ea rebum.
27823 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
27825 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27826 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27830 \begin_layout Standard
27831 \begin_inset VSpace bigskip
27837 \begin_layout Standard
27838 \begin_inset Note Greyedout
27841 \begin_layout Plain Layout
27846 : los párrafos conformados no pueden saltar de página.
27854 \begin_layout Standard
27855 \begin_inset VSpace bigskip
27861 \begin_layout Standard
27866 preserva siempre la forma independientemente de la cantidad de texto.
27867 Por tanto el tamaño del párrafo cambia en función del texto.
27868 Esto puede provocar desbordamiento de los márgenes.
27869 Para comprobar el efecto de ajuste del tamaño veamos el mismo ejemplo anterior
27870 con el doble de texto:
27873 \begin_layout Standard
27874 \begin_inset Newpage newpage
27881 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27882 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27884 At vero eos et accusam et justo duo dolores et ea rebum.
27885 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
27887 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27888 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27890 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27891 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27893 At vero eos et accusam et justo duo dolores et ea rebum.
27894 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
27896 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27897 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27901 \begin_layout Standard
27902 \begin_inset VSpace bigskip
27908 \begin_layout Standard
27914 No se puede hacer escala porque debe ajustarse al tamaño de un CD/DVD.
27915 Por tanto la cantidad de texto que admite esta forma es limitada.
27916 \begin_inset Newline newline
27927 son frágiles, lo que significa que pueden fallar los cálculos de su tamaño,
27928 según la cantidad de texto.
27929 En esos casos se producirá el error de \SpecialChar LaTeX
27931 \begin_inset Quotes eld
27934 Arithmetic overflow
27935 \begin_inset Quotes erd
27939 Se puede arreglar añadiendo o quitando algo de texto; si no funciona habrá
27940 que elegir otra forma.
27943 \begin_layout Standard
27944 \begin_inset VSpace bigskip
27950 \begin_layout Standard
27951 En formas con puntas, la rutina de división silábica de \SpecialChar LaTeX
27953 Entonces habrá que añadir guiones protegidos
27958 arg "specialchar-insert hyphenation"
27963 ) donde sea necesario.
27966 \begin_layout Standard
27967 \begin_inset VSpace bigskip
27973 \begin_layout Standard
27974 Los párrafos conformados siempre van centrados en la página o ajustados
27975 al margen izquierdo, por tanto no se puede usar la alineación de la configuraci
27977 Una solución es poner el párrafo en una minipágina o en un marco y alinear
27979 En ese caso el problema es saber la anchura adecuada del marco: si es demasiado
27980 ancho y se centra, el párrafo no queda centrado porque se ajusta a la izquierda
27982 De modo que habrá que ir probando un poco para acertar con la anchura correcta.
27983 Aquí tenemos dos párrafos
27987 , el primero no alineado, el segundo a la derecha:
27990 \begin_layout Standard
27991 \begin_inset Newpage newpage
27997 \begin_layout Heart
27999 Lo\SpecialChar softhyphen
28000 rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28001 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28003 At vero eos et accusam et justo duo dolores et ea rebum.
28004 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28008 \begin_layout Standard
28009 \begin_inset VSpace bigskip
28015 \begin_layout Standard
28018 \begin_inset Box Frameless
28028 height_special "totalheight"
28033 backgroundcolor "none"
28036 \begin_layout Heart
28038 Lo\SpecialChar softhyphen
28039 rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28040 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28042 At vero eos et accusam et justo duo dolores et ea rebum.
28043 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28052 \begin_layout Subsection
28053 Formas personalizadas
28056 \begin_layout Standard
28057 Se puede definir cualquier forma.
28058 Hacerlo manualmente lleva mucho trabajo porque debe especificarse cada
28060 Pero hay una forma de que el ordenador haga los cálculos:
28063 \begin_layout Enumerate
28064 Instala el programa
28065 \begin_inset CommandInset href
28068 target "https://www.ctan.org/tex-archive/graphics/jpgfdraw"
28076 \begin_layout Enumerate
28083 TeX/LaTeX\SpecialChar menuseparator
28084 Settings\SpecialChar menuseparator
28087 y selecciona el tamaño de tipografía usado en el documento.
28088 Por ejemplo, este documento usa el tamaño 12
28089 \begin_inset space \thinspace{}
28095 \begin_layout Enumerate
28099 \begin_layout Enumerate
28102 TeX/LaTeX\SpecialChar menuseparator
28105 para exportar la forma a coordenadas.
28106 En el diálogo que surge usa la descripción de la forma para las coordenadas
28111 \begin_layout Plain Layout
28113 \begin_inset CommandInset href
28115 target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
28128 \begin_layout Standard
28129 Las coordenadas se escriben en un archivo \SpecialChar TeX
28131 Para incorporarlo a \SpecialChar LyX
28135 \begin_layout Enumerate
28136 Coloca el cursor delante del primer carácter del párrafo (o en uno nuevo
28140 \begin_layout Enumerate
28141 En \SpecialChar LyX
28144 Insertar\SpecialChar menuseparator
28145 Archivo\SpecialChar menuseparator
28147 \begin_inset space ~
28150 hijo\SpecialChar ldots
28153 , selecciona el archivo y elige
28160 \begin_inset space ~
28164 \begin_inset space ~
28170 \begin_layout Standard
28171 \begin_inset VSpace defskip
28177 \begin_layout Standard
28178 \begin_inset Note Greyedout
28181 \begin_layout Plain Layout
28186 : el cambio de forma sólo se aplica al párrafo actual; todo se restablece
28187 a normal para el párrafo siguiente.
28188 Por tanto la definición de forma debe aplicarse a cada párrafo por separado.
28196 \begin_layout Standard
28197 \begin_inset VSpace bigskip
28203 \begin_layout Standard
28207 \begin_layout Standard
28208 \begin_inset VSpace bigskip
28214 \begin_layout Standard
28215 \begin_inset CommandInset include
28217 filename "../SpecialParagraphShape.tex"
28222 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28223 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28225 At vero eos et accusam et justo duo dolores et ea rebum.
28226 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28228 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28229 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28233 \begin_layout Standard
28234 \begin_inset VSpace bigskip
28240 \begin_layout Standard
28245 para dibujar formas complejas en
28249 puedes dibujar la forma con el programa que quieras e importar la imagen
28255 Después sólo tendrás que dibujar una línea o spline sobre el contorno de
28259 \begin_layout Standard
28260 \begin_inset VSpace bigskip
28266 \begin_layout Standard
28269 Párrafos conformados
28271 proporciona además el
28287 que se pueden usar para definir formas coordenada a coordenada.
28291 \begin_layout Plain Layout
28292 Estos comandos se usan internamente para todas las formas que se han descrito
28298 Para información sobre el uso de estos entornos de estilo y más posibilidades
28299 de personalización echa un vistazo a la
28300 \begin_inset CommandInset href
28302 name "documentación"
28303 target "https://www.ctan.org/tex-archive/macros/latex/contrib/shapepar/shapepar.pdf"