1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/es/
9 % DO NOT ALTER THIS PREAMBLE!!!
11 % This preamble is designed to ensure that the manual prints
12 % out as advertised. If you mess with this preamble,
13 % parts of the manual may not print out as expected. If you
14 % have problems LaTeXing this file, please contact
15 % the documentation team
16 % email: lyx-docs@lists.lyx.org
18 % the pages of the TOC are numbered roman
19 % and a PDF-bookmark for the TOC is added
21 \let\myTOC\tableofcontents
22 \renewcommand{\tableofcontents}{%
23 \pdfbookmark[1]{\contentsname}{}
26 \pagenumbering{arabic}}
28 % extra space for tables
29 \newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
31 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
32 \use_default_options false
40 \maintain_unincluded_children false
42 \language_package default
45 \font_roman "lmodern" "default"
46 \font_sans "lmss" "default"
47 \font_typewriter "lmtt" "default"
48 \font_math "auto" "auto"
49 \font_default_family default
50 \use_non_tex_fonts false
53 \font_sf_scale 100 100
54 \font_tt_scale 100 100
56 \use_dash_ligatures false
58 \default_output_format pdf2
60 \bibtex_command default
61 \index_command default
65 \pdf_title "Características adicionales de LyX"
66 \pdf_author "LyX Team"
67 \pdf_subject "Documentación Adicional LyX"
68 \pdf_keywords "LyX, Documentación, Adicional"
70 \pdf_bookmarksnumbered true
71 \pdf_bookmarksopen false
72 \pdf_bookmarksopenlevel 1
77 \pdf_pdfusetitle false
78 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
81 \use_package amsmath 1
82 \use_package amssymb 1
85 \use_package mathdots 1
86 \use_package mathtools 1
88 \use_package stackrel 1
89 \use_package stmaryrd 1
90 \use_package undertilde 1
92 \cite_engine_type default
96 \paperorientation portrait
101 \notefontcolor #0000ff
108 \paragraph_separation indent
109 \paragraph_indentation default
111 \math_indentation default
112 \math_numbering_side default
117 \paperpagestyle headings
118 \tracking_changes false
119 \output_changes false
128 Características adicionales de \SpecialChar LyX
132 \begin_layout Subtitle
137 por el Equipo \SpecialChar LyX
142 \begin_layout Plain Layout
144 El principal mantenedor de este archivo es
149 Si tienes correcciones o comentarios, envíalos, por favor, a la lista de
150 correo de Documentación de \SpecialChar LyX
152 \begin_inset Flex Code
155 \begin_layout Plain Layout
157 <lyx-docs@lists.lyx.org>
170 \begin_layout Standard
171 \begin_inset CommandInset toc
172 LatexCommand tableofcontents
179 \begin_layout Chapter
183 \begin_layout Standard
184 Este manual es esencialmente la Parte II de la
189 La segregación de este documento obedece a una sencilla razón: la
193 es muy extensa, y contiene todas las características básicas que uno necesita
194 conocer para preparar la mayoría de documentos.
195 Sin embargo, el Equipo \SpecialChar LyX
196 ha tenido siempre el objetivo de extender las caracterí
197 sticas del programa mediante diversos archivos de configuración y paquetes
199 Esto significa que si necesitas soporte para el paquete \SpecialChar LaTeX
204 , puedes crear un archivo de formato (o módulo) para él sin tener que alterar
205 el propio \SpecialChar LyX
207 Ya hemos hecho de esta manera contribuciones a varias características nuevas.
208 Este es el documento donde se explican todas estas cosas.
211 \begin_layout Standard
212 En este manual se describen también algunas características especiales como
213 soporte de fax, control de versiones y soporte para SGML, que requieren
214 software adicional para funcionar bien.
215 Por último hay un capítulo sobre herramientas y consejos de \SpecialChar LaTeX
217 para mejorar la presentación de los documentos usando directamente las
218 poderosas características de \SpecialChar LaTeX
220 Después de todo, \SpecialChar LyX
225 es WYSIWYM y siempre será solo una interfaz para algunas, no todas, característi
226 cas de \SpecialChar LaTeX
231 \begin_layout Standard
232 Si aún no has leído la
236 , no hay duda de que estás en el manual equivocado.
241 es el primer sitio al que acudir, porque ahí te remitimos al manual adecuado
242 y te explicamos los criterios y el formato de todos los manuales.
243 También deberías estar familiarizado con la
247 y con las características fundamentales de \SpecialChar LyX
252 \begin_layout Standard
253 Puesto que todos los temas tratados en este manual dependen estrechamente
254 de la interacción entre \SpecialChar LyX
256 , el siguiente capítulo trata sobre el trabajo
257 interno de \SpecialChar LyX
258 y la forma de usar \SpecialChar LyX
259 para generar exactamente el código \SpecialChar LaTeX
261 Obviamente, es para usuarios experimentados en \SpecialChar LyX
265 \begin_layout Chapter
271 \begin_layout Section
272 Uso de \SpecialChar LaTeX
277 \begin_layout Standard
278 Este capítulo es tanto para
279 \begin_inset Quotes cld
284 \begin_inset Quotes crd
287 como para curiosos de \SpecialChar LaTeX
289 En él explicaremos cómo trabajan juntos \SpecialChar LyX
291 para generar salida imprimible.
292 Este es el único manual en el que suponemos que sabes algo sobre \SpecialChar LaTeX
296 \begin_layout Standard
297 Una vez llamamos a \SpecialChar LyX
299 \begin_inset Quotes cld
302 interfaz WYSIWYM para \SpecialChar LaTeX
304 \begin_inset Quotes crd
307 , pero ya no es cierto.
308 Hay otros programas que también lo son.
312 \begin_layout Plain Layout
313 Algunos habituales son \SpecialChar TeX
314 maker y kile para Linux y \SpecialChar TeX
316 Están además los modos \SpecialChar LaTeX
317 de vi y emacs, por supuesto.
322 Básicamente son editores con la habilidad de ejecutar \SpecialChar LaTeX
324 en el archivo que se está editando.
325 Aunque \SpecialChar LyX
334 correr a \SpecialChar LaTeX
335 , y también marca los errores en el archivo, hace mucho, mucho
337 Gracias al concepto WYSIWYM, no necesitas \SpecialChar LaTeX
338 para usar \SpecialChar LyX
340 Además, \SpecialChar LyX
341 ha añadido algunas extensiones a \SpecialChar LaTeX
343 Prueba esto en alguna ocasión: selecciona
344 \begin_inset Flex Noun
347 \begin_layout Plain Layout
348 Exportar\SpecialChar menuseparator
359 \begin_inset Flex Noun
362 \begin_layout Plain Layout
369 \begin_inset Flex Noun
372 \begin_layout Plain Layout
373 Ver\SpecialChar menuseparator
374 Panel de código fuente
379 ), y luego mira el preámbulo del archivo
384 \begin_inset Flex Code
387 \begin_layout Plain Layout
398 Observarás una serie de macros nuevas definidas específicamente por \SpecialChar LyX
400 Estas macros se definen automáticamente, de acuerdo con las características
401 elegidas para el documento.
404 \begin_layout Standard
405 Hay varios comandos que ejecutan \SpecialChar LaTeX
410 \begin_layout Itemize
411 \begin_inset Flex Noun
414 \begin_layout Plain Layout
417 Documento\SpecialChar menuseparator
426 \begin_layout Itemize
427 \begin_inset Flex Noun
430 \begin_layout Plain Layout
433 Documento\SpecialChar menuseparator
446 \begin_layout Standard
447 Solo llaman a \SpecialChar LaTeX
448 si el archivo ha cambiado desde la última vez que se ejecutó.
452 \begin_layout Standard
453 Cuando \SpecialChar LyX
454 ejecuta \SpecialChar LaTeX
455 sobre el archivo que estás editando, lleva a cabo los siguiente
459 \begin_layout Enumerate
460 Convierte el documento a \SpecialChar LaTeX
461 y guarda un archivo con extensión
462 \begin_inset Flex Code
465 \begin_layout Plain Layout
476 \begin_layout Enumerate
487 \begin_inset Flex Code
490 \begin_layout Plain Layout
502 (quizá varias veces) y cualesquiera otros comandos (como
503 \begin_inset Flex Code
506 \begin_layout Plain Layout
513 \begin_inset Flex Code
516 \begin_layout Plain Layout
522 ) necesarios para compilar el archivo.
525 \begin_layout Enumerate
526 Si hay errores, muestra el registro de errores.
529 \begin_layout Standard
530 Si has ejecutado \SpecialChar LaTeX
536 \begin_inset Flex Noun
539 \begin_layout Plain Layout
552 ejecuta un visor DVI para mostrar la salida.
558 \begin_inset Flex Noun
561 \begin_layout Plain Layout
577 \begin_layout Itemize
582 para convertir el archivo DVI a PostScript.
585 \begin_layout Itemize
586 Ejecuta un visor PostScript, como
589 \begin_inset Flex Code
592 \begin_layout Plain Layout
602 para mostrar la salida.
605 \begin_layout Standard
607 procede de forma parecida cuando ves o exportas otros formatos.
610 \begin_layout Section
611 Convertir archivos \SpecialChar LaTeX
616 \begin_layout Standard
617 Puedes importar un archivo \SpecialChar LaTeX
622 \begin_inset Flex Noun
625 \begin_layout Plain Layout
628 Archivo\SpecialChar menuseparator
629 Importar\SpecialChar menuseparator
638 Esto llamará al programa llamado
639 \begin_inset Flex Code
642 \begin_layout Plain Layout
648 que generará un archivo
649 \begin_inset Flex Code
652 \begin_layout Plain Layout
659 \begin_inset Flex Code
662 \begin_layout Plain Layout
672 \begin_layout Plain Layout
673 \begin_inset Flex Code
676 \begin_layout Plain Layout
682 también se puede ejecutar en línea de comandos, por supuesto.
690 \begin_layout Standard
691 \begin_inset Flex Code
694 \begin_layout Plain Layout
700 traducirá casi todo el \SpecialChar LaTeX
702 Dejará en código \SpecialChar TeX
703 cosas que no comprende, así que después de importar un
705 \begin_inset Flex Code
708 \begin_layout Plain Layout
716 , puedes buscar texto en rojo y editarlo a mano para que funcione bien.
719 \begin_layout Standard
720 Si no sabes qué es código \SpecialChar TeX
721 lee la sección siguiente.
724 \begin_layout Section
725 Insertar código \SpecialChar TeX
726 en documentos \SpecialChar LyX
728 \begin_inset CommandInset label
730 name "sec:Insertar-Código-TeX"
737 \begin_layout Standard
738 Todo lo que se puede hacer en \SpecialChar LaTeX
739 se puede hacer en \SpecialChar LyX
740 , por una razón muy simple:
741 en cualquier momento puedes insertar código \SpecialChar LaTeX
742 en un documento \SpecialChar LyX
745 no puede, y nunca podrá, mostrar cada una de las posibles estructuras
746 de \SpecialChar LaTeX
748 Si necesitas incluir comandos \SpecialChar LaTeX
749 en tu documento, puedes usar los marcos
751 \begin_inset Flex Code
754 \begin_layout Plain Layout
755 código \SpecialChar TeX
762 \begin_inset Flex Noun
765 \begin_layout Plain Layout
768 Insertar\SpecialChar menuseparator
777 \begin_layout Standard
778 Aquí hay un ejemplo de inserción de comandos \SpecialChar LaTeX
779 en un documento \SpecialChar LyX
784 \begin_layout LyX-Code
788 \begin_inset Newline newline
794 \begin_inset Newline newline
797 Este es un ejemplo para un entorno minipágina.
799 \begin_inset Newline newline
802 puedes poner prácticamente todo, incluso figuras y
803 \begin_inset Newline newline
806 cuadros (no flotantes).
808 \begin_inset Newline newline
814 \begin_inset Newline newline
818 \begin_inset Newline newline
824 \begin_inset Newline newline
830 \begin_inset Newline newline
836 \begin_inset Newline newline
841 \begin_inset Newline newline
847 \begin_inset Newline newline
853 \begin_inset Newline newline
859 \begin_inset Newline newline
867 \begin_layout Standard
869 \begin_inset Flex Code
872 \begin_layout Plain Layout
873 código \SpecialChar TeX
879 que contiene ese texto está tras este párrafo.
880 Si estás leyendo este manual en \SpecialChar LyX
881 solo verás el código insertado en rojo.
882 Si estás leyendo una versión impresa verás los resultados reales:
883 \begin_inset Newline newline
889 \begin_layout Standard
893 \begin_layout Plain Layout
900 \begin_layout Plain Layout
907 \begin_layout Plain Layout
909 Este es un ejemplo para un entorno minipágina.
910 En él puedes poner prácticamente todo, incluso figuras y cuadros (no flotantes).
913 \begin_layout Plain Layout
920 \begin_layout Plain Layout
925 \begin_layout Plain Layout
932 \begin_layout Plain Layout
939 \begin_layout Plain Layout
946 \begin_layout Plain Layout
952 \begin_layout Plain Layout
959 \begin_layout Plain Layout
966 \begin_layout Plain Layout
973 \begin_layout Plain Layout
983 \begin_inset Newline newline
989 \begin_layout Standard
990 Además de estos métodos,
994 también puedes crear un archivo separado con estructuras de \SpecialChar LaTeX
1001 \begin_inset Flex Noun
1004 \begin_layout Plain Layout
1011 \SpecialChar menuseparator
1012 Archivo\SpecialChar menuseparator
1014 \begin_inset space ~
1026 para incluir ese archivo (deberías seleccionar el tipo
1029 \begin_inset Flex Code
1032 \begin_layout Plain Layout
1043 Recomendamos hacer esto solo si dispones de un archivo
1046 \begin_inset Flex Code
1049 \begin_layout Plain Layout
1064 Si no, te espera una ardua tarea rastreando errores de \SpecialChar LaTeX
1069 \begin_layout Standard
1070 Hay unas últimas observaciones que hacer:
1073 \begin_layout Itemize
1079 comprueba si el código \SpecialChar LaTeX
1083 \begin_layout Itemize
1084 Abstente de reinventar la rueda.
1087 \begin_layout Standard
1088 Respecto al último punto, \SpecialChar LyX
1089 tiene bastantes características incorporadas,
1091 Asegúrate de explorar los manuales para convencerte de que \SpecialChar LyX
1093 de tal o cual función antes de hacerlo a mano.
1094 Además, hay por ahí multitud de paquetes \SpecialChar LaTeX
1095 para hacer toda clase de cosas,
1096 desde etiquetas o sobres a fantásticos cuadros multipágina.
1098 \begin_inset CommandInset href
1101 target "http://www.ctan.org/"
1109 \begin_layout Standard
1110 Si necesitas hacer algunas cosas fantásticas en tu documento, asegúrate
1111 de investigar en un buen libro sobre \SpecialChar LaTeX
1113 Hay unos cuantos de ellos recogidos en la bibliografía de la
1120 \begin_layout Section
1122 y el Preámbulo \SpecialChar LaTeX
1126 \begin_layout Subsection
1127 Sobre el preámbulo \SpecialChar LaTeX
1131 \begin_layout Standard
1132 Si conoces \SpecialChar LaTeX
1133 , no es necesario explicar para qué sirve el preámbulo.
1134 Si no lo sabes, lo que sigue te dará algunas ideas —de nuevo recomendamos
1135 consultar un libro sobre \SpecialChar LaTeX
1136 para información adicional—.
1137 En cualquier caso, deberías leer los puntos siguientes porque detallan
1138 lo que puedes hacer y lo que no necesitas hacer en el preámbulo \SpecialChar LaTeX
1140 documento \SpecialChar LyX
1144 \begin_layout Standard
1145 El preámbulo \SpecialChar LaTeX
1146 se encuentra en el principio de un documento,
1154 \begin_layout Itemize
1155 Declarar la clase de documento.
1156 \begin_inset Newline newline
1162 \begin_inset Quotes cld
1167 \begin_inset Quotes crd
1170 , y dispones de alguna clase personalizada de documento que deseas usar,
1171 busca información sobre cómo incluirlo en \SpecialChar LyX
1180 \begin_layout Itemize
1181 Declarar el empleo de paquetes.
1182 \begin_inset Newline newline
1185 Los paquetes \SpecialChar LaTeX
1186 suministran comandos especiales, que solo estarán disponibles
1187 para su uso si el paquete correspondiente se ha declarado en el preámbulo.
1188 Por ejemplo, el paquete
1191 \begin_inset Flex Code
1194 \begin_layout Plain Layout
1204 fuerza el sangrado en todos los párrafos.
1205 Hay otros paquetes para etiquetas, sobres, márgenes, etc.
1208 \begin_layout Itemize
1209 Configurar contadores, variables, longitudes y anchuras.
1210 \begin_inset Newline newline
1213 Hay varios contadores \SpecialChar LaTeX
1218 configurarse globalmente desde dentro del preámbulo para conseguir el efecto
1220 (Hay otras variables que se pueden configurar y reiniciar dentro del documento).
1221 Los márgenes son un buen ejemplo de algo que debe configurarse en el preámbulo.
1222 Otro ejemplo es el formato de las etiquetas para las listas.
1223 En realidad, puedes configurarlas donde quieras, pero es mejor hacerlo
1224 de una vez en el preámbulo.
1227 \begin_layout Itemize
1228 Declarar comandos definidos por el usuario (con
1231 \begin_inset Flex Code
1234 \begin_layout Plain Layout
1249 \begin_inset Flex Code
1252 \begin_layout Plain Layout
1265 \begin_inset Newline newline
1268 Son generalmente abreviaturas para comandos \SpecialChar LaTeX
1269 que aparecen muy a menudo en
1271 Aunque el preámbulo es un buen sitio para declarar dichos comandos,
1275 ser definidos en cualquier sitio (por supuesto,
1279 de que se vayan a usar por vez primera).
1280 Esto puede ser útil si hay demasiado código \SpecialChar LaTeX
1281 en el documento, lo que normalment
1282 e no debería suceder.
1285 \begin_layout Standard
1287 añade su propio conjunto de definiciones al preámbulo del archivo
1290 \begin_inset Flex Code
1293 \begin_layout Plain Layout
1304 Esto hace que los archivos \SpecialChar LaTeX
1305 generados por \SpecialChar LyX
1309 \begin_layout Subsection
1310 Cambiar el preámbulo
1313 \begin_layout Standard
1314 Los comandos que \SpecialChar LyX
1315 añade al preámbulo de un archivo \SpecialChar LaTeX
1316 son fijos; no puedes
1317 cambiarlos sin parchear el propio \SpecialChar LyX
1319 Sin embargo, puedes añadir tus cosas al preámbulo seleccionando
1322 \begin_inset Flex Noun
1325 \begin_layout Plain Layout
1329 \begin_inset space ~
1341 \begin_inset Flex Noun
1344 \begin_layout Plain Layout
1349 o\SpecialChar menuseparator
1359 añade todo lo del diálogo a su propio preámbulo incorporado.
1360 Antes de añadir tus declaraciones en el preámbulo, deberías verificar que
1362 no dispone ya de soporte para lo que quieres hacer.
1363 (¿Recuerdas lo que dijimos respecto a reinventar la rueda?) Además,
1365 asegúrate de que el código del preámbulo es correcto
1373 no comprueba esto por ti.
1374 Si hay un error, probablemente obtendrás un mensaje como
1375 \begin_inset Quotes cld
1379 \begin_inset Flex Code
1382 \begin_layout Plain Layout
1391 \begin_inset Quotes crd
1395 Si ves este error comprueba tu preámbulo.
1398 \begin_layout Subsection
1402 \begin_layout Standard
1403 Aquí tenemos algunos ejemplos de lo que puedes añadir a un preámbulo y del
1407 \begin_layout Subsubsection
1408 Ejemplo 1: Ajustes del área de impresión
1411 \begin_layout Standard
1412 Hay dos variables en \SpecialChar LaTeX
1416 \begin_inset Flex Code
1419 \begin_layout Plain Layout
1434 \begin_inset Flex Code
1437 \begin_layout Plain Layout
1449 , que controlan la composición de la página, es decir, el desplazamiento
1450 horizontal y vertical del área de impresión.
1451 Estas variables son útiles para casos como, por ejemplo, la impresión de
1453 A veces, el tamaño de un soporte de impresión y el área realmente imprimible
1455 Entonces intervienen
1458 \begin_inset Flex Code
1461 \begin_layout Plain Layout
1476 \begin_inset Flex Code
1479 \begin_layout Plain Layout
1495 \begin_layout Standard
1500 valor predeterminado para
1503 \begin_inset Flex Code
1506 \begin_layout Plain Layout
1521 \begin_inset Flex Code
1524 \begin_layout Plain Layout
1537 \begin_inset space \thinspace{}
1540 pt., no cambia la composición de la página.
1541 Desafortunadamente, algunos controladores DVI siempre parecen alterar la
1543 No tenemos ni idea de la causa de esto ni de por qué el administrador del
1544 sistema no lo arregla.
1545 Si estás usando \SpecialChar LyX
1546 en un sistema que no administras personalmente y el responsabl
1550 \begin_inset Flex Code
1553 \begin_layout Plain Layout
1570 \begin_inset Flex Code
1573 \begin_layout Plain Layout
1585 pueden salvar el día.
1586 Supongamos que los márgenes superior e izquierdo siempre son 0.5
1587 \begin_inset space \thinspace{}
1590 in (pulgadas) demasiado grandes.
1591 Puedes añadir lo siguiente al preámbulo:
1594 \begin_layout LyX-Code
1602 \begin_layout LyX-Code
1610 \begin_layout Standard
1611 ahora los márgenes deberían ser correctos.
1614 \begin_layout Subsubsection
1615 Ejemplo 2: Etiquetas
1618 \begin_layout Standard
1619 Supongamos que quieres imprimir un puñado de etiquetas para direcciones.
1620 Hay un paquete estupendo disponible en CTAN, llamado
1623 \begin_inset Flex Code
1626 \begin_layout Plain Layout
1636 para imprimir hojas con etiquetas.
1637 Es posible que tu sistema no disponga de este paquete, compruébalo.
1638 Necesitarás también leer su documentación, porque nosotros no te lo vamos
1639 a explicar, pero sí te daremos un ejemplo de su empleo.
1642 \begin_layout Standard
1643 Primero, comprueba que estás utilizando la clase de documento
1646 \begin_inset Flex Code
1649 \begin_layout Plain Layout
1660 Después, debes poner en el preámbulo lo siguiente:
1663 \begin_layout LyX-Code
1669 \begin_layout LyX-Code
1675 \begin_layout LyX-Code
1681 \begin_layout LyX-Code
1687 \begin_layout LyX-Code
1693 \begin_layout LyX-Code
1699 \begin_layout LyX-Code
1705 \begin_layout Standard
1706 Esta es la configuración para hojas de etiquetas Avery, stock #5360.
1707 Ahora estás preparado para imprimirlas, pero necesitarás insertar código
1709 , poniendo los comandos
1712 \begin_inset Flex Code
1715 \begin_layout Plain Layout
1730 \begin_inset Flex Code
1733 \begin_layout Plain Layout
1745 antes y después, respectivamente, del texto de cada etiqueta.
1746 Esto y otras características de
1750 se explican en su documentación.
1754 \begin_layout Standard
1755 Algún día, alguien escribirá un archivo de formato (
1758 \begin_inset Flex Code
1761 \begin_layout Plain Layout
1771 ) para soportar directamente este paquete en \SpecialChar LyX
1773 Puede que ese alguien seas tú.
1776 \begin_layout Subsubsection
1777 Ejemplo 3: Sangrado de párrafos
1780 \begin_layout Standard
1781 Los americanos están acostumbrados a sangrar la primera línea de
1789 \begin_layout Plain Layout
1790 Por omisión, el estilo
1794 también sangra la primera línea de todos los párrafos.
1795 Se puede cambiar con el comando
1801 spanishoptions{es-noindentfirst}
1812 funcionan si se usa soporte
1831 Igual que con otras de sus peculiares manías, casi todos ellos se lamentarán
1832 y gimotearán hasta que no consigan hacerlo a su manera y puedan sangrar
1833 la primera línea de todos los párrafos.
1834 (Sí, estamos de guasa.
1835 ¿Lo estamos? ¡Oh, yes!)
1838 \begin_layout Standard
1839 Por supuesto, este ajuste no es el estándar en tipografía.
1840 En los libros, habitualmente solo se sangra la primera línea de un párrafo
1846 La idea que subyace tras el hecho de sangrar la primera línea de un párrafo
1847 es distinguir entre párrafos vecinos.
1848 Si no hay párrafo previo, porque sigue a una figura, por ejemplo, o es
1849 el primer párrafo de una sección, entonces no tiene sentido el sangrado.
1852 \begin_layout Standard
1853 Si eres un típico americano (¡otra vez de guasa!), no obstante, no te preocupes
1854 por estos esotéricos asuntos; ¡quieres tu sangrado! Pues añade esto al
1858 \begin_layout LyX-Code
1861 usepackage{indentfirst}
1864 \begin_layout Standard
1865 Si tu distribución de \SpecialChar TeX
1866 no está descerebrada, tendrás este paquete, y todos
1867 tus párrafos tendrán el sangrado que los Padres Fundadores pretenden que
1871 \begin_layout Subsubsection
1872 Ejemplo 4: Este documento
1875 \begin_layout Standard
1876 Puedes explorar el preámbulo de este documento para hacerte una idea de
1877 algunas de las cosas avanzadas que se pueden hacer.
1881 \begin_layout Section
1883 y errores de \SpecialChar LaTeX
1887 \begin_layout Standard
1888 Cuando \SpecialChar LyX
1889 llama a \SpecialChar LaTeX
1890 , le indica que ignore alegremente los errores y que siga
1892 Después de la ejecución de \SpecialChar LaTeX
1893 se genera un informe
1894 \begin_inset Quotes cld
1898 \begin_inset Quotes crd
1902 Tras analizarlo, \SpecialChar LyX
1903 muestra una ventana con la lista de errores.
1904 Pulsando sobre cualquiera de ellos el cursor se desplazará al lugar del
1905 archivo donde está el error.
1909 \begin_layout Plain Layout
1911 El análisis del archivo log es una dura tarea, y \SpecialChar LyX
1912 no siempre acierta con
1914 Además hay casos en que \SpecialChar LaTeX
1915 informa del error en una línea, pero el error
1916 preciso es anterior.
1917 Esto no es como olvidar una llave de cierre en un programa; obtendrás error
1926 \begin_layout Standard
1927 A algunos les gusta mirar directamente en el archivo
1931 , que es accesible con el menú
1934 \begin_inset Flex Noun
1937 \begin_layout Plain Layout
1944 \SpecialChar menuseparator
1946 \begin_inset space ~
1950 \begin_inset space ~
1961 Hay algunos mensajes de error y alertas que son frecuentes.
1962 Los trataremos a continuación.
1963 Encontrarás una lista completa en un buen libro de \SpecialChar LaTeX
1968 \begin_layout Itemize
1971 \begin_inset Flex Code
1974 \begin_layout Plain Layout
1985 \begin_inset Newline newline
1988 Todo lo que comience con estas palabras es un mensaje de alerta con el propósito
1990 \begin_inset Quotes cld
1994 \begin_inset Quotes crd
1997 el propio código \SpecialChar LaTeX
1999 Tendrás avisos como este si añades o cambias referencias cruzadas o entradas
2000 de bibliografía, en cuyo caso \SpecialChar LaTeX
2001 intenta decirte que debes ejecutarlo de
2003 En general los puedes ignorar.
2006 \begin_layout Itemize
2009 \begin_inset Flex Code
2012 \begin_layout Plain Layout
2023 \begin_inset Newline newline
2026 Otro mensaje de aviso, esta vez sobre tipografías que \SpecialChar LaTeX
2028 El resto del mensaje dirá algo sobre reemplazo de tipografías que ha hecho
2031 Puedes ignorarlos sin problema.
2034 \begin_layout Itemize
2037 \begin_inset Flex Code
2040 \begin_layout Plain Layout
2053 \begin_inset Newline newline
2056 A \SpecialChar LaTeX
2064 It seems to generate at least one of these messages for just about any
2068 Te avisa de líneas que son demasiado largas y sobrepasan el margen derecho.
2071 This happens if \SpecialChar LaTeX
2072 does not find a reasonable way to break the lines (notoriously
2073 often with typewriter font, since this does not allow for automatic break
2077 será inapreciable en la salida (suele ser solo uno o dos puntos).
2080 Sometimes, however, the lines run rather visibly into the margin; something
2081 you will not want to have in your final print.There are several global ways
2082 to try to minimize the overfull lines.
2085 Enable micro-typographic extensions
2089 Document\SpecialChar menuseparator
2090 Settings\SpecialChar menuseparator
2093 might already improve things a lot.
2094 Furthermore, \SpecialChar LaTeX
2095 code such as the following in
2097 Document\SpecialChar menuseparator
2098 Settings\SpecialChar menuseparator
2101 usually reduces the overfull lines drastically (we use this in the preamble
2106 \begin_layout LyX-Code
2112 \begin_inset Newline newline
2118 \begin_inset Newline newline
2123 emergencystretch 1.5em
2124 \begin_inset Newline newline
2132 \begin_layout Standard
2135 In some cases, however, you eventually have to rewrite the text to get the
2136 line breaking right.
2140 \begin_layout Plain Layout
2143 For more information, see
2144 \begin_inset Flex URL
2147 \begin_layout Plain Layout
2149 http://www.tex.ac.uk/FAQ-overfull.html
2162 \begin_layout Standard
2165 In any case, you should check the respective lines, at least for the final
2166 version of your document.
2167 Your eyes will tell you if there's a problem with something that's too
2172 \begin_layout Plain Layout
2175 You can also enable the `draft' option in
2176 \begin_inset Flex Noun
2179 \begin_layout Plain Layout
2182 Document\SpecialChar menuseparator
2188 , and then \SpecialChar LaTeX
2189 will draw a black box in the margin of lines that are overfull.
2198 \begin_layout Itemize
2201 \begin_inset Flex Code
2204 \begin_layout Plain Layout
2217 \begin_inset Newline newline
2220 No tan común como su primo.
2223 This happens again if \SpecialChar LaTeX
2224 does not find a reasonable break point and consequently
2225 generates too loose lines.
2226 As with the overfull lines, you should check if this is a visible problem.
2229 \begin_layout Itemize
2232 \begin_inset Flex Code
2235 \begin_layout Plain Layout
2250 \begin_inset Flex Code
2253 \begin_layout Plain Layout
2266 \begin_inset Newline newline
2269 Avisos sobre problemas
2274 Una vez más, comprueba la salida para ver si algo ha ido mal.
2277 \begin_layout Itemize
2280 \begin_inset Flex Code
2283 \begin_layout Plain Layout
2287 \begin_inset Quotes els
2291 \begin_inset Quotes ers
2302 \begin_inset Newline newline
2306 \begin_inset Quotes cld
2310 \begin_inset Quotes crd
2313 no está instalado en el sistema.
2314 Generalmente esto aparece porque algún paquete requerido por el documento
2316 Si no has tocado el preámbulo o no has usado el comando
2319 \begin_inset Flex Code
2322 \begin_layout Plain Layout
2334 , entonces alguno de los paquetes que \SpecialChar LyX
2335 ha de cargar se ha perdido.
2339 \begin_inset Flex Noun
2342 \begin_layout Plain Layout
2345 Ayuda\SpecialChar menuseparator
2349 \begin_inset space ~
2355 \begin_inset space ~
2365 para obtener una lista de los paquetes reconocidos por \SpecialChar LyX
2367 Este archivo se actualiza cada vez que reconfiguras \SpecialChar LyX
2371 \begin_inset Flex Noun
2374 \begin_layout Plain Layout
2377 Herramientas\SpecialChar menuseparator
2385 ) y te informa de los paquetes que han sido detectados y de lo que hacen.
2386 \begin_inset Newline newline
2389 Si has utilizado el comando
2392 \begin_inset Flex Code
2395 \begin_layout Plain Layout
2407 pero el paquete en cuestión no está instalado, deberás instalarlo.
2413 \begin_layout Itemize
2416 \begin_inset Flex Code
2419 \begin_layout Plain Layout
2422 LaTeX Error: Unknown option
2430 \begin_inset Newline newline
2433 Los mensajes de error que comienzan así te informan de que has especificado
2434 una opción errónea o no definida en algún paquete.
2435 Consulta la documentación del paquete.
2438 \begin_layout Itemize
2441 \begin_inset Flex Code
2444 \begin_layout Plain Layout
2445 Undefined control sequence
2453 \begin_inset Newline newline
2456 Si has insertado código \SpecialChar LaTeX
2457 con errores de tipografía tendrás un aviso de estos.
2458 También puedes haber olvidado cargar un paquete.
2459 En todo caso, este aviso suele indicar el uso de un comando no definido
2463 \begin_layout Standard
2464 Hay otros mensajes de aviso y de error.
2465 Algunos se explican por sí mismos.
2466 Estos son generalmente mensajes de \SpecialChar LaTeX
2468 Otros son francamente crípticos.
2469 Estos realmente son mensajes de error de \SpecialChar TeX
2470 , y no tenemos pistas sobre su
2471 significado o sobre cómo descifrarlos.
2475 \begin_layout Standard
2476 Si recibes mensajes de error, deberías seguir la siguiente secuencia general:
2479 \begin_layout Enumerate
2480 Revisa el código \SpecialChar LaTeX
2481 que hayas insertado y busca errores tipográficos.
2484 \begin_layout Enumerate
2485 Si no los hay, comprueba que has usado correctamente el (los) comando(s).
2488 \begin_layout Enumerate
2489 Si observas un puñado de cuadros de error amontonados muy al principio del
2490 documento, —especialmente si ves un
2491 \begin_inset Quotes cld
2495 \begin_inset Flex Code
2498 \begin_layout Plain Layout
2507 \begin_inset Quotes crd
2510 — significa que los errores están en el preámbulo.
2511 Empieza por depurar el preámbulo.
2514 \begin_layout Enumerate
2515 Si no has añadido nada al preámbulo ni has añadido código \SpecialChar LaTeX
2516 , la primera sospecha
2517 recae en tu propia distribución de \SpecialChar LaTeX
2519 Comprueba si faltan paquetes e instálalos.
2522 \begin_layout Enumerate
2523 De acuerdo, no faltan paquetes.
2524 ¿Has utilizado alguna de las opciones de ajuste fino de \SpecialChar LyX
2526 ¿has hecho un mal uso de alguna de ellas, como insertar manualmente montones
2530 \begin_inset Flex Code
2533 \begin_layout Plain Layout
2539 \begin_inset space ~
2550 \begin_inset Flex Code
2553 \begin_layout Plain Layout
2559 \begin_inset space ~
2567 \begin_inset space ~
2582 \begin_inset Flex Code
2585 \begin_layout Plain Layout
2591 \begin_inset space ~
2599 \begin_inset space ~
2611 ? ¿Has intentado juntar cosas con ellos en vez de usar el entorno de párrafo
2615 \begin_layout Enumerate
2616 Todo es correcto, no has utilizado ninguna de las opciones de ajuste fino,
2617 y has cumplido las reglas.
2618 ¿Has intentado hacer una fantástica maniobra? ¿Quizá has hecho algo
2622 en una ecuación o en un cuadro, como insertar un gráfico en una celda?
2626 \begin_layout Enumerate
2627 ¿Tienes largas piezas de texto en las que \SpecialChar LaTeX
2628 no encuentra dónde quebrar una
2629 línea? Por omisión, \SpecialChar LaTeX
2630 es más bien estricto en relación al espacio extra
2631 entre palabras que añadirá para romper una línea.
2632 Preferiblemente, deberías rehacer el párrafo para evitar el problema.
2635 \begin_layout Enumerate
2636 ¿Te has pasado con la anidación? \SpecialChar LyX
2637 , actualmente, no comprueba si estás dentro
2638 de los límites para los entornos anidables.
2639 Si anidas un puñado de entornos hasta el nivel 17, ahí está el problema.
2640 (El límite en \SpecialChar LaTeX
2644 \begin_layout Enumerate
2645 Vale, no recibes ningún mensaje de error, pero la salida es horrorosa.
2646 Si tienes un cuadro o una figura demasiado anchos o largos para la página,
2651 \begin_layout Enumerate
2652 ajustar el tamaño de la figura a la página.
2655 \begin_layout Enumerate
2656 ajustar el cuadro para que quepa.
2660 \begin_layout Enumerate
2661 Si la salida sigue dando problemas, y no has probado nada raro ni has empleado
2662 mal opciones de ajuste fino, no estamos seguros de lo que está equivocado.
2665 \begin_layout Standard
2666 Si todo esto no ayuda, bueno,
2674 (fallo) en \SpecialChar LyX
2679 \begin_layout Chapter
2680 Herramientas suplementarias
2683 \begin_layout Section
2684 Personalizar bibliografías con Bib\SpecialChar TeX
2690 \begin_layout Standard
2691 Los fundamentos del uso de Bib\SpecialChar TeX
2699 se explican en la sección
2701 Bases de datos bibliográficos
2708 Las siguientes subsecciones describen características especiales de bibliografí
2709 a soportadas por \SpecialChar LyX
2713 \begin_layout Subsection
2714 Estilos alternativos de cita
2717 \begin_layout Standard
2718 El estilo normal de Bib\SpecialChar TeX
2720 \begin_inset space \thinspace{}
2724 \begin_inset space \space{}
2728 \begin_inset Quotes cld
2732 \begin_inset Quotes crd
2735 ) para referir una cita bibliográfica.
2736 Sin embargo, en muchas disciplinas científicas se emplean otros estilos.
2737 El más común es el estilo autor-año (p.
2738 \begin_inset space \thinspace{}
2742 \begin_inset space \space{}
2746 \begin_inset Quotes cld
2750 \begin_inset Quotes crd
2755 soportathree paquetes que suministra este estilo,
2758 \begin_inset Flex Code
2761 \begin_layout Plain Layout
2774 \begin_inset Flex Code
2777 \begin_layout Plain Layout
2790 \begin_inset Flex Code
2793 \begin_layout Plain Layout
2812 sus pros y sus contras, que no podemos detallar aquí.
2813 Si solo necesitas un estilo sencillo autor-año (o numérico)
2821 emplear un archivo de estilo sin contador, probablemente tu elección debería
2825 \begin_inset Flex Code
2828 \begin_layout Plain Layout
2841 If you look for specific citation styles common in law studies
2843 deberías considerar el nuevo paquete
2846 \begin_inset Flex Code
2849 \begin_layout Plain Layout
2862 If you want to have full control over the formatting or look for advanced
2863 features such as ibidem, footnote citations, full title citations, advanced
2864 date formats (such as 400 BC) or full localization to other languages than
2865 English, you should definitely consider
2866 \begin_inset Flex Code
2869 \begin_layout Plain Layout
2877 , which exceeds all other packages in terms of features, but is also quite
2878 heavy and more resource-hungry.
2881 \begin_layout Standard
2886 paquetes es básicamente el mismo.
2890 \begin_inset Flex Noun
2893 \begin_layout Plain Layout
2896 Documento\SpecialChar menuseparator
2908 y selecciona en el panel
2909 \begin_inset Flex Noun
2912 \begin_layout Plain Layout
2921 \begin_inset Flex Noun
2924 \begin_layout Plain Layout
2927 \begin_inset Flex Noun
2930 \begin_layout Plain Layout
2939 \begin_inset Flex Noun
2942 \begin_layout Plain Layout
2951 \begin_inset Flex Noun
2954 \begin_layout Plain Layout
2957 Biblatex (Natbib mode)
2976 \begin_inset Flex Noun
2979 \begin_layout Plain Layout
2994 \begin_inset space ~
2997 6.5.3 in the User's Guide for more information on these choices)
3004 paquetes dispondrás de algunas características extras en el diálogo y podrás
3005 elegir el estilo de las citas (
3006 \begin_inset Quotes cld
3010 \begin_inset Quotes crd
3014 \begin_inset Quotes cld
3018 \begin_inset Quotes crd
3022 \begin_inset Quotes cld
3026 \begin_inset Quotes crd
3030 \begin_inset Quotes cld
3034 \begin_inset Quotes crd
3038 Ten en cuenta que los
3042 paquete necesitan archivos de estilo específicamente diseñados (all incluyen
3043 el suyo propio, pero hay muchos otros archivos de estilo disponibles e
3044 incluso un programa interactivo
3048 \begin_layout Plain Layout
3050 \begin_inset Flex URL
3053 \begin_layout Plain Layout
3055 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/custom-bib/
3065 para confeccionar estilos para
3072 \begin_layout Subsection
3080 \begin_layout Standard
3081 En ocasiones, es posible que necesites dividir la bibliografía en secciones.
3082 Por ejemplo, si eres un historiador, la posibilidad de separar fuentes
3083 y trabajos científicos es probablemente un imperativo.
3084 Desafortunadamente, Bib\SpecialChar TeX
3085 no permite hacer esto por sí solo.
3086 Pero la buena noticia es que, con la ayuda de ciertos paquetes \SpecialChar LaTeX
3087 , Bib\SpecialChar TeX
3089 ampliar su cometido para conseguirlo.
3092 \begin_layout Standard
3094 provee soporte nativo para uno de estos paquetes,
3097 \begin_inset Flex Code
3100 \begin_layout Plain Layout
3114 \begin_layout Plain Layout
3116 \begin_inset Flex URL
3119 \begin_layout Plain Layout
3121 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/bibtopic/
3131 La ventaja de este paquete (comparado con otros como
3134 \begin_inset Flex Code
3137 \begin_layout Plain Layout
3147 ) es que no necesitas definir nuevos comandos de cita.
3148 Lo que tienes que hacer es preparar diferentes bases de datos bibliográficos
3149 que incluyen las entradas para las distintas secciones de la bibliografía.
3150 Por ejemplo: si quieres dividir tu bibliografía en las secciones
3151 \begin_inset Quotes cld
3155 \begin_inset Quotes crd
3159 \begin_inset Quotes cld
3162 Trabajos científicos
3163 \begin_inset Quotes crd
3166 , primero debes crear dos bases de datos, p.
3167 \begin_inset space \thinspace{}
3171 \begin_inset space ~
3177 \begin_inset Flex Code
3180 \begin_layout Plain Layout
3193 \begin_inset Flex Code
3196 \begin_layout Plain Layout
3209 \begin_layout Standard
3213 \begin_inset Flex Noun
3216 \begin_layout Plain Layout
3219 Documento\SpecialChar menuseparator
3227 y selecciona en el panel
3230 \begin_inset Flex Noun
3233 \begin_layout Plain Layout
3246 \begin_inset Flex Noun
3249 \begin_layout Plain Layout
3252 Subdivided bibliography
3260 Ahora puedes insertar múltiples referencias Bib\SpecialChar TeX
3261 , una para cada sección
3263 Volviendo a nuestro ejemplo: Inserta una bibliografía Bib\SpecialChar TeX
3268 \begin_inset Flex Code
3271 \begin_layout Plain Layout
3281 y otra para la base de datos
3284 \begin_inset Flex Code
3287 \begin_layout Plain Layout
3298 Eres libre de usar estilos diferentes o iguales para cada sección.
3299 Por otra parte, puedes elegir si la sección bibliográfica debe contener
3301 \begin_inset Quotes cld
3304 todas las referencias citadas
3305 \begin_inset Quotes crd
3308 de la base de datos especificada (así es por omisión),
3309 \begin_inset Quotes cld
3312 todas las referencias no citadas
3313 \begin_inset Quotes crd
3317 \begin_inset Quotes cld
3320 todas las referencias
3321 \begin_inset Quotes crd
3325 Esto podría ser útil para separar la bibliografía en tres secciones:
3326 \begin_inset Quotes cld
3330 \begin_inset Quotes crd
3334 \begin_inset Quotes cld
3338 \begin_inset Quotes crd
3342 \begin_inset Quotes cld
3345 Trabajos científicos
3346 \begin_inset Quotes crd
3350 Los títulos para las secciones pueden añadirse como secciones ordinarias
3351 o como subsecciones.
3355 \begin_inset Flex Code
3358 \begin_layout Plain Layout
3368 quita el título de la bibliografía, debes reañadirlo manualmente (como
3369 un capítulo* o sección*, por ejemplo).
3372 \begin_layout Standard
3379 , the procedure is a bit different.
3388 , the aforementioned
3389 \begin_inset Flex Noun
3392 \begin_layout Plain Layout
3395 Subdivided bibliography
3400 option is disabled if you use
3409 provides its own means to generate subdivided bibliographies.
3410 You can either add keywords to bibliography entries via the
3411 \begin_inset Flex Code
3414 \begin_layout Plain Layout
3422 entry option and then filter bibliography sections by keyword (by adding
3424 \begin_inset Flex Code
3427 \begin_layout Plain Layout
3436 \begin_inset Flex Noun
3439 \begin_layout Plain Layout
3447 field of the dialog that opens if you right-click on the
3448 \begin_inset Flex Noun
3451 \begin_layout Plain Layout
3454 Biblatex Generated Bibliography
3459 button), or you can filter by entry types (such as
3468 \begin_inset space \thinspace{}
3473 \begin_inset Flex Code
3476 \begin_layout Plain Layout
3485 \begin_inset Flex Code
3488 \begin_layout Plain Layout
3497 \begin_inset Flex Noun
3500 \begin_layout Plain Layout
3508 field, or you can create so-called
3509 \begin_inset Quotes eld
3512 Bibliography Categories
3513 \begin_inset Quotes erd
3516 to which you can assign individual entries.
3517 Please refer to the Biblatex manual, section
3519 Subdivided Bibliographies
3524 \begin_layout Subsection
3525 Bibliografías múltiples
3526 \begin_inset CommandInset label
3528 name "subsec:Bibliografías-múltiples"
3535 \begin_layout Standard
3537 no soporta por sí mismo bibliografías múltiples, p.
3538 \begin_inset space \thinspace{}
3542 \begin_inset space \space{}
3545 una bibliografía para cada
3551 subsection or child (sub-document)
3555 are also supported by \SpecialChar LyX
3557 In order to enable it, go to
3558 \begin_inset Flex Noun
3561 \begin_layout Plain Layout
3564 Document\SpecialChar menuseparator
3565 Settings\SpecialChar menuseparator
3571 and select the relevant unit (e.
3572 \begin_inset space \thinspace{}
3576 \begin_inset Quotes eld
3580 \begin_inset Quotes erd
3584 \begin_inset Flex Noun
3587 \begin_layout Plain Layout
3590 Multiple Bibliographies
3596 Then add a Bib(la)\SpecialChar TeX
3597 bibliography to each unit (e.
3598 \begin_inset space \thinspace{}
3601 g., section) of your document.
3602 In the output, a separate bibliography, containing only the references
3603 done in the current unit is generated.
3606 \begin_layout Standard
3609 If you use Bib\SpecialChar TeX
3611 \begin_inset Flex Code
3614 \begin_layout Plain Layout
3623 \begin_inset Flex Code
3626 \begin_layout Plain Layout
3634 package is used to create multiple bibliographies.
3635 The former package is used if you select
3636 \begin_inset Quotes eld
3640 \begin_inset Quotes erd
3648 \begin_inset Flex Noun
3651 \begin_layout Plain Layout
3654 Sectioned Bibliography
3661 \begin_inset Flex Code
3664 \begin_layout Plain Layout
3676 \begin_layout Plain Layout
3679 An alternative approach, if you are willing to use some
3680 \begin_inset Flex Noun
3683 \begin_layout Plain Layout
3693 \begin_inset space ~
3699 \begin_inset CommandInset ref
3701 reference "sec:Insertar-Código-TeX"
3708 \begin_inset Flex Code
3711 \begin_layout Plain Layout
3725 \begin_inset Flex Code
3728 \begin_layout Plain Layout
3736 is used, \SpecialChar LyX
3737 encloses the specified units in
3738 \begin_inset Flex Code
3741 \begin_layout Plain Layout
3750 \begin_inset Flex Code
3753 \begin_layout Plain Layout
3764 \begin_inset Flex Code
3767 \begin_layout Plain Layout
3777 in order to create the units.
3778 Note that this approach has some limitations.
3779 First, every citation reference has to be inside some
3780 \begin_inset Flex Code
3783 \begin_layout Plain Layout
3792 So citations outside a defined unit (e.
3793 \begin_inset space \thinspace{}
3796 g., before the first section if you use
3797 \begin_inset Quotes eld
3801 \begin_inset Quotes erd
3805 \begin_inset Quotes eld
3809 \begin_inset Quotes erd
3813 You can also create your own units by entering
3814 \begin_inset Flex Code
3817 \begin_layout Plain Layout
3828 \begin_inset Flex Code
3831 \begin_layout Plain Layout
3842 code (for instance to work around the mentioned limitation).
3844 \begin_inset Flex Code
3847 \begin_layout Plain Layout
3856 A second limitation is that
3857 \begin_inset Flex Code
3860 \begin_layout Plain Layout
3868 always processes all references of a bibliography database, even if they
3870 This can result in odd labels (e.
3871 \begin_inset space \thinspace{}
3876 \begin_inset Quotes eld
3880 \begin_inset Quotes erd
3883 if two works of this author from 2014 are in the database, even if only
3887 \begin_layout Standard
3895 \begin_inset Flex Code
3898 \begin_layout Plain Layout
3906 option is used instead.
3907 If you need specific units, you can start them with the \SpecialChar TeX
3909 \begin_inset Flex Code
3912 \begin_layout Plain Layout
3923 \begin_inset Flex Code
3926 \begin_layout Plain Layout
3937 If you also want to control the end of the unit, use the environment
3938 \begin_inset Flex Code
3941 \begin_layout Plain Layout
3953 \begin_inset Flex Code
3956 \begin_layout Plain Layout
3968 \begin_inset Flex Code
3971 \begin_layout Plain Layout
3980 In addition to the individual bibliography of the current unit,
3984 also provides an easy way to output all bibliographies, subsequently, at
3986 \begin_inset space \thinspace{}
3989 g., at the end of the document).
3991 \begin_inset Quotes eld
3995 \begin_inset Quotes erd
3998 from the Content combo box of the Bib(la)TeX inset dialog in order to achieve
4004 manual for more information on this topic.
4007 \begin_layout Section
4008 Documentos con varias partes
4011 \begin_layout Subsection
4015 \begin_layout Standard
4016 Cuando trabajas en un extenso documento con muchas secciones, o si tienes
4017 una parte en la que un cuadro puede cambiar de vez en cuando pero no el
4018 texto precedente, suele ser conveniente dividir el documento en varios
4020 En estos casos, deberías considerar seriamente el uso de documentos hijo.
4021 Por ejemplo, los artículos científicos suelen tener cinco secciones principales
4022 : introducción, observaciones, resultados, discusión y conclusiones.
4023 Cada una de ellas debería estar en su propio archivo \SpecialChar LyX
4025 Por otra parte un archivo
4026 \begin_inset Quotes cld
4030 \begin_inset Quotes crd
4033 contendría el título, los autores, el resumen, las referencias, etc., e
4034 incluiría los cinco archivos.
4035 Es importante tener en cuenta que cada uno de estos es un completo archivo
4037 que puede ser diseñado e impreso de forma independiente, además de estar
4038 incluido en el maestro.
4039 Sin embargo, todos deben ser de la misma clase de documento —no intentes
4041 \begin_inset space \thinspace{}
4044 ej., libro y artículo—.
4045 También puedes incluir archivos \SpecialChar LaTeX
4046 ; pero no deben tener su propio preámbulo
4047 (es decir, debe eliminarse todo lo que precede a
4050 \begin_inset Flex Code
4053 \begin_layout Plain Layout
4065 , así como esta misma línea y también
4068 \begin_inset Flex Code
4071 \begin_layout Plain Layout
4083 ), de lo contrario se generarán errores al procesar el archivo.
4086 \begin_layout Standard
4088 facilita la inclusión de archivos con la opción de menú
4091 \begin_inset Flex Noun
4094 \begin_layout Plain Layout
4097 Insertar\SpecialChar menuseparator
4098 Archivo\SpecialChar menuseparator
4100 \begin_inset space ~
4111 Surge entonces una ventana que permite seleccionar el archivo a incluir
4112 y el método de inclusión, y en la posición actual del cursor se inserta
4113 un cuadro gris con el nombre del archivo, que se puede desplegar con un
4114 clic para hacer modificaciones.
4120 \begin_layout Standard
4121 Los métodos de inclusión de un archivo son
4122 \begin_inset Quotes cld
4126 \begin_inset Quotes crd
4130 \begin_inset Quotes cld
4134 \begin_inset Quotes crd
4138 \begin_inset Quotes cld
4142 \begin_inset Quotes crd
4147 \begin_inset Quotes cld
4151 \begin_inset Quotes crd
4155 \begin_inset Quotes cld
4159 \begin_inset Quotes crd
4164 are similar in many ways, but there are also some notable differences:
4169 \begin_layout Enumerate
4171 \begin_inset Quotes cld
4175 \begin_inset Quotes crd
4178 se imprimen en una página independiente, mientras que los archivos
4179 \begin_inset Quotes cld
4183 \begin_inset Quotes crd
4186 se imprimen en la página en la que estén insertados.
4189 \begin_layout Enumerate
4192 \begin_inset Quotes eld
4196 \begin_inset Quotes erd
4199 files cannot themselves
4200 \begin_inset Quotes eld
4204 \begin_inset Quotes erd
4208 \begin_inset Quotes eld
4212 \begin_inset Quotes erd
4217 \begin_inset Quotes eld
4221 \begin_inset Quotes erd
4224 , on the other hand, infinite sub-inputting is possible.
4227 \begin_layout Enumerate
4230 \begin_inset Quotes eld
4234 \begin_inset Quotes erd
4237 allow for the output of only selected
4238 \begin_inset Quotes eld
4242 \begin_inset Quotes erd
4245 files, while maintaining the actual counters (pagination etc.) and references
4246 (please refer to the section
4249 \begin_inset space ~
4257 \begin_inset space ~
4262 manual for details).
4265 \begin_layout Standard
4269 \begin_inset Quotes eld
4273 \begin_inset Quotes erd
4276 is the preferred method for chapters that are outsourced to child documents,
4278 \begin_inset Quotes eld
4282 \begin_inset Quotes erd
4285 is more suitable for arbitrary file inheritance.
4288 \begin_layout Standard
4289 La inserción de un archivo
4290 \begin_inset Quotes cld
4294 \begin_inset Quotes crd
4297 permite incluirlo tal cual es, de forma literal, con los caracteres en
4303 Normalmente los espacios en este tipo de inclusión son invisibles, aunque
4304 se conservan dos espacios consecutivos, a diferencia del normal tratamiento
4305 de los espacios en \SpecialChar LyX
4307 Sin embargo, si se marca en
4310 \begin_inset Flex Noun
4313 \begin_layout Plain Layout
4321 \begin_inset space ~
4325 \begin_inset space ~
4329 \begin_inset space ~
4333 \begin_inset space ~
4343 , se imprime una marca que señala sin ambigüedad la presencia de espacios.
4346 \begin_layout Standard
4349 Generally, the master file is converted into a full \SpecialChar LaTeX
4350 file before typesetting,
4351 while the included files are converted to \SpecialChar LaTeX
4352 files that do not have all the
4353 preamble information.
4356 \begin_layout Subsection
4357 Referencias cruzadas entre archivos
4360 \begin_layout Standard
4361 \begin_inset Box Shadowbox
4371 height_special "totalheight"
4376 backgroundcolor "none"
4379 \begin_layout Plain Layout
4380 Esta sección está algo anticuada.
4381 Es preciso describir los documentos maestros predeterminados y cómo son
4382 abiertos los hijos cuando está el maestro.
4391 \begin_layout Standard
4392 Se pueden configurar referencias cruzadas entre los distintos archivos.
4393 Primero, abre todos los archivos en cuestión: digamos A y B por ejemplo,
4394 donde B está incluido en A.
4395 Supongamos que insertas una etiqueta en A y quieres mencionarla en B.
4396 Abre el diálogo de referencias cruzadas en B y selecciona el
4397 \begin_inset Quotes cld
4401 \begin_inset Quotes crd
4407 \begin_layout Subsection
4408 Listas de bibliografía en todos los subdocumentos
4411 \begin_layout Standard
4412 \begin_inset Box Frameless
4422 height_special "totalheight"
4427 backgroundcolor "none"
4430 \begin_layout Plain Layout
4431 Esta sección también requiere actualización.
4432 Ahora hay material sobre esto en la wiki que se podría copiar aquí.
4440 \begin_layout Standard
4443 If you work with child documents, you might want to have only one main bibliogra
4444 phy at the end, but still be able to have a selected bibliography for the
4445 child if you output it on its own.
4446 Here is how to achieve this.
4449 \begin_layout Standard
4452 For the main document, you just insert a bibliography inset at the place
4453 where the main bibliography has to appear (within the master file or within
4455 If the bibliography inset is in the master file, the references will be
4456 inherited by all children, so they are available in the citation dialog
4460 \begin_layout Standard
4463 For child-specific bibliographies, insert bibliography insets within the
4464 child documents, at the place where the bibliography should appear when
4465 the child is compiled separately.
4466 However, the trick is to insert them into a branch (
4468 Insert\SpecialChar menuseparator
4469 Branch\SpecialChar menuseparator
4470 Insert New Branch...
4473 \begin_inset space \thinspace{}
4478 \begin_inset Quotes eld
4482 \begin_inset Quotes erd
4486 Within the children, activate the branch (
4488 Document\SpecialChar menuseparator
4489 Settings...\SpecialChar menuseparator
4493 Within the master, deactivate the branch (
4495 Document\SpecialChar menuseparator
4496 Settings...\SpecialChar menuseparator
4500 Now the child's bibliography will be ignored by the master, but considered
4504 \begin_layout Standard
4507 If you need multiple bibliographies (e.
4508 \begin_inset space \thinspace{}
4511 g., one per child in the
4515 ), please refer to sec
4518 \begin_inset space ~
4522 \begin_inset CommandInset ref
4524 reference "subsec:Bibliografías-múltiples"
4531 \begin_layout Section
4532 Archivos \SpecialChar LyX
4536 \begin_layout Standard
4537 A veces, los usuarios necesitan
4538 \begin_inset Quotes cld
4542 \begin_inset Quotes crd
4545 un archivo \SpecialChar LyX
4546 junto con las imágenes (y otros archivos) de los que depende,
4547 bien para enviarlo a un editor o para compartirlo con un co-autor.
4549 incluye un guión en Python (
4550 \begin_inset Flex Code
4553 \begin_layout Plain Layout
4559 ) que automatiza el proceso.
4560 Para usarlo, deben estar instalados los módulos Python
4561 \begin_inset Flex Code
4564 \begin_layout Plain Layout
4571 \begin_inset Flex Code
4574 \begin_layout Plain Layout
4581 Por omisión, el guión prefiere el formato
4582 \begin_inset Flex Code
4585 \begin_layout Plain Layout
4592 \begin_inset Flex Code
4595 \begin_layout Plain Layout
4601 en sistemas tipo Unix y el formato
4602 \begin_inset Flex Code
4605 \begin_layout Plain Layout
4614 \begin_layout Standard
4615 El proceso de configuración de \SpecialChar LyX
4616 preparará el guión para exportar a
4617 \begin_inset Quotes cld
4620 Archivo \SpecialChar LyX
4622 \begin_inset Quotes crd
4625 , que estará disponible en el menú
4626 \begin_inset Flex Code
4629 \begin_layout Plain Layout
4630 Archivo\SpecialChar menuseparator
4639 \begin_layout Standard
4640 Independientemente de la plataforma, la generación de un formato determinado
4641 de archivo puede controlarse añadiendo el conmutador
4642 \begin_inset Flex Code
4645 \begin_layout Plain Layout
4652 \begin_inset Flex Code
4655 \begin_layout Plain Layout
4662 \begin_inset Flex Code
4665 \begin_layout Plain Layout
4672 \begin_inset Flex Code
4675 \begin_layout Plain Layout
4682 \begin_inset Flex Code
4685 \begin_layout Plain Layout
4687 \SpecialChar menuseparator
4695 \begin_inset Flex Code
4698 \begin_layout Plain Layout
4699 Herramientas\SpecialChar menuseparator
4700 Preferencias\SpecialChar menuseparator
4701 Gestión de archivos\SpecialChar menuseparator
4708 (Asegúrate de añadir el conmutador tras el nombre del guión, no delante.)
4711 \begin_layout Section
4712 Encabezados y pies de página elaborados
4715 \begin_layout Standard
4716 El formato de página predeterminado es más bien simple; para la clase
4719 \begin_inset Flex Code
4722 \begin_layout Plain Layout
4732 , todo lo que obtienes es un número centrado al final de la página.
4733 El presente documento es de la clase
4736 \begin_inset Flex Code
4739 \begin_layout Plain Layout
4751 , así que resulta un poco más elaborado.
4752 Pero para montar un show de verdad, has de elegir
4753 \begin_inset Quotes cld
4757 \begin_inset Quotes crd
4764 para el estilo de página del documento, como se comenta en la
4769 En esta sección se describe el código \SpecialChar LaTeX
4770 que debes introducir en el preámbulo
4772 para conseguir los resultados deseados.
4775 \begin_layout Standard
4776 El encabezado de página se divide en tres zonas,
4777 \begin_inset Quotes cld
4781 \begin_inset Quotes crd
4785 \begin_inset Quotes cld
4789 \begin_inset Quotes crd
4793 \begin_inset Quotes cld
4797 \begin_inset Quotes crd
4801 Y el pie de página, pues igual.
4802 Los comandos \SpecialChar LaTeX
4803 para configurar estas zonas en su forma más simple son
4806 \begin_inset Flex Code
4809 \begin_layout Plain Layout
4824 \begin_inset Flex Code
4827 \begin_layout Plain Layout
4842 \begin_inset Flex Code
4845 \begin_layout Plain Layout
4860 \begin_inset Flex Code
4863 \begin_layout Plain Layout
4876 Supongamos que quieres poner un nombre en la parte superior izquierda de
4878 Pues inserta el siguiente comando en el preámbulo:
4881 \begin_layout Standard
4890 \begin_layout Standard
4891 Con este comando el nombre saldrá en la parte superior izquierda.
4892 Si una zona tiene asignada una entrada por omisión y quieres eliminarla
4894 \begin_inset space \thinspace{}
4898 \begin_inset space ~
4901 el número de página en el pie central), pon un comando con el argumento
4903 \begin_inset space \thinspace{}
4909 \begin_layout Standard
4917 \begin_layout Standard
4918 Vamos ahora con algunos adornos: vamos a poner el número de sección con
4920 \begin_inset Quotes cld
4924 \begin_inset Quotes crd
4928 \begin_inset space \thinspace{}
4932 \begin_inset space ~
4936 \begin_inset space ~
4939 3) en la superior izquierda, el número de página (p.
4940 \begin_inset space \thinspace{}
4944 \begin_inset space ~
4948 \begin_inset space ~
4951 4) en la superior derecha, el nombre en la inferior izquierda y la fecha
4952 en la inferior derecha.
4953 Para ello deberíamos escribir las siguientes líneas en el preámbulo:
4956 \begin_layout Standard
4966 \begin_layout Standard
4974 \begin_layout Standard
4984 \begin_layout Standard
4993 \begin_layout Standard
5001 \begin_layout Standard
5011 \begin_layout Standard
5015 \begin_inset Flex Code
5018 \begin_layout Plain Layout
5033 \begin_inset Flex Code
5036 \begin_layout Plain Layout
5048 aluden a los contadores de sección y de página de \SpecialChar LaTeX
5049 , que se encargan de
5050 imprimir los números de la sección y la página actuales.
5054 \begin_inset Flex Code
5057 \begin_layout Plain Layout
5069 imprime la fecha de hoy.
5072 \begin_layout Standard
5073 El grosor de las líneas horizontales dibujadas bajo el encabezado y sobre
5074 el pie se puede modificar.
5075 Si quieres que no aparezca alguna de esas líneas ponle grosor 0.
5076 Por omisión, la línea de encabezado tiene 0.4
5077 \begin_inset space \thinspace{}
5080 pt de grosor y la de pie 0
5081 \begin_inset space \thinspace{}
5085 Para cambiar estos valores se pueden usar los comandos
5091 headrulewidth}{0.4pt}
5099 footrulewidth}{0.4pt}
5102 \begin_layout Standard
5103 La configuración del encabezado y/o el pie para páginas individuales se
5104 puede alterar con comandos como
5107 \begin_inset Flex Code
5110 \begin_layout Plain Layout
5115 thispagestyle{empty}
5121 \begin_inset Flex Code
5124 \begin_layout Plain Layout
5129 thispagestyle{plain}
5137 \begin_inset Newline linebreak
5143 \begin_inset Flex Code
5146 \begin_layout Plain Layout
5151 thispagestyle{fancy}
5159 Simplemente se inserta en
5160 \begin_inset Flex Code
5163 \begin_layout Plain Layout
5164 código \SpecialChar TeX
5170 en la página que se quiere cambiar.
5171 De hecho las páginas de título tienen estilo simple por omisión, mientras
5172 que las páginas siguientes se marcan en estilo elaborado si este es el
5173 formato establecido globalmente.
5177 \begin_layout Standard
5178 Por último, veamos cómo incluir una imagen en el encabezado o en el pie;
5179 por ejemplo, un logotipo en la esquina superior izquierda.
5180 Prueba algo como esto:
5183 \begin_layout Standard
5192 includegraphics{logo.eps}}}
5195 \begin_layout Standard
5196 (quizá sea necesario anteponer
5199 \begin_inset Flex Code
5202 \begin_layout Plain Layout
5207 usepackage{graphics}
5214 si tu documento no incluye otros gráficos).
5218 \begin_layout Section
5219 Selección de marcas de listas
5220 \begin_inset CommandInset label
5229 \begin_layout Standard
5235 \begin_layout Subsection
5239 \begin_layout Standard
5241 suministra 216 símbolos de marcas a los que se accede mediante un simple
5242 diálogo que permite elegir un símbolo para cada nivel de una lista no numerada.
5243 Esta elección es aplicable a la totalidad del documento, no es posible
5244 escoger distintos conjuntos de marcas para distintos párrafos.
5248 \begin_layout Plain Layout
5249 Bien, en realidad sí se puede hacer, pero a mano.
5257 \begin_layout Subsection
5261 \begin_layout Standard
5262 Abre el diálogo siguiendo el camino de menú
5268 \SpecialChar menuseparator
5269 Configuración\SpecialChar menuseparator
5275 \begin_layout Standard
5276 El diálogo suministra un cuadro de símbolos para las marcas.
5281 hay una lista desplegable con seis paneles de símbolos.
5286 permite elegir el nivel para el que elegimos la marca.
5287 Un campo de texto bajo el cuadro permite escoger un símbolo personalizado
5288 poniendo su código \SpecialChar LaTeX
5292 \begin_layout Standard
5297 corresponden a los distintos paquetes requeridos.
5298 El cuadro siguiente recoge los nombres y sus paquetes asociados:
5301 \begin_layout Standard
5303 \begin_inset Tabular
5304 <lyxtabular version="3" rows="7" columns="2">
5305 <features tabularvalignment="middle">
5306 <column alignment="center" valignment="top" width="0pt">
5307 <column alignment="center" valignment="top" width="0pt">
5309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5312 \begin_layout Plain Layout
5327 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5330 \begin_layout Plain Layout
5347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5350 \begin_layout Plain Layout
5365 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5368 \begin_layout Plain Layout
5377 base \SpecialChar LaTeX
5385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5388 \begin_layout Plain Layout
5403 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5406 \begin_layout Plain Layout
5423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5426 \begin_layout Plain Layout
5441 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5444 \begin_layout Plain Layout
5461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5464 \begin_layout Plain Layout
5479 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5482 \begin_layout Plain Layout
5499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5502 \begin_layout Plain Layout
5517 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5520 \begin_layout Plain Layout
5537 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5540 \begin_layout Plain Layout
5555 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5558 \begin_layout Plain Layout
5581 \begin_layout Standard
5583 no se detiene si usas marcas de paquetes no disponibles.
5584 Pero si se producen errores de \SpecialChar LaTeX
5585 al intentar ver o imprimir el archivo,
5586 probablemente se debe a la falta de algún paquete.
5590 \begin_layout Plain Layout
5592 no restringe su uso porque puede que estés editando localmente el archivo
5593 para procesarlo luego en otra máquina.
5601 \begin_layout Subsection
5605 \begin_layout Standard
5606 Selecciona la profundidad de nivel y luego elige la marca y su tamaño.
5607 Los cambios no serán visibles en \SpecialChar LyX
5608 pero sí lo serán en la salida procesada.
5611 \begin_layout Standard
5612 Se puede reiniciar una marca a su valor predeterminado con clic-derecha
5613 sobre el botón apropiado de nivel de profundidad.
5617 \begin_layout Plain Layout
5618 Si quieres tener varios conjuntos de párrafos con diferentes conjuntos de
5619 marcas en cada uno, tendrás que enfangarte con código \SpecialChar TeX
5621 El diálogo de selección de marcas puede, no obstante, ayudarte porque te
5622 suministra el código \SpecialChar LaTeX
5623 para un amplio rango de símbolos de marcas.
5624 Para hacer tus propios párrafos personalizados tienes las siguientes opciones:
5627 \begin_layout Plain Layout
5631 \begin_layout Plain Layout
5647 \begin_layout Plain Layout
5651 \begin_layout Plain Layout
5673 \begin_layout Itemize
5674 Usa el comando \SpecialChar LaTeX
5676 \begin_inset Flex Code
5679 \begin_layout Plain Layout
5687 para especificar un símbolo de marca para una profundidad determinada.
5688 Además tendrás que guardar la marca actual para que puedas recuperarla
5690 En esta lista no numerada se ha usado el siguiente código \SpecialChar LaTeX
5692 la marca del primer nivel:
5696 \begin_layout LyX-Code
5706 \begin_layout LyX-Code
5723 \begin_layout Itemize
5724 Observa que el nivel de profundidad se especifica en números romanos como
5728 \begin_inset Flex Code
5731 \begin_layout Plain Layout
5744 \begin_layout Itemize
5745 \begin_inset Argument item:1
5748 \begin_layout Plain Layout
5752 \begin_layout Plain Layout
5770 Especifica cada entrada individual empezando cada ítem con el símbolo escogido
5772 \begin_inset Quotes eld
5776 \begin_inset Quotes erd
5781 Insert\SpecialChar menuseparator
5785 \begin_inset Flex Code
5788 \begin_layout Plain Layout
5789 código \SpecialChar TeX
5796 Por ejemplo, este ítem se inicia con
5797 \begin_inset Flex Code
5800 \begin_layout Plain Layout
5815 \begin_layout Plain Layout
5819 \begin_layout Plain Layout
5835 \begin_layout Plain Layout
5836 Además tendrás que volver a la configuración inicial global de marcas para
5837 que esta vuelva a funcionar.
5838 Así hemos hecho con:
5841 \begin_layout LyX-Code
5851 \begin_layout LyX-Code
5860 \begin_layout Chapter
5865 \begin_layout Standard
5867 soporta desde hace tiempo la exportación de documentos a varios formatos
5868 adecuados para la web, como HTML.
5869 Sin embargo, antes de la versión 2.0, la exportación a HTML siempre se hacía
5870 mediante el uso de convertidores externos.
5874 \begin_layout Plain Layout
5889 Pueden actuar de dos maneras: usando \SpecialChar LaTeX
5890 como formato intermedio, como
5902 , encargándose \SpecialChar LyX
5903 de la generación del \SpecialChar LaTeX
5904 , o trabajando directamente sobre archivos
5912 Cada método tiene distintas ventajas e inconvenientes.
5916 \begin_layout Standard
5917 Los convertidores basados en \SpecialChar LaTeX
5918 tienen la ventaja de que, en principio, lo
5919 saben todo sobre el documento que exporta \SpecialChar LaTeX
5921 Estos convertidores no se preocupan, por ejemplo, de si determinado bloque
5922 de código fue generado por \SpecialChar LyX
5923 o si era código \SpecialChar TeX
5929 Saben manejar archivos
5933 , contadores, referencias, y generalmente pueden manejar archivos
5937 generados por Bib\SpecialChar TeX
5939 Por otra parte, \SpecialChar LaTeX
5940 es un lenguaje complejo de analizar —a veces se comenta
5941 que solo \SpecialChar TeX
5942 comprende a \SpecialChar TeX
5943 — y los convertidores basados en \SpecialChar LaTeX
5945 con estructuras aparentemente simples; las complejas pueden ahogarlos totalment
5946 e; en el momento de escribir esto, por ejemplo, el manual
5950 no se puede exportar con
5955 Las matemáticas son otro tema: estos convertidores suelen convertir las
5956 ecuaciones en pequeñas imágenes que se enlazan posteriormente al documento
5958 Puesto que realmente las ecuaciones son generadas por \SpecialChar LaTeX
5960 Pero no redimensionan bien su tamaño, y ajustar su aspecto al que debería
5961 tener en el documento —de forma que los tamaños de los caracteres parezcan
5962 aproximadamente iguales— puede ser un reto.
5966 \begin_layout Standard
5969 \begin_inset Flex Code
5972 \begin_layout Plain Layout
5983 , de Alex Fernández, (
5984 \begin_inset CommandInset href
5986 name "http://pinchito.es/elyxer/"
5987 target "http://pinchito.es/elyxer/"
5992 ) resuelve algunos de estos problemas.
5993 En particular, las ecuaciones generadas redimensionan el tamaño perfectamente,
5994 ya que las procesa usando una combinación de HTML y CSS en lugar de convertirla
5996 Pero incluso expresiones moderadamente complejas tienen un aspecto no tan
6001 ; esto refleja las limitaciones de HTML.
6005 \begin_layout Plain Layout
6011 también puede usar jsMath y MathJax, pero estas opciones solo están disponibles
6012 globalmente y requieren acceso al servidor que ejecuta el entorno.
6017 Y más importante (al menos desde la versión 1.1.1),
6018 \begin_inset Flex Code
6021 \begin_layout Plain Layout
6028 tiene soporte limitado para macros de ecuación y no lo tiene para párrafos
6029 o estilos de texto definidos por el usuario.
6030 Estas limitaciones hacen a
6031 \begin_inset Flex Code
6034 \begin_layout Plain Layout
6041 inadecuado para muchos documentos de \SpecialChar LyX
6043 En principio, por supuesto, estos problemas se podrían resolver, pero los
6044 desarrolladores de \SpecialChar LyX
6045 han decidido seguir una vía diferente y hacer al propio
6047 capaz de escribir XHTML, igual que es capaz de escribir \SpecialChar LaTeX
6052 \begin_layout Standard
6053 En el momento de escribir esto, La salida XHTML está en desarrollo y debería
6055 \begin_inset Quotes cld
6059 \begin_inset Quotes crd
6066 \begin_layout Plain Layout
6068 \begin_inset Flex Code
6071 \begin_layout Plain Layout
6072 development/HTML/HTML.notes
6077 que está en el código fuente de \SpecialChar LyX
6079 \begin_inset CommandInset href
6081 name "accessed online"
6082 target "https://www.lyx.org/trac/browser/lyxgit/development/HTML/HTML.notes?rev=master"
6087 , contiene información actualizada sobre el estado de XHTML.
6088 Véase también la lista de fallos en XHTML en
6089 \begin_inset CommandInset href
6091 name "the bug tracker"
6092 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"
6102 Aún así, los desarrolladores han escogido este camino porque tiene ventajas
6103 potenciales sobre los otros dos.
6106 \begin_layout Standard
6107 Estas ventajas se deben, en primer lugar, al hecho de que las rutinas para
6108 exportar XHTML, ya que son parte de \SpecialChar LyX
6109 , conocen todo lo que \SpecialChar LyX
6111 documento a exportar.
6115 \begin_layout Plain Layout
6116 Otra ventaja es que, puesto que estas rutinas son internas de \SpecialChar LyX
6118 a los cambios en el formato de los archivos de \SpecialChar LyX
6119 o en la semántica de los
6120 recuadros insertados.
6126 Así pues, conocen sobre los índices (mostrados en el contorno), sobre los
6127 contadores asociados a estilos de párrafo, y sobre estilos personalizados.
6128 Las rutinas XHTML también saben sobre internacionalización lo mismo que
6130 , de modo que la salida dirá
6131 \begin_inset Quotes cld
6135 \begin_inset Quotes crd
6139 \begin_inset Quotes cld
6143 \begin_inset Quotes crd
6146 según el idioma activo.
6149 \begin_layout Standard
6150 En general, las rutinas de salida saben lo mismo que \SpecialChar LyX
6151 sobre el formato del
6152 documento, es decir, sobre cómo se mostrará el documento en pantalla.
6153 Usamos esta información cuando exportamos a XHTML.
6154 En particular, \SpecialChar LyX
6159 la información de estilo CSS correspondiente a la información que maneja
6160 para mostrar el documento en pantalla: si los encabezados de sección son
6161 palo seco en negrita en pantalla, entonces también (por omisión) serán
6162 palo seco negrita en un navegador web.
6163 Y esto es cierto no solo para estilos predefinidos, como una sección, sino
6164 para cualquier estilo, incluyendo los definidos por el usuario.
6165 En realidad, las rutinas XHTML no distinguen entre estilos de texto y de
6166 párrafo personalizados y los predefinidos por el propio \SpecialChar LyX
6168 todo lo que \SpecialChar LyX
6169 sabe sobre estilos está contenido en los archivos de formato.
6170 Y lo mismo se puede afirmar en relación a los recuadros de texto predefinidos,
6171 como notas al pie y varios recuadros personalizados.
6174 \begin_layout Standard
6175 El resultado es que la salida XHTML se puede personalizar y extender de
6176 igual forma que se puede hacer con la salida \SpecialChar LaTeX
6177 : mediante archivos de formato
6179 Véase el capítulo 5 del manual
6186 \begin_layout Standard
6187 El resto de este capítulo contiene información más detallada sobre la salida
6188 XHTML, sus limitaciones y formas de evitarlas.
6191 \begin_layout Section
6192 Las ecuaciones en XHTML
6195 \begin_layout Standard
6197 ofrece cuatro posibilidades para el procesamiento de matemáticas.
6198 Cada una tiene sus ventajas y sus inconvenientes.
6201 \begin_layout Itemize
6203 \begin_inset Newline newline
6206 MathML es un dialecto de XML diseñado específicamente para matemáticas en
6207 la web, y habitualmente rinde muy bien en los navegadores que lo soportan.
6208 La desventaja es que no todos los navegadores soportan MathML, y el soporte
6209 no es completo en navegadores basados en Gecko, como Firefox.
6210 \begin_inset Newline newline
6214 no es capaz de procesar una fórmula como MathML —por ejemplo, si la
6215 ecuación usa el paquete
6216 \begin_inset Flex Code
6219 \begin_layout Plain Layout
6225 o código \SpecialChar TeX
6226 — la transformará en imagen.
6229 \begin_layout Itemize
6231 \begin_inset Newline newline
6234 Como se ha dicho antes,
6235 \begin_inset Flex Code
6238 \begin_layout Plain Layout
6245 procesa las matemáticas como HTML usando estilos CSS.
6249 \begin_layout Plain Layout
6252 \begin_inset Flex Code
6255 \begin_layout Plain Layout
6262 parte del CSS para su salida HTML.
6267 Para ecuaciones simple funciona bastante bien, aunque con expresiones más
6268 complejas tiende a fallar.
6269 Aún así, este método tiene la ventaja de que es ampliamente soportado y
6270 puede ser apropiado para documentos que tengan pocas y sencillas ecuaciones.
6271 \begin_inset Newline newline
6275 es incapaz de procesar una ecuación como HTML —por ejemplo, si la ecuación
6277 \begin_inset Flex Code
6280 \begin_layout Plain Layout
6286 o código \SpecialChar TeX
6287 — la transformará en imagen.
6290 \begin_layout Itemize
6292 \begin_inset Newline newline
6296 \begin_inset Flex Code
6299 \begin_layout Plain Layout
6306 transformará las ecuaciones en imágenes, las mismas, de hecho, que se
6307 usan para la visualización instantánea.
6311 \begin_layout Plain Layout
6316 es preciso que esté activa la previsualización instantánea para ver las
6317 imágenes en la salida.
6322 La ventaja de este método es que las imágenes son simplemente generadas
6323 por \SpecialChar LaTeX
6324 , por lo que son muy precisas.
6325 La desventaja, como ya hemos dicho, es que son imágenes mapa de bits, por
6326 lo que no se redimensionan nada bien y no se pueden copiar, etc.
6328 \begin_inset Newline newline
6331 El tamaño de las imágenes se puede controlar estableciendo el parámetro
6333 \begin_inset Quotes cld
6336 Escala de imágenes de ecuaciones
6337 \begin_inset Quotes crd
6341 \begin_inset Flex Noun
6344 \begin_layout Plain Layout
6345 Documento\SpecialChar menuseparator
6346 Configuración\SpecialChar menuseparator
6357 \begin_layout Plain Layout
6358 Por si interesa: esto controla la resolución de la imagen en puntos por
6359 pulgada, y se basa en un valor inicial de 75 ppp.
6365 \begin_inset Newline newline
6368 Si, por alguna razón, \SpecialChar LyX
6369 falla al crear una imagen para una ecuación (p.
6370 \begin_inset space ~
6373 ej., si no está instalado un paquete \SpecialChar LaTeX
6374 requerido), generará la salida en \SpecialChar LaTeX
6379 \begin_layout Itemize
6382 \begin_inset Newline newline
6385 Para acabar, \SpecialChar LyX
6386 generará salida alegremente las ecuaciones como \SpecialChar LaTeX
6388 Siendo la solución de último recurso, este método puede usarse con herramientas
6390 \begin_inset CommandInset href
6393 target "http://www.math.union.edu/~dpvc/jsMath/"
6398 , que usa JavaScript para insertar \SpecialChar LaTeX
6401 envuelve el \SpecialChar LaTeX
6403 \begin_inset Flex Code
6406 \begin_layout Plain Layout
6412 (para fórmulas en línea) o en un
6413 \begin_inset Flex Code
6416 \begin_layout Plain Layout
6422 (para fórmulas presentadas) con
6423 \begin_inset Flex Code
6426 \begin_layout Plain Layout
6432 , tal como requiere jsMath.
6435 \begin_layout Standard
6436 Debemos seleccionar uno de estos métodos en
6437 \begin_inset Flex Noun
6440 \begin_layout Plain Layout
6441 Documento\SpecialChar menuseparator
6442 Configuración\SpecialChar menuseparator
6449 Por omisión, \SpecialChar LyX
6451 Se trata de una configuración para todo el documento.
6454 \begin_layout Standard
6455 Eventualmente, \SpecialChar LyX
6456 ofrecerá al usuario la opción de seleccionar un método alternati
6457 vo para algún recuadro en particular, en el caso de que no se procese adecuadame
6462 \begin_layout Plain Layout
6463 Dicho esto, como \SpecialChar LyX
6464 recurre a imágenes si el recuadro contiene código \SpecialChar TeX
6466 posible forzar la salida como imagen poniendo algún código \SpecialChar TeX
6468 ecuación, por ejemplo
6469 \begin_inset Formula $a=b\relax$
6480 \begin_layout Section
6481 Bibliografía y citas
6484 \begin_layout Standard
6485 XHTML soporta totalmente bibliografías y citas.
6488 \begin_layout Standard
6489 Las etiquetas de citas se generan con el mismo mecanismo que genera las
6490 etiquetas en la pantalla de \SpecialChar LyX
6491 , así que las etiquetas tendrán el mismo aspecto
6492 que en \SpecialChar LyX
6494 Si se usan citas numeradas, \SpecialChar LyX
6495 generará etiquetas numeradas, como [1], [17],
6496 en vez de mostrar las claves de las citas entre corchetes, como hace en
6498 Si se usan citas autor-año, \SpecialChar LyX
6499 añadirá letras minúsculas a los años, como
6500 hace Bib\SpecialChar TeX
6501 , si encuentra más de una cita para una combinación dada autor-año.
6502 Las etiquetas se imprimirán con las entradas bibliográficas.
6503 Hay que advertir que, por el momento, no hay forma de personalizar el aspecto
6504 de las etiquetas, por ejemplo para elegir entre corchetes o paréntesis.
6507 \begin_layout Standard
6508 Para la salida de la bibliografía interviene el mismo mecanismo que maneja
6509 la presentación de la información de las referencias en el diálogo de citas,
6510 de modo que se verán en XHTML como se ven en el diálogo de citas.
6511 El formato se puede personalizar en un archivo de usuario o, preferiblemente,
6520 \begin_layout Standard
6521 El defecto principal en estos momentos es que la información de las referencias
6522 cruzadas se imprime junto con cada entrada con la que está asociada.
6523 Entonces, puedes ver cosas como estas:
6528 \begin_inset Quotes eld
6531 Context and Logical Form
6532 \begin_inset Quotes erd
6537 Language in Context: Selected Essays
6539 (Oxford: Oxford University Press, 2007), pp.
6545 \begin_inset Quotes eld
6548 Semantics in Context
6549 \begin_inset Quotes erd
6554 Language in Context: Selected Essays
6556 (Oxford: Oxford University Press, 2007), pp.
6560 \begin_layout Standard
6561 Esto debería estar pronto solucionado.
6564 \begin_layout Standard
6565 De momento no hay soporte para bibliografías por secciones.
6566 Si tienes múltiples bibliografías, \SpecialChar LyX
6567 imprimirá la misma una y otra vez.
6570 \begin_layout Section
6574 \begin_layout Standard
6575 Afortunadamente, \SpecialChar LyX
6576 exportará los índices como XHTML, aunque con ciertas limitacio
6577 nes, por el momento.
6580 \begin_layout Standard
6581 La exportación de índices será más fiable si no intentas usar las elegantes
6582 estructuras que se describen en la sección sobre índices de ls
6590 \begin_layout Plain Layout
6591 La cuestión principal es que \SpecialChar LyX
6592 no maneja esto por sí mismo.
6593 Solo deja que introduzcas lo que deberías introducir en \SpecialChar LaTeX
6599 Describiremos cómo se manejan usando los encabezados de subsección de esta
6603 \begin_layout Itemize
6604 Agrupación de entradas de índice (subentradas): \SpecialChar LyX
6605 se esfuerza en soportar
6606 esto, pero las entradas deben separarse por
6607 \begin_inset Quotes cld
6611 \begin_inset Quotes crd
6614 , es decir, debe haber espacios alrededor del signo de exclamación.
6615 Esto es porque de otra manera sería complicado comprobar puntos de exclamación
6616 escapados en matemáticas, etc.
6619 \begin_layout Itemize
6620 Rangos de páginas: no hay soporte para rangos de páginas, puesto que esto
6621 no tiene sentido en XHTML.
6622 En su lugar, solo se mostrarán dos entradas de índice, uno en cada extremo.
6625 \begin_layout Itemize
6626 Referencias cruzadas: no hay soporte para esto.
6628 encuentra una entrada de la forma
6629 \begin_inset Quotes cld
6633 \begin_inset Quotes crd
6636 la ignora y el resto lo considera como una entrada de índice ordinaria.
6639 \begin_layout Itemize
6640 Orden de las entradas de índice: \SpecialChar LyX
6641 no soporta maniobras para fijar el orden
6643 Tomará lo que está antes del primer @ que encuentre y lo usará para ordenarlo,
6644 tomando lo que sigue a @ como la entrada real.
6645 Por el momento \SpecialChar LyX
6646 no identifica la @ escapada, por tanto no intentes indexar
6647 direcciones de correo.
6650 \begin_layout Itemize
6651 Formato de entradas de índice: Se pueden formatear entradas mediante el
6652 diálogo de estilo del texto, o con otro método disponible en \SpecialChar LyX
6654 No hay soporte para estructuras como
6655 \begin_inset Quotes cld
6659 \begin_inset Quotes crd
6664 encuentra un símbolo de tubería, '|' en una entrada lo borrará, y todo
6668 \begin_layout Itemize
6669 Índices múltiples: no hay soporte para esto.
6670 Todas las entradas de estos índices se imprimirán como un solo índice.
6671 Para evitar la impresión de varias versiones del índice, imprimiremos solo
6672 el índice principal, de modo que asegúrate de tener uno.
6675 \begin_layout Section
6676 Nomenclatura y glosario
6679 \begin_layout Standard
6680 Por ahora no hay soporte para glosarios.
6681 Añadirlo debería ser bastante trivial, y bienvenido.
6684 \begin_layout Chapter
6685 El servidor \SpecialChar LyX
6689 \begin_layout Section
6693 \begin_layout Standard
6694 El 'servidor \SpecialChar LyX
6695 ' permite a otros programas comunicarse con \SpecialChar LyX
6698 y recabar información sobre el estado interno de \SpecialChar LyX
6700 Esto está dirigido solo a usuarios avanzados, quienes descubrirán su utilidad.
6701 Escribiendo al servidor, por ejemplo, los administradores de bibliografía,
6702 como JabRef, pueden dar
6703 \begin_inset Quotes cld
6707 \begin_inset Quotes crd
6710 a las citas en \SpecialChar LyX
6714 \begin_layout Section
6715 Iniciar el servidor \SpecialChar LyX
6717 \begin_inset CommandInset label
6719 name "sec:Iniciar-el-servidor"
6726 \begin_layout Standard
6727 El servidor \SpecialChar LyX
6728 funciona mediante el uso de un par de las denominadas tuberías.
6729 Estas se encuentran generalmente en
6730 \begin_inset Flex Code
6733 \begin_layout Plain Layout
6739 (no en Windows, en donde las tuberías
6744 \begin_inset Flex Code
6747 \begin_layout Plain Layout
6760 \begin_inset Flex Code
6763 \begin_layout Plain Layout
6770 \begin_inset Flex Code
6773 \begin_layout Plain Layout
6780 Los programas externos escriben en
6781 \begin_inset Flex Code
6784 \begin_layout Plain Layout
6791 \begin_inset Flex Code
6794 \begin_layout Plain Layout
6801 La raíz de los nombres de las tuberías se puede definir en el diálogo
6803 Herramientas\SpecialChar menuseparator
6807 \begin_inset Flex Code
6810 \begin_layout Plain Layout
6811 "/home/myhome/lyxpipe"
6817 \begin_inset Flex Code
6820 \begin_layout Plain Layout
6834 en Windows (donde se puede usar cualquier ruta en vez de lyxpipe, por ejemplo
6836 \begin_inset Flex Code
6839 \begin_layout Plain Layout
6862 configurar esto a mano para que arranque el servidor.
6865 \begin_layout Standard
6867 añadirá las extensiones '
6868 \begin_inset Flex Code
6871 \begin_layout Plain Layout
6878 \begin_inset Flex Code
6881 \begin_layout Plain Layout
6887 ' para crear las tuberías.
6888 Si alguna de ellas ya existe, \SpecialChar LyX
6889 asumirá que se está ejecutando otro proceso
6890 y no iniciará el servidor.
6891 Esto significa que si \SpecialChar LyX
6892 se bloquea, o si por alguna otra razón queda una
6894 \begin_inset Quotes cld
6898 \begin_inset Quotes crd
6901 cuando \SpecialChar LyX
6902 se cierra, entonces \SpecialChar LyX
6903 no iniciará el servidor.
6905 Tendrás que borrar las tuberías a mano y después reiniciar \SpecialChar LyX
6909 \begin_layout Standard
6910 Para tener al mismo tiempo varios procesos con servidores hay que usar diferente
6911 s configuraciones, quizás usando distintos directorios de usuario, cada
6912 uno con su propio archivo
6913 \begin_inset Flex Code
6916 \begin_layout Plain Layout
6925 \begin_layout Standard
6926 Si estás desarrollando un programa cliente, podría ser útil activar la informaci
6927 ón de depuración del servidor de \SpecialChar LyX
6929 Esto se hace iniciando \SpecialChar LyX
6931 \begin_inset Flex Code
6934 \begin_layout Plain Layout
6943 \begin_layout Standard
6944 Puedes encontrar un ejemplo completo de cliente escrito en C++ en la distribució
6946 \begin_inset Flex Code
6949 \begin_layout Plain Layout
6950 development/lyxserver/server_monitor.cpp
6958 \begin_layout Standard
6959 Otra herramienta útil es el cliente en línea de comandos
6960 \begin_inset Flex Code
6963 \begin_layout Plain Layout
6964 src/client/lyxclient
6972 \begin_layout Section
6976 \begin_layout Standard
6977 Para emitir una llamada a \SpecialChar LyX
6978 , el cliente escribe una línea de texto ASCII
6979 en la tubería de entrada.
6980 Esta línea tiene el siguiente formato:
6997 \begin_layout Description
6998 clientname es un nombre que el cliente puede escoger arbitrariamente.
6999 Su única función es que \SpecialChar LyX
7000 lo repetirá si envía una respuesta —así un cliente
7001 puede enviar resultados desde diferentes solicitantes.
7004 \begin_layout Description
7005 function es la función que quieres que \SpecialChar LyX
7007 Es lo mismo que los comandos que usarías en el minibúfer.
7010 \begin_layout Description
7011 argument es un argumento opcional que solo es significativo para ciertas
7012 funciones (por ejemplo, la función LFUN
7013 \begin_inset Quotes cld
7017 \begin_inset Quotes crd
7020 insertará el argumento como texto en la posición del cursor).
7023 \begin_layout Standard
7024 La respuesta de \SpecialChar LyX
7025 llegará en la tubería de salida y será de la forma
7042 \begin_layout Standard
7051 solo son respuestas del comando solicitante, mientras que
7055 es información más o menos útil sobre cómo ha funcionado la ejecución del
7057 Algunos comandos, tales como
7058 \begin_inset Quotes cld
7062 \begin_inset Quotes crd
7065 , devolverán información sobre el estado interno de \SpecialChar LyX
7066 , mientras que otros
7067 devolverán una respuesta vacía.
7068 Esto significa que la ejecución del comando fue correcta.
7071 \begin_layout Standard
7072 En caso de errores la respuesta de \SpecialChar LyX
7090 \begin_layout Standard
7095 debería contener una explicación de por qué falló el comando.
7098 \begin_layout Standard
7102 \begin_layout LyX-Code
7103 echo "LYXCMD:test:beginning-of-buffer:" >~/.lyxpipe.in
7106 \begin_layout LyX-Code
7107 echo "LYXCMD:test:get-xy:" >~/.lyxpipe.in
7108 \begin_inset Newline newline
7111 read a <~/.lyxpipe.out
7112 \begin_inset Newline newline
7118 \begin_layout Subsection
7119 AppleScript (Mac OS X)
7122 \begin_layout Standard
7123 Desde \SpecialChar LyX
7124 2.1, \SpecialChar LyX
7125 soporta interacciones básicas con AppleScript para comunicación
7126 normal mediante el comando run.
7127 Este comando toma un argumento directo (la
7131 a realizar) y un argumento opcional.
7132 Devuelve la salida de la función o desencadena un error con un mensaje
7136 \begin_layout Standard
7140 \begin_layout LyX-Code
7141 tell application "\SpecialChar LyX
7145 \begin_layout LyX-Code
7149 \begin_layout LyX-Code
7150 -- Stores the current file name into f
7153 \begin_layout LyX-Code
7154 set f to (run "server-get-filename" with argument "")
7157 \begin_layout LyX-Code
7158 on error the error_message number the error_number
7161 \begin_layout LyX-Code
7162 display dialog "Error: " & the error_number & ".
7166 \begin_layout LyX-Code
7167 & the error_message buttons {"OK"} default button 1
7170 \begin_layout LyX-Code
7174 \begin_layout LyX-Code
7178 \begin_layout Section
7182 \begin_layout Standard
7184 puede notificar a los clientes acontecimientos ocurridos de manera asíncrona.
7185 Actualmente solo lo hará si el usuario liga una secuencia de teclas a la
7187 \begin_inset Quotes cld
7191 \begin_inset Quotes crd
7195 El formato de la cadena que envía \SpecialChar LyX
7200 \begin_inset Flex Code
7203 \begin_layout Plain Layout
7214 \begin_layout Standard
7219 es la representación impresa de la secuencia de teclas que fue realmente
7220 tecleada por el usuario.
7223 \begin_layout Standard
7224 Este mecanismo puede utilizarse para ampliar el conjunto de comandos de
7226 e implementar macros.
7227 Asocia alguna secuencia de teclas a
7228 \begin_inset Quotes cld
7232 \begin_inset Quotes crd
7236 Después inicia un cliente que escucha en la tubería de salida, envía el
7237 comando acorde con la secuencia e inicia una función que pueda usar llamadas
7238 y solicitudes a \SpecialChar LyX
7239 para emitir un comando o una serie de comandos a \SpecialChar LyX
7243 \begin_layout Section
7244 El sencillo protocolo del servidor \SpecialChar LyX
7248 \begin_layout Standard
7250 implementa un protocolo sencillo que puede utilizarse para administrar
7252 Todos los mensajes son de la forma
7265 \begin_layout Standard
7271 \begin_inset Quotes cld
7275 \begin_inset Quotes crd
7279 \begin_inset Quotes cld
7283 \begin_inset Quotes crd
7288 \begin_inset Quotes cld
7292 \begin_inset Quotes crd
7295 de un cliente, \SpecialChar LyX
7296 devolverá información al cliente de que está escuchando
7297 sus mensajes, mientras que
7298 \begin_inset Quotes cld
7302 \begin_inset Quotes crd
7305 enviado desde \SpecialChar LyX
7306 informará a los clientes que \SpecialChar LyX
7310 \begin_layout Section
7311 Búsqueda inversa DVI/PDF
7314 \begin_layout Standard
7315 Algunos visores DVI/PDF
7319 \begin_layout Plain Layout
7320 Okular en KDE/Linux, Qpdfview en Unix, Skim en Mac OSX y SumatraPDF en Windows.
7325 ofrecen la posibilidad de
7330 Esto quiere decir que puedes indicar a \SpecialChar LyX
7331 que coloque el cursor en una línea
7332 determinada en el documento haciendo clic en la posición correspondiente
7333 en la salida DVI/PDF.
7334 Para ello, el visor ha de ser capaz de comunicarse con \SpecialChar LyX
7336 Esto se consigue mediante el servidor \SpecialChar LyX
7341 ) o el zócalo de dominio UNIX (
7345 ) que \SpecialChar LyX
7346 crea en su directorio temporal (esta es la forma en que \SpecialChar LyX
7349 \begin_inset Flex Code
7352 \begin_layout Plain Layout
7359 En algunos casos, hará falta un guión de apoyo que medie entre el visor
7361 , en otros, el visor se podrá comunicar directamente con \SpecialChar LyX
7363 Esto depende del visor seleccionado y del sistema operativo.
7364 Lo mismo es aplicable a la forma en que los visores deben configurarse
7365 y la forma en que la búsqueda inversa se lleva a cabo realmente.
7366 En lo que sigue, describiremos cómo se configura la búsqueda en visores
7368 Antes, sin embargo, explicamos lo que hay que hacer en general para habilitar
7369 la búsqueda inversa en el DVI/PDF.
7372 \begin_layout Subsection
7373 Activación automática
7374 \begin_inset CommandInset label
7376 name "subsec:Activación-automática"
7383 \begin_layout Standard
7384 En la mayoría de los casos \SpecialChar LyX
7387 pressing the following button in the toolbar:
7390 arg "buffer-toggle-output-sync"
7394 Alternatively, you can also enable the feature by checking
7396 Synchronize with Output
7399 \begin_inset Flex Noun
7402 \begin_layout Plain Layout
7405 Document\SpecialChar menuseparator
7406 Settings\SpecialChar menuseparator
7414 En estos casos \SpecialChar LyX
7415 insertará automáticamente la macro
7416 \begin_inset Flex Code
7419 \begin_layout Plain Layout
7420 Sync\SpecialChar TeX
7426 (para PDF) o el paquete
7427 \begin_inset Flex Code
7430 \begin_layout Plain Layout
7437 Esta opción está fácilmente disponible, además, en la barra de herramientas
7439 \begin_inset Flex Noun
7442 \begin_layout Plain Layout
7451 \begin_layout Standard
7452 Si necesitas una configuración diferente, puedes seleccionar o introducir
7453 una macro personalizada desde el cuadro desplegable bajo
7454 \begin_inset Flex Noun
7457 \begin_layout Plain Layout
7458 Documento\SpecialChar menuseparator
7459 Configuración\SpecialChar menuseparator
7460 Salidas\SpecialChar menuseparator
7461 Sincronizar con salida
7469 \begin_layout Standard
7471 \begin_inset Flex Code
7474 \begin_layout Plain Layout
7482 activa compresión gzip.
7483 Si el visor no lo soporta, sería mejor usar
7484 \begin_inset Flex Code
7487 \begin_layout Plain Layout
7498 \begin_layout Standard
7499 Advirtamos que la inclusión de los paquetes
7500 \begin_inset Flex Code
7503 \begin_layout Plain Layout
7510 \begin_inset Flex Code
7513 \begin_layout Plain Layout
7519 puede tener a veces un impacto no deseado en la tipografía; entonces, si
7520 se usa alguno de dichos paquetes habría que desactivar la sincronización
7521 para la composición final.
7524 \begin_layout Standard
7525 En caso de necesitar otros ajustes más específicos no cubiertos por la configura
7526 ción automática, lee la sección siguiente sobre activación manual.
7527 Si la configuración automática cubre tus necesidades, puedes pasar directamente
7529 \begin_inset CommandInset ref
7531 reference "subsec:Configuración-y-uso-de-visores"
7535 , en la que se describen los pasos necesarios para configurar el visor —necesari
7536 os tanto para configuración automática como manual.
7539 \begin_layout Subsection
7543 \begin_layout Standard
7545 proporciona varios métodos para la búsqueda inversa.
7546 Algunos son parte del programa
7547 \begin_inset Flex Code
7550 \begin_layout Plain Layout
7556 , otros forman parte de paquetes externos.
7557 La elección depende de si la distribución \SpecialChar LaTeX
7558 instalada ya proporciona un
7559 método (los métodos incorporados son bastante nuevos) y si el visor a usar
7560 puede enfrentarse a este.
7561 Describimos a continuación los métodos disponibles.
7564 \begin_layout Subsubsection*
7565 Buscador DVI incorporado vía src-specials (solo DVI)
7568 \begin_layout Standard
7569 Este método proporciona el archivo DVI con la información necesaria para
7570 realizar búsqueda inversa.
7571 Está disponible en \SpecialChar LaTeX
7572 desde hace tiempo (cualquier distribución reciente
7573 lo debe incluir) y es fiable.
7574 Para habilitarlo, cambia el convertidor
7575 \begin_inset Flex Code
7578 \begin_layout Plain Layout
7585 \begin_inset Flex Code
7588 \begin_layout Plain Layout
7589 LaTeX (plain)->DraftDVI
7595 \begin_inset Flex Noun
7598 \begin_layout Plain Layout
7599 Herramientas\SpecialChar menuseparator
7600 Preferencias\SpecialChar menuseparator
7601 Gestión de archivos\SpecialChar menuseparator
7608 \begin_inset Flex Code
7611 \begin_layout Plain Layout
7612 latex -src-specials $$i
7618 Si no funciona, comprueba si tu maquinaria \SpecialChar TeX
7619 necesita opciones diferentes
7620 (la sintaxis podría diferir en algunas distribuciones).
7623 \begin_layout Subsubsection*
7624 Paquetes externos (PDFSync y srcltx)
7627 \begin_layout Standard
7629 \begin_inset Flex Code
7632 \begin_layout Plain Layout
7639 \begin_inset Flex Code
7642 \begin_layout Plain Layout
7648 proporcionan la función búsqueda inversa para PDF (vía pdflatex) y DVI,
7650 Para habilitarlos carga el paquete en el preámbulo \SpecialChar LaTeX
7654 \begin_layout Itemize
7655 \begin_inset Flex Code
7658 \begin_layout Plain Layout
7666 para búsqueda inversa en PDF
7669 \begin_layout Itemize
7670 \begin_inset Flex Code
7673 \begin_layout Plain Layout
7676 usepackage[active]{srcltx}
7681 para búsqueda inversa en DVI
7684 \begin_layout Standard
7685 Para habilitar el uso de ambos inserta las siguientes líneas:
7688 \begin_layout LyX-Code
7692 \begin_inset Newline newline
7698 \begin_inset Newline newline
7704 \begin_inset Newline newline
7710 \begin_inset Newline newline
7715 usepackage[active]{srcltx}
7716 \begin_inset Newline newline
7724 \begin_layout Standard
7725 Así, el archivo se puede ver tanto como DVI como PDF (pdflatex), usando
7726 el paquete adecuado.
7729 \begin_layout Standard
7730 Advirtamos que PDFSync podría afectar el formato de salida del documento.
7731 Por eso es conveniente deshabilitar PDFSync para componer el documento
7735 \begin_layout Subsubsection*
7736 Búsqueda inversa incorporada vía Sync\SpecialChar TeX
7740 \begin_layout Standard
7741 Las recientes versiones de
7742 \begin_inset Flex Code
7745 \begin_layout Plain Layout
7751 incorporan soporte para búsqueda inversa en PDF y DVI.
7752 La instalación llamada
7754 Sync\SpecialChar TeX
7757 es básicamente el resultado de integrar el paquete PDFSync en pdftex y
7758 su fusión con el enfoque
7763 Para usarla hace falta al menos \SpecialChar TeX
7764 Live 2008 o una distribución Mik\SpecialChar TeX
7766 Además, solo unos pocos visores PDF (
7770 Okular y Qpdfview en Unix, Skim en Mac, SumatraPDF en Windows
7772 ; see the next section for details
7774 ) proporcionan por ahora soporte para Sync\SpecialChar TeX
7778 \begin_layout Standard
7779 Para activar Sync\SpecialChar TeX
7780 en DVI, cambia el convertidor
7781 \begin_inset Flex Code
7784 \begin_layout Plain Layout
7785 LaTeX (plain) -> DVI
7791 \begin_inset Flex Code
7794 \begin_layout Plain Layout
7795 LaTeX (plain) -> DraftDVI
7801 \begin_inset Flex Noun
7804 \begin_layout Plain Layout
7805 Herramientas\SpecialChar menuseparator
7806 Preferencias\SpecialChar menuseparator
7807 Gestión de archivos\SpecialChar menuseparator
7814 \begin_inset Flex Code
7817 \begin_layout Plain Layout
7818 latex -synctex=1 $$i
7824 \begin_inset Flex Code
7827 \begin_layout Plain Layout
7828 LaTeX (pdflatex) -> PDF (pdflatex)
7834 \begin_inset Flex Code
7837 \begin_layout Plain Layout
7838 pdflatex -synctex=1 $$i
7846 Should your viewer not be considered in the following description, or in
7847 case of missing success, please
7849 consulta en la documentación de tu visor si necesita ser configurado para
7850 usarlo con Sync\SpecialChar TeX
7855 \begin_layout Plain Layout
7857 \begin_inset Flex Code
7860 \begin_layout Plain Layout
7866 permite compresión gzip.
7867 Si el visor no lo soporta, entonces usa
7868 \begin_inset Flex Code
7871 \begin_layout Plain Layout
7885 \begin_layout Subsection
7886 Configuración y uso de visores específicos
7887 \begin_inset CommandInset label
7889 name "subsec:Configuración-y-uso-de-visores"
7896 \begin_layout Subsubsection*
7897 Xdvi (todas las plataformas)
7900 \begin_layout Standard
7902 \begin_inset Flex Code
7905 \begin_layout Plain Layout
7911 no necesitas hacer nada para utilizar la búsqueda inversa en DVI, ya que
7913 proporciona los ganchos necesarios para usar automáticamente el programa
7915 \begin_inset Flex Code
7918 \begin_layout Plain Layout
7925 Basta con configurar tu documento como se describió antes (la búsqueda
7926 inversa se inicia con Ctrl-clic o Alt-clic en Mac OSX).
7929 \begin_layout Standard
7930 Sin embargo, si por la razón que sea quieres usar la tubería en vez del
7931 zócalo para comunicar con \SpecialChar LyX
7932 , simplemente cambia el visor DVI en
7933 \begin_inset Flex Noun
7936 \begin_layout Plain Layout
7937 Herramientas\SpecialChar menuseparator
7938 Preferencias\SpecialChar menuseparator
7939 Gestión de archivos\SpecialChar menuseparator
7946 \begin_inset Flex Code
7949 \begin_layout Plain Layout
7950 xdvi -editor "lyxeditor.sh %f %l"
7959 \begin_layout Plain Layout
7960 En Mac OSX hay que usar
7961 \begin_inset Flex Code
7964 \begin_layout Plain Layout
7965 DISPLAY=:0.0 xdvi -editor "lyxeditor.sh %f %l"
7976 \begin_inset Flex Code
7979 \begin_layout Plain Layout
7985 es un guión apropiado.
7986 Por ejemplo, un mínimo guión de shell es el siguiente:
7989 \begin_layout LyX-Code
7991 \begin_inset Newline newline
7994 LYXPIPE="/ruta/a/lyxpipe"
7995 \begin_inset Newline newline
7998 COMMAND="LYXCMD:revdvi:server-goto-file-row:$1 $2"
7999 \begin_inset Newline newline
8002 echo "$COMMAND" > "${LYXPIPE}".in || exit
8003 \begin_inset Newline newline
8006 read TMP < "${LYXPIPE}".out || exit
8009 \begin_layout Standard
8011 \begin_inset Flex Code
8014 \begin_layout Plain Layout
8020 es la ruta de la tubería \SpecialChar LyX
8021 Server especificada en
8022 \begin_inset Flex Noun
8025 \begin_layout Plain Layout
8026 Herramientas\SpecialChar menuseparator
8027 Preferencias\SpecialChar menuseparator
8037 \begin_layout Plain Layout
8039 \begin_inset Flex Code
8042 \begin_layout Plain Layout
8048 de una distribución fuente puedes encontrar un guión
8049 \begin_inset Flex Code
8052 \begin_layout Plain Layout
8063 basado en tus preferencias.
8071 \begin_layout Subsubsection*
8075 \begin_layout Standard
8077 \begin_inset Flex Code
8080 \begin_layout Plain Layout
8081 /Applications/MacDviX_Folder/calleditor.script
8089 \begin_layout LyX-Code
8090 /Applications/LyX.app/Contents/MacOS/lyxeditor "$2" $1
8091 \begin_inset Newline newline
8097 \begin_layout Standard
8098 Modifica las líneas si \SpecialChar LyX
8099 está instalado en algún otro lugar distinto de la
8100 carpeta 'Applications'.
8103 \begin_layout Standard
8104 La búsqueda inversa se lanza con Alt-clic (OPCIÓN-clic).
8107 \begin_layout Subsubsection*
8111 \begin_layout Standard
8113 \begin_inset Flex Code
8116 \begin_layout Plain Layout
8117 open -a Skim.app $$i
8122 en la configuración del visor en
8123 \begin_inset Flex Noun
8126 \begin_layout Plain Layout
8127 Herramientas\SpecialChar menuseparator
8128 Preferencias\SpecialChar menuseparator
8129 Gestión de archivos\SpecialChar menuseparator
8136 \begin_inset Flex Code
8139 \begin_layout Plain Layout
8140 Skim\SpecialChar menuseparator
8141 Preferences\SpecialChar menuseparator
8147 selecciona \SpecialChar LyX
8151 \begin_layout Standard
8152 La búsqueda inversa se inicia con COMANDO-MAYÚSCULAS-clic.
8155 \begin_layout Subsubsection*
8159 \begin_layout Standard
8161 \begin_inset Flex Noun
8164 \begin_layout Plain Layout
8165 Configurar\SpecialChar menuseparator
8166 Configurar Okular\SpecialChar menuseparator
8175 \begin_inset Quotes erd
8179 This inserts the appropriate
8184 This inserts the appropriate
8187 \begin_inset Flex Code
8190 \begin_layout Plain Layout
8199 \begin_layout Standard
8200 La búsqueda inversa se inicia con MAYÚSCULAS-clic.
8203 \begin_layout Subsubsection*
8207 \begin_layout Standard
8208 Qpdfview soporta Sync\SpecialChar TeX
8209 desde la versión 0.3.5.
8211 \begin_inset Flex Noun
8214 \begin_layout Plain Layout
8215 Editar\SpecialChar menuseparator
8216 Configuración\SpecialChar menuseparator
8222 , clic en el campo de entrada del
8223 \begin_inset Quotes eld
8227 \begin_inset Quotes erd
8231 \begin_inset Flex Code
8234 \begin_layout Plain Layout
8243 \begin_layout Standard
8244 La búsqueda inversa se lanza con doble clic.
8247 \begin_layout Subsubsection*
8251 \begin_layout Standard
8252 En yap, en el menú Ver Opciones marca
8253 \begin_inset Quotes cld
8256 Búsqueda inversa DVI
8257 \begin_inset Quotes crd
8262 \begin_inset Quotes cld
8266 \begin_inset Quotes crd
8270 \begin_inset Quotes cld
8275 \begin_inset Quotes crd
8279 \begin_inset Quotes cld
8283 \begin_inset Quotes crd
8288 \begin_inset Quotes cld
8292 \begin_inset Quotes crd
8296 \begin_inset Flex Code
8299 \begin_layout Plain Layout
8307 \begin_inset Flex Code
8310 \begin_layout Plain Layout
8316 , con los argumentos %f %l.
8319 \begin_layout LyX-Code
8321 \begin_inset Newline newline
8324 echo LYXCMD:revdvi:server-goto-file-row:%1 %2>
8333 \begin_inset Newline newline
8347 \begin_layout Standard
8348 Se lanza con doble clic.
8351 \begin_layout Subsubsection*
8352 SumatraPDF (Windows)
8355 \begin_layout Standard
8358 SumatraPDF -inverse-search "lyxeditor.bat %f %l"
8365 \begin_inset Flex Noun
8368 \begin_layout Plain Layout
8369 Herramientas\SpecialChar menuseparator
8370 Preferencias\SpecialChar menuseparator
8371 Gestión de archivos\SpecialChar menuseparator
8379 lyxeditor.bat es el anterior.
8382 no está en la ruta de comandos usa su nombre completo.
8385 \begin_layout Standard
8386 Se inicia con doble clic.
8389 \begin_layout Subsubsection*
8393 \begin_layout Standard
8394 Si yap es el visor por defecto en Windows, ejecuta y elige
8399 \begin_inset Quotes cld
8402 Búsqueda inversa DVI
8403 \begin_inset Quotes crd
8408 \begin_inset Quotes cld
8412 \begin_inset Quotes crd
8416 \begin_inset Quotes cld
8421 \begin_inset Quotes crd
8425 \begin_inset Quotes cld
8429 \begin_inset Quotes crd
8434 \begin_inset Quotes cld
8438 \begin_inset Quotes crd
8441 y navega hasta el directorio del ejecutable
8446 Especifica los argumentos -g %f %l.
8447 Así, se usará el zócalo
8451 para comunicar con \SpecialChar LyX
8457 omite -g y escribe la tubería \SpecialChar LyX
8458 Server en las preferencias de \SpecialChar LyX
8462 \begin_layout Standard
8463 Se lanza con doble clic.
8466 \begin_layout Subsubsection*
8470 \begin_layout Standard
8472 \begin_inset Flex Noun
8475 \begin_layout Plain Layout
8476 Herramientas\SpecialChar menuseparator
8477 Preferencias\SpecialChar menuseparator
8478 Gestión de archivos\SpecialChar menuseparator
8485 \begin_inset Flex Code
8488 \begin_layout Plain Layout
8489 SumatraPDF -inverse-search "lyxeditor -g %f %l"
8494 en la configuración del visor.
8495 Si SumatraPDF.exe no está en la ruta de comandos usa su ruta posix completa
8497 La -g habilita comunicación vía
8506 , y verifica la ruta de \SpecialChar LyX
8507 Server en las preferencias de \SpecialChar LyX
8511 \begin_layout Standard
8512 Se inicia con doble clic.
8515 \begin_layout Section
8519 \begin_layout Standard
8520 La búsqueda directa, como su nombre indica, es en cierto sentido lo
8521 \begin_inset Quotes cld
8525 \begin_inset Quotes crd
8529 Permite saltar a una posición determinada del documento en el visor desde
8530 dentro de \SpecialChar LyX
8532 Si la búsqueda directa está habilitada (como se describe a continuación),
8533 puedes poner el cursor en cualquier punto del documento en \SpecialChar LyX
8537 Navegar\SpecialChar menuseparator
8544 en el menú contextual mediante clic derecho), en el visor se mostrará esa
8546 Esto implica, por supuesto, que el visor soporte esta función.
8549 \begin_layout Standard
8550 Para posibilitar la búsqueda directa hay que proporcionar al archivo DVI/PDF
8551 de salida información adicional sobre el código \SpecialChar TeX
8553 Se puede hacer mediante los métodos descritos en la sección
8554 \begin_inset CommandInset ref
8556 reference "subsec:Activación-automática"
8563 \begin_layout Standard
8564 Adicionalmente, hay que configurar \SpecialChar LyX
8565 para usar los visores en
8566 \begin_inset Flex Noun
8569 \begin_layout Plain Layout
8570 Herramientas\SpecialChar menuseparator
8571 Preferencias\SpecialChar menuseparator
8572 Salidas\SpecialChar menuseparator
8579 Proporcionamos un conjunto de configuraciones comprobadas para algunos
8580 visores, que pueden seleccionarse en la lista desplegable.
8581 Si ninguna de estas configuraciones te satisface, tienes que introducir
8582 a mano una configuración adecuada.
8583 La sintaxis de las definiciones usa los siguientes marcadores:
8586 \begin_layout Itemize
8588 \begin_inset Flex Code
8591 \begin_layout Plain Layout
8600 \begin_layout Itemize
8602 \begin_inset Flex Code
8605 \begin_layout Plain Layout
8611 : nombre del archivo .tex exportado (temporal)
8614 \begin_layout Itemize
8616 \begin_inset Flex Code
8619 \begin_layout Plain Layout
8625 : nombre del archivo de salida exportado (dvi o pdf, según el que exista
8626 en el directorio temporal)
8629 \begin_layout Standard
8630 Solo algunos visores permiten completamente la búsqueda directa, entre ellos
8637 \begin_layout Plain Layout
8640 You might want to set
8641 \begin_inset Flex Code
8644 \begin_layout Plain Layout
8655 \begin_inset Flex Noun
8658 \begin_layout Plain Layout
8661 Tools\SpecialChar menuseparator
8662 Preferences\SpecialChar menuseparator
8663 File Handling\SpecialChar menuseparator
8665 \begin_inset space ~
8680 , qpdfview y SumatraPDF
8686 \begin_layout Plain Layout
8689 SumatraPDF can also use DDE commands through the external program CMCDDE
8691 \begin_inset CommandInset href
8693 target "http://www.istri.fr/spip/zip/CMCDDE.zip"
8706 Aunque algunos de los visores PDF más conocidos (como Adobe Reader) no
8707 soportan búsqueda directa, otros (como evince y pdf) permiten al menos
8708 recargar el documento y mostrar una página determinada, por lo que al menos
8709 permiten una navegación
8710 \begin_inset Quotes cld
8714 \begin_inset Quotes crd
8718 Esta última funcionalidad es facilitada mediante una llamada externa a
8719 synctex (consulta los ejemplos predefinidos en Preferencias).
8723 \begin_layout Standard
8724 La búsqueda directa funciona con DVI y PDF.
8726 comprueba qué formato de vista preliminar has usado antes (o sea, el que
8727 ya está en el directorio temporal) y elige dinámicamente la configuración
8728 adecuada para el formato en cuestión.
8731 \begin_layout Chapter
8732 Clases especiales de documentos
8735 \begin_layout Section
8739 \begin_layout Standard
8745 \begin_layout Subsection
8749 \begin_layout Standard
8750 Esta sección describe el uso de \SpecialChar LyX
8751 para escribir artículos destinados a la
8754 Astronomy and Astrophysics
8757 \begin_inset Flex URL
8760 \begin_layout Plain Layout
8762 https://www.aanda.org/
8767 ), usando la versión
8768 \begin_inset space ~
8771 5.01 de la clase de documento
8776 Este paquete se puede descargar del sitio ftp
8779 \begin_layout Standard
8780 \begin_inset VSpace medskip
8786 \begin_layout Standard
8788 \begin_inset Flex URL
8791 \begin_layout Plain Layout
8793 ftp://ftp.edpsciences.org/pub/aa/readme.html
8801 \begin_layout Standard
8802 \begin_inset VSpace medskip
8808 \begin_layout Standard
8809 El paquete contiene un manual, y este texto no aspira a reemplazar al original,
8810 se trata solo de una breve guía de uso.
8813 \begin_layout Standard
8814 Ten en cuenta que el editor de la revista ha cambiado de
8822 desde 1 de enero de 2001.
8823 Este cambio implica ligeros cambios en los archivos de estilo, a saber,
8824 la eliminación del comando
8829 La clase \SpecialChar LyX
8834 soporta las versiones más nuevas de estos archivos de estilo, V 5.01.
8835 Si tienes instalada una versión más antigua, actualízala, por favor.
8836 Por compatibilidad, el antiguo formato (versión 4) se ha mantenido como
8842 Puedes acudir a los comentarios en el archivo
8845 Dir/layouts/aapaper.layout
8850 \begin_layout Subsection
8854 \begin_layout Standard
8855 Se recomienda empezar con el modelo de ejemplo suministrado con \SpecialChar LyX
8857 Si no es así, observa los siguientes aspectos:
8860 \begin_layout Itemize
8867 Documento\SpecialChar menuseparator
8870 (vale, esto era obvio).
8873 \begin_layout Itemize
8874 No cambies la opción
8877 \begin_inset space ~
8881 \begin_inset space ~
8891 Todo el formato está hecho por macros y no deberías cambiar nada.
8894 \begin_layout Subsection
8895 El bloque del encabezado
8898 \begin_layout Standard
8899 Lo primero que hay que introducir es la información del encabezado.
8900 Consta de siete entradas, de las que algunas son opcionales.
8904 \begin_layout Itemize
8912 \begin_layout Itemize
8920 \begin_layout Itemize
8928 \begin_layout Itemize
8936 \begin_layout Itemize
8937 Separatas: (opcional) si hay más de un autor: a quien dirigirse.
8940 \begin_layout Itemize
8941 Correo: (opcional) dirección de contacto.
8944 \begin_layout Itemize
8950 El formato sugerido es
8952 Recibido: <fecha>; Aceptado <fecha>
8955 \begin_layout Standard
8956 No es necesario poner el comando
8963 lo hace automáticamente cuando se termina el encabezado.
8964 Aunque el orden de las entradas del encabezado no importa, es conveniente
8965 mantener la secuencia de arriba, solo por conseguir un mejor aspecto y
8966 respetar el formato del documento real.
8969 \begin_layout Standard
8970 Si quieres poner notas al pie en el encabezado, p.
8971 \begin_inset space \thinspace{}
8975 \begin_inset space ~
8978 para consignar tu actual dirección, usa la nota al pie estándar con
8980 Insertar\SpecialChar menuseparator
8982 \begin_inset space ~
8986 \begin_inset space ~
8994 \begin_inset Quotes cld
8998 \begin_inset Quotes crd
9010 \begin_layout Standard
9015 Edit\SpecialChar menuseparator
9018 , you'll find two insets which are relevant for the titling:
9021 \begin_layout Itemize
9029 to mark corresponding author\SpecialChar breakableslash
9031 The institutes are numbered sequentially as they appear in the
9035 field, so you have to put a marker to each author.
9038 \begin_layout Itemize
9044 to supply an email address for fast contact.
9047 \begin_layout Standard
9048 Además, las macros emplean one comando \SpecialChar LaTeX
9049 adicionalque no tien contrapartida
9054 \begin_layout Itemize
9061 para separar nombres diferentes de más de un autor e instituto, respectivamente.
9064 \begin_layout Standard
9065 El comando apropiado ha de introducirse en \SpecialChar LyX
9066 marcado como código \SpecialChar LaTeX
9068 Véanse los ejemplos.
9072 \begin_layout Subsection
9076 \begin_layout Standard
9077 El resumen debería ir a continuación del encabezado.
9078 Con la versión 5 el resumen cambió de entorno a comando, y ahora hay una
9079 restricción a un único párrafo.
9080 Además, debería contener una entrada con las claves.
9083 done via the paragraph style
9093 \begin_layout Subsection
9097 \begin_layout Standard
9098 El formato A&A soporta los entornos siguientes para estructurar el texto:
9101 \begin_layout Itemize
9107 \begin_layout Itemize
9113 \begin_layout Itemize
9119 \begin_layout Itemize
9125 \begin_layout Itemize
9131 \begin_layout Itemize
9137 \begin_layout Itemize
9143 \begin_layout Itemize
9149 \begin_layout Itemize
9155 \begin_layout Itemize
9161 \begin_layout Itemize
9167 \begin_layout Itemize
9174 \begin_layout Subsection
9175 Comandos no soportados por \SpecialChar LyX
9179 \begin_layout Standard
9180 Algunos comandos aún no son soportados por el formato
9185 Algunos se han mencionado ya.
9190 Pero aquí están todos juntos:
9193 \begin_layout Itemize
9201 \begin_layout Itemize
9209 \begin_layout Itemize
9217 \begin_layout Itemize
9225 \begin_layout Standard
9226 Si quieres usar alguno de ellos tienes que introducirlos a mano, y
9228 ¡no olvides marcarlos en código \SpecialChar LaTeX
9232 \begin_layout Subsection
9233 Figuras y cuadros flotantes
9236 \begin_layout Standard
9238 proporciona soporte para poner figuras y cuadros flotantes, por tanto no
9239 queremos decir mucho más sobre ello.
9245 Solo recordaremos que los cuadros deben alinearse a la izquierda.
9246 Para eso selecciona el cuadro y cambia la alineación en
9248 Editar\SpecialChar menuseparator
9250 \begin_inset space ~
9254 \begin_inset space ~
9260 \begin_layout Standard
9261 Hay un apunte particular: las figuras que deben llevar el título del encabezado
9263 Para insertar estas figuras has de hacer lo siguiente:
9266 \begin_layout Enumerate
9267 Crea un flotante de figura ancha:
9273 Insertar\SpecialChar menuseparator
9274 Flotante\SpecialChar menuseparator
9277 , después haz clic derecho en la figura y selecciona
9280 \begin_inset space ~
9288 \begin_layout Enumerate
9289 Introduce el texto del encabezado.
9292 \begin_layout Enumerate
9297 para mover el cursor sobre el encabezado.
9300 \begin_layout Enumerate
9304 \begin_layout Enumerate
9305 Coloca el cursor tras la figura e inserta un relleno horizontal:
9307 Insertar\SpecialChar menuseparator
9309 \begin_inset space ~
9312 especial\SpecialChar menuseparator
9314 \begin_inset space ~
9322 \begin_layout Enumerate
9323 Cambia a modo \SpecialChar LaTeX
9331 \begin_layout Enumerate
9341 ¡No cierres la llave!
9344 \begin_layout Enumerate
9345 Coloca el cursor tras el texto del encabezado, cambia a modo \SpecialChar LaTeX
9356 \begin_layout Standard
9357 Además, consulta el ejemplo de
9364 \begin_layout Subsection
9368 \begin_layout Standard
9369 Antes de remitir el artículo a los editores hay que darle un formato especial
9371 Para eso hay que pasar la opción
9375 a la clase de documento
9377 This must be done using the custom class options field in the
9379 Document\SpecialChar menuseparator
9383 Just enter the string
9390 \begin_layout Subsection
9394 \begin_layout Standard
9399 contiene un ejemplo del formato
9403 escrito con \SpecialChar LyX
9405 Es el ejemplo del paquete de macros original, traducido a \SpecialChar LyX
9407 Puede servirte de inspiración, y para comparar el código \SpecialChar LaTeX
9409 el generado por \SpecialChar LyX
9413 \begin_layout Section
9418 \begin_layout Standard
9424 \begin_layout Subsection
9428 \begin_layout Standard
9430 es un conjunto de macros producidas por la
9432 American Astronomical Society
9434 para facilitar la remisión de manuscritos electrónicos a las tres revistas
9437 Astrophysical Journal
9439 (incluyendo Cartas y Suplemento),
9441 Astronomical Journal
9445 Publications of the Astronomical Society of the Pacific
9449 ha demostrado ser una herramienta excelente para generar estos documentos,
9450 especialmente por su capacidad para el manejo de ecuaciones, citas y figuras.
9452 requiere la versión 5.0 (o superior) de estas macros; preferiblemente 6.0,
9453 que es la versión aquí explicada, o mayor.
9454 Las versiones anteriores a 5.0 están pensadas para usar con \SpecialChar LaTeX
9455 2.09 y son básicament
9456 e incompatibles con \SpecialChar LyX
9458 El paquete AAS\SpecialChar TeX
9459 se puede obtener del sitio web de AAS\SpecialChar TeX
9463 \begin_layout Standard
9464 \begin_inset VSpace medskip
9470 \begin_layout Standard
9472 \begin_inset Flex URL
9475 \begin_layout Plain Layout
9477 https://aas.org/aastex/aastex-downloads
9485 \begin_layout Standard
9486 \begin_inset VSpace medskip
9492 \begin_layout Standard
9493 Contiene una completa guía del usuario con la que deberías familiarizarte
9494 antes de embarcarte en la escritura de estos documentos en \SpecialChar LyX
9497 no reduce la necesidad de comprender todos los comandos AAS\SpecialChar TeX
9499 la tediosa faena de teclearlo todo.
9500 Es de tu incumbencia comprobar que el documento final exportado a \SpecialChar LaTeX
9502 ente conforme con los requerimientos de la revista a la que se remite.
9505 \begin_layout Subsection
9506 Empezar un artículo nuevo
9509 \begin_layout Standard
9510 Recomiendo encarecidamente que comiences con el archivo de plantilla modelo
9511 de AAS\SpecialChar TeX
9515 Archivo\SpecialChar menuseparator
9517 \begin_inset space ~
9521 \begin_inset space ~
9526 , introduce el nombre del nuevo archivo, y luego escoge el archivo
9531 Este contempla los campos más habituales presentes en un manuscrito.
9532 Simplemente tienes que sustituir el texto existente (incluyendo las abrazaderas
9537 ) con el texto personal.
9538 Muchos de los comandos y entornos AAS\SpecialChar TeX
9539 se pueden implementar directamente
9542 Comandos como estos deben introducirse directamente en código \SpecialChar TeX
9549 He intentado reducir la cantidad de código \SpecialChar TeX
9550 necesario en documentos AAS\SpecialChar TeX
9554 \begin_layout Subsection
9555 Finalizar el artículo
9558 \begin_layout Standard
9559 Cuando has acabado satisfactoriamente el artículo, y se puede ver/imprimir
9560 correctamente, quedan pendientes algunas acciones de
9561 \begin_inset Quotes cld
9565 \begin_inset Quotes crd
9568 antes de remitir el trabajo.
9571 \begin_layout Enumerate
9572 Exporta el documento a archivo \SpecialChar LaTeX
9575 Archivo\SpecialChar menuseparator
9576 Exportar\SpecialChar menuseparator
9587 \begin_layout Enumerate
9588 Edita el archivo resultante
9592 con tu editor de textos favorito.
9596 \begin_layout Enumerate
9597 quita las líneas de comentario antes del comando
9604 \begin_layout Enumerate
9609 usepackage...{fontenc}
9611 si está (generalmente justo detrás de
9617 }; quita también la línea
9626 \begin_layout Enumerate
9627 quita todo entre los comandos
9639 , ambos incluidos, excepto comandos que hayas puesto específicamente en
9640 el preámbulo (que deberían aparecer inmediatamente después del comentario
9642 \begin_inset Quotes cld
9645 User specified \SpecialChar LaTeX
9647 \begin_inset Quotes crd
9658 \begin_layout Enumerate
9659 Ejecuta el archivo resultante con \SpecialChar LaTeX
9660 para asegurar que se procesa correctamente.
9663 \begin_layout Enumerate
9664 Relee los requerimientos del editor para comprobar que los nombres de los
9665 archivos y los formatos son correctos.
9668 \begin_layout Enumerate
9672 \begin_layout Subsection
9673 Comentarios sobre comandos específicos
9676 \begin_layout Standard
9677 No voy a describir el empleo detallado de los comandos individuales de AAS\SpecialChar TeX
9679 la Guía del Usuario de AAS\SpecialChar TeX
9684 ) da una buena descripción de ellos.
9685 Así que lo más fácil para mí es dar la lista tal como aparece en la guía
9686 y hacer comentarios donde proceda.
9687 Comencemos\SpecialChar ldots
9691 \begin_layout Subsubsection
9692 Cosas que funcionan como es de esperar
9695 \begin_layout Standard
9696 Puesto que funcionan como es de esperar, solo las enumero con la sección
9697 donde se encuentran:
9797 begin{thebibliography}
9805 (2.13.2), todos los comandos de citas y sus variantes (2.13.2), los comandos
9806 genéricos de figuras,
9834 (2.15.4, entre otros sitios),
9861 \begin_layout Standard
9862 Las siguientes opciones de estilo también funcionan:
9883 Simplemente pónlos en el cuadro de
9891 \SpecialChar menuseparator
9899 \begin_layout Subsubsection
9900 Cosas que funcionan, pero\SpecialChar ldots
9904 \begin_layout Standard
9905 Las siguientes opciones funcionan, pero requieren algunas aclaraciones:
9908 \begin_layout Itemize
9909 Las siguientes se reservan para los editores, pero puedes ponerlas en el
9910 preámbulo \SpecialChar LaTeX
9944 \begin_layout Itemize
9945 Estas opciones se pueden situar en el preámbulo \SpecialChar LaTeX
9946 , y se incluyen en blanco
9968 \begin_layout Itemize
9975 (2.3) solo se puede poner separado, no en mitad de un párrafo.
9976 Usa código \SpecialChar TeX
9977 si necesitas empotrarlo.
9980 \begin_layout Itemize
9987 (2.3) tendrá {} extra tras él.
9988 Esto no debería producir error.
9991 \begin_layout Itemize
9998 (2.6) solo se puede poner separado, no en mitad de un párrafo.
9999 Usa código \SpecialChar TeX
10000 si necesitas empotrarlo.
10003 \begin_layout Itemize
10010 (2.8) no puede insertar etiquetas de referencias cruzadas, hay que introducirlo
10014 \begin_layout Itemize
10021 (2.8) igual que para
10028 \begin_layout Itemize
10035 (2.9) tendrá {} extra tras él.
10036 Esto no debería producir error.
10039 \begin_layout Itemize
10046 (2.11) tendrá {} extra tras él.
10047 Esto no debería producir error.
10050 \begin_layout Itemize
10057 (2.14.2) puedes insertar un argumento de nombre opcional situando el cursor
10058 al inicio del texto y seleccionando
10060 Insertar\SpecialChar menuseparator
10065 \begin_inset Quotes cld
10069 \begin_inset Quotes crd
10072 inserta un argumento opcional del tipo necesitado por
10079 Debería ser renombrado algún día.
10083 \begin_layout Itemize
10090 (2.17.1) lo mismo que en
10096 para el parámetro opcional de catálogo ID.
10099 \begin_layout Itemize
10106 (2.17.1) lo mismo que en
10112 para el parámetro opcional de catálogo ID.
10115 \begin_layout Subsubsection
10116 Cosas no implementadas, código \SpecialChar TeX
10120 \begin_layout Standard
10131 setcounter{equation}
10133 (2.12), Journal abreviaciones (2.13.4),
10169 (2.15.4, insertar como primer elemento en la celda izquierda y después donde
10171 No uses ninguna regla de \SpecialChar LyX
10184 (2.15.5), mucho de Misc (2.17, excepto
10235 \begin_layout Subsubsection
10236 Cosas que no pueden implementarse
10239 \begin_layout Standard
10241 al menos de forma significativa, así que sugiero ignorarlas.
10251 Si de verdad necesitas usar
10255 , sugiero editar un archivo aparte con un editor de textos, y luego incluirlo
10256 en el documento \SpecialChar LyX
10259 Insertar\SpecialChar menuseparator
10263 \begin_inset space ~
10278 \begin_layout Subsection
10279 FAQs, consejos, trucos, y otras reflexiones
10282 \begin_layout Subsubsection
10283 Conseguir que \SpecialChar LyX
10284 y AAS\SpecialChar TeX
10288 \begin_layout Standard
10289 Puede ser un poco complicado hacer que \SpecialChar LyX
10290 reconozca un nuevo formato y una
10292 Si todo lo demás falla, haz lo siguiente:
10295 \begin_layout Enumerate
10296 Comprueba que \SpecialChar LaTeX
10297 encuentra a AAS\SpecialChar TeX
10307 ) de la distribución de AAS\SpecialChar TeX
10308 en un directorio totalmente independiente de
10314 AAS\SpecialChar TeX
10315 y ejecuta \SpecialChar LaTeX
10323 \begin_layout Enumerate
10330 /usr/.../share/lyx/layouts
10339 \begin_layout Enumerate
10342 Herramientas\SpecialChar menuseparator
10345 en \SpecialChar LyX
10346 , y reinicia \SpecialChar LyX
10350 \begin_layout Enumerate
10351 Abre un archivo nuevo normal, no desde plantilla.
10352 ¿Aparece AAS\SpecialChar TeX
10353 en la lista desplegable de clases en
10355 Documento\SpecialChar menuseparator
10361 \begin_layout Standard
10362 Si al abrir un documento AAS\SpecialChar TeX
10363 recibes un aviso de que no se encuentra la
10364 clase AAS\SpecialChar TeX
10365 , o un mensaje como
10366 \begin_inset Quotes cld
10369 You should not mix title layouts with normal ones
10370 \begin_inset Quotes crd
10373 , la instalación no ha sido correcta.
10376 \begin_layout Subsubsection
10377 Error de \SpecialChar LaTeX
10378 al procesar un cuadro
10381 \begin_layout Standard
10383 , por omisión, intenta centrar el encabezado/título del cuadro.
10384 Esto parece ocasionar una mala interacción con AAS\SpecialChar TeX
10385 ; entonces debes hacer
10386 clic en algún sitio del encabezado/título, después abrir la
10391 \begin_inset space ~
10399 \begin_inset space ~
10415 En mi caso, esto ha resuelto el problema.
10418 \begin_layout Subsubsection
10422 \begin_layout Standard
10423 Un par de cosas: 1) He observado algunos espacios raros en las entradas
10424 de la bibliografía.
10425 Cuando introduzcas los datos de los ítems de la bibliografía, cuida que
10430 haya espacio entre el último autor y el paréntesis que contiene el año;
10432 \begin_inset space \thinspace{}
10444 2) Introducir las referencias no es nada obvio.
10445 La cosa más fácil es empezar escribiendo tu primera cita al final del documento
10446 , y después marcarla como
10451 Esto pondrá un pequeño recuadro gris delante de lo recién escrito.
10452 Clic en el recuadro para rellenar el resto de la información.
10453 Para nuevas referencias, ve al final de una referencia existente y pulsa
10459 Esto creará una línea nueva con su propio recuadro, etc.
10462 \begin_layout Subsubsection
10463 Incluir archivos EPS
10466 \begin_layout Standard
10467 Aunque AAS\SpecialChar TeX
10468 provee sus propios comandos de gráficos (
10474 , por ejemplo), prefiero los comandos estándar de \SpecialChar LaTeX
10475 (con el predeterminado
10481 Puedes insertar los comandos
10488 \begin_inset space ~
10491 como código \SpecialChar TeX
10492 en una Figura Flotante si lo deseas, pero yo nunca he tenido
10493 la suerte de conseguir un formato correcto.
10494 Con los gráficos estándar, \SpecialChar LyX
10499 usepackage{graphicx}
10501 en el preámbulo \SpecialChar LaTeX
10502 y maneja las figuras de la manera habitual en \SpecialChar LaTeX2e
10504 las figuras en el texto.
10505 Recuerdo que ApJ acepta ahora figuras exactamente de esta forma; AJ podría
10506 usar todavía la técnica
10507 \begin_inset Quotes cld
10510 apilar todo al final
10511 \begin_inset Quotes crd
10517 \begin_layout Subsubsection
10518 Cosas que podría haber hecho, y no he hecho
10521 \begin_layout Standard
10522 Podría haber implementado unas pocas cosas
10523 \begin_inset Quotes cld
10527 \begin_inset Quotes crd
10530 , pero decidí no hacerlo.
10531 Por ejemplo, no veía la utilidad en presentar doble espacio entre líneas
10532 en la ventana de \SpecialChar LyX
10533 , aunque lo tenga en la salida impresa.
10534 También decidí no hacer formatos separados para los estilos
10543 Como supongo que pasas la mayor parte del tiempo en el modo manuscrito
10544 simple, he preferido no comer más espacio de disco con esto.
10548 \begin_layout Subsection
10552 \begin_layout Standard
10553 Tu recorrido puede variar.
10554 He escrito artículos publicados por ApJ y AJ en los que el 98
10555 \begin_inset space \thinspace{}
10558 % de la tarea ha corrido a cuenta de \SpecialChar LyX
10560 \begin_inset space \thinspace{}
10563 % restante ha correspondido a postprocesamiento con \SpecialChar LaTeX
10564 y un poco de limpieza
10566 No he tenido problemas con el procedimiento de envío, y estoy seguro de
10567 que los editores no notaron diferencias.
10568 Así pues, ¡adelante, a publicar!
10571 \begin_layout Section
10572 AMS \SpecialChar LaTeX
10576 \begin_layout Standard
10586 \begin_layout Standard
10587 \begin_inset VSpace bigskip
10593 \begin_layout Standard
10595 Los formatos AMS \SpecialChar LaTeX
10596 están configurados para adaptarse a los estilos recomendados
10599 American Mathematical Society
10601 para sus publicaciones.
10602 Estos formatos no están definidos para una revista en particular, pero
10603 se pueden adaptar fácilmente.
10604 En la documentación de AMS (disponible en
10605 \begin_inset Flex URL
10608 \begin_layout Plain Layout
10616 \begin_inset Flex URL
10619 \begin_layout Plain Layout
10621 ftp://ftp.ams.org/pub/tex/amslatex/
10626 ) encontrarás instrucciones específicas para cada publicación (generalmente
10627 será cuestión de cambiar una simple línea).
10628 Estos formatos son apropiados, y útiles, para cualquier escrito de matemáticas.
10631 \begin_layout Standard
10633 Hay dos formatos básicos AMS \SpecialChar LaTeX
10637 \begin_layout Itemize
10638 amsart: formato estándar de artículo AMS
10641 \begin_layout Itemize
10642 amsbook: formato estándar de libro AMS (en realidad, monografía)
10645 \begin_layout Standard
10646 Los formatos por sí mismos solo contienen el mínimo necesario para usar
10648 En particular, no contienen ninguno de los entornos 'teorema' utilizados
10649 para establecer teoremas, lemas y demás.
10650 Estos se encuentran, en cambio, en el módulo
10651 \begin_inset Flex Code
10654 \begin_layout Plain Layout
10660 , que se carga por omisión cuando seleccionas una de las clases AMS.
10661 (Además se puede usar con otras clases y se puede quitar, si prefieres
10663 Hay entornos menos utilizados en el módulo
10664 \begin_inset Flex Code
10667 \begin_layout Plain Layout
10668 Teoremas (AMS-Extendido)
10673 , que se debe cargar a mano.
10676 \begin_layout Standard
10677 Por omisión, los teoremas y demás se numeran consecutivamente a lo largo
10678 del documento, pero esto se puede modificar cargando el módulo
10679 \begin_inset Flex Code
10682 \begin_layout Plain Layout
10683 Teoremas (por secciones)
10689 \begin_inset Flex Code
10692 \begin_layout Plain Layout
10699 \begin_inset Flex Code
10702 \begin_layout Plain Layout
10703 Teoremas (por capítulos)
10709 Estos numerarán los resultados como
10710 \begin_inset Formula $n.m$
10713 , donde el primer número se refiere a la sección (o capítulo) y el segundo
10714 al número total de resultados hasta ese momento en la sección (o capítulo).
10715 Muchos entornos también están disponibles sin numeración.
10716 Estos se indican mediante un asterisco al final.
10717 Si es el caso que quieres
10721 resultados sin numerar, el módulo
10722 \begin_inset Flex Code
10725 \begin_layout Plain Layout
10726 Teoremas (asterisco)
10731 proporciona esta opción.
10734 \begin_layout Standard
10735 Hay que tener en cuenta que estos módulos no
10739 utilizarse con las clases AMS.
10740 Es perfectamente posible usar el módulo
10741 \begin_inset Flex Code
10744 \begin_layout Plain Layout
10750 y los otros mencionados con otras clases, como
10751 \begin_inset Flex Code
10754 \begin_layout Plain Layout
10761 \begin_inset Flex Code
10764 \begin_layout Plain Layout
10771 \begin_inset Flex Code
10774 \begin_layout Plain Layout
10783 \begin_layout Subsection
10784 Qué proporcionan estos formatos
10787 \begin_layout Standard
10788 Estos formatos proporcionan una larga lista de entornos incluidos.
10789 En AMS-\SpecialChar LaTeX
10790 se puede definir, de hecho, una variedad ilimitada de entornos
10792 Sin embargo AMS recomienda utilizar los entornos que están disponibles
10793 en \SpecialChar LyX
10798 \begin_layout Standard
10799 Los siguientes entornos —así como los entornos estándar como
10800 \begin_inset Flex Noun
10803 \begin_layout Plain Layout
10810 \begin_inset Flex Noun
10813 \begin_layout Plain Layout
10820 \begin_inset Flex Noun
10823 \begin_layout Plain Layout
10830 \begin_inset Flex Noun
10833 \begin_layout Plain Layout
10840 \begin_inset Flex Noun
10843 \begin_layout Plain Layout
10849 — son suministrados por
10850 \begin_inset Flex Code
10853 \begin_layout Plain Layout
10860 \begin_inset Flex Code
10863 \begin_layout Plain Layout
10872 \begin_layout Description
10873 Dirección Esto debería ser la dirección permanente del autor.
10876 \begin_layout Description
10878 \begin_inset space ~
10881 actual Debería ser la dirección provisional del autor en el momento de la
10882 presentación, si es diferente de la Dirección.
10885 \begin_layout Description
10887 \begin_inset space ~
10890 electrónico Dirección de correo electrónico del autor.
10893 \begin_layout Description
10894 URL Dirección de la página web del autor, si se quiere.
10897 \begin_layout Description
10898 Claves Palabras o frases claves usadas para identificar temas específicos
10899 tratados en el artículo.
10902 \begin_layout Description
10903 ClaseTema Se refiere a la Clasificación de temas de AMS, publicada y descrita
10906 Mathematical Reviews
10909 También están disponibles en línea en los sitios AMS citados arriba.
10912 \begin_layout Description
10916 \begin_layout Description
10920 \begin_layout Description
10924 \begin_layout Standard
10925 Los siguientes entornos son suministrados por ambos módulos
10926 \begin_inset Flex Code
10929 \begin_layout Plain Layout
10936 \begin_inset Flex Code
10939 \begin_layout Plain Layout
10945 , en el segundo caso en ambas versiones no numerada (asterisco) y numerada
10947 Estos mismos entornos son suministrados solo en la versión con asterisco
10949 \begin_inset Flex Code
10952 \begin_layout Plain Layout
10953 Teoremas (asterisco)
10961 \begin_layout Theorem
10962 Se usa típicamente para declaraciones fundamentales.
10965 \begin_layout Corollary*
10966 Se usa para declaraciones que se siguen justa y directamente de declaraciones
10968 De nuevo, pueden ser resultados fundamentales.
10972 \begin_layout Lemma
10973 Resultados de menor importancia necesarios para probar otras declaraciones.
10976 \begin_layout Proposition
10977 Son resultados menos importantes que (es de esperar) se añaden a la teoría
10978 general en discusión.
10981 \begin_layout Conjecture
10982 Son afirmaciones propuestas sin justificación, que el autor no sabe como
10983 probar, pero que parecen ser ciertas (al menos para el autor).
10986 \begin_layout Definition*
10987 Adivina para qué es esto.
10988 La letra es distinta en este entorno que en los anteriores.
10991 \begin_layout Example*
10992 Se usa para ejemplos que ilustran resultados probados.
10995 \begin_layout Problem
10996 Realmente no se sabe para qué es esto.
11000 \begin_layout Exercise*
11001 Escribe una descripción para esto.
11004 \begin_layout Remark
11005 Este entorno es también un tipo de teorema, generalmente un tipo menor de
11009 \begin_layout Claim*
11010 Usada a menudo en el curso de una demostración de un resultado más amplio.
11014 Generalmente se usan para interrumpir argumentos largos, usando casos específico
11015 s de alguna condición.
11019 El esquema de numeración de casos es propio, independiente de otras declaracione
11023 \begin_layout Proof
11024 Al final de este entorno se coloca un símbolo QED (generalmente un cuadrado,
11025 aunque puede variar con estilos diferentes).
11026 Si quieres tener otros entornos dentro de este —por ejemplo, un entorno
11027 Caso— y quieres que el símbolo QED aparezca solo tras ellos, entonces los
11028 demás entornos tienen que anidarse dentro del entorno demostración.
11031 Anidación de entornos
11037 para información sobre anidación.
11040 \begin_layout Standard
11041 Y estos son los entornos suministrados por
11042 \begin_inset Flex Code
11045 \begin_layout Plain Layout
11046 Teoremas (AMS extendido)
11054 \begin_layout Criterion*
11055 Una condición requerida.
11058 \begin_layout Algorithm*
11059 Un procedimiento general a utilizar.
11062 \begin_layout Axiom*
11063 Esto es una propiedad o declaración tomada como verdadera dentro del sistema
11067 \begin_layout Condition*
11068 Utilizado a veces para establecer una condición asumida en el presente contexto
11072 \begin_layout Note*
11073 Similar a Observación.
11076 \begin_layout Notation*
11077 Usado para la explicación de una notación, sí.
11080 \begin_layout Summary
11081 ¿Necesitamos explicarlo?
11084 \begin_layout Acknowledgement*
11088 \begin_layout Conclusion*
11089 Usado a veces al final de una larga cadena de argumentos.
11093 Se usa en forma parecida a Proposición, aunque quizá a una menor escala.
11096 \begin_layout Standard
11097 Además, Las clases AMS suministran automáticamente los paquetes de tipografía
11098 AMS \SpecialChar LaTeX
11100 Deben estar disponibles en tu sistema para usar estos entornos.
11103 \begin_layout Section
11107 \begin_layout Standard
11113 \begin_layout Subsection
11117 \begin_layout Standard
11118 Broadway se usa para escribir guiones teatrales.
11119 El formato es más decorativo que el de Hollywood, y mucho menos normalizado.
11120 Este formato debería ser adecuado para los lugares de trabajo.
11123 \begin_layout Subsection
11124 Problemas especiales
11127 \begin_layout Standard
11128 Los mismos que en el caso de
11135 \begin_layout Subsection
11136 Características especiales
11139 \begin_layout Standard
11140 Introduce los nombres de los personajes
11144 como etiquetas, después haz una referencia cruzada a la etiqueta para insertar
11146 El diálogo de referencia cruzada mostrará el conjunto de personajes.
11149 \begin_layout Subsection
11150 Tamaño del papel y márgenes
11153 \begin_layout Standard
11154 USLetter, izquierdo 1.6
11155 \begin_inset space \thinspace{}
11159 \begin_inset space \thinspace{}
11163 \begin_inset space \thinspace{}
11167 \begin_inset space \thinspace{}
11173 \begin_layout Subsection
11177 \begin_layout Standard
11178 Están disponibles los entornos siguientes.
11179 Los atajos de teclado indicados a la derecha funcionan con el archivo
11186 \begin_layout Itemize
11190 \begin_inset Newline newline
11195 No deberías necesitarlo, pero está por si alguna cosa no cuadra en ninguno
11196 de los demás entornos.
11199 \begin_layout Itemize
11203 \begin_inset space \hfill{}
11207 \begin_inset Newline newline
11212 Se usa para la descripción del escenario y de la acción.
11213 La primera aparición de un personaje en MAYÚSCULAS.
11216 \begin_layout Itemize
11220 \begin_inset space \hfill{}
11224 \begin_inset Newline newline
11229 Automáticamente numerado.
11230 En pantalla se verá en números arábigos, pero se imprimirá en números romanos.
11233 \begin_layout Itemize
11237 \begin_inset space \hfill{}
11241 \begin_inset Newline newline
11254 \begin_layout Itemize
11258 \begin_inset space \hfill{}
11262 \begin_inset Newline newline
11267 No es automáticamente numerado, debes ponerlo.
11268 Esto es porque no he sabido cómo hacerlo.
11271 \begin_layout Itemize
11275 \begin_inset space \hfill{}
11279 \begin_inset Newline newline
11284 Un caso especial de
11288 para describir el escenario y la acción cuando se levanta el telón.
11291 \begin_layout Itemize
11295 \begin_inset space \hfill{}
11299 \begin_inset Newline newline
11304 El nombre del personaje (del actor), centrado, en MAYÚSCULAS.
11307 \begin_layout Itemize
11311 \begin_inset space \hfill{}
11315 \begin_inset Newline newline
11320 Instrucciones para el portavoz.
11321 Los paréntesis se insertan automáticamente.
11322 Solo ( se muestra en pantalla, pero se imprimirán ambos.
11323 Este entorno solo se usa dentro del entorno
11330 \begin_layout Itemize
11334 \begin_inset space \hfill{}
11338 \begin_inset Newline newline
11343 Lo que dice el personaje portavoz.
11346 \begin_layout Itemize
11350 \begin_inset space \hfill{}
11354 \begin_inset Newline newline
11362 \begin_layout Itemize
11366 \begin_inset space \hfill{}
11372 \begin_layout Itemize
11376 \begin_inset space \hfill{}
11382 \begin_layout Itemize
11386 \begin_inset space \hfill{}
11392 \begin_layout Standard
11393 Un saludo para todos.
11396 \begin_layout Section
11400 \begin_layout Standard
11401 La clase de documento
11405 sirve para escribir cartas de acuerdo con las convenciones alemanas.
11406 Se incluye un archivo modelo como punto de partida, en
11408 .../lyx/share/templates
11413 \begin_layout Section
11414 Publicaciones de Elsevier
11417 \begin_layout Standard
11418 Véase el archivo de plantilla de \SpecialChar LyX
11424 Contiene la información necesaria.
11427 \begin_layout Section
11437 \begin_inset CommandInset label
11446 \begin_layout Standard
11452 \begin_layout Subsection
11456 \begin_layout Standard
11457 En esta sección se describe cómo hacer transparencias para proyectores con
11460 Hay dos clases de documento que permiten hacerlas: la clase predeterminada
11474 Esta sección se ocupa de esta última.
11477 \begin_layout Standard
11478 Repito de nuevo alto y claro, para que no haya equívocos:
11481 \begin_layout Standard
11482 \begin_inset VSpace bigskip
11488 \begin_layout Standard
11497 \begin_inset space ~
11508 \begin_layout Standard
11509 \begin_inset VSpace bigskip
11515 \begin_layout Standard
11516 Si buscas la documentación para
11521 \begin_inset space ~
11525 \begin_inset CommandInset ref
11527 reference "sec:slitex"
11532 Si tu sistema no dispone de la clase
11536 , tendrás que usar la clase
11540 , que no es tan buena como
11545 \begin_layout Standard
11550 está diseñada para usar con la versión
11551 \begin_inset space ~
11554 2.1 de la clase \SpecialChar LaTeX
11559 , que forma parte de \SpecialChar LaTeX2e
11563 \begin_layout Subsection
11567 \begin_layout Standard
11568 Obviamente, para usar esta clase, debes seleccionar
11574 Documento\SpecialChar menuseparator
11578 Algunas de las configuraciones de este diálogo son específicas de esta
11579 clase y deberían quedar así:
11582 \begin_layout Itemize
11583 No cambies las opciones
11592 No se tienen en cuenta por la clase
11599 \begin_layout Itemize
11600 El tamaño de letra por omisión es 20
11601 \begin_inset space \thinspace{}
11604 pt, y las otras opciones son 17
11605 \begin_inset space \thinspace{}
11609 \begin_inset space \thinspace{}
11613 \begin_inset space \thinspace{}
11619 \begin_layout Itemize
11620 La tipografía predeterminada es
11628 , pero en las ecuaciones matemáticas se usa la habitual fuente romana.
11631 \begin_layout Itemize
11637 soporta los tamaños de papel A4 y Letter, así como un tamaño especial para
11638 trabajar con diapositivas de 35
11639 \begin_inset space \thinspace{}
11643 No soporta los tamaños A5, B5, legal o executive.
11646 \begin_layout Itemize
11647 No enredes cambiando la colocación de flotantes porque se ignoran en todo
11649 Los flotantes aparecen siempre en el lugar del texto donde se pongan.
11652 \begin_layout Itemize
11653 La configuración del
11656 \begin_inset space ~
11660 \begin_inset space ~
11665 funciona un poco distinto para esta clase.
11671 proporciona amplias capacidades para el encabezado y el pie, incluyendo
11672 el uso de logos personalizados.
11674 \begin_inset space ~
11678 \begin_inset CommandInset ref
11680 reference "sec:foilfoot"
11685 La página de título se trata de manera diferente a las demás páginas,
11693 pone el logo, (si se define uno), centrado en la parte inferior de la página.
11694 Las opciones posibles de estilo de página son:
11698 \begin_layout Labeling
11699 \labelwidthstring MMMMMMM
11706 El documento de salida no contiene números de página, ni encabezados ni
11707 pies (excepto notas al pie, claro).
11711 \begin_layout Labeling
11712 \labelwidthstring MMMMMMM
11719 La salida contiene números de página centrados en la parte inferior.
11720 No contiene encabezados ni pies (que no sean notas).
11723 \begin_layout Labeling
11724 \labelwidthstring MMMMMMM
11731 Números de página en la esquina inferior derecha.
11732 Además se muestran encabezados y pies.
11733 Esta es la opción por omisión.
11736 \begin_layout Labeling
11737 \labelwidthstring MMMMMMM
11744 Da acceso al paquete
11753 desaconseja su empleo a causa de potenciales conflictos con el diseño de
11758 \begin_layout Subsubsection
11762 \begin_layout Standard
11765 Documento\SpecialChar menuseparator
11768 se pueden poner las siguientes opciones extras:
11771 \begin_layout Labeling
11772 \labelwidthstring MMMMMMx
11777 Establece el formato de papel en 7.33
11778 \begin_inset space \thinspace{}
11782 \begin_inset space \thinspace{}
11785 in, que es aproximadamente el aspecto de una diapositiva de 35
11786 \begin_inset space \thinspace{}
11789 mm, Haciendo algo más fácil trabajar con este soporte.
11792 \begin_layout Labeling
11793 \labelwidthstring MMMMMMx
11798 Dibuja una línea bajo el encabezado en cada página excepto la de título.
11801 \begin_layout Labeling
11802 \labelwidthstring MMMMMMx
11807 Dibuja una línea sobre el pie de cada página excepto la de título.
11810 \begin_layout Labeling
11811 \labelwidthstring MMMMMMx
11816 Esto se configura automáticamente con cada nuevo documento
11826 que use el driver dvips para girar las páginas establecidas en modo apaisado.
11829 \begin_layout Labeling
11830 \labelwidthstring MMMMMMx
11835 Simplemente cambia las dimensiones de las páginas apaisadas pero no haceninguna
11837 Por tanto si usas esta opción necesitas un programa externo para rotar
11838 las páginas y alimentar la impresora en modo apaisado.
11839 Ten en cuenta que esta opción invierte los comportamientos de los entornos
11848 (que se describen en la siguiente sección).
11851 \begin_layout Labeling
11852 \labelwidthstring MMMMMMx
11857 Números de ecuación a la izquierda.
11860 \begin_layout Labeling
11861 \labelwidthstring MMMMMMx
11866 Ecuaciones ajustadas a la izquierda.
11869 \begin_layout Subsection
11870 Entornos soportados
11873 \begin_layout Standard
11874 La mayoría de los entornos habitualmente soportados en otras clases lo son
11875 también por la clase
11880 Hay varios entornos adicionales suministrados por
11885 así como un par añadidos por \SpecialChar LyX
11887 Los entornos siguientes son compartidos con otras clases:
11890 \begin_layout Standard
11891 \begin_inset Flex Multiple Columns
11894 \begin_layout Itemize
11900 \begin_layout Itemize
11906 \begin_layout Itemize
11912 \begin_layout Itemize
11918 \begin_layout Itemize
11924 \begin_layout Itemize
11927 Código-\SpecialChar LyX
11931 \begin_layout Itemize
11937 \begin_layout Itemize
11943 \begin_layout Itemize
11949 \begin_layout Itemize
11955 \begin_layout Itemize
11961 \begin_layout Itemize
11967 \begin_layout Itemize
11973 \begin_layout Itemize
11979 \begin_layout Itemize
11985 \begin_layout Itemize
11996 \begin_layout Standard
11997 Esto es, todos los entornos principales aparte de los entornos de secciones.
12002 contiene sus propias secciones, con un título y un cuerpo,
12007 proporciona comandos específicos para comenzar nuevas diapositivas, y son:
12010 \begin_layout Itemize
12013 Encabezado_Diapositiva
12016 \begin_layout Itemize
12019 Encabezado_Diapositiva_Giro
12022 \begin_layout Standard
12023 Además, \SpecialChar LyX
12024 provee versiones ligeramente modificadas de estos dos entornos,
12028 \begin_layout Itemize
12031 Encabezado_Diapositiva_Corto
12034 \begin_layout Itemize
12037 Encabezado_Diapositiva_Giro_Corto
12040 \begin_layout Standard
12041 cuyas diferencias serán explicadas en la siguiente sección.
12044 \begin_layout Standard
12045 Puesto que las diapositivas se emplean con frecuencia para presentaciones
12046 de ideas, teoremas y demás,
12051 proporciona además una extensa colección de entornos para estas cosas:
12054 \begin_layout Standard
12057 \begin_inset Flex Multiple Columns
12060 \begin_layout Itemize
12066 \begin_layout Itemize
12072 \begin_layout Itemize
12078 \begin_layout Itemize
12084 \begin_layout Itemize
12090 \begin_layout Itemize
12096 \begin_layout Itemize
12102 \begin_layout Itemize
12108 \begin_layout Itemize
12114 \begin_layout Itemize
12120 \begin_layout Itemize
12131 \begin_layout Standard
12132 Las versiones con asterisco son sin numeración y sin asterisco con numeración.
12133 Además hay dos entornos de lista añadidos por \SpecialChar LyX
12137 \begin_layout Itemize
12143 \begin_layout Itemize
12149 \begin_layout Standard
12155 proporciona algunas capacidades poderosas para encabezados y pies, que
12156 es mejor configurar en el preámbulo, aunque se puede hacer en cualquier
12157 lugar del documento.
12158 Si quieres hacerlo así, el mejor sitio es hacerlo al principio de una diapositi
12159 va, justo detrás del encabezado de la misma.
12162 \begin_layout Standard
12163 Para este propósito se suministran los siguientes estilos [
12170 \begin_layout Standard
12171 \begin_inset Flex Multiple Columns
12174 \begin_layout Itemize
12180 \begin_layout Itemize
12186 \begin_layout Itemize
12192 \begin_layout Itemize
12198 \begin_layout Itemize
12201 Encabezado_Izquierdo
12205 \begin_layout Plain Layout
12206 \begin_inset space ~
12218 \begin_layout Standard
12219 Hay algunos comandos de
12224 que \SpecialChar LyX
12225 no soporta directamente, pero se explica su función y su empleo en
12227 \begin_inset space ~
12231 \begin_inset CommandInset ref
12233 reference "sec:unsuppfoils"
12240 \begin_layout Subsection
12241 Diseño de una colección de diapositivas
12244 \begin_layout Standard
12245 Esta sección da una simple introducción a los diferentes entornos para construir
12246 una colección de diapositivas.
12251 ver un ejemplo echa un vistazo al archivo
12255 , accesible desde el botón
12261 Archivo\SpecialChar menuseparator
12265 \begin_layout Subsubsection
12269 \begin_layout Standard
12270 A diferencia de otras clases que proporcionan los entornos
12290 crea el título en una página propia.
12291 Si no pones entorno
12296 pondrá la fecha actual (cada vez que generes salida).
12299 \begin_layout Subsubsection
12300 Comenzar una diapositiva
12303 \begin_layout Standard
12304 Como mencioné antes, hay cuatro maneras de empezar una nueva diapositiva.
12305 Para la portada deberías usar
12308 \begin_inset space ~
12316 \begin_inset space ~
12320 \begin_inset space ~
12326 La diferencia entre estos es la cantidad de espacio entre el título (el
12327 encabezado) y el cuerpo de la diapositiva.
12330 \begin_layout Standard
12331 Las diapositivas apaisadas se generan con los entornos
12334 \begin_inset space ~
12338 \begin_inset space ~
12346 \begin_inset space ~
12350 \begin_inset space ~
12354 \begin_inset space ~
12360 De nuevo, la única diferencia es el espacio entre encabezado y cuerpo.
12361 Las dos versiones cortas ponen 0.5 pulgadas menos de separación.
12365 \begin_layout Standard
12366 Un problema con el soporte de las diapositivas apaisadas es el requerimiento
12367 de que debes usar el driver
12371 para generar la salida PostScript, si no las diapositivas no se giran.
12372 Es posible conseguir orientación apaisada incluso si no dispones de
12376 driver al configurar la salida a través de la impresora ;-)
12379 \begin_layout Subsubsection
12380 Teoremas, lemas, demostraciones y más
12383 \begin_layout Standard
12384 No puedes poner seguidos dos de estos entornos del mismo tipo.
12387 If you use a normal paragraph break, you will just be extending the previous
12388 environment as if you had merged the two environments together.
12391 \begin_layout Subsubsection
12395 \begin_layout Standard
12396 Dispones de todos los tipos de listas habituales en otras clases más dos
12398 Solo describiré estas últimas.
12399 Para más información sobre los demás entornos de listas mira la
12404 Si piensas usar el entorno
12411 podrías mirar también en la sección
12412 \begin_inset space ~
12416 \begin_inset CommandInset ref
12418 reference "sec:Marcas"
12422 la descripción de la Selección de Marcas de Listas.
12425 \begin_layout Standard
12426 Los dos estilos nuevos de lista,
12429 \begin_inset space ~
12439 \begin_inset space ~
12446 , están diseñadas para facilitar la creación de listas del tipo
12447 \begin_inset Quotes cld
12451 \begin_inset Quotes crd
12455 \begin_inset Quotes cld
12459 \begin_inset Quotes crd
12462 suministrando entornos dedicados que ponen una señal o una cruz como etiqueta.
12463 De hecho, estas listas son versiones particularizadas del entorno
12472 debe estar instalado.
12475 \begin_layout Subsubsection
12479 \begin_layout Standard
12485 redefine los flotantes de figuras y cuadros para que aparezcan exactamente
12486 en su lugar en el texto más bien que al principio de la página o en alguna
12488 De hecho, si haces cambios en la colocación de los flotantes no serán tenidos
12492 \begin_layout Subsubsection
12493 Encabezados y pies de página
12494 \begin_inset CommandInset label
12496 name "sec:foilfoot"
12503 \begin_layout Standard
12507 \begin_inset space ~
12516 son comandos usados para controlar el texto del pie izquierdo de la página.
12517 El primero permite incluir un logotipo gráfico en las transparencias; por
12518 omisión se imprime el logotipo
12519 \begin_inset Quotes cld
12528 \begin_inset Quotes crd
12532 El segundo permite poner una clasificación para los asistentes, p.
12533 \begin_inset space \thinspace{}
12537 \begin_inset space ~
12541 Está vacío por omisión.
12544 \begin_layout Standard
12545 Las restantes esquinas de la página se pueden completar con
12548 \begin_inset space ~
12553 (por omisión los números de página),
12556 \begin_inset space ~
12564 \begin_inset space ~
12569 (arriba izquierda).
12572 \begin_layout Subsection
12579 \begin_inset CommandInset label
12581 name "sec:unsuppfoils"
12588 \begin_layout Standard
12589 Todos los comandos mencionados a continuación deben ponerse en un entorno
12591 , o en modo \SpecialChar TeX
12592 dentro de otro entorno.
12595 \begin_layout Subsubsection
12599 \begin_layout Standard
12600 Todas las longitudes se ajustan con el comando:
12603 \begin_layout Standard
12623 \begin_inset Newline newline
12630 es el nombre de la variable de longitud que se quiere cambiar y
12634 es el valor deseado para esa longitud.
12635 Las longitudes deben expresarse en unidades como pulgadas (
12651 o en unidades relativas a la dimensión de alguna parte del deocumento,
12662 \begin_layout Standard
12663 Es posible cambiar el espacio entre el encabezado y el cuerpo de una transparenc
12664 ia especificando una longitud con
12671 Por ejemplo, para acercar todos los encabezados al cuerpo en 0.5 pulgadas,
12672 pon en el preámbulo:
12678 foilheadskip}{-0.5in}
12681 \begin_layout Standard
12682 Los espacios alrededor de los flotantes se ajustan con las siguientes variables
12686 \begin_layout Labeling
12687 \labelwidthstring MMMMMMMMMMM
12694 Separación entre el texto y la parte superior del flotante;
12697 \begin_layout Labeling
12698 \labelwidthstring MMMMMMMMMMM
12705 Separación entre el flotante y el encabezado;
12708 \begin_layout Labeling
12709 \labelwidthstring MMMMMMMMMMM
12716 Separación entre el encabezado y el texto siguiente;
12719 \begin_layout Labeling
12720 \labelwidthstring MMMMMMMMMMM
12727 Para poner encabezados más estrechos que el texto circundante.
12728 Lo mejor es definirlo en función de
12737 \begin_layout Standard
12738 Hay otras longitudes relativas a la página de título que te pueden ser útiles
12739 en el caso de títulos largos o de varios autores::
12742 \begin_layout Labeling
12743 \labelwidthstring MMMMMMMMMMM
12750 Separación entre los encabezamientos y el
12755 \begin_layout Labeling
12756 \labelwidthstring MMMMMMMMMMM
12772 \begin_layout Labeling
12773 \labelwidthstring MMMMMMMMMMM
12780 entre varias líneas de
12785 \begin_layout Labeling
12786 \labelwidthstring MMMMMMMMMMM
12802 \begin_layout Labeling
12803 \labelwidthstring MMMMMMMMMMM
12819 \begin_layout Standard
12820 Esta última variable de longitud afecta a todos los entornos de listas.
12831 de un entorno de lista, se suprimen todos los espacios verticales entre
12832 los ítems de la lista.
12833 Ten en cuenta que este es un comando, no una variable de longitud, así
12840 como las variables mencionadas antes.
12843 \begin_layout Subsubsection
12844 Encabezamientos y pies
12847 \begin_layout Standard
12860 controlan si el logotipo definido en
12864 aparece o no en una página dada.
12871 en el preámbulo, ninguna de las transparencias tendrá logotipo.
12872 Si no quieres poner el logotipo en cierta página,
12882 directamente detrás del principio de la página y
12888 directamente detrás del comienzo de la siguiente.
12891 \begin_layout Standard
12892 Si decides poner estilo de página
12898 Documento\SpecialChar menuseparator
12901 deberías seguramente añadir
12911 al preámbulo para que los encabezamientos y pies en páginas apaisadas se
12912 sitúen correctamente.
12913 Esto es debido a ciertas incompatibilidades entre el formato de página
12914 impuesto por el paquete que
12925 \begin_layout Section
12926 Hollywood (Guiones de Hollywood)
12929 \begin_layout Standard
12935 \begin_layout Subsection
12939 \begin_layout Standard
12940 Dar formato a un guión de Hollywood es un
12941 \begin_inset Quotes cld
12945 \begin_inset Quotes crd
12949 Está diseñado para que los lectores se centren en el contenido y resulte
12950 familiar y fácil de leer por los actores.
12951 Cada página de un guión debería representar un minuto de película.
12952 En el guión no hay nada que no veas u oigas en la pantalla.
12953 Debe emplearse el tipo de letra courier 12
12954 \begin_inset space \thinspace{}
12957 pt en todo el guión.
12961 \begin_layout Subsection
12962 Detalles particulares
12965 \begin_layout Standard
12966 Las palabras de un diálogo NUNCA se cortan a final de línea.
12971 debe continuar tras un salto de página, se repite el nombre del mismo (
12978 \begin_layout Subsection
12979 Características especiales
12982 \begin_layout Standard
12983 Introduce los nombres de los personajes
12987 como etiquetas, después haz una referencia cruzada a la etiqueta para insertar
12989 El diálogo de referencia cruzada mostrará el conjunto de personajes.
12990 Esto lo puedes usar también para introducir el nombre de un personaje en
12991 las partes narrativas.
12994 \begin_layout Subsection
12995 Tamaño del papel y márgenes
12998 \begin_layout Standard
12999 USLetter, izquierdo 1.6
13000 \begin_inset space \thinspace{}
13004 \begin_inset space \thinspace{}
13008 \begin_inset space \thinspace{}
13012 \begin_inset space \thinspace{}
13018 \begin_layout Subsection
13022 \begin_layout Standard
13023 Los siguientes entornos están disponibles.
13028 para disponer de los atajos de teclado indicados a la derecha.
13031 \begin_layout Itemize
13035 \begin_inset Newline newline
13040 Para el caso de que no convenga ningún otro.
13044 \begin_layout Itemize
13050 \begin_inset space \hfill{}
13058 \begin_inset Newline newline
13061 Generalmente seguido de algo como
13062 \begin_inset Quotes cld
13065 al levantarse Sally.
13066 \begin_inset Quotes crd
13072 \begin_layout Itemize
13080 \begin_inset space \hfill{}
13084 \begin_inset Newline newline
13089 Introduce una nueva secuencia en INTERIOR.
13090 Seguido siempre de DÍA o NOCHE, o algo similar para definir la iluminación
13092 Esta línea, toda en MAYÚSCULAS.
13095 \begin_layout Itemize
13103 \begin_inset space \hfill{}
13107 \begin_inset Newline newline
13112 Introduce una nueva secuencia en EXTERIOR.
13113 Esta línea, toda en MAYÚSCULAS.
13116 \begin_layout Itemize
13120 \begin_inset space \hfill{}
13124 \begin_inset Newline newline
13129 El personaje que habla.
13132 \begin_layout Itemize
13136 \begin_inset space \hfill{}
13140 \begin_inset Newline newline
13145 Instrucciones para el personaje portavoz.
13146 Los () se insertan automáticamente.
13149 \begin_layout Itemize
13157 \begin_inset space \hfill{}
13161 \begin_inset Newline newline
13166 Lo que dice el personaje.
13169 \begin_layout Itemize
13173 \begin_inset space \hfill{}
13177 \begin_inset Newline newline
13182 Instrucciones para el movimiento de cámara, p.
13183 \begin_inset space \thinspace{}
13187 \begin_inset space ~
13193 \begin_layout Itemize
13196 DESAPARICIÓN_GRADUAL:
13197 \begin_inset space \hfill{}
13203 \begin_layout Itemize
13207 \begin_inset space \hfill{}
13213 \begin_layout Itemize
13217 \begin_inset space \hfill{}
13223 \begin_layout Itemize
13227 \begin_inset space \hfill{}
13233 \begin_layout Subsection
13237 \begin_layout Itemize
13238 (O.S) — off screen (fuera de pantalla)
13241 \begin_layout Itemize
13242 (V.0) — voice over (voz en off)
13245 \begin_layout Itemize
13250 \begin_layout Itemize
13252 — close-up (primer plano)
13255 \begin_layout Itemize
13256 PAN — movimiento de cámara
13259 \begin_layout Itemize
13260 INSERT — pasa a primer plano
13263 \begin_layout Section
13267 \begin_layout Standard
13270 Panayotis Papasotiriou
13273 \begin_layout Subsection
13277 \begin_layout Standard
13282 es una colección de macros que facilitan la presentación de manuscritos
13285 International Journal of Modern Physics C
13288 Igualmente, el paquete
13292 sirve para escribir artículos para
13294 International Journal of Modern Physics D
13297 Ambas revistas son editadas por
13302 Las correspondientes clases de documento se llaman
13311 Estos archivos, junto con las instrucciones de los autores, se pueden descargar
13313 \begin_inset Flex URL
13316 \begin_layout Plain Layout
13318 http://www.worldscinet.com/ijmpc/mkt/guidelines.shtml
13324 \begin_inset Flex URL
13327 \begin_layout Plain Layout
13329 http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml
13335 Ambos paquetes son versiones modificadas del paquete estándar
13339 , y son casi idénticos.
13340 La mayor parte de sus características son soportadas en \SpecialChar LyX
13342 He utilizado \SpecialChar LyX
13343 con éxito para escribir artículos para ambas revistas sin
13347 \begin_layout Subsection
13348 Escribir un artículo
13351 \begin_layout Standard
13352 Como es habitual, la forma más fácil de escribir un artículo es partiendo
13356 Archivo\SpecialChar menuseparator
13357 Nuevo desde plantilla
13359 , y elige una plantilla
13368 Así se muestra un documento casi vacío que incluye los campos más habituales
13370 Simplemente sobreescribe el texto (incluyendo abrazaderas <>) con el tuyo.
13371 Debes tener en cuenta los siguientes puntos:
13374 \begin_layout Enumerate
13376 no permite el cambio del tamaño de letra ni del estilo de página porque
13377 estos paquetes no lo permiten.
13380 \begin_layout Enumerate
13381 No debería cambiarse el lenguaje del documento.
13382 Antes de ver tu artículo, asegúrate
13384 que no está cargado el paquete babel.
13391 \SpecialChar menuseparator
13402 \begin_inset Quotes eld
13406 \begin_inset Quotes erd
13416 \begin_layout Enumerate
13418 \begin_inset Quotes cld
13422 \begin_inset Quotes crd
13425 se debe utilizar para definir palabras-clave.
13428 \begin_layout Enumerate
13433 provee un estilo llamado
13434 \begin_inset Quotes cld
13437 Classification Codes
13438 \begin_inset Quotes crd
13441 , que se puede usar para definir códigos de clasificación, como números
13443 Esta facilidad no es soportada por el paquete
13450 \begin_layout Enumerate
13451 Hay varios entornos nuevos disponibles:
13452 \begin_inset Quotes cld
13456 \begin_inset Quotes crd
13460 \begin_inset Quotes cld
13464 \begin_inset Quotes crd
13468 \begin_inset Quotes cld
13472 \begin_inset Quotes crd
13476 \begin_inset Quotes cld
13480 \begin_inset Quotes crd
13484 \begin_inset Quotes cld
13488 \begin_inset Quotes crd
13492 \begin_inset Quotes cld
13496 \begin_inset Quotes crd
13500 \begin_inset Quotes cld
13504 \begin_inset Quotes crd
13508 \begin_inset Quotes cld
13512 \begin_inset Quotes crd
13516 \begin_inset Quotes cld
13520 \begin_inset Quotes crd
13524 \begin_inset Quotes cld
13528 \begin_inset Quotes crd
13532 \begin_inset Quotes cld
13536 \begin_inset Quotes crd
13540 \begin_inset Quotes cld
13544 \begin_inset Quotes crd
13548 \begin_inset Quotes cld
13552 \begin_inset Quotes crd
13556 \begin_inset Quotes cld
13560 \begin_inset Quotes crd
13564 Su uso es más o menos obvio.
13566 soporta todos estos entornos; utilizará la etiqueta, estilo de texto y
13567 esquema de numeración más apropiados para cada caso.
13570 \begin_layout Enumerate
13571 Ambos paquetes usan citas básicas; el paquete
13576 En \SpecialChar LyX
13577 las referencias a citas se ven normalmente; en la salida se ven como
13579 Si quieres usar una cita como texto normal, debes emplear el comando
13584 \begin_inset space \thinspace{}
13588 \begin_inset Quotes cld
13592 \begin_inset space ~
13602 \begin_inset Quotes crd
13608 \begin_layout Enumerate
13610 \begin_inset Quotes cld
13614 \begin_inset Quotes crd
13617 en ninguno de estos paquetes.
13618 Para ponerlo usa el entorno
13619 \begin_inset Quotes cld
13623 \begin_inset Quotes crd
13629 \begin_layout Enumerate
13630 Se pueden añadir apéndices
13634 de los Agradecimientos y
13638 de las Referencias.
13640 provee un entorno especial, llamado
13641 \begin_inset Quotes cld
13645 \begin_inset Quotes crd
13648 que marca el inicio de los apéndices.
13649 Este entorno debería dejarse en blanco; lo único que hace es enviar un
13650 comando \SpecialChar LaTeX
13651 pero realmente no se imprime nada.
13652 En \SpecialChar LyX
13654 \begin_inset Quotes cld
13658 \begin_inset Quotes crd
13661 se imprime con letras azules, para indicar que todas las secciones posteriores
13663 Para escribir un apéndice usa el entorno
13664 \begin_inset Quotes cld
13668 \begin_inset Quotes crd
13673 ordenará cada apéndice con letras mayúsculas, como requieren ambas revistas.
13675 \begin_inset Quotes cld
13679 \begin_inset Quotes crd
13686 estar presente antes del primer apéndice; si no, los apéndices se numerarán
13687 como secciones normales.
13690 \begin_layout Enumerate
13703 para implementar encabezados de cuadro.
13704 Como resultado, un cuadro creado por \SpecialChar LyX
13705 se imprime correctamente, pero se
13706 ignora su encabezado.
13707 Sin embargo puedes emplear código \SpecialChar TeX
13708 para sortear este problema, de forma
13709 que los encabezados se impriman como es de esperar.
13710 Para hacerlo crea un cuadro flotante de la manera habitual, quita el encabezado
13717 encabezado del cuadro
13721 en código \SpecialChar TeX
13722 —atención a la llave de apertura
13723 \begin_inset Quotes cld
13727 \begin_inset Quotes crd
13730 —, y cierra inmediatamente detrás del contenido del cuadro con
13734 en código \SpecialChar TeX
13736 Estudia los ejemplos de cuadros incluidos en las plantillas para ver como
13737 se realiza este procedimiento.
13738 Alternativamente, si necesitas encabezados de cuadro, podrías construir
13739 el cuadro flotante completo en un archivo
13743 , que después puedes incluir mediante
13745 Insertar\SpecialChar menuseparator
13746 Archivo\SpecialChar menuseparator
13748 \begin_inset space ~
13762 puedes ver más detalles sobre la creación de cuadros flotantes.
13765 \begin_layout Subsection
13766 Preparar un artículo para su remisión
13769 \begin_layout Standard
13770 Antes de remitir un artículo debes exportarlo a \SpecialChar LaTeX
13773 Archivo\SpecialChar menuseparator
13774 Exportar\SpecialChar menuseparator
13785 \begin_layout Plain Layout
13786 Realmente dispones de las opciones \SpecialChar LaTeX
13787 (simple) y pdflatex.
13788 Si piensas usar pdflatex para preparar el artículo,los gráficos incluidos
13789 estarán en formato PDF.
13794 , después haz los cambios siguientes en el resultante archivo
13801 \begin_layout Enumerate
13802 Elimina las líneas de comentarios anteriores al comando
13811 \begin_layout Enumerate
13812 Elimina los comandos
13824 y todo lo que haya entre ambos, excepto aquellos comandos que hayas añadido
13825 expresamente al preámbulo \SpecialChar LaTeX
13829 \begin_layout Standard
13834 modificado debe ser guardado y procesado con \SpecialChar LaTeX
13835 tantas veces como sea necesario.
13836 Comprueba después el documento
13843 \begin_layout Section
13847 \begin_layout Standard
13853 \begin_layout Subsection
13857 \begin_layout Standard
13862 suministra una clase de documento para remitir documentos electrónicos
13863 a publicaciones del
13865 Institute of Physics
13868 Las instrucciones para los autores que quieran crear documentos de esta
13873 se pueden descargar del sitio
13874 \begin_inset Flex URL
13877 \begin_layout Plain Layout
13879 ftp://ftp.iop.org/pub/journals/latex2e
13887 \begin_layout Subsection
13888 Escribir un documento
13891 \begin_layout Standard
13892 La forma más sencilla de escribir un documento es empezar con el
13904 File\SpecialChar menuseparator
13913 de ejemplo explica cómo usar los entornos especiales de texto.
13914 Aquí están los consejos más importantes:
13917 \begin_layout Itemize
13918 Para poder compilar tu documento a PDF, PS o DVI, asegúrate de que
13920 no AMS packages are loaded in
13922 Document\SpecialChar menuseparator
13923 Settings\SpecialChar menuseparator
13929 \begin_layout Itemize
13930 El entorno de título define la clase de tu documento.
13931 Por tanto usa uno de los siguientes entornos para el título:
13935 \begin_layout Itemize
13943 \begin_layout Itemize
13951 \begin_layout Itemize
13956 para una reseña de actualidad
13959 \begin_layout Itemize
13967 \begin_layout Itemize
13975 \begin_layout Itemize
13980 para un artículo (igual que Title)
13983 \begin_layout Itemize
13988 para una comunicación preliminar
13991 \begin_layout Itemize
13996 para una comunicación rápida
13999 \begin_layout Itemize
14004 para una carta al editor
14008 \begin_layout Itemize
14009 Todos los entornos de título excepto
14013 pueden tener un título breve opcional.
14016 \begin_layout Itemize
14017 Hay un entorno general de título
14021 que no es soportado directamente por \SpecialChar LyX
14023 Puede usarse en código \SpecialChar TeX
14024 si tu documento no se adecúa a ninguno de los otros
14028 \begin_layout Standard
14029 Para más información, como consejos para formatos especiales de ecuaciones
14030 y cuadros, echa un vistazo a las pautas dadas por el autor de IOP.
14033 \begin_layout Section
14037 \begin_layout Standard
14040 Panayotis Papasotiriou
14043 \begin_layout Subsection
14047 \begin_layout Standard
14048 El paquete Kluwer es un conjunto de macros producido por
14050 Kluwer Academic Publishers
14052 que facilita la confección de manuscritos electrónicos con destino a sus
14054 Las más conocidas (al menos en mi parcela de interés) son
14056 Astrophysics and Space Science
14062 , aunque hay muchas otras (véase una lista completa en
14063 \begin_inset Flex URL
14066 \begin_layout Plain Layout
14068 http://www.wkap.nl/jrnllist.htm/JRNLHOME
14074 El paquete Kluwer puede ser descargado del sitio
14075 \begin_inset Flex URL
14078 \begin_layout Plain Layout
14080 http://www.wkap.nl/kaphtml.htm/STYLEFILES
14086 Contiene una completa guía de uso, que también puede descargarse separadamente.
14089 \begin_layout Standard
14091 soporta muchas características del paquete pero no todas.
14092 No obstante, el código \SpecialChar TeX
14093 necesario se reduce a ciertos
14094 \begin_inset Quotes cld
14098 \begin_inset Quotes crd
14102 \begin_inset space ~
14106 \begin_inset CommandInset ref
14108 reference "subsec:kluwer_peculiaridades"
14113 He usado \SpecialChar LyX
14114 recientemente para escribir un artículo para
14116 Astrophysics and Space Science
14118 sin ningún problema.
14121 \begin_layout Subsection
14122 Escribir un artículo
14125 \begin_layout Standard
14126 La forma más sencilla de escribir un artículo es empezar con la plantilla
14130 Archivo\SpecialChar menuseparator
14134 \begin_inset space ~
14142 \begin_inset space ~
14154 Se trata de un documento casi vacío que incluye la mayoría de campos más
14155 habituales y una breve descripción de su uso.
14156 Como es habitual en las plantillas, simplemente debes sobreescribir el
14157 texto presente (incluidas las abrazaderas <>) con la información correcta.
14160 \begin_layout Subsection
14161 Preparar un artículo para su remisión
14164 \begin_layout Standard
14165 Como en el paquete AAS\SpecialChar TeX
14166 , antes de remitir tu trabajo a una publicación debes
14167 procesarlo como sigue:
14170 \begin_layout Enumerate
14171 Exporta tu documento a \SpecialChar LaTeX
14174 Archivo\SpecialChar menuseparator
14175 Exportar\SpecialChar menuseparator
14182 \begin_layout Enumerate
14187 resultante con un editor de texto y haz los siguientes cambios:
14191 \begin_layout Enumerate
14192 borra las líneas de comentarios anteriores al comando
14201 \begin_layout Enumerate
14202 quita todo entre los comandos
14214 , ellos incluidos, excepto aquellos específicamente añadidos al preámbulo
14219 \begin_layout Standard
14228 \begin_layout Enumerate
14233 con \SpecialChar LaTeX
14234 tantas veces como sea necesario (generalmente hasta tres).
14237 \begin_layout Enumerate
14238 Mira el documento resultante
14243 \begin_inset space \thinspace{}
14250 , y comprueba si todo está bien (debería, si no has cometido algún error).
14253 \begin_layout Subsection
14254 «Peculiaridades» del paquete Kluwer
14255 \begin_inset CommandInset label
14257 name "subsec:kluwer_peculiaridades"
14264 \begin_layout Standard
14265 El paquete Kluwer tiene algunas
14266 \begin_inset Quotes cld
14270 \begin_inset Quotes crd
14276 \begin_layout Enumerate
14277 Es posible escribir artículos múltiples en el mismo archivo \SpecialChar LaTeX
14282 \begin_layout Plain Layout
14283 No puedo imaginar una buena razón para hacer esto.
14289 Cada artículo debe estar incluido en un entorno
14290 \begin_inset Quotes cld
14294 \begin_inset Quotes crd
14298 Desafortunadamente, este entorno no se puede omitir, incluso si escribes
14300 Por esto, cada artículo empieza con el comando
14306 y, termina, obviamente, con el comando
14313 Aunque esto se puede implementar en \SpecialChar LyX
14314 , no lo he incluido, puesto que se
14315 ve feo y puede confundir al novato.
14316 Así pues hay que introducirlo en código \SpecialChar LaTeX
14318 \begin_inset Quotes cld
14321 código \SpecialChar TeX
14323 \begin_inset Quotes crd
14329 \begin_layout Enumerate
14330 La información dada al principio del artículo (p.
14331 \begin_inset space \thinspace{}
14334 e., título, subtítulo, autor, institución, título corriente, autor corriente,
14335 resumen y palabras-clave) deben incluirse en un entorno llamado
14336 \begin_inset Quotes cld
14340 \begin_inset Quotes crd
14344 Esto no está implementado en \SpecialChar LyX
14345 , así que hay que introducir el título, subtítulo,
14346 etc., entre dos líneas en código \SpecialChar TeX
14362 \begin_layout Enumerate
14363 Según el manual de uso, la etiqueta de cada ítem de la bibliografía debe
14387 \begin_layout Standard
14392 se cuida de todas estas
14393 \begin_inset Quotes cld
14397 \begin_inset Quotes crd
14401 Si empiezas un nuevo artículo a partir de esta plantilla no necesitas hacer
14406 \begin_layout Enumerate
14407 no borrar el código \SpecialChar TeX
14408 incluido en el modelo, y
14411 \begin_layout Enumerate
14412 copia el ejemplo de ítem de bibliografía incluido en la plantilla y modifícalo
14413 como haga falta para introducir nuevas entradas.
14416 \begin_layout Section
14420 \begin_layout Standard
14426 \begin_layout Subsection
14430 \begin_layout Standard
14431 En \SpecialChar LyX
14432 , las clases de documento
14437 article (koma-script)
14441 report (koma-script)
14459 corresponden respectivamente a las clases de \SpecialChar LaTeX
14476 , de la familia Koma-Script.
14477 Son alternativas a las correspondientes clases estándar
14493 , y en ciertos aspectos
14497 se adaptan mejor a las convenciones tipográficas
14504 \begin_layout Itemize
14505 El tamaño estándar de letra es 11
14506 \begin_inset space \thinspace{}
14511 article (koma-script)
14515 report (koma-script)
14522 \begin_inset space \thinspace{}
14527 letter (koma-script)
14532 \begin_layout Itemize
14533 Los encabezados, los marcadores del entorno
14537 y otros elementos de la clase
14539 letter (koma-script)
14544 se ponen en sans serif negrita.
14548 \begin_layout Plain Layout
14549 Hay una gran diferencia entre las antiguas tipografías cm sans serif negrita
14550 y las nuevas tipografías ec, especialmente en cuanto al aspecto de los
14552 En comparación, las tipografías ec sans serif negrita se ven algo más delgadas.
14553 El paquete \SpecialChar LaTeX
14562 permite generar la apariencia
14563 \begin_inset Quotes cld
14567 \begin_inset Quotes crd
14570 cuando se emplean las tipografías ec.
14575 La numeración de los encabezados de capítulo se hace de la misma forma
14576 que la numeración de los encabezados de sección, o sea, sin la línea extra
14578 \begin_inset Quotes cld
14581 Capítulo\SpecialChar ldots
14583 \begin_inset Quotes crd
14587 Además, el aspecto de los encabezados se puede modificar mediante algunas
14588 opciones (en \SpecialChar LyX
14589 se introducen en el diálogo D
14591 ocumento\SpecialChar menuseparator
14595 Se puede encontrar una completa descripción de estas opciones, en alemán,
14596 en la documentación de Koma-Script
14603 \begin_layout Itemize
14604 En las clases Koma-Script, los aspectos principales del diseño del área
14605 imprimible se controlan con las opciones
14613 (en \SpecialChar LyX
14614 se introducen en el campo de opciones de clase del diálogo
14616 Documento\SpecialChar menuseparator
14620 Dichas opciones permiten un ajuste más claro de los márgenes posibles de
14622 En la documentación de Koma-Script
14626 , (en alemán), hay una detallada descripción de estas y otras opciones de
14627 configuración del área imprimible.
14630 \begin_layout Itemize
14631 Las clases \SpecialChar LaTeX
14632 de documentos de la familia Koma-Script definen un cierto número
14633 de comandos adicionales.
14634 Aquellos que tienen sentido en \SpecialChar LyX
14635 se implementan en los correspondientes
14639 \begin_layout Standard
14640 En la documentación de Koma-Script,
14648 (inglés), hay una detallada descripción de las clases \SpecialChar LaTeX
14649 de la familia Koma-Scrip
14653 \begin_layout Subsection
14654 article (koma-script), report (koma-script), y book (koma-script)
14657 \begin_layout Standard
14658 Las clases de documento
14660 article (koma-script)
14664 report (koma-script)
14674 están implementadas en los archivos de formato
14687 Contienen todos los tipos de párrafo de las correspondientes clases estándar
14706 , parcialmente modificados, con la excepción del tipo
14710 a, específico de \SpecialChar LyX
14711 , que es reemplazado por el nuevo tipo
14715 , que tiene la misma funcionalidad.
14720 se han añadido otros nuevos tipos de párrafo.
14725 se encuentran en la clase
14727 letter (koma-script)
14732 \begin_layout Itemize
14735 Añadir_Parte, Añadir_Cap
14741 : son los equivalentes respectivos a
14749 , pero además añaden una entrada en el índice general.
14760 article (koma-script)
14765 \begin_layout Itemize
14774 : se comportan igual que
14782 pero no indican la numeración del capítulo o sección.
14787 * no está disponible en
14789 article (koma-script)
14795 \begin_layout Plain Layout
14802 report (koma-script)
14808 hay también un comando
14814 , pero como es idéntico a
14818 , no ha sido implementado en \SpecialChar LyX
14827 \begin_layout Itemize
14836 : genera un encabezado directamente sobre el párrafo siguiente en el tamaño
14837 de carácter estándar sin afectar a la estructura del documento.
14840 \begin_layout Itemize
14849 son encabezados especiales que respetan los espacios diferentes para encabezado
14850 s situados sobre y bajo un elemento (si sigues estrictamente las normas
14851 tipográficas, pondrás los encabezados de cuadro siempre sobre ellos).
14852 También puedes usar la opción de clase
14864 para los cuadros y por
14869 Para usar esta opción necesitas al menos la versión Koma-Script 2.8q.
14872 \begin_layout Itemize
14877 : sirve para poner una cita o un proverbio, por ejemplo, al principio de
14879 Si utilizas el parámetro opcional
14881 Insertar\SpecialChar menuseparator
14885 \begin_inset space ~
14891 , puedes insertar aquí el nombre del autor de la sentencia.
14892 La sentencia y su autor se separan con una línea.
14893 Para esta posibilidad necesitas Koma-Script versión 2.8q o superior.
14898 no está incluido en
14900 article (koma-script)
14905 \begin_layout Standard
14906 Los entornos siguientes, junto con los habituales
14918 , forman la zona de título del documento.
14919 Deben introducirse sobre el primer párrafo
14920 \begin_inset Quotes cld
14924 \begin_inset Quotes crd
14931 \begin_layout Plain Layout
14932 Los comandos \SpecialChar LaTeX
14933 correspondientes deben aparecer antes de
14944 Cuando este entorno se emplea más de una vez, el último anula a los anteriores,
14945 lo que implica que para cada tipo solo es válida la última entrada.
14946 El orden de los distintos entornos no influye en el documento final, lo
14947 mismo que sucede con
14962 \begin_layout Itemize
14967 : genera un párrafo centrado sobre el título ordinario (
14979 ) para poner el tema del documento.
14982 \begin_layout Itemize
14987 : genera un párrafo centrado bajo el título ordinario (
14999 ) para los nombres de los editores.
15002 \begin_layout Itemize
15009 report (koma-script)
15015 produce un párrafo centrado en su propia página detrás de la de título,
15018 article (koma-script)
15020 produce un párrafo centrado bajo el título ordinario (
15039 \begin_layout Itemize
15044 : produce un párrafo alineado a la izquierda sobre el título ordinario (
15063 \begin_layout Itemize
15066 Reverso_Título_Superior
15068 : genera, en documentos a dos caras, un párrafo alineado a la izquierda
15069 en la parte superior del reverso de la página titular en
15071 report (koma-script)
15077 ; no afecta a documentos a una cara ni a
15082 article (koma-script)
15087 \begin_layout Itemize
15090 Reverso_Título_Inferior
15092 : genera, en documentos a dos caras, un párrafo alineado a la izquierda
15093 en la parte inferior del reverso de la página titular en
15095 report (koma-script)
15101 ; no afecta a documentos a una cara ni a
15103 article (koma-script)
15108 \begin_layout Itemize
15113 ítulo: produce una página especial al principio del documento con un párrafo
15117 \begin_layout Standard
15118 Los archivos de formato para las clases
15120 article (koma-script)
15124 report (koma-script)
15130 incluyen el archivo
15135 Este está pensado como un lugar para definir tus propios tipos.
15140 en tu directorio personal y edítalo!
15143 \begin_layout Subsection
15144 letter (koma-script)
15147 \begin_layout Description
15151 Note: This section discusses the obsolete
15153 KOMA-Script-Letter (v.
15154 \begin_inset space ~
15159 , which is not even included anymore in recent KOMA releases.
15160 Please refer to the next section for the current KOMA-Script-Letter class
15162 \begin_inset space ~
15168 \begin_layout Standard
15170 La clase de documento
15172 letter (koma-script)
15174 se implementa en el archivo de formato
15179 Contiene todos los tipos de párrafo de la clase
15186 estándar, parcialmente modificados, excepto los específicos de \SpecialChar LyX
15189 Código-\SpecialChar LyX
15194 Comentario y el tipo
15200 , que es reemplazado por el nuevo tipo
15205 Además contiene, a diferencia de la clase estándar, los entornos estándar
15215 , más un número de nuevos tipos específicos para cartas.
15218 \begin_layout Standard
15219 El aspecto de las cartas producidas por esta clase de documento se puede
15220 controlar mediante comandos \SpecialChar LaTeX
15221 que puedes poner en el preámbulo.
15225 \begin_layout Plain Layout
15226 Por ejemplo, el aspecto estándar de la cabecera de una carta, nombres y
15227 direcciones, se consigue con estos comandos \SpecialChar LaTeX
15231 \begin_layout LyX-Code
15241 \begin_layout LyX-Code
15257 \begin_layout LyX-Code
15267 \begin_layout LyX-Code
15287 Hay una detallada descripción de ellos en la documentación de Koma-Script,
15293 Con su ayuda puedes producir formatos personalizados de cartas.
15296 \begin_layout Standard
15305 definen el comienzo de la carta y deben ponerse en todas ellas.
15306 Se pueden escribir varias
15310 cartas en el mismo archivo.
15315 da comienzo a una nueva carta para el mismo destinatario mientras que un
15320 da lugar a una nueva carta para distinto destinatario.
15337 son párrafos ordinarios y se pueden usar varias veces en la misma carta.
15340 \begin_layout Itemize
15345 : produce un párrafo para poner el destinatario y define implícitamente
15346 el inicio de la carta.
15349 \begin_layout Itemize
15354 : produce un párrafo para poner el destinatario e inicia implícitamente
15358 \begin_layout Itemize
15363 : da lugar a un párrafo para el cierre de la carta.
15366 \begin_layout Itemize
15371 : párrafo para poner una postdata.
15374 \begin_layout Itemize
15379 : párrafo para una lista de co-destinatarios.
15382 \begin_layout Itemize
15387 : párrafo para documentos adjuntos.
15390 \begin_layout Standard
15391 Los tipos de entorno
15418 \begin_inset space ~
15435 son entradas provistas de una etiqueta para introducir información que
15436 será procesada por la clase de documento.
15440 \begin_layout Plain Layout
15441 Podría ser inconsecuente que
15449 , descritos arriba, no sean también entornos con etiqueta de entrada.
15450 Sin embargo, debido al signifificado particular de estos tipos, los he
15451 implementado como párrafos ordinarios con una letra en el margen.
15452 Además, afectaría a mi sensación de simetría si los tipos
15460 tuvieran aspectos muy distintos.
15465 Estos tipos deben ponerse antes de la
15472 \begin_layout Standard
15473 Una implementación de estos tipos en modo WYSIWYG no tendría sentido porque
15474 el aspecto real de la carta no solo depende del uso de un tipo particular,
15475 sino también de otros factores.
15476 Por ejemplo, en el comportamiento predeterminado, una firma introducida
15481 solo aparecerá en la carta si se usa, además, el tipo
15486 El valor introducido en
15490 tampoco aparece en la carta.
15491 La posibilidad de diseñar el encabezamiento de la carta ya se ha señalado
15492 antes en una nota al pie.
15495 \begin_layout Standard
15496 Los entornos para introducir datos también se pueden usar como párrafos
15498 Esto tiene sentido, p.
15499 \begin_inset space \thinspace{}
15502 e., para el entorno
15511 , en el comportamiento estándar se usará el valor de
15515 como firma, mientras que si se define una
15519 vacía no saldrá ninguna.
15522 \begin_layout Standard
15523 Los entornos para introducir datos también pueden servir para escribir una
15524 plantilla, que contenga campos cumplimentados con tus datos personales
15525 (nombre, dirección, etc.), y campos vacíos listos para ser completados con
15529 \begin_layout Itemize
15534 : nombre del remitente, en el comportamiento normal aparece en versalitas,
15535 en un párrafo centrado en el encabezado de la carta.
15538 \begin_layout Itemize
15543 : firma del remitente, en el comportamiento normal aparece bajo el
15548 Si no se utiliza el párrafo
15552 , se escribe en su lugar el valor del campo
15559 \begin_layout Itemize
15564 : dirección del remitente, en el comportamiento normal aparece en un párrafo
15565 centrado, en el encabezado, bajo el
15572 \begin_layout Itemize
15577 o: teléfono del remitente, en el comportamiento normal corresponde a la
15584 de \SpecialChar LaTeX
15588 \begin_layout Itemize
15593 : lugar donde se ha escrito la carta.
15596 \begin_layout Itemize
15601 : fecha de escritura de la carta.
15610 , por omisión, aparecen en una línea a la derecha bajo el campo de dirección.
15611 Si el párrafo Fecha se deja vacío, no aparecen ni lugar ni fecha, independiente
15612 mente del valor puesto en
15617 Si no se pone párrafo de
15621 , se usará la fecha del día.
15624 \begin_layout Itemize
15629 : dirección para la respuesta, normalmente aparece sobre el campo del destinatar
15634 ) en tipografía sans serif pequeña, subrayado.
15637 \begin_layout Itemize
15642 : información especial de correo, en el comportamiento normal aparece subrayado
15643 sobre la dirección y bajo el remite.
15646 \begin_layout Itemize
15655 : información adicional, en el comportamiento normal aparece a la derecha
15656 bajo el campo del destinatario (
15663 \begin_layout Itemize
15668 : título de la carta, en el comportamiento normal aparece en letra sans
15669 serif grande, en negrita, sobre el
15676 \begin_layout Itemize
15681 : el tema de la carta, en el comportamiento normal aparece en negrita sobre
15689 \begin_layout Standard
15710 generan, a la manera de las cartas comerciales, una línea sobre el
15715 \begin_inset Quotes cld
15719 \begin_inset Quotes crd
15723 \begin_inset Quotes cld
15727 \begin_inset Quotes crd
15731 \begin_inset Quotes cld
15735 \begin_inset Quotes crd
15739 \begin_inset Quotes cld
15743 \begin_inset Quotes crd
15747 \begin_inset Quotes cld
15751 \begin_inset Quotes crd
15755 \begin_inset Quotes cld
15759 \begin_inset Quotes crd
15764 \begin_inset Quotes cld
15768 \begin_inset Quotes crd
15771 toma el valor del entorno
15776 Si se utiliza uno de estos tipos para
15777 \begin_inset Quotes cld
15781 \begin_inset Quotes crd
15788 no aparece, solo se define la variable \SpecialChar LaTeX
15796 La salida ordinaria de lugar y fecha en una línea a la derecha bajo el
15797 campo del destinatario se suprime.
15798 Los tipos se implementan para introducción de datos, provistos con una
15799 etiqueta, y deben utilizarse antes del correspondiente tipo
15806 \begin_layout Itemize
15814 \begin_layout Itemize
15819 Correo: su carta de.
15822 \begin_layout Itemize
15834 \begin_layout Itemize
15842 \begin_layout Itemize
15850 \begin_layout Subsection
15851 La nueva clase de carta: letter (koma-script v.2)
15854 \begin_layout Standard
15860 \begin_layout Standard
15861 \begin_inset VSpace medskip
15867 \begin_layout Standard
15869 Koma-Script versión 2.8 ha introducido una clase nueva
15881 , que ya no se desarrolla.
15882 Tiene, en lo que respecta a \SpecialChar LaTeX
15883 , una interfaz completamente nueva incompatible
15884 con la clase antigua.
15886 soporta las dos, pero se recomienda usar la nueva.
15889 \begin_layout Standard
15890 Esta clase cubre las mismas funciones que
15892 letter (koma-script)
15898 Las funciones básicas son
15902 (dirección del destinatario, como
15906 en el formato antiguo),
15923 comenzará una carta nueva (o sea, que puedes escribir varias cartas en
15924 el mismo documento).
15925 Los elementos nuevos de remitente son
15941 y la posibilidad de usar un
15947 Insertar\SpecialChar menuseparator
15950 ) en el encabezado.
15953 \begin_layout Standard
15954 La mejora más importante es, creo, que el formato de la carta es configurable
15955 para casi cualquier necesidad.
15956 Esto se puede hacer en el preámbulo o con un archivo de estilo especial
15961 , Letter Class Option), que será leído como una opción de clase.
15965 \begin_layout Plain Layout
15966 El paquete KOMA viene con algunos archivos
15971 Hay, por ejemplo, un archivo
15975 que sigue las normas tipográficas alemanas, o
15979 que proporciona el formato predefinido de la antigua clase
15984 Esta última puede cargarse como opción de clase
15994 Documento\SpecialChar menuseparator
15995 Configuración\SpecialChar menuseparator
15997 \begin_inset space ~
16001 \begin_inset space ~
16011 Echa una ojeada a la plantilla
16015 que se incluye como ejemplo en \SpecialChar LyX
16017 En la documentación de Koma-Script (
16021 ) hay una descripción detallada.
16024 \begin_layout Subsection
16028 \begin_layout Standard
16029 En \SpecialChar LyX
16030 , la visualización de documentos de la clase Koma-Script ocasiona algunos
16034 \begin_layout Itemize
16035 El número de capítulo en un párrafo
16039 aparece en una línea propia sobre la cabecera de capítulo en vez de aparecer
16040 delante en la misma línea.
16041 La causa de esto es el comportamiento interno de \SpecialChar LyX
16042 en relación a los marcadores
16047 en el archivo de formato.
16050 \begin_layout Itemize
16051 Los encabezados de los entornos
16059 solo se ponen en el índice generado por \SpecialChar LaTeX
16060 , no en el índice de \SpecialChar LyX
16063 Documento\SpecialChar menuseparator
16065 \begin_inset space ~
16073 \begin_layout Itemize
16074 Los párrafos en documentos de la clase
16078 aparecen separados con espacio adicional entre ellos, no con sangrado.
16079 Este es el comportamiento normal, no hacen falta comandos \SpecialChar LaTeX
16081 Sin embargo, en el diálogo
16083 Documento\SpecialChar menuseparator
16086 el botón que aparece marcado es
16091 Si se introduce un valor de
16094 \begin_inset space ~
16099 se insertan en el documento comandos \SpecialChar LaTeX
16100 adicionales para dar ese espacio,
16101 lo que en este caso no es lo que queremos.
16104 \begin_layout Section
16108 \begin_layout Standard
16114 \begin_layout Subsection
16118 \begin_layout Standard
16119 Memoir es una clase poderosa y en continCarpeta sin títulouo desarrollo.
16120 Se ha diseñado para escribir literatura de ficción y de no ficción.
16121 Su objetivo es dar al usuario el máximo control sobre su documento.
16122 Memoir está basada en la clase estándar
16126 , pero también puede emular la clase
16130 (véase más adelante).
16133 \begin_layout Standard
16134 Peter Wilson, el desarrollador de Memoir, es conocido como autor de muchos
16135 paquetes en el mundillo de \SpecialChar LaTeX
16137 La mayoría de ellos se han combinado con Memoir.
16138 Por tanto, es mucho más sencillo diseñar los índices, apéndices, capítulos
16141 , no obstante, no soporta por sí mismo todas sus características.
16142 Algunas se podrán añadir en futuras versiones
16146 \begin_layout Plain Layout
16147 Estás invitado a enviar sugerencias a
16148 \begin_inset Flex URL
16151 \begin_layout Plain Layout
16153 lyx-devel@lists.lyx.org
16163 , muchas nunca, probablemente, debido a limitaciones estructurales de \SpecialChar LyX
16165 Por supuesto, puedes usar todas las características con ayuda de comandos
16167 (código \SpecialChar TeX
16172 \begin_layout Plain Layout
16173 Consulta la sección
16174 \begin_inset space ~
16178 \begin_inset CommandInset ref
16180 reference "sec:Insertar-Código-TeX"
16190 En esta sección solo trataremos las características soportadas directamente
16191 por \SpecialChar LyX
16193 Para una decripción más completa (y para el resto de características) recomenda
16194 mos la consulta del manual de Memoir
16198 \begin_layout Plain Layout
16199 \begin_inset Flex URL
16202 \begin_layout Plain Layout
16204 CTAN:/macros/latex/memoir/memman.pdf
16214 , que es, no solo una guía de usuario, sino también una completa guía sobre
16215 normas tipográficas y un estupendo ejemplo en sí mismo de buena tipografía.
16218 \begin_layout Subsection
16219 Características básicas y restricciones
16222 \begin_layout Standard
16223 Memoir soporta básicamente todas las características de las clases estándar
16229 Pero hay algunas diferencias:
16232 \begin_layout Description
16234 \begin_inset space ~
16238 \begin_inset space ~
16241 tipografía: Memoir tiene un amplio rango de tamaños de tipografía: 9, 10,
16245 \begin_layout Description
16247 \begin_inset space ~
16251 \begin_inset space ~
16255 \begin_inset Quotes cld
16259 \begin_inset Quotes crd
16262 no está soportado, debido a un conflicto entre Memoir y el paquete
16266 (ambos definen un comando con el mismo nombre, lo que confunde a \SpecialChar LaTeX
16268 En su lugar, Memoir dispone de un puñado de estilos de página propios (véase
16272 Document\SpecialChar menuseparator
16273 Settings\SpecialChar menuseparator
16275 \begin_inset space ~
16282 Si quieres usar estos para las páginas de capítulos, tienes que usar el
16289 en el texto o en el preámbulo (p.
16290 \begin_inset space \thinspace{}
16294 \begin_inset space ~
16301 chapterstyle{companion}
16306 \begin_layout Description
16307 Seccionamiento: En las clases estándar, las secciones (capítulo, sección,
16308 subsección, etc.) van con un argumento opcional con el que puedes especificar
16309 una versión alternativa del título de la sección para el índice y para
16310 los encabezamientos de página, (por ejemplo, cuando el título es excesivamente
16312 En \SpecialChar LyX
16313 , puedes hacerlo con la opción de menú
16315 Insertar\SpecialChar menuseparator
16317 \begin_inset space ~
16322 al principio de un capítulo/sección.
16327 suministra un segundo argumento opcional para separar el índice del encabezamie
16329 Con esto puedes definir tres variantes de un título: una para el texto
16330 principal, otra para el índice general y otra para los encabezamientos.
16334 makes these available in form of specific
16345 \begin_layout Description
16346 TOC/LOF/LOT: En las clases estándar (y en muchas otras), los índices general
16347 (IG, TOC), de figuras (LOF) y de cuadros (LOT) se inician automáticamente
16353 no sigue esta regla.
16354 Si lo quieres, tienes que insertar a mano el salto de página.
16357 \begin_layout Description
16359 \begin_inset space ~
16363 \begin_inset space ~
16366 Título: Por razones desconocidas,
16370 usa paginación en la página del título (en las clases estándar, las páginas
16371 de título van en estilo
16372 \begin_inset Quotes cld
16380 \begin_inset Quotes crd
16384 Si quieres una página de título en dicho estilo, pon
16388 aliaspagestyle{title}{empty}
16393 \begin_layout Description
16394 Article: Con la opción de clase
16398 (que se debe introducir en
16400 Documento\SpecialChar menuseparator
16401 Configuración\SpecialChar menuseparator
16403 \begin_inset space ~
16407 \begin_inset space ~
16410 documento\SpecialChar menuseparator
16414 \begin_inset space ~
16421 ), puedes emular algunos comportamientos de estilo de la clase
16425 : los contadores (de notas al pie, figuras, cuadros, etc.) no se reinician
16426 al cambiar de capítulo, los capítulos nuevos no comienzan en página nueva
16427 (aunque, a diferencia de las clases
16432 \begin_inset Quotes cld
16436 \begin_inset Quotes crd
16439 , está permitido); sin embargo, las partes sí van en páginas nuevas, como
16447 \begin_layout Description
16449 \begin_inset space ~
16453 \begin_inset space ~
16457 \begin_inset space ~
16460 antiguos: por omisión,
16464 no permite el uso de los comandos de tipografía obsoletos que se usaban
16465 en la antigua versión de \SpecialChar LaTeX
16467 \begin_inset space \thinspace{}
16473 \begin_inset space ~
16481 \begin_inset space ~
16491 Si están presentes, generan errores y detienen el procesamiento de \SpecialChar LaTeX
16497 readmite el uso de dichos comandos, (aunque escupe algunas advertencias,
16498 al menos no detiene a \SpecialChar LaTeX
16500 Puesto que algunos paquetes, en particular Bib\SpecialChar TeX
16501 en sus archivos de estilo,
16502 todavía utilizan estos comandos, hemos decidido mantener esta opción como
16506 \begin_layout Subsection
16507 Características adicionales
16510 \begin_layout Standard
16511 Solo indicaremos las soportadas por \SpecialChar LyX
16512 (que actualmente no son muchas).
16513 Consulta el manual de
16521 \begin_layout Plain Layout
16522 \begin_inset Flex URL
16525 \begin_layout Plain Layout
16527 CTAN:/macros/latex/memoir/memman.pdf
16540 \begin_layout Description
16541 Resumen: Te preguntarás por qué un resumen es un característica suplementaria.
16542 Bien, lo es en la clase
16547 Usualmente los libros no tienen resúmenes.
16553 Puedes usarlo donde, como y cuantas veces quieras.
16556 \begin_layout Description
16558 \begin_inset space ~
16561 conciso: Quizá conozcas esto de
16562 \begin_inset Quotes cld
16566 \begin_inset Quotes crd
16573 \begin_layout Plain Layout
16574 Estilo de escritura en que se da más importancia a la bella apariencia que
16584 : El contenido de un capítulo es brevemente descrito debajo del título y
16585 también en el índice general (p.
16586 \begin_inset space \thinspace{}
16590 \begin_inset space ~
16595 Nuestro héroe llega a Troya; pierde algunos compañeros; encuentra a otros
16598 Capítulo_Conciso hace precisamente eso.
16599 Por tanto solo tiene sentido bajo un título de un capítulo.
16602 \begin_layout Description
16603 Epígrafe: Un epígrafe es un texto breve o lema al principio de un capítulo.
16604 El entorno epígrafe lo presenta de manera elegante.
16605 El propio lema (texto) y su autor (origen) se separan con una línea corta.
16608 The author (source) can be inserted via
16610 Insert\SpecialChar menuseparator
16617 \begin_layout Description
16619 \begin_inset space ~
16626 ofrece muchas posibilidades para escribir poesía (incluso complejos poemas
16628 Lyx solo soporta unas pocas de ellas.
16633 , que pone un título centrado para el poema y que también se añade al índice
16639 es el entorno estándar para poesía.
16644 dispone de algunas versiones mejoradas de
16648 , pero necesitas usar código \SpecialChar TeX
16649 , porque tienen que anidarse en entornos regulares
16650 de verso, lo que no es posible en \SpecialChar LyX
16654 \begin_layout Description
16656 \begin_inset space ~
16662 \begin_inset space ~
16667 , pero no añade entrada al índice general.
16670 \begin_layout Section
16671 Article (mwart), book (mwbk) y report (mwrep)
16672 \begin_inset Argument 1
16675 \begin_layout Plain Layout
16686 \begin_layout Standard
16692 \begin_layout Standard
16693 Las clases de documento
16709 de \SpecialChar LyX
16710 corresponden a las clases de documentos \SpecialChar LaTeX
16724 Son remodelaciones de las clases estándar de documentos
16736 , respectivamente, y se adaptan mejor a las convenciones tipográficas polacas
16737 en varios aspectos.
16741 \begin_layout Standard
16742 Las diferencias fundamentales son:
16745 \begin_layout Itemize
16746 Encabezados no numerados (con asterisco, p.
16747 \begin_inset space \thinspace{}
16758 \begin_layout Itemize
16759 Estilos de página adicionales:
16763 \begin_layout Description
16764 uheadings encabezados en líneas separadas,
16767 \begin_layout Description
16768 myheadings encabezados personalizados con
16783 \begin_layout Description
16784 myuheadings encabezados personalizados en líneas separadas,
16787 \begin_layout Description
16788 outer el número de página se coloca en el lado exterior de la misma.
16792 \begin_layout Itemize
16797 \begin_layout Description
16798 rmheadings encabezados en serif (predeterminado),
16801 \begin_layout Description
16802 sfheadings encabezados en sans-serif,
16805 \begin_layout Description
16806 authortitle en la página del título se pone primero el autor y luego el
16807 título (predeterminado),
16810 \begin_layout Description
16811 titleauthor en la página del título se pone el título, después el autor,
16814 \begin_layout Description
16815 withmarginpar reservar sitio de la página para los márgenes.
16819 \begin_layout Section
16823 \begin_layout Standard
16824 La clase de documento
16828 provee una alternativa a la clase estándar
16833 Tiene una funcionalidad similar, aunque quizá prefieras este formato con
16834 secciones en sans serif, encabezados, y más..
16837 \begin_layout Section
16838 Rev\SpecialChar TeX
16842 \begin_layout Standard
16848 \begin_layout Standard
16849 \begin_inset VSpace bigskip
16855 \begin_layout Standard
16860 \begin_inset space ~
16865 trabaja con la clase Rev\SpecialChar TeX
16867 \begin_inset Formula $\beta$
16870 de mayo de 1999) de la
16872 American Physical Society
16877 \begin_layout Standard
16879 tiene la clase de texto
16883 que funciona con Rev\SpecialChar TeX
16885 Sin embargo, la versión 3.1 está obsoleta, porque trabaja con \SpecialChar LaTeX
16887 Esto quiere decir que no interactúa muy bien con \SpecialChar LyX
16888 , que requiere \SpecialChar LaTeX2e
16891 Puesto que Rev\SpecialChar TeX
16892 4.0 se ha diseñado para trabajar mucho mejor con \SpecialChar LaTeX2e
16895 también funcionar mejor con la clase
16897 Rev\SpecialChar TeX
16899 \begin_inset space ~
16907 \begin_layout Standard
16908 Esta documentación está pensada para ser usada
16912 la documentación de Rev\SpecialChar TeX
16914 \begin_inset space ~
16917 4.0, por tanto no describiremos ninguna de las macros especiales de Rev\SpecialChar TeX
16919 y supondremos que sabes lo que hay que poner en el preámbulo, si fuera
16923 \begin_layout Subsection
16927 \begin_layout Standard
16928 Debes instalar Rev\SpecialChar TeX
16930 \begin_inset space ~
16933 4 como se describe en el archivo README del paquete.
16934 El paquete se puede encontrar en el sitio web de Rev\SpecialChar TeX
16936 \begin_inset Flex URL
16939 \begin_layout Plain Layout
16941 http://publish.aps.org/revtex4/
16947 Instálalo donde \SpecialChar LaTeX
16949 Compruébalo procesando con \SpecialChar LaTeX
16950 algún corto documento Rev\SpecialChar TeX
16952 \begin_inset space ~
16955 4 en algún directorio casual (es decir, no en el directorio donde se ha
16956 instalado el archivo de clase).
16957 Luego, si reconfiguras \SpecialChar LyX
16958 , este reconocerá el archivo de clase Rev\SpecialChar TeX
16960 \begin_inset space ~
16963 4 y lo podrás utilizar.
16966 \begin_layout Standard
16967 Probablemente la forma más fácil de empezar es importar un documento Rev\SpecialChar TeX
16969 \begin_inset space ~
16972 4 usando re\SpecialChar LyX
16973 , o partir del modelo de la plantilla de Rev\SpecialChar TeX
16975 \begin_inset space ~
16982 , disponible en el directorio de plantillas (
16989 \begin_layout Subsection
16993 \begin_layout Standard
16994 Los argumentos opcionales a
17001 \begin_inset Quotes cld
17005 \begin_inset Quotes crd
17009 \begin_inset Quotes cld
17013 \begin_inset Quotes crd
17022 Documento\SpecialChar menuseparator
17023 Configuración\SpecialChar menuseparator
17025 \begin_inset space ~
17031 \begin_inset space ~
17039 ¡Recuerda que en Rev\SpecialChar TeX
17040 , se requiere, al menos, un argumento opcional!
17043 \begin_layout Standard
17044 Otras cosas del preámbulo, como
17050 etc., van en el diálogo
17053 \begin_inset space ~
17066 \begin_layout Subsection
17067 Entornos de párrafo
17070 \begin_layout Standard
17071 En Rev\SpecialChar TeX
17073 \begin_inset space ~
17076 4.0, los entornos de párrafo corresponden básicamente a comandos.
17077 Por ejemplo, el formato
17088 Ten en cuenta que (al menos desde Rev\SpecialChar TeX
17089 4.0 Beta), los entornos
17097 son exactamente equivalentes, por lo que no tendrías que usar ambos.
17101 \begin_layout Plain Layout
17102 Si tienes curiosidad, se incluyeron ambos para que
17104 tex2\SpecialChar LyX
17107 puediera traducir ambos,
17127 \begin_layout Subsection
17131 \begin_layout Standard
17132 Hay un par de importantes aspectos únicos de Rev\SpecialChar TeX
17133 4 que podrían ocasionar
17134 fallos que serán incluso más confusos en \SpecialChar LyX
17138 \begin_layout Standard
17139 En Rev\SpecialChar TeX
17157 El equivalente en \SpecialChar LyX
17158 es que hay un entorno
17167 escribas notas al pie en el entorno
17173 sucederán cosas raras
17176 Véase la documentación de Rev\SpecialChar TeX
17177 4 para más detalles.
17180 \begin_layout Standard
17181 Además, los entornos
17184 \begin_inset space ~
17192 \begin_inset space ~
17209 y el entorno correspondiente
17226 , \SpecialChar LaTeX
17230 \begin_layout Section
17231 Publicaciones de Springer (
17238 \begin_layout Standard
17244 \begin_layout Subsection
17248 \begin_layout Standard
17249 Estos son los archivos de formato para algunas de las publicaciones editadas
17254 , las que se recogen en
17255 \begin_inset Flex URL
17258 \begin_layout Plain Layout
17260 http://www.springer.de/author/tex/help-journals.html
17265 , donde debes acudir para conseguir los archivos de la clase (¡sí, ahora
17266 son \SpecialChar LaTeX2e
17268 Es un sistema modular: las características comunes a todas las publicaciones
17273 , y los archivos de formato específicos (tales como, p.
17274 \begin_inset space \thinspace{}
17285 ) pueden incluirlo.
17288 \begin_layout Standard
17289 Esto significa que implementar soporte para cualquier otra publicación de
17294 incluida en esa lista es tan sencillo como escribir tu propio archivo
17302 siguiendo las pautas dadas en
17310 \begin_layout Standard
17311 Está razonablemente bien probado solo en el caso de
17324 vienen con la distribución estándar de \SpecialChar LyX
17326 Instala el archivo de clase correspondiente (descargado del sitio de
17330 ) en un directorio adecuado, reconfigura \SpecialChar LaTeX
17331 —en el caso de te\SpecialChar TeX
17336 , como root si es necesario.
17338 no se ocupa de esto?)—; reconfigura \SpecialChar LyX
17339 y ya debería funcionar.
17342 \begin_layout Subsection
17346 \begin_layout Standard
17347 Un gran número de estilos tipo teorema –
17349 Afirmación, Conjetura,
17359 \begin_layout Standard
17362 Nota_Encabezado, Dedicatoria, Subtítulo, Título_\SpecialChar LaTeX
17363 _Puesto, Autor_Puesto, Instituto
17364 , Correo, Separatas, Palabras_clave, Agradecimientos
17367 Véase la documentación de la clase Springer para más detalles.
17370 \begin_layout Subsection
17371 Publicaciones soportadas
17374 \begin_layout Itemize
17386 \begin_layout Itemize
17389 Probability Theory and Related Fields
17395 — Jean-Marc Lasgouttes
17398 \begin_layout Standard
17399 ¡Añade el tuyo, no es tan duro!
17402 \begin_layout Subsection
17403 CréditosCarpeta sin título
17406 \begin_layout Standard
17407 Estos archivos están basados parcialmente en el antiguo
17411 , basado a su vez en una versión modificada de un antiguo archivo de estilo
17412 de \SpecialChar LaTeX
17418 Todo esto, y el archivo
17422 layout, están obsoletos.
17423 Jean-Marc Lasgouttes me ayudó mucho a encontrar mi propio mecanismo para
17424 el archivo de formato de \SpecialChar LyX
17428 \begin_layout Subsection
17432 \begin_layout Standard
17434 Pero probablemente menos que en el antiguo
17438 de \SpecialChar LaTeX
17442 \begin_layout Section
17449 \begin_inset CommandInset label
17458 \begin_layout Standard
17466 \begin_layout Subsection
17470 \begin_layout Standard
17471 Esta sección describe cómo usar \SpecialChar LyX
17472 para hacer transparencias para proyectores.
17473 Hay dos clases de documento que pueden hacer esto: la clase predeterminada
17484 Esta sección se ocupa de la primera de ellas.
17487 \begin_layout Standard
17488 Lo voy a repetir alto y claro, para que no haya equívocos:
17491 \begin_layout Standard
17492 \begin_inset VSpace medskip
17498 \begin_layout Standard
17502 En esta sección se explica
17507 \begin_inset space ~
17512 slides (predeterminada)
17518 \begin_layout Standard
17519 \begin_inset VSpace medskip
17525 \begin_layout Standard
17526 Si buscas la documentación para
17527 \begin_inset Quotes cld
17532 slides (Foil\SpecialChar TeX
17536 \begin_inset Quotes crd
17539 , mira en la sección
17540 \begin_inset space ~
17544 \begin_inset CommandInset ref
17546 reference "sec:foiltex"
17556 \begin_inset Quotes cld
17561 slides (Foil\SpecialChar TeX
17565 \begin_inset Quotes crd
17568 ) es realmente un poco mejor que la clase predeterminada
17576 \begin_layout Plain Layout
17578 o eso se dice repetidamente por sus defensores.
17579 Puesto que no la he usado nunca, no tengo ni idea si es cierto o no.
17584 que se explica en esta sección.
17587 \begin_layout Standard
17588 Esta clase es una mejora del antiguo paquete
17593 de \SpecialChar LaTeX2e
17595 Toda distribución de \SpecialChar LaTeX2e
17596 la incluye (nos referiremos desde ahora a
17597 \begin_inset Quotes cld
17605 \begin_inset Quotes crd
17608 ), así que lo tendrás.
17609 Como anoté antes, hay otras clases, como
17613 , que también produce transparencias y hace mejor su tarea.
17614 Sin embargo, hay ciertas cosas que
17618 puede hacer que los otros no pueden, como capas superpuestas.
17619 ¡Sigue leyendo para saber más!
17622 \begin_layout Subsection
17624 \begin_inset CommandInset label
17626 name "sec:slidesetup"
17633 \begin_layout Standard
17634 Obviamente, para usar esta clase debes escoger
17635 \begin_inset Quotes cld
17643 \begin_inset Quotes crd
17648 Documento\SpecialChar menuseparator
17652 Algunas cosas que debes saber sobre esta clase:
17655 \begin_layout Itemize
17656 No enredes con cambios en las opciones
17665 No es soportado por
17672 \begin_layout Itemize
17676 \begin_inset space ~
17680 \begin_inset space ~
17685 se porta un poco distinto para esta clase.
17686 Las opciones disponibles y su efecto son:
17690 \begin_layout Description
17695 La salida tiene números de página en la esquina inferior derecha.
17698 \begin_layout Description
17707 , pero además imprime los marcadores de tiempo que hayas puesto.
17708 Esta es la opción por omisión.
17711 \begin_layout Description
17716 La salida no imprime ni números de pàgina ni marcadores, nada.
17720 \begin_layout Itemize
17725 tiene una opción extra:
17731 \begin_inset Quotes cld
17739 \begin_inset Quotes crd
17742 en las opciones de la configuración de clase.
17746 \begin_layout Standard
17747 Usar estas opciones te permite añadir marcadores de tiempo a las
17755 \begin_layout Standard
17756 También puedes utilizar la plantilla
17757 \begin_inset Quotes cld
17765 \begin_inset Quotes crd
17768 para preparar un nuevo documento de esta clase, con
17770 Archivo\SpecialChar menuseparator
17772 \begin_inset space ~
17776 \begin_inset space ~
17782 La plantilla contiene algunos ejemplos de entornos de párrafo especiales
17784 Se describirán a continuación.
17787 \begin_layout Subsection
17788 Entornos de párrafo
17791 \begin_layout Subsubsection
17792 Entornos soportados
17795 \begin_layout Standard
17796 La primera cosa que observarás cuando inicies un documento
17800 es el tipo y tamaño de tipografía:
17803 \begin_inset space ~
17813 Es también la tipografía que se utiliza en la salida.
17814 Interpreta esto como un
17815 \begin_inset Quotes cld
17819 \begin_inset Quotes crd
17822 que te recuerda que es una transparencia.
17823 En realidad las transparencias finales pueden usar una tipografía más grande,
17824 por tanto dispondrás de menos espacio.
17825 Es decir, la tipografía grande en pantalla no es WYSIWYG, es solo un recordator
17829 \begin_layout Standard
17830 La segunda cosa que llamará la atención es el cuadro desplegable de los
17831 entornos de párrafo ( a la izquierda de la barra de herramientas).
17832 La mayoría de los entornos que estás acostumbrado a ver ahí están ausentes.
17833 Y hay cinco nuevos.
17834 Esto se debe a que la clase
17838 por sí misma solo soporta un cierto número de entornos de párrafo:
17841 \begin_layout Itemize
17847 \begin_layout Itemize
17853 \begin_layout Itemize
17859 \begin_layout Itemize
17865 \begin_layout Itemize
17871 \begin_layout Itemize
17877 \begin_layout Itemize
17883 \begin_layout Itemize
17889 \begin_layout Itemize
17895 \begin_layout Itemize
17898 Código-\SpecialChar LyX
17902 \begin_layout Standard
17903 Todos los demás entornos estándar, incluyendo los de cabeceras de sección,
17904 no funcionan en la clase
17911 \begin_layout Standard
17912 Por otra parte, verás los siguientes nuevos entornos:
17915 \begin_layout Itemize
17921 \begin_layout Itemize
17927 \begin_layout Itemize
17933 \begin_layout Itemize
17939 \begin_layout Itemize
17945 \begin_layout Standard
17946 Estos cinco tienen ciertas peculiaridades debido a una
17947 \begin_inset Quotes cld
17951 \begin_inset Quotes crd
17954 de \SpecialChar LyX
17956 Verás, \SpecialChar LyX
17957 no permite anidar ningún entorno de párrafo en un entorno vacío.
17958 Bien, esto es fino y elegante, pero significa que no podrás comenzar una
17959 transparencia con nada que no sea texto simple.
17960 Para evitar esto, he hecho un poco de
17961 \begin_inset Quotes cld
17964 magia \SpecialChar LaTeX
17966 \begin_inset Quotes crd
17972 \begin_layout Subsubsection
17973 Peculiaridades de los nuevos entornos
17974 \begin_inset CommandInset label
17976 name "sec:slide-Peculiaridades"
17983 \begin_layout Standard
17984 Los cinco entornos nuevos son un poco peculiares debido a limitaciones inherente
17985 s a \SpecialChar LyX
17987 Como he dicho, \SpecialChar LyX
17988 prohibe los entornos que comienzan con otro entorno.
17989 Para obviar esto, el entorno
17993 no se comporta como los entornos de párrafo típicos descritos en la
18001 \begin_layout Standard
18014 deberían considerarse
18015 \begin_inset Quotes cld
18019 \begin_inset Quotes crd
18023 Tienen el aspecto de una cabecera de sección o de un
18024 \begin_inset Quotes cld
18032 \begin_inset Quotes crd
18035 , pero realmente comienzan (y si es necesario finalizan el anterior) un
18036 entorno de párrafo.
18037 De igual manera, considera
18046 \begin_inset Quotes cld
18050 \begin_inset Quotes crd
18054 Estos dos realizan acciones.
18057 \begin_layout Standard
18058 Una característica común a los cinco entornos,
18078 , es una etiqueta más bien larga.
18079 El texto que sigue a la etiqueta —generalmente los contenidos del entorno
18080 de párrafo— no es tenido en cuenta.
18082 lo ignora completamente.
18083 De hecho, puedes dejar estos cinco entornos totalmente vacíos.
18087 \begin_layout Standard
18092 que poner texto tras la etiqueta, puedes hacerlo.
18093 Podría ser, por ejemplo, una breve descripción del contenido de la
18098 En ese caso, introduce tu texto y pulsa
18102 como harías normalmente.
18105 \begin_layout Standard
18106 Si, por otra parte, no deseas introducir ningún texto descriptivo, puedes
18107 utilizar otra peculiaridad de \SpecialChar LyX
18110 , como la naturaleza, siente horror al vacío, y no te permitirá iniciar
18111 un nuevo entorno de párrafo hasta que pongas algo en el anterior.
18112 En ese caso puedes hacer esto:
18115 \begin_layout Itemize
18116 Comienza introduciendo el texto que
18144 \begin_layout Itemize
18145 Sitúate ahora en el principio de ese párrafo.
18149 \begin_layout Itemize
18158 \begin_layout Itemize
18159 Por último, cambia este nuevo párrafo vacío a
18182 \begin_layout Standard
18183 Confiemos en que alguna futura versión de \SpecialChar LyX
18184 resuelva esta peculiaridad\SpecialChar ldots
18188 \begin_layout Subsection
18189 Hacer una presentación con
18202 \begin_layout Subsubsection
18203 Utilizar el entorno
18208 \begin_layout Standard
18209 Si esperas que esta sección te enseñe a realizar una presentación, te vas
18211 Naturalmente, describiré todas las formas en que la clase
18215 te ayudará a preparar una presentación.
18216 Completar el contenido es tarea tuya.
18217 (Esta es, también, la filosofía de \SpecialChar LyX
18222 \begin_layout Standard
18223 Al escoger el entorno
18227 (como se indica en la sección
18228 \begin_inset space ~
18232 \begin_inset CommandInset ref
18234 reference "sec:slide-Peculiaridades"
18239 comienza una nueva.
18240 El marcador para este entorno/
18241 \begin_inset Quotes cld
18245 \begin_inset Quotes crd
18249 \begin_inset Quotes cld
18253 \begin_inset Quotes crd
18256 en azul con la etiqueta
18257 \begin_inset Quotes cld
18261 \begin_inset Quotes crd
18267 \begin_layout Standard
18268 Cualquier texto o entorno de párrafo que siga a este irá en la nueva diapositiva.
18272 \begin_layout Standard
18273 Probablemente, en las diapositivas necesitarás forzar saltos de página en
18275 (puede especificarse en el diálogo
18277 Insertar\SpecialChar menuseparator
18281 De hecho, tendrás que hacerlo una vez acabes el contenido de una transparencia.
18282 Si has introducido más texto del que cabe en una transparencia, el sobrante
18284 Sin embargo no lo recomiendo, puesto que la diapositiva con el texto excedente
18285 no tendrá número de página.
18286 Además, puede interferir con algún
18290 que hayas incluido en la transparencia sobredimensionada.
18293 \begin_layout Standard
18302 funcionan como el entorno
18308 \begin_inset Quotes cld
18312 \begin_inset Quotes crd
18316 \begin_inset Quotes cld
18320 \begin_inset Quotes crd
18324 \begin_inset Quotes cld
18328 \begin_inset Quotes crd
18336 color es magenta en vez de azul, y la
18337 \begin_inset Quotes cld
18341 \begin_inset Quotes crd
18344 tiene un aspecto diferente en estilo y longitud.
18345 La tipografía de las etiquetas de las tres también es diferente en cada
18349 \begin_layout Standard
18354 , si los contenidos de una
18362 exceden el espacio físico de la diapositiva o del papel, el texto sobrante
18363 ocupa una nueva hoja.
18364 De nuevo lo desaconsejamos porque las
18372 s carecerían de utilidad.
18375 \begin_layout Subsubsection
18385 \begin_layout Standard
18390 es una transparencia que se superpone a otra.
18391 Supón que quieres presentar una figura en una diapositiva antes que el
18392 texto que la acompaña.
18393 Una forma de conseguirlo es ocultar con papel negro la parte que quieres
18394 que se muestre más tarde.
18395 Sin embargo, este método no sirve si quieres superponer un gráfico a otro,
18397 Entonces tendrías que trastear con las transparencias, mientras sigues
18398 hablando, para superponerlas de manera que los gráficos queden correctamente
18404 , ambas cosas son mucho más sencillas.
18407 \begin_layout Standard
18412 tiene el mismo número de página que la
18417 \begin_inset Quotes cld
18421 \begin_inset Quotes crd
18425 \begin_inset Quotes cld
18429 \begin_inset Quotes crd
18436 \begin_layout Plain Layout
18437 Presumiblemente, múltiples
18442 \begin_inset Quotes cld
18450 \begin_inset Quotes crd
18454 \begin_inset Quotes cld
18462 \begin_inset Quotes crd
18466 \begin_inset Quotes cld
18474 \begin_inset Quotes crd
18478 \begin_inset space ~
18481 tras el número de página de la
18486 \begin_inset Quotes cld
18490 \begin_inset Quotes crd
18499 ¡Efectivamente, quieres que la Diapositiva
18507 cuenten como si fueran una sola página! Probablemente deberías considerar
18513 \begin_inset Quotes cld
18517 \begin_inset Quotes crd
18533 en \SpecialChar LyX
18534 : la etiqueta al principio de un
18538 es más corta que la de comienzo de una
18543 Por último, al generar salida impresa, verás marcas de alineación en las
18544 cuatro esquinas de las páginas de la
18553 Esas marcas te ayudarán a alinear físicamente las dos transparencias.
18556 \begin_layout Standard
18557 El mayor problema para superponer dos transparencias es alinear sus contenidos.
18558 ¿Qué espacio habrá que dejar para tal gráfico en la segunda transparencia?
18559 Peor aún, ¿qué pasa si quieres un gráfico y una frase en la segunda transparenc
18560 ia, pero en la primera hay texto que debe aparecer entre ellos? Podrías
18561 probar a insertar un espacio vertical adecuado, pero el mejor método es
18573 \begin_layout Standard
18574 Como su nombre indica,
18582 son entornos de párrafo que hacen invisible o visible, respectivamente,
18583 todo el texto siguiente.
18584 Sin embargo, ten en cuenta que no colocas nada
18588 de estos entornos, recuerda la sección
18589 \begin_inset space ~
18593 \begin_inset CommandInset ref
18595 reference "sec:slide-Peculiaridades"
18604 , se inserta una etiqueta en azul-cielo, centrada en la página con la leyenda
18605 <Invisible Text Follows>.
18606 Los párrafos que siguen a esta etiqueta en la
18614 (da lo mismo) se sustituyen por el espacio en blanco equivalente.
18617 \begin_layout Standard
18622 , la etiqueta tiene la leyenda <Visible Text Follows>
18623 \begin_inset space ~
18627 Los párrafos que la siguen se comportan normalmente.
18628 Ten en cuenta que el inicio de
18640 desactiva automáticamente la función
18645 No es necesario utilizar
18656 \begin_layout Standard
18657 Ya deberíamos estar listos para crear transparencias superpuestas con la
18658 adecuada combinación de
18677 \begin_layout Enumerate
18682 , incluyendo todo lo que debe aparecer en ella y en los
18689 \begin_layout Enumerate
18690 Antes de cada figura o párrafo que vaya a salir solo en un
18694 , inserta un entorno
18699 Si es necesario, inserta un entorno
18703 tras el texto que pertenece solo al
18710 \begin_layout Enumerate
18715 inmediatamente detrás de la
18722 \begin_layout Enumerate
18723 Copia los contenidos de esta
18734 \begin_layout Enumerate
18739 , cambia todas las líneas del
18750 \begin_layout Standard
18752 Acabas de hacer una transparencia superpuesta.
18755 \begin_layout Standard
18756 Hay un problema con el procedimiento que he diseñado para la clase
18760 en \SpecialChar LyX
18761 : no puedes hacer invisible un texto en mitad de un párrafo, ni hacer
18762 visible un texto dentro de un párrafo invisible.
18763 Para conseguirlo necesitarás usar algo de código \SpecialChar LaTeX
18768 \begin_layout Plain Layout
18769 Los comandos de interés son:
18772 \begin_layout Itemize
18777 invisible \SpecialChar ldots
18781 \begin_layout Itemize
18786 visible \SpecialChar ldots
18790 \begin_layout Plain Layout
18792 que deben marcarse como \SpecialChar TeX
18794 El texto \SpecialChar ldots
18800 \begin_inset Quotes cld
18804 \begin_inset Quotes crd
18807 quieres cambiar debe ir a continuación del comando
18819 , y todo ello entre llaves { }.
18820 Si no sabes cómo se marca un texto como \SpecialChar TeX
18821 , consulta la sección adecuada
18834 \begin_layout Subsubsection
18844 \begin_layout Standard
18853 está asociada a una
18861 \begin_inset Quotes cld
18865 \begin_inset Quotes crd
18869 También \SpecialChar LyX
18874 visualmente: La etiqueta para una
18878 es más corta que la de una
18882 pero más larga que la de
18886 y, como este, en color magenta.
18891 tiene en la salida el número de página de la
18896 \begin_inset Quotes cld
18900 \begin_inset Quotes crd
18904 \begin_inset Quotes cld
18912 \begin_inset Quotes crd
18916 \begin_inset Quotes cld
18924 \begin_inset Quotes crd
18928 \begin_inset Quotes cld
18936 \begin_inset Quotes crd
18940 Puedes poner varias
18956 , seguramente te interesará cortar las
18960 largas para que quepan en una hoja.
18963 \begin_layout Standard
18964 El propósito de una
18968 es evidente: hacer comentarios adicionales al contenido principal.
18969 También podría utilizarse como recordatorio en una
18974 En este caso, podrías hacer uso de marcadores de tiempo.
18975 Actualmente, la clase
18979 no tiene en \SpecialChar LyX
18981 \begin_inset Quotes cld
18985 \begin_inset Quotes crd
18988 para marcadores de tiempo, una función de
18994 Por tanto tendrías que usar código \SpecialChar LaTeX
18998 \begin_layout Standard
18999 Para usar marcadores de tiempo debes especificar la opción extra de clase
19001 \begin_inset Quotes cld
19009 \begin_inset Quotes crd
19013 \begin_inset space ~
19017 \begin_inset CommandInset ref
19019 reference "sec:slidesetup"
19024 Esta opción habilita marcas de tiempo que se mostrarán en la esquina inferior
19030 Para establecer lo que aparecerá en el marcador de tiempo, usa los comandos
19033 \begin_inset Quotes cld
19043 \begin_inset Quotes crd
19047 \begin_inset Quotes cld
19057 \begin_inset Quotes crd
19061 El argumento de ambos comandos es un tiempo expresado en segundos.
19063 \begin_inset Quotes cld
19073 \begin_inset Quotes crd
19076 fija el marcador en un instante dado.
19078 \begin_inset Quotes cld
19088 \begin_inset Quotes crd
19091 incrementa el marcador en la cantidad de tiempo especificada.
19092 Usar los marcadores de tiempo y las
19096 de esta manera te recordará cuanto tiempo emplear en una
19103 \begin_layout Standard
19104 Queda por describir una característica.
19105 Seguramente te gustaría imprimir todas tus
19113 en transparentes y las
19130 a la que están asociadas.
19131 ¿Qué hacer entonces?
19134 \begin_layout Standard
19135 Afortunadamente hay dos comandos \SpecialChar LaTeX
19136 que permiten seleccionar lo que se ha
19138 Se deben poner en el preámbulo del documento.
19140 \begin_inset Quotes cld
19152 \begin_inset Quotes crd
19155 hará que la salida solo contenga las
19164 De igual manera, el comando
19165 \begin_inset Quotes cld
19177 \begin_inset Quotes crd
19185 Aconsejo poner ambos comandos en el preámbulo pero desactivados mediante
19186 un comentario a principio de línea para que puedas ver preliminares de
19187 toda la presentación.
19188 A la hora de imprimir, puedes descomentar uno de ellos para imprimir esa
19190 Tengo la costumbre de descomentar
19191 \begin_inset Quotes cld
19203 \begin_inset Quotes crd
19206 , exportar a un archivo con
19207 \begin_inset Quotes cld
19215 \begin_inset Quotes crd
19218 en el nombre, comentarlo de nuevo, ahora descomentar
19219 \begin_inset Quotes cld
19231 \begin_inset Quotes crd
19234 y exportar a otro archivo con
19235 \begin_inset Quotes cld
19243 \begin_inset Quotes crd
19247 Entonces puedo mandar ambos archivos a la impresora poniendo transparentes
19248 o papel según convenga.
19251 \begin_layout Standard
19252 También puedes poner otros argumentos a los comandos
19253 \begin_inset Quotes cld
19263 \begin_inset Quotes crd
19267 \begin_inset Quotes cld
19277 \begin_inset Quotes crd
19281 Consulta un buen libro sobre \SpecialChar LaTeX
19285 \begin_layout Subsection
19286 La plantilla para la clase
19291 \begin_layout Standard
19292 He preparado también un archivo modelo,
19293 \begin_inset Quotes cld
19301 \begin_inset Quotes crd
19309 Para empezar tu presentación con él abrelo con
19311 Archivo\SpecialChar menuseparator
19313 \begin_inset space ~
19317 \begin_inset space ~
19323 Contiene un ejemplo de presentación con el trío
19344 tienen además un ejemplo del uso de TextoI
19353 Por último, el preámbulo contiene:
19356 \begin_layout LyX-Code
19357 % Uncomment to print out only slides and overlays
19361 \begin_layout Plain Layout
19363 \begin_inset Quotes cld
19367 \begin_inset Quotes crd
19370 ) para imprimir solo diapositivas y superpuestos.
19384 \begin_layout LyX-Code
19388 \begin_layout LyX-Code
19394 \begin_inset Newline newline
19400 \begin_layout LyX-Code
19401 % Uncomment to print out only notes
19405 \begin_layout Plain Layout
19407 \begin_inset Quotes cld
19411 \begin_inset Quotes crd
19414 ) para imprimir solo las notas.
19428 \begin_layout LyX-Code
19432 \begin_layout LyX-Code
19440 \begin_layout Standard
19441 Un apunte final: He creado esta clase para dar soporte a la clase integrante
19442 de \SpecialChar LaTeX2e
19444 \begin_inset Quotes cld
19453 \begin_inset Quotes crd
19457 Ni yo ni el resto del equipo \SpecialChar LyX
19458 aprobamos o desaprobamos el empleo de esta
19460 A tí te corresponde decidir si la necesitas.
19461 Hay otras clases de \SpecialChar LaTeX2e
19462 para crear presentaciones, como
19467 \begin_inset space ~
19471 \begin_inset CommandInset ref
19473 reference "sec:foiltex"
19478 \begin_inset Quotes cld
19486 \begin_inset Quotes crd
19489 (presente en algunas distribuciones de \SpecialChar TeX
19491 Este último aún no es soportado por \SpecialChar LyX
19496 \begin_layout Plain Layout
19497 Quizá quieras abordar tú la tarea\SpecialChar ldots
19503 No conozco estas otras clases.
19504 Puedes probarlas para ver qué alternativas te ofrecen.
19507 \begin_layout Chapter
19508 Características de \SpecialChar LyX
19509 que requieren software adicional
19510 \begin_inset Argument 1
19513 \begin_layout Plain Layout
19522 \begin_layout Section
19523 Comprobar \SpecialChar TeX
19527 \begin_layout Standard
19533 \begin_layout Subsection
19537 \begin_layout Standard
19546 \begin_layout Plain Layout
19547 Aún no disponible en la distribución Mik\SpecialChar TeX
19557 encontrarás la opción
19560 \begin_inset space ~
19566 Para que esté disponible necesitas instalar el programa
19571 Puedes obtenerlo de CTAN,
19572 \begin_inset Newline newline
19576 \begin_inset CommandInset href
19578 target "https://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
19586 \begin_layout Standard
19589 Chk\SpecialChar TeX
19597 , a causa de la frustración que generan algunas construcciones de \SpecialChar LaTeX
19599 intuitivas y fáciles de olvidar.
19600 El programa se ejecuta sobre el archivo \SpecialChar LaTeX
19601 y comprueba la integridad del
19602 mismo, identificando algunos errores comunes.
19603 En palabras técnicas, es como
19607 para \SpecialChar LaTeX
19611 \begin_layout Standard
19612 Bien, ¿qué pinta un revisor de sintaxis en \SpecialChar LyX
19613 , que se supone que siempre genera
19615 correcto? La respuesta es sencilla: Igual que
19619 no solo comprueba la
19623 de programas C, sino que también comprueba la
19631 busca de errores de tipografía,
19633 Chk\SpecialChar TeX
19636 detecta, además de los errores sintácticos, errores
19640 comunes, tales como
19643 \begin_layout Itemize
19644 Puntos suspensivos incorrectos:
19645 \begin_inset Newline newline
19648 Usa \SpecialChar ldots
19652 \begin_layout Itemize
19653 Espacio junto a los paréntesis:
19654 \begin_inset Newline newline
19657 ( espaciado incorrecto )
19660 \begin_layout Itemize
19661 Introducción de espacio normal tras abreviaciones:
19662 \begin_inset Newline newline
19667 es un espacio demasiado grande.
19670 \begin_layout Itemize
19671 Colocación de un espacio fin-de-frase cuando la última frase acaba con mayúscula
19673 \begin_inset Newline newline
19677 Y esto un espacio incorrecto.
19680 \begin_layout Itemize
19681 Espacio ante etiquetas y otros comandos:
19682 \begin_inset Newline newline
19685 La etiqueta debe estar pegada al texto precedente para evitar un salto de
19686 línea o página en mal sitio.
19688 \begin_inset CommandInset label
19698 \begin_layout Plain Layout
19699 Esta nota podría salir en una página inadecuada.
19704 La etiqueta está demasiado separada.
19707 \begin_layout Itemize
19708 Espacio no protegido ante las referencias:
19709 \begin_inset Newline newline
19712 Si te despistas en esto, el texto podría saltar de línea justo entre él
19713 y el número de la referencia, lo que se ve feo.
19715 \begin_inset CommandInset ref
19717 reference "sec:chktex"
19724 \begin_layout Itemize
19726 \begin_inset Quotes eld
19730 \begin_inset Quotes erd
19734 \begin_inset Formula $\times$
19738 \begin_inset Newline newline
19741 2x2 se ve cutre comparado con
19742 \begin_inset Formula $2\times2$
19748 \begin_layout Standard
19749 y más\SpecialChar ldots
19750 Es una herramienta imprescindible una vez acabado tu documento y hecha
19751 la revisión ortográfica; antes de afinar la composición del documento e
19752 imprimirlo deberías ejecutar
19754 Chk\SpecialChar TeX
19760 \begin_layout Subsection
19764 \begin_layout Standard
19765 Si el programa está instalado, se ejecuta con
19767 Herramientas\SpecialChar menuseparator
19769 \begin_inset space ~
19776 genera entonces un archivo \SpecialChar LaTeX
19777 del documento, inicia
19779 Chk\SpecialChar TeX
19782 para revisarlo, e inserta
19783 \begin_inset Quotes cld
19787 \begin_inset Quotes crd
19790 con las advertencias de
19792 Chk\SpecialChar TeX
19796 Las advertencias se situarán cerca del error, y puedes navegar entre ellas
19797 con la opción de menú
19799 Navegar\SpecialChar menuseparator
19802 , o con el atajo de teclado
19811 Los cuadros de error se abren pulsando sobre ellos o con el atajo
19828 Lee las advertencias y corrige los errores.
19829 Si no tienes ni idea de qué va un mensaje puedes ignorarlo limpiamente.
19830 Recuerda que hay un estrato oculto entre el documento en pantalla y los
19831 detalles técnicos al ejecutar
19833 Chk\SpecialChar TeX
19836 , por lo que pueden aparecer algunos avisos de aspecto misterioso o absurdo.
19839 \begin_layout Standard
19840 Este documento es un excelente banco de pruebas para esta característica,
19841 con el que comprobar la presencia de advertencias y enredar con ellas.
19842 Aunque, como los ordenadores son tan listos, confía en que la mayoría de
19843 advertencias serán falsas alarmas.
19846 \begin_layout Subsection
19850 \begin_layout Standard
19851 A veces observarás que con
19853 Chk\SpecialChar TeX
19856 hay más ruido que nueces.
19857 Puedes elegir no usarlo, o intentar personalizar
19859 Chk\SpecialChar TeX
19862 para adaptarlo a tus necesidades.
19865 \begin_layout Standard
19868 Chk\SpecialChar TeX
19875 muy configurable y ampliable, no esperes resolver todos los problemas de
19879 Chk\SpecialChar TeX
19883 Como \SpecialChar LyX
19884 ha de generar un archivo \SpecialChar LaTeX
19885 un tanto especial para poder casar los
19886 números de línea de la salida de
19888 Chk\SpecialChar TeX
19891 con la estructura interna del documento
19895 \begin_layout Plain Layout
19896 Puedes inspeccionar la salida de
19902 Documento\SpecialChar menuseparator
19904 \begin_inset space ~
19908 \begin_inset space ~
19923 , algunos de los avisos no estarán bien colocados.
19924 Puedes hacer dos cosas:
19927 \begin_layout Itemize
19928 Afinar la línea de comandos de
19930 Chk\SpecialChar TeX
19939 Salidas\SpecialChar menuseparator
19943 ), o el archivo de configuración global de
19945 Chk\SpecialChar TeX
19948 (normalmente se ubica en
19949 \begin_inset Newline newline
19954 /usr/local/share/chktexrc
19957 Véase más adelante qué advertencias se pueden activar o desactivar en la
19962 \begin_layout Itemize
19963 Exporta tu documento a un archivo \SpecialChar LaTeX
19968 Archivo\SpecialChar menuseparator
19969 Exportar\SpecialChar menuseparator
19977 Ejecutado así, puede ser peliagudo encontrar el lugar correspondiente en
19978 el documento \SpecialChar LyX
19979 , pero con un poco de paciencia lo lograrás.
19982 \begin_layout Standard
19983 A continuación se listan los mensajes de error que pueden ser activados
19993 para desactivar un aviso, y
19998 Las entradas en énfasis están desactivadas por omisión, porque de forma
19999 predeterminada se ejecuta como "
20001 chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38
20006 \begin_layout Standard
20007 Ten en cuenta que solo deberías usar las opciones que activan o desactivan
20008 avisos, porque las demás las usa \SpecialChar LyX
20009 de manera específica para comunicarse
20017 \begin_layout Enumerate
20021 Command terminated with space.
20022 (Comando finalizado con un espacio
20029 \begin_layout Enumerate
20032 Non-breaking space (
20033 \begin_inset Quotes eld
20041 \begin_inset Quotes erd
20044 ) should have been used.
20049 debería haber usado un espacio protegido
20050 \begin_inset Quotes cld
20054 \begin_inset Quotes crd
20060 \begin_layout Enumerate
20064 You should enclose the previous parenthesis with
20065 \begin_inset Quotes eld
20073 \begin_inset Quotes erd
20080 (Deberías cerrar los paréntesis previos con
20085 \begin_inset Quotes cld
20089 \begin_inset Quotes crd
20095 \begin_layout Enumerate
20098 Italic correction (
20099 \begin_inset Quotes eld
20109 \begin_inset Quotes erd
20112 ) found in non-italic buffer.
20113 (Corrección de cursiva (
20114 \begin_inset Quotes cld
20120 \begin_inset Quotes crd
20123 ) en un grupo que no está en cursiva)
20126 \begin_layout Enumerate
20129 Italic correction (
20130 \begin_inset Quotes eld
20140 \begin_inset Quotes erd
20143 ) found more than once.
20144 (Corrección de cursiva (
20145 \begin_inset Quotes cld
20151 \begin_inset Quotes crd
20157 \begin_layout Enumerate
20161 No italic correction (
20162 \begin_inset Quotes eld
20172 \begin_inset Quotes erd
20176 (Corrección de cursiva (
20179 \begin_inset Quotes cld
20185 \begin_inset Quotes crd
20197 \begin_layout Enumerate
20201 \begin_inset Quotes eld
20209 \begin_inset Quotes erd
20213 \begin_inset Quotes eld
20221 \begin_inset Quotes erd
20226 \begin_inset Quotes cld
20230 \begin_inset Quotes crd
20234 \begin_inset Quotes cld
20238 \begin_inset Quotes crd
20244 \begin_layout Enumerate
20247 Wrong length of dash may have been used.
20248 (Quizá se ha usado un guión de longitud inadecuada)
20251 \begin_layout Enumerate
20255 \begin_inset Quotes eld
20263 \begin_inset Quotes erd
20267 \begin_inset Quotes eld
20275 \begin_inset Quotes erd
20280 \begin_inset Quotes cld
20284 \begin_inset Quotes crd
20288 \begin_inset Quotes cld
20292 \begin_inset Quotes crd
20298 \begin_layout Enumerate
20302 \begin_inset Quotes eld
20310 \begin_inset Quotes erd
20314 (Se ha encontrado un solo
20315 \begin_inset Quotes cld
20319 \begin_inset Quotes crd
20325 \begin_layout Enumerate
20329 \begin_inset Quotes eld
20337 \begin_inset Quotes erd
20340 to achieve an ellipsis.
20342 \begin_inset Quotes cld
20346 \begin_inset Quotes crd
20349 para los puntos suspensivos)
20352 \begin_layout Enumerate
20355 Inter-word spacing (
20356 \begin_inset Quotes eld
20366 \begin_inset Quotes eld
20369 ) should perhaps be used.
20370 (Quizá tendría que ponerse un espacio entre palabras (
20371 \begin_inset Quotes cld
20377 \begin_inset Quotes crd
20383 \begin_layout Enumerate
20386 Inter-sentence spacing (
20387 \begin_inset Quotes eld
20397 \begin_inset Quotes erd
20400 ) should perhaps be used.
20401 (Quizá tendría que ponerse un espacio entre frases (
20402 \begin_inset Quotes cld
20408 \begin_inset Quotes crd
20414 \begin_layout Enumerate
20417 Could not find argument for command.
20418 (Argumento de comando no encontrado)
20421 \begin_layout Enumerate
20425 \begin_inset Quotes eld
20433 \begin_inset Quotes erd
20438 \begin_inset Quotes cld
20442 \begin_inset Quotes crd
20448 \begin_layout Enumerate
20451 Math mode still on at end of \SpecialChar LaTeX
20453 (El archivo \SpecialChar LaTeX
20454 termina en modo ecuación)
20457 \begin_layout Enumerate
20461 \begin_inset Quotes eld
20469 \begin_inset Quotes erd
20472 doesn't match the number of
20473 \begin_inset Quotes eld
20481 \begin_inset Quotes erd
20486 \begin_inset Quotes cld
20490 \begin_inset Quotes crd
20493 no corresponde con el número de
20494 \begin_inset Quotes cld
20498 \begin_inset Quotes crd
20504 \begin_layout Enumerate
20507 You should use either
20510 \begin_inset Quotes eld
20518 \begin_inset Quotes erd
20523 as an alternative to
20524 \begin_inset Quotes eld
20532 \begin_inset Quotes erd
20537 \begin_inset Quotes cld
20541 \begin_inset Quotes crd
20547 \begin_inset Quotes cld
20557 \begin_inset Quotes crd
20565 \begin_layout Enumerate
20572 " (ASCII 39) instead of "
20578 \begin_inset Quotes cld
20582 \begin_inset Quotes crd
20585 (ASCII 39) en lugar de
20586 \begin_inset Quotes cld
20590 \begin_inset Quotes crd
20596 \begin_layout Enumerate
20599 User-specified pattern found.
20600 (Se ha encontrado un patrón definido por el usuario)
20603 \begin_layout Enumerate
20606 This command might not be intended.
20607 (Comando posiblemente no buscado)
20610 \begin_layout Enumerate
20615 (Comentario mostrado)
20618 \begin_layout Enumerate
20649 \begin_layout Enumerate
20652 Delete this space to maintain correct page references.
20653 (Borra este espacio para mantener las referencias de página)
20656 \begin_layout Enumerate
20660 You might wish to put this between a pair of
20661 \begin_inset Quotes eld
20669 \begin_inset Quotes erd
20673 (Esto quizá estaría mejor entre llaves
20674 \begin_inset Quotes cld
20678 \begin_inset Quotes crd
20684 \begin_layout Enumerate
20687 You ought to remove spaces in front of punctuation.
20688 (Debes quitar espacios delante de la puntuación)
20691 \begin_layout Enumerate
20694 Could not execute \SpecialChar LaTeX
20696 (No se puede ejecutar comando \SpecialChar LaTeX
20700 \begin_layout Enumerate
20709 in front of small punctuation.
20716 delante de un punto)
20719 \begin_layout Enumerate
20727 may look prettier here.
20728 (Aquí quedaría mejor
20738 \begin_layout Enumerate
20742 Multiple spaces detected in output.
20743 (Se detectan espacios múltiples en la salida)
20746 \begin_layout Enumerate
20749 This text may be ignored.
20750 (Este texto podría no tenerse en cuenta)
20753 \begin_layout Enumerate
20759 \begin_inset Quotes eld
20764 to begin quotation, not
20769 (Usa `` para comenzar una cita, no ')
20772 \begin_layout Enumerate
20779 to end quotation, not
20782 \begin_inset Quotes eld
20788 (Usa ' para finalizar una cita, no ``)
20791 \begin_layout Enumerate
20795 (No mezcles distintos tipos de comillas)
20798 \begin_layout Enumerate
20801 You should perhaps use
20802 \begin_inset Quotes eld
20810 \begin_inset Quotes erd
20814 (Quizá sería mejor usar
20815 \begin_inset Quotes cld
20819 \begin_inset Quotes crd
20825 \begin_layout Enumerate
20828 You should put a space in front of/after parenthesis.
20829 (Deberías poner un espacio delante/detrás de los paréntesis)
20832 \begin_layout Enumerate
20835 You should avoid spaces in front of/after parenthesis.
20836 (Deberías evitar espacios delante/detrás de los paréntesis)
20839 \begin_layout Enumerate
20843 You should not use punctuation in front of/after quotes.
20844 (No deberías usar puntuación delante/detrás de comillas)
20847 \begin_layout Enumerate
20850 Double space found.
20851 (Espacio doble encontrado)
20854 \begin_layout Enumerate
20857 You should put punctuation outside inner/inside display math mode.
20858 (Deberías poner la puntuación fuera del modo ecuación)
20861 \begin_layout Enumerate
20864 You ought to not use primitive \SpecialChar TeX
20865 in \SpecialChar LaTeX
20867 (No debes usar primitivas de \SpecialChar TeX
20868 dentro de código \SpecialChar LaTeX
20872 \begin_layout Enumerate
20875 You should remove spaces in front of
20876 \begin_inset Quotes eld
20884 \begin_inset Quotes erd
20887 (Deberías quitar los espacios delante de
20888 \begin_inset Quotes cld
20892 \begin_inset Quotes crd
20898 \begin_layout Enumerate
20901 \begin_inset Quotes eld
20909 \begin_inset Quotes erd
20912 is normally not followed by
20913 \begin_inset Quotes eld
20921 \begin_inset Quotes erd
20926 \begin_inset Quotes cld
20930 \begin_inset Quotes crd
20933 normalmente no va seguido de
20934 \begin_inset Quotes cld
20938 \begin_inset Quotes crd
20944 \begin_layout Standard
20945 En las últimas versiones de \SpecialChar LyX
20946 esperamos proporcionar una interfaz más completa
20947 para esta herramienta (y su prima pequeña
20951 ) para aprovechar toda su potencia.
20952 Pero no deja de ser útil tal como está: prueba con alguno de tus documentos
20953 de cierta longitud y sorpréndete.
20956 \begin_layout Section
20957 Control de versiones en \SpecialChar LyX
20961 \begin_layout Standard
20964 Lars Gullik Bjønnes
20971 \begin_layout Subsection
20975 \begin_layout Standard
20977 soporta algunos comandos básicos de RCS/CVS/SVN/GIT.
20978 Si necesitas algo más sofisticado tendrás que hacerlo a mano en un terminal.
20981 \begin_layout Standard
20982 Además, hay que tener en cuenta que el soporte de CVS no es tan bueno como
20983 el de subversion, por lo que recomendamos SVN.
20984 Para empezar con Subversion es conveniente consultar el SVN Book.
20988 \begin_layout Plain Layout
20989 \begin_inset CommandInset href
20991 target "http://svnbook.red-bean.com/"
21001 Para RCS deberías leer
21002 \begin_inset Quotes cld
21006 \begin_inset Quotes crd
21014 Este archivo describe todas las características básicas de RCS.
21015 Deberías fijarte especialmente en el comentario sobre el directorio RCS
21016 y las nociones sobre el archivo maestro RCS (el que acaba en
21023 \begin_layout Standard
21024 Antes de usar el control de versiones en \SpecialChar LyX
21025 hay que conocer el uso de RCS/CVS/SVN/
21027 La implementación en \SpecialChar LyX
21028 asume el uso de versiones recientes de los paquetes
21029 GNU RCS o CVS/SVN —no hay garantías con versiones antiguas—.
21030 La mayoría de los mensajes de registro no son actualmente mostrados tras
21031 las operaciones —puedes comprobarlos en el panel Messages si no estás seguro.
21032 Los usuarios habituales de control de versiones apreciarán las herramientas
21035 Ver\SpecialChar menuseparator
21036 Barras de herramientas\SpecialChar menuseparator
21037 Control de versiones
21042 \begin_layout Standard
21043 Para introducir tus propios comandos externos consulta
21049 Funciones de \SpecialChar LyX
21055 \begin_layout Standard
21056 Es muy recomendable guardar los documentos sin comprimir si se usa control
21057 de versiones (desactiva
21059 Documento\SpecialChar menuseparator
21062 si lo está): los documentos \SpecialChar LyX
21063 sin comprimir son archivos de texto y por
21064 tanto factibles de ser mezclados por sistemas de control de versiones.
21065 Los documentos \SpecialChar LyX
21066 comprimidos son archivos binarios, no manejables por sistemas
21067 de control de versiones.
21071 \begin_layout Subsection
21072 Comandos RCS en \SpecialChar LyX
21076 \begin_layout Standard
21077 Las secciones siguientes describen los comandos RCS soportados por \SpecialChar LyX
21079 Los puedes encontrar en el submenú
21081 Archivo\SpecialChar menuseparator
21083 \begin_inset space ~
21087 \begin_inset space ~
21094 se ha probado con la versión RCS 5.7/5.8.
21097 \begin_layout Subsubsection
21103 \begin_layout Standard
21104 Si tu documento no está sometido a control de versiones, este es el único
21105 ítem mostrado en el submenú.
21106 Y si está sometido a control de versiones, el ítem
21114 \begin_layout Standard
21115 Este comando registra el documento con RCS\SpecialChar endofsentence
21116 Se te pide interactivamente una
21117 descripción inicial del documento.
21118 Por ahora, el documento está puesto en modo Solo-lectura y debes
21120 Liberar para edición
21122 antes de hacer cambios en él.
21123 Un documento bajo control de revisión tiene un ítem
21124 \begin_inset Quotes cld
21127 [RCS:<version> <locker>]
21128 \begin_inset Quotes crd
21131 junto al nombre de archivo en el búfer .
21134 \begin_layout Standard
21142 \begin_layout LyX-Code
21145 ci -q -u -i -t-"<descripción inicial>" <nombre-archivo>
21148 \begin_layout Standard
21153 para entender las opciones.
21157 \begin_layout Subsubsection
21163 \begin_layout Standard
21164 Cuando has acabado de editar un archivo liberas tus cambios.
21169 se te pide una descripción que se almacena en el historial.
21170 El número de versión es actualizado, tus cambios se aplican al archivo
21171 maestro RCS, el documento es desbloqueado y puesto en modo Solo-lectura.
21175 \begin_layout Itemize
21178 ci -q -u -m"<descripción>" <nombre-archivo>
21181 \begin_layout Subsubsection
21184 Reservar para edición
21187 \begin_layout Standard
21188 Haciendo esto bloqueas el documento de manera que solo tú puedes editarlo.
21189 Además el documento será de Lectura-Escritura únicamente para ti.
21190 Generalmente continuarás la edición un rato más y al acabar liberarás los
21192 La línea de estado cambia para indicar que has bloqueado el archivo.
21196 \begin_layout Itemize
21199 co -q -l <nombre-archivo>
21202 \begin_layout Subsubsection
21207 versión del repositorio
21210 \begin_layout Standard
21211 Esto descartará todos los cambios hechos en el documento desde la última
21212 liberación de cambios.
21213 Recibes un mensaje de aviso antes de descartar los cambios.
21219 \begin_layout Itemize
21222 co -f -u<version> <nombre-archivo>
21225 \begin_layout Subsubsection
21229 \begin_layout Standard
21230 Creará una copia del documento actual.
21231 Puesto que RCS no soporta nativamente operaciones de copia, el historial
21232 de versiones no se preserva y la copia se añade como archivo nuevo.
21233 Requiere un documento limpio sin ningún cambio desde la última liberación.
21234 Pedirá un nombre de archivo y una descripción de la operación de copia.
21235 Después se crea la copia localmente y en el repositorio.
21236 Si los directorios padre de los documentos original y copiado difieren,
21237 se ajustan todas las rutas relativas de los archivos incluidos en la copia
21240 Archivo\SpecialChar menuseparator
21245 Por último, se carga la copia en vez del documento original.
21248 \begin_layout Labeling
21249 \labelwidthstring 00.00.0000
21251 \begin_inset space ~
21255 \begin_inset space ~
21259 \begin_inset Newline newline
21263 \begin_inset Flex Code
21266 \begin_layout Plain Layout
21270 \begin_inset Quotes qld
21280 \begin_inset Quotes qld
21289 \begin_inset Flex Code
21292 \begin_layout Plain Layout
21296 \begin_inset Quotes qld
21302 <nuevo-nombre-archivo>
21306 \begin_inset Quotes qld
21315 \begin_inset Newline newline
21319 \begin_inset Flex Code
21322 \begin_layout Plain Layout
21327 \begin_inset Quotes qld
21333 <nuevo-nombre-archivo>
21337 \begin_inset Quotes qld
21344 \begin_inset Quotes erd
21355 \begin_layout Subsubsection
21358 Deshacer última liberación
21361 \begin_layout Standard
21362 Esto es como si la última liberación de cambios no hubiera sucedido.
21363 No se hacen cambios al documento cargado en \SpecialChar LyX
21364 , pero la última versión es
21365 eliminada del archivo maestro RCS.
21369 \begin_layout Itemize
21372 rcs -o<versión> <nombre-archivo>
21375 \begin_layout Subsubsection
21381 \begin_layout Standard
21382 Muestra el registro completo del historial del documento RCS.
21391 se muestra en un buscador.
21396 para más información.
21399 \begin_layout Subsubsection
21400 Información de revisión
21403 \begin_layout Standard
21405 soporta información de número de versión, autor, fecha y hora del último
21409 rlog -r <nombre-archivo>
21413 \begin_inset CommandInset ref
21415 reference "subsec:VCS-Información-de-revisión"
21422 \begin_layout Subsection
21423 Comandos CVS en \SpecialChar LyX
21427 \begin_layout Standard
21428 Ahora \SpecialChar LyX
21429 soporta un subconjunto de operaciones CVS.
21430 Puedes ver los comandos en el submenú
21432 Archivo\SpecialChar menuseparator
21433 Control de versiones
21436 El sistema de control de versiones SVN es más poderoso, por lo que úsalo
21437 en lugar de CVS, si es posible.
21440 \begin_layout Subsubsection
21444 \begin_layout Standard
21445 Si comienzas desde cero con CVS debes crear tu repositorio y reservar la
21446 copia de trabajo con herramientas externas.
21447 Si usas una configuración cliente-servidor puedes necesitar registrarte
21448 antes de hacer la primera reserva en el repositorio.
21451 \begin_layout Standard
21452 Si tus documentos están bajo control de revisión y otros usan el mismo repositor
21453 io surgen problemas cuando se hacen cambios en el mismo documento y en el
21455 Los repositorios estándar CVS no operan con bloqueo de archivos.
21456 Esto puede sorprender, pero los conflictos solo suceden si la gente discrepa
21457 sobre el adecuado contenido de la misma parte de un documento.
21458 Por tanto, si los colaboradores acostumbran a comunicarse regularmente,
21459 los conflictos ocurren raramente.
21460 Si no se comunican, tienen un problema fundamental de todos modos.
21461 Con todo, algunos prefieren trabajar con las denominadas
21462 \begin_inset Quotes cld
21465 reservas reservadas
21466 \begin_inset Quotes crd
21470 Si lo hacen así, la copia de trabajo de todos los archivos es de solo lectura
21471 cuando reservan primero y el usuario comienza la edición después de usar
21472 un comando especial para hacer posible la escritura en la copia de trabajo.
21473 Cuando los cambios son liberados la copia de trabajo vuelve al estado solo
21475 Con \SpecialChar LyX
21476 , uno debe editar el archivo
21477 \begin_inset Flex Code
21480 \begin_layout Plain Layout
21487 \begin_inset Flex Code
21490 \begin_layout Plain Layout
21497 \begin_inset Quotes cld
21500 reservas reservadas
21501 \begin_inset Quotes crd
21505 El beneficio es la posibilidad de ver quién está usando una copia con acceso
21506 a escritura de algún documento.
21507 No está garantizado que solo un usuario hace copias con permiso de escritura.
21510 \begin_layout Standard
21512 intenta averiguar si estás usando reservas reservadas o no.
21513 Si la copia de trabajo es solo lectura asume que es reservada, si admite
21514 escritura y una copia adicional del documento existe en el subdirectorio
21515 CVS/Base, asume que es no reservada.
21516 Si se detecta una reservada debes usar
21517 \begin_inset Flex Noun
21520 \begin_layout Plain Layout
21526 para poder escribir en ella.
21527 Después de hacerlo, la operación
21528 \begin_inset Flex Noun
21531 \begin_layout Plain Layout
21537 es posible y esto hace que tu copia de trabajo se haga de nuevo solo lectura
21538 después de transferir los cambios al repositorio.
21541 \begin_layout Standard
21542 Más información sobre CVS se puede encontrar en
21543 \begin_inset Flex URL
21546 \begin_layout Plain Layout
21548 http://www.nongnu.org/cvs
21554 \begin_inset Flex URL
21557 \begin_layout Plain Layout
21559 http://ximbiot.com/cvs
21567 \begin_layout Standard
21569 \begin_inset Flex Code
21572 \begin_layout Plain Layout
21578 para comprender los sub-comandos y conmutadores mencionados abajo.
21581 \begin_layout Subsubsection
21585 \begin_layout Standard
21586 Si el documento no está bajo control de revisión, este es el único ítem
21587 mostrado en el menú.
21588 Y si está bajo control de revisión, el ítem
21591 \begin_inset Flex Noun
21594 \begin_layout Plain Layout
21607 \begin_layout Standard
21608 Este comando registra tu documento en CVS
21609 \begin_inset Flex Emph
21612 \begin_layout Plain Layout
21613 \begin_inset Flex Strong
21616 \begin_layout Plain Layout
21627 en el caso de que ya tengas el directorio de documentos bajo control CVS
21628 (en particular, existe el archivo
21633 Esto significa que debes crear o reservar el archivo por ti mismo usando
21634 herramientas externas.
21635 (En caso de olvidar este paso, \SpecialChar LyX
21636 registra el documento con RCS).
21639 \begin_layout Standard
21640 Después se te pide interactivamente una descripción inicial del documento.
21641 No olvides que el archivo registrado todavía no está liberado.
21644 \begin_layout Standard
21645 El comando CVS que es ejecutado:
21648 \begin_inset Quotes erd
21652 \begin_inset Quotes eld
21656 \begin_inset Quotes erd
21662 \begin_layout Standard
21666 \begin_inset Quotes eld
21670 \begin_inset Quotes erd
21675 anterior y en todos los demás comandos CVS es una abreviación para
21676 \begin_inset Quotes cld
21679 cambiar el directorio de trabajo actual a la ubicación del archivo y usa
21680 el nombre de archivo sin el componente ruta como argumento
21681 \begin_inset Quotes crd
21687 \begin_layout Subsubsection
21691 \begin_layout Standard
21692 Cuando has terminado de editar un archivo se ingresan los cambios.
21693 Al hacerlo se te pide una descripción de los mismos.
21694 Después, los cambios son escritos en el repositorio.
21695 En caso de que no hayas cambiado el documento y se detecte una copia reservada
21696 se deshace la reserva hecha con
21697 \begin_inset Flex Noun
21700 \begin_layout Plain Layout
21709 \begin_layout Labeling
21710 \labelwidthstring 00.00.0000
21712 \begin_inset space ~
21716 \begin_inset space ~
21720 \begin_inset Newline newline
21726 \begin_inset Flex Code
21729 \begin_layout Plain Layout
21732 cvs -q commit -m"<description>" <file-name>
21740 \begin_inset Newline newline
21744 \begin_inset Flex Code
21747 \begin_layout Plain Layout
21748 cvs -q unedit "<file-name>"
21756 \begin_layout Subsubsection
21760 \begin_layout Standard
21761 Cuando estás compartiendo un repositorio con otros, puede que tengas que
21762 incorporar sus cambios en tu copia de trabajo.
21765 \begin_layout Standard
21768 cvs -q update "<file-name>"
21771 \begin_layout Standard
21772 Si se detecta una reserva solo lectura la copia se hace reservada y accesible
21776 \begin_layout Standard
21779 cvs -q edit "<file-name>"
21782 \begin_layout Subsubsection
21783 Volver a la versión del repositorio
21786 \begin_layout Standard
21787 Esto descartará todos los cambios hechos en el documento desde la última
21789 Recibes un mensaje de aviso antes de descartar los cambios.
21790 Primero se borra el archivo y luego se ejecuta el comando CVS de actualización.
21796 \begin_layout Standard
21800 \begin_inset Quotes eld
21804 \begin_inset Quotes erd
21810 \begin_layout Standard
21811 Si se detecta una copia reservada y la copia de trabajo no tiene cambios
21812 solo se deshace la reserva.
21815 \begin_layout Standard
21819 \begin_inset Quotes eld
21823 \begin_inset Quotes erd
21829 \begin_layout Subsubsection
21833 \begin_layout Standard
21834 Creará una copia del documento actual.
21835 Como CVS no soporta de forma nativa operaciones de copia, el historial
21836 de versiones no se preserva y la copia se añade como archivo nuevo.
21837 Requiere un documento limpio sin ningún cambio desde la última liberación.
21838 Pedirá un nombre de archivo y una descripción de la operación de copia.
21839 Después se crea la copia localmente y en el repositorio.
21840 Si los directorios padre de los documentos original y copiado difieren,
21841 se ajustan todas las rutas relativas de los archivos incluidos en la copia
21844 Archivo\SpecialChar menuseparator
21849 Por último, se carga la copia en vez del documento original.
21852 \begin_layout Labeling
21853 \labelwidthstring 00.00.0000
21855 \begin_inset space ~
21859 \begin_inset space ~
21863 \begin_inset Newline newline
21867 \begin_inset Flex Code
21870 \begin_layout Plain Layout
21886 \begin_inset Flex Code
21889 \begin_layout Plain Layout
21905 \begin_inset Newline newline
21909 \begin_inset Flex Code
21912 \begin_layout Plain Layout
21930 \begin_layout Subsubsection
21934 \begin_layout Standard
21935 Este comando renombra el documento actual.
21936 Como CVS no soporta de forma nativa operaciones de renombrado, el historial
21937 de versiones no se preserva, el documento renombrado se añade como archivo
21938 nuevo y el original se borra.
21939 Requiere un documento limpio sin ningún cambio desde la última liberación.
21940 Pedirá un nombre de archivo y una descripción de la operación.
21941 Después el documento se renombra localmente y en el repositorio.
21942 Si los directorios padre de los nombres de erchivo nuevo y antiguo difieren,
21943 se ajustan todas las rutas relativas de los archivos incluidos (como en
21946 Archivo\SpecialChar menuseparator
21951 Por último, se recarga el documento con el nuevo nombre.
21954 \begin_layout Labeling
21955 \labelwidthstring 00.00.0000
21957 \begin_inset space ~
21961 \begin_inset space ~
21965 \begin_inset Newline newline
21969 \begin_inset Flex Code
21972 \begin_layout Plain Layout
21988 \begin_inset Flex Code
21991 \begin_layout Plain Layout
22007 \begin_inset Newline newline
22011 \begin_inset Flex Code
22014 \begin_layout Plain Layout
22030 \begin_inset Newline newline
22034 \begin_inset Flex Code
22037 \begin_layout Plain Layout
22055 \begin_layout Subsubsection
22056 Actualizar la reserva del directorio local desde el repositorio
22059 \begin_layout Standard
22060 Conforme tus documentos son más complejos, conteniendo sub-documentos y
22061 figuras e incluyendo archivos externos
22065 y demás, el uso de control de versiones se hace más complejo.
22067 soporta la actualización del árbol completo en el que reside el documento.
22068 Esto es especialmente útil cuando colaboras con gente que ni tiene conocimiento
22069 detallado de CVS ni tiene interés en ingresar material adicional al repositorio.
22070 Tienes que organizar la estructura de archivos para que los archivos externos
22071 residan en el mismo directorio o subdirectorio del documento.
22072 Es una buena práctica de todos modos almacenar los documentos multi-parte
22073 en un directorio extra.
22076 \begin_layout Standard
22078 \begin_inset Flex Code
22081 \begin_layout Plain Layout
22082 Actualizar directorio local desde el repositorio
22087 actualiza el directorio completo.
22088 Si se detectan cambios locales el usuario es advertido antes de iniciar
22090 En caso de conflictos en la fusión ambas versiones de las partes conflictivas
22091 se sitúan al final del documento.
22092 Debes revisar y corregir el resultado de la fusión.
22093 Los conflictos los verás encerrados entre pares de
22094 \begin_inset Flex Code
22097 \begin_layout Plain Layout
22104 \begin_inset Flex Code
22107 \begin_layout Plain Layout
22114 \begin_inset Flex Code
22117 \begin_layout Plain Layout
22124 La parte primera es tu versión antes de la operación de actualización con
22125 pecedida del nombre del documento.
22126 La segunda es la versión del repositorio con el número de la versión tras
22127 la secuencia de signos
22128 \begin_inset Flex Code
22131 \begin_layout Plain Layout
22140 \begin_layout Labeling
22141 \labelwidthstring 00.00.0000
22143 \begin_inset space ~
22147 \begin_inset space ~
22151 \begin_inset Newline newline
22155 \begin_inset Flex Code
22158 \begin_layout Plain Layout
22159 cd $path; cvs diff "."
22164 (Para ver si se detectan cambios)
22165 \begin_inset Newline newline
22169 \begin_inset Flex Code
22172 \begin_layout Plain Layout
22173 cd $path; cvs -q update "."
22181 \begin_layout Standard
22183 \begin_inset Flex Code
22186 \begin_layout Plain Layout
22192 es la ruta al documento.
22195 \begin_layout Subsubsection
22199 \begin_layout Standard
22200 Muestra el historial completo del documento CVS.
22202 \begin_inset Newline newline
22208 \begin_inset Quotes eld
22214 \begin_inset Quotes erd
22217 se muestra en un buscador.
22220 \begin_layout Subsubsection
22221 Información de la revisión
22224 \begin_layout Standard
22226 soporta número de versión CVS, nombre de autor, fecha y hora del último
22228 Toda esta información se obtiene de
22230 cvs log -r <file-name>
22234 \begin_inset CommandInset ref
22236 reference "subsec:VCS-Información-de-revisión"
22243 \begin_layout Subsection
22244 Comandos SVN en Lyx
22247 \begin_layout Standard
22248 Ahora \SpecialChar LyX
22249 soporta parcialmente SVN.
22250 Puedes encontrar los comandos en el submenú
22252 Archivo\SpecialChar menuseparator
22253 Control de versiones
22256 Ten en cuenta que si utilizas acceso protegido con contraseña al repositorio
22257 vía ssh, se te pedirá en una ventana de terminal.
22259 se ha probado con SVN 1.5 y 1.6.
22263 \begin_layout Plain Layout
22264 La mayoría de los comandos funcionarán también con 1.4, véase
22265 \begin_inset CommandInset ref
22267 reference "subsec:SVN-Actualizar-el-directorio"
22279 \begin_layout Subsubsection
22283 \begin_layout Standard
22284 Si tu documento no está bajo control de revisión este es el único ítem mostrado
22286 Y si está bajo control de revisión, el ítem
22293 \begin_layout Standard
22294 Este comando registra tu documento en SVN
22300 en el caso de que ya tengas el directorio de documentos bajo control SVN
22301 ( en particular, existe el archivo
22306 Esto significa que debes reservar el archivo por ti mismo.
22309 \begin_layout Standard
22310 Después se te pide interactivamente una descripción inicial del documento.
22311 No olvides que el archivo registrado todavía no es definitivo.
22314 \begin_layout Standard
22315 El comando SVN que es ejecutado:
22320 \begin_inset Quotes qld
22328 \begin_inset Quotes qld
22334 \begin_layout Standard
22339 para comprender las alternativas.
22342 \begin_layout Subsubsection
22346 \begin_layout Standard
22347 Cuando has terminado de editar un archivo, ingresas los cambios.
22348 Al hacerlo se te pide una descripción de los mismos.
22349 Después, los cambios son ingresados.
22352 \begin_layout Standard
22357 \begin_layout Plain Layout
22358 En el caso de que el bloqueo no esté habilitado.
22360 \begin_inset CommandInset ref
22362 reference "subsec:SVN-Bloqueo-de-archivos"
22373 svn commit -q -m"<description>" <file-name>
22376 \begin_layout Subsubsection
22377 Reservar para edición
22380 \begin_layout Standard
22381 Actualiza los cambios de este archivo desde el repositorio.
22382 Asegúrate de que comprendes la mezcla y la resolución de conflictos de
22383 SVN antes de usar esta función, porque ¡todos los conflictos debes resolverlos
22387 \begin_layout Standard
22392 \begin_layout Plain Layout
22403 \begin_inset Flex Code
22406 \begin_layout Plain Layout
22410 \begin_inset Quotes qld
22418 \begin_inset Quotes qld
22429 \begin_layout Subsubsection
22430 Volver a la versión del repositorio
22433 \begin_layout Standard
22434 Esto descartará todos los cambios hechos en el documento desde la última
22435 liberación de cambios.
22436 Recibes un mensaje de aviso antes de descartar los cambios.
22439 \begin_layout Standard
22445 \begin_inset Quotes qld
22453 \begin_inset Quotes qld
22459 \begin_layout Subsubsection
22463 \begin_layout Standard
22464 Creará una copia del documento actual incluyendo el historial de versiones.
22465 Requiere un documento limpio sin ningún cambio desde la última liberación.
22466 Pedirá un nombre de archivo y una descripción de la operación de copia.
22467 Después se crea la copia localmente y en el repositorio.
22468 Si los directorios padre de los documentos original y copiado difieren,
22469 se ajustan todas las rutas relativas de los archivos incluidos de la copia
22472 Archivo\SpecialChar menuseparator
22477 Por último, se carga la copia en vez del documento original
22480 \begin_layout Labeling
22481 \labelwidthstring 00.00.0000
22483 \begin_inset space ~
22487 \begin_inset space ~
22491 \begin_inset Newline newline
22495 \begin_inset Flex Code
22498 \begin_layout Plain Layout
22503 \begin_inset Quotes qld
22513 \begin_inset Quotes qld
22523 \begin_inset Quotes qld
22533 \begin_inset Quotes qld
22542 \begin_inset Newline newline
22546 \begin_inset Flex Code
22549 \begin_layout Plain Layout
22558 \begin_layout Subsubsection
22562 \begin_layout Standard
22563 Renombrará el documento actual incluyendo el historial de versiones.
22564 Requiere un documento limpio sin ningún cambio desde la última liberación.
22565 Pedirá un nombre de archivo y una descripción de la operación de renombrado.
22566 Después se renombra el documento localmente y en el repositorio.
22567 Si los directorios padre de los nombres de archivo nuevo y antiguo difieren,
22568 se ajustan todas las rutas relativas de los archivos incluidos (como en
22571 Archivo\SpecialChar menuseparator
22576 Por último, se recarga el documento con su nuevo nombre.
22579 \begin_layout Labeling
22580 \labelwidthstring 00.00.0000
22582 \begin_inset space ~
22586 \begin_inset space ~
22590 \begin_inset Newline newline
22594 \begin_inset Flex Code
22597 \begin_layout Plain Layout
22602 \begin_inset Quotes qld
22612 \begin_inset Quotes qld
22622 \begin_inset Quotes qld
22632 \begin_inset Quotes qld
22641 \begin_inset Newline newline
22645 \begin_inset Flex Code
22648 \begin_layout Plain Layout
22657 \begin_layout Subsubsection
22658 Actualizar la reserva del directorio local desde el repositio
22662 \begin_layout Plain Layout
22663 Ten en cuenta que este comando solo funcionará con
22664 \begin_inset Formula $\geqq1.5$
22673 \begin_inset CommandInset label
22675 name "subsec:SVN-Actualizar-el-directorio"
22682 \begin_layout Standard
22683 Todos los comandos anteriores tienen un defecto: solo negocian con el documento
22685 Una vez que el documento contiene figuras, archivos externos
22689 , etc., su administración se hace más complicada.
22690 Ahora \SpecialChar LyX
22691 soporta la actualización del árbol completo en el que reside el
22696 \begin_layout Plain Layout
22697 Hay que organizar la estructura de archivos de modo que todos los archivos
22698 externos estén en el mismo directorio o subdirectorios del documento.
22703 Esto es especialmente útil cuando colaboras con gente que ni tiene conocimiento
22704 detallado de CVS ni tiene interés en ingresar material adicional al repositorio.
22707 \begin_layout Standard
22709 \begin_inset Flex Code
22712 \begin_layout Plain Layout
22713 Actualizar directorio local desde el repositorio
22718 actualiza el directorio completo y en caso de conflictos con la mezcla
22719 se deja la versión local de los archivos, para que no haya pérdida indeseada
22721 Si se detectan cambios locales se avisa al usuario antes de iniciar la
22725 \begin_layout Labeling
22726 \labelwidthstring 00.00.0000
22728 \begin_inset space ~
22732 \begin_inset space ~
22736 \begin_inset Newline newline
22740 \begin_inset Flex Code
22743 \begin_layout Plain Layout
22749 (Para ver si se detectan cambios.)
22750 \begin_inset Newline newline
22754 \begin_inset Flex Code
22757 \begin_layout Plain Layout
22758 svn update --accept mine-full $path
22766 \begin_layout Standard
22771 es la ruta al documento.
22774 \begin_layout Subsubsection
22778 \begin_layout Standard
22779 Muestra el historial completo del documento SVN.
22781 \begin_inset Newline newline
22789 \begin_inset Quotes qld
22797 \begin_inset Quotes qld
22803 se muestra en un buscador.
22806 \begin_layout Subsubsection
22807 Bloqueo de archivos
22808 \begin_inset CommandInset label
22810 name "subsec:SVN-Bloqueo-de-archivos"
22817 \begin_layout Standard
22818 El intercambio de archivos entre varios sistemas de control de revisiones
22819 tiene el problema de conflictos en las fusiones en el caso de que dos usuarios
22820 intenten editar el mismo documento (o partes de él).
22821 Cuando sucede un conflicto requiere una solución manual, y una alternativa
22822 razonable es proveer algún tipo de mecanismo de bloqueo que garantice que
22823 solo un usuario pueda editar el archivo al mismo tiempo.
22826 \begin_layout Standard
22827 SVN dispone de dos de estos mecanismos que garantizan exclusividad recíproca
22828 en el acceso a archivos,
22832 bloqueos y configuración automática de permisos de escritura (véase la sec.
22833 \begin_inset space ~
22837 \begin_inset CommandInset ref
22839 reference "subsec:SVN-Bloqueo-automático"
22843 ), basados en la propiedad de los archivos svn
22844 \begin_inset Flex Code
22847 \begin_layout Plain Layout
22857 \begin_layout Plain Layout
22858 \begin_inset CommandInset href
22860 target "http://svnbook.red-bean.com/en/1.2/svn.advanced.locking.html"
22870 Si esta propiedad se detecta para determinado documento, \SpecialChar LyX
22871 empieza automáticamen
22872 te a usar bloqueo SVN para la edición del documento, y el mecanismo completo
22873 de liberación/reserva conmuta al mismo régimen que para RCS.
22874 En particular, esto quiere decir que hay dos modos diferentes de uso archivos
22875 en \SpecialChar LyX
22879 \begin_layout Itemize
22880 Estado no bloqueado.
22881 El archivo cargado está en modo solo lectura.
22882 Para editar hay que reservar.
22887 consiste en actualizar desde el repositorio y adquirir bloqueo de escritura.
22888 Si no es posible obtener el bloqueo permanece el estado no bloquedo.
22891 \begin_layout Itemize
22893 El archivo cargado está en modo
22894 \begin_inset Quotes cld
22898 \begin_inset Quotes crd
22902 Ningún otro usuario tiene permiso para editar el archivo.
22907 consiste en ingresar los cambios y liberar el bloqueo de escritura.
22908 Si no se han hecho cambios en el documento, no se producirá ningún ingreso
22912 \begin_layout Plain Layout
22913 No te extrañe si de todas formas se te pide un mensaje de ingreso.
22918 y solo se realizará el desbloqueo de escritura.
22921 \begin_layout Standard
22925 \begin_layout Labeling
22926 \labelwidthstring 00.00.0000
22929 svn commit -q -m"<description>" "<file-name>"
22930 \begin_inset Newline newline
22933 svn unlock "<file-name>"
22936 \begin_layout Labeling
22937 \labelwidthstring 00.00.0000
22939 \begin_inset Note Note
22942 \begin_layout Plain Layout
22943 traduccion http://forum.wordreference.com/showthread.php?t=689994
22950 svn update "<file-name>"
22951 \begin_inset Newline newline
22954 svn lock "<file-name>"
22957 \begin_layout Subsubsection
22958 Propiedad de bloqueo automático
22959 \begin_inset CommandInset label
22961 name "subsec:SVN-Bloqueo-automático"
22968 \begin_layout Standard
22969 La configuración automática de los permisos de escritura del archivo .lyx
22971 \begin_inset Flex Noun
22974 \begin_layout Plain Layout
22975 Archivo\SpecialChar menuseparator
22976 Control de versiones\SpecialChar menuseparator
22977 Use propiedad de bloqueo
22983 Este comando está activo solo cuando el archivo no está bloqueado en el
22984 servidor svn (es decir, debes reservar antes de proceder).
22987 \begin_layout Labeling
22988 \labelwidthstring 00.00.0000
22990 \begin_inset space ~
22996 \begin_layout Labeling
22997 \labelwidthstring 00.00.0000
23000 svn propset svn:needs-lock ON "<file-name>"
23003 \begin_layout Labeling
23004 \labelwidthstring 00.00.0000
23007 svn propdel svn:needs-lock "<file-name>"
23010 \begin_layout Subsubsection
23011 Información de revisión en documentos
23012 \begin_inset CommandInset label
23014 name "subsec:VCS-Información-de-revisión"
23021 \begin_layout Standard
23022 Hay más posibilidades para activar la información de revisión en nuestro
23026 \begin_layout Itemize
23028 lo soporta directamente.
23032 \begin_layout Itemize
23033 Información de revisión del árbol (
23034 \begin_inset Flex Code
23037 \begin_layout Plain Layout
23044 El resultado es la salida del comando
23045 \begin_inset Flex Code
23048 \begin_layout Plain Layout
23054 ; el siguiente cuadro da una idea de la interpretación de los resultados.
23057 \begin_layout Standard
23059 \begin_inset Tabular
23060 <lyxtabular version="3" rows="6" columns="2">
23061 <features tabularvalignment="middle">
23062 <column alignment="center" valignment="top">
23063 <column alignment="center" valignment="top">
23065 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23068 \begin_layout Plain Layout
23074 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23077 \begin_layout Plain Layout
23085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23088 \begin_layout Plain Layout
23094 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23097 \begin_layout Plain Layout
23098 revisión mezclada de la copia de trabajo
23105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23108 \begin_layout Plain Layout
23114 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23117 \begin_layout Plain Layout
23118 copia de trabajo modificada
23125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23128 \begin_layout Plain Layout
23134 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23137 \begin_layout Plain Layout
23138 copia de trabajo conmutada
23145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23148 \begin_layout Plain Layout
23154 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23157 \begin_layout Plain Layout
23158 copia de trabajo parcial, de una reserva dispersa
23165 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23168 \begin_layout Plain Layout
23174 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23177 \begin_layout Plain Layout
23178 copia de trabajo de revisión mezclada, modificada, conmutada
23191 \begin_layout Itemize
23192 Información de revisión del archivo.
23193 El resultado del análisis de la salida de
23194 \begin_inset Flex Code
23197 \begin_layout Plain Layout
23199 \begin_inset space ~
23203 \begin_inset space ~
23207 \begin_inset space ~
23216 Los argumentos soportados son:
23220 \begin_layout Itemize
23221 número de versión del último ingreso (
23222 \begin_inset Flex Code
23225 \begin_layout Plain Layout
23234 \begin_layout Itemize
23235 autordel último ingreso (
23236 \begin_inset Flex Code
23239 \begin_layout Plain Layout
23248 \begin_layout Itemize
23249 fecha del último ingreso (
23250 \begin_inset Flex Code
23253 \begin_layout Plain Layout
23262 \begin_layout Itemize
23263 hora del último ingreso (
23264 \begin_inset Flex Code
23267 \begin_layout Plain Layout
23277 \begin_layout Standard
23278 Puedes obtener esta información mediante InsetInfo (p.
23279 \begin_inset space \thinspace{}
23284 \begin_inset Flex Code
23287 \begin_layout Plain Layout
23288 info-insert buffer vcs-date
23294 La información estará disponible solo cuando tengas el arvhivo almacenado
23295 bajo administración svn (es decir, el directorio
23296 \begin_inset Flex Code
23299 \begin_layout Plain Layout
23305 está disponible con tu documento).
23309 \begin_layout Itemize
23310 Otra posibilidad —de
23314 — es usar claves svn
23318 \begin_layout Plain Layout
23319 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html
23325 Estableces la propiedad de claves de archivo (p.
23326 \begin_inset space \thinspace{}
23332 svn propset svn:keywords 'Rev' file.lyx
23334 ) y luego pegas la clave en código \SpecialChar TeX
23339 \begin_layout Plain Layout
23340 Esta es una manera fácil de asegurar que \SpecialChar LyX
23341 no quiebre la línea en mitad de
23347 en tu documento (p.
23348 \begin_inset space \thinspace{}
23355 \begin_inset Flex Code
23358 \begin_layout Plain Layout
23369 De esta manera el cliente svn sustituirá automáticamente el número de revisión
23371 \begin_inset space \thinspace{}
23378 \begin_inset Flex Code
23381 \begin_layout Plain Layout
23391 ) tras cada actualización e ingreso.
23392 Hay otros problemas con este enfoque.
23393 Primero, el carácter '$' se usa en \SpecialChar TeX
23394 para expresiones matemáticas, de modo
23395 que cualquier aparición de una fórmula
23396 \begin_inset Formula $Rev$
23400 \begin_inset Formula $Rev:59$
23403 en tu documento \SpecialChar LyX
23405 Lo mismo sucederá con otras claves como Id, Date, Author, etc.
23406 Segundo, la salida svn es dependiente del idioma, por lo que es fácil que
23407 svn produzca alguna cadena problemática al usar Date.
23408 Tercero, se obtiene la cadena completa 'Rev: 59' en tu documento en vez
23410 Hasta que subversion implemente claves personalizadas por el usuario será
23411 pesado usar este enfoque con fiabilidad o permitir a \SpecialChar LyX
23412 soportarlo directamente.
23415 \begin_layout Subsection
23416 SVN y entorno Windows
23419 \begin_layout Quote
23420 Mi inclinación es decir que si el usuario no es capaz por sí mismo de entender
23421 las operaciones en línea de comandos, sería recomendable que usara TortoiseSVN.
23423 \begin_inset space \thinspace{}
23427 \begin_inset space \thinspace{}
23433 \begin_layout Subsubsection
23437 \begin_layout Standard
23438 Además de instalar \SpecialChar LyX
23439 y tener acceso al repositorio de Subversion, el usuario
23440 deberá instalar el programa cliente de Subversion.
23442 \begin_inset CommandInset href
23445 target "http://www.collab.net/nonav/downloads/subversion/"
23450 hay disponible un instalador para Windows.
23451 Además, al usuario le puede interesar instalar
23452 \begin_inset CommandInset href
23455 target "http://tortoisesvn.tigris.org/"
23460 , que integra las operaciones de Subversion en el menú contextual (clic
23461 derecho) del Explorador de Windows.
23462 Las operaciones hechas fuera de \SpecialChar LyX
23463 generalmente son más convenientes en el
23464 menú contextual del Explorador.
23465 Hay que tener en cuenta que TortoiseSVN no es un reemplazo del programa
23466 cliente, que es lo que usa el propio \SpecialChar LyX
23470 \begin_layout Subsubsection
23471 Poner un documento bajo control de Subversion
23474 \begin_layout Standard
23475 Antes de poner un documento \SpecialChar LyX
23476 bajo control de Subversion, su directorio padre
23477 debe estar bajo control de versiones.
23478 Si el documento se va a añadir a un proyecto ya en el repositorio, esto
23479 se lleva a cabo comprobando el directorio donde se incluirá el documento
23481 Si el proyecto mismo no está ya bajo control de versión (por ejemplo, si
23482 el documento inicia un proyecto nuevo), hay que importar el directorio
23484 Esto se hace fuera de \SpecialChar LyX
23486 Tanto la importación como la reserva se hacen fácilmente en el menú contextual
23487 del Explorador mediante TortoiseSVN, o bien usando un cliente de línea
23488 de comandos en DOS.
23489 El procedimiento para importar el proyecto con TortoiseSVN se describe
23490 abajo, suponiendo que hay un repositorio y un proyecto nuevo en
23497 Para información sobre el uso del programa cliente de Subversion, ejecuta
23503 \begin_inset Flex Code
23506 \begin_layout Plain Layout
23512 en línea de comandos de DOS.
23515 \begin_layout Enumerate
23522 en el Explorador de Windows, clic derecho y selecciona
23524 TortoiseSVN\SpecialChar menuseparator
23528 Si es preciso ajusta el URL para el repositorio, y pulsa OK.
23531 \begin_layout Enumerate
23532 Haz clic derecho en el nivel del repositorio bajo el que quieres situar
23533 la carpeta del nuevo proyecto (típicamente el nivel superior) y pulsa
23537 Da nombre a la carpeta y pulsa OK.
23538 Añade un mensaje para el registro, si quieres, y pulsa OK de nuevo.
23539 La carpeta del nuevo proyecto debería figurar en el repositorio.
23540 Por último, OK de nuevo para salir del navegador del repositorio.
23543 \begin_layout Enumerate
23544 Haz otra vez clic derecho en
23550 , esta vez seleccionando SVN Checkout Selecciona el URL de la carpeta que
23551 acabas de crear en el repositorio y ajusta el directorio a
23559 Serás avisado sobre una carpeta no vacía; OK para continuar.
23560 Ahora debería haber un directorio
23571 \begin_layout Enumerate
23572 Crea o abre tu documento en \SpecialChar LyX
23575 Archivo\SpecialChar menuseparator
23576 Control de versiones\SpecialChar menuseparator
23580 Añade un mensaje de registro y pulsa OK para someter el documento a control
23584 \begin_layout Standard
23585 De aquí en adelante deberías tener funcionalidad completa en el menú
23587 Archivo\SpecialChar menuseparator
23588 Control de versiones
23591 Además tienes la opción de comprobar el documento entrante y saliente,
23592 ver su historial, etc., usando el menú contextual TortoiseSVN en el Explorador
23593 o en la línea de comandos del programa cliente de Subversion.
23597 \begin_layout Subsubsection
23598 SSH tunnel con SVN bajo Windows
23601 \begin_layout Standard
23602 Comparado con la configuración del cliente svn en Linux para comunicar sobre
23603 ssh, bajo Windows es una tarea es bastante más molesta.
23604 Al menos ofreceremos algunas indicaciones para configurar el cliente, pero
23605 hay que aclarar antes algo sobre ssh y la línea de comandos en Windows
23606 y estar preparados para grandes dosis de frustración\SpecialChar ldots
23610 \begin_layout Enumerate
23611 Obtén un cliente svn para windows, como se describe en secciones anteriores.
23612 Si es una instalación nueva ejecuta algún comando para crear los archivos
23613 de configuración (p.
23614 \begin_inset space \thinspace{}
23619 \begin_inset Flex Code
23622 \begin_layout Plain Layout
23628 ), que deberás cambiar más tarde.
23631 \begin_layout Enumerate
23632 Elige un cliente ssh para Windows.
23633 Hay varias opciones, aquí usaremos el de Putty tools
23637 \begin_layout Plain Layout
23638 \begin_inset Flex URL
23641 \begin_layout Plain Layout
23643 http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
23654 Tendrás que configurar la conexión para que el cliente no pia contraseña.
23655 Para facilitar las cosas usaremos solo claves sin ninguna protección adicional
23656 de contraseña, etc.
23660 \begin_layout Enumerate
23661 Genera las claves con
23662 \begin_inset Flex Code
23665 \begin_layout Plain Layout
23672 Guarda tu clave privada .ppk y pon la pública en el servidor.
23673 Si el servidor SVN corre bajo Linux, ten en cuenta que el formato de la
23674 clave pública no es compatible con openssh Linux y tendrás que copiar y
23675 pegar directamente la clave desde el campo de edición “
23677 Public key for pasting into OpenSSH authorized_keys file
23679 :” en el archivo del servidor
23680 \begin_inset Flex Code
23683 \begin_layout Plain Layout
23684 ~/.ssh/authorized_keys
23690 \begin_inset Flex Code
23693 \begin_layout Plain Layout
23702 \begin_layout Enumerate
23704 \begin_inset Flex Code
23707 \begin_layout Plain Layout
23714 En el archivo de configuración SVN
23718 \begin_layout Plain Layout
23719 La ruta exacta depende de la versión de Windows, usualmente algo como
23720 \begin_inset Flex Code
23723 \begin_layout Plain Layout
23726 Documents and Settings
23740 \begin_inset Flex Code
23743 \begin_layout Plain Layout
23758 , sección [tunnels], configura el comando ssh, p.
23759 \begin_inset space \thinspace{}
23764 \begin_inset Flex Code
23767 \begin_layout Plain Layout
23768 ssh=c:/path/plink.exe -i c:/path/private_key.ppk
23777 \begin_layout Plain Layout
23778 Usualmente toma tiempo conseguir el comando exacto y depende de muchas cosas.
23779 Por ejemplo, no tener algún servidor remoto guardado como predeterminado
23781 Si falla, intenta primero conectar vía plink sin SVN.
23790 \begin_layout Enumerate
23791 Reserva el archivo SVN, p.
23792 \begin_inset space \thinspace{}
23796 \begin_inset Newline newline
23800 \begin_inset Flex Code
23803 \begin_layout Plain Layout
23804 svn co svn+ssh://user@server/repository_path
23812 \begin_layout Subsubsection
23813 Conversiones de los finales de línea
23816 \begin_layout Standard
23817 Cuando los colaboradores mezclan entornos Linux y Windows, \SpecialChar LyX
23819 finales de línea en los archivos .lyx.
23820 Esto no es un problema en lo que concierne a la funcionalidad de \SpecialChar LyX
23822 los archivos diff de los ingresos serán enormes y propensos a conflictos
23824 Afortunadamente SVN sabe por sí mismo
23828 \begin_layout Plain Layout
23829 \begin_inset Flex URL
23832 \begin_layout Plain Layout
23834 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html
23844 como manejar problemas con retornos y saltos de línea (CR/LF) cuando cambia
23845 archivos .lyx al modo
23846 \begin_inset Flex Code
23849 \begin_layout Plain Layout
23859 \begin_layout Plain Layout
23860 Para los perezosos:
23861 \begin_inset Flex Code
23864 \begin_layout Plain Layout
23865 svn propset svn:eol-style native FILE_NAME
23878 \begin_layout Subsection
23879 Comandos GIT en \SpecialChar LyX
23883 \begin_layout Standard
23885 soporta un conjunto mínimo de comandos GIT.
23886 Se encuentra en el submenú
23888 Archivo\SpecialChar menuseparator
23889 Control de versiones
23892 Hay que tener en cuenta que si se usa acceso con contraseña al repositorio
23893 vía ssh, ésta se pedirá en una ventana de terminal.
23895 se ha probado con GIT 1.7.
23899 \begin_layout Standard
23900 Una gran diferencia entre GIT y los demás sistemas de control de versiones
23901 soportados es la naturaleza distribuida de GIT: con los sistemas de control
23902 de versiones tradicionales hay un servidor central que aloja el repositorio.
23903 Los usuarios envían sus cambios al servidor y obtienen de él actualizaciones
23905 Con GIT, los usuarios remiten a un repositorio local, el cuál se puede
23906 sincronizar con uno o más repositorios remotos usando los comandos GIT
23908 \begin_inset Flex Code
23911 \begin_layout Plain Layout
23918 \begin_inset Flex Code
23921 \begin_layout Plain Layout
23929 no interactúa de ninguna forma con los repositorios GIT remotos.
23930 Trabaja exclusivamente con el repositorio local de manera similar a como
23931 con un repositorio CVS o SVN.
23932 Si usas repositorios GIT remotos debes hacer las operaciones
23933 \begin_inset Flex Code
23936 \begin_layout Plain Layout
23943 \begin_inset Flex Code
23946 \begin_layout Plain Layout
23952 con tu cliente GIT favorito.
23955 \begin_layout Subsubsection
23959 \begin_layout Standard
23960 Si el documento no está bajo control de versiones, éste es el único ítem
23961 mostrado en el menú.
23962 Si está bajo control de versiones
23969 \begin_layout Standard
23970 Este comando registra el documento en GIT sólo en el caso de que el directorio
23971 de los documentos esté ya bajo control de GIT (en particular, existe el
23977 Esto quiere decir que debes reservar
23978 \begin_inset Note Note
23981 \begin_layout Plain Layout
23987 el archivo por ti mismo.
23990 \begin_layout Standard
23991 Entonces se pedirá de forma interactiva una descripción inicial del documento.
23992 No olvides que el archivo registrado aún no ha sido ingresado.
23995 \begin_layout Standard
23996 El comando GIT que se ejecuta:
23999 \begin_inset Quotes eld
24005 \begin_layout Standard
24010 para entender los conmutadores.
24014 \begin_layout Subsubsection
24018 \begin_layout Standard
24019 Una vez editado un archivo hay que ingresar los cambios realizados en él.
24020 Al hacerlo se pedirá una descripción de los mismos y después se ingresan.
24023 \begin_layout Standard
24026 git commit -q -m"<description>" <file-name>
24029 \begin_layout Subsubsection
24030 Volver a la versión del repositorio
24033 \begin_layout Standard
24034 Descartará los cambios hechos en el documento desde la última liberación.
24035 Hay un aviso antes de descartar los cambios.
24038 \begin_layout Standard
24044 \begin_inset Quotes qld
24052 \begin_inset Quotes qld
24058 \begin_layout Subsubsection
24062 \begin_layout Standard
24063 Renombrará el documento actual incluyendo el historial de versiones.
24064 Requiere un documento limpio sin ningún cambio desde la última liberación.
24065 Pedirá un nombre de archivo y una descripción de la operación de renombrado.
24066 Después se renombra el documento localmente y en el repositorio.
24067 Si los directorios padre de los nombres de archivo nuevo y antiguo difieren,
24068 se ajustan todas las rutas relativas de los archivos incluidos (como en
24071 Archivo\SpecialChar menuseparator
24076 Por último, se recarga el documento con su nuevo nombre.
24079 \begin_layout Labeling
24080 \labelwidthstring 00.00.0000
24082 \begin_inset space ~
24086 \begin_inset space ~
24090 \begin_inset Newline newline
24094 \begin_inset Flex Code
24097 \begin_layout Plain Layout
24102 \begin_inset Quotes qld
24112 \begin_inset Quotes qld
24122 \begin_inset Quotes qld
24132 \begin_inset Quotes qld
24141 \begin_inset Newline newline
24145 \begin_inset Flex Code
24148 \begin_layout Plain Layout
24157 \begin_layout Subsubsection
24161 \begin_layout Standard
24162 Muestra el historial completo del documento GIT.
24168 \begin_inset Quotes qld
24176 \begin_inset Quotes qld
24182 se muestra en un buscador.
24185 \begin_layout Subsubsection
24186 Información de la versión
24189 \begin_layout Standard
24191 soporta número hash GIT del últim ingreso al archivo, autor, fecha y hora
24192 del último ingreso.
24193 Todos se obtienen de
24194 \begin_inset Flex Code
24197 \begin_layout Plain Layout
24198 git log -n 1 --pretty=format:%H%n%an%n%ai
24204 La información de l versión del árbol se obtiene vía
24205 \begin_inset Flex Code
24208 \begin_layout Plain Layout
24209 git describe --abbrev --dirty --long
24216 \begin_inset CommandInset ref
24218 reference "subsec:VCS-Información-de-revisión"
24222 para otros detalles.
24225 \begin_layout Subsection
24226 Ajustes adicionales
24229 \begin_layout Standard
24230 Con la reciente adición de la función
24234 , los usuarios que exprimen la potencia de \SpecialChar LyX
24235 pueden crear sus propios comandos
24236 para el control de revisiones.
24239 \begin_layout Standard
24240 Como ejemplo puedes ver cómo integrar directamente dos comandos TortoiseSVN:
24243 \begin_layout Description
24245 \begin_inset Flex Code
24248 \begin_layout Plain Layout
24249 vc-command DS "." "TortoiseProc /command:commit /path:$$p"
24257 \begin_layout Description
24259 \begin_inset Flex Code
24262 \begin_layout Plain Layout
24263 vc-command DR "." "TortoiseProc /command:revert /path:$$p"
24271 \begin_layout Subsection
24272 Control de versiones y comparación de documentos
24275 \begin_layout Standard
24276 Uno de los usos típicos del control de versiones es inspeccionar los cambios
24277 entre revisiones, usualmente creando volcados
24278 \begin_inset Flex Code
24281 \begin_layout Plain Layout
24288 Aunque esto es útil para archivos de texto sencillo, es mucho menos útil
24289 en archivos de \SpecialChar LyX
24290 , que tienen una estructura más complicada.
24291 Por tanto, proporcionamos caminos para la característica de comparar documentos.
24292 Hay dos maneras de iniciar esta función, una por llamada directa a
24298 (véase el manual Funciones de \SpecialChar LyX
24299 para detalles) y otra con el
24314 Se pueden comparar dos revisiones determinadas o se puede simplemente comparar
24315 la versión actual del texto editado con revisiones anteriores (donde '
24316 \begin_inset Flex Code
24319 \begin_layout Plain Layout
24325 ' revisiones atrás quiere decir comparar el archivo en edición con la última
24326 revisión remitida).
24330 \begin_layout Standard
24331 Esta característica está soportada por SVN y RCS, aunque debido al esquema
24332 de versiones más complicado de RCS hay una restricción, en la dirección
24333 de las revisiones en el diálogo, los números siempre apuntan al último
24334 número en el número de revisión de RCS, es decir, '35' en '1.2.35'.
24337 We don't currently support GIT addressing of revisions, one can just compare
24338 edited document with its revision X steps backs, where X is addressed as
24340 \begin_inset Flex Code
24343 \begin_layout Plain Layout
24354 \begin_layout Section
24355 Programación literaria
24358 \begin_layout Standard
24363 (kayvan@sylvan.com)
24367 documentación original de
24369 Edmar Wienskoski Jr.
24372 (edmar-w-jr@technologist.com)
24375 \begin_layout Subsection
24379 \begin_layout Standard
24380 El propósito principal de esta documentación es mostrar el uso de \SpecialChar LyX
24382 escribir programación literaria
24388 \begin_layout Plain Layout
24389 «Literate Programming», llamada también programación «ilustrada» o «letrada».
24393 \begin_inset space \thinspace{}
24404 Se supone que la técnica de la programación te resulta familiar y sabes
24405 lo que significan términos como
24406 \begin_inset Quotes cld
24410 \begin_inset Quotes crd
24414 \begin_inset Quotes cld
24418 \begin_inset Quotes crd
24425 \begin_layout Plain Layout
24426 Generación del código y de la documentación, respectivamente.
24430 \begin_inset space \thinspace{}
24441 Si no es así, acude a los enlaces web mencionados en las siguientes secciones.
24442 Hay mucha y buena documentación que abarca desde la historia de los inicios
24443 de la programación hasta las últimas herramientas y trucos.
24446 \begin_layout Standard
24447 También se supone que estás familiarizado con el uso de \SpecialChar LyX
24449 de conocer cómo cambiar las preferencias y el archivo de recursos X.
24450 Si no es así acude al resto de documentación de \SpecialChar LyX
24451 en función de tus necesidades.
24454 \begin_layout Subsection
24455 Programación literaria
24458 \begin_layout Standard
24459 Extraído de las PUF:
24462 \begin_layout Quotation
24463 En la programación literaria se combinan documentación y código fuente de
24464 manera legible para los seres humanos.
24465 ¡De hecho, la programación literaria debería ser de lectura agradable,
24466 incluso sugerente! (¡Lo siento Bob, no he podido resistirme\SpecialChar ldots
24468 en la escritura de los programas se combinan código y documentación en
24470 Las herramientas de programación literaria analizan después el archivo
24471 y pueden generar la documentación o el código fuente compilable por separado.
24472 El estilo WEB de programación fue creado por
24475 \begin_inset space \thinspace{}
24479 \begin_inset space \thinspace{}
24484 mientras desarrollaba su sistema de composición tipográfica \SpecialChar TeX
24488 \begin_layout Standard
24492 \begin_layout Quotation
24495 ¿En qué se diferencian la programación literaria y
24499 l comentario literal?
24502 \begin_layout Quotation
24503 Hay tres rasgos distintivos, que son, por orden de importancia:
24507 \begin_layout Itemize
24508 orden de elaboración flexible
24511 \begin_layout Itemize
24512 soporte automático de búsqueda
24515 \begin_layout Itemize
24516 documentación bien presentada, especialmente los diagramas y las matemáticas.
24521 \begin_layout Standard
24522 Y ahora que he despertado tu curiosidad, veamos las referencias.
24525 \begin_layout Subsubsection
24529 \begin_layout Standard
24530 Las FAQ completas de
24531 \begin_inset Quotes cld
24534 Literate Programming
24535 \begin_inset Quotes crd
24541 \begin_layout Quote
24542 Literate Programming FAQ:
24543 \begin_inset Flex URL
24546 \begin_layout Plain Layout
24548 http://www.xmarks.com/site/shelob.ce.ttu.edu/daves/lpfaq/faq.html
24556 \begin_layout Standard
24557 En las FAQ se describen 23 (¡23!) herramientas diferentes de programación
24559 Algunas son específicas de lenguajes de programación particulares, otras
24560 son de aplicación general.
24561 He seleccionado la herramienta
24565 para mi uso personal por varias razones:
24568 \begin_layout Itemize
24569 Puede generar la documentación en \SpecialChar LaTeX
24573 \begin_layout Itemize
24574 Es de estructura abierta, es decir, es sencillo introducir filtros nuevos
24580 \begin_layout Plain Layout
24586 are programs that read a given data stream and output a manipulated data
24588 That way, a WEB file (consisting of literate code) can be turned into a
24589 file consisting only of C program code or \SpecialChar LaTeX
24597 y hacer procesamientos especiales según las necesidades.
24601 \begin_layout Itemize
24602 Ya hay una buena selección de filtros disponible (uno de ellos es HTML).
24605 \begin_layout Itemize
24609 \begin_layout Standard
24610 La página web de Noweb es:
24613 \begin_layout Quote
24614 Página de inicio de Noweb
24615 \begin_inset Flex URL
24618 \begin_layout Plain Layout
24620 https://www.cs.tufts.edu/~nr/noweb/
24628 \begin_layout Standard
24629 Desde allí puedes acceder a muchos enlaces de interés y a ejemplos de programaci
24630 ón en formato literario.
24633 \begin_layout Subsection
24635 y la programación literaria con Noweb
24638 \begin_layout Standard
24640 soporta Programación Literaria mediante el mecanismo de gestión de convertidore
24642 Este soporte se proporciona
24643 \begin_inset Quotes cld
24646 independiente de Noweb
24647 \begin_inset Quotes crd
24650 , es decir, podrás usar esta nueva función de \SpecialChar LyX
24651 con algunas otras herramientas
24652 de programación literaria, cuya elección puedes hacer en las preferencias
24653 de \SpecialChar LyX
24657 \begin_layout Subsubsection
24658 Generación de documentos y de código («weaving and tangling»)
24661 \begin_layout Paragraph
24662 Usando el módulo noweb
24665 \begin_layout Standard
24666 Con \SpecialChar LyX
24667 y Noweb instalados, al abrir un documento nuevo y después de elegir
24668 la clase de documento selecciona el módulo
24669 \begin_inset Quotes cld
24673 \begin_inset Quotes crd
24678 Documento\SpecialChar menuseparator
24679 Configuración\SpecialChar menuseparator
24683 Si Noweb está instalado correctamente podrás pulsar
24687 para usarlo en tu documento.
24690 \begin_layout Paragraph
24694 \begin_layout Standard
24703 \begin_inset Flex Noun
24706 \begin_layout Plain Layout
24717 para escribir código.
24718 Noweb delimita trozos como éste:
24721 \begin_layout LyX-Code
24725 \begin_layout LyX-Code
24729 \begin_layout LyX-Code
24733 \begin_layout LyX-Code
24737 \begin_layout LyX-Code
24741 \begin_layout Standard
24742 El problema es que todo lo que se escriba entre <<
24743 \begin_inset space ~
24750 debe ser interpretado de forma literal, es decir, \SpecialChar LyX
24751 no debería hacer ninguna
24752 interpretación especial de lo que está ahí escrito.
24753 Esto es también manejado por el entorno
24754 \begin_inset Flex Noun
24757 \begin_layout Plain Layout
24763 , que funciona como un
24767 normal excepto que admite espacios con libertad.
24770 \begin_layout Standard
24771 He de apuntar que también puedes usar la estructura
24772 \begin_inset Quotes cld
24780 \begin_inset Quotes crd
24783 de Noweb en tus trozos de código para añadir identificadores de referencias
24787 \begin_layout LyX-Code
24791 \begin_layout LyX-Code
24792 def una_función(argumentos):
24795 \begin_layout LyX-Code
24796 "Esta es la documentación para esta función."
24799 \begin_layout LyX-Code
24800 print "Mis argumentos: ", argumentos
24803 \begin_layout LyX-Code
24807 \begin_layout Standard
24808 Para ver un ejemplo de esta construcción y la salida con la referencia cruzada
24809 generada, puedes ver la programación literaria en python contenida en el
24811 \begin_inset Newline newline
24819 /examples/listerrors.lyx
24824 que debería aclarar esto.
24827 \begin_layout Paragraph
24828 Generación del documento
24831 \begin_layout Standard
24832 Ahora ya tienes un nuevo documento con su clase adecuada y con algo de código
24834 ¿Cómo ver la salida impresa? La respuesta es simple, con
24836 Ver\SpecialChar menuseparator
24840 Igual que harías con cualquier otro documento.
24841 No hace falta ningún procedimiento especial.
24844 \begin_layout Standard
24845 Para aclarar las cosas explicaré lo que sucede en el interior de \SpecialChar LyX
24849 \begin_layout Enumerate
24850 Al escoger la opción
24852 Ver\SpecialChar menuseparator
24853 Actualizar\SpecialChar menuseparator
24856 , se genera un archivo \SpecialChar LaTeX
24862 \begin_layout Standard
24863 Si el documento es de cualquiera de las clases en formato
24864 \begin_inset Quotes cld
24868 \begin_inset Quotes crd
24871 , el archivo generado será nombrado con una extensión definida por el formato
24873 \begin_inset Quotes cld
24877 \begin_inset Quotes crd
24880 (definido en el panel de
24884 ), si no el archivo tendrá la extensión habitual
24892 \begin_layout Enumerate
24893 La única diferencia está en la extensión del archivo, no hace falta ninguna
24894 acción especial por parte de \SpecialChar LyX
24895 , puesto que has formateado el código con
24901 \begin_inset Flex Noun
24904 \begin_layout Plain Layout
24910 , que ya se cuida de ese aspecto.
24913 \begin_layout Enumerate
24914 Si el documento es de cualquier clase
24915 \begin_inset Quotes cld
24919 \begin_inset Quotes crd
24922 , un convertidor interno se encarga de convertir el archivo \SpecialChar LyX
24928 \begin_layout Plain Layout
24931 Herramientas\SpecialChar menuseparator
24943 convierte Noweb a \SpecialChar LaTeX
24944 para generar el archivo \SpecialChar LaTeX
24949 \begin_layout Standard
24950 Si no lo es, se salta este paso.
24954 \begin_layout Enumerate
24955 Finalmente, se ejecuta \SpecialChar LaTeX
24956 y continúa el proceso de la manera habitual.
24959 \begin_layout Standard
24960 La independencia de una particular herramienta de programación literaria
24961 se basa simplemente en el cambio de los comandos ejecutados por los distintos
24965 \begin_layout Paragraph
24966 Generación del código
24969 \begin_layout Standard
24970 Al escoger la opción de menú o al pulsar el botón adecuado de la barra de
24971 herramientas, se genera un archivo \SpecialChar LaTeX
24972 como se describe en el paso 1 anterior.
24973 A continuación, \SpecialChar LyX
24974 ejecuta el convertidor
24979 Habitualmente, este paso (igual que cualquier otro convertidor) se realiza
24983 \begin_layout Enumerate
24984 El programa convertidor propiamente dicho.
24985 Este programa realiza la conversión de un formato a otro (en este caso,
24997 \begin_layout Enumerate
24998 El analizador de registro de errores.
24999 Este es un programa cuyo único propósito es reescribir los mensajes de
25000 error en un formato comprensible para \SpecialChar LyX
25002 Esto permite la colocación de los cuadros de error de \SpecialChar LyX
25003 en los lugares correctos.
25006 \begin_layout Standard
25007 La primera parte, que se especifica en el campo
25014 \begin_layout LyX-Code
25022 \begin_layout Standard
25023 Esto significa que \SpecialChar LyX
25025 \begin_inset Quotes cld
25033 \begin_inset Quotes crd
25036 (un programa o una secuencia) con el nombre del archivo Noweb (
25040 , generalmente un archivo en el directorio temporal de \SpecialChar LyX
25045 \begin_layout Standard
25046 He aquí una implementación de
25050 que puedes colocar en un directorio accesible para tu línea de comandos:
25053 \begin_layout LyX-Code
25059 \begin_layout LyX-Code
25065 \begin_layout LyX-Code
25068 notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
25071 \begin_layout Standard
25072 La segunda parte de los ajustes del convertidor es el
25073 \begin_inset Quotes cld
25077 \begin_inset Quotes crd
25083 \begin_layout LyX-Code
25086 parselog=$$s/scripts/listerrors
25089 \begin_layout Standard
25090 Esto procesará cualquier error que se genere por el proceso
25091 \begin_inset Quotes cld
25099 \begin_inset Quotes crd
25102 a través del programa
25103 \begin_inset Quotes cld
25107 \begin_inset Quotes crd
25113 \begin_layout Standard
25114 Normalmente, la compilación tendrá lugar en el directorio temporal de \SpecialChar LyX
25116 por tanto los archivos generados por la conversión estarán en ese directorio.
25118 copiará lo que considera como el archivo "principal", pero la conversión
25122 puede generar varios arcivos, aunque la mayoría de ellos se borran al cerrar
25125 Por eso pasamos la variable de entorno NOWEB_OUTPUT_DIR, para que el gragmento
25126 build-script pueda situar los archivos generados en su sitio.
25129 \begin_layout Paragraph
25130 Instrucciones de compilación en el documento
25133 \begin_layout Standard
25134 La última parte de la integración entre \SpecialChar LyX
25135 y noweb es el trozo
25136 \begin_inset Quotes cld
25140 \begin_inset Quotes crd
25144 Generalmente, las instrucciones para compilar tu programa deberían incluirse
25145 en un trozo propio.
25150 específico de noweb visto antes usa el comando
25154 para buscar ese trozo (llamado
25155 \begin_inset Quotes cld
25159 \begin_inset Quotes crd
25162 ) y procesa su contenido a través de
25169 \begin_layout Standard
25170 Típicamente, un trozo
25171 \begin_inset Quotes cld
25175 \begin_inset Quotes crd
25178 se verá más o menos así:
25181 \begin_layout LyX-Code
25185 \begin_layout LyX-Code
25187 \begin_inset Newline newline
25190 if [ -z "${NOWEB_SOURCE}" ]
25191 \begin_inset Newline newline
25197 \begin_layout LyX-Code
25198 NOWEB_SOURCE=myfile.nw
25199 \begin_inset Newline newline
25203 \begin_inset Newline newline
25207 code to extract files ...
25208 use NOWEB_OUTPUT_DIR here ...]
25209 \begin_inset Newline newline
25213 code to compile files ...]
25214 \begin_inset Newline newline
25220 \begin_layout Standard
25226 /examples/listerrors.lyx
25233 /examples/Literate.lyx
25235 , que implementan dos versiones del programa
25239 , para ver algunos ejemplos de cómo ensamblar todo esto, o en
25244 /examples/noweb2lyx.lyx
25250 Es interesante ver cómo estos tres archivos muestran la independencia del
25251 lenguaje de programación literaria utilizado en \SpecialChar LyX
25252 , puesto que están escritos,
25253 respectivamente, en Python, C y Perl.
25256 \begin_layout Subsubsection
25257 Configurar \SpecialChar LyX
25261 \begin_layout Standard
25262 Todo el soporte de Programación Literaria se configura en el panel del menú
25265 Herramientas\SpecialChar menuseparator
25273 \begin_inset space ~
25281 \begin_inset space ~
25293 Las partes importantes son:
25296 \begin_layout Description
25298 \begin_inset space ~
25302 \begin_inset space ~
25306 \begin_inset Quotes cld
25310 \begin_inset Quotes crd
25316 \begin_inset space ~
25320 \begin_inset space ~
25325 se configuran las partes específicas de Noweb.
25329 \begin_inset space ~
25347 Esto prepara a \SpecialChar LyX
25348 para generar un archivo con extensión
25352 en el primer paso del proceso de conversión.
25355 \begin_layout Description
25357 \begin_inset space ~
25363 \begin_inset space ~
25368 a Este es un formato ficticio cuyo único propósito es ser el punto final
25369 de una conversión (que luego nos permite establecer un convertidor que
25377 \begin_layout Description
25387 Este convertidor realiza el
25388 \begin_inset Quotes cld
25392 \begin_inset Quotes crd
25395 (generación de la documentación) del documento literario.
25396 Para Noweb, hay que poner el
25401 \begin_inset Quotes cld
25406 noweave -delay -index $$i > $$o
25409 \begin_inset Quotes crd
25415 \begin_layout Description
25424 a Este realiza el paso
25425 \begin_inset Quotes cld
25429 \begin_inset Quotes crd
25432 (generación del código).
25433 Como se dijo antes, el
25438 \begin_inset Quotes cld
25446 \begin_inset Quotes crd
25455 \begin_inset space ~
25464 \begin_inset Quotes cld
25469 originaldir,parselog=listerrors
25472 \begin_inset Quotes crd
25478 \begin_layout Subsubsection
25479 Extensiones de depuración
25482 \begin_layout Standard
25483 En el servidor \SpecialChar LyX
25484 también se ha implementado una nueva función,
25485 \begin_inset Quotes cld
25488 server-goto-file-row
25489 \begin_inset Quotes crd
25492 , para ser utilizada con
25504 \begin_layout Standard
25505 Cuando se depura código con
25513 , es posible invocar un editor de texto en la posición actual de ejecución
25514 con una sencilla pulsación de teclado.
25515 La configuración por omisión de
25524 La línea de comando del editor utilizado por
25528 se puede definir accediendo al diálogo
25530 Editar\SpecialChar menuseparator
25531 Preferencias\SpecialChar menuseparator
25534 cambiando la entrada
25541 \begin_layout Standard
25542 He aprovechado las ventajas de la nueva función del servidor \SpecialChar LyX
25548 , poniendo lo siguiente en
25555 \begin_layout LyX-Code
25564 :monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
25567 \begin_layout Standard
25568 Con esto, cuando estás usando
25572 y encuentras una parte del programa que quieres editar, solo has de pulsar
25585 pasa esta información por medio del servidor \SpecialChar LyX
25587 , en cuya ventana se verá
25588 el mismo archivo con el cursor en la posición apuntada por
25593 ¡Se acabaron las adivinanzas y los tediosos deslizamientos de pantalla
25594 para localizar los fallos del programa!
25597 \begin_layout Standard
25598 Sin embargo, ten en cuenta que debes habilitar el servidor \SpecialChar LyX
25600 con él (por omisión está desactivado).
25604 \begin_layout Standard
25610 \begin_inset space ~
25614 \begin_inset CommandInset ref
25616 reference "sec:Iniciar-el-servidor"
25622 explains how to do that
25627 \begin_layout Subsubsection
25628 Ampliación de la barra de herramientas
25631 \begin_layout Standard
25632 Hay seis botones nuevos que pueden añadirse a la barra de herramientas de
25635 Four de ellos son atajos a los tipos de párrafo:
25650 y Código-\SpecialChar LyX
25655 one fpr the custom inset
25661 El otro es un atajo a la entrada
25662 \begin_inset Quotes cld
25670 \begin_inset Quotes crd
25681 \begin_layout Standard
25683 dispone de una colección de botones para personalizar la barra de herramientas.
25684 En mi barra de herramientas personal me gusta combinar los seis botones
25685 mencionados con otros dos para las entradas de menú
25689 \SpecialChar menuseparator
25694 \SpecialChar menuseparator
25701 Documento\SpecialChar menuseparator
25708 \begin_layout LyX-Code
25712 \begin_layout LyX-Code
25716 \begin_layout LyX-Code
25717 Icon "layout Standard"
25720 \begin_layout LyX-Code
25721 Icon "layout Section"
25724 \begin_layout LyX-Code
25725 Icon "layout \SpecialChar LaTeX
25729 \begin_layout LyX-Code
25730 Icon "layout \SpecialChar LyX
25734 \begin_layout LyX-Code
25742 \begin_layout LyX-Code
25746 \begin_layout LyX-Code
25750 \begin_layout LyX-Code
25751 Icon "buffer-typeset"
25754 \begin_layout LyX-Code
25755 Icon "build-program"
25758 \begin_layout LyX-Code
25762 \begin_layout LyX-Code
25766 \begin_layout LyX-Code
25770 \begin_layout LyX-Code
25774 \begin_layout LyX-Code
25778 \begin_layout Subsubsection
25779 Personalización de los colores
25782 \begin_layout Standard
25783 Cierto número de colores usados en \SpecialChar LyX
25784 se pueden personalizar en el diálogo
25790 Una de las cosas que más molesta a la gente es el color de la tipografía
25791 del código \SpecialChar LaTeX
25792 , que por omisión es rojo, y como el entorno
25795 \begin_inset Flex Noun
25798 \begin_layout Plain Layout
25809 utiliza código \SpecialChar LaTeX
25810 y hay mucho código en los documentos de programación literaria,
25811 puedes acabar harto de ver tanto rojo.
25812 Así pues, puedes cambiarlo si quieres en
25816 \SpecialChar menuseparator
25822 \begin_layout Standard
25823 El siguiente asunto es la presencia visible del carácter salto de línea
25825 Puedes elegir el color de este carácter en particular para confundirlo
25827 Recomiendo escoger un color parecido al del fondo pero no idéntico, de
25828 esta forma lo seguirás viendo pero sin molestar tanto.
25831 \begin_layout Subsection
25836 \begin_layout Standard
25845 está documentado en el archivo de ejemplo
25849 y en el manual de Sweave (menú
25851 Ayuda\SpecialChar menuseparator
25852 Manuales específicos
25857 \begin_layout Chapter
25858 Características especiales
25861 \begin_layout Standard
25862 Con \SpecialChar LyX
25863 se puede hacer todo lo que se puede hacer con \SpecialChar LaTeX
25865 Aunque \SpecialChar LyX
25866 no puede soportar directamente todas las características de \SpecialChar LaTeX
25868 es posible usar código \SpecialChar LaTeX
25870 Este capítulo trata de algunas cosas especiales que podrían interesarte.
25871 Las características especiales relacionadas con figuras, cuadros, flotantes,
25872 marcos y notas, se pueden consultar en el manual
25880 \begin_layout Section
25884 \begin_layout Standard
25885 Esta característica es independiente de la opción
25887 Documento con dos columnas
25893 de la configuración del documento.
25894 Para tener dos columnas de texto en todo el documento se recomienda usar
25896 Para el resto de casos se usa la característica aquí descrita.
25899 \begin_layout Standard
25900 Para poner texto en varias columnas, hay que cargar el módulo
25906 Documento\SpecialChar menuseparator
25907 Configuración\SpecialChar menuseparator
25910 ), y debe estar instalado el paquete \SpecialChar LaTeX
25916 \begin_inset Index idx
25919 \begin_layout Plain Layout
25921 -paquetes ! multicol
25929 \begin_layout Standard
25930 Las notas al pie en las columnas se colocarán al final de la página y no
25932 En las distintas columnas se puede usar todo, excepto que para flotantes
25933 hay que usar la opción
25940 \begin_layout Subsection
25944 \begin_layout Standard
25945 Para poner un texto en dos columnas, usa el menú
25947 Insertar\SpecialChar menuseparator
25949 \begin_inset space ~
25952 personalizado\SpecialChar menuseparator
25955 en el punto en que deben iniciarse las columnas.
25956 Escribe en el recuadro todo el texto que debe ir en dos columnas.
25959 \begin_layout Standard
25963 \begin_layout Standard
25967 \begin_inset Flex Multiple Columns
25970 \begin_layout Plain Layout
25976 The Adventure of the Empty House
25979 \begin_inset Newline newline
25982 by Sir Arthur Conan Doyle
25985 \begin_layout Plain Layout
25989 It was in the spring of the year 1894 that all London was interested, and
25990 the fashionable world dismayed, by the murder of the Honourable Ronald
25991 Adair under most unusual and inexplicable circumstances.
25992 The public has already learned those particulars of the crime which came
25993 out in the police investigation, but a good deal was suppressed upon that
25994 occasion, since the case for the prosecution was so overwhelmingly strong
25995 that it was not necessary to bring forward all the facts.
25996 Only now, at the end of nearly ten years, am I allowed to supply those
25997 missing links which make up the whole of that remarkable chain.
25998 The crime was of interest in itself, but that interest was as nothing to
25999 me compared to the inconceivable sequel, which afforded me the greatest
26000 shock and surprise of any event in my adventurous life.
26001 Even now, after this long interval, I find myself thrilling as I think
26002 of it, and feeling once more that sudden flood of joy, amazement, and increduli
26003 ty which utterly submerged my mind.
26004 Let me say to that public, which has shown some interest in those glimpses
26005 which I have occasionally given them of the thoughts and actions of a very
26006 remarkable man, that they are not to blame me if I have not shared my knowledge
26007 with them, for I should have considered it my first duty to do so, had
26008 I not been barred by a positive prohibition from his own lips, which was
26009 only withdrawn upon the third of last month.
26017 \begin_layout Standard
26018 Para poner tres o más columnas coloca el cursor dentro del recuadro, usa
26021 Insertar\SpecialChar menuseparator
26024 y escribe el número de columnas, por ejemplo "3".
26025 \begin_inset Newline newline
26028 Un ejemplo de texto en tres columnas:
26031 \begin_layout Standard
26034 \begin_inset Flex Multiple Columns
26037 \begin_layout Plain Layout
26041 \begin_inset Argument 1
26044 \begin_layout Plain Layout
26051 It can be imagined that my close intimacy with Sherlock Holmes had interested
26052 me deeply in crime, and that after his disappearance I never failed to
26053 read with care the various problems which came before the public.
26054 And I even attempted, more than once, for my own private satisfaction,
26055 to employ his methods in their solution, though with indifferent success.
26056 There was none, however, which appealed to me like this tragedy of Ronald
26058 As I read the evidence at the inquest, which led up to a verdict of willful
26059 murder against some person or persons unknown, I realized more clearly
26060 than I had ever done the loss which the community had sustained by the
26061 death of Sherlock Holmes.
26062 There were points about this strange business which would, I was sure,
26063 have specially appealed to him, and the efforts of the police would have
26064 been supplemented, or more probably anticipated, by the trained observation
26065 and the alert mind of the first criminal agent in Europe.
26066 All day, as I drove upon my round, I turned over the case in my mind and
26067 found no explanation which appeared to me to be adequate.
26068 At the risk of telling a twice-told tale, I will recapitulate the facts
26069 as they were known to the public at the conclusion of the inquest.
26077 \begin_layout Standard
26078 Se puede llegar hasta 10
26079 \begin_inset space ~
26082 columnas, aunque seguramente no será muy cómodo para los lectores.
26085 \begin_layout Standard
26088 \begin_inset Newpage newpage
26094 \begin_layout Subsection
26095 Columnas dentro de otras columnas
26098 \begin_layout Standard
26099 Es posible poner columnas dentro de otras:
26102 \begin_layout Standard
26105 \begin_inset Flex Multiple Columns
26108 \begin_layout Plain Layout
26112 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
26113 at that time governor of one of the Australian colonies.
26114 Adair's mother had returned from Australia to undergo the operation for
26115 cataract, and she, her son Ronald, and her daughter Hilda were living together
26119 \begin_layout Plain Layout
26122 \begin_inset Flex Multiple Columns
26125 \begin_layout Plain Layout
26129 The youth moved in the best society
26130 \begin_inset space ~
26133 – had, so far as was known, no enemies and no particular vices.
26134 He had been engaged to Miss Edith Woodley, of Carstairs, but the engagement
26135 had been broken off by mutual consent some months before, and there was
26136 no sign that it had left any very profound feeling behind it.
26137 For the rest {sic} the man's life moved in a narrow and conventional circle,
26138 for his habits were quiet and his nature unemotional.
26139 Yet it was upon this easy-going young aristocrat that death came, in most
26140 strange and unexpected form, between the hours of ten and eleven-twenty
26141 on the night of March 30, 1894.
26149 \begin_layout Plain Layout
26153 Ronald Adair was fond of cards
26154 \begin_inset space ~
26157 – playing continually, but never for such stakes as would hurt him.
26158 He was a member of the Baldwin, the Cavendish, and the Bagatelle card clubs.
26159 It was shown that, after dinner on the day of his death, he had played
26160 a rubber of whist at the latter club.
26161 He had also played there in the afternoon.
26166 The evidence of those who had played with him
26167 \begin_inset space ~
26171 Murray, Sir John Hardy, and Colonel Moran
26172 \begin_inset space ~
26175 – showed that the game was whist, and that there was a fairly equal fall
26177 Adair might have lost five pounds, but not more.
26178 His fortune was a considerable one, and such a loss could not in any way
26180 He had played nearly every day at one club or other, but he was a cautious
26181 player, and usually rose a winner.
26182 It came out in evidence that, in partnership with Colonel Moran, he had
26183 actually won as much as four hundred and twenty pounds in a sitting, some
26184 weeks before, from Godfrey Milner and Lord Balmoral.
26185 So much for his recent history as it came out at the inquest.
26193 \begin_layout Subsection
26197 \begin_layout Standard
26198 Los ejemplos de esta sección muestran algunas características más avanzadas
26202 \begin_layout Standard
26203 Para ver más opciones de columnas echa un vistazo a la documentación del
26204 paquete \SpecialChar LaTeX
26210 \begin_inset Index idx
26213 \begin_layout Plain Layout
26215 -paquetes ! multicol
26221 \begin_inset CommandInset citation
26231 \begin_layout Subsubsection
26235 \begin_layout Standard
26236 Para añadir un prefacio a las columnas coloca el cursor dentro del recuadro
26237 del texto en columnas y usa el menú
26239 Insertar\SpecialChar menuseparator
26243 Escribe en el marco que aparece el texto del prefacio.
26244 \begin_inset Newline newline
26247 Ejemplo con un texto de prefacio:
26248 \begin_inset VSpace bigskip
26254 \begin_layout Standard
26257 \begin_inset Flex Multiple Columns
26260 \begin_layout Plain Layout
26261 \begin_inset Argument 2
26264 \begin_layout Plain Layout
26265 Y la historia continúa\SpecialChar ldots
26274 On the evening of the crime, he returned from the club exactly at ten.
26275 His mother and sister were out spending the evening with a relation.
26276 The servant deposed that she heard him enter the front room on the second
26277 floor, generally used as his sitting-room.
26278 She had lit a fire there, and as it smoked she had opened the window.
26279 No sound was heard from the room until eleven-twenty, the hour of the return
26280 of Lady Maynooth and her daughter.
26281 Desiring to say good-night, she attempted to enter her son's room.
26282 The door was locked on the inside, and no answer could be got to their
26283 cries and knocking.
26284 Help was obtained, and the door forced.
26285 The unfortunate young man was found lying near the table.
26286 His head had been horribly mutilated by an expanding revolver bullet, but
26287 no weapon of any sort was to be found in the room.
26295 \begin_layout Standard
26296 También se puede usar un encabezado de sección como prefacio, poniendo un
26297 comando de sección en código \SpecialChar TeX
26299 Por ejemplo, el comando
26302 \begin_layout Standard
26307 subsection{título de la subsección}
26310 \begin_layout Standard
26311 crea una subsección.
26312 En el siguiente ejemplo el título de la subsubsección hace de prefacio:
26315 \begin_layout Standard
26318 \begin_inset Flex Multiple Columns
26321 \begin_layout Plain Layout
26322 \begin_inset Argument 2
26325 \begin_layout Plain Layout
26329 \begin_layout Plain Layout
26338 Un encabezado de subsubsección como prefacio
26342 \begin_layout Plain Layout
26357 A minute examination of the circumstances served only to make the case more
26359 In the first place, no reason could be given why the young man should have
26360 fastened the door upon the inside.
26361 There was the possibility that the murderer had done this, and had afterwards
26362 escaped by the window.
26363 The drop was at least twenty feet, however, and a bed of crocuses in full
26365 Neither the flowers nor the earth showed any sign of having been disturbed,
26366 nor were there any marks upon the narrow strip of grass which separated
26367 the house from the road.
26368 Apparently, therefore, it was the young man himself who had fastened the
26370 But how did he come by his death? No one could have climbed up to the window
26371 without leaving traces.
26372 Suppose a man had fired through the window, he would indeed be a remarkable
26373 shot who could with a revolver inflict so deadly a wound.
26374 Again, Park Lane is a frequented thoroughfare; there is a cab stand within
26375 a hundred yards of the house.
26376 No one had heard a shot.
26384 \begin_layout Standard
26385 Si al comenzar las columnas queda menos espacio vertical en la página que
26386 el correspondiente a 6 líneas de texto, se insertará un salto de página.
26387 Dependiendo del número de líneas del texto del prefacio, es posible cambiar
26389 Para ello se coloca el cursor detrás del prefacio (si lo hay), se usa el
26392 Insertar\SpecialChar menuseparator
26394 \begin_inset space ~
26398 \begin_inset space ~
26402 \begin_inset space ~
26406 \begin_inset space ~
26411 y se escribe en el marco el espacio deseado, por ej.
26413 \begin_inset Newline newline
26416 En el siguiente ejemplo, el espacio establecido es de 7 líneas de texto
26418 \begin_inset Quotes cld
26428 \begin_inset Quotes crd
26437 en código \SpecialChar TeX
26441 \begin_layout Standard
26444 \begin_inset Flex Multiple Columns
26447 \begin_layout Plain Layout
26448 \begin_inset Argument 3
26451 \begin_layout Plain Layout
26456 \begin_layout Plain Layout
26473 On the evening of the crime, he returned from the club exactly at ten.
26474 His mother and sister were out spending the evening with a relation.
26475 The servant deposed that she heard him enter the front room on the second
26476 floor, generally used as his sitting-room.
26477 She had lit a fire there, and as it smoked she had opened the window.
26478 No sound was heard from the room until eleven-twenty, the hour of the return
26479 of Lady Maynooth and her daughter.
26480 Desiring to say good-night, she attempted to enter her son's room.
26481 The door was locked on the inside, and no answer could be got to their
26482 cries and knocking.
26483 Help was obtained, and the door forced.
26484 The unfortunate young man was found lying near the table.
26485 His head had been horribly mutilated by an expanding revolver bullet, but
26486 no weapon of any sort was to be found in the room.
26494 \begin_layout Subsubsection
26495 Espacio circundante
26498 \begin_layout Standard
26499 El espacio delante y detrás de las columnas se puede cambiar con el comando
26510 \begin_layout LyX-Code
26520 \begin_layout Standard
26521 en código \SpecialChar TeX
26522 establece un espacio de 3
26523 \begin_inset space \thinspace{}
26527 El cambio debe hacerse antes del inicio de las columnas.
26528 El valor por omisión es de 13
26529 \begin_inset space \thinspace{}
26535 \begin_layout Standard
26542 se ha establecido en 2.5
26543 \begin_inset space \thinspace{}
26549 \begin_layout Standard
26553 \begin_layout Plain Layout
26559 multicolsep}{2.5cm}
26567 \begin_layout Standard
26570 \begin_inset Flex Multiple Columns
26573 \begin_layout Plain Layout
26577 All day I turned these facts over in my mind, endeavouring to hit upon some
26578 theory which could reconcile them all, and to find that line of least resistanc
26579 e which my poor friend had declared to be the starting-point of every investigat
26581 I confess that I made little progress.
26582 In the evening I strolled across the Park, and found myself about six o'clock
26583 at the Oxford Street end of Park Lane.
26584 A group of loafers upon the pavements, all staring up at a particular window,
26585 directed me to the house which I had come to see.
26586 A tall, thin man with coloured glasses, whom I strongly suspected of being
26587 a plain-clothes detective, was pointing out some theory of his own, while
26588 the others crowded round to listen to what he said.
26589 I got as near him as I could, but his observations seemed to me to be absurd,
26590 so I withdrew again in some disgust.
26591 As I did so I struck against an elderly, deformed man, who had been behind
26592 me, and I knocked down several books which he was carrying.
26600 \begin_layout Standard
26601 \begin_inset Note Greyedout
26604 \begin_layout Plain Layout
26615 serán válidos para todas las columnas siguientes hasta que se cambie de
26624 \begin_layout Standard
26628 \begin_layout Plain Layout
26640 \begin_inset Note Note
26643 \begin_layout Plain Layout
26644 vuelta al valor predefinido
26652 \begin_layout Standard
26655 \begin_inset Newpage newpage
26661 \begin_layout Subsubsection
26665 \begin_layout Standard
26666 Se puede forzar un salto de columna insertando el comando
26675 en código \SpecialChar TeX
26676 en la posición del texto en la que se desee quebrar la columna.
26677 A tener en cuenta que, en la mayoría de los casos, esto genera espacios
26679 \begin_inset Newline newline
26685 \begin_layout Standard
26688 \begin_inset Flex Multiple Columns
26691 \begin_layout Plain Layout
26695 \begin_inset Quotes eld
26698 You're surprised to see me, sir,
26699 \begin_inset Quotes erd
26702 said he, in a strange, croaking voice.
26705 \begin_layout Plain Layout
26709 I acknowledged that I was.
26712 \begin_layout Plain Layout
26716 \begin_inset Quotes eld
26719 Well, I've a conscience, sir, and when I chanced to see you go into this
26720 house, as I came hobbling after you, I thought to myself, I'll just step
26721 in and see that kind gentleman, and tell him that if I was a bit gruff
26722 in my manner there was not any harm meant, and that I am much obliged to
26723 him for picking up my books.
26724 \begin_inset Quotes erd
26730 \begin_layout Plain Layout
26734 \begin_inset Quotes eld
26737 You make too much of a trifle,
26738 \begin_inset Quotes erd
26743 \begin_inset Quotes eld
26746 May I ask how you knew who I was?
26747 \begin_inset Quotes erd
26752 TRAS ESTA FRASE SE FUERZA UN SALTO DE COLUMNA.
26756 \begin_layout Plain Layout
26768 \begin_layout Plain Layout
26772 \begin_inset Quotes eld
26775 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
26776 you'll find my little bookshop at the corner of Church Street, and very
26777 happy to see you, I am sure.
26778 Maybe you collect yourself, sir.
26782 \begin_inset space ~
26796 \begin_inset space ~
26799 – a bargain, every one of them.
26800 With five volumes you could just fill that gap on that second shelf.
26801 It looks untidy, does it not, sir?
26802 \begin_inset Quotes erd
26813 \begin_layout Subsubsection
26814 Separación de columnas
26817 \begin_layout Standard
26818 La anchura de las columnas se calcula automáticamente, pero la separación
26819 entre ellas se puede modificar mediante el comando
26826 El valor predeterminado es 10
26827 \begin_inset space \thinspace{}
26831 A continuación hay un ejemplo en el que la longitud de
26837 se ha establecido en 3
26838 \begin_inset space \thinspace{}
26844 \begin_layout Standard
26848 \begin_layout Plain Layout
26862 \begin_layout Standard
26865 \begin_inset Flex Multiple Columns
26868 \begin_layout Plain Layout
26872 My observations of No.
26873 \begin_inset space \space{}
26876 427 Park Lane did little to clear up the problem in which I was interested.
26877 The house was separated from the street by a low wall and railing, the
26878 whole not more than five feet high.
26879 It was perfectly easy, therefore, for anyone to get into the garden, but
26880 the window was entirely inaccessible, since there was no water pipe or
26881 anything which could help the most active man to climb it.
26882 More puzzled than ever, I retraced my steps to Kensington.
26883 I had not been in my study five minutes when the maid entered to say that
26884 a person desired to see me.
26885 To my astonishment it was none other than my strange old book collector,
26886 his sharp, wizened face peering out from a frame of white hair, and his
26887 precious volumes, a dozen of them at least, wedged under his right arm.
26895 \begin_layout Standard
26899 \begin_layout Plain Layout
26911 \begin_inset Note Note
26914 \begin_layout Plain Layout
26915 vuelta al valor predefinido
26923 \begin_layout Subsubsection
26927 \begin_layout Standard
26928 Entre las columnas se dibuja una línea cuya anchura viene dada por
26935 La anchura por omisión es de 0
26936 \begin_inset space \thinspace{}
26939 pt, no se dibuja ninguna línea.
26940 En el siguiente ejemplo la anchura de línea es 2
26941 \begin_inset space \thinspace{}
26947 \begin_layout Standard
26951 \begin_layout Plain Layout
26957 columnseprule}{2pt}
26965 \begin_layout Standard
26968 \begin_inset Flex Multiple Columns
26971 \begin_layout Plain Layout
26975 \begin_inset Quotes eld
26978 You're surprised to see me, sir,
26979 \begin_inset Quotes erd
26982 said he, in a strange, croaking voice.
26985 \begin_layout Plain Layout
26989 I acknowledged that I was.
26992 \begin_layout Plain Layout
26996 \begin_inset Quotes eld
26999 Well, I've a conscience, sir, and when I chanced to see you go into this
27000 house, as I came hobbling after you, I thought to myself, I'll just step
27001 in and see that kind gentleman, and tell him that if I was a bit gruff
27002 in my manner there was not any harm meant, and that I am much obliged to
27003 him for picking up my books.
27004 \begin_inset Quotes erd
27010 \begin_layout Plain Layout
27014 \begin_inset Quotes eld
27017 You make too much of a trifle,
27018 \begin_inset Quotes erd
27023 \begin_inset Quotes eld
27026 May I ask how you knew who I was?
27027 \begin_inset Quotes erd
27033 \begin_layout Plain Layout
27037 \begin_inset Quotes eld
27040 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
27041 you'll find my little bookshop at the corner of Church Street, and very
27042 happy to see you, I am sure.
27043 Maybe you collect yourself, sir.
27047 \begin_inset space ~
27061 \begin_inset space ~
27064 – a bargain, every one of them.
27065 With five volumes you could just fill that gap on that second shelf.
27066 It looks untidy, does it not, sir?
27067 \begin_inset Quotes erd
27078 \begin_layout Standard
27079 \begin_inset VSpace defskip
27085 \begin_layout Standard
27086 La raya se puede colorear redefiniendo el comando
27096 Esto se consigue insertando el comando
27099 \begin_layout LyX-Code
27106 columnseprulecolor}{
27111 \begin_layout LyX-Code
27112 en código \SpecialChar TeX
27113 delante del recuadro columnas.
27114 Se puede poner el color deseado en lugar de red (rojo).
27115 Se puede usar cualquier color predefinido o personalizado.
27128 para más información sobre colores.
27129 Para volver al color por omisión inserta el comando
27132 \begin_layout LyX-Code
27137 columnseprulecolor}{
27142 \begin_layout LyX-Code
27143 Aquí hay un ejemplo con una línea en color cian y 1
27144 \begin_inset space \thinspace{}
27147 cm de separación entre columnas:
27150 \begin_layout Standard
27154 \begin_layout Plain Layout
27163 \begin_layout Plain Layout
27169 columnseprulecolor}{
27179 \begin_layout Standard
27182 \begin_inset Flex Multiple Columns
27185 \begin_layout Plain Layout
27189 \begin_inset Quotes eld
27192 You're surprised to see me, sir,
27193 \begin_inset Quotes erd
27196 said he, in a strange, croaking voice.
27199 \begin_layout Plain Layout
27203 I acknowledged that I was.
27206 \begin_layout Plain Layout
27210 \begin_inset Quotes eld
27213 Well, I've a conscience, sir, and when I chanced to see you go into this
27214 house, as I came hobbling after you, I thought to myself, I'll just step
27215 in and see that kind gentleman, and tell him that if I was a bit gruff
27216 in my manner there was not any harm meant, and that I am much obliged to
27217 him for picking up my books.
27218 \begin_inset Quotes erd
27224 \begin_layout Plain Layout
27228 \begin_inset Quotes eld
27231 You make too much of a trifle,
27232 \begin_inset Quotes erd
27237 \begin_inset Quotes eld
27240 May I ask how you knew who I was?
27241 \begin_inset Quotes erd
27247 \begin_layout Plain Layout
27251 \begin_inset Quotes eld
27254 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
27255 you'll find my little bookshop at the corner of Church Street, and very
27256 happy to see you, I am sure.
27257 Maybe you collect yourself, sir.
27261 \begin_inset space ~
27275 \begin_inset space ~
27278 – a bargain, every one of them.
27279 With five volumes you could just fill that gap on that second shelf.
27280 It looks untidy, does it not, sir?
27281 \begin_inset Quotes erd
27292 \begin_layout Standard
27296 \begin_layout Plain Layout
27302 columnseprule}{0pt}
27305 \begin_layout Plain Layout
27311 columnseprulecolor}{
27319 \begin_inset Note Note
27322 \begin_layout Plain Layout
27323 retornar a los valores por omisión.
27331 \begin_layout Standard
27332 \begin_inset Newpage newpage
27338 \begin_layout Section
27339 Párrafos con formas diversas
27342 \begin_layout Standard
27344 y cualquier procesador de texto usan por omisión párrafos rectangulares.
27345 Para casos especiales como posters, tarjetas o poemas, es posible modifcar
27346 la forma del párrafo.
27347 Esto se puede conseguir mediante el paquete \SpecialChar LaTeX
27352 , que se carga con el módulo
27354 Párrafos conformados
27358 Documento\SpecialChar menuseparator
27359 Configuración\SpecialChar menuseparator
27365 \begin_layout Subsection
27366 Formas predefinidas
27369 \begin_layout Standard
27374 proporciona las siguientes formas:
27377 \begin_layout Standard
27378 \begin_inset Tabular
27379 <lyxtabular version="3" rows="13" columns="3">
27380 <features booktabs="true" islongtable="true" longtabularalignment="center">
27381 <column alignment="center" valignment="middle" width="16col%">
27382 <column alignment="center" valignment="middle" width="40col%">
27383 <column alignment="center" valignment="middle" width="35col%">
27384 <row endhead="true">
27385 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27388 \begin_layout Plain Layout
27394 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27397 \begin_layout Plain Layout
27403 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27406 \begin_layout Plain Layout
27414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27417 \begin_layout Plain Layout
27423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27426 \begin_layout Plain Layout
27427 Círculo con orificio central (tamaño de CD/DVD)
27432 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27435 \begin_layout Plain Layout
27436 No se puede cambiar el tamaño; no debe contener demasiado texto
27443 <cell alignment="center" valignment="top" topline="true" usebox="none">
27446 \begin_layout Plain Layout
27452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27455 \begin_layout Plain Layout
27461 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27464 \begin_layout Plain Layout
27465 Frágil, los cálculos
27468 \begin_layout Plain Layout
27476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27479 \begin_layout Plain Layout
27485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27488 \begin_layout Plain Layout
27489 Romboide (simbolizando
27492 \begin_layout Plain Layout
27494 \begin_inset Quotes cld
27498 \begin_inset Quotes crd
27506 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27509 \begin_layout Plain Layout
27517 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27520 \begin_layout Plain Layout
27526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27529 \begin_layout Plain Layout
27535 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27538 \begin_layout Plain Layout
27546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27549 \begin_layout Plain Layout
27555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27558 \begin_layout Plain Layout
27564 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27567 \begin_layout Plain Layout
27575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27578 \begin_layout Plain Layout
27584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27587 \begin_layout Plain Layout
27591 \begin_layout Plain Layout
27592 (hexágono con orificio circular)
27597 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27600 \begin_layout Plain Layout
27608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27611 \begin_layout Plain Layout
27617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27620 \begin_layout Plain Layout
27626 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27629 \begin_layout Plain Layout
27637 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27640 \begin_layout Plain Layout
27646 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27649 \begin_layout Plain Layout
27650 Estrella de 5 puntas
27655 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27658 \begin_layout Plain Layout
27666 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27669 \begin_layout Plain Layout
27675 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27678 \begin_layout Plain Layout
27684 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27687 \begin_layout Plain Layout
27695 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27698 \begin_layout Plain Layout
27699 Gota/Gota invertida
27704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27707 \begin_layout Plain Layout
27708 Forma de gota normal/invertida
27713 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27716 \begin_layout Plain Layout
27717 Frágil, los cáculos
27720 \begin_layout Plain Layout
27728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27731 \begin_layout Plain Layout
27738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27741 \begin_layout Plain Layout
27742 Logotipo de \SpecialChar TeX
27748 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27751 \begin_layout Plain Layout
27759 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27762 \begin_layout Plain Layout
27764 \begin_inset Newline newline
27768 \begin_inset Newline newline
27776 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27779 \begin_layout Plain Layout
27780 Triángulos en diferentes orientaciones
27785 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27788 \begin_layout Plain Layout
27802 \begin_layout Standard
27803 Para elegir una determinada forma selecciónala en la lista desplegable de
27804 entornos de \SpecialChar LyX
27805 (primer botón de la barra de herramientas).
27808 \begin_layout Standard
27809 \begin_inset Newpage newpage
27815 \begin_layout Standard
27816 Ejemplo de párrafo con forma de tuerca:
27819 \begin_layout Standard
27820 \begin_inset VSpace bigskip
27827 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27828 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27830 At vero eos et accusam et justo duo dolores et ea rebum.
27831 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
27833 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27834 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27838 \begin_layout Standard
27839 \begin_inset VSpace bigskip
27845 \begin_layout Standard
27846 \begin_inset Note Greyedout
27849 \begin_layout Plain Layout
27854 : los párrafos conformados no pueden saltar de página.
27862 \begin_layout Standard
27863 \begin_inset VSpace bigskip
27869 \begin_layout Standard
27874 preserva siempre la forma independientemente de la cantidad de texto.
27875 Por tanto el tamaño del párrafo cambia en función del texto.
27876 Esto puede provocar desbordamiento de los márgenes.
27877 Para comprobar el efecto de ajuste del tamaño veamos el mismo ejemplo anterior
27878 con el doble de texto:
27881 \begin_layout Standard
27882 \begin_inset Newpage newpage
27889 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27890 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27892 At vero eos et accusam et justo duo dolores et ea rebum.
27893 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
27895 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27896 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27898 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27899 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27901 At vero eos et accusam et justo duo dolores et ea rebum.
27902 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
27904 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27905 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27909 \begin_layout Standard
27910 \begin_inset VSpace bigskip
27916 \begin_layout Standard
27922 No se puede hacer escala porque debe ajustarse al tamaño de un CD/DVD.
27923 Por tanto la cantidad de texto que admite esta forma es limitada.
27924 \begin_inset Newline newline
27935 son frágiles, lo que significa que pueden fallar los cálculos de su tamaño,
27936 según la cantidad de texto.
27937 En esos casos se producirá el error de \SpecialChar LaTeX
27939 \begin_inset Quotes eld
27942 Arithmetic overflow
27943 \begin_inset Quotes erd
27947 Se puede arreglar añadiendo o quitando algo de texto; si no funciona habrá
27948 que elegir otra forma.
27951 \begin_layout Standard
27952 \begin_inset VSpace bigskip
27958 \begin_layout Standard
27959 En formas con puntas, la rutina de división silábica de \SpecialChar LaTeX
27961 Entonces habrá que añadir guiones protegidos
27966 arg "specialchar-insert hyphenation"
27971 ) donde sea necesario.
27974 \begin_layout Standard
27975 \begin_inset VSpace bigskip
27981 \begin_layout Standard
27982 Los párrafos conformados siempre van centrados en la página o ajustados
27983 al margen izquierdo, por tanto no se puede usar la alineación de la configuraci
27985 Una solución es poner el párrafo en una minipágina o en un marco y alinear
27987 En ese caso el problema es saber la anchura adecuada del marco: si es demasiado
27988 ancho y se centra, el párrafo no queda centrado porque se ajusta a la izquierda
27990 De modo que habrá que ir probando un poco para acertar con la anchura correcta.
27991 Aquí tenemos dos párrafos
27995 , el primero no alineado, el segundo a la derecha:
27998 \begin_layout Standard
27999 \begin_inset Newpage newpage
28005 \begin_layout Heart
28007 Lo\SpecialChar softhyphen
28008 rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28009 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28011 At vero eos et accusam et justo duo dolores et ea rebum.
28012 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28016 \begin_layout Standard
28017 \begin_inset VSpace bigskip
28023 \begin_layout Standard
28026 \begin_inset Box Frameless
28036 height_special "totalheight"
28041 backgroundcolor "none"
28044 \begin_layout Heart
28046 Lo\SpecialChar softhyphen
28047 rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28048 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28050 At vero eos et accusam et justo duo dolores et ea rebum.
28051 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28060 \begin_layout Subsection
28061 Formas personalizadas
28064 \begin_layout Standard
28065 Se puede definir cualquier forma.
28066 Hacerlo manualmente lleva mucho trabajo porque debe especificarse cada
28068 Pero hay una forma de que el ordenador haga los cálculos:
28071 \begin_layout Enumerate
28072 Instala el programa
28073 \begin_inset CommandInset href
28076 target "https://www.ctan.org/tex-archive/graphics/jpgfdraw"
28084 \begin_layout Enumerate
28091 TeX/LaTeX\SpecialChar menuseparator
28092 Settings\SpecialChar menuseparator
28095 y selecciona el tamaño de tipografía usado en el documento.
28096 Por ejemplo, este documento usa el tamaño 12
28097 \begin_inset space \thinspace{}
28103 \begin_layout Enumerate
28107 \begin_layout Enumerate
28110 TeX/LaTeX\SpecialChar menuseparator
28113 para exportar la forma a coordenadas.
28114 En el diálogo que surge usa la descripción de la forma para las coordenadas
28119 \begin_layout Plain Layout
28121 \begin_inset CommandInset href
28123 target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
28136 \begin_layout Standard
28137 Las coordenadas se escriben en un archivo \SpecialChar TeX
28139 Para incorporarlo a \SpecialChar LyX
28143 \begin_layout Enumerate
28144 Coloca el cursor delante del primer carácter del párrafo (o en uno nuevo
28148 \begin_layout Enumerate
28149 En \SpecialChar LyX
28152 Insertar\SpecialChar menuseparator
28153 Archivo\SpecialChar menuseparator
28155 \begin_inset space ~
28158 hijo\SpecialChar ldots
28161 , selecciona el archivo y elige
28168 \begin_inset space ~
28172 \begin_inset space ~
28178 \begin_layout Standard
28179 \begin_inset VSpace defskip
28185 \begin_layout Standard
28186 \begin_inset Note Greyedout
28189 \begin_layout Plain Layout
28194 : el cambio de forma sólo se aplica al párrafo actual; todo se restablece
28195 a normal para el párrafo siguiente.
28196 Por tanto la definición de forma debe aplicarse a cada párrafo por separado.
28204 \begin_layout Standard
28205 \begin_inset VSpace bigskip
28211 \begin_layout Standard
28215 \begin_layout Standard
28216 \begin_inset VSpace bigskip
28222 \begin_layout Standard
28223 \begin_inset CommandInset include
28225 filename "../SpecialParagraphShape.tex"
28229 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28230 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28232 At vero eos et accusam et justo duo dolores et ea rebum.
28233 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28235 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28236 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28240 \begin_layout Standard
28241 \begin_inset VSpace bigskip
28247 \begin_layout Standard
28252 para dibujar formas complejas en
28256 puedes dibujar la forma con el programa que quieras e importar la imagen
28262 Después sólo tendrás que dibujar una línea o spline sobre el contorno de
28266 \begin_layout Standard
28267 \begin_inset VSpace bigskip
28273 \begin_layout Standard
28276 Párrafos conformados
28278 proporciona además el
28294 que se pueden usar para definir formas coordenada a coordenada.
28298 \begin_layout Plain Layout
28299 Estos comandos se usan internamente para todas las formas que se han descrito
28305 Para información sobre el uso de estos entornos de estilo y más posibilidades
28306 de personalización echa un vistazo a la
28307 \begin_inset CommandInset href
28309 name "documentación"
28310 target "https://www.ctan.org/tex-archive/macros/latex/contrib/shapepar/shapepar.pdf"