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
11104 Publicaciones de AGU (
11111 \begin_layout Standard
11117 \begin_layout Subsection
11121 \begin_layout Standard
11122 Son los archivos de formato para algunas de las publicaciones de la
11124 American Geophysical Society
11127 Se supone que tienes instalados los archivos de clase propios de AGU y
11128 AGUplus (todo se encuentra en
11129 \begin_inset Flex URL
11132 \begin_layout Plain Layout
11134 http://publications.agu.org/files/2013/08/AGU-LaTeX.zip
11142 \begin_layout Subsection
11146 \begin_layout Standard
11156 Aún se llaman así en la interfaz de \SpecialChar LyX
11157 , aunque sus equivalentes \SpecialChar LaTeX
11170 \begin_layout Standard
11171 Los estilos definidos de nuevo son
11208 En su mayoría son atributos del manuscrito definidos en la documentación
11212 \begin_layout Standard
11213 Sospecho que esto aún está incompleto.
11216 \begin_layout Subsection
11220 \begin_layout Standard
11230 También tenemos un nuevo
11237 \begin_layout Subsection
11238 Publicaciones soportadas
11241 \begin_layout Itemize
11244 Journal of Geophysical Research
11253 \begin_layout Standard
11254 ¡Añade los tuyos, no es tan duro! Mira en los ejemplos
11265 \begin_layout Subsection
11266 Fallos y cosas que recordar
11269 \begin_layout Standard
11270 Para usar los nuevos formatos, debes tener en cuenta lo siguiente:
11273 \begin_layout Enumerate
11281 Herramientas\SpecialChar menuseparator
11282 Preferencias\SpecialChar menuseparator
11286 (Los artículos AGU siempre son en inglés ¿de acuerdo? Así que
11290 cambies el lenguaje).
11293 \begin_layout Enumerate
11302 de la configuración del documento.
11303 (Sí, hay un fallo).
11306 \begin_layout Enumerate
11307 Comprueba que usas el estilo de bibliografía
11315 en el segundo campo de Bib\SpecialChar TeX
11317 Ninguno de los estilos estándar lo hace.
11320 \begin_layout Section
11324 \begin_layout Standard
11330 \begin_layout Subsection
11334 \begin_layout Standard
11335 Broadway se usa para escribir guiones teatrales.
11336 El formato es más decorativo que el de Hollywood, y mucho menos normalizado.
11337 Este formato debería ser adecuado para los lugares de trabajo.
11340 \begin_layout Subsection
11341 Problemas especiales
11344 \begin_layout Standard
11345 Los mismos que en el caso de
11352 \begin_layout Subsection
11353 Características especiales
11356 \begin_layout Standard
11357 Introduce los nombres de los personajes
11361 como etiquetas, después haz una referencia cruzada a la etiqueta para insertar
11363 El diálogo de referencia cruzada mostrará el conjunto de personajes.
11366 \begin_layout Subsection
11367 Tamaño del papel y márgenes
11370 \begin_layout Standard
11371 USLetter, izquierdo 1.6
11372 \begin_inset space \thinspace{}
11376 \begin_inset space \thinspace{}
11380 \begin_inset space \thinspace{}
11384 \begin_inset space \thinspace{}
11390 \begin_layout Subsection
11394 \begin_layout Standard
11395 Están disponibles los entornos siguientes.
11396 Los atajos de teclado indicados a la derecha funcionan con el archivo
11403 \begin_layout Itemize
11407 \begin_inset Newline newline
11412 No deberías necesitarlo, pero está por si alguna cosa no cuadra en ninguno
11413 de los demás entornos.
11416 \begin_layout Itemize
11420 \begin_inset space \hfill{}
11424 \begin_inset Newline newline
11429 Se usa para la descripción del escenario y de la acción.
11430 La primera aparición de un personaje en MAYÚSCULAS.
11433 \begin_layout Itemize
11437 \begin_inset space \hfill{}
11441 \begin_inset Newline newline
11446 Automáticamente numerado.
11447 En pantalla se verá en números arábigos, pero se imprimirá en números romanos.
11450 \begin_layout Itemize
11454 \begin_inset space \hfill{}
11458 \begin_inset Newline newline
11471 \begin_layout Itemize
11475 \begin_inset space \hfill{}
11479 \begin_inset Newline newline
11484 No es automáticamente numerado, debes ponerlo.
11485 Esto es porque no he sabido cómo hacerlo.
11488 \begin_layout Itemize
11492 \begin_inset space \hfill{}
11496 \begin_inset Newline newline
11501 Un caso especial de
11505 para describir el escenario y la acción cuando se levanta el telón.
11508 \begin_layout Itemize
11512 \begin_inset space \hfill{}
11516 \begin_inset Newline newline
11521 El nombre del personaje (del actor), centrado, en MAYÚSCULAS.
11524 \begin_layout Itemize
11528 \begin_inset space \hfill{}
11532 \begin_inset Newline newline
11537 Instrucciones para el portavoz.
11538 Los paréntesis se insertan automáticamente.
11539 Solo ( se muestra en pantalla, pero se imprimirán ambos.
11540 Este entorno solo se usa dentro del entorno
11547 \begin_layout Itemize
11551 \begin_inset space \hfill{}
11555 \begin_inset Newline newline
11560 Lo que dice el personaje portavoz.
11563 \begin_layout Itemize
11567 \begin_inset space \hfill{}
11571 \begin_inset Newline newline
11579 \begin_layout Itemize
11583 \begin_inset space \hfill{}
11589 \begin_layout Itemize
11593 \begin_inset space \hfill{}
11599 \begin_layout Itemize
11603 \begin_inset space \hfill{}
11609 \begin_layout Standard
11610 Un saludo para todos.
11613 \begin_layout Section
11617 \begin_layout Standard
11618 La clase de documento
11622 sirve para escribir cartas de acuerdo con las convenciones alemanas.
11623 Se incluye un archivo modelo como punto de partida, en
11625 .../lyx/share/templates
11630 \begin_layout Section
11631 Publicaciones de EGS (
11638 \begin_layout Standard
11644 \begin_layout Subsection
11648 \begin_layout Standard
11649 Este es el formato para las revistas de
11651 European Geophysical Society
11658 necesarios se pueden descargar del sitio web de EGS:
11659 \begin_inset Flex URL
11662 \begin_layout Plain Layout
11672 \begin_layout Subsection
11676 \begin_layout Standard
11679 Dirección_dcha, Título_Latex, Afil, Publicación, NúmeroMS, PrimerAutor,
11687 Desgraciadamente, el actual archivo de formato es muy poco modular y podría
11688 beneficiarse de la inclusión de varios archivos
11695 \begin_layout Section
11696 Publicaciones de Elsevier
11699 \begin_layout Standard
11700 Véase el archivo de plantilla de \SpecialChar LyX
11706 Contiene la información necesaria.
11709 \begin_layout Section
11719 \begin_inset CommandInset label
11728 \begin_layout Standard
11734 \begin_layout Subsection
11738 \begin_layout Standard
11739 En esta sección se describe cómo hacer transparencias para proyectores con
11742 Hay dos clases de documento que permiten hacerlas: la clase predeterminada
11756 Esta sección se ocupa de esta última.
11759 \begin_layout Standard
11760 Repito de nuevo alto y claro, para que no haya equívocos:
11763 \begin_layout Standard
11764 \begin_inset VSpace bigskip
11770 \begin_layout Standard
11779 \begin_inset space ~
11790 \begin_layout Standard
11791 \begin_inset VSpace bigskip
11797 \begin_layout Standard
11798 Si buscas la documentación para
11803 \begin_inset space ~
11807 \begin_inset CommandInset ref
11809 reference "sec:slitex"
11814 Si tu sistema no dispone de la clase
11818 , tendrás que usar la clase
11822 , que no es tan buena como
11827 \begin_layout Standard
11832 está diseñada para usar con la versión
11833 \begin_inset space ~
11836 2.1 de la clase \SpecialChar LaTeX
11841 , que forma parte de \SpecialChar LaTeX2e
11845 \begin_layout Subsection
11849 \begin_layout Standard
11850 Obviamente, para usar esta clase, debes seleccionar
11856 Documento\SpecialChar menuseparator
11860 Algunas de las configuraciones de este diálogo son específicas de esta
11861 clase y deberían quedar así:
11864 \begin_layout Itemize
11865 No cambies las opciones
11874 No se tienen en cuenta por la clase
11881 \begin_layout Itemize
11882 El tamaño de letra por omisión es 20
11883 \begin_inset space \thinspace{}
11886 pt, y las otras opciones son 17
11887 \begin_inset space \thinspace{}
11891 \begin_inset space \thinspace{}
11895 \begin_inset space \thinspace{}
11901 \begin_layout Itemize
11902 La tipografía predeterminada es
11910 , pero en las ecuaciones matemáticas se usa la habitual fuente romana.
11913 \begin_layout Itemize
11919 soporta los tamaños de papel A4 y Letter, así como un tamaño especial para
11920 trabajar con diapositivas de 35
11921 \begin_inset space \thinspace{}
11925 No soporta los tamaños A5, B5, legal o executive.
11928 \begin_layout Itemize
11929 No enredes cambiando la colocación de flotantes porque se ignoran en todo
11931 Los flotantes aparecen siempre en el lugar del texto donde se pongan.
11934 \begin_layout Itemize
11935 La configuración del
11938 \begin_inset space ~
11942 \begin_inset space ~
11947 funciona un poco distinto para esta clase.
11953 proporciona amplias capacidades para el encabezado y el pie, incluyendo
11954 el uso de logos personalizados.
11956 \begin_inset space ~
11960 \begin_inset CommandInset ref
11962 reference "sec:foilfoot"
11967 La página de título se trata de manera diferente a las demás páginas,
11975 pone el logo, (si se define uno), centrado en la parte inferior de la página.
11976 Las opciones posibles de estilo de página son:
11980 \begin_layout Labeling
11981 \labelwidthstring MMMMMMM
11988 El documento de salida no contiene números de página, ni encabezados ni
11989 pies (excepto notas al pie, claro).
11993 \begin_layout Labeling
11994 \labelwidthstring MMMMMMM
12001 La salida contiene números de página centrados en la parte inferior.
12002 No contiene encabezados ni pies (que no sean notas).
12005 \begin_layout Labeling
12006 \labelwidthstring MMMMMMM
12013 Números de página en la esquina inferior derecha.
12014 Además se muestran encabezados y pies.
12015 Esta es la opción por omisión.
12018 \begin_layout Labeling
12019 \labelwidthstring MMMMMMM
12026 Da acceso al paquete
12035 desaconseja su empleo a causa de potenciales conflictos con el diseño de
12040 \begin_layout Subsubsection
12044 \begin_layout Standard
12047 Documento\SpecialChar menuseparator
12050 se pueden poner las siguientes opciones extras:
12053 \begin_layout Labeling
12054 \labelwidthstring MMMMMMx
12059 Establece el formato de papel en 7.33
12060 \begin_inset space \thinspace{}
12064 \begin_inset space \thinspace{}
12067 in, que es aproximadamente el aspecto de una diapositiva de 35
12068 \begin_inset space \thinspace{}
12071 mm, Haciendo algo más fácil trabajar con este soporte.
12074 \begin_layout Labeling
12075 \labelwidthstring MMMMMMx
12080 Dibuja una línea bajo el encabezado en cada página excepto la de título.
12083 \begin_layout Labeling
12084 \labelwidthstring MMMMMMx
12089 Dibuja una línea sobre el pie de cada página excepto la de título.
12092 \begin_layout Labeling
12093 \labelwidthstring MMMMMMx
12098 Esto se configura automáticamente con cada nuevo documento
12108 que use el driver dvips para girar las páginas establecidas en modo apaisado.
12111 \begin_layout Labeling
12112 \labelwidthstring MMMMMMx
12117 Simplemente cambia las dimensiones de las páginas apaisadas pero no haceninguna
12119 Por tanto si usas esta opción necesitas un programa externo para rotar
12120 las páginas y alimentar la impresora en modo apaisado.
12121 Ten en cuenta que esta opción invierte los comportamientos de los entornos
12130 (que se describen en la siguiente sección).
12133 \begin_layout Labeling
12134 \labelwidthstring MMMMMMx
12139 Números de ecuación a la izquierda.
12142 \begin_layout Labeling
12143 \labelwidthstring MMMMMMx
12148 Ecuaciones ajustadas a la izquierda.
12151 \begin_layout Subsection
12152 Entornos soportados
12155 \begin_layout Standard
12156 La mayoría de los entornos habitualmente soportados en otras clases lo son
12157 también por la clase
12162 Hay varios entornos adicionales suministrados por
12167 así como un par añadidos por \SpecialChar LyX
12169 Los entornos siguientes son compartidos con otras clases:
12172 \begin_layout Standard
12173 \begin_inset Flex Multiple Columns
12176 \begin_layout Itemize
12182 \begin_layout Itemize
12188 \begin_layout Itemize
12194 \begin_layout Itemize
12200 \begin_layout Itemize
12206 \begin_layout Itemize
12209 Código-\SpecialChar LyX
12213 \begin_layout Itemize
12219 \begin_layout Itemize
12225 \begin_layout Itemize
12231 \begin_layout Itemize
12237 \begin_layout Itemize
12243 \begin_layout Itemize
12249 \begin_layout Itemize
12255 \begin_layout Itemize
12261 \begin_layout Itemize
12267 \begin_layout Itemize
12278 \begin_layout Standard
12279 Esto es, todos los entornos principales aparte de los entornos de secciones.
12284 contiene sus propias secciones, con un título y un cuerpo,
12289 proporciona comandos específicos para comenzar nuevas diapositivas, y son:
12292 \begin_layout Itemize
12295 Encabezado_Diapositiva
12298 \begin_layout Itemize
12301 Encabezado_Diapositiva_Giro
12304 \begin_layout Standard
12305 Además, \SpecialChar LyX
12306 provee versiones ligeramente modificadas de estos dos entornos,
12310 \begin_layout Itemize
12313 Encabezado_Diapositiva_Corto
12316 \begin_layout Itemize
12319 Encabezado_Diapositiva_Giro_Corto
12322 \begin_layout Standard
12323 cuyas diferencias serán explicadas en la siguiente sección.
12326 \begin_layout Standard
12327 Puesto que las diapositivas se emplean con frecuencia para presentaciones
12328 de ideas, teoremas y demás,
12333 proporciona además una extensa colección de entornos para estas cosas:
12336 \begin_layout Standard
12339 \begin_inset Flex Multiple Columns
12342 \begin_layout Itemize
12348 \begin_layout Itemize
12354 \begin_layout Itemize
12360 \begin_layout Itemize
12366 \begin_layout Itemize
12372 \begin_layout Itemize
12378 \begin_layout Itemize
12384 \begin_layout Itemize
12390 \begin_layout Itemize
12396 \begin_layout Itemize
12402 \begin_layout Itemize
12413 \begin_layout Standard
12414 Las versiones con asterisco son sin numeración y sin asterisco con numeración.
12415 Además hay dos entornos de lista añadidos por \SpecialChar LyX
12419 \begin_layout Itemize
12425 \begin_layout Itemize
12431 \begin_layout Standard
12437 proporciona algunas capacidades poderosas para encabezados y pies, que
12438 es mejor configurar en el preámbulo, aunque se puede hacer en cualquier
12439 lugar del documento.
12440 Si quieres hacerlo así, el mejor sitio es hacerlo al principio de una diapositi
12441 va, justo detrás del encabezado de la misma.
12444 \begin_layout Standard
12445 Para este propósito se suministran los siguientes estilos [
12452 \begin_layout Standard
12453 \begin_inset Flex Multiple Columns
12456 \begin_layout Itemize
12462 \begin_layout Itemize
12468 \begin_layout Itemize
12474 \begin_layout Itemize
12480 \begin_layout Itemize
12483 Encabezado_Izquierdo
12487 \begin_layout Plain Layout
12488 \begin_inset space ~
12500 \begin_layout Standard
12501 Hay algunos comandos de
12506 que \SpecialChar LyX
12507 no soporta directamente, pero se explica su función y su empleo en
12509 \begin_inset space ~
12513 \begin_inset CommandInset ref
12515 reference "sec:unsuppfoils"
12522 \begin_layout Subsection
12523 Diseño de una colección de diapositivas
12526 \begin_layout Standard
12527 Esta sección da una simple introducción a los diferentes entornos para construir
12528 una colección de diapositivas.
12533 ver un ejemplo echa un vistazo al archivo
12537 , accesible desde el botón
12543 Archivo\SpecialChar menuseparator
12547 \begin_layout Subsubsection
12551 \begin_layout Standard
12552 A diferencia de otras clases que proporcionan los entornos
12572 crea el título en una página propia.
12573 Si no pones entorno
12578 pondrá la fecha actual (cada vez que generes salida).
12581 \begin_layout Subsubsection
12582 Comenzar una diapositiva
12585 \begin_layout Standard
12586 Como mencioné antes, hay cuatro maneras de empezar una nueva diapositiva.
12587 Para la portada deberías usar
12590 \begin_inset space ~
12598 \begin_inset space ~
12602 \begin_inset space ~
12608 La diferencia entre estos es la cantidad de espacio entre el título (el
12609 encabezado) y el cuerpo de la diapositiva.
12612 \begin_layout Standard
12613 Las diapositivas apaisadas se generan con los entornos
12616 \begin_inset space ~
12620 \begin_inset space ~
12628 \begin_inset space ~
12632 \begin_inset space ~
12636 \begin_inset space ~
12642 De nuevo, la única diferencia es el espacio entre encabezado y cuerpo.
12643 Las dos versiones cortas ponen 0.5 pulgadas menos de separación.
12647 \begin_layout Standard
12648 Un problema con el soporte de las diapositivas apaisadas es el requerimiento
12649 de que debes usar el driver
12653 para generar la salida PostScript, si no las diapositivas no se giran.
12654 Es posible conseguir orientación apaisada incluso si no dispones de
12658 driver al configurar la salida a través de la impresora ;-)
12661 \begin_layout Subsubsection
12662 Teoremas, lemas, demostraciones y más
12665 \begin_layout Standard
12666 No puedes poner seguidos dos de estos entornos del mismo tipo.
12669 If you use a normal paragraph break, you will just be extending the previous
12670 environment as if you had merged the two environments together.
12673 \begin_layout Subsubsection
12677 \begin_layout Standard
12678 Dispones de todos los tipos de listas habituales en otras clases más dos
12680 Solo describiré estas últimas.
12681 Para más información sobre los demás entornos de listas mira la
12686 Si piensas usar el entorno
12693 podrías mirar también en la sección
12694 \begin_inset space ~
12698 \begin_inset CommandInset ref
12700 reference "sec:Marcas"
12704 la descripción de la Selección de Marcas de Listas.
12707 \begin_layout Standard
12708 Los dos estilos nuevos de lista,
12711 \begin_inset space ~
12721 \begin_inset space ~
12728 , están diseñadas para facilitar la creación de listas del tipo
12729 \begin_inset Quotes cld
12733 \begin_inset Quotes crd
12737 \begin_inset Quotes cld
12741 \begin_inset Quotes crd
12744 suministrando entornos dedicados que ponen una señal o una cruz como etiqueta.
12745 De hecho, estas listas son versiones particularizadas del entorno
12754 debe estar instalado.
12757 \begin_layout Subsubsection
12761 \begin_layout Standard
12767 redefine los flotantes de figuras y cuadros para que aparezcan exactamente
12768 en su lugar en el texto más bien que al principio de la página o en alguna
12770 De hecho, si haces cambios en la colocación de los flotantes no serán tenidos
12774 \begin_layout Subsubsection
12775 Encabezados y pies de página
12776 \begin_inset CommandInset label
12778 name "sec:foilfoot"
12785 \begin_layout Standard
12789 \begin_inset space ~
12798 son comandos usados para controlar el texto del pie izquierdo de la página.
12799 El primero permite incluir un logotipo gráfico en las transparencias; por
12800 omisión se imprime el logotipo
12801 \begin_inset Quotes cld
12810 \begin_inset Quotes crd
12814 El segundo permite poner una clasificación para los asistentes, p.
12815 \begin_inset space \thinspace{}
12819 \begin_inset space ~
12823 Está vacío por omisión.
12826 \begin_layout Standard
12827 Las restantes esquinas de la página se pueden completar con
12830 \begin_inset space ~
12835 (por omisión los números de página),
12838 \begin_inset space ~
12846 \begin_inset space ~
12851 (arriba izquierda).
12854 \begin_layout Subsection
12861 \begin_inset CommandInset label
12863 name "sec:unsuppfoils"
12870 \begin_layout Standard
12871 Todos los comandos mencionados a continuación deben ponerse en un entorno
12873 , o en modo \SpecialChar TeX
12874 dentro de otro entorno.
12877 \begin_layout Subsubsection
12881 \begin_layout Standard
12882 Todas las longitudes se ajustan con el comando:
12885 \begin_layout Standard
12905 \begin_inset Newline newline
12912 es el nombre de la variable de longitud que se quiere cambiar y
12916 es el valor deseado para esa longitud.
12917 Las longitudes deben expresarse en unidades como pulgadas (
12933 o en unidades relativas a la dimensión de alguna parte del deocumento,
12944 \begin_layout Standard
12945 Es posible cambiar el espacio entre el encabezado y el cuerpo de una transparenc
12946 ia especificando una longitud con
12953 Por ejemplo, para acercar todos los encabezados al cuerpo en 0.5 pulgadas,
12954 pon en el preámbulo:
12960 foilheadskip}{-0.5in}
12963 \begin_layout Standard
12964 Los espacios alrededor de los flotantes se ajustan con las siguientes variables
12968 \begin_layout Labeling
12969 \labelwidthstring MMMMMMMMMMM
12976 Separación entre el texto y la parte superior del flotante;
12979 \begin_layout Labeling
12980 \labelwidthstring MMMMMMMMMMM
12987 Separación entre el flotante y el encabezado;
12990 \begin_layout Labeling
12991 \labelwidthstring MMMMMMMMMMM
12998 Separación entre el encabezado y el texto siguiente;
13001 \begin_layout Labeling
13002 \labelwidthstring MMMMMMMMMMM
13009 Para poner encabezados más estrechos que el texto circundante.
13010 Lo mejor es definirlo en función de
13019 \begin_layout Standard
13020 Hay otras longitudes relativas a la página de título que te pueden ser útiles
13021 en el caso de títulos largos o de varios autores::
13024 \begin_layout Labeling
13025 \labelwidthstring MMMMMMMMMMM
13032 Separación entre los encabezamientos y el
13037 \begin_layout Labeling
13038 \labelwidthstring MMMMMMMMMMM
13054 \begin_layout Labeling
13055 \labelwidthstring MMMMMMMMMMM
13062 entre varias líneas de
13067 \begin_layout Labeling
13068 \labelwidthstring MMMMMMMMMMM
13084 \begin_layout Labeling
13085 \labelwidthstring MMMMMMMMMMM
13101 \begin_layout Standard
13102 Esta última variable de longitud afecta a todos los entornos de listas.
13113 de un entorno de lista, se suprimen todos los espacios verticales entre
13114 los ítems de la lista.
13115 Ten en cuenta que este es un comando, no una variable de longitud, así
13122 como las variables mencionadas antes.
13125 \begin_layout Subsubsection
13126 Encabezamientos y pies
13129 \begin_layout Standard
13142 controlan si el logotipo definido en
13146 aparece o no en una página dada.
13153 en el preámbulo, ninguna de las transparencias tendrá logotipo.
13154 Si no quieres poner el logotipo en cierta página,
13164 directamente detrás del principio de la página y
13170 directamente detrás del comienzo de la siguiente.
13173 \begin_layout Standard
13174 Si decides poner estilo de página
13180 Documento\SpecialChar menuseparator
13183 deberías seguramente añadir
13193 al preámbulo para que los encabezamientos y pies en páginas apaisadas se
13194 sitúen correctamente.
13195 Esto es debido a ciertas incompatibilidades entre el formato de página
13196 impuesto por el paquete que
13207 \begin_layout Section
13208 Hollywood (Guiones de Hollywood)
13211 \begin_layout Standard
13217 \begin_layout Subsection
13221 \begin_layout Standard
13222 Dar formato a un guión de Hollywood es un
13223 \begin_inset Quotes cld
13227 \begin_inset Quotes crd
13231 Está diseñado para que los lectores se centren en el contenido y resulte
13232 familiar y fácil de leer por los actores.
13233 Cada página de un guión debería representar un minuto de película.
13234 En el guión no hay nada que no veas u oigas en la pantalla.
13235 Debe emplearse el tipo de letra courier 12
13236 \begin_inset space \thinspace{}
13239 pt en todo el guión.
13243 \begin_layout Subsection
13244 Detalles particulares
13247 \begin_layout Standard
13248 Las palabras de un diálogo NUNCA se cortan a final de línea.
13253 debe continuar tras un salto de página, se repite el nombre del mismo (
13260 \begin_layout Subsection
13261 Características especiales
13264 \begin_layout Standard
13265 Introduce los nombres de los personajes
13269 como etiquetas, después haz una referencia cruzada a la etiqueta para insertar
13271 El diálogo de referencia cruzada mostrará el conjunto de personajes.
13272 Esto lo puedes usar también para introducir el nombre de un personaje en
13273 las partes narrativas.
13276 \begin_layout Subsection
13277 Tamaño del papel y márgenes
13280 \begin_layout Standard
13281 USLetter, izquierdo 1.6
13282 \begin_inset space \thinspace{}
13286 \begin_inset space \thinspace{}
13290 \begin_inset space \thinspace{}
13294 \begin_inset space \thinspace{}
13300 \begin_layout Subsection
13304 \begin_layout Standard
13305 Los siguientes entornos están disponibles.
13310 para disponer de los atajos de teclado indicados a la derecha.
13313 \begin_layout Itemize
13317 \begin_inset Newline newline
13322 Para el caso de que no convenga ningún otro.
13326 \begin_layout Itemize
13332 \begin_inset space \hfill{}
13340 \begin_inset Newline newline
13343 Generalmente seguido de algo como
13344 \begin_inset Quotes cld
13347 al levantarse Sally.
13348 \begin_inset Quotes crd
13354 \begin_layout Itemize
13362 \begin_inset space \hfill{}
13366 \begin_inset Newline newline
13371 Introduce una nueva secuencia en INTERIOR.
13372 Seguido siempre de DÍA o NOCHE, o algo similar para definir la iluminación
13374 Esta línea, toda en MAYÚSCULAS.
13377 \begin_layout Itemize
13385 \begin_inset space \hfill{}
13389 \begin_inset Newline newline
13394 Introduce una nueva secuencia en EXTERIOR.
13395 Esta línea, toda en MAYÚSCULAS.
13398 \begin_layout Itemize
13402 \begin_inset space \hfill{}
13406 \begin_inset Newline newline
13411 El personaje que habla.
13414 \begin_layout Itemize
13418 \begin_inset space \hfill{}
13422 \begin_inset Newline newline
13427 Instrucciones para el personaje portavoz.
13428 Los () se insertan automáticamente.
13431 \begin_layout Itemize
13439 \begin_inset space \hfill{}
13443 \begin_inset Newline newline
13448 Lo que dice el personaje.
13451 \begin_layout Itemize
13455 \begin_inset space \hfill{}
13459 \begin_inset Newline newline
13464 Instrucciones para el movimiento de cámara, p.
13465 \begin_inset space \thinspace{}
13469 \begin_inset space ~
13475 \begin_layout Itemize
13478 DESAPARICIÓN_GRADUAL:
13479 \begin_inset space \hfill{}
13485 \begin_layout Itemize
13489 \begin_inset space \hfill{}
13495 \begin_layout Itemize
13499 \begin_inset space \hfill{}
13505 \begin_layout Itemize
13509 \begin_inset space \hfill{}
13515 \begin_layout Subsection
13519 \begin_layout Itemize
13520 (O.S) — off screen (fuera de pantalla)
13523 \begin_layout Itemize
13524 (V.0) — voice over (voz en off)
13527 \begin_layout Itemize
13532 \begin_layout Itemize
13534 — close-up (primer plano)
13537 \begin_layout Itemize
13538 PAN — movimiento de cámara
13541 \begin_layout Itemize
13542 INSERT — pasa a primer plano
13545 \begin_layout Section
13549 \begin_layout Standard
13552 Panayotis Papasotiriou
13555 \begin_layout Subsection
13559 \begin_layout Standard
13564 es una colección de macros que facilitan la presentación de manuscritos
13567 International Journal of Modern Physics C
13570 Igualmente, el paquete
13574 sirve para escribir artículos para
13576 International Journal of Modern Physics D
13579 Ambas revistas son editadas por
13584 Las correspondientes clases de documento se llaman
13593 Estos archivos, junto con las instrucciones de los autores, se pueden descargar
13595 \begin_inset Flex URL
13598 \begin_layout Plain Layout
13600 http://www.worldscinet.com/ijmpc/mkt/guidelines.shtml
13606 \begin_inset Flex URL
13609 \begin_layout Plain Layout
13611 http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml
13617 Ambos paquetes son versiones modificadas del paquete estándar
13621 , y son casi idénticos.
13622 La mayor parte de sus características son soportadas en \SpecialChar LyX
13624 He utilizado \SpecialChar LyX
13625 con éxito para escribir artículos para ambas revistas sin
13629 \begin_layout Subsection
13630 Escribir un artículo
13633 \begin_layout Standard
13634 Como es habitual, la forma más fácil de escribir un artículo es partiendo
13638 Archivo\SpecialChar menuseparator
13639 Nuevo desde plantilla
13641 , y elige una plantilla
13650 Así se muestra un documento casi vacío que incluye los campos más habituales
13652 Simplemente sobreescribe el texto (incluyendo abrazaderas <>) con el tuyo.
13653 Debes tener en cuenta los siguientes puntos:
13656 \begin_layout Enumerate
13658 no permite el cambio del tamaño de letra ni del estilo de página porque
13659 estos paquetes no lo permiten.
13662 \begin_layout Enumerate
13663 No debería cambiarse el lenguaje del documento.
13664 Antes de ver tu artículo, asegúrate
13666 que no está cargado el paquete babel.
13673 \SpecialChar menuseparator
13684 \begin_inset Quotes eld
13688 \begin_inset Quotes erd
13698 \begin_layout Enumerate
13700 \begin_inset Quotes cld
13704 \begin_inset Quotes crd
13707 se debe utilizar para definir palabras-clave.
13710 \begin_layout Enumerate
13715 provee un estilo llamado
13716 \begin_inset Quotes cld
13719 Classification Codes
13720 \begin_inset Quotes crd
13723 , que se puede usar para definir códigos de clasificación, como números
13725 Esta facilidad no es soportada por el paquete
13732 \begin_layout Enumerate
13733 Hay varios entornos nuevos disponibles:
13734 \begin_inset Quotes cld
13738 \begin_inset Quotes crd
13742 \begin_inset Quotes cld
13746 \begin_inset Quotes crd
13750 \begin_inset Quotes cld
13754 \begin_inset Quotes crd
13758 \begin_inset Quotes cld
13762 \begin_inset Quotes crd
13766 \begin_inset Quotes cld
13770 \begin_inset Quotes crd
13774 \begin_inset Quotes cld
13778 \begin_inset Quotes crd
13782 \begin_inset Quotes cld
13786 \begin_inset Quotes crd
13790 \begin_inset Quotes cld
13794 \begin_inset Quotes crd
13798 \begin_inset Quotes cld
13802 \begin_inset Quotes crd
13806 \begin_inset Quotes cld
13810 \begin_inset Quotes crd
13814 \begin_inset Quotes cld
13818 \begin_inset Quotes crd
13822 \begin_inset Quotes cld
13826 \begin_inset Quotes crd
13830 \begin_inset Quotes cld
13834 \begin_inset Quotes crd
13838 \begin_inset Quotes cld
13842 \begin_inset Quotes crd
13846 Su uso es más o menos obvio.
13848 soporta todos estos entornos; utilizará la etiqueta, estilo de texto y
13849 esquema de numeración más apropiados para cada caso.
13852 \begin_layout Enumerate
13853 Ambos paquetes usan citas básicas; el paquete
13858 En \SpecialChar LyX
13859 las referencias a citas se ven normalmente; en la salida se ven como
13861 Si quieres usar una cita como texto normal, debes emplear el comando
13866 \begin_inset space \thinspace{}
13870 \begin_inset Quotes cld
13874 \begin_inset space ~
13884 \begin_inset Quotes crd
13890 \begin_layout Enumerate
13892 \begin_inset Quotes cld
13896 \begin_inset Quotes crd
13899 en ninguno de estos paquetes.
13900 Para ponerlo usa el entorno
13901 \begin_inset Quotes cld
13905 \begin_inset Quotes crd
13911 \begin_layout Enumerate
13912 Se pueden añadir apéndices
13916 de los Agradecimientos y
13920 de las Referencias.
13922 provee un entorno especial, llamado
13923 \begin_inset Quotes cld
13927 \begin_inset Quotes crd
13930 que marca el inicio de los apéndices.
13931 Este entorno debería dejarse en blanco; lo único que hace es enviar un
13932 comando \SpecialChar LaTeX
13933 pero realmente no se imprime nada.
13934 En \SpecialChar LyX
13936 \begin_inset Quotes cld
13940 \begin_inset Quotes crd
13943 se imprime con letras azules, para indicar que todas las secciones posteriores
13945 Para escribir un apéndice usa el entorno
13946 \begin_inset Quotes cld
13950 \begin_inset Quotes crd
13955 ordenará cada apéndice con letras mayúsculas, como requieren ambas revistas.
13957 \begin_inset Quotes cld
13961 \begin_inset Quotes crd
13968 estar presente antes del primer apéndice; si no, los apéndices se numerarán
13969 como secciones normales.
13972 \begin_layout Enumerate
13985 para implementar encabezados de cuadro.
13986 Como resultado, un cuadro creado por \SpecialChar LyX
13987 se imprime correctamente, pero se
13988 ignora su encabezado.
13989 Sin embargo puedes emplear código \SpecialChar TeX
13990 para sortear este problema, de forma
13991 que los encabezados se impriman como es de esperar.
13992 Para hacerlo crea un cuadro flotante de la manera habitual, quita el encabezado
13999 encabezado del cuadro
14003 en código \SpecialChar TeX
14004 —atención a la llave de apertura
14005 \begin_inset Quotes cld
14009 \begin_inset Quotes crd
14012 —, y cierra inmediatamente detrás del contenido del cuadro con
14016 en código \SpecialChar TeX
14018 Estudia los ejemplos de cuadros incluidos en las plantillas para ver como
14019 se realiza este procedimiento.
14020 Alternativamente, si necesitas encabezados de cuadro, podrías construir
14021 el cuadro flotante completo en un archivo
14025 , que después puedes incluir mediante
14027 Insertar\SpecialChar menuseparator
14028 Archivo\SpecialChar menuseparator
14030 \begin_inset space ~
14044 puedes ver más detalles sobre la creación de cuadros flotantes.
14047 \begin_layout Subsection
14048 Preparar un artículo para su remisión
14051 \begin_layout Standard
14052 Antes de remitir un artículo debes exportarlo a \SpecialChar LaTeX
14055 Archivo\SpecialChar menuseparator
14056 Exportar\SpecialChar menuseparator
14067 \begin_layout Plain Layout
14068 Realmente dispones de las opciones \SpecialChar LaTeX
14069 (simple) y pdflatex.
14070 Si piensas usar pdflatex para preparar el artículo,los gráficos incluidos
14071 estarán en formato PDF.
14076 , después haz los cambios siguientes en el resultante archivo
14083 \begin_layout Enumerate
14084 Elimina las líneas de comentarios anteriores al comando
14093 \begin_layout Enumerate
14094 Elimina los comandos
14106 y todo lo que haya entre ambos, excepto aquellos comandos que hayas añadido
14107 expresamente al preámbulo \SpecialChar LaTeX
14111 \begin_layout Standard
14116 modificado debe ser guardado y procesado con \SpecialChar LaTeX
14117 tantas veces como sea necesario.
14118 Comprueba después el documento
14125 \begin_layout Section
14129 \begin_layout Standard
14135 \begin_layout Subsection
14139 \begin_layout Standard
14144 suministra una clase de documento para remitir documentos electrónicos
14145 a publicaciones del
14147 Institute of Physics
14150 Las instrucciones para los autores que quieran crear documentos de esta
14155 se pueden descargar del sitio
14156 \begin_inset Flex URL
14159 \begin_layout Plain Layout
14161 ftp://ftp.iop.org/pub/journals/latex2e
14169 \begin_layout Subsection
14170 Escribir un documento
14173 \begin_layout Standard
14174 La forma más sencilla de escribir un documento es empezar con el
14186 File\SpecialChar menuseparator
14195 de ejemplo explica cómo usar los entornos especiales de texto.
14196 Aquí están los consejos más importantes:
14199 \begin_layout Itemize
14200 Para poder compilar tu documento a PDF, PS o DVI, asegúrate de que
14202 no AMS packages are loaded in
14204 Document\SpecialChar menuseparator
14205 Settings\SpecialChar menuseparator
14211 \begin_layout Itemize
14212 El entorno de título define la clase de tu documento.
14213 Por tanto usa uno de los siguientes entornos para el título:
14217 \begin_layout Itemize
14225 \begin_layout Itemize
14233 \begin_layout Itemize
14238 para una reseña de actualidad
14241 \begin_layout Itemize
14249 \begin_layout Itemize
14257 \begin_layout Itemize
14262 para un artículo (igual que Title)
14265 \begin_layout Itemize
14270 para una comunicación preliminar
14273 \begin_layout Itemize
14278 para una comunicación rápida
14281 \begin_layout Itemize
14286 para una carta al editor
14290 \begin_layout Itemize
14291 Todos los entornos de título excepto
14295 pueden tener un título breve opcional.
14298 \begin_layout Itemize
14299 Hay un entorno general de título
14303 que no es soportado directamente por \SpecialChar LyX
14305 Puede usarse en código \SpecialChar TeX
14306 si tu documento no se adecúa a ninguno de los otros
14310 \begin_layout Standard
14311 Para más información, como consejos para formatos especiales de ecuaciones
14312 y cuadros, echa un vistazo a las pautas dadas por el autor de IOP.
14315 \begin_layout Section
14319 \begin_layout Standard
14322 Panayotis Papasotiriou
14325 \begin_layout Subsection
14329 \begin_layout Standard
14330 El paquete Kluwer es un conjunto de macros producido por
14332 Kluwer Academic Publishers
14334 que facilita la confección de manuscritos electrónicos con destino a sus
14336 Las más conocidas (al menos en mi parcela de interés) son
14338 Astrophysics and Space Science
14344 , aunque hay muchas otras (véase una lista completa en
14345 \begin_inset Flex URL
14348 \begin_layout Plain Layout
14350 http://www.wkap.nl/jrnllist.htm/JRNLHOME
14356 El paquete Kluwer puede ser descargado del sitio
14357 \begin_inset Flex URL
14360 \begin_layout Plain Layout
14362 http://www.wkap.nl/kaphtml.htm/STYLEFILES
14368 Contiene una completa guía de uso, que también puede descargarse separadamente.
14371 \begin_layout Standard
14373 soporta muchas características del paquete pero no todas.
14374 No obstante, el código \SpecialChar TeX
14375 necesario se reduce a ciertos
14376 \begin_inset Quotes cld
14380 \begin_inset Quotes crd
14384 \begin_inset space ~
14388 \begin_inset CommandInset ref
14390 reference "subsec:kluwer_peculiaridades"
14395 He usado \SpecialChar LyX
14396 recientemente para escribir un artículo para
14398 Astrophysics and Space Science
14400 sin ningún problema.
14403 \begin_layout Subsection
14404 Escribir un artículo
14407 \begin_layout Standard
14408 La forma más sencilla de escribir un artículo es empezar con la plantilla
14412 Archivo\SpecialChar menuseparator
14416 \begin_inset space ~
14424 \begin_inset space ~
14436 Se trata de un documento casi vacío que incluye la mayoría de campos más
14437 habituales y una breve descripción de su uso.
14438 Como es habitual en las plantillas, simplemente debes sobreescribir el
14439 texto presente (incluidas las abrazaderas <>) con la información correcta.
14442 \begin_layout Subsection
14443 Preparar un artículo para su remisión
14446 \begin_layout Standard
14447 Como en el paquete AAS\SpecialChar TeX
14448 , antes de remitir tu trabajo a una publicación debes
14449 procesarlo como sigue:
14452 \begin_layout Enumerate
14453 Exporta tu documento a \SpecialChar LaTeX
14456 Archivo\SpecialChar menuseparator
14457 Exportar\SpecialChar menuseparator
14464 \begin_layout Enumerate
14469 resultante con un editor de texto y haz los siguientes cambios:
14473 \begin_layout Enumerate
14474 borra las líneas de comentarios anteriores al comando
14483 \begin_layout Enumerate
14484 quita todo entre los comandos
14496 , ellos incluidos, excepto aquellos específicamente añadidos al preámbulo
14501 \begin_layout Standard
14510 \begin_layout Enumerate
14515 con \SpecialChar LaTeX
14516 tantas veces como sea necesario (generalmente hasta tres).
14519 \begin_layout Enumerate
14520 Mira el documento resultante
14525 \begin_inset space \thinspace{}
14532 , y comprueba si todo está bien (debería, si no has cometido algún error).
14535 \begin_layout Subsection
14536 «Peculiaridades» del paquete Kluwer
14537 \begin_inset CommandInset label
14539 name "subsec:kluwer_peculiaridades"
14546 \begin_layout Standard
14547 El paquete Kluwer tiene algunas
14548 \begin_inset Quotes cld
14552 \begin_inset Quotes crd
14558 \begin_layout Enumerate
14559 Es posible escribir artículos múltiples en el mismo archivo \SpecialChar LaTeX
14564 \begin_layout Plain Layout
14565 No puedo imaginar una buena razón para hacer esto.
14571 Cada artículo debe estar incluido en un entorno
14572 \begin_inset Quotes cld
14576 \begin_inset Quotes crd
14580 Desafortunadamente, este entorno no se puede omitir, incluso si escribes
14582 Por esto, cada artículo empieza con el comando
14588 y, termina, obviamente, con el comando
14595 Aunque esto se puede implementar en \SpecialChar LyX
14596 , no lo he incluido, puesto que se
14597 ve feo y puede confundir al novato.
14598 Así pues hay que introducirlo en código \SpecialChar LaTeX
14600 \begin_inset Quotes cld
14603 código \SpecialChar TeX
14605 \begin_inset Quotes crd
14611 \begin_layout Enumerate
14612 La información dada al principio del artículo (p.
14613 \begin_inset space \thinspace{}
14616 e., título, subtítulo, autor, institución, título corriente, autor corriente,
14617 resumen y palabras-clave) deben incluirse en un entorno llamado
14618 \begin_inset Quotes cld
14622 \begin_inset Quotes crd
14626 Esto no está implementado en \SpecialChar LyX
14627 , así que hay que introducir el título, subtítulo,
14628 etc., entre dos líneas en código \SpecialChar TeX
14644 \begin_layout Enumerate
14645 Según el manual de uso, la etiqueta de cada ítem de la bibliografía debe
14669 \begin_layout Standard
14674 se cuida de todas estas
14675 \begin_inset Quotes cld
14679 \begin_inset Quotes crd
14683 Si empiezas un nuevo artículo a partir de esta plantilla no necesitas hacer
14688 \begin_layout Enumerate
14689 no borrar el código \SpecialChar TeX
14690 incluido en el modelo, y
14693 \begin_layout Enumerate
14694 copia el ejemplo de ítem de bibliografía incluido en la plantilla y modifícalo
14695 como haga falta para introducir nuevas entradas.
14698 \begin_layout Section
14702 \begin_layout Standard
14708 \begin_layout Subsection
14712 \begin_layout Standard
14713 En \SpecialChar LyX
14714 , las clases de documento
14719 article (koma-script)
14723 report (koma-script)
14741 corresponden respectivamente a las clases de \SpecialChar LaTeX
14758 , de la familia Koma-Script.
14759 Son alternativas a las correspondientes clases estándar
14775 , y en ciertos aspectos
14779 se adaptan mejor a las convenciones tipográficas
14786 \begin_layout Itemize
14787 El tamaño estándar de letra es 11
14788 \begin_inset space \thinspace{}
14793 article (koma-script)
14797 report (koma-script)
14804 \begin_inset space \thinspace{}
14809 letter (koma-script)
14814 \begin_layout Itemize
14815 Los encabezados, los marcadores del entorno
14819 y otros elementos de la clase
14821 letter (koma-script)
14826 se ponen en sans serif negrita.
14830 \begin_layout Plain Layout
14831 Hay una gran diferencia entre las antiguas tipografías cm sans serif negrita
14832 y las nuevas tipografías ec, especialmente en cuanto al aspecto de los
14834 En comparación, las tipografías ec sans serif negrita se ven algo más delgadas.
14835 El paquete \SpecialChar LaTeX
14844 permite generar la apariencia
14845 \begin_inset Quotes cld
14849 \begin_inset Quotes crd
14852 cuando se emplean las tipografías ec.
14857 La numeración de los encabezados de capítulo se hace de la misma forma
14858 que la numeración de los encabezados de sección, o sea, sin la línea extra
14860 \begin_inset Quotes cld
14863 Capítulo\SpecialChar ldots
14865 \begin_inset Quotes crd
14869 Además, el aspecto de los encabezados se puede modificar mediante algunas
14870 opciones (en \SpecialChar LyX
14871 se introducen en el diálogo D
14873 ocumento\SpecialChar menuseparator
14877 Se puede encontrar una completa descripción de estas opciones, en alemán,
14878 en la documentación de Koma-Script
14885 \begin_layout Itemize
14886 En las clases Koma-Script, los aspectos principales del diseño del área
14887 imprimible se controlan con las opciones
14895 (en \SpecialChar LyX
14896 se introducen en el campo de opciones de clase del diálogo
14898 Documento\SpecialChar menuseparator
14902 Dichas opciones permiten un ajuste más claro de los márgenes posibles de
14904 En la documentación de Koma-Script
14908 , (en alemán), hay una detallada descripción de estas y otras opciones de
14909 configuración del área imprimible.
14912 \begin_layout Itemize
14913 Las clases \SpecialChar LaTeX
14914 de documentos de la familia Koma-Script definen un cierto número
14915 de comandos adicionales.
14916 Aquellos que tienen sentido en \SpecialChar LyX
14917 se implementan en los correspondientes
14921 \begin_layout Standard
14922 En la documentación de Koma-Script,
14930 (inglés), hay una detallada descripción de las clases \SpecialChar LaTeX
14931 de la familia Koma-Scrip
14935 \begin_layout Subsection
14936 article (koma-script), report (koma-script), y book (koma-script)
14939 \begin_layout Standard
14940 Las clases de documento
14942 article (koma-script)
14946 report (koma-script)
14956 están implementadas en los archivos de formato
14969 Contienen todos los tipos de párrafo de las correspondientes clases estándar
14988 , parcialmente modificados, con la excepción del tipo
14992 a, específico de \SpecialChar LyX
14993 , que es reemplazado por el nuevo tipo
14997 , que tiene la misma funcionalidad.
15002 se han añadido otros nuevos tipos de párrafo.
15007 se encuentran en la clase
15009 letter (koma-script)
15014 \begin_layout Itemize
15017 Añadir_Parte, Añadir_Cap
15023 : son los equivalentes respectivos a
15031 , pero además añaden una entrada en el índice general.
15042 article (koma-script)
15047 \begin_layout Itemize
15056 : se comportan igual que
15064 pero no indican la numeración del capítulo o sección.
15069 * no está disponible en
15071 article (koma-script)
15077 \begin_layout Plain Layout
15084 report (koma-script)
15090 hay también un comando
15096 , pero como es idéntico a
15100 , no ha sido implementado en \SpecialChar LyX
15109 \begin_layout Itemize
15118 : genera un encabezado directamente sobre el párrafo siguiente en el tamaño
15119 de carácter estándar sin afectar a la estructura del documento.
15122 \begin_layout Itemize
15131 son encabezados especiales que respetan los espacios diferentes para encabezado
15132 s situados sobre y bajo un elemento (si sigues estrictamente las normas
15133 tipográficas, pondrás los encabezados de cuadro siempre sobre ellos).
15134 También puedes usar la opción de clase
15146 para los cuadros y por
15151 Para usar esta opción necesitas al menos la versión Koma-Script 2.8q.
15154 \begin_layout Itemize
15159 : sirve para poner una cita o un proverbio, por ejemplo, al principio de
15161 Si utilizas el parámetro opcional
15163 Insertar\SpecialChar menuseparator
15167 \begin_inset space ~
15173 , puedes insertar aquí el nombre del autor de la sentencia.
15174 La sentencia y su autor se separan con una línea.
15175 Para esta posibilidad necesitas Koma-Script versión 2.8q o superior.
15180 no está incluido en
15182 article (koma-script)
15187 \begin_layout Standard
15188 Los entornos siguientes, junto con los habituales
15200 , forman la zona de título del documento.
15201 Deben introducirse sobre el primer párrafo
15202 \begin_inset Quotes cld
15206 \begin_inset Quotes crd
15213 \begin_layout Plain Layout
15214 Los comandos \SpecialChar LaTeX
15215 correspondientes deben aparecer antes de
15226 Cuando este entorno se emplea más de una vez, el último anula a los anteriores,
15227 lo que implica que para cada tipo solo es válida la última entrada.
15228 El orden de los distintos entornos no influye en el documento final, lo
15229 mismo que sucede con
15244 \begin_layout Itemize
15249 : genera un párrafo centrado sobre el título ordinario (
15261 ) para poner el tema del documento.
15264 \begin_layout Itemize
15269 : genera un párrafo centrado bajo el título ordinario (
15281 ) para los nombres de los editores.
15284 \begin_layout Itemize
15291 report (koma-script)
15297 produce un párrafo centrado en su propia página detrás de la de título,
15300 article (koma-script)
15302 produce un párrafo centrado bajo el título ordinario (
15321 \begin_layout Itemize
15326 : produce un párrafo alineado a la izquierda sobre el título ordinario (
15345 \begin_layout Itemize
15348 Reverso_Título_Superior
15350 : genera, en documentos a dos caras, un párrafo alineado a la izquierda
15351 en la parte superior del reverso de la página titular en
15353 report (koma-script)
15359 ; no afecta a documentos a una cara ni a
15364 article (koma-script)
15369 \begin_layout Itemize
15372 Reverso_Título_Inferior
15374 : genera, en documentos a dos caras, un párrafo alineado a la izquierda
15375 en la parte inferior del reverso de la página titular en
15377 report (koma-script)
15383 ; no afecta a documentos a una cara ni a
15385 article (koma-script)
15390 \begin_layout Itemize
15395 ítulo: produce una página especial al principio del documento con un párrafo
15399 \begin_layout Standard
15400 Los archivos de formato para las clases
15402 article (koma-script)
15406 report (koma-script)
15412 incluyen el archivo
15417 Este está pensado como un lugar para definir tus propios tipos.
15422 en tu directorio personal y edítalo!
15425 \begin_layout Subsection
15426 letter (koma-script)
15429 \begin_layout Description
15433 Note: This section discusses the obsolete
15435 KOMA-Script-Letter (v.
15436 \begin_inset space ~
15441 , which is not even included anymore in recent KOMA releases.
15442 Please refer to the next section for the current KOMA-Script-Letter class
15444 \begin_inset space ~
15450 \begin_layout Standard
15452 La clase de documento
15454 letter (koma-script)
15456 se implementa en el archivo de formato
15461 Contiene todos los tipos de párrafo de la clase
15468 estándar, parcialmente modificados, excepto los específicos de \SpecialChar LyX
15471 Código-\SpecialChar LyX
15476 Comentario y el tipo
15482 , que es reemplazado por el nuevo tipo
15487 Además contiene, a diferencia de la clase estándar, los entornos estándar
15497 , más un número de nuevos tipos específicos para cartas.
15500 \begin_layout Standard
15501 El aspecto de las cartas producidas por esta clase de documento se puede
15502 controlar mediante comandos \SpecialChar LaTeX
15503 que puedes poner en el preámbulo.
15507 \begin_layout Plain Layout
15508 Por ejemplo, el aspecto estándar de la cabecera de una carta, nombres y
15509 direcciones, se consigue con estos comandos \SpecialChar LaTeX
15513 \begin_layout LyX-Code
15523 \begin_layout LyX-Code
15539 \begin_layout LyX-Code
15549 \begin_layout LyX-Code
15569 Hay una detallada descripción de ellos en la documentación de Koma-Script,
15575 Con su ayuda puedes producir formatos personalizados de cartas.
15578 \begin_layout Standard
15587 definen el comienzo de la carta y deben ponerse en todas ellas.
15588 Se pueden escribir varias
15592 cartas en el mismo archivo.
15597 da comienzo a una nueva carta para el mismo destinatario mientras que un
15602 da lugar a una nueva carta para distinto destinatario.
15619 son párrafos ordinarios y se pueden usar varias veces en la misma carta.
15622 \begin_layout Itemize
15627 : produce un párrafo para poner el destinatario y define implícitamente
15628 el inicio de la carta.
15631 \begin_layout Itemize
15636 : produce un párrafo para poner el destinatario e inicia implícitamente
15640 \begin_layout Itemize
15645 : da lugar a un párrafo para el cierre de la carta.
15648 \begin_layout Itemize
15653 : párrafo para poner una postdata.
15656 \begin_layout Itemize
15661 : párrafo para una lista de co-destinatarios.
15664 \begin_layout Itemize
15669 : párrafo para documentos adjuntos.
15672 \begin_layout Standard
15673 Los tipos de entorno
15700 \begin_inset space ~
15717 son entradas provistas de una etiqueta para introducir información que
15718 será procesada por la clase de documento.
15722 \begin_layout Plain Layout
15723 Podría ser inconsecuente que
15731 , descritos arriba, no sean también entornos con etiqueta de entrada.
15732 Sin embargo, debido al signifificado particular de estos tipos, los he
15733 implementado como párrafos ordinarios con una letra en el margen.
15734 Además, afectaría a mi sensación de simetría si los tipos
15742 tuvieran aspectos muy distintos.
15747 Estos tipos deben ponerse antes de la
15754 \begin_layout Standard
15755 Una implementación de estos tipos en modo WYSIWYG no tendría sentido porque
15756 el aspecto real de la carta no solo depende del uso de un tipo particular,
15757 sino también de otros factores.
15758 Por ejemplo, en el comportamiento predeterminado, una firma introducida
15763 solo aparecerá en la carta si se usa, además, el tipo
15768 El valor introducido en
15772 tampoco aparece en la carta.
15773 La posibilidad de diseñar el encabezamiento de la carta ya se ha señalado
15774 antes en una nota al pie.
15777 \begin_layout Standard
15778 Los entornos para introducir datos también se pueden usar como párrafos
15780 Esto tiene sentido, p.
15781 \begin_inset space \thinspace{}
15784 e., para el entorno
15793 , en el comportamiento estándar se usará el valor de
15797 como firma, mientras que si se define una
15801 vacía no saldrá ninguna.
15804 \begin_layout Standard
15805 Los entornos para introducir datos también pueden servir para escribir una
15806 plantilla, que contenga campos cumplimentados con tus datos personales
15807 (nombre, dirección, etc.), y campos vacíos listos para ser completados con
15811 \begin_layout Itemize
15816 : nombre del remitente, en el comportamiento normal aparece en versalitas,
15817 en un párrafo centrado en el encabezado de la carta.
15820 \begin_layout Itemize
15825 : firma del remitente, en el comportamiento normal aparece bajo el
15830 Si no se utiliza el párrafo
15834 , se escribe en su lugar el valor del campo
15841 \begin_layout Itemize
15846 : dirección del remitente, en el comportamiento normal aparece en un párrafo
15847 centrado, en el encabezado, bajo el
15854 \begin_layout Itemize
15859 o: teléfono del remitente, en el comportamiento normal corresponde a la
15866 de \SpecialChar LaTeX
15870 \begin_layout Itemize
15875 : lugar donde se ha escrito la carta.
15878 \begin_layout Itemize
15883 : fecha de escritura de la carta.
15892 , por omisión, aparecen en una línea a la derecha bajo el campo de dirección.
15893 Si el párrafo Fecha se deja vacío, no aparecen ni lugar ni fecha, independiente
15894 mente del valor puesto en
15899 Si no se pone párrafo de
15903 , se usará la fecha del día.
15906 \begin_layout Itemize
15911 : dirección para la respuesta, normalmente aparece sobre el campo del destinatar
15916 ) en tipografía sans serif pequeña, subrayado.
15919 \begin_layout Itemize
15924 : información especial de correo, en el comportamiento normal aparece subrayado
15925 sobre la dirección y bajo el remite.
15928 \begin_layout Itemize
15937 : información adicional, en el comportamiento normal aparece a la derecha
15938 bajo el campo del destinatario (
15945 \begin_layout Itemize
15950 : título de la carta, en el comportamiento normal aparece en letra sans
15951 serif grande, en negrita, sobre el
15958 \begin_layout Itemize
15963 : el tema de la carta, en el comportamiento normal aparece en negrita sobre
15971 \begin_layout Standard
15992 generan, a la manera de las cartas comerciales, una línea sobre el
15997 \begin_inset Quotes cld
16001 \begin_inset Quotes crd
16005 \begin_inset Quotes cld
16009 \begin_inset Quotes crd
16013 \begin_inset Quotes cld
16017 \begin_inset Quotes crd
16021 \begin_inset Quotes cld
16025 \begin_inset Quotes crd
16029 \begin_inset Quotes cld
16033 \begin_inset Quotes crd
16037 \begin_inset Quotes cld
16041 \begin_inset Quotes crd
16046 \begin_inset Quotes cld
16050 \begin_inset Quotes crd
16053 toma el valor del entorno
16058 Si se utiliza uno de estos tipos para
16059 \begin_inset Quotes cld
16063 \begin_inset Quotes crd
16070 no aparece, solo se define la variable \SpecialChar LaTeX
16078 La salida ordinaria de lugar y fecha en una línea a la derecha bajo el
16079 campo del destinatario se suprime.
16080 Los tipos se implementan para introducción de datos, provistos con una
16081 etiqueta, y deben utilizarse antes del correspondiente tipo
16088 \begin_layout Itemize
16096 \begin_layout Itemize
16101 Correo: su carta de.
16104 \begin_layout Itemize
16116 \begin_layout Itemize
16124 \begin_layout Itemize
16132 \begin_layout Subsection
16133 La nueva clase de carta: letter (koma-script v.2)
16136 \begin_layout Standard
16142 \begin_layout Standard
16143 \begin_inset VSpace medskip
16149 \begin_layout Standard
16151 Koma-Script versión 2.8 ha introducido una clase nueva
16163 , que ya no se desarrolla.
16164 Tiene, en lo que respecta a \SpecialChar LaTeX
16165 , una interfaz completamente nueva incompatible
16166 con la clase antigua.
16168 soporta las dos, pero se recomienda usar la nueva.
16171 \begin_layout Standard
16172 Esta clase cubre las mismas funciones que
16174 letter (koma-script)
16180 Las funciones básicas son
16184 (dirección del destinatario, como
16188 en el formato antiguo),
16205 comenzará una carta nueva (o sea, que puedes escribir varias cartas en
16206 el mismo documento).
16207 Los elementos nuevos de remitente son
16223 y la posibilidad de usar un
16229 Insertar\SpecialChar menuseparator
16232 ) en el encabezado.
16235 \begin_layout Standard
16236 La mejora más importante es, creo, que el formato de la carta es configurable
16237 para casi cualquier necesidad.
16238 Esto se puede hacer en el preámbulo o con un archivo de estilo especial
16243 , Letter Class Option), que será leído como una opción de clase.
16247 \begin_layout Plain Layout
16248 El paquete KOMA viene con algunos archivos
16253 Hay, por ejemplo, un archivo
16257 que sigue las normas tipográficas alemanas, o
16261 que proporciona el formato predefinido de la antigua clase
16266 Esta última puede cargarse como opción de clase
16276 Documento\SpecialChar menuseparator
16277 Configuración\SpecialChar menuseparator
16279 \begin_inset space ~
16283 \begin_inset space ~
16293 Echa una ojeada a la plantilla
16297 que se incluye como ejemplo en \SpecialChar LyX
16299 En la documentación de Koma-Script (
16303 ) hay una descripción detallada.
16306 \begin_layout Subsection
16310 \begin_layout Standard
16311 En \SpecialChar LyX
16312 , la visualización de documentos de la clase Koma-Script ocasiona algunos
16316 \begin_layout Itemize
16317 El número de capítulo en un párrafo
16321 aparece en una línea propia sobre la cabecera de capítulo en vez de aparecer
16322 delante en la misma línea.
16323 La causa de esto es el comportamiento interno de \SpecialChar LyX
16324 en relación a los marcadores
16329 en el archivo de formato.
16332 \begin_layout Itemize
16333 Los encabezados de los entornos
16341 solo se ponen en el índice generado por \SpecialChar LaTeX
16342 , no en el índice de \SpecialChar LyX
16345 Documento\SpecialChar menuseparator
16347 \begin_inset space ~
16355 \begin_layout Itemize
16356 Los párrafos en documentos de la clase
16360 aparecen separados con espacio adicional entre ellos, no con sangrado.
16361 Este es el comportamiento normal, no hacen falta comandos \SpecialChar LaTeX
16363 Sin embargo, en el diálogo
16365 Documento\SpecialChar menuseparator
16368 el botón que aparece marcado es
16373 Si se introduce un valor de
16376 \begin_inset space ~
16381 se insertan en el documento comandos \SpecialChar LaTeX
16382 adicionales para dar ese espacio,
16383 lo que en este caso no es lo que queremos.
16386 \begin_layout Section
16390 \begin_layout Standard
16396 \begin_layout Subsection
16400 \begin_layout Standard
16401 Memoir es una clase poderosa y en continCarpeta sin títulouo desarrollo.
16402 Se ha diseñado para escribir literatura de ficción y de no ficción.
16403 Su objetivo es dar al usuario el máximo control sobre su documento.
16404 Memoir está basada en la clase estándar
16408 , pero también puede emular la clase
16412 (véase más adelante).
16415 \begin_layout Standard
16416 Peter Wilson, el desarrollador de Memoir, es conocido como autor de muchos
16417 paquetes en el mundillo de \SpecialChar LaTeX
16419 La mayoría de ellos se han combinado con Memoir.
16420 Por tanto, es mucho más sencillo diseñar los índices, apéndices, capítulos
16423 , no obstante, no soporta por sí mismo todas sus características.
16424 Algunas se podrán añadir en futuras versiones
16428 \begin_layout Plain Layout
16429 Estás invitado a enviar sugerencias a
16430 \begin_inset Flex URL
16433 \begin_layout Plain Layout
16435 lyx-devel@lists.lyx.org
16445 , muchas nunca, probablemente, debido a limitaciones estructurales de \SpecialChar LyX
16447 Por supuesto, puedes usar todas las características con ayuda de comandos
16449 (código \SpecialChar TeX
16454 \begin_layout Plain Layout
16455 Consulta la sección
16456 \begin_inset space ~
16460 \begin_inset CommandInset ref
16462 reference "sec:Insertar-Código-TeX"
16472 En esta sección solo trataremos las características soportadas directamente
16473 por \SpecialChar LyX
16475 Para una decripción más completa (y para el resto de características) recomenda
16476 mos la consulta del manual de Memoir
16480 \begin_layout Plain Layout
16481 \begin_inset Flex URL
16484 \begin_layout Plain Layout
16486 CTAN:/macros/latex/memoir/memman.pdf
16496 , que es, no solo una guía de usuario, sino también una completa guía sobre
16497 normas tipográficas y un estupendo ejemplo en sí mismo de buena tipografía.
16500 \begin_layout Subsection
16501 Características básicas y restricciones
16504 \begin_layout Standard
16505 Memoir soporta básicamente todas las características de las clases estándar
16511 Pero hay algunas diferencias:
16514 \begin_layout Description
16516 \begin_inset space ~
16520 \begin_inset space ~
16523 tipografía: Memoir tiene un amplio rango de tamaños de tipografía: 9, 10,
16527 \begin_layout Description
16529 \begin_inset space ~
16533 \begin_inset space ~
16537 \begin_inset Quotes cld
16541 \begin_inset Quotes crd
16544 no está soportado, debido a un conflicto entre Memoir y el paquete
16548 (ambos definen un comando con el mismo nombre, lo que confunde a \SpecialChar LaTeX
16550 En su lugar, Memoir dispone de un puñado de estilos de página propios (véase
16554 Document\SpecialChar menuseparator
16555 Settings\SpecialChar menuseparator
16557 \begin_inset space ~
16564 Si quieres usar estos para las páginas de capítulos, tienes que usar el
16571 en el texto o en el preámbulo (p.
16572 \begin_inset space \thinspace{}
16576 \begin_inset space ~
16583 chapterstyle{companion}
16588 \begin_layout Description
16589 Seccionamiento: En las clases estándar, las secciones (capítulo, sección,
16590 subsección, etc.) van con un argumento opcional con el que puedes especificar
16591 una versión alternativa del título de la sección para el índice y para
16592 los encabezamientos de página, (por ejemplo, cuando el título es excesivamente
16594 En \SpecialChar LyX
16595 , puedes hacerlo con la opción de menú
16597 Insertar\SpecialChar menuseparator
16599 \begin_inset space ~
16604 al principio de un capítulo/sección.
16609 suministra un segundo argumento opcional para separar el índice del encabezamie
16611 Con esto puedes definir tres variantes de un título: una para el texto
16612 principal, otra para el índice general y otra para los encabezamientos.
16616 makes these available in form of specific
16627 \begin_layout Description
16628 TOC/LOF/LOT: En las clases estándar (y en muchas otras), los índices general
16629 (IG, TOC), de figuras (LOF) y de cuadros (LOT) se inician automáticamente
16635 no sigue esta regla.
16636 Si lo quieres, tienes que insertar a mano el salto de página.
16639 \begin_layout Description
16641 \begin_inset space ~
16645 \begin_inset space ~
16648 Título: Por razones desconocidas,
16652 usa paginación en la página del título (en las clases estándar, las páginas
16653 de título van en estilo
16654 \begin_inset Quotes cld
16662 \begin_inset Quotes crd
16666 Si quieres una página de título en dicho estilo, pon
16670 aliaspagestyle{title}{empty}
16675 \begin_layout Description
16676 Article: Con la opción de clase
16680 (que se debe introducir en
16682 Documento\SpecialChar menuseparator
16683 Configuración\SpecialChar menuseparator
16685 \begin_inset space ~
16689 \begin_inset space ~
16692 documento\SpecialChar menuseparator
16696 \begin_inset space ~
16703 ), puedes emular algunos comportamientos de estilo de la clase
16707 : los contadores (de notas al pie, figuras, cuadros, etc.) no se reinician
16708 al cambiar de capítulo, los capítulos nuevos no comienzan en página nueva
16709 (aunque, a diferencia de las clases
16714 \begin_inset Quotes cld
16718 \begin_inset Quotes crd
16721 , está permitido); sin embargo, las partes sí van en páginas nuevas, como
16729 \begin_layout Description
16731 \begin_inset space ~
16735 \begin_inset space ~
16739 \begin_inset space ~
16742 antiguos: por omisión,
16746 no permite el uso de los comandos de tipografía obsoletos que se usaban
16747 en la antigua versión de \SpecialChar LaTeX
16749 \begin_inset space \thinspace{}
16755 \begin_inset space ~
16763 \begin_inset space ~
16773 Si están presentes, generan errores y detienen el procesamiento de \SpecialChar LaTeX
16779 readmite el uso de dichos comandos, (aunque escupe algunas advertencias,
16780 al menos no detiene a \SpecialChar LaTeX
16782 Puesto que algunos paquetes, en particular Bib\SpecialChar TeX
16783 en sus archivos de estilo,
16784 todavía utilizan estos comandos, hemos decidido mantener esta opción como
16788 \begin_layout Subsection
16789 Características adicionales
16792 \begin_layout Standard
16793 Solo indicaremos las soportadas por \SpecialChar LyX
16794 (que actualmente no son muchas).
16795 Consulta el manual de
16803 \begin_layout Plain Layout
16804 \begin_inset Flex URL
16807 \begin_layout Plain Layout
16809 CTAN:/macros/latex/memoir/memman.pdf
16822 \begin_layout Description
16823 Resumen: Te preguntarás por qué un resumen es un característica suplementaria.
16824 Bien, lo es en la clase
16829 Usualmente los libros no tienen resúmenes.
16835 Puedes usarlo donde, como y cuantas veces quieras.
16838 \begin_layout Description
16840 \begin_inset space ~
16843 conciso: Quizá conozcas esto de
16844 \begin_inset Quotes cld
16848 \begin_inset Quotes crd
16855 \begin_layout Plain Layout
16856 Estilo de escritura en que se da más importancia a la bella apariencia que
16866 : El contenido de un capítulo es brevemente descrito debajo del título y
16867 también en el índice general (p.
16868 \begin_inset space \thinspace{}
16872 \begin_inset space ~
16877 Nuestro héroe llega a Troya; pierde algunos compañeros; encuentra a otros
16880 Capítulo_Conciso hace precisamente eso.
16881 Por tanto solo tiene sentido bajo un título de un capítulo.
16884 \begin_layout Description
16885 Epígrafe: Un epígrafe es un texto breve o lema al principio de un capítulo.
16886 El entorno epígrafe lo presenta de manera elegante.
16887 El propio lema (texto) y su autor (origen) se separan con una línea corta.
16890 The author (source) can be inserted via
16892 Insert\SpecialChar menuseparator
16899 \begin_layout Description
16901 \begin_inset space ~
16908 ofrece muchas posibilidades para escribir poesía (incluso complejos poemas
16910 Lyx solo soporta unas pocas de ellas.
16915 , que pone un título centrado para el poema y que también se añade al índice
16921 es el entorno estándar para poesía.
16926 dispone de algunas versiones mejoradas de
16930 , pero necesitas usar código \SpecialChar TeX
16931 , porque tienen que anidarse en entornos regulares
16932 de verso, lo que no es posible en \SpecialChar LyX
16936 \begin_layout Description
16938 \begin_inset space ~
16944 \begin_inset space ~
16949 , pero no añade entrada al índice general.
16952 \begin_layout Section
16953 Article (mwart), book (mwbk) y report (mwrep)
16954 \begin_inset Argument 1
16957 \begin_layout Plain Layout
16968 \begin_layout Standard
16974 \begin_layout Standard
16975 Las clases de documento
16991 de \SpecialChar LyX
16992 corresponden a las clases de documentos \SpecialChar LaTeX
17006 Son remodelaciones de las clases estándar de documentos
17018 , respectivamente, y se adaptan mejor a las convenciones tipográficas polacas
17019 en varios aspectos.
17023 \begin_layout Standard
17024 Las diferencias fundamentales son:
17027 \begin_layout Itemize
17028 Encabezados no numerados (con asterisco, p.
17029 \begin_inset space \thinspace{}
17040 \begin_layout Itemize
17041 Estilos de página adicionales:
17045 \begin_layout Description
17046 uheadings encabezados en líneas separadas,
17049 \begin_layout Description
17050 myheadings encabezados personalizados con
17065 \begin_layout Description
17066 myuheadings encabezados personalizados en líneas separadas,
17069 \begin_layout Description
17070 outer el número de página se coloca en el lado exterior de la misma.
17074 \begin_layout Itemize
17079 \begin_layout Description
17080 rmheadings encabezados en serif (predeterminado),
17083 \begin_layout Description
17084 sfheadings encabezados en sans-serif,
17087 \begin_layout Description
17088 authortitle en la página del título se pone primero el autor y luego el
17089 título (predeterminado),
17092 \begin_layout Description
17093 titleauthor en la página del título se pone el título, después el autor,
17096 \begin_layout Description
17097 withmarginpar reservar sitio de la página para los márgenes.
17101 \begin_layout Section
17105 \begin_layout Standard
17106 La clase de documento
17110 provee una alternativa a la clase estándar
17115 Tiene una funcionalidad similar, aunque quizá prefieras este formato con
17116 secciones en sans serif, encabezados, y más..
17119 \begin_layout Section
17120 Rev\SpecialChar TeX
17124 \begin_layout Standard
17130 \begin_layout Standard
17131 \begin_inset VSpace bigskip
17137 \begin_layout Standard
17142 \begin_inset space ~
17147 trabaja con la clase Rev\SpecialChar TeX
17149 \begin_inset Formula $\beta$
17152 de mayo de 1999) de la
17154 American Physical Society
17159 \begin_layout Standard
17161 tiene la clase de texto
17165 que funciona con Rev\SpecialChar TeX
17167 Sin embargo, la versión 3.1 está obsoleta, porque trabaja con \SpecialChar LaTeX
17169 Esto quiere decir que no interactúa muy bien con \SpecialChar LyX
17170 , que requiere \SpecialChar LaTeX2e
17173 Puesto que Rev\SpecialChar TeX
17174 4.0 se ha diseñado para trabajar mucho mejor con \SpecialChar LaTeX2e
17177 también funcionar mejor con la clase
17179 Rev\SpecialChar TeX
17181 \begin_inset space ~
17189 \begin_layout Standard
17190 Esta documentación está pensada para ser usada
17194 la documentación de Rev\SpecialChar TeX
17196 \begin_inset space ~
17199 4.0, por tanto no describiremos ninguna de las macros especiales de Rev\SpecialChar TeX
17201 y supondremos que sabes lo que hay que poner en el preámbulo, si fuera
17205 \begin_layout Subsection
17209 \begin_layout Standard
17210 Debes instalar Rev\SpecialChar TeX
17212 \begin_inset space ~
17215 4 como se describe en el archivo README del paquete.
17216 El paquete se puede encontrar en el sitio web de Rev\SpecialChar TeX
17218 \begin_inset Flex URL
17221 \begin_layout Plain Layout
17223 http://publish.aps.org/revtex4/
17229 Instálalo donde \SpecialChar LaTeX
17231 Compruébalo procesando con \SpecialChar LaTeX
17232 algún corto documento Rev\SpecialChar TeX
17234 \begin_inset space ~
17237 4 en algún directorio casual (es decir, no en el directorio donde se ha
17238 instalado el archivo de clase).
17239 Luego, si reconfiguras \SpecialChar LyX
17240 , este reconocerá el archivo de clase Rev\SpecialChar TeX
17242 \begin_inset space ~
17245 4 y lo podrás utilizar.
17248 \begin_layout Standard
17249 Probablemente la forma más fácil de empezar es importar un documento Rev\SpecialChar TeX
17251 \begin_inset space ~
17254 4 usando re\SpecialChar LyX
17255 , o partir del modelo de la plantilla de Rev\SpecialChar TeX
17257 \begin_inset space ~
17264 , disponible en el directorio de plantillas (
17271 \begin_layout Subsection
17275 \begin_layout Standard
17276 Los argumentos opcionales a
17283 \begin_inset Quotes cld
17287 \begin_inset Quotes crd
17291 \begin_inset Quotes cld
17295 \begin_inset Quotes crd
17304 Documento\SpecialChar menuseparator
17305 Configuración\SpecialChar menuseparator
17307 \begin_inset space ~
17313 \begin_inset space ~
17321 ¡Recuerda que en Rev\SpecialChar TeX
17322 , se requiere, al menos, un argumento opcional!
17325 \begin_layout Standard
17326 Otras cosas del preámbulo, como
17332 etc., van en el diálogo
17335 \begin_inset space ~
17348 \begin_layout Subsection
17349 Entornos de párrafo
17352 \begin_layout Standard
17353 En Rev\SpecialChar TeX
17355 \begin_inset space ~
17358 4.0, los entornos de párrafo corresponden básicamente a comandos.
17359 Por ejemplo, el formato
17370 Ten en cuenta que (al menos desde Rev\SpecialChar TeX
17371 4.0 Beta), los entornos
17379 son exactamente equivalentes, por lo que no tendrías que usar ambos.
17383 \begin_layout Plain Layout
17384 Si tienes curiosidad, se incluyeron ambos para que
17386 tex2\SpecialChar LyX
17389 puediera traducir ambos,
17409 \begin_layout Subsection
17413 \begin_layout Standard
17414 Hay un par de importantes aspectos únicos de Rev\SpecialChar TeX
17415 4 que podrían ocasionar
17416 fallos que serán incluso más confusos en \SpecialChar LyX
17420 \begin_layout Standard
17421 En Rev\SpecialChar TeX
17439 El equivalente en \SpecialChar LyX
17440 es que hay un entorno
17449 escribas notas al pie en el entorno
17455 sucederán cosas raras
17458 Véase la documentación de Rev\SpecialChar TeX
17459 4 para más detalles.
17462 \begin_layout Standard
17463 Además, los entornos
17466 \begin_inset space ~
17474 \begin_inset space ~
17491 y el entorno correspondiente
17508 , \SpecialChar LaTeX
17512 \begin_layout Section
17513 Publicaciones de Springer (
17520 \begin_layout Standard
17526 \begin_layout Subsection
17530 \begin_layout Standard
17531 Estos son los archivos de formato para algunas de las publicaciones editadas
17536 , las que se recogen en
17537 \begin_inset Flex URL
17540 \begin_layout Plain Layout
17542 http://www.springer.de/author/tex/help-journals.html
17547 , donde debes acudir para conseguir los archivos de la clase (¡sí, ahora
17548 son \SpecialChar LaTeX2e
17550 Es un sistema modular: las características comunes a todas las publicaciones
17555 , y los archivos de formato específicos (tales como, p.
17556 \begin_inset space \thinspace{}
17567 ) pueden incluirlo.
17570 \begin_layout Standard
17571 Esto significa que implementar soporte para cualquier otra publicación de
17576 incluida en esa lista es tan sencillo como escribir tu propio archivo
17584 siguiendo las pautas dadas en
17592 \begin_layout Standard
17593 Está razonablemente bien probado solo en el caso de
17606 vienen con la distribución estándar de \SpecialChar LyX
17608 Instala el archivo de clase correspondiente (descargado del sitio de
17612 ) en un directorio adecuado, reconfigura \SpecialChar LaTeX
17613 —en el caso de te\SpecialChar TeX
17618 , como root si es necesario.
17620 no se ocupa de esto?)—; reconfigura \SpecialChar LyX
17621 y ya debería funcionar.
17624 \begin_layout Subsection
17628 \begin_layout Standard
17629 Un gran número de estilos tipo teorema –
17631 Afirmación, Conjetura,
17641 \begin_layout Standard
17644 Nota_Encabezado, Dedicatoria, Subtítulo, Título_\SpecialChar LaTeX
17645 _Puesto, Autor_Puesto, Instituto
17646 , Correo, Separatas, Palabras_clave, Agradecimientos
17649 Véase la documentación de la clase Springer para más detalles.
17652 \begin_layout Subsection
17653 Publicaciones soportadas
17656 \begin_layout Itemize
17668 \begin_layout Itemize
17671 Probability Theory and Related Fields
17677 — Jean-Marc Lasgouttes
17680 \begin_layout Standard
17681 ¡Añade el tuyo, no es tan duro!
17684 \begin_layout Subsection
17685 CréditosCarpeta sin título
17688 \begin_layout Standard
17689 Estos archivos están basados parcialmente en el antiguo
17693 , basado a su vez en una versión modificada de un antiguo archivo de estilo
17694 de \SpecialChar LaTeX
17700 Todo esto, y el archivo
17704 layout, están obsoletos.
17705 Jean-Marc Lasgouttes me ayudó mucho a encontrar mi propio mecanismo para
17706 el archivo de formato de \SpecialChar LyX
17710 \begin_layout Subsection
17714 \begin_layout Standard
17716 Pero probablemente menos que en el antiguo
17720 de \SpecialChar LaTeX
17724 \begin_layout Section
17731 \begin_inset CommandInset label
17740 \begin_layout Standard
17748 \begin_layout Subsection
17752 \begin_layout Standard
17753 Esta sección describe cómo usar \SpecialChar LyX
17754 para hacer transparencias para proyectores.
17755 Hay dos clases de documento que pueden hacer esto: la clase predeterminada
17766 Esta sección se ocupa de la primera de ellas.
17769 \begin_layout Standard
17770 Lo voy a repetir alto y claro, para que no haya equívocos:
17773 \begin_layout Standard
17774 \begin_inset VSpace medskip
17780 \begin_layout Standard
17784 En esta sección se explica
17789 \begin_inset space ~
17794 slides (predeterminada)
17800 \begin_layout Standard
17801 \begin_inset VSpace medskip
17807 \begin_layout Standard
17808 Si buscas la documentación para
17809 \begin_inset Quotes cld
17814 slides (Foil\SpecialChar TeX
17818 \begin_inset Quotes crd
17821 , mira en la sección
17822 \begin_inset space ~
17826 \begin_inset CommandInset ref
17828 reference "sec:foiltex"
17838 \begin_inset Quotes cld
17843 slides (Foil\SpecialChar TeX
17847 \begin_inset Quotes crd
17850 ) es realmente un poco mejor que la clase predeterminada
17858 \begin_layout Plain Layout
17860 o eso se dice repetidamente por sus defensores.
17861 Puesto que no la he usado nunca, no tengo ni idea si es cierto o no.
17866 que se explica en esta sección.
17869 \begin_layout Standard
17870 Esta clase es una mejora del antiguo paquete
17875 de \SpecialChar LaTeX2e
17877 Toda distribución de \SpecialChar LaTeX2e
17878 la incluye (nos referiremos desde ahora a
17879 \begin_inset Quotes cld
17887 \begin_inset Quotes crd
17890 ), así que lo tendrás.
17891 Como anoté antes, hay otras clases, como
17895 , que también produce transparencias y hace mejor su tarea.
17896 Sin embargo, hay ciertas cosas que
17900 puede hacer que los otros no pueden, como capas superpuestas.
17901 ¡Sigue leyendo para saber más!
17904 \begin_layout Subsection
17906 \begin_inset CommandInset label
17908 name "sec:slidesetup"
17915 \begin_layout Standard
17916 Obviamente, para usar esta clase debes escoger
17917 \begin_inset Quotes cld
17925 \begin_inset Quotes crd
17930 Documento\SpecialChar menuseparator
17934 Algunas cosas que debes saber sobre esta clase:
17937 \begin_layout Itemize
17938 No enredes con cambios en las opciones
17947 No es soportado por
17954 \begin_layout Itemize
17958 \begin_inset space ~
17962 \begin_inset space ~
17967 se porta un poco distinto para esta clase.
17968 Las opciones disponibles y su efecto son:
17972 \begin_layout Description
17977 La salida tiene números de página en la esquina inferior derecha.
17980 \begin_layout Description
17989 , pero además imprime los marcadores de tiempo que hayas puesto.
17990 Esta es la opción por omisión.
17993 \begin_layout Description
17998 La salida no imprime ni números de pàgina ni marcadores, nada.
18002 \begin_layout Itemize
18007 tiene una opción extra:
18013 \begin_inset Quotes cld
18021 \begin_inset Quotes crd
18024 en las opciones de la configuración de clase.
18028 \begin_layout Standard
18029 Usar estas opciones te permite añadir marcadores de tiempo a las
18037 \begin_layout Standard
18038 También puedes utilizar la plantilla
18039 \begin_inset Quotes cld
18047 \begin_inset Quotes crd
18050 para preparar un nuevo documento de esta clase, con
18052 Archivo\SpecialChar menuseparator
18054 \begin_inset space ~
18058 \begin_inset space ~
18064 La plantilla contiene algunos ejemplos de entornos de párrafo especiales
18066 Se describirán a continuación.
18069 \begin_layout Subsection
18070 Entornos de párrafo
18073 \begin_layout Subsubsection
18074 Entornos soportados
18077 \begin_layout Standard
18078 La primera cosa que observarás cuando inicies un documento
18082 es el tipo y tamaño de tipografía:
18085 \begin_inset space ~
18095 Es también la tipografía que se utiliza en la salida.
18096 Interpreta esto como un
18097 \begin_inset Quotes cld
18101 \begin_inset Quotes crd
18104 que te recuerda que es una transparencia.
18105 En realidad las transparencias finales pueden usar una tipografía más grande,
18106 por tanto dispondrás de menos espacio.
18107 Es decir, la tipografía grande en pantalla no es WYSIWYG, es solo un recordator
18111 \begin_layout Standard
18112 La segunda cosa que llamará la atención es el cuadro desplegable de los
18113 entornos de párrafo ( a la izquierda de la barra de herramientas).
18114 La mayoría de los entornos que estás acostumbrado a ver ahí están ausentes.
18115 Y hay cinco nuevos.
18116 Esto se debe a que la clase
18120 por sí misma solo soporta un cierto número de entornos de párrafo:
18123 \begin_layout Itemize
18129 \begin_layout Itemize
18135 \begin_layout Itemize
18141 \begin_layout Itemize
18147 \begin_layout Itemize
18153 \begin_layout Itemize
18159 \begin_layout Itemize
18165 \begin_layout Itemize
18171 \begin_layout Itemize
18177 \begin_layout Itemize
18180 Código-\SpecialChar LyX
18184 \begin_layout Standard
18185 Todos los demás entornos estándar, incluyendo los de cabeceras de sección,
18186 no funcionan en la clase
18193 \begin_layout Standard
18194 Por otra parte, verás los siguientes nuevos entornos:
18197 \begin_layout Itemize
18203 \begin_layout Itemize
18209 \begin_layout Itemize
18215 \begin_layout Itemize
18221 \begin_layout Itemize
18227 \begin_layout Standard
18228 Estos cinco tienen ciertas peculiaridades debido a una
18229 \begin_inset Quotes cld
18233 \begin_inset Quotes crd
18236 de \SpecialChar LyX
18238 Verás, \SpecialChar LyX
18239 no permite anidar ningún entorno de párrafo en un entorno vacío.
18240 Bien, esto es fino y elegante, pero significa que no podrás comenzar una
18241 transparencia con nada que no sea texto simple.
18242 Para evitar esto, he hecho un poco de
18243 \begin_inset Quotes cld
18246 magia \SpecialChar LaTeX
18248 \begin_inset Quotes crd
18254 \begin_layout Subsubsection
18255 Peculiaridades de los nuevos entornos
18256 \begin_inset CommandInset label
18258 name "sec:slide-Peculiaridades"
18265 \begin_layout Standard
18266 Los cinco entornos nuevos son un poco peculiares debido a limitaciones inherente
18267 s a \SpecialChar LyX
18269 Como he dicho, \SpecialChar LyX
18270 prohibe los entornos que comienzan con otro entorno.
18271 Para obviar esto, el entorno
18275 no se comporta como los entornos de párrafo típicos descritos en la
18283 \begin_layout Standard
18296 deberían considerarse
18297 \begin_inset Quotes cld
18301 \begin_inset Quotes crd
18305 Tienen el aspecto de una cabecera de sección o de un
18306 \begin_inset Quotes cld
18314 \begin_inset Quotes crd
18317 , pero realmente comienzan (y si es necesario finalizan el anterior) un
18318 entorno de párrafo.
18319 De igual manera, considera
18328 \begin_inset Quotes cld
18332 \begin_inset Quotes crd
18336 Estos dos realizan acciones.
18339 \begin_layout Standard
18340 Una característica común a los cinco entornos,
18360 , es una etiqueta más bien larga.
18361 El texto que sigue a la etiqueta —generalmente los contenidos del entorno
18362 de párrafo— no es tenido en cuenta.
18364 lo ignora completamente.
18365 De hecho, puedes dejar estos cinco entornos totalmente vacíos.
18369 \begin_layout Standard
18374 que poner texto tras la etiqueta, puedes hacerlo.
18375 Podría ser, por ejemplo, una breve descripción del contenido de la
18380 En ese caso, introduce tu texto y pulsa
18384 como harías normalmente.
18387 \begin_layout Standard
18388 Si, por otra parte, no deseas introducir ningún texto descriptivo, puedes
18389 utilizar otra peculiaridad de \SpecialChar LyX
18392 , como la naturaleza, siente horror al vacío, y no te permitirá iniciar
18393 un nuevo entorno de párrafo hasta que pongas algo en el anterior.
18394 En ese caso puedes hacer esto:
18397 \begin_layout Itemize
18398 Comienza introduciendo el texto que
18426 \begin_layout Itemize
18427 Sitúate ahora en el principio de ese párrafo.
18431 \begin_layout Itemize
18440 \begin_layout Itemize
18441 Por último, cambia este nuevo párrafo vacío a
18464 \begin_layout Standard
18465 Confiemos en que alguna futura versión de \SpecialChar LyX
18466 resuelva esta peculiaridad\SpecialChar ldots
18470 \begin_layout Subsection
18471 Hacer una presentación con
18484 \begin_layout Subsubsection
18485 Utilizar el entorno
18490 \begin_layout Standard
18491 Si esperas que esta sección te enseñe a realizar una presentación, te vas
18493 Naturalmente, describiré todas las formas en que la clase
18497 te ayudará a preparar una presentación.
18498 Completar el contenido es tarea tuya.
18499 (Esta es, también, la filosofía de \SpecialChar LyX
18504 \begin_layout Standard
18505 Al escoger el entorno
18509 (como se indica en la sección
18510 \begin_inset space ~
18514 \begin_inset CommandInset ref
18516 reference "sec:slide-Peculiaridades"
18521 comienza una nueva.
18522 El marcador para este entorno/
18523 \begin_inset Quotes cld
18527 \begin_inset Quotes crd
18531 \begin_inset Quotes cld
18535 \begin_inset Quotes crd
18538 en azul con la etiqueta
18539 \begin_inset Quotes cld
18543 \begin_inset Quotes crd
18549 \begin_layout Standard
18550 Cualquier texto o entorno de párrafo que siga a este irá en la nueva diapositiva.
18554 \begin_layout Standard
18555 Probablemente, en las diapositivas necesitarás forzar saltos de página en
18557 (puede especificarse en el diálogo
18559 Insertar\SpecialChar menuseparator
18563 De hecho, tendrás que hacerlo una vez acabes el contenido de una transparencia.
18564 Si has introducido más texto del que cabe en una transparencia, el sobrante
18566 Sin embargo no lo recomiendo, puesto que la diapositiva con el texto excedente
18567 no tendrá número de página.
18568 Además, puede interferir con algún
18572 que hayas incluido en la transparencia sobredimensionada.
18575 \begin_layout Standard
18584 funcionan como el entorno
18590 \begin_inset Quotes cld
18594 \begin_inset Quotes crd
18598 \begin_inset Quotes cld
18602 \begin_inset Quotes crd
18606 \begin_inset Quotes cld
18610 \begin_inset Quotes crd
18618 color es magenta en vez de azul, y la
18619 \begin_inset Quotes cld
18623 \begin_inset Quotes crd
18626 tiene un aspecto diferente en estilo y longitud.
18627 La tipografía de las etiquetas de las tres también es diferente en cada
18631 \begin_layout Standard
18636 , si los contenidos de una
18644 exceden el espacio físico de la diapositiva o del papel, el texto sobrante
18645 ocupa una nueva hoja.
18646 De nuevo lo desaconsejamos porque las
18654 s carecerían de utilidad.
18657 \begin_layout Subsubsection
18667 \begin_layout Standard
18672 es una transparencia que se superpone a otra.
18673 Supón que quieres presentar una figura en una diapositiva antes que el
18674 texto que la acompaña.
18675 Una forma de conseguirlo es ocultar con papel negro la parte que quieres
18676 que se muestre más tarde.
18677 Sin embargo, este método no sirve si quieres superponer un gráfico a otro,
18679 Entonces tendrías que trastear con las transparencias, mientras sigues
18680 hablando, para superponerlas de manera que los gráficos queden correctamente
18686 , ambas cosas son mucho más sencillas.
18689 \begin_layout Standard
18694 tiene el mismo número de página que la
18699 \begin_inset Quotes cld
18703 \begin_inset Quotes crd
18707 \begin_inset Quotes cld
18711 \begin_inset Quotes crd
18718 \begin_layout Plain Layout
18719 Presumiblemente, múltiples
18724 \begin_inset Quotes cld
18732 \begin_inset Quotes crd
18736 \begin_inset Quotes cld
18744 \begin_inset Quotes crd
18748 \begin_inset Quotes cld
18756 \begin_inset Quotes crd
18760 \begin_inset space ~
18763 tras el número de página de la
18768 \begin_inset Quotes cld
18772 \begin_inset Quotes crd
18781 ¡Efectivamente, quieres que la Diapositiva
18789 cuenten como si fueran una sola página! Probablemente deberías considerar
18795 \begin_inset Quotes cld
18799 \begin_inset Quotes crd
18815 en \SpecialChar LyX
18816 : la etiqueta al principio de un
18820 es más corta que la de comienzo de una
18825 Por último, al generar salida impresa, verás marcas de alineación en las
18826 cuatro esquinas de las páginas de la
18835 Esas marcas te ayudarán a alinear físicamente las dos transparencias.
18838 \begin_layout Standard
18839 El mayor problema para superponer dos transparencias es alinear sus contenidos.
18840 ¿Qué espacio habrá que dejar para tal gráfico en la segunda transparencia?
18841 Peor aún, ¿qué pasa si quieres un gráfico y una frase en la segunda transparenc
18842 ia, pero en la primera hay texto que debe aparecer entre ellos? Podrías
18843 probar a insertar un espacio vertical adecuado, pero el mejor método es
18855 \begin_layout Standard
18856 Como su nombre indica,
18864 son entornos de párrafo que hacen invisible o visible, respectivamente,
18865 todo el texto siguiente.
18866 Sin embargo, ten en cuenta que no colocas nada
18870 de estos entornos, recuerda la sección
18871 \begin_inset space ~
18875 \begin_inset CommandInset ref
18877 reference "sec:slide-Peculiaridades"
18886 , se inserta una etiqueta en azul-cielo, centrada en la página con la leyenda
18887 <Invisible Text Follows>.
18888 Los párrafos que siguen a esta etiqueta en la
18896 (da lo mismo) se sustituyen por el espacio en blanco equivalente.
18899 \begin_layout Standard
18904 , la etiqueta tiene la leyenda <Visible Text Follows>
18905 \begin_inset space ~
18909 Los párrafos que la siguen se comportan normalmente.
18910 Ten en cuenta que el inicio de
18922 desactiva automáticamente la función
18927 No es necesario utilizar
18938 \begin_layout Standard
18939 Ya deberíamos estar listos para crear transparencias superpuestas con la
18940 adecuada combinación de
18959 \begin_layout Enumerate
18964 , incluyendo todo lo que debe aparecer en ella y en los
18971 \begin_layout Enumerate
18972 Antes de cada figura o párrafo que vaya a salir solo en un
18976 , inserta un entorno
18981 Si es necesario, inserta un entorno
18985 tras el texto que pertenece solo al
18992 \begin_layout Enumerate
18997 inmediatamente detrás de la
19004 \begin_layout Enumerate
19005 Copia los contenidos de esta
19016 \begin_layout Enumerate
19021 , cambia todas las líneas del
19032 \begin_layout Standard
19034 Acabas de hacer una transparencia superpuesta.
19037 \begin_layout Standard
19038 Hay un problema con el procedimiento que he diseñado para la clase
19042 en \SpecialChar LyX
19043 : no puedes hacer invisible un texto en mitad de un párrafo, ni hacer
19044 visible un texto dentro de un párrafo invisible.
19045 Para conseguirlo necesitarás usar algo de código \SpecialChar LaTeX
19050 \begin_layout Plain Layout
19051 Los comandos de interés son:
19054 \begin_layout Itemize
19059 invisible \SpecialChar ldots
19063 \begin_layout Itemize
19068 visible \SpecialChar ldots
19072 \begin_layout Plain Layout
19074 que deben marcarse como \SpecialChar TeX
19076 El texto \SpecialChar ldots
19082 \begin_inset Quotes cld
19086 \begin_inset Quotes crd
19089 quieres cambiar debe ir a continuación del comando
19101 , y todo ello entre llaves { }.
19102 Si no sabes cómo se marca un texto como \SpecialChar TeX
19103 , consulta la sección adecuada
19116 \begin_layout Subsubsection
19126 \begin_layout Standard
19135 está asociada a una
19143 \begin_inset Quotes cld
19147 \begin_inset Quotes crd
19151 También \SpecialChar LyX
19156 visualmente: La etiqueta para una
19160 es más corta que la de una
19164 pero más larga que la de
19168 y, como este, en color magenta.
19173 tiene en la salida el número de página de la
19178 \begin_inset Quotes cld
19182 \begin_inset Quotes crd
19186 \begin_inset Quotes cld
19194 \begin_inset Quotes crd
19198 \begin_inset Quotes cld
19206 \begin_inset Quotes crd
19210 \begin_inset Quotes cld
19218 \begin_inset Quotes crd
19222 Puedes poner varias
19238 , seguramente te interesará cortar las
19242 largas para que quepan en una hoja.
19245 \begin_layout Standard
19246 El propósito de una
19250 es evidente: hacer comentarios adicionales al contenido principal.
19251 También podría utilizarse como recordatorio en una
19256 En este caso, podrías hacer uso de marcadores de tiempo.
19257 Actualmente, la clase
19261 no tiene en \SpecialChar LyX
19263 \begin_inset Quotes cld
19267 \begin_inset Quotes crd
19270 para marcadores de tiempo, una función de
19276 Por tanto tendrías que usar código \SpecialChar LaTeX
19280 \begin_layout Standard
19281 Para usar marcadores de tiempo debes especificar la opción extra de clase
19283 \begin_inset Quotes cld
19291 \begin_inset Quotes crd
19295 \begin_inset space ~
19299 \begin_inset CommandInset ref
19301 reference "sec:slidesetup"
19306 Esta opción habilita marcas de tiempo que se mostrarán en la esquina inferior
19312 Para establecer lo que aparecerá en el marcador de tiempo, usa los comandos
19315 \begin_inset Quotes cld
19325 \begin_inset Quotes crd
19329 \begin_inset Quotes cld
19339 \begin_inset Quotes crd
19343 El argumento de ambos comandos es un tiempo expresado en segundos.
19345 \begin_inset Quotes cld
19355 \begin_inset Quotes crd
19358 fija el marcador en un instante dado.
19360 \begin_inset Quotes cld
19370 \begin_inset Quotes crd
19373 incrementa el marcador en la cantidad de tiempo especificada.
19374 Usar los marcadores de tiempo y las
19378 de esta manera te recordará cuanto tiempo emplear en una
19385 \begin_layout Standard
19386 Queda por describir una característica.
19387 Seguramente te gustaría imprimir todas tus
19395 en transparentes y las
19412 a la que están asociadas.
19413 ¿Qué hacer entonces?
19416 \begin_layout Standard
19417 Afortunadamente hay dos comandos \SpecialChar LaTeX
19418 que permiten seleccionar lo que se ha
19420 Se deben poner en el preámbulo del documento.
19422 \begin_inset Quotes cld
19434 \begin_inset Quotes crd
19437 hará que la salida solo contenga las
19446 De igual manera, el comando
19447 \begin_inset Quotes cld
19459 \begin_inset Quotes crd
19467 Aconsejo poner ambos comandos en el preámbulo pero desactivados mediante
19468 un comentario a principio de línea para que puedas ver preliminares de
19469 toda la presentación.
19470 A la hora de imprimir, puedes descomentar uno de ellos para imprimir esa
19472 Tengo la costumbre de descomentar
19473 \begin_inset Quotes cld
19485 \begin_inset Quotes crd
19488 , exportar a un archivo con
19489 \begin_inset Quotes cld
19497 \begin_inset Quotes crd
19500 en el nombre, comentarlo de nuevo, ahora descomentar
19501 \begin_inset Quotes cld
19513 \begin_inset Quotes crd
19516 y exportar a otro archivo con
19517 \begin_inset Quotes cld
19525 \begin_inset Quotes crd
19529 Entonces puedo mandar ambos archivos a la impresora poniendo transparentes
19530 o papel según convenga.
19533 \begin_layout Standard
19534 También puedes poner otros argumentos a los comandos
19535 \begin_inset Quotes cld
19545 \begin_inset Quotes crd
19549 \begin_inset Quotes cld
19559 \begin_inset Quotes crd
19563 Consulta un buen libro sobre \SpecialChar LaTeX
19567 \begin_layout Subsection
19568 La plantilla para la clase
19573 \begin_layout Standard
19574 He preparado también un archivo modelo,
19575 \begin_inset Quotes cld
19583 \begin_inset Quotes crd
19591 Para empezar tu presentación con él abrelo con
19593 Archivo\SpecialChar menuseparator
19595 \begin_inset space ~
19599 \begin_inset space ~
19605 Contiene un ejemplo de presentación con el trío
19626 tienen además un ejemplo del uso de TextoI
19635 Por último, el preámbulo contiene:
19638 \begin_layout LyX-Code
19639 % Uncomment to print out only slides and overlays
19643 \begin_layout Plain Layout
19645 \begin_inset Quotes cld
19649 \begin_inset Quotes crd
19652 ) para imprimir solo diapositivas y superpuestos.
19666 \begin_layout LyX-Code
19670 \begin_layout LyX-Code
19676 \begin_inset Newline newline
19682 \begin_layout LyX-Code
19683 % Uncomment to print out only notes
19687 \begin_layout Plain Layout
19689 \begin_inset Quotes cld
19693 \begin_inset Quotes crd
19696 ) para imprimir solo las notas.
19710 \begin_layout LyX-Code
19714 \begin_layout LyX-Code
19722 \begin_layout Standard
19723 Un apunte final: He creado esta clase para dar soporte a la clase integrante
19724 de \SpecialChar LaTeX2e
19726 \begin_inset Quotes cld
19735 \begin_inset Quotes crd
19739 Ni yo ni el resto del equipo \SpecialChar LyX
19740 aprobamos o desaprobamos el empleo de esta
19742 A tí te corresponde decidir si la necesitas.
19743 Hay otras clases de \SpecialChar LaTeX2e
19744 para crear presentaciones, como
19749 \begin_inset space ~
19753 \begin_inset CommandInset ref
19755 reference "sec:foiltex"
19760 \begin_inset Quotes cld
19768 \begin_inset Quotes crd
19771 (presente en algunas distribuciones de \SpecialChar TeX
19773 Este último aún no es soportado por \SpecialChar LyX
19778 \begin_layout Plain Layout
19779 Quizá quieras abordar tú la tarea\SpecialChar ldots
19785 No conozco estas otras clases.
19786 Puedes probarlas para ver qué alternativas te ofrecen.
19789 \begin_layout Chapter
19790 Características de \SpecialChar LyX
19791 que requieren software adicional
19792 \begin_inset Argument 1
19795 \begin_layout Plain Layout
19804 \begin_layout Section
19805 Comprobar \SpecialChar TeX
19809 \begin_layout Standard
19815 \begin_layout Subsection
19819 \begin_layout Standard
19828 \begin_layout Plain Layout
19829 Aún no disponible en la distribución Mik\SpecialChar TeX
19839 encontrarás la opción
19842 \begin_inset space ~
19848 Para que esté disponible necesitas instalar el programa
19853 Puedes obtenerlo de CTAN,
19854 \begin_inset Newline newline
19858 \begin_inset CommandInset href
19860 target "https://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
19868 \begin_layout Standard
19871 Chk\SpecialChar TeX
19879 , a causa de la frustración que generan algunas construcciones de \SpecialChar LaTeX
19881 intuitivas y fáciles de olvidar.
19882 El programa se ejecuta sobre el archivo \SpecialChar LaTeX
19883 y comprueba la integridad del
19884 mismo, identificando algunos errores comunes.
19885 En palabras técnicas, es como
19889 para \SpecialChar LaTeX
19893 \begin_layout Standard
19894 Bien, ¿qué pinta un revisor de sintaxis en \SpecialChar LyX
19895 , que se supone que siempre genera
19897 correcto? La respuesta es sencilla: Igual que
19901 no solo comprueba la
19905 de programas C, sino que también comprueba la
19913 busca de errores de tipografía,
19915 Chk\SpecialChar TeX
19918 detecta, además de los errores sintácticos, errores
19922 comunes, tales como
19925 \begin_layout Itemize
19926 Puntos suspensivos incorrectos:
19927 \begin_inset Newline newline
19930 Usa \SpecialChar ldots
19934 \begin_layout Itemize
19935 Espacio junto a los paréntesis:
19936 \begin_inset Newline newline
19939 ( espaciado incorrecto )
19942 \begin_layout Itemize
19943 Introducción de espacio normal tras abreviaciones:
19944 \begin_inset Newline newline
19949 es un espacio demasiado grande.
19952 \begin_layout Itemize
19953 Colocación de un espacio fin-de-frase cuando la última frase acaba con mayúscula
19955 \begin_inset Newline newline
19959 Y esto un espacio incorrecto.
19962 \begin_layout Itemize
19963 Espacio ante etiquetas y otros comandos:
19964 \begin_inset Newline newline
19967 La etiqueta debe estar pegada al texto precedente para evitar un salto de
19968 línea o página en mal sitio.
19970 \begin_inset CommandInset label
19980 \begin_layout Plain Layout
19981 Esta nota podría salir en una página inadecuada.
19986 La etiqueta está demasiado separada.
19989 \begin_layout Itemize
19990 Espacio no protegido ante las referencias:
19991 \begin_inset Newline newline
19994 Si te despistas en esto, el texto podría saltar de línea justo entre él
19995 y el número de la referencia, lo que se ve feo.
19997 \begin_inset CommandInset ref
19999 reference "sec:chktex"
20006 \begin_layout Itemize
20008 \begin_inset Quotes eld
20012 \begin_inset Quotes erd
20016 \begin_inset Formula $\times$
20020 \begin_inset Newline newline
20023 2x2 se ve cutre comparado con
20024 \begin_inset Formula $2\times2$
20030 \begin_layout Standard
20031 y más\SpecialChar ldots
20032 Es una herramienta imprescindible una vez acabado tu documento y hecha
20033 la revisión ortográfica; antes de afinar la composición del documento e
20034 imprimirlo deberías ejecutar
20036 Chk\SpecialChar TeX
20042 \begin_layout Subsection
20046 \begin_layout Standard
20047 Si el programa está instalado, se ejecuta con
20049 Herramientas\SpecialChar menuseparator
20051 \begin_inset space ~
20058 genera entonces un archivo \SpecialChar LaTeX
20059 del documento, inicia
20061 Chk\SpecialChar TeX
20064 para revisarlo, e inserta
20065 \begin_inset Quotes cld
20069 \begin_inset Quotes crd
20072 con las advertencias de
20074 Chk\SpecialChar TeX
20078 Las advertencias se situarán cerca del error, y puedes navegar entre ellas
20079 con la opción de menú
20081 Navegar\SpecialChar menuseparator
20084 , o con el atajo de teclado
20093 Los cuadros de error se abren pulsando sobre ellos o con el atajo
20110 Lee las advertencias y corrige los errores.
20111 Si no tienes ni idea de qué va un mensaje puedes ignorarlo limpiamente.
20112 Recuerda que hay un estrato oculto entre el documento en pantalla y los
20113 detalles técnicos al ejecutar
20115 Chk\SpecialChar TeX
20118 , por lo que pueden aparecer algunos avisos de aspecto misterioso o absurdo.
20121 \begin_layout Standard
20122 Este documento es un excelente banco de pruebas para esta característica,
20123 con el que comprobar la presencia de advertencias y enredar con ellas.
20124 Aunque, como los ordenadores son tan listos, confía en que la mayoría de
20125 advertencias serán falsas alarmas.
20128 \begin_layout Subsection
20132 \begin_layout Standard
20133 A veces observarás que con
20135 Chk\SpecialChar TeX
20138 hay más ruido que nueces.
20139 Puedes elegir no usarlo, o intentar personalizar
20141 Chk\SpecialChar TeX
20144 para adaptarlo a tus necesidades.
20147 \begin_layout Standard
20150 Chk\SpecialChar TeX
20157 muy configurable y ampliable, no esperes resolver todos los problemas de
20161 Chk\SpecialChar TeX
20165 Como \SpecialChar LyX
20166 ha de generar un archivo \SpecialChar LaTeX
20167 un tanto especial para poder casar los
20168 números de línea de la salida de
20170 Chk\SpecialChar TeX
20173 con la estructura interna del documento
20177 \begin_layout Plain Layout
20178 Puedes inspeccionar la salida de
20184 Documento\SpecialChar menuseparator
20186 \begin_inset space ~
20190 \begin_inset space ~
20205 , algunos de los avisos no estarán bien colocados.
20206 Puedes hacer dos cosas:
20209 \begin_layout Itemize
20210 Afinar la línea de comandos de
20212 Chk\SpecialChar TeX
20221 Salidas\SpecialChar menuseparator
20225 ), o el archivo de configuración global de
20227 Chk\SpecialChar TeX
20230 (normalmente se ubica en
20231 \begin_inset Newline newline
20236 /usr/local/share/chktexrc
20239 Véase más adelante qué advertencias se pueden activar o desactivar en la
20244 \begin_layout Itemize
20245 Exporta tu documento a un archivo \SpecialChar LaTeX
20250 Archivo\SpecialChar menuseparator
20251 Exportar\SpecialChar menuseparator
20259 Ejecutado así, puede ser peliagudo encontrar el lugar correspondiente en
20260 el documento \SpecialChar LyX
20261 , pero con un poco de paciencia lo lograrás.
20264 \begin_layout Standard
20265 A continuación se listan los mensajes de error que pueden ser activados
20275 para desactivar un aviso, y
20280 Las entradas en énfasis están desactivadas por omisión, porque de forma
20281 predeterminada se ejecuta como "
20283 chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38
20288 \begin_layout Standard
20289 Ten en cuenta que solo deberías usar las opciones que activan o desactivan
20290 avisos, porque las demás las usa \SpecialChar LyX
20291 de manera específica para comunicarse
20299 \begin_layout Enumerate
20303 Command terminated with space.
20304 (Comando finalizado con un espacio
20311 \begin_layout Enumerate
20314 Non-breaking space (
20315 \begin_inset Quotes eld
20323 \begin_inset Quotes erd
20326 ) should have been used.
20331 debería haber usado un espacio protegido
20332 \begin_inset Quotes cld
20336 \begin_inset Quotes crd
20342 \begin_layout Enumerate
20346 You should enclose the previous parenthesis with
20347 \begin_inset Quotes eld
20355 \begin_inset Quotes erd
20362 (Deberías cerrar los paréntesis previos con
20367 \begin_inset Quotes cld
20371 \begin_inset Quotes crd
20377 \begin_layout Enumerate
20380 Italic correction (
20381 \begin_inset Quotes eld
20391 \begin_inset Quotes erd
20394 ) found in non-italic buffer.
20395 (Corrección de cursiva (
20396 \begin_inset Quotes cld
20402 \begin_inset Quotes crd
20405 ) en un grupo que no está en cursiva)
20408 \begin_layout Enumerate
20411 Italic correction (
20412 \begin_inset Quotes eld
20422 \begin_inset Quotes erd
20425 ) found more than once.
20426 (Corrección de cursiva (
20427 \begin_inset Quotes cld
20433 \begin_inset Quotes crd
20439 \begin_layout Enumerate
20443 No italic correction (
20444 \begin_inset Quotes eld
20454 \begin_inset Quotes erd
20458 (Corrección de cursiva (
20461 \begin_inset Quotes cld
20467 \begin_inset Quotes crd
20479 \begin_layout Enumerate
20483 \begin_inset Quotes eld
20491 \begin_inset Quotes erd
20495 \begin_inset Quotes eld
20503 \begin_inset Quotes erd
20508 \begin_inset Quotes cld
20512 \begin_inset Quotes crd
20516 \begin_inset Quotes cld
20520 \begin_inset Quotes crd
20526 \begin_layout Enumerate
20529 Wrong length of dash may have been used.
20530 (Quizá se ha usado un guión de longitud inadecuada)
20533 \begin_layout Enumerate
20537 \begin_inset Quotes eld
20545 \begin_inset Quotes erd
20549 \begin_inset Quotes eld
20557 \begin_inset Quotes erd
20562 \begin_inset Quotes cld
20566 \begin_inset Quotes crd
20570 \begin_inset Quotes cld
20574 \begin_inset Quotes crd
20580 \begin_layout Enumerate
20584 \begin_inset Quotes eld
20592 \begin_inset Quotes erd
20596 (Se ha encontrado un solo
20597 \begin_inset Quotes cld
20601 \begin_inset Quotes crd
20607 \begin_layout Enumerate
20611 \begin_inset Quotes eld
20619 \begin_inset Quotes erd
20622 to achieve an ellipsis.
20624 \begin_inset Quotes cld
20628 \begin_inset Quotes crd
20631 para los puntos suspensivos)
20634 \begin_layout Enumerate
20637 Inter-word spacing (
20638 \begin_inset Quotes eld
20648 \begin_inset Quotes eld
20651 ) should perhaps be used.
20652 (Quizá tendría que ponerse un espacio entre palabras (
20653 \begin_inset Quotes cld
20659 \begin_inset Quotes crd
20665 \begin_layout Enumerate
20668 Inter-sentence spacing (
20669 \begin_inset Quotes eld
20679 \begin_inset Quotes erd
20682 ) should perhaps be used.
20683 (Quizá tendría que ponerse un espacio entre frases (
20684 \begin_inset Quotes cld
20690 \begin_inset Quotes crd
20696 \begin_layout Enumerate
20699 Could not find argument for command.
20700 (Argumento de comando no encontrado)
20703 \begin_layout Enumerate
20707 \begin_inset Quotes eld
20715 \begin_inset Quotes erd
20720 \begin_inset Quotes cld
20724 \begin_inset Quotes crd
20730 \begin_layout Enumerate
20733 Math mode still on at end of \SpecialChar LaTeX
20735 (El archivo \SpecialChar LaTeX
20736 termina en modo ecuación)
20739 \begin_layout Enumerate
20743 \begin_inset Quotes eld
20751 \begin_inset Quotes erd
20754 doesn't match the number of
20755 \begin_inset Quotes eld
20763 \begin_inset Quotes erd
20768 \begin_inset Quotes cld
20772 \begin_inset Quotes crd
20775 no corresponde con el número de
20776 \begin_inset Quotes cld
20780 \begin_inset Quotes crd
20786 \begin_layout Enumerate
20789 You should use either
20792 \begin_inset Quotes eld
20800 \begin_inset Quotes erd
20805 as an alternative to
20806 \begin_inset Quotes eld
20814 \begin_inset Quotes erd
20819 \begin_inset Quotes cld
20823 \begin_inset Quotes crd
20829 \begin_inset Quotes cld
20839 \begin_inset Quotes crd
20847 \begin_layout Enumerate
20854 " (ASCII 39) instead of "
20860 \begin_inset Quotes cld
20864 \begin_inset Quotes crd
20867 (ASCII 39) en lugar de
20868 \begin_inset Quotes cld
20872 \begin_inset Quotes crd
20878 \begin_layout Enumerate
20881 User-specified pattern found.
20882 (Se ha encontrado un patrón definido por el usuario)
20885 \begin_layout Enumerate
20888 This command might not be intended.
20889 (Comando posiblemente no buscado)
20892 \begin_layout Enumerate
20897 (Comentario mostrado)
20900 \begin_layout Enumerate
20931 \begin_layout Enumerate
20934 Delete this space to maintain correct page references.
20935 (Borra este espacio para mantener las referencias de página)
20938 \begin_layout Enumerate
20942 You might wish to put this between a pair of
20943 \begin_inset Quotes eld
20951 \begin_inset Quotes erd
20955 (Esto quizá estaría mejor entre llaves
20956 \begin_inset Quotes cld
20960 \begin_inset Quotes crd
20966 \begin_layout Enumerate
20969 You ought to remove spaces in front of punctuation.
20970 (Debes quitar espacios delante de la puntuación)
20973 \begin_layout Enumerate
20976 Could not execute \SpecialChar LaTeX
20978 (No se puede ejecutar comando \SpecialChar LaTeX
20982 \begin_layout Enumerate
20991 in front of small punctuation.
20998 delante de un punto)
21001 \begin_layout Enumerate
21009 may look prettier here.
21010 (Aquí quedaría mejor
21020 \begin_layout Enumerate
21024 Multiple spaces detected in output.
21025 (Se detectan espacios múltiples en la salida)
21028 \begin_layout Enumerate
21031 This text may be ignored.
21032 (Este texto podría no tenerse en cuenta)
21035 \begin_layout Enumerate
21041 \begin_inset Quotes eld
21046 to begin quotation, not
21051 (Usa `` para comenzar una cita, no ')
21054 \begin_layout Enumerate
21061 to end quotation, not
21064 \begin_inset Quotes eld
21070 (Usa ' para finalizar una cita, no ``)
21073 \begin_layout Enumerate
21077 (No mezcles distintos tipos de comillas)
21080 \begin_layout Enumerate
21083 You should perhaps use
21084 \begin_inset Quotes eld
21092 \begin_inset Quotes erd
21096 (Quizá sería mejor usar
21097 \begin_inset Quotes cld
21101 \begin_inset Quotes crd
21107 \begin_layout Enumerate
21110 You should put a space in front of/after parenthesis.
21111 (Deberías poner un espacio delante/detrás de los paréntesis)
21114 \begin_layout Enumerate
21117 You should avoid spaces in front of/after parenthesis.
21118 (Deberías evitar espacios delante/detrás de los paréntesis)
21121 \begin_layout Enumerate
21125 You should not use punctuation in front of/after quotes.
21126 (No deberías usar puntuación delante/detrás de comillas)
21129 \begin_layout Enumerate
21132 Double space found.
21133 (Espacio doble encontrado)
21136 \begin_layout Enumerate
21139 You should put punctuation outside inner/inside display math mode.
21140 (Deberías poner la puntuación fuera del modo ecuación)
21143 \begin_layout Enumerate
21146 You ought to not use primitive \SpecialChar TeX
21147 in \SpecialChar LaTeX
21149 (No debes usar primitivas de \SpecialChar TeX
21150 dentro de código \SpecialChar LaTeX
21154 \begin_layout Enumerate
21157 You should remove spaces in front of
21158 \begin_inset Quotes eld
21166 \begin_inset Quotes erd
21169 (Deberías quitar los espacios delante de
21170 \begin_inset Quotes cld
21174 \begin_inset Quotes crd
21180 \begin_layout Enumerate
21183 \begin_inset Quotes eld
21191 \begin_inset Quotes erd
21194 is normally not followed by
21195 \begin_inset Quotes eld
21203 \begin_inset Quotes erd
21208 \begin_inset Quotes cld
21212 \begin_inset Quotes crd
21215 normalmente no va seguido de
21216 \begin_inset Quotes cld
21220 \begin_inset Quotes crd
21226 \begin_layout Standard
21227 En las últimas versiones de \SpecialChar LyX
21228 esperamos proporcionar una interfaz más completa
21229 para esta herramienta (y su prima pequeña
21233 ) para aprovechar toda su potencia.
21234 Pero no deja de ser útil tal como está: prueba con alguno de tus documentos
21235 de cierta longitud y sorpréndete.
21238 \begin_layout Section
21239 Control de versiones en \SpecialChar LyX
21243 \begin_layout Standard
21246 Lars Gullik Bjønnes
21253 \begin_layout Subsection
21257 \begin_layout Standard
21259 soporta algunos comandos básicos de RCS/CVS/SVN/GIT.
21260 Si necesitas algo más sofisticado tendrás que hacerlo a mano en un terminal.
21263 \begin_layout Standard
21264 Además, hay que tener en cuenta que el soporte de CVS no es tan bueno como
21265 el de subversion, por lo que recomendamos SVN.
21266 Para empezar con Subversion es conveniente consultar el SVN Book.
21270 \begin_layout Plain Layout
21271 \begin_inset CommandInset href
21273 target "http://svnbook.red-bean.com/"
21283 Para RCS deberías leer
21284 \begin_inset Quotes cld
21288 \begin_inset Quotes crd
21296 Este archivo describe todas las características básicas de RCS.
21297 Deberías fijarte especialmente en el comentario sobre el directorio RCS
21298 y las nociones sobre el archivo maestro RCS (el que acaba en
21305 \begin_layout Standard
21306 Antes de usar el control de versiones en \SpecialChar LyX
21307 hay que conocer el uso de RCS/CVS/SVN/
21309 La implementación en \SpecialChar LyX
21310 asume el uso de versiones recientes de los paquetes
21311 GNU RCS o CVS/SVN —no hay garantías con versiones antiguas—.
21312 La mayoría de los mensajes de registro no son actualmente mostrados tras
21313 las operaciones —puedes comprobarlos en el panel Messages si no estás seguro.
21314 Los usuarios habituales de control de versiones apreciarán las herramientas
21317 Ver\SpecialChar menuseparator
21318 Barras de herramientas\SpecialChar menuseparator
21319 Control de versiones
21324 \begin_layout Standard
21325 Para introducir tus propios comandos externos consulta
21331 Funciones de \SpecialChar LyX
21337 \begin_layout Standard
21338 Es muy recomendable guardar los documentos sin comprimir si se usa control
21339 de versiones (desactiva
21341 Documento\SpecialChar menuseparator
21344 si lo está): los documentos \SpecialChar LyX
21345 sin comprimir son archivos de texto y por
21346 tanto factibles de ser mezclados por sistemas de control de versiones.
21347 Los documentos \SpecialChar LyX
21348 comprimidos son archivos binarios, no manejables por sistemas
21349 de control de versiones.
21353 \begin_layout Subsection
21354 Comandos RCS en \SpecialChar LyX
21358 \begin_layout Standard
21359 Las secciones siguientes describen los comandos RCS soportados por \SpecialChar LyX
21361 Los puedes encontrar en el submenú
21363 Archivo\SpecialChar menuseparator
21365 \begin_inset space ~
21369 \begin_inset space ~
21376 se ha probado con la versión RCS 5.7/5.8.
21379 \begin_layout Subsubsection
21385 \begin_layout Standard
21386 Si tu documento no está sometido a control de versiones, este es el único
21387 ítem mostrado en el submenú.
21388 Y si está sometido a control de versiones, el ítem
21396 \begin_layout Standard
21397 Este comando registra el documento con RCS\SpecialChar endofsentence
21398 Se te pide interactivamente una
21399 descripción inicial del documento.
21400 Por ahora, el documento está puesto en modo Solo-lectura y debes
21402 Liberar para edición
21404 antes de hacer cambios en él.
21405 Un documento bajo control de revisión tiene un ítem
21406 \begin_inset Quotes cld
21409 [RCS:<version> <locker>]
21410 \begin_inset Quotes crd
21413 junto al nombre de archivo en el búfer .
21416 \begin_layout Standard
21424 \begin_layout LyX-Code
21427 ci -q -u -i -t-"<descripción inicial>" <nombre-archivo>
21430 \begin_layout Standard
21435 para entender las opciones.
21439 \begin_layout Subsubsection
21445 \begin_layout Standard
21446 Cuando has acabado de editar un archivo liberas tus cambios.
21451 se te pide una descripción que se almacena en el historial.
21452 El número de versión es actualizado, tus cambios se aplican al archivo
21453 maestro RCS, el documento es desbloqueado y puesto en modo Solo-lectura.
21457 \begin_layout Itemize
21460 ci -q -u -m"<descripción>" <nombre-archivo>
21463 \begin_layout Subsubsection
21466 Reservar para edición
21469 \begin_layout Standard
21470 Haciendo esto bloqueas el documento de manera que solo tú puedes editarlo.
21471 Además el documento será de Lectura-Escritura únicamente para ti.
21472 Generalmente continuarás la edición un rato más y al acabar liberarás los
21474 La línea de estado cambia para indicar que has bloqueado el archivo.
21478 \begin_layout Itemize
21481 co -q -l <nombre-archivo>
21484 \begin_layout Subsubsection
21489 versión del repositorio
21492 \begin_layout Standard
21493 Esto descartará todos los cambios hechos en el documento desde la última
21494 liberación de cambios.
21495 Recibes un mensaje de aviso antes de descartar los cambios.
21501 \begin_layout Itemize
21504 co -f -u<version> <nombre-archivo>
21507 \begin_layout Subsubsection
21511 \begin_layout Standard
21512 Creará una copia del documento actual.
21513 Puesto que RCS no soporta nativamente operaciones de copia, el historial
21514 de versiones no se preserva y la copia se añade como archivo nuevo.
21515 Requiere un documento limpio sin ningún cambio desde la última liberación.
21516 Pedirá un nombre de archivo y una descripción de la operación de copia.
21517 Después se crea la copia localmente y en el repositorio.
21518 Si los directorios padre de los documentos original y copiado difieren,
21519 se ajustan todas las rutas relativas de los archivos incluidos en la copia
21522 Archivo\SpecialChar menuseparator
21527 Por último, se carga la copia en vez del documento original.
21530 \begin_layout Labeling
21531 \labelwidthstring 00.00.0000
21533 \begin_inset space ~
21537 \begin_inset space ~
21541 \begin_inset Newline newline
21545 \begin_inset Flex Code
21548 \begin_layout Plain Layout
21552 \begin_inset Quotes qld
21562 \begin_inset Quotes qld
21571 \begin_inset Flex Code
21574 \begin_layout Plain Layout
21578 \begin_inset Quotes qld
21584 <nuevo-nombre-archivo>
21588 \begin_inset Quotes qld
21597 \begin_inset Newline newline
21601 \begin_inset Flex Code
21604 \begin_layout Plain Layout
21609 \begin_inset Quotes qld
21615 <nuevo-nombre-archivo>
21619 \begin_inset Quotes qld
21626 \begin_inset Quotes erd
21637 \begin_layout Subsubsection
21640 Deshacer última liberación
21643 \begin_layout Standard
21644 Esto es como si la última liberación de cambios no hubiera sucedido.
21645 No se hacen cambios al documento cargado en \SpecialChar LyX
21646 , pero la última versión es
21647 eliminada del archivo maestro RCS.
21651 \begin_layout Itemize
21654 rcs -o<versión> <nombre-archivo>
21657 \begin_layout Subsubsection
21663 \begin_layout Standard
21664 Muestra el registro completo del historial del documento RCS.
21673 se muestra en un buscador.
21678 para más información.
21681 \begin_layout Subsubsection
21682 Información de revisión
21685 \begin_layout Standard
21687 soporta información de número de versión, autor, fecha y hora del último
21691 rlog -r <nombre-archivo>
21695 \begin_inset CommandInset ref
21697 reference "subsec:VCS-Información-de-revisión"
21704 \begin_layout Subsection
21705 Comandos CVS en \SpecialChar LyX
21709 \begin_layout Standard
21710 Ahora \SpecialChar LyX
21711 soporta un subconjunto de operaciones CVS.
21712 Puedes ver los comandos en el submenú
21714 Archivo\SpecialChar menuseparator
21715 Control de versiones
21718 El sistema de control de versiones SVN es más poderoso, por lo que úsalo
21719 en lugar de CVS, si es posible.
21722 \begin_layout Subsubsection
21726 \begin_layout Standard
21727 Si comienzas desde cero con CVS debes crear tu repositorio y reservar la
21728 copia de trabajo con herramientas externas.
21729 Si usas una configuración cliente-servidor puedes necesitar registrarte
21730 antes de hacer la primera reserva en el repositorio.
21733 \begin_layout Standard
21734 Si tus documentos están bajo control de revisión y otros usan el mismo repositor
21735 io surgen problemas cuando se hacen cambios en el mismo documento y en el
21737 Los repositorios estándar CVS no operan con bloqueo de archivos.
21738 Esto puede sorprender, pero los conflictos solo suceden si la gente discrepa
21739 sobre el adecuado contenido de la misma parte de un documento.
21740 Por tanto, si los colaboradores acostumbran a comunicarse regularmente,
21741 los conflictos ocurren raramente.
21742 Si no se comunican, tienen un problema fundamental de todos modos.
21743 Con todo, algunos prefieren trabajar con las denominadas
21744 \begin_inset Quotes cld
21747 reservas reservadas
21748 \begin_inset Quotes crd
21752 Si lo hacen así, la copia de trabajo de todos los archivos es de solo lectura
21753 cuando reservan primero y el usuario comienza la edición después de usar
21754 un comando especial para hacer posible la escritura en la copia de trabajo.
21755 Cuando los cambios son liberados la copia de trabajo vuelve al estado solo
21757 Con \SpecialChar LyX
21758 , uno debe editar el archivo
21759 \begin_inset Flex Code
21762 \begin_layout Plain Layout
21769 \begin_inset Flex Code
21772 \begin_layout Plain Layout
21779 \begin_inset Quotes cld
21782 reservas reservadas
21783 \begin_inset Quotes crd
21787 El beneficio es la posibilidad de ver quién está usando una copia con acceso
21788 a escritura de algún documento.
21789 No está garantizado que solo un usuario hace copias con permiso de escritura.
21792 \begin_layout Standard
21794 intenta averiguar si estás usando reservas reservadas o no.
21795 Si la copia de trabajo es solo lectura asume que es reservada, si admite
21796 escritura y una copia adicional del documento existe en el subdirectorio
21797 CVS/Base, asume que es no reservada.
21798 Si se detecta una reservada debes usar
21799 \begin_inset Flex Noun
21802 \begin_layout Plain Layout
21808 para poder escribir en ella.
21809 Después de hacerlo, la operación
21810 \begin_inset Flex Noun
21813 \begin_layout Plain Layout
21819 es posible y esto hace que tu copia de trabajo se haga de nuevo solo lectura
21820 después de transferir los cambios al repositorio.
21823 \begin_layout Standard
21824 Más información sobre CVS se puede encontrar en
21825 \begin_inset Flex URL
21828 \begin_layout Plain Layout
21830 http://www.nongnu.org/cvs
21836 \begin_inset Flex URL
21839 \begin_layout Plain Layout
21841 http://ximbiot.com/cvs
21849 \begin_layout Standard
21851 \begin_inset Flex Code
21854 \begin_layout Plain Layout
21860 para comprender los sub-comandos y conmutadores mencionados abajo.
21863 \begin_layout Subsubsection
21867 \begin_layout Standard
21868 Si el documento no está bajo control de revisión, este es el único ítem
21869 mostrado en el menú.
21870 Y si está bajo control de revisión, el ítem
21873 \begin_inset Flex Noun
21876 \begin_layout Plain Layout
21889 \begin_layout Standard
21890 Este comando registra tu documento en CVS
21891 \begin_inset Flex Emph
21894 \begin_layout Plain Layout
21895 \begin_inset Flex Strong
21898 \begin_layout Plain Layout
21909 en el caso de que ya tengas el directorio de documentos bajo control CVS
21910 (en particular, existe el archivo
21915 Esto significa que debes crear o reservar el archivo por ti mismo usando
21916 herramientas externas.
21917 (En caso de olvidar este paso, \SpecialChar LyX
21918 registra el documento con RCS).
21921 \begin_layout Standard
21922 Después se te pide interactivamente una descripción inicial del documento.
21923 No olvides que el archivo registrado todavía no está liberado.
21926 \begin_layout Standard
21927 El comando CVS que es ejecutado:
21930 \begin_inset Quotes erd
21934 \begin_inset Quotes eld
21938 \begin_inset Quotes erd
21944 \begin_layout Standard
21948 \begin_inset Quotes eld
21952 \begin_inset Quotes erd
21957 anterior y en todos los demás comandos CVS es una abreviación para
21958 \begin_inset Quotes cld
21961 cambiar el directorio de trabajo actual a la ubicación del archivo y usa
21962 el nombre de archivo sin el componente ruta como argumento
21963 \begin_inset Quotes crd
21969 \begin_layout Subsubsection
21973 \begin_layout Standard
21974 Cuando has terminado de editar un archivo se ingresan los cambios.
21975 Al hacerlo se te pide una descripción de los mismos.
21976 Después, los cambios son escritos en el repositorio.
21977 En caso de que no hayas cambiado el documento y se detecte una copia reservada
21978 se deshace la reserva hecha con
21979 \begin_inset Flex Noun
21982 \begin_layout Plain Layout
21991 \begin_layout Labeling
21992 \labelwidthstring 00.00.0000
21994 \begin_inset space ~
21998 \begin_inset space ~
22002 \begin_inset Newline newline
22008 \begin_inset Flex Code
22011 \begin_layout Plain Layout
22014 cvs -q commit -m"<description>" <file-name>
22022 \begin_inset Newline newline
22026 \begin_inset Flex Code
22029 \begin_layout Plain Layout
22030 cvs -q unedit "<file-name>"
22038 \begin_layout Subsubsection
22042 \begin_layout Standard
22043 Cuando estás compartiendo un repositorio con otros, puede que tengas que
22044 incorporar sus cambios en tu copia de trabajo.
22047 \begin_layout Standard
22050 cvs -q update "<file-name>"
22053 \begin_layout Standard
22054 Si se detecta una reserva solo lectura la copia se hace reservada y accesible
22058 \begin_layout Standard
22061 cvs -q edit "<file-name>"
22064 \begin_layout Subsubsection
22065 Volver a la versión del repositorio
22068 \begin_layout Standard
22069 Esto descartará todos los cambios hechos en el documento desde la última
22071 Recibes un mensaje de aviso antes de descartar los cambios.
22072 Primero se borra el archivo y luego se ejecuta el comando CVS de actualización.
22078 \begin_layout Standard
22082 \begin_inset Quotes eld
22086 \begin_inset Quotes erd
22092 \begin_layout Standard
22093 Si se detecta una copia reservada y la copia de trabajo no tiene cambios
22094 solo se deshace la reserva.
22097 \begin_layout Standard
22101 \begin_inset Quotes eld
22105 \begin_inset Quotes erd
22111 \begin_layout Subsubsection
22115 \begin_layout Standard
22116 Creará una copia del documento actual.
22117 Como CVS no soporta de forma nativa operaciones de copia, el historial
22118 de versiones no se preserva y la copia se añade como archivo nuevo.
22119 Requiere un documento limpio sin ningún cambio desde la última liberación.
22120 Pedirá un nombre de archivo y una descripción de la operación de copia.
22121 Después se crea la copia localmente y en el repositorio.
22122 Si los directorios padre de los documentos original y copiado difieren,
22123 se ajustan todas las rutas relativas de los archivos incluidos en la copia
22126 Archivo\SpecialChar menuseparator
22131 Por último, se carga la copia en vez del documento original.
22134 \begin_layout Labeling
22135 \labelwidthstring 00.00.0000
22137 \begin_inset space ~
22141 \begin_inset space ~
22145 \begin_inset Newline newline
22149 \begin_inset Flex Code
22152 \begin_layout Plain Layout
22168 \begin_inset Flex Code
22171 \begin_layout Plain Layout
22187 \begin_inset Newline newline
22191 \begin_inset Flex Code
22194 \begin_layout Plain Layout
22212 \begin_layout Subsubsection
22216 \begin_layout Standard
22217 Este comando renombra el documento actual.
22218 Como CVS no soporta de forma nativa operaciones de renombrado, el historial
22219 de versiones no se preserva, el documento renombrado se añade como archivo
22220 nuevo y el original se borra.
22221 Requiere un documento limpio sin ningún cambio desde la última liberación.
22222 Pedirá un nombre de archivo y una descripción de la operación.
22223 Después el documento se renombra localmente y en el repositorio.
22224 Si los directorios padre de los nombres de erchivo nuevo y antiguo difieren,
22225 se ajustan todas las rutas relativas de los archivos incluidos (como en
22228 Archivo\SpecialChar menuseparator
22233 Por último, se recarga el documento con el nuevo nombre.
22236 \begin_layout Labeling
22237 \labelwidthstring 00.00.0000
22239 \begin_inset space ~
22243 \begin_inset space ~
22247 \begin_inset Newline newline
22251 \begin_inset Flex Code
22254 \begin_layout Plain Layout
22270 \begin_inset Flex Code
22273 \begin_layout Plain Layout
22289 \begin_inset Newline newline
22293 \begin_inset Flex Code
22296 \begin_layout Plain Layout
22312 \begin_inset Newline newline
22316 \begin_inset Flex Code
22319 \begin_layout Plain Layout
22337 \begin_layout Subsubsection
22338 Actualizar la reserva del directorio local desde el repositorio
22341 \begin_layout Standard
22342 Conforme tus documentos son más complejos, conteniendo sub-documentos y
22343 figuras e incluyendo archivos externos
22347 y demás, el uso de control de versiones se hace más complejo.
22349 soporta la actualización del árbol completo en el que reside el documento.
22350 Esto es especialmente útil cuando colaboras con gente que ni tiene conocimiento
22351 detallado de CVS ni tiene interés en ingresar material adicional al repositorio.
22352 Tienes que organizar la estructura de archivos para que los archivos externos
22353 residan en el mismo directorio o subdirectorio del documento.
22354 Es una buena práctica de todos modos almacenar los documentos multi-parte
22355 en un directorio extra.
22358 \begin_layout Standard
22360 \begin_inset Flex Code
22363 \begin_layout Plain Layout
22364 Actualizar directorio local desde el repositorio
22369 actualiza el directorio completo.
22370 Si se detectan cambios locales el usuario es advertido antes de iniciar
22372 En caso de conflictos en la fusión ambas versiones de las partes conflictivas
22373 se sitúan al final del documento.
22374 Debes revisar y corregir el resultado de la fusión.
22375 Los conflictos los verás encerrados entre pares de
22376 \begin_inset Flex Code
22379 \begin_layout Plain Layout
22386 \begin_inset Flex Code
22389 \begin_layout Plain Layout
22396 \begin_inset Flex Code
22399 \begin_layout Plain Layout
22406 La parte primera es tu versión antes de la operación de actualización con
22407 pecedida del nombre del documento.
22408 La segunda es la versión del repositorio con el número de la versión tras
22409 la secuencia de signos
22410 \begin_inset Flex Code
22413 \begin_layout Plain Layout
22422 \begin_layout Labeling
22423 \labelwidthstring 00.00.0000
22425 \begin_inset space ~
22429 \begin_inset space ~
22433 \begin_inset Newline newline
22437 \begin_inset Flex Code
22440 \begin_layout Plain Layout
22441 cd $path; cvs diff "."
22446 (Para ver si se detectan cambios)
22447 \begin_inset Newline newline
22451 \begin_inset Flex Code
22454 \begin_layout Plain Layout
22455 cd $path; cvs -q update "."
22463 \begin_layout Standard
22465 \begin_inset Flex Code
22468 \begin_layout Plain Layout
22474 es la ruta al documento.
22477 \begin_layout Subsubsection
22481 \begin_layout Standard
22482 Muestra el historial completo del documento CVS.
22484 \begin_inset Newline newline
22490 \begin_inset Quotes eld
22496 \begin_inset Quotes erd
22499 se muestra en un buscador.
22502 \begin_layout Subsubsection
22503 Información de la revisión
22506 \begin_layout Standard
22508 soporta número de versión CVS, nombre de autor, fecha y hora del último
22510 Toda esta información se obtiene de
22512 cvs log -r <file-name>
22516 \begin_inset CommandInset ref
22518 reference "subsec:VCS-Información-de-revisión"
22525 \begin_layout Subsection
22526 Comandos SVN en Lyx
22529 \begin_layout Standard
22530 Ahora \SpecialChar LyX
22531 soporta parcialmente SVN.
22532 Puedes encontrar los comandos en el submenú
22534 Archivo\SpecialChar menuseparator
22535 Control de versiones
22538 Ten en cuenta que si utilizas acceso protegido con contraseña al repositorio
22539 vía ssh, se te pedirá en una ventana de terminal.
22541 se ha probado con SVN 1.5 y 1.6.
22545 \begin_layout Plain Layout
22546 La mayoría de los comandos funcionarán también con 1.4, véase
22547 \begin_inset CommandInset ref
22549 reference "subsec:SVN-Actualizar-el-directorio"
22561 \begin_layout Subsubsection
22565 \begin_layout Standard
22566 Si tu documento no está bajo control de revisión este es el único ítem mostrado
22568 Y si está bajo control de revisión, el ítem
22575 \begin_layout Standard
22576 Este comando registra tu documento en SVN
22582 en el caso de que ya tengas el directorio de documentos bajo control SVN
22583 ( en particular, existe el archivo
22588 Esto significa que debes reservar el archivo por ti mismo.
22591 \begin_layout Standard
22592 Después se te pide interactivamente una descripción inicial del documento.
22593 No olvides que el archivo registrado todavía no es definitivo.
22596 \begin_layout Standard
22597 El comando SVN que es ejecutado:
22602 \begin_inset Quotes qld
22610 \begin_inset Quotes qld
22616 \begin_layout Standard
22621 para comprender las alternativas.
22624 \begin_layout Subsubsection
22628 \begin_layout Standard
22629 Cuando has terminado de editar un archivo, ingresas los cambios.
22630 Al hacerlo se te pide una descripción de los mismos.
22631 Después, los cambios son ingresados.
22634 \begin_layout Standard
22639 \begin_layout Plain Layout
22640 En el caso de que el bloqueo no esté habilitado.
22642 \begin_inset CommandInset ref
22644 reference "subsec:SVN-Bloqueo-de-archivos"
22655 svn commit -q -m"<description>" <file-name>
22658 \begin_layout Subsubsection
22659 Reservar para edición
22662 \begin_layout Standard
22663 Actualiza los cambios de este archivo desde el repositorio.
22664 Asegúrate de que comprendes la mezcla y la resolución de conflictos de
22665 SVN antes de usar esta función, porque ¡todos los conflictos debes resolverlos
22669 \begin_layout Standard
22674 \begin_layout Plain Layout
22685 \begin_inset Flex Code
22688 \begin_layout Plain Layout
22692 \begin_inset Quotes qld
22700 \begin_inset Quotes qld
22711 \begin_layout Subsubsection
22712 Volver a la versión del repositorio
22715 \begin_layout Standard
22716 Esto descartará todos los cambios hechos en el documento desde la última
22717 liberación de cambios.
22718 Recibes un mensaje de aviso antes de descartar los cambios.
22721 \begin_layout Standard
22727 \begin_inset Quotes qld
22735 \begin_inset Quotes qld
22741 \begin_layout Subsubsection
22745 \begin_layout Standard
22746 Creará una copia del documento actual incluyendo el historial de versiones.
22747 Requiere un documento limpio sin ningún cambio desde la última liberación.
22748 Pedirá un nombre de archivo y una descripción de la operación de copia.
22749 Después se crea la copia localmente y en el repositorio.
22750 Si los directorios padre de los documentos original y copiado difieren,
22751 se ajustan todas las rutas relativas de los archivos incluidos de la copia
22754 Archivo\SpecialChar menuseparator
22759 Por último, se carga la copia en vez del documento original
22762 \begin_layout Labeling
22763 \labelwidthstring 00.00.0000
22765 \begin_inset space ~
22769 \begin_inset space ~
22773 \begin_inset Newline newline
22777 \begin_inset Flex Code
22780 \begin_layout Plain Layout
22785 \begin_inset Quotes qld
22795 \begin_inset Quotes qld
22805 \begin_inset Quotes qld
22815 \begin_inset Quotes qld
22824 \begin_inset Newline newline
22828 \begin_inset Flex Code
22831 \begin_layout Plain Layout
22840 \begin_layout Subsubsection
22844 \begin_layout Standard
22845 Renombrará el documento actual incluyendo el historial de versiones.
22846 Requiere un documento limpio sin ningún cambio desde la última liberación.
22847 Pedirá un nombre de archivo y una descripción de la operación de renombrado.
22848 Después se renombra el documento localmente y en el repositorio.
22849 Si los directorios padre de los nombres de archivo nuevo y antiguo difieren,
22850 se ajustan todas las rutas relativas de los archivos incluidos (como en
22853 Archivo\SpecialChar menuseparator
22858 Por último, se recarga el documento con su nuevo nombre.
22861 \begin_layout Labeling
22862 \labelwidthstring 00.00.0000
22864 \begin_inset space ~
22868 \begin_inset space ~
22872 \begin_inset Newline newline
22876 \begin_inset Flex Code
22879 \begin_layout Plain Layout
22884 \begin_inset Quotes qld
22894 \begin_inset Quotes qld
22904 \begin_inset Quotes qld
22914 \begin_inset Quotes qld
22923 \begin_inset Newline newline
22927 \begin_inset Flex Code
22930 \begin_layout Plain Layout
22939 \begin_layout Subsubsection
22940 Actualizar la reserva del directorio local desde el repositio
22944 \begin_layout Plain Layout
22945 Ten en cuenta que este comando solo funcionará con
22946 \begin_inset Formula $\geqq1.5$
22955 \begin_inset CommandInset label
22957 name "subsec:SVN-Actualizar-el-directorio"
22964 \begin_layout Standard
22965 Todos los comandos anteriores tienen un defecto: solo negocian con el documento
22967 Una vez que el documento contiene figuras, archivos externos
22971 , etc., su administración se hace más complicada.
22972 Ahora \SpecialChar LyX
22973 soporta la actualización del árbol completo en el que reside el
22978 \begin_layout Plain Layout
22979 Hay que organizar la estructura de archivos de modo que todos los archivos
22980 externos estén en el mismo directorio o subdirectorios del documento.
22985 Esto es especialmente útil cuando colaboras con gente que ni tiene conocimiento
22986 detallado de CVS ni tiene interés en ingresar material adicional al repositorio.
22989 \begin_layout Standard
22991 \begin_inset Flex Code
22994 \begin_layout Plain Layout
22995 Actualizar directorio local desde el repositorio
23000 actualiza el directorio completo y en caso de conflictos con la mezcla
23001 se deja la versión local de los archivos, para que no haya pérdida indeseada
23003 Si se detectan cambios locales se avisa al usuario antes de iniciar la
23007 \begin_layout Labeling
23008 \labelwidthstring 00.00.0000
23010 \begin_inset space ~
23014 \begin_inset space ~
23018 \begin_inset Newline newline
23022 \begin_inset Flex Code
23025 \begin_layout Plain Layout
23031 (Para ver si se detectan cambios.)
23032 \begin_inset Newline newline
23036 \begin_inset Flex Code
23039 \begin_layout Plain Layout
23040 svn update --accept mine-full $path
23048 \begin_layout Standard
23053 es la ruta al documento.
23056 \begin_layout Subsubsection
23060 \begin_layout Standard
23061 Muestra el historial completo del documento SVN.
23063 \begin_inset Newline newline
23071 \begin_inset Quotes qld
23079 \begin_inset Quotes qld
23085 se muestra en un buscador.
23088 \begin_layout Subsubsection
23089 Bloqueo de archivos
23090 \begin_inset CommandInset label
23092 name "subsec:SVN-Bloqueo-de-archivos"
23099 \begin_layout Standard
23100 El intercambio de archivos entre varios sistemas de control de revisiones
23101 tiene el problema de conflictos en las fusiones en el caso de que dos usuarios
23102 intenten editar el mismo documento (o partes de él).
23103 Cuando sucede un conflicto requiere una solución manual, y una alternativa
23104 razonable es proveer algún tipo de mecanismo de bloqueo que garantice que
23105 solo un usuario pueda editar el archivo al mismo tiempo.
23108 \begin_layout Standard
23109 SVN dispone de dos de estos mecanismos que garantizan exclusividad recíproca
23110 en el acceso a archivos,
23114 bloqueos y configuración automática de permisos de escritura (véase la sec.
23115 \begin_inset space ~
23119 \begin_inset CommandInset ref
23121 reference "subsec:SVN-Bloqueo-automático"
23125 ), basados en la propiedad de los archivos svn
23126 \begin_inset Flex Code
23129 \begin_layout Plain Layout
23139 \begin_layout Plain Layout
23140 \begin_inset CommandInset href
23142 target "http://svnbook.red-bean.com/en/1.2/svn.advanced.locking.html"
23152 Si esta propiedad se detecta para determinado documento, \SpecialChar LyX
23153 empieza automáticamen
23154 te a usar bloqueo SVN para la edición del documento, y el mecanismo completo
23155 de liberación/reserva conmuta al mismo régimen que para RCS.
23156 En particular, esto quiere decir que hay dos modos diferentes de uso archivos
23157 en \SpecialChar LyX
23161 \begin_layout Itemize
23162 Estado no bloqueado.
23163 El archivo cargado está en modo solo lectura.
23164 Para editar hay que reservar.
23169 consiste en actualizar desde el repositorio y adquirir bloqueo de escritura.
23170 Si no es posible obtener el bloqueo permanece el estado no bloquedo.
23173 \begin_layout Itemize
23175 El archivo cargado está en modo
23176 \begin_inset Quotes cld
23180 \begin_inset Quotes crd
23184 Ningún otro usuario tiene permiso para editar el archivo.
23189 consiste en ingresar los cambios y liberar el bloqueo de escritura.
23190 Si no se han hecho cambios en el documento, no se producirá ningún ingreso
23194 \begin_layout Plain Layout
23195 No te extrañe si de todas formas se te pide un mensaje de ingreso.
23200 y solo se realizará el desbloqueo de escritura.
23203 \begin_layout Standard
23207 \begin_layout Labeling
23208 \labelwidthstring 00.00.0000
23211 svn commit -q -m"<description>" "<file-name>"
23212 \begin_inset Newline newline
23215 svn unlock "<file-name>"
23218 \begin_layout Labeling
23219 \labelwidthstring 00.00.0000
23221 \begin_inset Note Note
23224 \begin_layout Plain Layout
23225 traduccion http://forum.wordreference.com/showthread.php?t=689994
23232 svn update "<file-name>"
23233 \begin_inset Newline newline
23236 svn lock "<file-name>"
23239 \begin_layout Subsubsection
23240 Propiedad de bloqueo automático
23241 \begin_inset CommandInset label
23243 name "subsec:SVN-Bloqueo-automático"
23250 \begin_layout Standard
23251 La configuración automática de los permisos de escritura del archivo .lyx
23253 \begin_inset Flex Noun
23256 \begin_layout Plain Layout
23257 Archivo\SpecialChar menuseparator
23258 Control de versiones\SpecialChar menuseparator
23259 Use propiedad de bloqueo
23265 Este comando está activo solo cuando el archivo no está bloqueado en el
23266 servidor svn (es decir, debes reservar antes de proceder).
23269 \begin_layout Labeling
23270 \labelwidthstring 00.00.0000
23272 \begin_inset space ~
23278 \begin_layout Labeling
23279 \labelwidthstring 00.00.0000
23282 svn propset svn:needs-lock ON "<file-name>"
23285 \begin_layout Labeling
23286 \labelwidthstring 00.00.0000
23289 svn propdel svn:needs-lock "<file-name>"
23292 \begin_layout Subsubsection
23293 Información de revisión en documentos
23294 \begin_inset CommandInset label
23296 name "subsec:VCS-Información-de-revisión"
23303 \begin_layout Standard
23304 Hay más posibilidades para activar la información de revisión en nuestro
23308 \begin_layout Itemize
23310 lo soporta directamente.
23314 \begin_layout Itemize
23315 Información de revisión del árbol (
23316 \begin_inset Flex Code
23319 \begin_layout Plain Layout
23326 El resultado es la salida del comando
23327 \begin_inset Flex Code
23330 \begin_layout Plain Layout
23336 ; el siguiente cuadro da una idea de la interpretación de los resultados.
23339 \begin_layout Standard
23341 \begin_inset Tabular
23342 <lyxtabular version="3" rows="6" columns="2">
23343 <features tabularvalignment="middle">
23344 <column alignment="center" valignment="top">
23345 <column alignment="center" valignment="top">
23347 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23350 \begin_layout Plain Layout
23356 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23359 \begin_layout Plain Layout
23367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23370 \begin_layout Plain Layout
23376 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23379 \begin_layout Plain Layout
23380 revisión mezclada de la copia de trabajo
23387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23390 \begin_layout Plain Layout
23396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23399 \begin_layout Plain Layout
23400 copia de trabajo modificada
23407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23410 \begin_layout Plain Layout
23416 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23419 \begin_layout Plain Layout
23420 copia de trabajo conmutada
23427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23430 \begin_layout Plain Layout
23436 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23439 \begin_layout Plain Layout
23440 copia de trabajo parcial, de una reserva dispersa
23447 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23450 \begin_layout Plain Layout
23456 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23459 \begin_layout Plain Layout
23460 copia de trabajo de revisión mezclada, modificada, conmutada
23473 \begin_layout Itemize
23474 Información de revisión del archivo.
23475 El resultado del análisis de la salida de
23476 \begin_inset Flex Code
23479 \begin_layout Plain Layout
23481 \begin_inset space ~
23485 \begin_inset space ~
23489 \begin_inset space ~
23498 Los argumentos soportados son:
23502 \begin_layout Itemize
23503 número de versión del último ingreso (
23504 \begin_inset Flex Code
23507 \begin_layout Plain Layout
23516 \begin_layout Itemize
23517 autordel último ingreso (
23518 \begin_inset Flex Code
23521 \begin_layout Plain Layout
23530 \begin_layout Itemize
23531 fecha del último ingreso (
23532 \begin_inset Flex Code
23535 \begin_layout Plain Layout
23544 \begin_layout Itemize
23545 hora del último ingreso (
23546 \begin_inset Flex Code
23549 \begin_layout Plain Layout
23559 \begin_layout Standard
23560 Puedes obtener esta información mediante InsetInfo (p.
23561 \begin_inset space \thinspace{}
23566 \begin_inset Flex Code
23569 \begin_layout Plain Layout
23570 info-insert buffer vcs-date
23576 La información estará disponible solo cuando tengas el arvhivo almacenado
23577 bajo administración svn (es decir, el directorio
23578 \begin_inset Flex Code
23581 \begin_layout Plain Layout
23587 está disponible con tu documento).
23591 \begin_layout Itemize
23592 Otra posibilidad —de
23596 — es usar claves svn
23600 \begin_layout Plain Layout
23601 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html
23607 Estableces la propiedad de claves de archivo (p.
23608 \begin_inset space \thinspace{}
23614 svn propset svn:keywords 'Rev' file.lyx
23616 ) y luego pegas la clave en código \SpecialChar TeX
23621 \begin_layout Plain Layout
23622 Esta es una manera fácil de asegurar que \SpecialChar LyX
23623 no quiebre la línea en mitad de
23629 en tu documento (p.
23630 \begin_inset space \thinspace{}
23637 \begin_inset Flex Code
23640 \begin_layout Plain Layout
23651 De esta manera el cliente svn sustituirá automáticamente el número de revisión
23653 \begin_inset space \thinspace{}
23660 \begin_inset Flex Code
23663 \begin_layout Plain Layout
23673 ) tras cada actualización e ingreso.
23674 Hay otros problemas con este enfoque.
23675 Primero, el carácter '$' se usa en \SpecialChar TeX
23676 para expresiones matemáticas, de modo
23677 que cualquier aparición de una fórmula
23678 \begin_inset Formula $Rev$
23682 \begin_inset Formula $Rev:59$
23685 en tu documento \SpecialChar LyX
23687 Lo mismo sucederá con otras claves como Id, Date, Author, etc.
23688 Segundo, la salida svn es dependiente del idioma, por lo que es fácil que
23689 svn produzca alguna cadena problemática al usar Date.
23690 Tercero, se obtiene la cadena completa 'Rev: 59' en tu documento en vez
23692 Hasta que subversion implemente claves personalizadas por el usuario será
23693 pesado usar este enfoque con fiabilidad o permitir a \SpecialChar LyX
23694 soportarlo directamente.
23697 \begin_layout Subsection
23698 SVN y entorno Windows
23701 \begin_layout Quote
23702 Mi inclinación es decir que si el usuario no es capaz por sí mismo de entender
23703 las operaciones en línea de comandos, sería recomendable que usara TortoiseSVN.
23705 \begin_inset space \thinspace{}
23709 \begin_inset space \thinspace{}
23715 \begin_layout Subsubsection
23719 \begin_layout Standard
23720 Además de instalar \SpecialChar LyX
23721 y tener acceso al repositorio de Subversion, el usuario
23722 deberá instalar el programa cliente de Subversion.
23724 \begin_inset CommandInset href
23727 target "http://www.collab.net/nonav/downloads/subversion/"
23732 hay disponible un instalador para Windows.
23733 Además, al usuario le puede interesar instalar
23734 \begin_inset CommandInset href
23737 target "http://tortoisesvn.tigris.org/"
23742 , que integra las operaciones de Subversion en el menú contextual (clic
23743 derecho) del Explorador de Windows.
23744 Las operaciones hechas fuera de \SpecialChar LyX
23745 generalmente son más convenientes en el
23746 menú contextual del Explorador.
23747 Hay que tener en cuenta que TortoiseSVN no es un reemplazo del programa
23748 cliente, que es lo que usa el propio \SpecialChar LyX
23752 \begin_layout Subsubsection
23753 Poner un documento bajo control de Subversion
23756 \begin_layout Standard
23757 Antes de poner un documento \SpecialChar LyX
23758 bajo control de Subversion, su directorio padre
23759 debe estar bajo control de versiones.
23760 Si el documento se va a añadir a un proyecto ya en el repositorio, esto
23761 se lleva a cabo comprobando el directorio donde se incluirá el documento
23763 Si el proyecto mismo no está ya bajo control de versión (por ejemplo, si
23764 el documento inicia un proyecto nuevo), hay que importar el directorio
23766 Esto se hace fuera de \SpecialChar LyX
23768 Tanto la importación como la reserva se hacen fácilmente en el menú contextual
23769 del Explorador mediante TortoiseSVN, o bien usando un cliente de línea
23770 de comandos en DOS.
23771 El procedimiento para importar el proyecto con TortoiseSVN se describe
23772 abajo, suponiendo que hay un repositorio y un proyecto nuevo en
23779 Para información sobre el uso del programa cliente de Subversion, ejecuta
23785 \begin_inset Flex Code
23788 \begin_layout Plain Layout
23794 en línea de comandos de DOS.
23797 \begin_layout Enumerate
23804 en el Explorador de Windows, clic derecho y selecciona
23806 TortoiseSVN\SpecialChar menuseparator
23810 Si es preciso ajusta el URL para el repositorio, y pulsa OK.
23813 \begin_layout Enumerate
23814 Haz clic derecho en el nivel del repositorio bajo el que quieres situar
23815 la carpeta del nuevo proyecto (típicamente el nivel superior) y pulsa
23819 Da nombre a la carpeta y pulsa OK.
23820 Añade un mensaje para el registro, si quieres, y pulsa OK de nuevo.
23821 La carpeta del nuevo proyecto debería figurar en el repositorio.
23822 Por último, OK de nuevo para salir del navegador del repositorio.
23825 \begin_layout Enumerate
23826 Haz otra vez clic derecho en
23832 , esta vez seleccionando SVN Checkout Selecciona el URL de la carpeta que
23833 acabas de crear en el repositorio y ajusta el directorio a
23841 Serás avisado sobre una carpeta no vacía; OK para continuar.
23842 Ahora debería haber un directorio
23853 \begin_layout Enumerate
23854 Crea o abre tu documento en \SpecialChar LyX
23857 Archivo\SpecialChar menuseparator
23858 Control de versiones\SpecialChar menuseparator
23862 Añade un mensaje de registro y pulsa OK para someter el documento a control
23866 \begin_layout Standard
23867 De aquí en adelante deberías tener funcionalidad completa en el menú
23869 Archivo\SpecialChar menuseparator
23870 Control de versiones
23873 Además tienes la opción de comprobar el documento entrante y saliente,
23874 ver su historial, etc., usando el menú contextual TortoiseSVN en el Explorador
23875 o en la línea de comandos del programa cliente de Subversion.
23879 \begin_layout Subsubsection
23880 SSH tunnel con SVN bajo Windows
23883 \begin_layout Standard
23884 Comparado con la configuración del cliente svn en Linux para comunicar sobre
23885 ssh, bajo Windows es una tarea es bastante más molesta.
23886 Al menos ofreceremos algunas indicaciones para configurar el cliente, pero
23887 hay que aclarar antes algo sobre ssh y la línea de comandos en Windows
23888 y estar preparados para grandes dosis de frustración\SpecialChar ldots
23892 \begin_layout Enumerate
23893 Obtén un cliente svn para windows, como se describe en secciones anteriores.
23894 Si es una instalación nueva ejecuta algún comando para crear los archivos
23895 de configuración (p.
23896 \begin_inset space \thinspace{}
23901 \begin_inset Flex Code
23904 \begin_layout Plain Layout
23910 ), que deberás cambiar más tarde.
23913 \begin_layout Enumerate
23914 Elige un cliente ssh para Windows.
23915 Hay varias opciones, aquí usaremos el de Putty tools
23919 \begin_layout Plain Layout
23920 \begin_inset Flex URL
23923 \begin_layout Plain Layout
23925 http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
23936 Tendrás que configurar la conexión para que el cliente no pia contraseña.
23937 Para facilitar las cosas usaremos solo claves sin ninguna protección adicional
23938 de contraseña, etc.
23942 \begin_layout Enumerate
23943 Genera las claves con
23944 \begin_inset Flex Code
23947 \begin_layout Plain Layout
23954 Guarda tu clave privada .ppk y pon la pública en el servidor.
23955 Si el servidor SVN corre bajo Linux, ten en cuenta que el formato de la
23956 clave pública no es compatible con openssh Linux y tendrás que copiar y
23957 pegar directamente la clave desde el campo de edición “
23959 Public key for pasting into OpenSSH authorized_keys file
23961 :” en el archivo del servidor
23962 \begin_inset Flex Code
23965 \begin_layout Plain Layout
23966 ~/.ssh/authorized_keys
23972 \begin_inset Flex Code
23975 \begin_layout Plain Layout
23984 \begin_layout Enumerate
23986 \begin_inset Flex Code
23989 \begin_layout Plain Layout
23996 En el archivo de configuración SVN
24000 \begin_layout Plain Layout
24001 La ruta exacta depende de la versión de Windows, usualmente algo como
24002 \begin_inset Flex Code
24005 \begin_layout Plain Layout
24008 Documents and Settings
24022 \begin_inset Flex Code
24025 \begin_layout Plain Layout
24040 , sección [tunnels], configura el comando ssh, p.
24041 \begin_inset space \thinspace{}
24046 \begin_inset Flex Code
24049 \begin_layout Plain Layout
24050 ssh=c:/path/plink.exe -i c:/path/private_key.ppk
24059 \begin_layout Plain Layout
24060 Usualmente toma tiempo conseguir el comando exacto y depende de muchas cosas.
24061 Por ejemplo, no tener algún servidor remoto guardado como predeterminado
24063 Si falla, intenta primero conectar vía plink sin SVN.
24072 \begin_layout Enumerate
24073 Reserva el archivo SVN, p.
24074 \begin_inset space \thinspace{}
24078 \begin_inset Newline newline
24082 \begin_inset Flex Code
24085 \begin_layout Plain Layout
24086 svn co svn+ssh://user@server/repository_path
24094 \begin_layout Subsubsection
24095 Conversiones de los finales de línea
24098 \begin_layout Standard
24099 Cuando los colaboradores mezclan entornos Linux y Windows, \SpecialChar LyX
24101 finales de línea en los archivos .lyx.
24102 Esto no es un problema en lo que concierne a la funcionalidad de \SpecialChar LyX
24104 los archivos diff de los ingresos serán enormes y propensos a conflictos
24106 Afortunadamente SVN sabe por sí mismo
24110 \begin_layout Plain Layout
24111 \begin_inset Flex URL
24114 \begin_layout Plain Layout
24116 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html
24126 como manejar problemas con retornos y saltos de línea (CR/LF) cuando cambia
24127 archivos .lyx al modo
24128 \begin_inset Flex Code
24131 \begin_layout Plain Layout
24141 \begin_layout Plain Layout
24142 Para los perezosos:
24143 \begin_inset Flex Code
24146 \begin_layout Plain Layout
24147 svn propset svn:eol-style native FILE_NAME
24160 \begin_layout Subsection
24161 Comandos GIT en \SpecialChar LyX
24165 \begin_layout Standard
24167 soporta un conjunto mínimo de comandos GIT.
24168 Se encuentra en el submenú
24170 Archivo\SpecialChar menuseparator
24171 Control de versiones
24174 Hay que tener en cuenta que si se usa acceso con contraseña al repositorio
24175 vía ssh, ésta se pedirá en una ventana de terminal.
24177 se ha probado con GIT 1.7.
24181 \begin_layout Standard
24182 Una gran diferencia entre GIT y los demás sistemas de control de versiones
24183 soportados es la naturaleza distribuida de GIT: con los sistemas de control
24184 de versiones tradicionales hay un servidor central que aloja el repositorio.
24185 Los usuarios envían sus cambios al servidor y obtienen de él actualizaciones
24187 Con GIT, los usuarios remiten a un repositorio local, el cuál se puede
24188 sincronizar con uno o más repositorios remotos usando los comandos GIT
24190 \begin_inset Flex Code
24193 \begin_layout Plain Layout
24200 \begin_inset Flex Code
24203 \begin_layout Plain Layout
24211 no interactúa de ninguna forma con los repositorios GIT remotos.
24212 Trabaja exclusivamente con el repositorio local de manera similar a como
24213 con un repositorio CVS o SVN.
24214 Si usas repositorios GIT remotos debes hacer las operaciones
24215 \begin_inset Flex Code
24218 \begin_layout Plain Layout
24225 \begin_inset Flex Code
24228 \begin_layout Plain Layout
24234 con tu cliente GIT favorito.
24237 \begin_layout Subsubsection
24241 \begin_layout Standard
24242 Si el documento no está bajo control de versiones, éste es el único ítem
24243 mostrado en el menú.
24244 Si está bajo control de versiones
24251 \begin_layout Standard
24252 Este comando registra el documento en GIT sólo en el caso de que el directorio
24253 de los documentos esté ya bajo control de GIT (en particular, existe el
24259 Esto quiere decir que debes reservar
24260 \begin_inset Note Note
24263 \begin_layout Plain Layout
24269 el archivo por ti mismo.
24272 \begin_layout Standard
24273 Entonces se pedirá de forma interactiva una descripción inicial del documento.
24274 No olvides que el archivo registrado aún no ha sido ingresado.
24277 \begin_layout Standard
24278 El comando GIT que se ejecuta:
24281 \begin_inset Quotes eld
24287 \begin_layout Standard
24292 para entender los conmutadores.
24296 \begin_layout Subsubsection
24300 \begin_layout Standard
24301 Una vez editado un archivo hay que ingresar los cambios realizados en él.
24302 Al hacerlo se pedirá una descripción de los mismos y después se ingresan.
24305 \begin_layout Standard
24308 git commit -q -m"<description>" <file-name>
24311 \begin_layout Subsubsection
24312 Volver a la versión del repositorio
24315 \begin_layout Standard
24316 Descartará los cambios hechos en el documento desde la última liberación.
24317 Hay un aviso antes de descartar los cambios.
24320 \begin_layout Standard
24326 \begin_inset Quotes qld
24334 \begin_inset Quotes qld
24340 \begin_layout Subsubsection
24344 \begin_layout Standard
24345 Renombrará el documento actual incluyendo el historial de versiones.
24346 Requiere un documento limpio sin ningún cambio desde la última liberación.
24347 Pedirá un nombre de archivo y una descripción de la operación de renombrado.
24348 Después se renombra el documento localmente y en el repositorio.
24349 Si los directorios padre de los nombres de archivo nuevo y antiguo difieren,
24350 se ajustan todas las rutas relativas de los archivos incluidos (como en
24353 Archivo\SpecialChar menuseparator
24358 Por último, se recarga el documento con su nuevo nombre.
24361 \begin_layout Labeling
24362 \labelwidthstring 00.00.0000
24364 \begin_inset space ~
24368 \begin_inset space ~
24372 \begin_inset Newline newline
24376 \begin_inset Flex Code
24379 \begin_layout Plain Layout
24384 \begin_inset Quotes qld
24394 \begin_inset Quotes qld
24404 \begin_inset Quotes qld
24414 \begin_inset Quotes qld
24423 \begin_inset Newline newline
24427 \begin_inset Flex Code
24430 \begin_layout Plain Layout
24439 \begin_layout Subsubsection
24443 \begin_layout Standard
24444 Muestra el historial completo del documento GIT.
24450 \begin_inset Quotes qld
24458 \begin_inset Quotes qld
24464 se muestra en un buscador.
24467 \begin_layout Subsubsection
24468 Información de la versión
24471 \begin_layout Standard
24473 soporta número hash GIT del últim ingreso al archivo, autor, fecha y hora
24474 del último ingreso.
24475 Todos se obtienen de
24476 \begin_inset Flex Code
24479 \begin_layout Plain Layout
24480 git log -n 1 --pretty=format:%H%n%an%n%ai
24486 La información de l versión del árbol se obtiene vía
24487 \begin_inset Flex Code
24490 \begin_layout Plain Layout
24491 git describe --abbrev --dirty --long
24498 \begin_inset CommandInset ref
24500 reference "subsec:VCS-Información-de-revisión"
24504 para otros detalles.
24507 \begin_layout Subsection
24508 Ajustes adicionales
24511 \begin_layout Standard
24512 Con la reciente adición de la función
24516 , los usuarios que exprimen la potencia de \SpecialChar LyX
24517 pueden crear sus propios comandos
24518 para el control de revisiones.
24521 \begin_layout Standard
24522 Como ejemplo puedes ver cómo integrar directamente dos comandos TortoiseSVN:
24525 \begin_layout Description
24527 \begin_inset Flex Code
24530 \begin_layout Plain Layout
24531 vc-command DS "." "TortoiseProc /command:commit /path:$$p"
24539 \begin_layout Description
24541 \begin_inset Flex Code
24544 \begin_layout Plain Layout
24545 vc-command DR "." "TortoiseProc /command:revert /path:$$p"
24553 \begin_layout Subsection
24554 Control de versiones y comparación de documentos
24557 \begin_layout Standard
24558 Uno de los usos típicos del control de versiones es inspeccionar los cambios
24559 entre revisiones, usualmente creando volcados
24560 \begin_inset Flex Code
24563 \begin_layout Plain Layout
24570 Aunque esto es útil para archivos de texto sencillo, es mucho menos útil
24571 en archivos de \SpecialChar LyX
24572 , que tienen una estructura más complicada.
24573 Por tanto, proporcionamos caminos para la característica de comparar documentos.
24574 Hay dos maneras de iniciar esta función, una por llamada directa a
24580 (véase el manual Funciones de \SpecialChar LyX
24581 para detalles) y otra con el
24596 Se pueden comparar dos revisiones determinadas o se puede simplemente comparar
24597 la versión actual del texto editado con revisiones anteriores (donde '
24598 \begin_inset Flex Code
24601 \begin_layout Plain Layout
24607 ' revisiones atrás quiere decir comparar el archivo en edición con la última
24608 revisión remitida).
24612 \begin_layout Standard
24613 Esta característica está soportada por SVN y RCS, aunque debido al esquema
24614 de versiones más complicado de RCS hay una restricción, en la dirección
24615 de las revisiones en el diálogo, los números siempre apuntan al último
24616 número en el número de revisión de RCS, es decir, '35' en '1.2.35'.
24619 We don't currently support GIT addressing of revisions, one can just compare
24620 edited document with its revision X steps backs, where X is addressed as
24622 \begin_inset Flex Code
24625 \begin_layout Plain Layout
24636 \begin_layout Section
24637 Programación literaria
24640 \begin_layout Standard
24645 (kayvan@sylvan.com)
24649 documentación original de
24651 Edmar Wienskoski Jr.
24654 (edmar-w-jr@technologist.com)
24657 \begin_layout Subsection
24661 \begin_layout Standard
24662 El propósito principal de esta documentación es mostrar el uso de \SpecialChar LyX
24664 escribir programación literaria
24670 \begin_layout Plain Layout
24671 «Literate Programming», llamada también programación «ilustrada» o «letrada».
24675 \begin_inset space \thinspace{}
24686 Se supone que la técnica de la programación te resulta familiar y sabes
24687 lo que significan términos como
24688 \begin_inset Quotes cld
24692 \begin_inset Quotes crd
24696 \begin_inset Quotes cld
24700 \begin_inset Quotes crd
24707 \begin_layout Plain Layout
24708 Generación del código y de la documentación, respectivamente.
24712 \begin_inset space \thinspace{}
24723 Si no es así, acude a los enlaces web mencionados en las siguientes secciones.
24724 Hay mucha y buena documentación que abarca desde la historia de los inicios
24725 de la programación hasta las últimas herramientas y trucos.
24728 \begin_layout Standard
24729 También se supone que estás familiarizado con el uso de \SpecialChar LyX
24731 de conocer cómo cambiar las preferencias y el archivo de recursos X.
24732 Si no es así acude al resto de documentación de \SpecialChar LyX
24733 en función de tus necesidades.
24736 \begin_layout Subsection
24737 Programación literaria
24740 \begin_layout Standard
24741 Extraído de las PUF:
24744 \begin_layout Quotation
24745 En la programación literaria se combinan documentación y código fuente de
24746 manera legible para los seres humanos.
24747 ¡De hecho, la programación literaria debería ser de lectura agradable,
24748 incluso sugerente! (¡Lo siento Bob, no he podido resistirme\SpecialChar ldots
24750 en la escritura de los programas se combinan código y documentación en
24752 Las herramientas de programación literaria analizan después el archivo
24753 y pueden generar la documentación o el código fuente compilable por separado.
24754 El estilo WEB de programación fue creado por
24757 \begin_inset space \thinspace{}
24761 \begin_inset space \thinspace{}
24766 mientras desarrollaba su sistema de composición tipográfica \SpecialChar TeX
24770 \begin_layout Standard
24774 \begin_layout Quotation
24777 ¿En qué se diferencian la programación literaria y
24781 l comentario literal?
24784 \begin_layout Quotation
24785 Hay tres rasgos distintivos, que son, por orden de importancia:
24789 \begin_layout Itemize
24790 orden de elaboración flexible
24793 \begin_layout Itemize
24794 soporte automático de búsqueda
24797 \begin_layout Itemize
24798 documentación bien presentada, especialmente los diagramas y las matemáticas.
24803 \begin_layout Standard
24804 Y ahora que he despertado tu curiosidad, veamos las referencias.
24807 \begin_layout Subsubsection
24811 \begin_layout Standard
24812 Las FAQ completas de
24813 \begin_inset Quotes cld
24816 Literate Programming
24817 \begin_inset Quotes crd
24823 \begin_layout Quote
24824 Literate Programming FAQ:
24825 \begin_inset Flex URL
24828 \begin_layout Plain Layout
24830 http://www.xmarks.com/site/shelob.ce.ttu.edu/daves/lpfaq/faq.html
24838 \begin_layout Standard
24839 En las FAQ se describen 23 (¡23!) herramientas diferentes de programación
24841 Algunas son específicas de lenguajes de programación particulares, otras
24842 son de aplicación general.
24843 He seleccionado la herramienta
24847 para mi uso personal por varias razones:
24850 \begin_layout Itemize
24851 Puede generar la documentación en \SpecialChar LaTeX
24855 \begin_layout Itemize
24856 Es de estructura abierta, es decir, es sencillo introducir filtros nuevos
24862 \begin_layout Plain Layout
24868 are programs that read a given data stream and output a manipulated data
24870 That way, a WEB file (consisting of literate code) can be turned into a
24871 file consisting only of C program code or \SpecialChar LaTeX
24879 y hacer procesamientos especiales según las necesidades.
24883 \begin_layout Itemize
24884 Ya hay una buena selección de filtros disponible (uno de ellos es HTML).
24887 \begin_layout Itemize
24891 \begin_layout Standard
24892 La página web de Noweb es:
24895 \begin_layout Quote
24896 Página de inicio de Noweb
24897 \begin_inset Flex URL
24900 \begin_layout Plain Layout
24902 https://www.cs.tufts.edu/~nr/noweb/
24910 \begin_layout Standard
24911 Desde allí puedes acceder a muchos enlaces de interés y a ejemplos de programaci
24912 ón en formato literario.
24915 \begin_layout Subsection
24917 y la programación literaria con Noweb
24920 \begin_layout Standard
24922 soporta Programación Literaria mediante el mecanismo de gestión de convertidore
24924 Este soporte se proporciona
24925 \begin_inset Quotes cld
24928 independiente de Noweb
24929 \begin_inset Quotes crd
24932 , es decir, podrás usar esta nueva función de \SpecialChar LyX
24933 con algunas otras herramientas
24934 de programación literaria, cuya elección puedes hacer en las preferencias
24935 de \SpecialChar LyX
24939 \begin_layout Subsubsection
24940 Generación de documentos y de código («weaving and tangling»)
24943 \begin_layout Paragraph
24944 Usando el módulo noweb
24947 \begin_layout Standard
24948 Con \SpecialChar LyX
24949 y Noweb instalados, al abrir un documento nuevo y después de elegir
24950 la clase de documento selecciona el módulo
24951 \begin_inset Quotes cld
24955 \begin_inset Quotes crd
24960 Documento\SpecialChar menuseparator
24961 Configuración\SpecialChar menuseparator
24965 Si Noweb está instalado correctamente podrás pulsar
24969 para usarlo en tu documento.
24972 \begin_layout Paragraph
24976 \begin_layout Standard
24985 \begin_inset Flex Noun
24988 \begin_layout Plain Layout
24999 para escribir código.
25000 Noweb delimita trozos como éste:
25003 \begin_layout LyX-Code
25007 \begin_layout LyX-Code
25011 \begin_layout LyX-Code
25015 \begin_layout LyX-Code
25019 \begin_layout LyX-Code
25023 \begin_layout Standard
25024 El problema es que todo lo que se escriba entre <<
25025 \begin_inset space ~
25032 debe ser interpretado de forma literal, es decir, \SpecialChar LyX
25033 no debería hacer ninguna
25034 interpretación especial de lo que está ahí escrito.
25035 Esto es también manejado por el entorno
25036 \begin_inset Flex Noun
25039 \begin_layout Plain Layout
25045 , que funciona como un
25049 normal excepto que admite espacios con libertad.
25052 \begin_layout Standard
25053 He de apuntar que también puedes usar la estructura
25054 \begin_inset Quotes cld
25062 \begin_inset Quotes crd
25065 de Noweb en tus trozos de código para añadir identificadores de referencias
25069 \begin_layout LyX-Code
25073 \begin_layout LyX-Code
25074 def una_función(argumentos):
25077 \begin_layout LyX-Code
25078 "Esta es la documentación para esta función."
25081 \begin_layout LyX-Code
25082 print "Mis argumentos: ", argumentos
25085 \begin_layout LyX-Code
25089 \begin_layout Standard
25090 Para ver un ejemplo de esta construcción y la salida con la referencia cruzada
25091 generada, puedes ver la programación literaria en python contenida en el
25093 \begin_inset Newline newline
25101 /examples/listerrors.lyx
25106 que debería aclarar esto.
25109 \begin_layout Paragraph
25110 Generación del documento
25113 \begin_layout Standard
25114 Ahora ya tienes un nuevo documento con su clase adecuada y con algo de código
25116 ¿Cómo ver la salida impresa? La respuesta es simple, con
25118 Ver\SpecialChar menuseparator
25122 Igual que harías con cualquier otro documento.
25123 No hace falta ningún procedimiento especial.
25126 \begin_layout Standard
25127 Para aclarar las cosas explicaré lo que sucede en el interior de \SpecialChar LyX
25131 \begin_layout Enumerate
25132 Al escoger la opción
25134 Ver\SpecialChar menuseparator
25135 Actualizar\SpecialChar menuseparator
25138 , se genera un archivo \SpecialChar LaTeX
25144 \begin_layout Standard
25145 Si el documento es de cualquiera de las clases en formato
25146 \begin_inset Quotes cld
25150 \begin_inset Quotes crd
25153 , el archivo generado será nombrado con una extensión definida por el formato
25155 \begin_inset Quotes cld
25159 \begin_inset Quotes crd
25162 (definido en el panel de
25166 ), si no el archivo tendrá la extensión habitual
25174 \begin_layout Enumerate
25175 La única diferencia está en la extensión del archivo, no hace falta ninguna
25176 acción especial por parte de \SpecialChar LyX
25177 , puesto que has formateado el código con
25183 \begin_inset Flex Noun
25186 \begin_layout Plain Layout
25192 , que ya se cuida de ese aspecto.
25195 \begin_layout Enumerate
25196 Si el documento es de cualquier clase
25197 \begin_inset Quotes cld
25201 \begin_inset Quotes crd
25204 , un convertidor interno se encarga de convertir el archivo \SpecialChar LyX
25210 \begin_layout Plain Layout
25213 Herramientas\SpecialChar menuseparator
25225 convierte Noweb a \SpecialChar LaTeX
25226 para generar el archivo \SpecialChar LaTeX
25231 \begin_layout Standard
25232 Si no lo es, se salta este paso.
25236 \begin_layout Enumerate
25237 Finalmente, se ejecuta \SpecialChar LaTeX
25238 y continúa el proceso de la manera habitual.
25241 \begin_layout Standard
25242 La independencia de una particular herramienta de programación literaria
25243 se basa simplemente en el cambio de los comandos ejecutados por los distintos
25247 \begin_layout Paragraph
25248 Generación del código
25251 \begin_layout Standard
25252 Al escoger la opción de menú o al pulsar el botón adecuado de la barra de
25253 herramientas, se genera un archivo \SpecialChar LaTeX
25254 como se describe en el paso 1 anterior.
25255 A continuación, \SpecialChar LyX
25256 ejecuta el convertidor
25261 Habitualmente, este paso (igual que cualquier otro convertidor) se realiza
25265 \begin_layout Enumerate
25266 El programa convertidor propiamente dicho.
25267 Este programa realiza la conversión de un formato a otro (en este caso,
25279 \begin_layout Enumerate
25280 El analizador de registro de errores.
25281 Este es un programa cuyo único propósito es reescribir los mensajes de
25282 error en un formato comprensible para \SpecialChar LyX
25284 Esto permite la colocación de los cuadros de error de \SpecialChar LyX
25285 en los lugares correctos.
25288 \begin_layout Standard
25289 La primera parte, que se especifica en el campo
25296 \begin_layout LyX-Code
25304 \begin_layout Standard
25305 Esto significa que \SpecialChar LyX
25307 \begin_inset Quotes cld
25315 \begin_inset Quotes crd
25318 (un programa o una secuencia) con el nombre del archivo Noweb (
25322 , generalmente un archivo en el directorio temporal de \SpecialChar LyX
25327 \begin_layout Standard
25328 He aquí una implementación de
25332 que puedes colocar en un directorio accesible para tu línea de comandos:
25335 \begin_layout LyX-Code
25341 \begin_layout LyX-Code
25347 \begin_layout LyX-Code
25350 notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
25353 \begin_layout Standard
25354 La segunda parte de los ajustes del convertidor es el
25355 \begin_inset Quotes cld
25359 \begin_inset Quotes crd
25365 \begin_layout LyX-Code
25368 parselog=$$s/scripts/listerrors
25371 \begin_layout Standard
25372 Esto procesará cualquier error que se genere por el proceso
25373 \begin_inset Quotes cld
25381 \begin_inset Quotes crd
25384 a través del programa
25385 \begin_inset Quotes cld
25389 \begin_inset Quotes crd
25395 \begin_layout Standard
25396 Normalmente, la compilación tendrá lugar en el directorio temporal de \SpecialChar LyX
25398 por tanto los archivos generados por la conversión estarán en ese directorio.
25400 copiará lo que considera como el archivo "principal", pero la conversión
25404 puede generar varios arcivos, aunque la mayoría de ellos se borran al cerrar
25407 Por eso pasamos la variable de entorno NOWEB_OUTPUT_DIR, para que el gragmento
25408 build-script pueda situar los archivos generados en su sitio.
25411 \begin_layout Paragraph
25412 Instrucciones de compilación en el documento
25415 \begin_layout Standard
25416 La última parte de la integración entre \SpecialChar LyX
25417 y noweb es el trozo
25418 \begin_inset Quotes cld
25422 \begin_inset Quotes crd
25426 Generalmente, las instrucciones para compilar tu programa deberían incluirse
25427 en un trozo propio.
25432 específico de noweb visto antes usa el comando
25436 para buscar ese trozo (llamado
25437 \begin_inset Quotes cld
25441 \begin_inset Quotes crd
25444 ) y procesa su contenido a través de
25451 \begin_layout Standard
25452 Típicamente, un trozo
25453 \begin_inset Quotes cld
25457 \begin_inset Quotes crd
25460 se verá más o menos así:
25463 \begin_layout LyX-Code
25467 \begin_layout LyX-Code
25469 \begin_inset Newline newline
25472 if [ -z "${NOWEB_SOURCE}" ]
25473 \begin_inset Newline newline
25479 \begin_layout LyX-Code
25480 NOWEB_SOURCE=myfile.nw
25481 \begin_inset Newline newline
25485 \begin_inset Newline newline
25489 code to extract files ...
25490 use NOWEB_OUTPUT_DIR here ...]
25491 \begin_inset Newline newline
25495 code to compile files ...]
25496 \begin_inset Newline newline
25502 \begin_layout Standard
25508 /examples/listerrors.lyx
25515 /examples/Literate.lyx
25517 , que implementan dos versiones del programa
25521 , para ver algunos ejemplos de cómo ensamblar todo esto, o en
25526 /examples/noweb2lyx.lyx
25532 Es interesante ver cómo estos tres archivos muestran la independencia del
25533 lenguaje de programación literaria utilizado en \SpecialChar LyX
25534 , puesto que están escritos,
25535 respectivamente, en Python, C y Perl.
25538 \begin_layout Subsubsection
25539 Configurar \SpecialChar LyX
25543 \begin_layout Standard
25544 Todo el soporte de Programación Literaria se configura en el panel del menú
25547 Herramientas\SpecialChar menuseparator
25555 \begin_inset space ~
25563 \begin_inset space ~
25575 Las partes importantes son:
25578 \begin_layout Description
25580 \begin_inset space ~
25584 \begin_inset space ~
25588 \begin_inset Quotes cld
25592 \begin_inset Quotes crd
25598 \begin_inset space ~
25602 \begin_inset space ~
25607 se configuran las partes específicas de Noweb.
25611 \begin_inset space ~
25629 Esto prepara a \SpecialChar LyX
25630 para generar un archivo con extensión
25634 en el primer paso del proceso de conversión.
25637 \begin_layout Description
25639 \begin_inset space ~
25645 \begin_inset space ~
25650 a Este es un formato ficticio cuyo único propósito es ser el punto final
25651 de una conversión (que luego nos permite establecer un convertidor que
25659 \begin_layout Description
25669 Este convertidor realiza el
25670 \begin_inset Quotes cld
25674 \begin_inset Quotes crd
25677 (generación de la documentación) del documento literario.
25678 Para Noweb, hay que poner el
25683 \begin_inset Quotes cld
25688 noweave -delay -index $$i > $$o
25691 \begin_inset Quotes crd
25697 \begin_layout Description
25706 a Este realiza el paso
25707 \begin_inset Quotes cld
25711 \begin_inset Quotes crd
25714 (generación del código).
25715 Como se dijo antes, el
25720 \begin_inset Quotes cld
25728 \begin_inset Quotes crd
25737 \begin_inset space ~
25746 \begin_inset Quotes cld
25751 originaldir,parselog=listerrors
25754 \begin_inset Quotes crd
25760 \begin_layout Subsubsection
25761 Extensiones de depuración
25764 \begin_layout Standard
25765 En el servidor \SpecialChar LyX
25766 también se ha implementado una nueva función,
25767 \begin_inset Quotes cld
25770 server-goto-file-row
25771 \begin_inset Quotes crd
25774 , para ser utilizada con
25786 \begin_layout Standard
25787 Cuando se depura código con
25795 , es posible invocar un editor de texto en la posición actual de ejecución
25796 con una sencilla pulsación de teclado.
25797 La configuración por omisión de
25806 La línea de comando del editor utilizado por
25810 se puede definir accediendo al diálogo
25812 Editar\SpecialChar menuseparator
25813 Preferencias\SpecialChar menuseparator
25816 cambiando la entrada
25823 \begin_layout Standard
25824 He aprovechado las ventajas de la nueva función del servidor \SpecialChar LyX
25830 , poniendo lo siguiente en
25837 \begin_layout LyX-Code
25846 :monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
25849 \begin_layout Standard
25850 Con esto, cuando estás usando
25854 y encuentras una parte del programa que quieres editar, solo has de pulsar
25867 pasa esta información por medio del servidor \SpecialChar LyX
25869 , en cuya ventana se verá
25870 el mismo archivo con el cursor en la posición apuntada por
25875 ¡Se acabaron las adivinanzas y los tediosos deslizamientos de pantalla
25876 para localizar los fallos del programa!
25879 \begin_layout Standard
25880 Sin embargo, ten en cuenta que debes habilitar el servidor \SpecialChar LyX
25882 con él (por omisión está desactivado).
25886 \begin_layout Standard
25892 \begin_inset space ~
25896 \begin_inset CommandInset ref
25898 reference "sec:Iniciar-el-servidor"
25904 explains how to do that
25909 \begin_layout Subsubsection
25910 Ampliación de la barra de herramientas
25913 \begin_layout Standard
25914 Hay seis botones nuevos que pueden añadirse a la barra de herramientas de
25917 Four de ellos son atajos a los tipos de párrafo:
25932 y Código-\SpecialChar LyX
25937 one fpr the custom inset
25943 El otro es un atajo a la entrada
25944 \begin_inset Quotes cld
25952 \begin_inset Quotes crd
25963 \begin_layout Standard
25965 dispone de una colección de botones para personalizar la barra de herramientas.
25966 En mi barra de herramientas personal me gusta combinar los seis botones
25967 mencionados con otros dos para las entradas de menú
25971 \SpecialChar menuseparator
25976 \SpecialChar menuseparator
25983 Documento\SpecialChar menuseparator
25990 \begin_layout LyX-Code
25994 \begin_layout LyX-Code
25998 \begin_layout LyX-Code
25999 Icon "layout Standard"
26002 \begin_layout LyX-Code
26003 Icon "layout Section"
26006 \begin_layout LyX-Code
26007 Icon "layout \SpecialChar LaTeX
26011 \begin_layout LyX-Code
26012 Icon "layout \SpecialChar LyX
26016 \begin_layout LyX-Code
26024 \begin_layout LyX-Code
26028 \begin_layout LyX-Code
26032 \begin_layout LyX-Code
26033 Icon "buffer-typeset"
26036 \begin_layout LyX-Code
26037 Icon "build-program"
26040 \begin_layout LyX-Code
26044 \begin_layout LyX-Code
26048 \begin_layout LyX-Code
26052 \begin_layout LyX-Code
26056 \begin_layout LyX-Code
26060 \begin_layout Subsubsection
26061 Personalización de los colores
26064 \begin_layout Standard
26065 Cierto número de colores usados en \SpecialChar LyX
26066 se pueden personalizar en el diálogo
26072 Una de las cosas que más molesta a la gente es el color de la tipografía
26073 del código \SpecialChar LaTeX
26074 , que por omisión es rojo, y como el entorno
26077 \begin_inset Flex Noun
26080 \begin_layout Plain Layout
26091 utiliza código \SpecialChar LaTeX
26092 y hay mucho código en los documentos de programación literaria,
26093 puedes acabar harto de ver tanto rojo.
26094 Así pues, puedes cambiarlo si quieres en
26098 \SpecialChar menuseparator
26104 \begin_layout Standard
26105 El siguiente asunto es la presencia visible del carácter salto de línea
26107 Puedes elegir el color de este carácter en particular para confundirlo
26109 Recomiendo escoger un color parecido al del fondo pero no idéntico, de
26110 esta forma lo seguirás viendo pero sin molestar tanto.
26113 \begin_layout Subsection
26118 \begin_layout Standard
26127 está documentado en el archivo de ejemplo
26131 y en el manual de Sweave (menú
26133 Ayuda\SpecialChar menuseparator
26134 Manuales específicos
26139 \begin_layout Chapter
26140 Características especiales
26143 \begin_layout Standard
26144 Con \SpecialChar LyX
26145 se puede hacer todo lo que se puede hacer con \SpecialChar LaTeX
26147 Aunque \SpecialChar LyX
26148 no puede soportar directamente todas las características de \SpecialChar LaTeX
26150 es posible usar código \SpecialChar LaTeX
26152 Este capítulo trata de algunas cosas especiales que podrían interesarte.
26153 Las características especiales relacionadas con figuras, cuadros, flotantes,
26154 marcos y notas, se pueden consultar en el manual
26162 \begin_layout Section
26166 \begin_layout Standard
26167 Esta característica es independiente de la opción
26169 Documento con dos columnas
26175 de la configuración del documento.
26176 Para tener dos columnas de texto en todo el documento se recomienda usar
26178 Para el resto de casos se usa la característica aquí descrita.
26181 \begin_layout Standard
26182 Para poner texto en varias columnas, hay que cargar el módulo
26188 Documento\SpecialChar menuseparator
26189 Configuración\SpecialChar menuseparator
26192 ), y debe estar instalado el paquete \SpecialChar LaTeX
26198 \begin_inset Index idx
26201 \begin_layout Plain Layout
26203 -paquetes ! multicol
26211 \begin_layout Standard
26212 Las notas al pie en las columnas se colocarán al final de la página y no
26214 En las distintas columnas se puede usar todo, excepto que para flotantes
26215 hay que usar la opción
26222 \begin_layout Subsection
26226 \begin_layout Standard
26227 Para poner un texto en dos columnas, usa el menú
26229 Insertar\SpecialChar menuseparator
26231 \begin_inset space ~
26234 personalizado\SpecialChar menuseparator
26237 en el punto en que deben iniciarse las columnas.
26238 Escribe en el recuadro todo el texto que debe ir en dos columnas.
26241 \begin_layout Standard
26245 \begin_layout Standard
26249 \begin_inset Flex Multiple Columns
26252 \begin_layout Plain Layout
26258 The Adventure of the Empty House
26261 \begin_inset Newline newline
26264 by Sir Arthur Conan Doyle
26267 \begin_layout Plain Layout
26271 It was in the spring of the year 1894 that all London was interested, and
26272 the fashionable world dismayed, by the murder of the Honourable Ronald
26273 Adair under most unusual and inexplicable circumstances.
26274 The public has already learned those particulars of the crime which came
26275 out in the police investigation, but a good deal was suppressed upon that
26276 occasion, since the case for the prosecution was so overwhelmingly strong
26277 that it was not necessary to bring forward all the facts.
26278 Only now, at the end of nearly ten years, am I allowed to supply those
26279 missing links which make up the whole of that remarkable chain.
26280 The crime was of interest in itself, but that interest was as nothing to
26281 me compared to the inconceivable sequel, which afforded me the greatest
26282 shock and surprise of any event in my adventurous life.
26283 Even now, after this long interval, I find myself thrilling as I think
26284 of it, and feeling once more that sudden flood of joy, amazement, and increduli
26285 ty which utterly submerged my mind.
26286 Let me say to that public, which has shown some interest in those glimpses
26287 which I have occasionally given them of the thoughts and actions of a very
26288 remarkable man, that they are not to blame me if I have not shared my knowledge
26289 with them, for I should have considered it my first duty to do so, had
26290 I not been barred by a positive prohibition from his own lips, which was
26291 only withdrawn upon the third of last month.
26299 \begin_layout Standard
26300 Para poner tres o más columnas coloca el cursor dentro del recuadro, usa
26303 Insertar\SpecialChar menuseparator
26306 y escribe el número de columnas, por ejemplo "3".
26307 \begin_inset Newline newline
26310 Un ejemplo de texto en tres columnas:
26313 \begin_layout Standard
26316 \begin_inset Flex Multiple Columns
26319 \begin_layout Plain Layout
26323 \begin_inset Argument 1
26326 \begin_layout Plain Layout
26333 It can be imagined that my close intimacy with Sherlock Holmes had interested
26334 me deeply in crime, and that after his disappearance I never failed to
26335 read with care the various problems which came before the public.
26336 And I even attempted, more than once, for my own private satisfaction,
26337 to employ his methods in their solution, though with indifferent success.
26338 There was none, however, which appealed to me like this tragedy of Ronald
26340 As I read the evidence at the inquest, which led up to a verdict of willful
26341 murder against some person or persons unknown, I realized more clearly
26342 than I had ever done the loss which the community had sustained by the
26343 death of Sherlock Holmes.
26344 There were points about this strange business which would, I was sure,
26345 have specially appealed to him, and the efforts of the police would have
26346 been supplemented, or more probably anticipated, by the trained observation
26347 and the alert mind of the first criminal agent in Europe.
26348 All day, as I drove upon my round, I turned over the case in my mind and
26349 found no explanation which appeared to me to be adequate.
26350 At the risk of telling a twice-told tale, I will recapitulate the facts
26351 as they were known to the public at the conclusion of the inquest.
26359 \begin_layout Standard
26360 Se puede llegar hasta 10
26361 \begin_inset space ~
26364 columnas, aunque seguramente no será muy cómodo para los lectores.
26367 \begin_layout Standard
26370 \begin_inset Newpage newpage
26376 \begin_layout Subsection
26377 Columnas dentro de otras columnas
26380 \begin_layout Standard
26381 Es posible poner columnas dentro de otras:
26384 \begin_layout Standard
26387 \begin_inset Flex Multiple Columns
26390 \begin_layout Plain Layout
26394 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
26395 at that time governor of one of the Australian colonies.
26396 Adair's mother had returned from Australia to undergo the operation for
26397 cataract, and she, her son Ronald, and her daughter Hilda were living together
26401 \begin_layout Plain Layout
26404 \begin_inset Flex Multiple Columns
26407 \begin_layout Plain Layout
26411 The youth moved in the best society
26412 \begin_inset space ~
26415 – had, so far as was known, no enemies and no particular vices.
26416 He had been engaged to Miss Edith Woodley, of Carstairs, but the engagement
26417 had been broken off by mutual consent some months before, and there was
26418 no sign that it had left any very profound feeling behind it.
26419 For the rest {sic} the man's life moved in a narrow and conventional circle,
26420 for his habits were quiet and his nature unemotional.
26421 Yet it was upon this easy-going young aristocrat that death came, in most
26422 strange and unexpected form, between the hours of ten and eleven-twenty
26423 on the night of March 30, 1894.
26431 \begin_layout Plain Layout
26435 Ronald Adair was fond of cards
26436 \begin_inset space ~
26439 – playing continually, but never for such stakes as would hurt him.
26440 He was a member of the Baldwin, the Cavendish, and the Bagatelle card clubs.
26441 It was shown that, after dinner on the day of his death, he had played
26442 a rubber of whist at the latter club.
26443 He had also played there in the afternoon.
26448 The evidence of those who had played with him
26449 \begin_inset space ~
26453 Murray, Sir John Hardy, and Colonel Moran
26454 \begin_inset space ~
26457 – showed that the game was whist, and that there was a fairly equal fall
26459 Adair might have lost five pounds, but not more.
26460 His fortune was a considerable one, and such a loss could not in any way
26462 He had played nearly every day at one club or other, but he was a cautious
26463 player, and usually rose a winner.
26464 It came out in evidence that, in partnership with Colonel Moran, he had
26465 actually won as much as four hundred and twenty pounds in a sitting, some
26466 weeks before, from Godfrey Milner and Lord Balmoral.
26467 So much for his recent history as it came out at the inquest.
26475 \begin_layout Subsection
26479 \begin_layout Standard
26480 Los ejemplos de esta sección muestran algunas características más avanzadas
26484 \begin_layout Standard
26485 Para ver más opciones de columnas echa un vistazo a la documentación del
26486 paquete \SpecialChar LaTeX
26492 \begin_inset Index idx
26495 \begin_layout Plain Layout
26497 -paquetes ! multicol
26503 \begin_inset CommandInset citation
26513 \begin_layout Subsubsection
26517 \begin_layout Standard
26518 Para añadir un prefacio a las columnas coloca el cursor dentro del recuadro
26519 del texto en columnas y usa el menú
26521 Insertar\SpecialChar menuseparator
26525 Escribe en el marco que aparece el texto del prefacio.
26526 \begin_inset Newline newline
26529 Ejemplo con un texto de prefacio:
26530 \begin_inset VSpace bigskip
26536 \begin_layout Standard
26539 \begin_inset Flex Multiple Columns
26542 \begin_layout Plain Layout
26543 \begin_inset Argument 2
26546 \begin_layout Plain Layout
26547 Y la historia continúa\SpecialChar ldots
26556 On the evening of the crime, he returned from the club exactly at ten.
26557 His mother and sister were out spending the evening with a relation.
26558 The servant deposed that she heard him enter the front room on the second
26559 floor, generally used as his sitting-room.
26560 She had lit a fire there, and as it smoked she had opened the window.
26561 No sound was heard from the room until eleven-twenty, the hour of the return
26562 of Lady Maynooth and her daughter.
26563 Desiring to say good-night, she attempted to enter her son's room.
26564 The door was locked on the inside, and no answer could be got to their
26565 cries and knocking.
26566 Help was obtained, and the door forced.
26567 The unfortunate young man was found lying near the table.
26568 His head had been horribly mutilated by an expanding revolver bullet, but
26569 no weapon of any sort was to be found in the room.
26577 \begin_layout Standard
26578 También se puede usar un encabezado de sección como prefacio, poniendo un
26579 comando de sección en código \SpecialChar TeX
26581 Por ejemplo, el comando
26584 \begin_layout Standard
26589 subsection{título de la subsección}
26592 \begin_layout Standard
26593 crea una subsección.
26594 En el siguiente ejemplo el título de la subsubsección hace de prefacio:
26597 \begin_layout Standard
26600 \begin_inset Flex Multiple Columns
26603 \begin_layout Plain Layout
26604 \begin_inset Argument 2
26607 \begin_layout Plain Layout
26611 \begin_layout Plain Layout
26620 Un encabezado de subsubsección como prefacio
26624 \begin_layout Plain Layout
26639 A minute examination of the circumstances served only to make the case more
26641 In the first place, no reason could be given why the young man should have
26642 fastened the door upon the inside.
26643 There was the possibility that the murderer had done this, and had afterwards
26644 escaped by the window.
26645 The drop was at least twenty feet, however, and a bed of crocuses in full
26647 Neither the flowers nor the earth showed any sign of having been disturbed,
26648 nor were there any marks upon the narrow strip of grass which separated
26649 the house from the road.
26650 Apparently, therefore, it was the young man himself who had fastened the
26652 But how did he come by his death? No one could have climbed up to the window
26653 without leaving traces.
26654 Suppose a man had fired through the window, he would indeed be a remarkable
26655 shot who could with a revolver inflict so deadly a wound.
26656 Again, Park Lane is a frequented thoroughfare; there is a cab stand within
26657 a hundred yards of the house.
26658 No one had heard a shot.
26666 \begin_layout Standard
26667 Si al comenzar las columnas queda menos espacio vertical en la página que
26668 el correspondiente a 6 líneas de texto, se insertará un salto de página.
26669 Dependiendo del número de líneas del texto del prefacio, es posible cambiar
26671 Para ello se coloca el cursor detrás del prefacio (si lo hay), se usa el
26674 Insertar\SpecialChar menuseparator
26676 \begin_inset space ~
26680 \begin_inset space ~
26684 \begin_inset space ~
26688 \begin_inset space ~
26693 y se escribe en el marco el espacio deseado, por ej.
26695 \begin_inset Newline newline
26698 En el siguiente ejemplo, el espacio establecido es de 7 líneas de texto
26700 \begin_inset Quotes cld
26710 \begin_inset Quotes crd
26719 en código \SpecialChar TeX
26723 \begin_layout Standard
26726 \begin_inset Flex Multiple Columns
26729 \begin_layout Plain Layout
26730 \begin_inset Argument 3
26733 \begin_layout Plain Layout
26738 \begin_layout Plain Layout
26755 On the evening of the crime, he returned from the club exactly at ten.
26756 His mother and sister were out spending the evening with a relation.
26757 The servant deposed that she heard him enter the front room on the second
26758 floor, generally used as his sitting-room.
26759 She had lit a fire there, and as it smoked she had opened the window.
26760 No sound was heard from the room until eleven-twenty, the hour of the return
26761 of Lady Maynooth and her daughter.
26762 Desiring to say good-night, she attempted to enter her son's room.
26763 The door was locked on the inside, and no answer could be got to their
26764 cries and knocking.
26765 Help was obtained, and the door forced.
26766 The unfortunate young man was found lying near the table.
26767 His head had been horribly mutilated by an expanding revolver bullet, but
26768 no weapon of any sort was to be found in the room.
26776 \begin_layout Subsubsection
26777 Espacio circundante
26780 \begin_layout Standard
26781 El espacio delante y detrás de las columnas se puede cambiar con el comando
26792 \begin_layout LyX-Code
26802 \begin_layout Standard
26803 en código \SpecialChar TeX
26804 establece un espacio de 3
26805 \begin_inset space \thinspace{}
26809 El cambio debe hacerse antes del inicio de las columnas.
26810 El valor por omisión es de 13
26811 \begin_inset space \thinspace{}
26817 \begin_layout Standard
26824 se ha establecido en 2.5
26825 \begin_inset space \thinspace{}
26831 \begin_layout Standard
26835 \begin_layout Plain Layout
26841 multicolsep}{2.5cm}
26849 \begin_layout Standard
26852 \begin_inset Flex Multiple Columns
26855 \begin_layout Plain Layout
26859 All day I turned these facts over in my mind, endeavouring to hit upon some
26860 theory which could reconcile them all, and to find that line of least resistanc
26861 e which my poor friend had declared to be the starting-point of every investigat
26863 I confess that I made little progress.
26864 In the evening I strolled across the Park, and found myself about six o'clock
26865 at the Oxford Street end of Park Lane.
26866 A group of loafers upon the pavements, all staring up at a particular window,
26867 directed me to the house which I had come to see.
26868 A tall, thin man with coloured glasses, whom I strongly suspected of being
26869 a plain-clothes detective, was pointing out some theory of his own, while
26870 the others crowded round to listen to what he said.
26871 I got as near him as I could, but his observations seemed to me to be absurd,
26872 so I withdrew again in some disgust.
26873 As I did so I struck against an elderly, deformed man, who had been behind
26874 me, and I knocked down several books which he was carrying.
26882 \begin_layout Standard
26883 \begin_inset Note Greyedout
26886 \begin_layout Plain Layout
26897 serán válidos para todas las columnas siguientes hasta que se cambie de
26906 \begin_layout Standard
26910 \begin_layout Plain Layout
26922 \begin_inset Note Note
26925 \begin_layout Plain Layout
26926 vuelta al valor predefinido
26934 \begin_layout Standard
26937 \begin_inset Newpage newpage
26943 \begin_layout Subsubsection
26947 \begin_layout Standard
26948 Se puede forzar un salto de columna insertando el comando
26957 en código \SpecialChar TeX
26958 en la posición del texto en la que se desee quebrar la columna.
26959 A tener en cuenta que, en la mayoría de los casos, esto genera espacios
26961 \begin_inset Newline newline
26967 \begin_layout Standard
26970 \begin_inset Flex Multiple Columns
26973 \begin_layout Plain Layout
26977 \begin_inset Quotes eld
26980 You're surprised to see me, sir,
26981 \begin_inset Quotes erd
26984 said he, in a strange, croaking voice.
26987 \begin_layout Plain Layout
26991 I acknowledged that I was.
26994 \begin_layout Plain Layout
26998 \begin_inset Quotes eld
27001 Well, I've a conscience, sir, and when I chanced to see you go into this
27002 house, as I came hobbling after you, I thought to myself, I'll just step
27003 in and see that kind gentleman, and tell him that if I was a bit gruff
27004 in my manner there was not any harm meant, and that I am much obliged to
27005 him for picking up my books.
27006 \begin_inset Quotes erd
27012 \begin_layout Plain Layout
27016 \begin_inset Quotes eld
27019 You make too much of a trifle,
27020 \begin_inset Quotes erd
27025 \begin_inset Quotes eld
27028 May I ask how you knew who I was?
27029 \begin_inset Quotes erd
27034 TRAS ESTA FRASE SE FUERZA UN SALTO DE COLUMNA.
27038 \begin_layout Plain Layout
27050 \begin_layout Plain Layout
27054 \begin_inset Quotes eld
27057 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
27058 you'll find my little bookshop at the corner of Church Street, and very
27059 happy to see you, I am sure.
27060 Maybe you collect yourself, sir.
27064 \begin_inset space ~
27078 \begin_inset space ~
27081 – a bargain, every one of them.
27082 With five volumes you could just fill that gap on that second shelf.
27083 It looks untidy, does it not, sir?
27084 \begin_inset Quotes erd
27095 \begin_layout Subsubsection
27096 Separación de columnas
27099 \begin_layout Standard
27100 La anchura de las columnas se calcula automáticamente, pero la separación
27101 entre ellas se puede modificar mediante el comando
27108 El valor predeterminado es 10
27109 \begin_inset space \thinspace{}
27113 A continuación hay un ejemplo en el que la longitud de
27119 se ha establecido en 3
27120 \begin_inset space \thinspace{}
27126 \begin_layout Standard
27130 \begin_layout Plain Layout
27144 \begin_layout Standard
27147 \begin_inset Flex Multiple Columns
27150 \begin_layout Plain Layout
27154 My observations of No.
27155 \begin_inset space \space{}
27158 427 Park Lane did little to clear up the problem in which I was interested.
27159 The house was separated from the street by a low wall and railing, the
27160 whole not more than five feet high.
27161 It was perfectly easy, therefore, for anyone to get into the garden, but
27162 the window was entirely inaccessible, since there was no water pipe or
27163 anything which could help the most active man to climb it.
27164 More puzzled than ever, I retraced my steps to Kensington.
27165 I had not been in my study five minutes when the maid entered to say that
27166 a person desired to see me.
27167 To my astonishment it was none other than my strange old book collector,
27168 his sharp, wizened face peering out from a frame of white hair, and his
27169 precious volumes, a dozen of them at least, wedged under his right arm.
27177 \begin_layout Standard
27181 \begin_layout Plain Layout
27193 \begin_inset Note Note
27196 \begin_layout Plain Layout
27197 vuelta al valor predefinido
27205 \begin_layout Subsubsection
27209 \begin_layout Standard
27210 Entre las columnas se dibuja una línea cuya anchura viene dada por
27217 La anchura por omisión es de 0
27218 \begin_inset space \thinspace{}
27221 pt, no se dibuja ninguna línea.
27222 En el siguiente ejemplo la anchura de línea es 2
27223 \begin_inset space \thinspace{}
27229 \begin_layout Standard
27233 \begin_layout Plain Layout
27239 columnseprule}{2pt}
27247 \begin_layout Standard
27250 \begin_inset Flex Multiple Columns
27253 \begin_layout Plain Layout
27257 \begin_inset Quotes eld
27260 You're surprised to see me, sir,
27261 \begin_inset Quotes erd
27264 said he, in a strange, croaking voice.
27267 \begin_layout Plain Layout
27271 I acknowledged that I was.
27274 \begin_layout Plain Layout
27278 \begin_inset Quotes eld
27281 Well, I've a conscience, sir, and when I chanced to see you go into this
27282 house, as I came hobbling after you, I thought to myself, I'll just step
27283 in and see that kind gentleman, and tell him that if I was a bit gruff
27284 in my manner there was not any harm meant, and that I am much obliged to
27285 him for picking up my books.
27286 \begin_inset Quotes erd
27292 \begin_layout Plain Layout
27296 \begin_inset Quotes eld
27299 You make too much of a trifle,
27300 \begin_inset Quotes erd
27305 \begin_inset Quotes eld
27308 May I ask how you knew who I was?
27309 \begin_inset Quotes erd
27315 \begin_layout Plain Layout
27319 \begin_inset Quotes eld
27322 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
27323 you'll find my little bookshop at the corner of Church Street, and very
27324 happy to see you, I am sure.
27325 Maybe you collect yourself, sir.
27329 \begin_inset space ~
27343 \begin_inset space ~
27346 – a bargain, every one of them.
27347 With five volumes you could just fill that gap on that second shelf.
27348 It looks untidy, does it not, sir?
27349 \begin_inset Quotes erd
27360 \begin_layout Standard
27361 \begin_inset VSpace defskip
27367 \begin_layout Standard
27368 La raya se puede colorear redefiniendo el comando
27378 Esto se consigue insertando el comando
27381 \begin_layout LyX-Code
27388 columnseprulecolor}{
27393 \begin_layout LyX-Code
27394 en código \SpecialChar TeX
27395 delante del recuadro columnas.
27396 Se puede poner el color deseado en lugar de red (rojo).
27397 Se puede usar cualquier color predefinido o personalizado.
27410 para más información sobre colores.
27411 Para volver al color por omisión inserta el comando
27414 \begin_layout LyX-Code
27419 columnseprulecolor}{
27424 \begin_layout LyX-Code
27425 Aquí hay un ejemplo con una línea en color cian y 1
27426 \begin_inset space \thinspace{}
27429 cm de separación entre columnas:
27432 \begin_layout Standard
27436 \begin_layout Plain Layout
27445 \begin_layout Plain Layout
27451 columnseprulecolor}{
27461 \begin_layout Standard
27464 \begin_inset Flex Multiple Columns
27467 \begin_layout Plain Layout
27471 \begin_inset Quotes eld
27474 You're surprised to see me, sir,
27475 \begin_inset Quotes erd
27478 said he, in a strange, croaking voice.
27481 \begin_layout Plain Layout
27485 I acknowledged that I was.
27488 \begin_layout Plain Layout
27492 \begin_inset Quotes eld
27495 Well, I've a conscience, sir, and when I chanced to see you go into this
27496 house, as I came hobbling after you, I thought to myself, I'll just step
27497 in and see that kind gentleman, and tell him that if I was a bit gruff
27498 in my manner there was not any harm meant, and that I am much obliged to
27499 him for picking up my books.
27500 \begin_inset Quotes erd
27506 \begin_layout Plain Layout
27510 \begin_inset Quotes eld
27513 You make too much of a trifle,
27514 \begin_inset Quotes erd
27519 \begin_inset Quotes eld
27522 May I ask how you knew who I was?
27523 \begin_inset Quotes erd
27529 \begin_layout Plain Layout
27533 \begin_inset Quotes eld
27536 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
27537 you'll find my little bookshop at the corner of Church Street, and very
27538 happy to see you, I am sure.
27539 Maybe you collect yourself, sir.
27543 \begin_inset space ~
27557 \begin_inset space ~
27560 – a bargain, every one of them.
27561 With five volumes you could just fill that gap on that second shelf.
27562 It looks untidy, does it not, sir?
27563 \begin_inset Quotes erd
27574 \begin_layout Standard
27578 \begin_layout Plain Layout
27584 columnseprule}{0pt}
27587 \begin_layout Plain Layout
27593 columnseprulecolor}{
27601 \begin_inset Note Note
27604 \begin_layout Plain Layout
27605 retornar a los valores por omisión.
27613 \begin_layout Standard
27614 \begin_inset Newpage newpage
27620 \begin_layout Section
27621 Párrafos con formas diversas
27624 \begin_layout Standard
27626 y cualquier procesador de texto usan por omisión párrafos rectangulares.
27627 Para casos especiales como posters, tarjetas o poemas, es posible modifcar
27628 la forma del párrafo.
27629 Esto se puede conseguir mediante el paquete \SpecialChar LaTeX
27634 , que se carga con el módulo
27636 Párrafos conformados
27640 Documento\SpecialChar menuseparator
27641 Configuración\SpecialChar menuseparator
27647 \begin_layout Subsection
27648 Formas predefinidas
27651 \begin_layout Standard
27656 proporciona las siguientes formas:
27659 \begin_layout Standard
27660 \begin_inset Tabular
27661 <lyxtabular version="3" rows="13" columns="3">
27662 <features booktabs="true" islongtable="true" longtabularalignment="center">
27663 <column alignment="center" valignment="middle" width="16col%">
27664 <column alignment="center" valignment="middle" width="40col%">
27665 <column alignment="center" valignment="middle" width="35col%">
27666 <row endhead="true">
27667 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27670 \begin_layout Plain Layout
27676 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27679 \begin_layout Plain Layout
27685 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27688 \begin_layout Plain Layout
27696 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27699 \begin_layout Plain Layout
27705 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27708 \begin_layout Plain Layout
27709 Círculo con orificio central (tamaño de CD/DVD)
27714 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27717 \begin_layout Plain Layout
27718 No se puede cambiar el tamaño; no debe contener demasiado texto
27725 <cell alignment="center" valignment="top" topline="true" usebox="none">
27728 \begin_layout Plain Layout
27734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27737 \begin_layout Plain Layout
27743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27746 \begin_layout Plain Layout
27747 Frágil, los cálculos
27750 \begin_layout Plain Layout
27758 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27761 \begin_layout Plain Layout
27767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27770 \begin_layout Plain Layout
27771 Romboide (simbolizando
27774 \begin_layout Plain Layout
27776 \begin_inset Quotes cld
27780 \begin_inset Quotes crd
27788 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27791 \begin_layout Plain Layout
27799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27802 \begin_layout Plain Layout
27808 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27811 \begin_layout Plain Layout
27817 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27820 \begin_layout Plain Layout
27828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27831 \begin_layout Plain Layout
27837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27840 \begin_layout Plain Layout
27846 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27849 \begin_layout Plain Layout
27857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27860 \begin_layout Plain Layout
27866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27869 \begin_layout Plain Layout
27873 \begin_layout Plain Layout
27874 (hexágono con orificio circular)
27879 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27882 \begin_layout Plain Layout
27890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27893 \begin_layout Plain Layout
27899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27902 \begin_layout Plain Layout
27908 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27911 \begin_layout Plain Layout
27919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27922 \begin_layout Plain Layout
27928 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27931 \begin_layout Plain Layout
27932 Estrella de 5 puntas
27937 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27940 \begin_layout Plain Layout
27948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27951 \begin_layout Plain Layout
27957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27960 \begin_layout Plain Layout
27966 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27969 \begin_layout Plain Layout
27977 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27980 \begin_layout Plain Layout
27981 Gota/Gota invertida
27986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27989 \begin_layout Plain Layout
27990 Forma de gota normal/invertida
27995 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27998 \begin_layout Plain Layout
27999 Frágil, los cáculos
28002 \begin_layout Plain Layout
28010 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28013 \begin_layout Plain Layout
28020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28023 \begin_layout Plain Layout
28024 Logotipo de \SpecialChar TeX
28030 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28033 \begin_layout Plain Layout
28041 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28044 \begin_layout Plain Layout
28046 \begin_inset Newline newline
28050 \begin_inset Newline newline
28058 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28061 \begin_layout Plain Layout
28062 Triángulos en diferentes orientaciones
28067 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28070 \begin_layout Plain Layout
28084 \begin_layout Standard
28085 Para elegir una determinada forma selecciónala en la lista desplegable de
28086 entornos de \SpecialChar LyX
28087 (primer botón de la barra de herramientas).
28090 \begin_layout Standard
28091 \begin_inset Newpage newpage
28097 \begin_layout Standard
28098 Ejemplo de párrafo con forma de tuerca:
28101 \begin_layout Standard
28102 \begin_inset VSpace bigskip
28109 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28110 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28112 At vero eos et accusam et justo duo dolores et ea rebum.
28113 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28115 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28116 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28120 \begin_layout Standard
28121 \begin_inset VSpace bigskip
28127 \begin_layout Standard
28128 \begin_inset Note Greyedout
28131 \begin_layout Plain Layout
28136 : los párrafos conformados no pueden saltar de página.
28144 \begin_layout Standard
28145 \begin_inset VSpace bigskip
28151 \begin_layout Standard
28156 preserva siempre la forma independientemente de la cantidad de texto.
28157 Por tanto el tamaño del párrafo cambia en función del texto.
28158 Esto puede provocar desbordamiento de los márgenes.
28159 Para comprobar el efecto de ajuste del tamaño veamos el mismo ejemplo anterior
28160 con el doble de texto:
28163 \begin_layout Standard
28164 \begin_inset Newpage newpage
28171 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28172 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28174 At vero eos et accusam et justo duo dolores et ea rebum.
28175 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28177 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28178 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28180 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28181 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28183 At vero eos et accusam et justo duo dolores et ea rebum.
28184 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28186 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28187 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28191 \begin_layout Standard
28192 \begin_inset VSpace bigskip
28198 \begin_layout Standard
28204 No se puede hacer escala porque debe ajustarse al tamaño de un CD/DVD.
28205 Por tanto la cantidad de texto que admite esta forma es limitada.
28206 \begin_inset Newline newline
28217 son frágiles, lo que significa que pueden fallar los cálculos de su tamaño,
28218 según la cantidad de texto.
28219 En esos casos se producirá el error de \SpecialChar LaTeX
28221 \begin_inset Quotes eld
28224 Arithmetic overflow
28225 \begin_inset Quotes erd
28229 Se puede arreglar añadiendo o quitando algo de texto; si no funciona habrá
28230 que elegir otra forma.
28233 \begin_layout Standard
28234 \begin_inset VSpace bigskip
28240 \begin_layout Standard
28241 En formas con puntas, la rutina de división silábica de \SpecialChar LaTeX
28243 Entonces habrá que añadir guiones protegidos
28248 arg "specialchar-insert hyphenation"
28253 ) donde sea necesario.
28256 \begin_layout Standard
28257 \begin_inset VSpace bigskip
28263 \begin_layout Standard
28264 Los párrafos conformados siempre van centrados en la página o ajustados
28265 al margen izquierdo, por tanto no se puede usar la alineación de la configuraci
28267 Una solución es poner el párrafo en una minipágina o en un marco y alinear
28269 En ese caso el problema es saber la anchura adecuada del marco: si es demasiado
28270 ancho y se centra, el párrafo no queda centrado porque se ajusta a la izquierda
28272 De modo que habrá que ir probando un poco para acertar con la anchura correcta.
28273 Aquí tenemos dos párrafos
28277 , el primero no alineado, el segundo a la derecha:
28280 \begin_layout Standard
28281 \begin_inset Newpage newpage
28287 \begin_layout Heart
28289 Lo\SpecialChar softhyphen
28290 rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28291 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28293 At vero eos et accusam et justo duo dolores et ea rebum.
28294 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28298 \begin_layout Standard
28299 \begin_inset VSpace bigskip
28305 \begin_layout Standard
28308 \begin_inset Box Frameless
28318 height_special "totalheight"
28323 backgroundcolor "none"
28326 \begin_layout Heart
28328 Lo\SpecialChar softhyphen
28329 rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28330 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28332 At vero eos et accusam et justo duo dolores et ea rebum.
28333 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28342 \begin_layout Subsection
28343 Formas personalizadas
28346 \begin_layout Standard
28347 Se puede definir cualquier forma.
28348 Hacerlo manualmente lleva mucho trabajo porque debe especificarse cada
28350 Pero hay una forma de que el ordenador haga los cálculos:
28353 \begin_layout Enumerate
28354 Instala el programa
28355 \begin_inset CommandInset href
28358 target "https://www.ctan.org/tex-archive/graphics/jpgfdraw"
28366 \begin_layout Enumerate
28373 TeX/LaTeX\SpecialChar menuseparator
28374 Settings\SpecialChar menuseparator
28377 y selecciona el tamaño de tipografía usado en el documento.
28378 Por ejemplo, este documento usa el tamaño 12
28379 \begin_inset space \thinspace{}
28385 \begin_layout Enumerate
28389 \begin_layout Enumerate
28392 TeX/LaTeX\SpecialChar menuseparator
28395 para exportar la forma a coordenadas.
28396 En el diálogo que surge usa la descripción de la forma para las coordenadas
28401 \begin_layout Plain Layout
28403 \begin_inset CommandInset href
28405 target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
28418 \begin_layout Standard
28419 Las coordenadas se escriben en un archivo \SpecialChar TeX
28421 Para incorporarlo a \SpecialChar LyX
28425 \begin_layout Enumerate
28426 Coloca el cursor delante del primer carácter del párrafo (o en uno nuevo
28430 \begin_layout Enumerate
28431 En \SpecialChar LyX
28434 Insertar\SpecialChar menuseparator
28435 Archivo\SpecialChar menuseparator
28437 \begin_inset space ~
28440 hijo\SpecialChar ldots
28443 , selecciona el archivo y elige
28450 \begin_inset space ~
28454 \begin_inset space ~
28460 \begin_layout Standard
28461 \begin_inset VSpace defskip
28467 \begin_layout Standard
28468 \begin_inset Note Greyedout
28471 \begin_layout Plain Layout
28476 : el cambio de forma sólo se aplica al párrafo actual; todo se restablece
28477 a normal para el párrafo siguiente.
28478 Por tanto la definición de forma debe aplicarse a cada párrafo por separado.
28486 \begin_layout Standard
28487 \begin_inset VSpace bigskip
28493 \begin_layout Standard
28497 \begin_layout Standard
28498 \begin_inset VSpace bigskip
28504 \begin_layout Standard
28505 \begin_inset CommandInset include
28507 filename "../SpecialParagraphShape.tex"
28511 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28512 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28514 At vero eos et accusam et justo duo dolores et ea rebum.
28515 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28517 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28518 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28522 \begin_layout Standard
28523 \begin_inset VSpace bigskip
28529 \begin_layout Standard
28534 para dibujar formas complejas en
28538 puedes dibujar la forma con el programa que quieras e importar la imagen
28544 Después sólo tendrás que dibujar una línea o spline sobre el contorno de
28548 \begin_layout Standard
28549 \begin_inset VSpace bigskip
28555 \begin_layout Standard
28558 Párrafos conformados
28560 proporciona además el
28576 que se pueden usar para definir formas coordenada a coordenada.
28580 \begin_layout Plain Layout
28581 Estos comandos se usan internamente para todas las formas que se han descrito
28587 Para información sobre el uso de estos entornos de estilo y más posibilidades
28588 de personalización echa un vistazo a la
28589 \begin_inset CommandInset href
28591 name "documentación"
28592 target "https://www.ctan.org/tex-archive/macros/latex/contrib/shapepar/shapepar.pdf"