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
156 <lyx-docs@lists.lyx.org>
169 \begin_layout Standard
170 \begin_inset CommandInset toc
171 LatexCommand tableofcontents
178 \begin_layout Chapter
182 \begin_layout Standard
183 Este manual es esencialmente la Parte II de la
188 La segregación de este documento obedece a una sencilla razón: la
192 es muy extensa, y contiene todas las características básicas que uno necesita
193 conocer para preparar la mayoría de documentos.
194 Sin embargo, el Equipo \SpecialChar LyX
195 ha tenido siempre el objetivo de extender las caracterí
196 sticas del programa mediante diversos archivos de configuración y paquetes
198 Esto significa que si necesitas soporte para el paquete \SpecialChar LaTeX
203 , puedes crear un archivo de formato (o módulo) para él sin tener que alterar
204 el propio \SpecialChar LyX
206 Ya hemos hecho de esta manera contribuciones a varias características nuevas.
207 Este es el documento donde se explican todas estas cosas.
210 \begin_layout Standard
211 En este manual se describen también algunas características especiales como
212 soporte de fax, control de versiones y soporte para SGML, que requieren
213 software adicional para funcionar bien.
214 Por último hay un capítulo sobre herramientas y consejos de \SpecialChar LaTeX
216 para mejorar la presentación de los documentos usando directamente las
217 poderosas características de \SpecialChar LaTeX
219 Después de todo, \SpecialChar LyX
224 es WYSIWYM y siempre será solo una interfaz para algunas, no todas, característi
225 cas de \SpecialChar LaTeX
230 \begin_layout Standard
231 Si aún no has leído la
235 , no hay duda de que estás en el manual equivocado.
240 es el primer sitio al que acudir, porque ahí te remitimos al manual adecuado
241 y te explicamos los criterios y el formato de todos los manuales.
242 También deberías estar familiarizado con la
246 y con las características fundamentales de \SpecialChar LyX
251 \begin_layout Standard
252 Puesto que todos los temas tratados en este manual dependen estrechamente
253 de la interacción entre \SpecialChar LyX
255 , el siguiente capítulo trata sobre el trabajo
256 interno de \SpecialChar LyX
257 y la forma de usar \SpecialChar LyX
258 para generar exactamente el código \SpecialChar LaTeX
260 Obviamente, es para usuarios experimentados en \SpecialChar LyX
264 \begin_layout Chapter
270 \begin_layout Section
271 Uso de \SpecialChar LaTeX
276 \begin_layout Standard
277 Este capítulo es tanto para
278 \begin_inset Quotes cld
283 \begin_inset Quotes crd
286 como para curiosos de \SpecialChar LaTeX
288 En él explicaremos cómo trabajan juntos \SpecialChar LyX
290 para generar salida imprimible.
291 Este es el único manual en el que suponemos que sabes algo sobre \SpecialChar LaTeX
295 \begin_layout Standard
296 Una vez llamamos a \SpecialChar LyX
298 \begin_inset Quotes cld
301 interfaz WYSIWYM para \SpecialChar LaTeX
303 \begin_inset Quotes crd
306 , pero ya no es cierto.
307 Hay otros programas que también lo son.
311 \begin_layout Plain Layout
312 Algunos habituales son \SpecialChar TeX
313 maker y kile para Linux y \SpecialChar TeX
315 Están además los modos \SpecialChar LaTeX
316 de vi y emacs, por supuesto.
321 Básicamente son editores con la habilidad de ejecutar \SpecialChar LaTeX
323 en el archivo que se está editando.
324 Aunque \SpecialChar LyX
333 correr a \SpecialChar LaTeX
334 , y también marca los errores en el archivo, hace mucho, mucho
336 Gracias al concepto WYSIWYM, no necesitas \SpecialChar LaTeX
337 para usar \SpecialChar LyX
339 Además, \SpecialChar LyX
340 ha añadido algunas extensiones a \SpecialChar LaTeX
342 Prueba esto en alguna ocasión: selecciona
343 \begin_inset Flex Noun
346 \begin_layout Plain Layout
347 Exportar\SpecialChar menuseparator
358 \begin_inset Flex Noun
361 \begin_layout Plain Layout
368 \begin_inset Flex Noun
371 \begin_layout Plain Layout
372 Ver\SpecialChar menuseparator
373 Panel de código fuente
378 ), y luego mira el preámbulo del archivo
383 \begin_inset Flex Code
386 \begin_layout Plain Layout
397 Observarás una serie de macros nuevas definidas específicamente por \SpecialChar LyX
399 Estas macros se definen automáticamente, de acuerdo con las características
400 elegidas para el documento.
403 \begin_layout Standard
404 Hay varios comandos que ejecutan \SpecialChar LaTeX
409 \begin_layout Itemize
410 \begin_inset Flex Noun
413 \begin_layout Plain Layout
416 Documento\SpecialChar menuseparator
425 \begin_layout Itemize
426 \begin_inset Flex Noun
429 \begin_layout Plain Layout
432 Documento\SpecialChar menuseparator
445 \begin_layout Standard
446 Solo llaman a \SpecialChar LaTeX
447 si el archivo ha cambiado desde la última vez que se ejecutó.
451 \begin_layout Standard
452 Cuando \SpecialChar LyX
453 ejecuta \SpecialChar LaTeX
454 sobre el archivo que estás editando, lleva a cabo los siguiente
458 \begin_layout Enumerate
459 Convierte el documento a \SpecialChar LaTeX
460 y guarda un archivo con extensión
461 \begin_inset Flex Code
464 \begin_layout Plain Layout
475 \begin_layout Enumerate
486 \begin_inset Flex Code
489 \begin_layout Plain Layout
501 (quizá varias veces) y cualesquiera otros comandos (como
502 \begin_inset Flex Code
505 \begin_layout Plain Layout
512 \begin_inset Flex Code
515 \begin_layout Plain Layout
521 ) necesarios para compilar el archivo.
524 \begin_layout Enumerate
525 Si hay errores, muestra el registro de errores.
528 \begin_layout Standard
529 Si has ejecutado \SpecialChar LaTeX
535 \begin_inset Flex Noun
538 \begin_layout Plain Layout
551 ejecuta un visor DVI para mostrar la salida.
557 \begin_inset Flex Noun
560 \begin_layout Plain Layout
576 \begin_layout Itemize
581 para convertir el archivo DVI a PostScript.
584 \begin_layout Itemize
585 Ejecuta un visor PostScript, como
588 \begin_inset Flex Code
591 \begin_layout Plain Layout
601 para mostrar la salida.
604 \begin_layout Standard
606 procede de forma parecida cuando ves o exportas otros formatos.
609 \begin_layout Section
610 Convertir archivos \SpecialChar LaTeX
615 \begin_layout Standard
616 Puedes importar un archivo \SpecialChar LaTeX
621 \begin_inset Flex Noun
624 \begin_layout Plain Layout
627 Archivo\SpecialChar menuseparator
628 Importar\SpecialChar menuseparator
637 Esto llamará al programa llamado
638 \begin_inset Flex Code
641 \begin_layout Plain Layout
647 que generará un archivo
648 \begin_inset Flex Code
651 \begin_layout Plain Layout
658 \begin_inset Flex Code
661 \begin_layout Plain Layout
671 \begin_layout Plain Layout
672 \begin_inset Flex Code
675 \begin_layout Plain Layout
681 también se puede ejecutar en línea de comandos, por supuesto.
689 \begin_layout Standard
690 \begin_inset Flex Code
693 \begin_layout Plain Layout
699 traducirá casi todo el \SpecialChar LaTeX
701 Dejará en código \SpecialChar TeX
702 cosas que no comprende, así que después de importar un
704 \begin_inset Flex Code
707 \begin_layout Plain Layout
715 , puedes buscar texto en rojo y editarlo a mano para que funcione bien.
718 \begin_layout Standard
719 Si no sabes qué es código \SpecialChar TeX
720 lee la sección siguiente.
723 \begin_layout Section
724 Insertar código \SpecialChar TeX
725 en documentos \SpecialChar LyX
727 \begin_inset CommandInset label
729 name "sec:Insertar-Código-TeX"
736 \begin_layout Standard
737 Todo lo que se puede hacer en \SpecialChar LaTeX
738 se puede hacer en \SpecialChar LyX
739 , por una razón muy simple:
740 en cualquier momento puedes insertar código \SpecialChar LaTeX
741 en un documento \SpecialChar LyX
744 no puede, y nunca podrá, mostrar cada una de las posibles estructuras
745 de \SpecialChar LaTeX
747 Si necesitas incluir comandos \SpecialChar LaTeX
748 en tu documento, puedes usar los marcos
750 \begin_inset Flex Code
753 \begin_layout Plain Layout
754 código \SpecialChar TeX
761 \begin_inset Flex Noun
764 \begin_layout Plain Layout
767 Insertar\SpecialChar menuseparator
776 \begin_layout Standard
777 Aquí hay un ejemplo de inserción de comandos \SpecialChar LaTeX
778 en un documento \SpecialChar LyX
783 \begin_layout LyX-Code
787 \begin_inset Newline newline
793 \begin_inset Newline newline
796 Este es un ejemplo para un entorno minipágina.
798 \begin_inset Newline newline
801 puedes poner prácticamente todo, incluso figuras y
802 \begin_inset Newline newline
805 cuadros (no flotantes).
807 \begin_inset Newline newline
813 \begin_inset Newline newline
817 \begin_inset Newline newline
823 \begin_inset Newline newline
829 \begin_inset Newline newline
835 \begin_inset Newline newline
840 \begin_inset Newline newline
846 \begin_inset Newline newline
852 \begin_inset Newline newline
858 \begin_inset Newline newline
866 \begin_layout Standard
868 \begin_inset Flex Code
871 \begin_layout Plain Layout
872 código \SpecialChar TeX
878 que contiene ese texto está tras este párrafo.
879 Si estás leyendo este manual en \SpecialChar LyX
880 solo verás el código insertado en rojo.
881 Si estás leyendo una versión impresa verás los resultados reales:
882 \begin_inset Newline newline
888 \begin_layout Standard
892 \begin_layout Plain Layout
899 \begin_layout Plain Layout
906 \begin_layout Plain Layout
908 Este es un ejemplo para un entorno minipágina.
909 En él puedes poner prácticamente todo, incluso figuras y cuadros (no flotantes).
912 \begin_layout Plain Layout
919 \begin_layout Plain Layout
924 \begin_layout Plain Layout
931 \begin_layout Plain Layout
938 \begin_layout Plain Layout
945 \begin_layout Plain Layout
951 \begin_layout Plain Layout
958 \begin_layout Plain Layout
965 \begin_layout Plain Layout
972 \begin_layout Plain Layout
982 \begin_inset Newline newline
988 \begin_layout Standard
989 Además de estos métodos,
993 también puedes crear un archivo separado con estructuras de \SpecialChar LaTeX
1000 \begin_inset Flex Noun
1003 \begin_layout Plain Layout
1010 \SpecialChar menuseparator
1011 Archivo\SpecialChar menuseparator
1013 \begin_inset space ~
1025 para incluir ese archivo (deberías seleccionar el tipo
1028 \begin_inset Flex Code
1031 \begin_layout Plain Layout
1042 Recomendamos hacer esto solo si dispones de un archivo
1045 \begin_inset Flex Code
1048 \begin_layout Plain Layout
1063 Si no, te espera una ardua tarea rastreando errores de \SpecialChar LaTeX
1068 \begin_layout Standard
1069 Hay unas últimas observaciones que hacer:
1072 \begin_layout Itemize
1078 comprueba si el código \SpecialChar LaTeX
1082 \begin_layout Itemize
1083 Abstente de reinventar la rueda.
1086 \begin_layout Standard
1087 Respecto al último punto, \SpecialChar LyX
1088 tiene bastantes características incorporadas,
1090 Asegúrate de explorar los manuales para convencerte de que \SpecialChar LyX
1092 de tal o cual función antes de hacerlo a mano.
1093 Además, hay por ahí multitud de paquetes \SpecialChar LaTeX
1094 para hacer toda clase de cosas,
1095 desde etiquetas o sobres a fantásticos cuadros multipágina.
1097 \begin_inset CommandInset href
1100 target "http://www.ctan.org/"
1108 \begin_layout Standard
1109 Si necesitas hacer algunas cosas fantásticas en tu documento, asegúrate
1110 de investigar en un buen libro sobre \SpecialChar LaTeX
1112 Hay unos cuantos de ellos recogidos en la bibliografía de la
1119 \begin_layout Section
1121 y el Preámbulo \SpecialChar LaTeX
1125 \begin_layout Subsection
1126 Sobre el preámbulo \SpecialChar LaTeX
1130 \begin_layout Standard
1131 Si conoces \SpecialChar LaTeX
1132 , no es necesario explicar para qué sirve el preámbulo.
1133 Si no lo sabes, lo que sigue te dará algunas ideas —de nuevo recomendamos
1134 consultar un libro sobre \SpecialChar LaTeX
1135 para información adicional—.
1136 En cualquier caso, deberías leer los puntos siguientes porque detallan
1137 lo que puedes hacer y lo que no necesitas hacer en el preámbulo \SpecialChar LaTeX
1139 documento \SpecialChar LyX
1143 \begin_layout Standard
1144 El preámbulo \SpecialChar LaTeX
1145 se encuentra en el principio de un documento,
1153 \begin_layout Itemize
1154 Declarar la clase de documento.
1155 \begin_inset Newline newline
1161 \begin_inset Quotes cld
1166 \begin_inset Quotes crd
1169 , y dispones de alguna clase personalizada de documento que deseas usar,
1170 busca información sobre cómo incluirlo en \SpecialChar LyX
1179 \begin_layout Itemize
1180 Declarar el empleo de paquetes.
1181 \begin_inset Newline newline
1184 Los paquetes \SpecialChar LaTeX
1185 suministran comandos especiales, que solo estarán disponibles
1186 para su uso si el paquete correspondiente se ha declarado en el preámbulo.
1187 Por ejemplo, el paquete
1190 \begin_inset Flex Code
1193 \begin_layout Plain Layout
1203 fuerza el sangrado en todos los párrafos.
1204 Hay otros paquetes para etiquetas, sobres, márgenes, etc.
1207 \begin_layout Itemize
1208 Configurar contadores, variables, longitudes y anchuras.
1209 \begin_inset Newline newline
1212 Hay varios contadores \SpecialChar LaTeX
1217 configurarse globalmente desde dentro del preámbulo para conseguir el efecto
1219 (Hay otras variables que se pueden configurar y reiniciar dentro del documento).
1220 Los márgenes son un buen ejemplo de algo que debe configurarse en el preámbulo.
1221 Otro ejemplo es el formato de las etiquetas para las listas.
1222 En realidad, puedes configurarlas donde quieras, pero es mejor hacerlo
1223 de una vez en el preámbulo.
1226 \begin_layout Itemize
1227 Declarar comandos definidos por el usuario (con
1230 \begin_inset Flex Code
1233 \begin_layout Plain Layout
1248 \begin_inset Flex Code
1251 \begin_layout Plain Layout
1264 \begin_inset Newline newline
1267 Son generalmente abreviaturas para comandos \SpecialChar LaTeX
1268 que aparecen muy a menudo en
1270 Aunque el preámbulo es un buen sitio para declarar dichos comandos,
1274 ser definidos en cualquier sitio (por supuesto,
1278 de que se vayan a usar por vez primera).
1279 Esto puede ser útil si hay demasiado código \SpecialChar LaTeX
1280 en el documento, lo que normalment
1281 e no debería suceder.
1284 \begin_layout Standard
1286 añade su propio conjunto de definiciones al preámbulo del archivo
1289 \begin_inset Flex Code
1292 \begin_layout Plain Layout
1303 Esto hace que los archivos \SpecialChar LaTeX
1304 generados por \SpecialChar LyX
1308 \begin_layout Subsection
1309 Cambiar el preámbulo
1312 \begin_layout Standard
1313 Los comandos que \SpecialChar LyX
1314 añade al preámbulo de un archivo \SpecialChar LaTeX
1315 son fijos; no puedes
1316 cambiarlos sin parchear el propio \SpecialChar LyX
1318 Sin embargo, puedes añadir tus cosas al preámbulo seleccionando
1321 \begin_inset Flex Noun
1324 \begin_layout Plain Layout
1328 \begin_inset space ~
1340 \begin_inset Flex Noun
1343 \begin_layout Plain Layout
1348 o\SpecialChar menuseparator
1358 añade todo lo del diálogo a su propio preámbulo incorporado.
1359 Antes de añadir tus declaraciones en el preámbulo, deberías verificar que
1361 no dispone ya de soporte para lo que quieres hacer.
1362 (¿Recuerdas lo que dijimos respecto a reinventar la rueda?) Además,
1364 asegúrate de que el código del preámbulo es correcto
1372 no comprueba esto por ti.
1373 Si hay un error, probablemente obtendrás un mensaje como
1374 \begin_inset Quotes cld
1378 \begin_inset Flex Code
1381 \begin_layout Plain Layout
1390 \begin_inset Quotes crd
1394 Si ves este error comprueba tu preámbulo.
1397 \begin_layout Subsection
1401 \begin_layout Standard
1402 Aquí tenemos algunos ejemplos de lo que puedes añadir a un preámbulo y del
1406 \begin_layout Subsubsection
1407 Ejemplo 1: Ajustes del área de impresión
1410 \begin_layout Standard
1411 Hay dos variables en \SpecialChar LaTeX
1415 \begin_inset Flex Code
1418 \begin_layout Plain Layout
1433 \begin_inset Flex Code
1436 \begin_layout Plain Layout
1448 , que controlan la composición de la página, es decir, el desplazamiento
1449 horizontal y vertical del área de impresión.
1450 Estas variables son útiles para casos como, por ejemplo, la impresión de
1452 A veces, el tamaño de un soporte de impresión y el área realmente imprimible
1454 Entonces intervienen
1457 \begin_inset Flex Code
1460 \begin_layout Plain Layout
1475 \begin_inset Flex Code
1478 \begin_layout Plain Layout
1494 \begin_layout Standard
1499 valor predeterminado para
1502 \begin_inset Flex Code
1505 \begin_layout Plain Layout
1520 \begin_inset Flex Code
1523 \begin_layout Plain Layout
1536 \begin_inset space \thinspace{}
1539 pt., no cambia la composición de la página.
1540 Desafortunadamente, algunos controladores DVI siempre parecen alterar la
1542 No tenemos ni idea de la causa de esto ni de por qué el administrador del
1543 sistema no lo arregla.
1544 Si estás usando \SpecialChar LyX
1545 en un sistema que no administras personalmente y el responsabl
1549 \begin_inset Flex Code
1552 \begin_layout Plain Layout
1569 \begin_inset Flex Code
1572 \begin_layout Plain Layout
1584 pueden salvar el día.
1585 Supongamos que los márgenes superior e izquierdo siempre son 0.5
1586 \begin_inset space \thinspace{}
1589 in (pulgadas) demasiado grandes.
1590 Puedes añadir lo siguiente al preámbulo:
1593 \begin_layout LyX-Code
1601 \begin_layout LyX-Code
1609 \begin_layout Standard
1610 ahora los márgenes deberían ser correctos.
1613 \begin_layout Subsubsection
1614 Ejemplo 2: Etiquetas
1617 \begin_layout Standard
1618 Supongamos que quieres imprimir un puñado de etiquetas para direcciones.
1619 Hay un paquete estupendo disponible en CTAN, llamado
1622 \begin_inset Flex Code
1625 \begin_layout Plain Layout
1635 para imprimir hojas con etiquetas.
1636 Es posible que tu sistema no disponga de este paquete, compruébalo.
1637 Necesitarás también leer su documentación, porque nosotros no te lo vamos
1638 a explicar, pero sí te daremos un ejemplo de su empleo.
1641 \begin_layout Standard
1642 Primero, comprueba que estás utilizando la clase de documento
1645 \begin_inset Flex Code
1648 \begin_layout Plain Layout
1659 Después, debes poner en el preámbulo lo siguiente:
1662 \begin_layout LyX-Code
1668 \begin_layout LyX-Code
1674 \begin_layout LyX-Code
1680 \begin_layout LyX-Code
1686 \begin_layout LyX-Code
1692 \begin_layout LyX-Code
1698 \begin_layout LyX-Code
1704 \begin_layout Standard
1705 Esta es la configuración para hojas de etiquetas Avery, stock #5360.
1706 Ahora estás preparado para imprimirlas, pero necesitarás insertar código
1708 , poniendo los comandos
1711 \begin_inset Flex Code
1714 \begin_layout Plain Layout
1729 \begin_inset Flex Code
1732 \begin_layout Plain Layout
1744 antes y después, respectivamente, del texto de cada etiqueta.
1745 Esto y otras características de
1749 se explican en su documentación.
1753 \begin_layout Standard
1754 Algún día, alguien escribirá un archivo de formato (
1757 \begin_inset Flex Code
1760 \begin_layout Plain Layout
1770 ) para soportar directamente este paquete en \SpecialChar LyX
1772 Puede que ese alguien seas tú.
1775 \begin_layout Subsubsection
1776 Ejemplo 3: Sangrado de párrafos
1779 \begin_layout Standard
1780 Los americanos están acostumbrados a sangrar la primera línea de
1788 \begin_layout Plain Layout
1789 Por omisión, el estilo
1793 también sangra la primera línea de todos los párrafos.
1794 Se puede cambiar con el comando
1800 spanishoptions{es-noindentfirst}
1811 funcionan si se usa soporte
1830 Igual que con otras de sus peculiares manías, casi todos ellos se lamentarán
1831 y gimotearán hasta que no consigan hacerlo a su manera y puedan sangrar
1832 la primera línea de todos los párrafos.
1833 (Sí, estamos de guasa.
1834 ¿Lo estamos? ¡Oh, yes!)
1837 \begin_layout Standard
1838 Por supuesto, este ajuste no es el estándar en tipografía.
1839 En los libros, habitualmente solo se sangra la primera línea de un párrafo
1845 La idea que subyace tras el hecho de sangrar la primera línea de un párrafo
1846 es distinguir entre párrafos vecinos.
1847 Si no hay párrafo previo, porque sigue a una figura, por ejemplo, o es
1848 el primer párrafo de una sección, entonces no tiene sentido el sangrado.
1851 \begin_layout Standard
1852 Si eres un típico americano (¡otra vez de guasa!), no obstante, no te preocupes
1853 por estos esotéricos asuntos; ¡quieres tu sangrado! Pues añade esto al
1857 \begin_layout LyX-Code
1860 usepackage{indentfirst}
1863 \begin_layout Standard
1864 Si tu distribución de \SpecialChar TeX
1865 no está descerebrada, tendrás este paquete, y todos
1866 tus párrafos tendrán el sangrado que los Padres Fundadores pretenden que
1870 \begin_layout Subsubsection
1871 Ejemplo 4: Este documento
1874 \begin_layout Standard
1875 Puedes explorar el preámbulo de este documento para hacerte una idea de
1876 algunas de las cosas avanzadas que se pueden hacer.
1880 \begin_layout Section
1882 y errores de \SpecialChar LaTeX
1886 \begin_layout Standard
1887 Cuando \SpecialChar LyX
1888 llama a \SpecialChar LaTeX
1889 , le indica que ignore alegremente los errores y que siga
1891 Después de la ejecución de \SpecialChar LaTeX
1892 se genera un informe
1893 \begin_inset Quotes cld
1897 \begin_inset Quotes crd
1901 Tras analizarlo, \SpecialChar LyX
1902 muestra una ventana con la lista de errores.
1903 Pulsando sobre cualquiera de ellos el cursor se desplazará al lugar del
1904 archivo donde está el error.
1908 \begin_layout Plain Layout
1910 El análisis del archivo log es una dura tarea, y \SpecialChar LyX
1911 no siempre acierta con
1913 Además hay casos en que \SpecialChar LaTeX
1914 informa del error en una línea, pero el error
1915 preciso es anterior.
1916 Esto no es como olvidar una llave de cierre en un programa; obtendrás error
1925 \begin_layout Standard
1926 A algunos les gusta mirar directamente en el archivo
1930 , que es accesible con el menú
1933 \begin_inset Flex Noun
1936 \begin_layout Plain Layout
1943 \SpecialChar menuseparator
1945 \begin_inset space ~
1949 \begin_inset space ~
1960 Hay algunos mensajes de error y alertas que son frecuentes.
1961 Los trataremos a continuación.
1962 Encontrarás una lista completa en un buen libro de \SpecialChar LaTeX
1967 \begin_layout Itemize
1970 \begin_inset Flex Code
1973 \begin_layout Plain Layout
1984 \begin_inset Newline newline
1987 Todo lo que comience con estas palabras es un mensaje de alerta con el propósito
1989 \begin_inset Quotes cld
1993 \begin_inset Quotes crd
1996 el propio código \SpecialChar LaTeX
1998 Tendrás avisos como este si añades o cambias referencias cruzadas o entradas
1999 de bibliografía, en cuyo caso \SpecialChar LaTeX
2000 intenta decirte que debes ejecutarlo de
2002 En general los puedes ignorar.
2005 \begin_layout Itemize
2008 \begin_inset Flex Code
2011 \begin_layout Plain Layout
2022 \begin_inset Newline newline
2025 Otro mensaje de aviso, esta vez sobre tipografías que \SpecialChar LaTeX
2027 El resto del mensaje dirá algo sobre reemplazo de tipografías que ha hecho
2030 Puedes ignorarlos sin problema.
2033 \begin_layout Itemize
2036 \begin_inset Flex Code
2039 \begin_layout Plain Layout
2052 \begin_inset Newline newline
2055 A \SpecialChar LaTeX
2063 It seems to generate at least one of these messages for just about any
2067 Te avisa de líneas que son demasiado largas y sobrepasan el margen derecho.
2070 This happens if \SpecialChar LaTeX
2071 does not find a reasonable way to break the lines (notoriously
2072 often with typewriter font, since this does not allow for automatic break
2076 será inapreciable en la salida (suele ser solo uno o dos puntos).
2079 Sometimes, however, the lines run rather visibly into the margin; something
2080 you will not want to have in your final print.There are several global ways
2081 to try to minimize the overfull lines.
2084 Enable micro-typographic extensions
2088 Document\SpecialChar menuseparator
2089 Settings\SpecialChar menuseparator
2092 might already improve things a lot.
2093 Furthermore, \SpecialChar LaTeX
2094 code such as the following in
2096 Document\SpecialChar menuseparator
2097 Settings\SpecialChar menuseparator
2100 usually reduces the overfull lines drastically (we use this in the preamble
2105 \begin_layout LyX-Code
2111 \begin_inset Newline newline
2117 \begin_inset Newline newline
2122 emergencystretch 1.5em
2123 \begin_inset Newline newline
2131 \begin_layout Standard
2134 In some cases, however, you eventually have to rewrite the text to get the
2135 line breaking right.
2139 \begin_layout Plain Layout
2142 For more information, see
2143 \begin_inset Flex URL
2146 \begin_layout Plain Layout
2148 http://www.tex.ac.uk/FAQ-overfull.html
2161 \begin_layout Standard
2164 In any case, you should check the respective lines, at least for the final
2165 version of your document.
2166 Your eyes will tell you if there's a problem with something that's too
2171 \begin_layout Plain Layout
2174 You can also enable the `draft' option in
2175 \begin_inset Flex Noun
2178 \begin_layout Plain Layout
2181 Document\SpecialChar menuseparator
2187 , and then \SpecialChar LaTeX
2188 will draw a black box in the margin of lines that are overfull.
2197 \begin_layout Itemize
2200 \begin_inset Flex Code
2203 \begin_layout Plain Layout
2216 \begin_inset Newline newline
2219 No tan común como su primo.
2222 This happens again if \SpecialChar LaTeX
2223 does not find a reasonable break point and consequently
2224 generates too loose lines.
2225 As with the overfull lines, you should check if this is a visible problem.
2228 \begin_layout Itemize
2231 \begin_inset Flex Code
2234 \begin_layout Plain Layout
2249 \begin_inset Flex Code
2252 \begin_layout Plain Layout
2265 \begin_inset Newline newline
2268 Avisos sobre problemas
2273 Una vez más, comprueba la salida para ver si algo ha ido mal.
2276 \begin_layout Itemize
2279 \begin_inset Flex Code
2282 \begin_layout Plain Layout
2286 \begin_inset Quotes els
2290 \begin_inset Quotes ers
2301 \begin_inset Newline newline
2305 \begin_inset Quotes cld
2309 \begin_inset Quotes crd
2312 no está instalado en el sistema.
2313 Generalmente esto aparece porque algún paquete requerido por el documento
2315 Si no has tocado el preámbulo o no has usado el comando
2318 \begin_inset Flex Code
2321 \begin_layout Plain Layout
2333 , entonces alguno de los paquetes que \SpecialChar LyX
2334 ha de cargar se ha perdido.
2338 \begin_inset Flex Noun
2341 \begin_layout Plain Layout
2344 Ayuda\SpecialChar menuseparator
2348 \begin_inset space ~
2354 \begin_inset space ~
2364 para obtener una lista de los paquetes reconocidos por \SpecialChar LyX
2366 Este archivo se actualiza cada vez que reconfiguras \SpecialChar LyX
2370 \begin_inset Flex Noun
2373 \begin_layout Plain Layout
2376 Herramientas\SpecialChar menuseparator
2384 ) y te informa de los paquetes que han sido detectados y de lo que hacen.
2385 \begin_inset Newline newline
2388 Si has utilizado el comando
2391 \begin_inset Flex Code
2394 \begin_layout Plain Layout
2406 pero el paquete en cuestión no está instalado, deberás instalarlo.
2412 \begin_layout Itemize
2415 \begin_inset Flex Code
2418 \begin_layout Plain Layout
2421 LaTeX Error: Unknown option
2429 \begin_inset Newline newline
2432 Los mensajes de error que comienzan así te informan de que has especificado
2433 una opción errónea o no definida en algún paquete.
2434 Consulta la documentación del paquete.
2437 \begin_layout Itemize
2440 \begin_inset Flex Code
2443 \begin_layout Plain Layout
2444 Undefined control sequence
2452 \begin_inset Newline newline
2455 Si has insertado código \SpecialChar LaTeX
2456 con errores de tipografía tendrás un aviso de estos.
2457 También puedes haber olvidado cargar un paquete.
2458 En todo caso, este aviso suele indicar el uso de un comando no definido
2462 \begin_layout Standard
2463 Hay otros mensajes de aviso y de error.
2464 Algunos se explican por sí mismos.
2465 Estos son generalmente mensajes de \SpecialChar LaTeX
2467 Otros son francamente crípticos.
2468 Estos realmente son mensajes de error de \SpecialChar TeX
2469 , y no tenemos pistas sobre su
2470 significado o sobre cómo descifrarlos.
2474 \begin_layout Standard
2475 Si recibes mensajes de error, deberías seguir la siguiente secuencia general:
2478 \begin_layout Enumerate
2479 Revisa el código \SpecialChar LaTeX
2480 que hayas insertado y busca errores tipográficos.
2483 \begin_layout Enumerate
2484 Si no los hay, comprueba que has usado correctamente el (los) comando(s).
2487 \begin_layout Enumerate
2488 Si observas un puñado de cuadros de error amontonados muy al principio del
2489 documento, —especialmente si ves un
2490 \begin_inset Quotes cld
2494 \begin_inset Flex Code
2497 \begin_layout Plain Layout
2506 \begin_inset Quotes crd
2509 — significa que los errores están en el preámbulo.
2510 Empieza por depurar el preámbulo.
2513 \begin_layout Enumerate
2514 Si no has añadido nada al preámbulo ni has añadido código \SpecialChar LaTeX
2515 , la primera sospecha
2516 recae en tu propia distribución de \SpecialChar LaTeX
2518 Comprueba si faltan paquetes e instálalos.
2521 \begin_layout Enumerate
2522 De acuerdo, no faltan paquetes.
2523 ¿Has utilizado alguna de las opciones de ajuste fino de \SpecialChar LyX
2525 ¿has hecho un mal uso de alguna de ellas, como insertar manualmente montones
2529 \begin_inset Flex Code
2532 \begin_layout Plain Layout
2538 \begin_inset space ~
2549 \begin_inset Flex Code
2552 \begin_layout Plain Layout
2558 \begin_inset space ~
2566 \begin_inset space ~
2581 \begin_inset Flex Code
2584 \begin_layout Plain Layout
2590 \begin_inset space ~
2598 \begin_inset space ~
2610 ? ¿Has intentado juntar cosas con ellos en vez de usar el entorno de párrafo
2614 \begin_layout Enumerate
2615 Todo es correcto, no has utilizado ninguna de las opciones de ajuste fino,
2616 y has cumplido las reglas.
2617 ¿Has intentado hacer una fantástica maniobra? ¿Quizá has hecho algo
2621 en una ecuación o en un cuadro, como insertar un gráfico en una celda?
2625 \begin_layout Enumerate
2626 ¿Tienes largas piezas de texto en las que \SpecialChar LaTeX
2627 no encuentra dónde quebrar una
2628 línea? Por omisión, \SpecialChar LaTeX
2629 es más bien estricto en relación al espacio extra
2630 entre palabras que añadirá para romper una línea.
2631 Preferiblemente, deberías rehacer el párrafo para evitar el problema.
2634 \begin_layout Enumerate
2635 ¿Te has pasado con la anidación? \SpecialChar LyX
2636 , actualmente, no comprueba si estás dentro
2637 de los límites para los entornos anidables.
2638 Si anidas un puñado de entornos hasta el nivel 17, ahí está el problema.
2639 (El límite en \SpecialChar LaTeX
2643 \begin_layout Enumerate
2644 Vale, no recibes ningún mensaje de error, pero la salida es horrorosa.
2645 Si tienes un cuadro o una figura demasiado anchos o largos para la página,
2650 \begin_layout Enumerate
2651 ajustar el tamaño de la figura a la página.
2654 \begin_layout Enumerate
2655 ajustar el cuadro para que quepa.
2659 \begin_layout Enumerate
2660 Si la salida sigue dando problemas, y no has probado nada raro ni has empleado
2661 mal opciones de ajuste fino, no estamos seguros de lo que está equivocado.
2664 \begin_layout Standard
2665 Si todo esto no ayuda, bueno,
2673 (fallo) en \SpecialChar LyX
2678 \begin_layout Chapter
2679 Herramientas suplementarias
2682 \begin_layout Section
2683 Personalizar bibliografías con Bib\SpecialChar TeX
2689 \begin_layout Standard
2690 Los fundamentos del uso de Bib\SpecialChar TeX
2698 se explican en la sección
2700 Bases de datos bibliográficos
2707 Las siguientes subsecciones describen características especiales de bibliografí
2708 a soportadas por \SpecialChar LyX
2712 \begin_layout Subsection
2713 Estilos alternativos de cita
2716 \begin_layout Standard
2717 El estilo normal de Bib\SpecialChar TeX
2719 \begin_inset space \thinspace{}
2723 \begin_inset space \space{}
2727 \begin_inset Quotes cld
2731 \begin_inset Quotes crd
2734 ) para referir una cita bibliográfica.
2735 Sin embargo, en muchas disciplinas científicas se emplean otros estilos.
2736 El más común es el estilo autor-año (p.
2737 \begin_inset space \thinspace{}
2741 \begin_inset space \space{}
2745 \begin_inset Quotes cld
2749 \begin_inset Quotes crd
2754 soportathree paquetes que suministra este estilo,
2757 \begin_inset Flex Code
2760 \begin_layout Plain Layout
2773 \begin_inset Flex Code
2776 \begin_layout Plain Layout
2789 \begin_inset Flex Code
2792 \begin_layout Plain Layout
2811 sus pros y sus contras, que no podemos detallar aquí.
2812 Si solo necesitas un estilo sencillo autor-año (o numérico)
2820 emplear un archivo de estilo sin contador, probablemente tu elección debería
2824 \begin_inset Flex Code
2827 \begin_layout Plain Layout
2840 If you look for specific citation styles common in law studies
2842 deberías considerar el nuevo paquete
2845 \begin_inset Flex Code
2848 \begin_layout Plain Layout
2861 If you want to have full control over the formatting or look for advanced
2862 features such as ibidem, footnote citations, full title citations, advanced
2863 date formats (such as 400 BC) or full localization to other languages than
2864 English, you should definitely consider
2865 \begin_inset Flex Code
2868 \begin_layout Plain Layout
2876 , which exceeds all other packages in terms of features, but is also quite
2877 heavy and more resource-hungry.
2880 \begin_layout Standard
2885 paquetes es básicamente el mismo.
2889 \begin_inset Flex Noun
2892 \begin_layout Plain Layout
2895 Documento\SpecialChar menuseparator
2907 y selecciona en el panel
2908 \begin_inset Flex Noun
2911 \begin_layout Plain Layout
2920 \begin_inset Flex Noun
2923 \begin_layout Plain Layout
2926 \begin_inset Flex Noun
2929 \begin_layout Plain Layout
2938 \begin_inset Flex Noun
2941 \begin_layout Plain Layout
2950 \begin_inset Flex Noun
2953 \begin_layout Plain Layout
2956 Biblatex (Natbib mode)
2975 \begin_inset Flex Noun
2978 \begin_layout Plain Layout
2993 \begin_inset space ~
2996 6.5.3 in the User's Guide for more information on these choices)
3003 paquetes dispondrás de algunas características extras en el diálogo y podrás
3004 elegir el estilo de las citas (
3005 \begin_inset Quotes cld
3009 \begin_inset Quotes crd
3013 \begin_inset Quotes cld
3017 \begin_inset Quotes crd
3021 \begin_inset Quotes cld
3025 \begin_inset Quotes crd
3029 \begin_inset Quotes cld
3033 \begin_inset Quotes crd
3037 Ten en cuenta que los
3041 paquete necesitan archivos de estilo específicamente diseñados (all incluyen
3042 el suyo propio, pero hay muchos otros archivos de estilo disponibles e
3043 incluso un programa interactivo
3047 \begin_layout Plain Layout
3049 \begin_inset Flex URL
3052 \begin_layout Plain Layout
3054 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/custom-bib/
3064 para confeccionar estilos para
3071 \begin_layout Subsection
3079 \begin_layout Standard
3080 En ocasiones, es posible que necesites dividir la bibliografía en secciones.
3081 Por ejemplo, si eres un historiador, la posibilidad de separar fuentes
3082 y trabajos científicos es probablemente un imperativo.
3083 Desafortunadamente, Bib\SpecialChar TeX
3084 no permite hacer esto por sí solo.
3085 Pero la buena noticia es que, con la ayuda de ciertos paquetes \SpecialChar LaTeX
3086 , Bib\SpecialChar TeX
3088 ampliar su cometido para conseguirlo.
3091 \begin_layout Standard
3093 provee soporte nativo para uno de estos paquetes,
3096 \begin_inset Flex Code
3099 \begin_layout Plain Layout
3113 \begin_layout Plain Layout
3115 \begin_inset Flex URL
3118 \begin_layout Plain Layout
3120 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/bibtopic/
3130 La ventaja de este paquete (comparado con otros como
3133 \begin_inset Flex Code
3136 \begin_layout Plain Layout
3146 ) es que no necesitas definir nuevos comandos de cita.
3147 Lo que tienes que hacer es preparar diferentes bases de datos bibliográficos
3148 que incluyen las entradas para las distintas secciones de la bibliografía.
3149 Por ejemplo: si quieres dividir tu bibliografía en las secciones
3150 \begin_inset Quotes cld
3154 \begin_inset Quotes crd
3158 \begin_inset Quotes cld
3161 Trabajos científicos
3162 \begin_inset Quotes crd
3165 , primero debes crear dos bases de datos, p.
3166 \begin_inset space \thinspace{}
3170 \begin_inset space ~
3176 \begin_inset Flex Code
3179 \begin_layout Plain Layout
3192 \begin_inset Flex Code
3195 \begin_layout Plain Layout
3208 \begin_layout Standard
3212 \begin_inset Flex Noun
3215 \begin_layout Plain Layout
3218 Documento\SpecialChar menuseparator
3226 y selecciona en el panel
3229 \begin_inset Flex Noun
3232 \begin_layout Plain Layout
3245 \begin_inset Flex Noun
3248 \begin_layout Plain Layout
3251 Subdivided bibliography
3259 Ahora puedes insertar múltiples referencias Bib\SpecialChar TeX
3260 , una para cada sección
3262 Volviendo a nuestro ejemplo: Inserta una bibliografía Bib\SpecialChar TeX
3267 \begin_inset Flex Code
3270 \begin_layout Plain Layout
3280 y otra para la base de datos
3283 \begin_inset Flex Code
3286 \begin_layout Plain Layout
3297 Eres libre de usar estilos diferentes o iguales para cada sección.
3298 Por otra parte, puedes elegir si la sección bibliográfica debe contener
3300 \begin_inset Quotes cld
3303 todas las referencias citadas
3304 \begin_inset Quotes crd
3307 de la base de datos especificada (así es por omisión),
3308 \begin_inset Quotes cld
3311 todas las referencias no citadas
3312 \begin_inset Quotes crd
3316 \begin_inset Quotes cld
3319 todas las referencias
3320 \begin_inset Quotes crd
3324 Esto podría ser útil para separar la bibliografía en tres secciones:
3325 \begin_inset Quotes cld
3329 \begin_inset Quotes crd
3333 \begin_inset Quotes cld
3337 \begin_inset Quotes crd
3341 \begin_inset Quotes cld
3344 Trabajos científicos
3345 \begin_inset Quotes crd
3349 Los títulos para las secciones pueden añadirse como secciones ordinarias
3350 o como subsecciones.
3354 \begin_inset Flex Code
3357 \begin_layout Plain Layout
3367 quita el título de la bibliografía, debes reañadirlo manualmente (como
3368 un capítulo* o sección*, por ejemplo).
3371 \begin_layout Standard
3378 , the procedure is a bit different.
3387 , the aforementioned
3388 \begin_inset Flex Noun
3391 \begin_layout Plain Layout
3394 Subdivided bibliography
3399 option is disabled if you use
3408 provides its own means to generate subdivided bibliographies.
3409 You can either add keywords to bibliography entries via the
3410 \begin_inset Flex Code
3413 \begin_layout Plain Layout
3421 entry option and then filter bibliography sections by keyword (by adding
3423 \begin_inset Flex Code
3426 \begin_layout Plain Layout
3435 \begin_inset Flex Noun
3438 \begin_layout Plain Layout
3446 field of the dialog that opens if you right-click on the
3447 \begin_inset Flex Noun
3450 \begin_layout Plain Layout
3453 Biblatex Generated Bibliography
3458 button), or you can filter by entry types (such as
3467 \begin_inset space \thinspace{}
3472 \begin_inset Flex Code
3475 \begin_layout Plain Layout
3484 \begin_inset Flex Code
3487 \begin_layout Plain Layout
3496 \begin_inset Flex Noun
3499 \begin_layout Plain Layout
3507 field, or you can create so-called
3508 \begin_inset Quotes eld
3511 Bibliography Categories
3512 \begin_inset Quotes erd
3515 to which you can assign individual entries.
3516 Please refer to the Biblatex manual, section
3518 Subdivided Bibliographies
3523 \begin_layout Subsection
3524 Bibliografías múltiples
3525 \begin_inset CommandInset label
3527 name "subsec:Bibliografías-múltiples"
3534 \begin_layout Standard
3536 no soporta por sí mismo bibliografías múltiples, p.
3537 \begin_inset space \thinspace{}
3541 \begin_inset space \space{}
3544 una bibliografía para cada
3550 subsection or child (sub-document)
3554 are also supported by \SpecialChar LyX
3556 In order to enable it, go to
3557 \begin_inset Flex Noun
3560 \begin_layout Plain Layout
3563 Document\SpecialChar menuseparator
3564 Settings\SpecialChar menuseparator
3570 and select the relevant unit (e.
3571 \begin_inset space \thinspace{}
3575 \begin_inset Quotes eld
3579 \begin_inset Quotes erd
3583 \begin_inset Flex Noun
3586 \begin_layout Plain Layout
3589 Multiple Bibliographies
3595 Then add a Bib(la)\SpecialChar TeX
3596 bibliography to each unit (e.
3597 \begin_inset space \thinspace{}
3600 g., section) of your document.
3601 In the output, a separate bibliography, containing only the references
3602 done in the current unit is generated.
3605 \begin_layout Standard
3608 If you use Bib\SpecialChar TeX
3610 \begin_inset Flex Code
3613 \begin_layout Plain Layout
3622 \begin_inset Flex Code
3625 \begin_layout Plain Layout
3633 package is used to create multiple bibliographies.
3634 The former package is used if you select
3635 \begin_inset Quotes eld
3639 \begin_inset Quotes erd
3647 \begin_inset Flex Noun
3650 \begin_layout Plain Layout
3653 Sectioned Bibliography
3660 \begin_inset Flex Code
3663 \begin_layout Plain Layout
3675 \begin_layout Plain Layout
3678 An alternative approach, if you are willing to use some
3679 \begin_inset Flex Noun
3682 \begin_layout Plain Layout
3692 \begin_inset space ~
3698 \begin_inset CommandInset ref
3700 reference "sec:Insertar-Código-TeX"
3707 \begin_inset Flex Code
3710 \begin_layout Plain Layout
3724 \begin_inset Flex Code
3727 \begin_layout Plain Layout
3735 is used, \SpecialChar LyX
3736 encloses the specified units in
3737 \begin_inset Flex Code
3740 \begin_layout Plain Layout
3749 \begin_inset Flex Code
3752 \begin_layout Plain Layout
3763 \begin_inset Flex Code
3766 \begin_layout Plain Layout
3776 in order to create the units.
3777 Note that this approach has some limitations.
3778 First, every citation reference has to be inside some
3779 \begin_inset Flex Code
3782 \begin_layout Plain Layout
3791 So citations outside a defined unit (e.
3792 \begin_inset space \thinspace{}
3795 g., before the first section if you use
3796 \begin_inset Quotes eld
3800 \begin_inset Quotes erd
3804 \begin_inset Quotes eld
3808 \begin_inset Quotes erd
3812 You can also create your own units by entering
3813 \begin_inset Flex Code
3816 \begin_layout Plain Layout
3827 \begin_inset Flex Code
3830 \begin_layout Plain Layout
3841 code (for instance to work around the mentioned limitation).
3843 \begin_inset Flex Code
3846 \begin_layout Plain Layout
3855 A second limitation is that
3856 \begin_inset Flex Code
3859 \begin_layout Plain Layout
3867 always processes all references of a bibliography database, even if they
3869 This can result in odd labels (e.
3870 \begin_inset space \thinspace{}
3875 \begin_inset Quotes eld
3879 \begin_inset Quotes erd
3882 if two works of this author from 2014 are in the database, even if only
3886 \begin_layout Standard
3894 \begin_inset Flex Code
3897 \begin_layout Plain Layout
3905 option is used instead.
3906 If you need specific units, you can start them with the \SpecialChar TeX
3908 \begin_inset Flex Code
3911 \begin_layout Plain Layout
3922 \begin_inset Flex Code
3925 \begin_layout Plain Layout
3936 If you also want to control the end of the unit, use the environment
3937 \begin_inset Flex Code
3940 \begin_layout Plain Layout
3952 \begin_inset Flex Code
3955 \begin_layout Plain Layout
3967 \begin_inset Flex Code
3970 \begin_layout Plain Layout
3979 In addition to the individual bibliography of the current unit,
3983 also provides an easy way to output all bibliographies, subsequently, at
3985 \begin_inset space \thinspace{}
3988 g., at the end of the document).
3990 \begin_inset Quotes eld
3994 \begin_inset Quotes erd
3997 from the Content combo box of the Bib(la)TeX inset dialog in order to achieve
4003 manual for more information on this topic.
4006 \begin_layout Section
4007 Documentos con varias partes
4010 \begin_layout Subsection
4014 \begin_layout Standard
4015 Cuando trabajas en un extenso documento con muchas secciones, o si tienes
4016 una parte en la que un cuadro puede cambiar de vez en cuando pero no el
4017 texto precedente, suele ser conveniente dividir el documento en varios
4019 En estos casos, deberías considerar seriamente el uso de documentos hijo.
4020 Por ejemplo, los artículos científicos suelen tener cinco secciones principales
4021 : introducción, observaciones, resultados, discusión y conclusiones.
4022 Cada una de ellas debería estar en su propio archivo \SpecialChar LyX
4024 Por otra parte un archivo
4025 \begin_inset Quotes cld
4029 \begin_inset Quotes crd
4032 contendría el título, los autores, el resumen, las referencias, etc., e
4033 incluiría los cinco archivos.
4034 Es importante tener en cuenta que cada uno de estos es un completo archivo
4036 que puede ser diseñado e impreso de forma independiente, además de estar
4037 incluido en el maestro.
4038 Sin embargo, todos deben ser de la misma clase de documento —no intentes
4040 \begin_inset space \thinspace{}
4043 ej., libro y artículo—.
4044 También puedes incluir archivos \SpecialChar LaTeX
4045 ; pero no deben tener su propio preámbulo
4046 (es decir, debe eliminarse todo lo que precede a
4049 \begin_inset Flex Code
4052 \begin_layout Plain Layout
4064 , así como esta misma línea y también
4067 \begin_inset Flex Code
4070 \begin_layout Plain Layout
4082 ), de lo contrario se generarán errores al procesar el archivo.
4085 \begin_layout Standard
4087 facilita la inclusión de archivos con la opción de menú
4090 \begin_inset Flex Noun
4093 \begin_layout Plain Layout
4096 Insertar\SpecialChar menuseparator
4097 Archivo\SpecialChar menuseparator
4099 \begin_inset space ~
4110 Surge entonces una ventana que permite seleccionar el archivo a incluir
4111 y el método de inclusión, y en la posición actual del cursor se inserta
4112 un cuadro gris con el nombre del archivo, que se puede desplegar con un
4113 clic para hacer modificaciones.
4119 \begin_layout Standard
4120 Los métodos de inclusión de un archivo son
4121 \begin_inset Quotes cld
4125 \begin_inset Quotes crd
4129 \begin_inset Quotes cld
4133 \begin_inset Quotes crd
4137 \begin_inset Quotes cld
4141 \begin_inset Quotes crd
4146 \begin_inset Quotes cld
4150 \begin_inset Quotes crd
4154 \begin_inset Quotes cld
4158 \begin_inset Quotes crd
4163 are similar in many ways, but there are also some notable differences:
4168 \begin_layout Enumerate
4170 \begin_inset Quotes cld
4174 \begin_inset Quotes crd
4177 se imprimen en una página independiente, mientras que los archivos
4178 \begin_inset Quotes cld
4182 \begin_inset Quotes crd
4185 se imprimen en la página en la que estén insertados.
4188 \begin_layout Enumerate
4191 \begin_inset Quotes eld
4195 \begin_inset Quotes erd
4198 files cannot themselves
4199 \begin_inset Quotes eld
4203 \begin_inset Quotes erd
4207 \begin_inset Quotes eld
4211 \begin_inset Quotes erd
4216 \begin_inset Quotes eld
4220 \begin_inset Quotes erd
4223 , on the other hand, infinite sub-inputting is possible.
4226 \begin_layout Enumerate
4229 \begin_inset Quotes eld
4233 \begin_inset Quotes erd
4236 allow for the output of only selected
4237 \begin_inset Quotes eld
4241 \begin_inset Quotes erd
4244 files, while maintaining the actual counters (pagination etc.) and references
4245 (please refer to the section
4248 \begin_inset space ~
4256 \begin_inset space ~
4261 manual for details).
4264 \begin_layout Standard
4268 \begin_inset Quotes eld
4272 \begin_inset Quotes erd
4275 is the preferred method for chapters that are outsourced to child documents,
4277 \begin_inset Quotes eld
4281 \begin_inset Quotes erd
4284 is more suitable for arbitrary file inheritance.
4287 \begin_layout Standard
4288 La inserción de un archivo
4289 \begin_inset Quotes cld
4293 \begin_inset Quotes crd
4296 permite incluirlo tal cual es, de forma literal, con los caracteres en
4302 Normalmente los espacios en este tipo de inclusión son invisibles, aunque
4303 se conservan dos espacios consecutivos, a diferencia del normal tratamiento
4304 de los espacios en \SpecialChar LyX
4306 Sin embargo, si se marca en
4309 \begin_inset Flex Noun
4312 \begin_layout Plain Layout
4320 \begin_inset space ~
4324 \begin_inset space ~
4328 \begin_inset space ~
4332 \begin_inset space ~
4342 , se imprime una marca que señala sin ambigüedad la presencia de espacios.
4345 \begin_layout Standard
4348 Generally, the master file is converted into a full \SpecialChar LaTeX
4349 file before typesetting,
4350 while the included files are converted to \SpecialChar LaTeX
4351 files that do not have all the
4352 preamble information.
4355 \begin_layout Subsection
4356 Referencias cruzadas entre archivos
4359 \begin_layout Standard
4360 \begin_inset Box Shadowbox
4370 height_special "totalheight"
4375 backgroundcolor "none"
4378 \begin_layout Plain Layout
4379 Esta sección está algo anticuada.
4380 Es preciso describir los documentos maestros predeterminados y cómo son
4381 abiertos los hijos cuando está el maestro.
4390 \begin_layout Standard
4391 Se pueden configurar referencias cruzadas entre los distintos archivos.
4392 Primero, abre todos los archivos en cuestión: digamos A y B por ejemplo,
4393 donde B está incluido en A.
4394 Supongamos que insertas una etiqueta en A y quieres mencionarla en B.
4395 Abre el diálogo de referencias cruzadas en B y selecciona el
4396 \begin_inset Quotes cld
4400 \begin_inset Quotes crd
4406 \begin_layout Subsection
4407 Listas de bibliografía en todos los subdocumentos
4410 \begin_layout Standard
4411 \begin_inset Box Frameless
4421 height_special "totalheight"
4426 backgroundcolor "none"
4429 \begin_layout Plain Layout
4430 Esta sección también requiere actualización.
4431 Ahora hay material sobre esto en la wiki que se podría copiar aquí.
4439 \begin_layout Standard
4442 If you work with child documents, you might want to have only one main bibliogra
4443 phy at the end, but still be able to have a selected bibliography for the
4444 child if you output it on its own.
4445 Here is how to achieve this.
4448 \begin_layout Standard
4451 For the main document, you just insert a bibliography inset at the place
4452 where the main bibliography has to appear (within the master file or within
4454 If the bibliography inset is in the master file, the references will be
4455 inherited by all children, so they are available in the citation dialog
4459 \begin_layout Standard
4462 For child-specific bibliographies, insert bibliography insets within the
4463 child documents, at the place where the bibliography should appear when
4464 the child is compiled separately.
4465 However, the trick is to insert them into a branch (
4467 Insert\SpecialChar menuseparator
4468 Branch\SpecialChar menuseparator
4469 Insert New Branch...
4472 \begin_inset space \thinspace{}
4477 \begin_inset Quotes eld
4481 \begin_inset Quotes erd
4485 Within the children, activate the branch (
4487 Document\SpecialChar menuseparator
4488 Settings...\SpecialChar menuseparator
4492 Within the master, deactivate the branch (
4494 Document\SpecialChar menuseparator
4495 Settings...\SpecialChar menuseparator
4499 Now the child's bibliography will be ignored by the master, but considered
4503 \begin_layout Standard
4506 If you need multiple bibliographies (e.
4507 \begin_inset space \thinspace{}
4510 g., one per child in the
4514 ), please refer to sec
4517 \begin_inset space ~
4521 \begin_inset CommandInset ref
4523 reference "subsec:Bibliografías-múltiples"
4530 \begin_layout Section
4531 Archivos \SpecialChar LyX
4535 \begin_layout Standard
4536 A veces, los usuarios necesitan
4537 \begin_inset Quotes cld
4541 \begin_inset Quotes crd
4544 un archivo \SpecialChar LyX
4545 junto con las imágenes (y otros archivos) de los que depende,
4546 bien para enviarlo a un editor o para compartirlo con un co-autor.
4548 incluye un guión en Python (
4549 \begin_inset Flex Code
4552 \begin_layout Plain Layout
4558 ) que automatiza el proceso.
4559 Para usarlo, deben estar instalados los módulos Python
4560 \begin_inset Flex Code
4563 \begin_layout Plain Layout
4570 \begin_inset Flex Code
4573 \begin_layout Plain Layout
4580 Por omisión, el guión prefiere el formato
4581 \begin_inset Flex Code
4584 \begin_layout Plain Layout
4591 \begin_inset Flex Code
4594 \begin_layout Plain Layout
4600 en sistemas tipo Unix y el formato
4601 \begin_inset Flex Code
4604 \begin_layout Plain Layout
4613 \begin_layout Standard
4614 El proceso de configuración de \SpecialChar LyX
4615 preparará el guión para exportar a
4616 \begin_inset Quotes cld
4619 Archivo \SpecialChar LyX
4621 \begin_inset Quotes crd
4624 , que estará disponible en el menú
4625 \begin_inset Flex Code
4628 \begin_layout Plain Layout
4629 Archivo\SpecialChar menuseparator
4638 \begin_layout Standard
4639 Independientemente de la plataforma, la generación de un formato determinado
4640 de archivo puede controlarse añadiendo el conmutador
4641 \begin_inset Flex Code
4644 \begin_layout Plain Layout
4651 \begin_inset Flex Code
4654 \begin_layout Plain Layout
4661 \begin_inset Flex Code
4664 \begin_layout Plain Layout
4671 \begin_inset Flex Code
4674 \begin_layout Plain Layout
4681 \begin_inset Flex Code
4684 \begin_layout Plain Layout
4686 \SpecialChar menuseparator
4694 \begin_inset Flex Code
4697 \begin_layout Plain Layout
4698 Herramientas\SpecialChar menuseparator
4699 Preferencias\SpecialChar menuseparator
4700 Gestión de archivos\SpecialChar menuseparator
4707 (Asegúrate de añadir el conmutador tras el nombre del guión, no delante.)
4710 \begin_layout Section
4711 Encabezados y pies de página elaborados
4714 \begin_layout Standard
4715 El formato de página predeterminado es más bien simple; para la clase
4718 \begin_inset Flex Code
4721 \begin_layout Plain Layout
4731 , todo lo que obtienes es un número centrado al final de la página.
4732 El presente documento es de la clase
4735 \begin_inset Flex Code
4738 \begin_layout Plain Layout
4750 , así que resulta un poco más elaborado.
4751 Pero para montar un show de verdad, has de elegir
4752 \begin_inset Quotes cld
4756 \begin_inset Quotes crd
4763 para el estilo de página del documento, como se comenta en la
4768 En esta sección se describe el código \SpecialChar LaTeX
4769 que debes introducir en el preámbulo
4771 para conseguir los resultados deseados.
4774 \begin_layout Standard
4775 El encabezado de página se divide en tres zonas,
4776 \begin_inset Quotes cld
4780 \begin_inset Quotes crd
4784 \begin_inset Quotes cld
4788 \begin_inset Quotes crd
4792 \begin_inset Quotes cld
4796 \begin_inset Quotes crd
4800 Y el pie de página, pues igual.
4801 Los comandos \SpecialChar LaTeX
4802 para configurar estas zonas en su forma más simple son
4805 \begin_inset Flex Code
4808 \begin_layout Plain Layout
4823 \begin_inset Flex Code
4826 \begin_layout Plain Layout
4841 \begin_inset Flex Code
4844 \begin_layout Plain Layout
4859 \begin_inset Flex Code
4862 \begin_layout Plain Layout
4875 Supongamos que quieres poner un nombre en la parte superior izquierda de
4877 Pues inserta el siguiente comando en el preámbulo:
4880 \begin_layout Standard
4889 \begin_layout Standard
4890 Con este comando el nombre saldrá en la parte superior izquierda.
4891 Si una zona tiene asignada una entrada por omisión y quieres eliminarla
4893 \begin_inset space \thinspace{}
4897 \begin_inset space ~
4900 el número de página en el pie central), pon un comando con el argumento
4902 \begin_inset space \thinspace{}
4908 \begin_layout Standard
4916 \begin_layout Standard
4917 Vamos ahora con algunos adornos: vamos a poner el número de sección con
4919 \begin_inset Quotes cld
4923 \begin_inset Quotes crd
4927 \begin_inset space \thinspace{}
4931 \begin_inset space ~
4935 \begin_inset space ~
4938 3) en la superior izquierda, el número de página (p.
4939 \begin_inset space \thinspace{}
4943 \begin_inset space ~
4947 \begin_inset space ~
4950 4) en la superior derecha, el nombre en la inferior izquierda y la fecha
4951 en la inferior derecha.
4952 Para ello deberíamos escribir las siguientes líneas en el preámbulo:
4955 \begin_layout Standard
4965 \begin_layout Standard
4973 \begin_layout Standard
4983 \begin_layout Standard
4992 \begin_layout Standard
5000 \begin_layout Standard
5010 \begin_layout Standard
5014 \begin_inset Flex Code
5017 \begin_layout Plain Layout
5032 \begin_inset Flex Code
5035 \begin_layout Plain Layout
5047 aluden a los contadores de sección y de página de \SpecialChar LaTeX
5048 , que se encargan de
5049 imprimir los números de la sección y la página actuales.
5053 \begin_inset Flex Code
5056 \begin_layout Plain Layout
5068 imprime la fecha de hoy.
5071 \begin_layout Standard
5072 El grosor de las líneas horizontales dibujadas bajo el encabezado y sobre
5073 el pie se puede modificar.
5074 Si quieres que no aparezca alguna de esas líneas ponle grosor 0.
5075 Por omisión, la línea de encabezado tiene 0.4
5076 \begin_inset space \thinspace{}
5079 pt de grosor y la de pie 0
5080 \begin_inset space \thinspace{}
5084 Para cambiar estos valores se pueden usar los comandos
5090 headrulewidth}{0.4pt}
5098 footrulewidth}{0.4pt}
5101 \begin_layout Standard
5102 La configuración del encabezado y/o el pie para páginas individuales se
5103 puede alterar con comandos como
5106 \begin_inset Flex Code
5109 \begin_layout Plain Layout
5114 thispagestyle{empty}
5120 \begin_inset Flex Code
5123 \begin_layout Plain Layout
5128 thispagestyle{plain}
5136 \begin_inset Newline linebreak
5142 \begin_inset Flex Code
5145 \begin_layout Plain Layout
5150 thispagestyle{fancy}
5158 Simplemente se inserta en
5159 \begin_inset Flex Code
5162 \begin_layout Plain Layout
5163 código \SpecialChar TeX
5169 en la página que se quiere cambiar.
5170 De hecho las páginas de título tienen estilo simple por omisión, mientras
5171 que las páginas siguientes se marcan en estilo elaborado si este es el
5172 formato establecido globalmente.
5176 \begin_layout Standard
5177 Por último, veamos cómo incluir una imagen en el encabezado o en el pie;
5178 por ejemplo, un logotipo en la esquina superior izquierda.
5179 Prueba algo como esto:
5182 \begin_layout Standard
5191 includegraphics{logo.eps}}}
5194 \begin_layout Standard
5195 (quizá sea necesario anteponer
5198 \begin_inset Flex Code
5201 \begin_layout Plain Layout
5206 usepackage{graphics}
5213 si tu documento no incluye otros gráficos).
5217 \begin_layout Section
5218 Selección de marcas de listas
5219 \begin_inset CommandInset label
5228 \begin_layout Standard
5234 \begin_layout Subsection
5238 \begin_layout Standard
5240 suministra 216 símbolos de marcas a los que se accede mediante un simple
5241 diálogo que permite elegir un símbolo para cada nivel de una lista no numerada.
5242 Esta elección es aplicable a la totalidad del documento, no es posible
5243 escoger distintos conjuntos de marcas para distintos párrafos.
5247 \begin_layout Plain Layout
5248 Bien, en realidad sí se puede hacer, pero a mano.
5256 \begin_layout Subsection
5260 \begin_layout Standard
5261 Abre el diálogo siguiendo el camino de menú
5267 \SpecialChar menuseparator
5268 Configuración\SpecialChar menuseparator
5274 \begin_layout Standard
5275 El diálogo suministra un cuadro de símbolos para las marcas.
5280 hay una lista desplegable con seis paneles de símbolos.
5285 permite elegir el nivel para el que elegimos la marca.
5286 Un campo de texto bajo el cuadro permite escoger un símbolo personalizado
5287 poniendo su código \SpecialChar LaTeX
5291 \begin_layout Standard
5296 corresponden a los distintos paquetes requeridos.
5297 El cuadro siguiente recoge los nombres y sus paquetes asociados:
5300 \begin_layout Standard
5302 \begin_inset Tabular
5303 <lyxtabular version="3" rows="7" columns="2">
5304 <features tabularvalignment="middle">
5305 <column alignment="center" valignment="top" width="0pt">
5306 <column alignment="center" valignment="top" width="0pt">
5308 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5311 \begin_layout Plain Layout
5326 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5329 \begin_layout Plain Layout
5346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5349 \begin_layout Plain Layout
5364 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5367 \begin_layout Plain Layout
5376 base \SpecialChar LaTeX
5384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5387 \begin_layout Plain Layout
5402 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5405 \begin_layout Plain Layout
5422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5425 \begin_layout Plain Layout
5440 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5443 \begin_layout Plain Layout
5460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5463 \begin_layout Plain Layout
5478 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5481 \begin_layout Plain Layout
5498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5501 \begin_layout Plain Layout
5516 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5519 \begin_layout Plain Layout
5536 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5539 \begin_layout Plain Layout
5554 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5557 \begin_layout Plain Layout
5580 \begin_layout Standard
5582 no se detiene si usas marcas de paquetes no disponibles.
5583 Pero si se producen errores de \SpecialChar LaTeX
5584 al intentar ver o imprimir el archivo,
5585 probablemente se debe a la falta de algún paquete.
5589 \begin_layout Plain Layout
5591 no restringe su uso porque puede que estés editando localmente el archivo
5592 para procesarlo luego en otra máquina.
5600 \begin_layout Subsection
5604 \begin_layout Standard
5605 Selecciona la profundidad de nivel y luego elige la marca y su tamaño.
5606 Los cambios no serán visibles en \SpecialChar LyX
5607 pero sí lo serán en la salida procesada.
5610 \begin_layout Standard
5611 Se puede reiniciar una marca a su valor predeterminado con clic-derecha
5612 sobre el botón apropiado de nivel de profundidad.
5616 \begin_layout Plain Layout
5617 Si quieres tener varios conjuntos de párrafos con diferentes conjuntos de
5618 marcas en cada uno, tendrás que enfangarte con código \SpecialChar TeX
5620 El diálogo de selección de marcas puede, no obstante, ayudarte porque te
5621 suministra el código \SpecialChar LaTeX
5622 para un amplio rango de símbolos de marcas.
5623 Para hacer tus propios párrafos personalizados tienes las siguientes opciones:
5626 \begin_layout Plain Layout
5630 \begin_layout Plain Layout
5646 \begin_layout Plain Layout
5650 \begin_layout Plain Layout
5672 \begin_layout Itemize
5673 Usa el comando \SpecialChar LaTeX
5675 \begin_inset Flex Code
5678 \begin_layout Plain Layout
5686 para especificar un símbolo de marca para una profundidad determinada.
5687 Además tendrás que guardar la marca actual para que puedas recuperarla
5689 En esta lista no numerada se ha usado el siguiente código \SpecialChar LaTeX
5691 la marca del primer nivel:
5695 \begin_layout LyX-Code
5705 \begin_layout LyX-Code
5722 \begin_layout Itemize
5723 Observa que el nivel de profundidad se especifica en números romanos como
5727 \begin_inset Flex Code
5730 \begin_layout Plain Layout
5743 \begin_layout Itemize
5744 \begin_inset Argument item:1
5747 \begin_layout Plain Layout
5751 \begin_layout Plain Layout
5769 Especifica cada entrada individual empezando cada ítem con el símbolo escogido
5771 \begin_inset Quotes eld
5775 \begin_inset Quotes erd
5780 Insert\SpecialChar menuseparator
5784 \begin_inset Flex Code
5787 \begin_layout Plain Layout
5788 código \SpecialChar TeX
5795 Por ejemplo, este ítem se inicia con
5796 \begin_inset Flex Code
5799 \begin_layout Plain Layout
5814 \begin_layout Plain Layout
5818 \begin_layout Plain Layout
5834 \begin_layout Plain Layout
5835 Además tendrás que volver a la configuración inicial global de marcas para
5836 que esta vuelva a funcionar.
5837 Así hemos hecho con:
5840 \begin_layout LyX-Code
5850 \begin_layout LyX-Code
5859 \begin_layout Chapter
5864 \begin_layout Standard
5866 soporta desde hace tiempo la exportación de documentos a varios formatos
5867 adecuados para la web, como HTML.
5868 Sin embargo, antes de la versión 2.0, la exportación a HTML siempre se hacía
5869 mediante el uso de convertidores externos.
5873 \begin_layout Plain Layout
5888 Pueden actuar de dos maneras: usando \SpecialChar LaTeX
5889 como formato intermedio, como
5901 , encargándose \SpecialChar LyX
5902 de la generación del \SpecialChar LaTeX
5903 , o trabajando directamente sobre archivos
5911 Cada método tiene distintas ventajas e inconvenientes.
5915 \begin_layout Standard
5916 Los convertidores basados en \SpecialChar LaTeX
5917 tienen la ventaja de que, en principio, lo
5918 saben todo sobre el documento que exporta \SpecialChar LaTeX
5920 Estos convertidores no se preocupan, por ejemplo, de si determinado bloque
5921 de código fue generado por \SpecialChar LyX
5922 o si era código \SpecialChar TeX
5928 Saben manejar archivos
5932 , contadores, referencias, y generalmente pueden manejar archivos
5936 generados por Bib\SpecialChar TeX
5938 Por otra parte, \SpecialChar LaTeX
5939 es un lenguaje complejo de analizar —a veces se comenta
5940 que solo \SpecialChar TeX
5941 comprende a \SpecialChar TeX
5942 — y los convertidores basados en \SpecialChar LaTeX
5944 con estructuras aparentemente simples; las complejas pueden ahogarlos totalment
5945 e; en el momento de escribir esto, por ejemplo, el manual
5949 no se puede exportar con
5954 Las matemáticas son otro tema: estos convertidores suelen convertir las
5955 ecuaciones en pequeñas imágenes que se enlazan posteriormente al documento
5957 Puesto que realmente las ecuaciones son generadas por \SpecialChar LaTeX
5959 Pero no redimensionan bien su tamaño, y ajustar su aspecto al que debería
5960 tener en el documento —de forma que los tamaños de los caracteres parezcan
5961 aproximadamente iguales— puede ser un reto.
5965 \begin_layout Standard
5968 \begin_inset Flex Code
5971 \begin_layout Plain Layout
5982 , de Alex Fernández, (
5983 \begin_inset CommandInset href
5985 name "http://pinchito.es/elyxer/"
5986 target "http://pinchito.es/elyxer/"
5991 ) resuelve algunos de estos problemas.
5992 En particular, las ecuaciones generadas redimensionan el tamaño perfectamente,
5993 ya que las procesa usando una combinación de HTML y CSS en lugar de convertirla
5995 Pero incluso expresiones moderadamente complejas tienen un aspecto no tan
6000 ; esto refleja las limitaciones de HTML.
6004 \begin_layout Plain Layout
6010 también puede usar jsMath y MathJax, pero estas opciones solo están disponibles
6011 globalmente y requieren acceso al servidor que ejecuta el entorno.
6016 Y más importante (al menos desde la versión 1.1.1),
6017 \begin_inset Flex Code
6020 \begin_layout Plain Layout
6027 tiene soporte limitado para macros de ecuación y no lo tiene para párrafos
6028 o estilos de texto definidos por el usuario.
6029 Estas limitaciones hacen a
6030 \begin_inset Flex Code
6033 \begin_layout Plain Layout
6040 inadecuado para muchos documentos de \SpecialChar LyX
6042 En principio, por supuesto, estos problemas se podrían resolver, pero los
6043 desarrolladores de \SpecialChar LyX
6044 han decidido seguir una vía diferente y hacer al propio
6046 capaz de escribir XHTML, igual que es capaz de escribir \SpecialChar LaTeX
6051 \begin_layout Standard
6052 En el momento de escribir esto, La salida XHTML está en desarrollo y debería
6054 \begin_inset Quotes cld
6058 \begin_inset Quotes crd
6065 \begin_layout Plain Layout
6067 \begin_inset Flex Code
6070 \begin_layout Plain Layout
6071 development/HTML/HTML.notes
6076 que está en el código fuente de \SpecialChar LyX
6078 \begin_inset CommandInset href
6080 name "accessed online"
6081 target "https://www.lyx.org/trac/browser/lyxgit/development/HTML/HTML.notes?rev=master"
6086 , contiene información actualizada sobre el estado de XHTML.
6087 Véase también la lista de fallos en XHTML en
6088 \begin_inset CommandInset href
6090 name "the bug tracker"
6091 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"
6101 Aún así, los desarrolladores han escogido este camino porque tiene ventajas
6102 potenciales sobre los otros dos.
6105 \begin_layout Standard
6106 Estas ventajas se deben, en primer lugar, al hecho de que las rutinas para
6107 exportar XHTML, ya que son parte de \SpecialChar LyX
6108 , conocen todo lo que \SpecialChar LyX
6110 documento a exportar.
6114 \begin_layout Plain Layout
6115 Otra ventaja es que, puesto que estas rutinas son internas de \SpecialChar LyX
6117 a los cambios en el formato de los archivos de \SpecialChar LyX
6118 o en la semántica de los
6119 recuadros insertados.
6125 Así pues, conocen sobre los índices (mostrados en el contorno), sobre los
6126 contadores asociados a estilos de párrafo, y sobre estilos personalizados.
6127 Las rutinas XHTML también saben sobre internacionalización lo mismo que
6129 , de modo que la salida dirá
6130 \begin_inset Quotes cld
6134 \begin_inset Quotes crd
6138 \begin_inset Quotes cld
6142 \begin_inset Quotes crd
6145 según el idioma activo.
6148 \begin_layout Standard
6149 En general, las rutinas de salida saben lo mismo que \SpecialChar LyX
6150 sobre el formato del
6151 documento, es decir, sobre cómo se mostrará el documento en pantalla.
6152 Usamos esta información cuando exportamos a XHTML.
6153 En particular, \SpecialChar LyX
6158 la información de estilo CSS correspondiente a la información que maneja
6159 para mostrar el documento en pantalla: si los encabezados de sección son
6160 palo seco en negrita en pantalla, entonces también (por omisión) serán
6161 palo seco negrita en un navegador web.
6162 Y esto es cierto no solo para estilos predefinidos, como una sección, sino
6163 para cualquier estilo, incluyendo los definidos por el usuario.
6164 En realidad, las rutinas XHTML no distinguen entre estilos de texto y de
6165 párrafo personalizados y los predefinidos por el propio \SpecialChar LyX
6167 todo lo que \SpecialChar LyX
6168 sabe sobre estilos está contenido en los archivos de formato.
6169 Y lo mismo se puede afirmar en relación a los recuadros de texto predefinidos,
6170 como notas al pie y varios recuadros personalizados.
6173 \begin_layout Standard
6174 El resultado es que la salida XHTML se puede personalizar y extender de
6175 igual forma que se puede hacer con la salida \SpecialChar LaTeX
6176 : mediante archivos de formato
6178 Véase el capítulo 5 del manual
6185 \begin_layout Standard
6186 El resto de este capítulo contiene información más detallada sobre la salida
6187 XHTML, sus limitaciones y formas de evitarlas.
6190 \begin_layout Section
6191 Las ecuaciones en XHTML
6194 \begin_layout Standard
6196 ofrece cuatro posibilidades para el procesamiento de matemáticas.
6197 Cada una tiene sus ventajas y sus inconvenientes.
6200 \begin_layout Itemize
6202 \begin_inset Newline newline
6205 MathML es un dialecto de XML diseñado específicamente para matemáticas en
6206 la web, y habitualmente rinde muy bien en los navegadores que lo soportan.
6207 La desventaja es que no todos los navegadores soportan MathML, y el soporte
6208 no es completo en navegadores basados en Gecko, como Firefox.
6209 \begin_inset Newline newline
6213 no es capaz de procesar una fórmula como MathML —por ejemplo, si la
6214 ecuación usa el paquete
6215 \begin_inset Flex Code
6218 \begin_layout Plain Layout
6224 o código \SpecialChar TeX
6225 — la transformará en imagen.
6228 \begin_layout Itemize
6230 \begin_inset Newline newline
6233 Como se ha dicho antes,
6234 \begin_inset Flex Code
6237 \begin_layout Plain Layout
6244 procesa las matemáticas como HTML usando estilos CSS.
6248 \begin_layout Plain Layout
6251 \begin_inset Flex Code
6254 \begin_layout Plain Layout
6261 parte del CSS para su salida HTML.
6266 Para ecuaciones simple funciona bastante bien, aunque con expresiones más
6267 complejas tiende a fallar.
6268 Aún así, este método tiene la ventaja de que es ampliamente soportado y
6269 puede ser apropiado para documentos que tengan pocas y sencillas ecuaciones.
6270 \begin_inset Newline newline
6274 es incapaz de procesar una ecuación como HTML —por ejemplo, si la ecuación
6276 \begin_inset Flex Code
6279 \begin_layout Plain Layout
6285 o código \SpecialChar TeX
6286 — la transformará en imagen.
6289 \begin_layout Itemize
6291 \begin_inset Newline newline
6295 \begin_inset Flex Code
6298 \begin_layout Plain Layout
6305 transformará las ecuaciones en imágenes, las mismas, de hecho, que se
6306 usan para la visualización instantánea.
6310 \begin_layout Plain Layout
6315 es preciso que esté activa la previsualización instantánea para ver las
6316 imágenes en la salida.
6321 La ventaja de este método es que las imágenes son simplemente generadas
6322 por \SpecialChar LaTeX
6323 , por lo que son muy precisas.
6324 La desventaja, como ya hemos dicho, es que son imágenes mapa de bits, por
6325 lo que no se redimensionan nada bien y no se pueden copiar, etc.
6327 \begin_inset Newline newline
6330 El tamaño de las imágenes se puede controlar estableciendo el parámetro
6332 \begin_inset Quotes cld
6335 Escala de imágenes de ecuaciones
6336 \begin_inset Quotes crd
6340 \begin_inset Flex Noun
6343 \begin_layout Plain Layout
6344 Documento\SpecialChar menuseparator
6345 Configuración\SpecialChar menuseparator
6356 \begin_layout Plain Layout
6357 Por si interesa: esto controla la resolución de la imagen en puntos por
6358 pulgada, y se basa en un valor inicial de 75 ppp.
6364 \begin_inset Newline newline
6367 Si, por alguna razón, \SpecialChar LyX
6368 falla al crear una imagen para una ecuación (p.
6369 \begin_inset space ~
6372 ej., si no está instalado un paquete \SpecialChar LaTeX
6373 requerido), generará la salida en \SpecialChar LaTeX
6378 \begin_layout Itemize
6381 \begin_inset Newline newline
6384 Para acabar, \SpecialChar LyX
6385 generará salida alegremente las ecuaciones como \SpecialChar LaTeX
6387 Siendo la solución de último recurso, este método puede usarse con herramientas
6389 \begin_inset CommandInset href
6392 target "http://www.math.union.edu/~dpvc/jsMath/"
6397 , que usa JavaScript para insertar \SpecialChar LaTeX
6400 envuelve el \SpecialChar LaTeX
6402 \begin_inset Flex Code
6405 \begin_layout Plain Layout
6411 (para fórmulas en línea) o en un
6412 \begin_inset Flex Code
6415 \begin_layout Plain Layout
6421 (para fórmulas presentadas) con
6422 \begin_inset Flex Code
6425 \begin_layout Plain Layout
6431 , tal como requiere jsMath.
6434 \begin_layout Standard
6435 Debemos seleccionar uno de estos métodos en
6436 \begin_inset Flex Noun
6439 \begin_layout Plain Layout
6440 Documento\SpecialChar menuseparator
6441 Configuración\SpecialChar menuseparator
6448 Por omisión, \SpecialChar LyX
6450 Se trata de una configuración para todo el documento.
6453 \begin_layout Standard
6454 Eventualmente, \SpecialChar LyX
6455 ofrecerá al usuario la opción de seleccionar un método alternati
6456 vo para algún recuadro en particular, en el caso de que no se procese adecuadame
6461 \begin_layout Plain Layout
6462 Dicho esto, como \SpecialChar LyX
6463 recurre a imágenes si el recuadro contiene código \SpecialChar TeX
6465 posible forzar la salida como imagen poniendo algún código \SpecialChar TeX
6467 ecuación, por ejemplo
6468 \begin_inset Formula $a=b\relax$
6479 \begin_layout Section
6480 Bibliografía y citas
6483 \begin_layout Standard
6484 XHTML soporta totalmente bibliografías y citas.
6487 \begin_layout Standard
6488 Las etiquetas de citas se generan con el mismo mecanismo que genera las
6489 etiquetas en la pantalla de \SpecialChar LyX
6490 , así que las etiquetas tendrán el mismo aspecto
6491 que en \SpecialChar LyX
6493 Si se usan citas numeradas, \SpecialChar LyX
6494 generará etiquetas numeradas, como [1], [17],
6495 en vez de mostrar las claves de las citas entre corchetes, como hace en
6497 Si se usan citas autor-año, \SpecialChar LyX
6498 añadirá letras minúsculas a los años, como
6499 hace Bib\SpecialChar TeX
6500 , si encuentra más de una cita para una combinación dada autor-año.
6501 Las etiquetas se imprimirán con las entradas bibliográficas.
6502 Hay que advertir que, por el momento, no hay forma de personalizar el aspecto
6503 de las etiquetas, por ejemplo para elegir entre corchetes o paréntesis.
6506 \begin_layout Standard
6507 Para la salida de la bibliografía interviene el mismo mecanismo que maneja
6508 la presentación de la información de las referencias en el diálogo de citas,
6509 de modo que se verán en XHTML como se ven en el diálogo de citas.
6510 El formato se puede personalizar en un archivo de usuario o, preferiblemente,
6519 \begin_layout Standard
6520 El defecto principal en estos momentos es que la información de las referencias
6521 cruzadas se imprime junto con cada entrada con la que está asociada.
6522 Entonces, puedes ver cosas como estas:
6527 \begin_inset Quotes eld
6530 Context and Logical Form
6531 \begin_inset Quotes erd
6536 Language in Context: Selected Essays
6538 (Oxford: Oxford University Press, 2007), pp.
6544 \begin_inset Quotes eld
6547 Semantics in Context
6548 \begin_inset Quotes erd
6553 Language in Context: Selected Essays
6555 (Oxford: Oxford University Press, 2007), pp.
6559 \begin_layout Standard
6560 Esto debería estar pronto solucionado.
6563 \begin_layout Standard
6564 De momento no hay soporte para bibliografías por secciones.
6565 Si tienes múltiples bibliografías, \SpecialChar LyX
6566 imprimirá la misma una y otra vez.
6569 \begin_layout Section
6573 \begin_layout Standard
6574 Afortunadamente, \SpecialChar LyX
6575 exportará los índices como XHTML, aunque con ciertas limitacio
6576 nes, por el momento.
6579 \begin_layout Standard
6580 La exportación de índices será más fiable si no intentas usar las elegantes
6581 estructuras que se describen en la sección sobre índices de ls
6589 \begin_layout Plain Layout
6590 La cuestión principal es que \SpecialChar LyX
6591 no maneja esto por sí mismo.
6592 Solo deja que introduzcas lo que deberías introducir en \SpecialChar LaTeX
6598 Describiremos cómo se manejan usando los encabezados de subsección de esta
6602 \begin_layout Itemize
6603 Agrupación de entradas de índice (subentradas): \SpecialChar LyX
6604 se esfuerza en soportar
6605 esto, pero las entradas deben separarse por
6606 \begin_inset Quotes cld
6610 \begin_inset Quotes crd
6613 , es decir, debe haber espacios alrededor del signo de exclamación.
6614 Esto es porque de otra manera sería complicado comprobar puntos de exclamación
6615 escapados en matemáticas, etc.
6618 \begin_layout Itemize
6619 Rangos de páginas: no hay soporte para rangos de páginas, puesto que esto
6620 no tiene sentido en XHTML.
6621 En su lugar, solo se mostrarán dos entradas de índice, uno en cada extremo.
6624 \begin_layout Itemize
6625 Referencias cruzadas: no hay soporte para esto.
6627 encuentra una entrada de la forma
6628 \begin_inset Quotes cld
6632 \begin_inset Quotes crd
6635 la ignora y el resto lo considera como una entrada de índice ordinaria.
6638 \begin_layout Itemize
6639 Orden de las entradas de índice: \SpecialChar LyX
6640 no soporta maniobras para fijar el orden
6642 Tomará lo que está antes del primer @ que encuentre y lo usará para ordenarlo,
6643 tomando lo que sigue a @ como la entrada real.
6644 Por el momento \SpecialChar LyX
6645 no identifica la @ escapada, por tanto no intentes indexar
6646 direcciones de correo.
6649 \begin_layout Itemize
6650 Formato de entradas de índice: Se pueden formatear entradas mediante el
6651 diálogo de estilo del texto, o con otro método disponible en \SpecialChar LyX
6653 No hay soporte para estructuras como
6654 \begin_inset Quotes cld
6658 \begin_inset Quotes crd
6663 encuentra un símbolo de tubería, '|' en una entrada lo borrará, y todo
6667 \begin_layout Itemize
6668 Índices múltiples: no hay soporte para esto.
6669 Todas las entradas de estos índices se imprimirán como un solo índice.
6670 Para evitar la impresión de varias versiones del índice, imprimiremos solo
6671 el índice principal, de modo que asegúrate de tener uno.
6674 \begin_layout Section
6675 Nomenclatura y glosario
6678 \begin_layout Standard
6679 Por ahora no hay soporte para glosarios.
6680 Añadirlo debería ser bastante trivial, y bienvenido.
6683 \begin_layout Chapter
6684 El servidor \SpecialChar LyX
6688 \begin_layout Section
6692 \begin_layout Standard
6693 El 'servidor \SpecialChar LyX
6694 ' permite a otros programas comunicarse con \SpecialChar LyX
6697 y recabar información sobre el estado interno de \SpecialChar LyX
6699 Esto está dirigido solo a usuarios avanzados, quienes descubrirán su utilidad.
6700 Escribiendo al servidor, por ejemplo, los administradores de bibliografía,
6701 como JabRef, pueden dar
6702 \begin_inset Quotes cld
6706 \begin_inset Quotes crd
6709 a las citas en \SpecialChar LyX
6713 \begin_layout Section
6714 Iniciar el servidor \SpecialChar LyX
6716 \begin_inset CommandInset label
6718 name "sec:Iniciar-el-servidor"
6725 \begin_layout Standard
6726 El servidor \SpecialChar LyX
6727 funciona mediante el uso de un par de las denominadas tuberías.
6728 Estas se encuentran generalmente en
6729 \begin_inset Flex Code
6732 \begin_layout Plain Layout
6738 (no en Windows, en donde las tuberías
6743 \begin_inset Flex Code
6746 \begin_layout Plain Layout
6759 \begin_inset Flex Code
6762 \begin_layout Plain Layout
6769 \begin_inset Flex Code
6772 \begin_layout Plain Layout
6779 Los programas externos escriben en
6780 \begin_inset Flex Code
6783 \begin_layout Plain Layout
6790 \begin_inset Flex Code
6793 \begin_layout Plain Layout
6800 La raíz de los nombres de las tuberías se puede definir en el diálogo
6802 Herramientas\SpecialChar menuseparator
6806 \begin_inset Flex Code
6809 \begin_layout Plain Layout
6810 "/home/myhome/lyxpipe"
6816 \begin_inset Flex Code
6819 \begin_layout Plain Layout
6833 en Windows (donde se puede usar cualquier ruta en vez de lyxpipe, por ejemplo
6835 \begin_inset Flex Code
6838 \begin_layout Plain Layout
6861 configurar esto a mano para que arranque el servidor.
6864 \begin_layout Standard
6866 añadirá las extensiones '
6867 \begin_inset Flex Code
6870 \begin_layout Plain Layout
6877 \begin_inset Flex Code
6880 \begin_layout Plain Layout
6886 ' para crear las tuberías.
6887 Si alguna de ellas ya existe, \SpecialChar LyX
6888 asumirá que se está ejecutando otro proceso
6889 y no iniciará el servidor.
6890 Esto significa que si \SpecialChar LyX
6891 se bloquea, o si por alguna otra razón queda una
6893 \begin_inset Quotes cld
6897 \begin_inset Quotes crd
6900 cuando \SpecialChar LyX
6901 se cierra, entonces \SpecialChar LyX
6902 no iniciará el servidor.
6904 Tendrás que borrar las tuberías a mano y después reiniciar \SpecialChar LyX
6908 \begin_layout Standard
6909 Para tener al mismo tiempo varios procesos con servidores hay que usar diferente
6910 s configuraciones, quizás usando distintos directorios de usuario, cada
6911 uno con su propio archivo
6912 \begin_inset Flex Code
6915 \begin_layout Plain Layout
6924 \begin_layout Standard
6925 Si estás desarrollando un programa cliente, podría ser útil activar la informaci
6926 ón de depuración del servidor de \SpecialChar LyX
6928 Esto se hace iniciando \SpecialChar LyX
6930 \begin_inset Flex Code
6933 \begin_layout Plain Layout
6942 \begin_layout Standard
6943 Puedes encontrar un ejemplo completo de cliente escrito en C++ en la distribució
6945 \begin_inset Flex Code
6948 \begin_layout Plain Layout
6949 development/lyxserver/server_monitor.cpp
6957 \begin_layout Standard
6958 Otra herramienta útil es el cliente en línea de comandos
6959 \begin_inset Flex Code
6962 \begin_layout Plain Layout
6963 src/client/lyxclient
6971 \begin_layout Section
6975 \begin_layout Standard
6976 Para emitir una llamada a \SpecialChar LyX
6977 , el cliente escribe una línea de texto ASCII
6978 en la tubería de entrada.
6979 Esta línea tiene el siguiente formato:
6996 \begin_layout Description
6997 clientname es un nombre que el cliente puede escoger arbitrariamente.
6998 Su única función es que \SpecialChar LyX
6999 lo repetirá si envía una respuesta —así un cliente
7000 puede enviar resultados desde diferentes solicitantes.
7003 \begin_layout Description
7004 function es la función que quieres que \SpecialChar LyX
7006 Es lo mismo que los comandos que usarías en el minibúfer.
7009 \begin_layout Description
7010 argument es un argumento opcional que solo es significativo para ciertas
7011 funciones (por ejemplo, la función LFUN
7012 \begin_inset Quotes cld
7016 \begin_inset Quotes crd
7019 insertará el argumento como texto en la posición del cursor).
7022 \begin_layout Standard
7023 La respuesta de \SpecialChar LyX
7024 llegará en la tubería de salida y será de la forma
7041 \begin_layout Standard
7050 solo son respuestas del comando solicitante, mientras que
7054 es información más o menos útil sobre cómo ha funcionado la ejecución del
7056 Algunos comandos, tales como
7057 \begin_inset Quotes cld
7061 \begin_inset Quotes crd
7064 , devolverán información sobre el estado interno de \SpecialChar LyX
7065 , mientras que otros
7066 devolverán una respuesta vacía.
7067 Esto significa que la ejecución del comando fue correcta.
7070 \begin_layout Standard
7071 En caso de errores la respuesta de \SpecialChar LyX
7089 \begin_layout Standard
7094 debería contener una explicación de por qué falló el comando.
7097 \begin_layout Standard
7101 \begin_layout LyX-Code
7102 echo "LYXCMD:test:beginning-of-buffer:" >~/.lyxpipe.in
7105 \begin_layout LyX-Code
7106 echo "LYXCMD:test:get-xy:" >~/.lyxpipe.in
7107 \begin_inset Newline newline
7110 read a <~/.lyxpipe.out
7111 \begin_inset Newline newline
7117 \begin_layout Subsection
7118 AppleScript (Mac OS X)
7121 \begin_layout Standard
7122 Desde \SpecialChar LyX
7123 2.1, \SpecialChar LyX
7124 soporta interacciones básicas con AppleScript para comunicación
7125 normal mediante el comando run.
7126 Este comando toma un argumento directo (la
7130 a realizar) y un argumento opcional.
7131 Devuelve la salida de la función o desencadena un error con un mensaje
7135 \begin_layout Standard
7139 \begin_layout LyX-Code
7140 tell application "\SpecialChar LyX
7144 \begin_layout LyX-Code
7148 \begin_layout LyX-Code
7149 -- Stores the current file name into f
7152 \begin_layout LyX-Code
7153 set f to (run "server-get-filename" with argument "")
7156 \begin_layout LyX-Code
7157 on error the error_message number the error_number
7160 \begin_layout LyX-Code
7161 display dialog "Error: " & the error_number & ".
7165 \begin_layout LyX-Code
7166 & the error_message buttons {"OK"} default button 1
7169 \begin_layout LyX-Code
7173 \begin_layout LyX-Code
7177 \begin_layout Section
7181 \begin_layout Standard
7183 puede notificar a los clientes acontecimientos ocurridos de manera asíncrona.
7184 Actualmente solo lo hará si el usuario liga una secuencia de teclas a la
7186 \begin_inset Quotes cld
7190 \begin_inset Quotes crd
7194 El formato de la cadena que envía \SpecialChar LyX
7199 \begin_inset Flex Code
7202 \begin_layout Plain Layout
7213 \begin_layout Standard
7218 es la representación impresa de la secuencia de teclas que fue realmente
7219 tecleada por el usuario.
7222 \begin_layout Standard
7223 Este mecanismo puede utilizarse para ampliar el conjunto de comandos de
7225 e implementar macros.
7226 Asocia alguna secuencia de teclas a
7227 \begin_inset Quotes cld
7231 \begin_inset Quotes crd
7235 Después inicia un cliente que escucha en la tubería de salida, envía el
7236 comando acorde con la secuencia e inicia una función que pueda usar llamadas
7237 y solicitudes a \SpecialChar LyX
7238 para emitir un comando o una serie de comandos a \SpecialChar LyX
7242 \begin_layout Section
7243 El sencillo protocolo del servidor \SpecialChar LyX
7247 \begin_layout Standard
7249 implementa un protocolo sencillo que puede utilizarse para administrar
7251 Todos los mensajes son de la forma
7264 \begin_layout Standard
7270 \begin_inset Quotes cld
7274 \begin_inset Quotes crd
7278 \begin_inset Quotes cld
7282 \begin_inset Quotes crd
7287 \begin_inset Quotes cld
7291 \begin_inset Quotes crd
7294 de un cliente, \SpecialChar LyX
7295 devolverá información al cliente de que está escuchando
7296 sus mensajes, mientras que
7297 \begin_inset Quotes cld
7301 \begin_inset Quotes crd
7304 enviado desde \SpecialChar LyX
7305 informará a los clientes que \SpecialChar LyX
7309 \begin_layout Section
7310 Búsqueda inversa DVI/PDF
7313 \begin_layout Standard
7314 Algunos visores DVI/PDF
7318 \begin_layout Plain Layout
7319 Okular en KDE/Linux, Qpdfview en Unix, Skim en Mac OSX y SumatraPDF en Windows.
7324 ofrecen la posibilidad de
7329 Esto quiere decir que puedes indicar a \SpecialChar LyX
7330 que coloque el cursor en una línea
7331 determinada en el documento haciendo clic en la posición correspondiente
7332 en la salida DVI/PDF.
7333 Para ello, el visor ha de ser capaz de comunicarse con \SpecialChar LyX
7335 Esto se consigue mediante el servidor \SpecialChar LyX
7340 ) o el zócalo de dominio UNIX (
7344 ) que \SpecialChar LyX
7345 crea en su directorio temporal (esta es la forma en que \SpecialChar LyX
7348 \begin_inset Flex Code
7351 \begin_layout Plain Layout
7358 En algunos casos, hará falta un guión de apoyo que medie entre el visor
7360 , en otros, el visor se podrá comunicar directamente con \SpecialChar LyX
7362 Esto depende del visor seleccionado y del sistema operativo.
7363 Lo mismo es aplicable a la forma en que los visores deben configurarse
7364 y la forma en que la búsqueda inversa se lleva a cabo realmente.
7365 En lo que sigue, describiremos cómo se configura la búsqueda en visores
7367 Antes, sin embargo, explicamos lo que hay que hacer en general para habilitar
7368 la búsqueda inversa en el DVI/PDF.
7371 \begin_layout Subsection
7372 Activación automática
7373 \begin_inset CommandInset label
7375 name "subsec:Activación-automática"
7382 \begin_layout Standard
7383 En la mayoría de los casos \SpecialChar LyX
7386 pressing the following button in the toolbar:
7389 arg "buffer-toggle-output-sync"
7393 Alternatively, you can also enable the feature by checking
7395 Synchronize with Output
7398 \begin_inset Flex Noun
7401 \begin_layout Plain Layout
7404 Document\SpecialChar menuseparator
7405 Settings\SpecialChar menuseparator
7413 En estos casos \SpecialChar LyX
7414 insertará automáticamente la macro
7415 \begin_inset Flex Code
7418 \begin_layout Plain Layout
7419 Sync\SpecialChar TeX
7425 (para PDF) o el paquete
7426 \begin_inset Flex Code
7429 \begin_layout Plain Layout
7436 Esta opción está fácilmente disponible, además, en la barra de herramientas
7438 \begin_inset Flex Noun
7441 \begin_layout Plain Layout
7450 \begin_layout Standard
7451 Si necesitas una configuración diferente, puedes seleccionar o introducir
7452 una macro personalizada desde el cuadro desplegable bajo
7453 \begin_inset Flex Noun
7456 \begin_layout Plain Layout
7457 Documento\SpecialChar menuseparator
7458 Configuración\SpecialChar menuseparator
7459 Salidas\SpecialChar menuseparator
7460 Sincronizar con salida
7468 \begin_layout Standard
7470 \begin_inset Flex Code
7473 \begin_layout Plain Layout
7481 activa compresión gzip.
7482 Si el visor no lo soporta, sería mejor usar
7483 \begin_inset Flex Code
7486 \begin_layout Plain Layout
7497 \begin_layout Standard
7498 Advirtamos que la inclusión de los paquetes
7499 \begin_inset Flex Code
7502 \begin_layout Plain Layout
7509 \begin_inset Flex Code
7512 \begin_layout Plain Layout
7518 puede tener a veces un impacto no deseado en la tipografía; entonces, si
7519 se usa alguno de dichos paquetes habría que desactivar la sincronización
7520 para la composición final.
7523 \begin_layout Standard
7524 En caso de necesitar otros ajustes más específicos no cubiertos por la configura
7525 ción automática, lee la sección siguiente sobre activación manual.
7526 Si la configuración automática cubre tus necesidades, puedes pasar directamente
7528 \begin_inset CommandInset ref
7530 reference "subsec:Configuración-y-uso-de-visores"
7534 , en la que se describen los pasos necesarios para configurar el visor —necesari
7535 os tanto para configuración automática como manual.
7538 \begin_layout Subsection
7542 \begin_layout Standard
7544 proporciona varios métodos para la búsqueda inversa.
7545 Algunos son parte del programa
7546 \begin_inset Flex Code
7549 \begin_layout Plain Layout
7555 , otros forman parte de paquetes externos.
7556 La elección depende de si la distribución \SpecialChar LaTeX
7557 instalada ya proporciona un
7558 método (los métodos incorporados son bastante nuevos) y si el visor a usar
7559 puede enfrentarse a este.
7560 Describimos a continuación los métodos disponibles.
7563 \begin_layout Subsubsection*
7564 Buscador DVI incorporado vía src-specials (solo DVI)
7567 \begin_layout Standard
7568 Este método proporciona el archivo DVI con la información necesaria para
7569 realizar búsqueda inversa.
7570 Está disponible en \SpecialChar LaTeX
7571 desde hace tiempo (cualquier distribución reciente
7572 lo debe incluir) y es fiable.
7573 Para habilitarlo, cambia el convertidor
7574 \begin_inset Flex Code
7577 \begin_layout Plain Layout
7584 \begin_inset Flex Code
7587 \begin_layout Plain Layout
7588 LaTeX (plain)->DraftDVI
7594 \begin_inset Flex Noun
7597 \begin_layout Plain Layout
7598 Herramientas\SpecialChar menuseparator
7599 Preferencias\SpecialChar menuseparator
7600 Gestión de archivos\SpecialChar menuseparator
7607 \begin_inset Flex Code
7610 \begin_layout Plain Layout
7611 latex -src-specials $$i
7617 Si no funciona, comprueba si tu maquinaria \SpecialChar TeX
7618 necesita opciones diferentes
7619 (la sintaxis podría diferir en algunas distribuciones).
7622 \begin_layout Subsubsection*
7623 Paquetes externos (PDFSync y srcltx)
7626 \begin_layout Standard
7628 \begin_inset Flex Code
7631 \begin_layout Plain Layout
7638 \begin_inset Flex Code
7641 \begin_layout Plain Layout
7647 proporcionan la función búsqueda inversa para PDF (vía pdflatex) y DVI,
7649 Para habilitarlos carga el paquete en el preámbulo \SpecialChar LaTeX
7653 \begin_layout Itemize
7654 \begin_inset Flex Code
7657 \begin_layout Plain Layout
7665 para búsqueda inversa en PDF
7668 \begin_layout Itemize
7669 \begin_inset Flex Code
7672 \begin_layout Plain Layout
7675 usepackage[active]{srcltx}
7680 para búsqueda inversa en DVI
7683 \begin_layout Standard
7684 Para habilitar el uso de ambos inserta las siguientes líneas:
7687 \begin_layout LyX-Code
7691 \begin_inset Newline newline
7697 \begin_inset Newline newline
7703 \begin_inset Newline newline
7709 \begin_inset Newline newline
7714 usepackage[active]{srcltx}
7715 \begin_inset Newline newline
7723 \begin_layout Standard
7724 Así, el archivo se puede ver tanto como DVI como PDF (pdflatex), usando
7725 el paquete adecuado.
7728 \begin_layout Standard
7729 Advirtamos que PDFSync podría afectar el formato de salida del documento.
7730 Por eso es conveniente deshabilitar PDFSync para componer el documento
7734 \begin_layout Subsubsection*
7735 Búsqueda inversa incorporada vía Sync\SpecialChar TeX
7739 \begin_layout Standard
7740 Las recientes versiones de
7741 \begin_inset Flex Code
7744 \begin_layout Plain Layout
7750 incorporan soporte para búsqueda inversa en PDF y DVI.
7751 La instalación llamada
7753 Sync\SpecialChar TeX
7756 es básicamente el resultado de integrar el paquete PDFSync en pdftex y
7757 su fusión con el enfoque
7762 Para usarla hace falta al menos \SpecialChar TeX
7763 Live 2008 o una distribución Mik\SpecialChar TeX
7765 Además, solo unos pocos visores PDF (
7769 Okular y Qpdfview en Unix, Skim en Mac, SumatraPDF en Windows
7771 ; see the next section for details
7773 ) proporcionan por ahora soporte para Sync\SpecialChar TeX
7777 \begin_layout Standard
7778 Para activar Sync\SpecialChar TeX
7779 en DVI, cambia el convertidor
7780 \begin_inset Flex Code
7783 \begin_layout Plain Layout
7784 LaTeX (plain) -> DVI
7790 \begin_inset Flex Code
7793 \begin_layout Plain Layout
7794 LaTeX (plain) -> DraftDVI
7800 \begin_inset Flex Noun
7803 \begin_layout Plain Layout
7804 Herramientas\SpecialChar menuseparator
7805 Preferencias\SpecialChar menuseparator
7806 Gestión de archivos\SpecialChar menuseparator
7813 \begin_inset Flex Code
7816 \begin_layout Plain Layout
7817 latex -synctex=1 $$i
7823 \begin_inset Flex Code
7826 \begin_layout Plain Layout
7827 LaTeX (pdflatex) -> PDF (pdflatex)
7833 \begin_inset Flex Code
7836 \begin_layout Plain Layout
7837 pdflatex -synctex=1 $$i
7845 Should your viewer not be considered in the following description, or in
7846 case of missing success, please
7848 consulta en la documentación de tu visor si necesita ser configurado para
7849 usarlo con Sync\SpecialChar TeX
7854 \begin_layout Plain Layout
7856 \begin_inset Flex Code
7859 \begin_layout Plain Layout
7865 permite compresión gzip.
7866 Si el visor no lo soporta, entonces usa
7867 \begin_inset Flex Code
7870 \begin_layout Plain Layout
7884 \begin_layout Subsection
7885 Configuración y uso de visores específicos
7886 \begin_inset CommandInset label
7888 name "subsec:Configuración-y-uso-de-visores"
7895 \begin_layout Subsubsection*
7896 Xdvi (todas las plataformas)
7899 \begin_layout Standard
7901 \begin_inset Flex Code
7904 \begin_layout Plain Layout
7910 no necesitas hacer nada para utilizar la búsqueda inversa en DVI, ya que
7912 proporciona los ganchos necesarios para usar automáticamente el programa
7914 \begin_inset Flex Code
7917 \begin_layout Plain Layout
7924 Basta con configurar tu documento como se describió antes (la búsqueda
7925 inversa se inicia con Ctrl-clic o Alt-clic en Mac OSX).
7928 \begin_layout Standard
7929 Sin embargo, si por la razón que sea quieres usar la tubería en vez del
7930 zócalo para comunicar con \SpecialChar LyX
7931 , simplemente cambia el visor DVI en
7932 \begin_inset Flex Noun
7935 \begin_layout Plain Layout
7936 Herramientas\SpecialChar menuseparator
7937 Preferencias\SpecialChar menuseparator
7938 Gestión de archivos\SpecialChar menuseparator
7945 \begin_inset Flex Code
7948 \begin_layout Plain Layout
7949 xdvi -editor "lyxeditor.sh %f %l"
7958 \begin_layout Plain Layout
7959 En Mac OSX hay que usar
7960 \begin_inset Flex Code
7963 \begin_layout Plain Layout
7964 DISPLAY=:0.0 xdvi -editor "lyxeditor.sh %f %l"
7975 \begin_inset Flex Code
7978 \begin_layout Plain Layout
7984 es un guión apropiado.
7985 Por ejemplo, un mínimo guión de shell es el siguiente:
7988 \begin_layout LyX-Code
7990 \begin_inset Newline newline
7993 LYXPIPE="/ruta/a/lyxpipe"
7994 \begin_inset Newline newline
7997 COMMAND="LYXCMD:revdvi:server-goto-file-row:$1 $2"
7998 \begin_inset Newline newline
8001 echo "$COMMAND" > "${LYXPIPE}".in || exit
8002 \begin_inset Newline newline
8005 read TMP < "${LYXPIPE}".out || exit
8008 \begin_layout Standard
8010 \begin_inset Flex Code
8013 \begin_layout Plain Layout
8019 es la ruta de la tubería \SpecialChar LyX
8020 Server especificada en
8021 \begin_inset Flex Noun
8024 \begin_layout Plain Layout
8025 Herramientas\SpecialChar menuseparator
8026 Preferencias\SpecialChar menuseparator
8036 \begin_layout Plain Layout
8038 \begin_inset Flex Code
8041 \begin_layout Plain Layout
8047 de una distribución fuente puedes encontrar un guión
8048 \begin_inset Flex Code
8051 \begin_layout Plain Layout
8062 basado en tus preferencias.
8070 \begin_layout Subsubsection*
8074 \begin_layout Standard
8076 \begin_inset Flex Code
8079 \begin_layout Plain Layout
8080 /Applications/MacDviX_Folder/calleditor.script
8088 \begin_layout LyX-Code
8089 /Applications/LyX.app/Contents/MacOS/lyxeditor "$2" $1
8090 \begin_inset Newline newline
8096 \begin_layout Standard
8097 Modifica las líneas si \SpecialChar LyX
8098 está instalado en algún otro lugar distinto de la
8099 carpeta 'Applications'.
8102 \begin_layout Standard
8103 La búsqueda inversa se lanza con Alt-clic (OPCIÓN-clic).
8106 \begin_layout Subsubsection*
8110 \begin_layout Standard
8112 \begin_inset Flex Code
8115 \begin_layout Plain Layout
8116 open -a Skim.app $$i
8121 en la configuración del visor en
8122 \begin_inset Flex Noun
8125 \begin_layout Plain Layout
8126 Herramientas\SpecialChar menuseparator
8127 Preferencias\SpecialChar menuseparator
8128 Gestión de archivos\SpecialChar menuseparator
8135 \begin_inset Flex Code
8138 \begin_layout Plain Layout
8139 Skim\SpecialChar menuseparator
8140 Preferences\SpecialChar menuseparator
8146 selecciona \SpecialChar LyX
8150 \begin_layout Standard
8151 La búsqueda inversa se inicia con COMANDO-MAYÚSCULAS-clic.
8154 \begin_layout Subsubsection*
8158 \begin_layout Standard
8160 \begin_inset Flex Noun
8163 \begin_layout Plain Layout
8164 Configurar\SpecialChar menuseparator
8165 Configurar Okular\SpecialChar menuseparator
8174 \begin_inset Quotes erd
8178 This inserts the appropriate
8183 This inserts the appropriate
8186 \begin_inset Flex Code
8189 \begin_layout Plain Layout
8198 \begin_layout Standard
8199 La búsqueda inversa se inicia con MAYÚSCULAS-clic.
8202 \begin_layout Subsubsection*
8206 \begin_layout Standard
8207 Qpdfview soporta Sync\SpecialChar TeX
8208 desde la versión 0.3.5.
8210 \begin_inset Flex Noun
8213 \begin_layout Plain Layout
8214 Editar\SpecialChar menuseparator
8215 Configuración\SpecialChar menuseparator
8221 , clic en el campo de entrada del
8222 \begin_inset Quotes eld
8226 \begin_inset Quotes erd
8230 \begin_inset Flex Code
8233 \begin_layout Plain Layout
8242 \begin_layout Standard
8243 La búsqueda inversa se lanza con doble clic.
8246 \begin_layout Subsubsection*
8250 \begin_layout Standard
8251 En yap, en el menú Ver Opciones marca
8252 \begin_inset Quotes cld
8255 Búsqueda inversa DVI
8256 \begin_inset Quotes crd
8261 \begin_inset Quotes cld
8265 \begin_inset Quotes crd
8269 \begin_inset Quotes cld
8274 \begin_inset Quotes crd
8278 \begin_inset Quotes cld
8282 \begin_inset Quotes crd
8287 \begin_inset Quotes cld
8291 \begin_inset Quotes crd
8295 \begin_inset Flex Code
8298 \begin_layout Plain Layout
8306 \begin_inset Flex Code
8309 \begin_layout Plain Layout
8315 , con los argumentos %f %l.
8318 \begin_layout LyX-Code
8320 \begin_inset Newline newline
8323 echo LYXCMD:revdvi:server-goto-file-row:%1 %2>
8332 \begin_inset Newline newline
8346 \begin_layout Standard
8347 Se lanza con doble clic.
8350 \begin_layout Subsubsection*
8351 SumatraPDF (Windows)
8354 \begin_layout Standard
8357 SumatraPDF -inverse-search "lyxeditor.bat %f %l"
8364 \begin_inset Flex Noun
8367 \begin_layout Plain Layout
8368 Herramientas\SpecialChar menuseparator
8369 Preferencias\SpecialChar menuseparator
8370 Gestión de archivos\SpecialChar menuseparator
8378 lyxeditor.bat es el anterior.
8381 no está en la ruta de comandos usa su nombre completo.
8384 \begin_layout Standard
8385 Se inicia con doble clic.
8388 \begin_layout Subsubsection*
8392 \begin_layout Standard
8393 Si yap es el visor por defecto en Windows, ejecuta y elige
8398 \begin_inset Quotes cld
8401 Búsqueda inversa DVI
8402 \begin_inset Quotes crd
8407 \begin_inset Quotes cld
8411 \begin_inset Quotes crd
8415 \begin_inset Quotes cld
8420 \begin_inset Quotes crd
8424 \begin_inset Quotes cld
8428 \begin_inset Quotes crd
8433 \begin_inset Quotes cld
8437 \begin_inset Quotes crd
8440 y navega hasta el directorio del ejecutable
8445 Especifica los argumentos -g %f %l.
8446 Así, se usará el zócalo
8450 para comunicar con \SpecialChar LyX
8456 omite -g y escribe la tubería \SpecialChar LyX
8457 Server en las preferencias de \SpecialChar LyX
8461 \begin_layout Standard
8462 Se lanza con doble clic.
8465 \begin_layout Subsubsection*
8469 \begin_layout Standard
8471 \begin_inset Flex Noun
8474 \begin_layout Plain Layout
8475 Herramientas\SpecialChar menuseparator
8476 Preferencias\SpecialChar menuseparator
8477 Gestión de archivos\SpecialChar menuseparator
8484 \begin_inset Flex Code
8487 \begin_layout Plain Layout
8488 SumatraPDF -inverse-search "lyxeditor -g %f %l"
8493 en la configuración del visor.
8494 Si SumatraPDF.exe no está en la ruta de comandos usa su ruta posix completa
8496 La -g habilita comunicación vía
8505 , y verifica la ruta de \SpecialChar LyX
8506 Server en las preferencias de \SpecialChar LyX
8510 \begin_layout Standard
8511 Se inicia con doble clic.
8514 \begin_layout Section
8518 \begin_layout Standard
8519 La búsqueda directa, como su nombre indica, es en cierto sentido lo
8520 \begin_inset Quotes cld
8524 \begin_inset Quotes crd
8528 Permite saltar a una posición determinada del documento en el visor desde
8529 dentro de \SpecialChar LyX
8531 Si la búsqueda directa está habilitada (como se describe a continuación),
8532 puedes poner el cursor en cualquier punto del documento en \SpecialChar LyX
8536 Navegar\SpecialChar menuseparator
8543 en el menú contextual mediante clic derecho), en el visor se mostrará esa
8545 Esto implica, por supuesto, que el visor soporte esta función.
8548 \begin_layout Standard
8549 Para posibilitar la búsqueda directa hay que proporcionar al archivo DVI/PDF
8550 de salida información adicional sobre el código \SpecialChar TeX
8552 Se puede hacer mediante los métodos descritos en la sección
8553 \begin_inset CommandInset ref
8555 reference "subsec:Activación-automática"
8562 \begin_layout Standard
8563 Adicionalmente, hay que configurar \SpecialChar LyX
8564 para usar los visores en
8565 \begin_inset Flex Noun
8568 \begin_layout Plain Layout
8569 Herramientas\SpecialChar menuseparator
8570 Preferencias\SpecialChar menuseparator
8571 Salidas\SpecialChar menuseparator
8578 Proporcionamos un conjunto de configuraciones comprobadas para algunos
8579 visores, que pueden seleccionarse en la lista desplegable.
8580 Si ninguna de estas configuraciones te satisface, tienes que introducir
8581 a mano una configuración adecuada.
8582 La sintaxis de las definiciones usa los siguientes marcadores:
8585 \begin_layout Itemize
8587 \begin_inset Flex Code
8590 \begin_layout Plain Layout
8599 \begin_layout Itemize
8601 \begin_inset Flex Code
8604 \begin_layout Plain Layout
8610 : nombre del archivo .tex exportado (temporal)
8613 \begin_layout Itemize
8615 \begin_inset Flex Code
8618 \begin_layout Plain Layout
8624 : nombre del archivo de salida exportado (dvi o pdf, según el que exista
8625 en el directorio temporal)
8628 \begin_layout Standard
8629 Solo algunos visores permiten completamente la búsqueda directa, entre ellos
8636 \begin_layout Plain Layout
8639 You might want to set
8640 \begin_inset Flex Code
8643 \begin_layout Plain Layout
8654 \begin_inset Flex Noun
8657 \begin_layout Plain Layout
8660 Tools\SpecialChar menuseparator
8661 Preferences\SpecialChar menuseparator
8662 File Handling\SpecialChar menuseparator
8664 \begin_inset space ~
8679 , qpdfview y SumatraPDF
8685 \begin_layout Plain Layout
8688 SumatraPDF can also use DDE commands through the external program CMCDDE
8690 \begin_inset CommandInset href
8692 target "http://www.istri.fr/spip/zip/CMCDDE.zip"
8705 Aunque algunos de los visores PDF más conocidos (como Adobe Reader) no
8706 soportan búsqueda directa, otros (como evince y pdf) permiten al menos
8707 recargar el documento y mostrar una página determinada, por lo que al menos
8708 permiten una navegación
8709 \begin_inset Quotes cld
8713 \begin_inset Quotes crd
8717 Esta última funcionalidad es facilitada mediante una llamada externa a
8718 synctex (consulta los ejemplos predefinidos en Preferencias).
8722 \begin_layout Standard
8723 La búsqueda directa funciona con DVI y PDF.
8725 comprueba qué formato de vista preliminar has usado antes (o sea, el que
8726 ya está en el directorio temporal) y elige dinámicamente la configuración
8727 adecuada para el formato en cuestión.
8730 \begin_layout Chapter
8731 Clases especiales de documentos
8734 \begin_layout Section
8738 \begin_layout Standard
8744 \begin_layout Subsection
8748 \begin_layout Standard
8749 Esta sección describe el uso de \SpecialChar LyX
8750 para escribir artículos destinados a la
8753 Astronomy and Astrophysics
8756 \begin_inset Flex URL
8759 \begin_layout Plain Layout
8761 https://www.aanda.org/
8766 ), usando la versión
8767 \begin_inset space ~
8770 5.01 de la clase de documento
8775 Este paquete se puede descargar del sitio ftp
8778 \begin_layout Standard
8779 \begin_inset VSpace medskip
8785 \begin_layout Standard
8787 \begin_inset Flex URL
8790 \begin_layout Plain Layout
8792 ftp://ftp.edpsciences.org/pub/aa/readme.html
8800 \begin_layout Standard
8801 \begin_inset VSpace medskip
8807 \begin_layout Standard
8808 El paquete contiene un manual, y este texto no aspira a reemplazar al original,
8809 se trata solo de una breve guía de uso.
8812 \begin_layout Standard
8813 Ten en cuenta que el editor de la revista ha cambiado de
8821 desde 1 de enero de 2001.
8822 Este cambio implica ligeros cambios en los archivos de estilo, a saber,
8823 la eliminación del comando
8828 La clase \SpecialChar LyX
8833 soporta las versiones más nuevas de estos archivos de estilo, V 5.01.
8834 Si tienes instalada una versión más antigua, actualízala, por favor.
8835 Por compatibilidad, el antiguo formato (versión 4) se ha mantenido como
8841 Puedes acudir a los comentarios en el archivo
8844 Dir/layouts/aapaper.layout
8849 \begin_layout Subsection
8853 \begin_layout Standard
8854 Se recomienda empezar con el modelo de ejemplo suministrado con \SpecialChar LyX
8856 Si no es así, observa los siguientes aspectos:
8859 \begin_layout Itemize
8866 Documento\SpecialChar menuseparator
8869 (vale, esto era obvio).
8872 \begin_layout Itemize
8873 No cambies la opción
8876 \begin_inset space ~
8880 \begin_inset space ~
8890 Todo el formato está hecho por macros y no deberías cambiar nada.
8893 \begin_layout Subsection
8894 El bloque del encabezado
8897 \begin_layout Standard
8898 Lo primero que hay que introducir es la información del encabezado.
8899 Consta de siete entradas, de las que algunas son opcionales.
8903 \begin_layout Itemize
8911 \begin_layout Itemize
8919 \begin_layout Itemize
8927 \begin_layout Itemize
8935 \begin_layout Itemize
8936 Separatas: (opcional) si hay más de un autor: a quien dirigirse.
8939 \begin_layout Itemize
8940 Correo: (opcional) dirección de contacto.
8943 \begin_layout Itemize
8949 El formato sugerido es
8951 Recibido: <fecha>; Aceptado <fecha>
8954 \begin_layout Standard
8955 No es necesario poner el comando
8962 lo hace automáticamente cuando se termina el encabezado.
8963 Aunque el orden de las entradas del encabezado no importa, es conveniente
8964 mantener la secuencia de arriba, solo por conseguir un mejor aspecto y
8965 respetar el formato del documento real.
8968 \begin_layout Standard
8969 Si quieres poner notas al pie en el encabezado, p.
8970 \begin_inset space \thinspace{}
8974 \begin_inset space ~
8977 para consignar tu actual dirección, usa la nota al pie estándar con
8979 Insertar\SpecialChar menuseparator
8981 \begin_inset space ~
8985 \begin_inset space ~
8993 \begin_inset Quotes cld
8997 \begin_inset Quotes crd
9009 \begin_layout Standard
9014 Edit\SpecialChar menuseparator
9017 , you'll find two insets which are relevant for the titling:
9020 \begin_layout Itemize
9028 to mark corresponding author\SpecialChar breakableslash
9030 The institutes are numbered sequentially as they appear in the
9034 field, so you have to put a marker to each author.
9037 \begin_layout Itemize
9043 to supply an email address for fast contact.
9046 \begin_layout Standard
9047 Además, las macros emplean one comando \SpecialChar LaTeX
9048 adicionalque no tien contrapartida
9053 \begin_layout Itemize
9060 para separar nombres diferentes de más de un autor e instituto, respectivamente.
9063 \begin_layout Standard
9064 El comando apropiado ha de introducirse en \SpecialChar LyX
9065 marcado como código \SpecialChar LaTeX
9067 Véanse los ejemplos.
9071 \begin_layout Subsection
9075 \begin_layout Standard
9076 El resumen debería ir a continuación del encabezado.
9077 Con la versión 5 el resumen cambió de entorno a comando, y ahora hay una
9078 restricción a un único párrafo.
9079 Además, debería contener una entrada con las claves.
9082 done via the paragraph style
9092 \begin_layout Subsection
9096 \begin_layout Standard
9097 El formato A&A soporta los entornos siguientes para estructurar el texto:
9100 \begin_layout Itemize
9106 \begin_layout Itemize
9112 \begin_layout Itemize
9118 \begin_layout Itemize
9124 \begin_layout Itemize
9130 \begin_layout Itemize
9136 \begin_layout Itemize
9142 \begin_layout Itemize
9148 \begin_layout Itemize
9154 \begin_layout Itemize
9160 \begin_layout Itemize
9166 \begin_layout Itemize
9173 \begin_layout Subsection
9174 Comandos no soportados por \SpecialChar LyX
9178 \begin_layout Standard
9179 Algunos comandos aún no son soportados por el formato
9184 Algunos se han mencionado ya.
9189 Pero aquí están todos juntos:
9192 \begin_layout Itemize
9200 \begin_layout Itemize
9208 \begin_layout Itemize
9216 \begin_layout Itemize
9224 \begin_layout Standard
9225 Si quieres usar alguno de ellos tienes que introducirlos a mano, y
9227 ¡no olvides marcarlos en código \SpecialChar LaTeX
9231 \begin_layout Subsection
9232 Figuras y cuadros flotantes
9235 \begin_layout Standard
9237 proporciona soporte para poner figuras y cuadros flotantes, por tanto no
9238 queremos decir mucho más sobre ello.
9244 Solo recordaremos que los cuadros deben alinearse a la izquierda.
9245 Para eso selecciona el cuadro y cambia la alineación en
9247 Editar\SpecialChar menuseparator
9249 \begin_inset space ~
9253 \begin_inset space ~
9259 \begin_layout Standard
9260 Hay un apunte particular: las figuras que deben llevar el título del encabezado
9262 Para insertar estas figuras has de hacer lo siguiente:
9265 \begin_layout Enumerate
9266 Crea un flotante de figura ancha:
9272 Insertar\SpecialChar menuseparator
9273 Flotante\SpecialChar menuseparator
9276 , después haz clic derecho en la figura y selecciona
9279 \begin_inset space ~
9287 \begin_layout Enumerate
9288 Introduce el texto del encabezado.
9291 \begin_layout Enumerate
9296 para mover el cursor sobre el encabezado.
9299 \begin_layout Enumerate
9303 \begin_layout Enumerate
9304 Coloca el cursor tras la figura e inserta un relleno horizontal:
9306 Insertar\SpecialChar menuseparator
9308 \begin_inset space ~
9311 especial\SpecialChar menuseparator
9313 \begin_inset space ~
9321 \begin_layout Enumerate
9322 Cambia a modo \SpecialChar LaTeX
9330 \begin_layout Enumerate
9340 ¡No cierres la llave!
9343 \begin_layout Enumerate
9344 Coloca el cursor tras el texto del encabezado, cambia a modo \SpecialChar LaTeX
9355 \begin_layout Standard
9356 Además, consulta el ejemplo de
9363 \begin_layout Subsection
9367 \begin_layout Standard
9368 Antes de remitir el artículo a los editores hay que darle un formato especial
9370 Para eso hay que pasar la opción
9374 a la clase de documento
9376 This must be done using the custom class options field in the
9378 Document\SpecialChar menuseparator
9382 Just enter the string
9389 \begin_layout Subsection
9393 \begin_layout Standard
9398 contiene un ejemplo del formato
9402 escrito con \SpecialChar LyX
9404 Es el ejemplo del paquete de macros original, traducido a \SpecialChar LyX
9406 Puede servirte de inspiración, y para comparar el código \SpecialChar LaTeX
9408 el generado por \SpecialChar LyX
9412 \begin_layout Section
9417 \begin_layout Standard
9423 \begin_layout Subsection
9427 \begin_layout Standard
9429 es un conjunto de macros producidas por la
9431 American Astronomical Society
9433 para facilitar la remisión de manuscritos electrónicos a las tres revistas
9436 Astrophysical Journal
9438 (incluyendo Cartas y Suplemento),
9440 Astronomical Journal
9444 Publications of the Astronomical Society of the Pacific
9448 ha demostrado ser una herramienta excelente para generar estos documentos,
9449 especialmente por su capacidad para el manejo de ecuaciones, citas y figuras.
9451 requiere la versión 5.0 (o superior) de estas macros; preferiblemente 6.0,
9452 que es la versión aquí explicada, o mayor.
9453 Las versiones anteriores a 5.0 están pensadas para usar con \SpecialChar LaTeX
9454 2.09 y son básicament
9455 e incompatibles con \SpecialChar LyX
9457 El paquete AAS\SpecialChar TeX
9458 se puede obtener del sitio web de AAS\SpecialChar TeX
9462 \begin_layout Standard
9463 \begin_inset VSpace medskip
9469 \begin_layout Standard
9471 \begin_inset Flex URL
9474 \begin_layout Plain Layout
9476 https://aas.org/aastex/aastex-downloads
9484 \begin_layout Standard
9485 \begin_inset VSpace medskip
9491 \begin_layout Standard
9492 Contiene una completa guía del usuario con la que deberías familiarizarte
9493 antes de embarcarte en la escritura de estos documentos en \SpecialChar LyX
9496 no reduce la necesidad de comprender todos los comandos AAS\SpecialChar TeX
9498 la tediosa faena de teclearlo todo.
9499 Es de tu incumbencia comprobar que el documento final exportado a \SpecialChar LaTeX
9501 ente conforme con los requerimientos de la revista a la que se remite.
9504 \begin_layout Subsection
9505 Empezar un artículo nuevo
9508 \begin_layout Standard
9509 Recomiendo encarecidamente que comiences con el archivo de plantilla modelo
9510 de AAS\SpecialChar TeX
9514 Archivo\SpecialChar menuseparator
9516 \begin_inset space ~
9520 \begin_inset space ~
9525 , introduce el nombre del nuevo archivo, y luego escoge el archivo
9530 Este contempla los campos más habituales presentes en un manuscrito.
9531 Simplemente tienes que sustituir el texto existente (incluyendo las abrazaderas
9536 ) con el texto personal.
9537 Muchos de los comandos y entornos AAS\SpecialChar TeX
9538 se pueden implementar directamente
9541 Comandos como estos deben introducirse directamente en código \SpecialChar TeX
9548 He intentado reducir la cantidad de código \SpecialChar TeX
9549 necesario en documentos AAS\SpecialChar TeX
9553 \begin_layout Subsection
9554 Finalizar el artículo
9557 \begin_layout Standard
9558 Cuando has acabado satisfactoriamente el artículo, y se puede ver/imprimir
9559 correctamente, quedan pendientes algunas acciones de
9560 \begin_inset Quotes cld
9564 \begin_inset Quotes crd
9567 antes de remitir el trabajo.
9570 \begin_layout Enumerate
9571 Exporta el documento a archivo \SpecialChar LaTeX
9574 Archivo\SpecialChar menuseparator
9575 Exportar\SpecialChar menuseparator
9586 \begin_layout Enumerate
9587 Edita el archivo resultante
9591 con tu editor de textos favorito.
9595 \begin_layout Enumerate
9596 quita las líneas de comentario antes del comando
9603 \begin_layout Enumerate
9608 usepackage...{fontenc}
9610 si está (generalmente justo detrás de
9616 }; quita también la línea
9625 \begin_layout Enumerate
9626 quita todo entre los comandos
9638 , ambos incluidos, excepto comandos que hayas puesto específicamente en
9639 el preámbulo (que deberían aparecer inmediatamente después del comentario
9641 \begin_inset Quotes cld
9644 User specified \SpecialChar LaTeX
9646 \begin_inset Quotes crd
9657 \begin_layout Enumerate
9658 Ejecuta el archivo resultante con \SpecialChar LaTeX
9659 para asegurar que se procesa correctamente.
9662 \begin_layout Enumerate
9663 Relee los requerimientos del editor para comprobar que los nombres de los
9664 archivos y los formatos son correctos.
9667 \begin_layout Enumerate
9671 \begin_layout Subsection
9672 Comentarios sobre comandos específicos
9675 \begin_layout Standard
9676 No voy a describir el empleo detallado de los comandos individuales de AAS\SpecialChar TeX
9678 la Guía del Usuario de AAS\SpecialChar TeX
9683 ) da una buena descripción de ellos.
9684 Así que lo más fácil para mí es dar la lista tal como aparece en la guía
9685 y hacer comentarios donde proceda.
9686 Comencemos\SpecialChar ldots
9690 \begin_layout Subsubsection
9691 Cosas que funcionan como es de esperar
9694 \begin_layout Standard
9695 Puesto que funcionan como es de esperar, solo las enumero con la sección
9696 donde se encuentran:
9796 begin{thebibliography}
9804 (2.13.2), todos los comandos de citas y sus variantes (2.13.2), los comandos
9805 genéricos de figuras,
9833 (2.15.4, entre otros sitios),
9860 \begin_layout Standard
9861 Las siguientes opciones de estilo también funcionan:
9882 Simplemente pónlos en el cuadro de
9890 \SpecialChar menuseparator
9898 \begin_layout Subsubsection
9899 Cosas que funcionan, pero\SpecialChar ldots
9903 \begin_layout Standard
9904 Las siguientes opciones funcionan, pero requieren algunas aclaraciones:
9907 \begin_layout Itemize
9908 Las siguientes se reservan para los editores, pero puedes ponerlas en el
9909 preámbulo \SpecialChar LaTeX
9943 \begin_layout Itemize
9944 Estas opciones se pueden situar en el preámbulo \SpecialChar LaTeX
9945 , y se incluyen en blanco
9967 \begin_layout Itemize
9974 (2.3) solo se puede poner separado, no en mitad de un párrafo.
9975 Usa código \SpecialChar TeX
9976 si necesitas empotrarlo.
9979 \begin_layout Itemize
9986 (2.3) tendrá {} extra tras él.
9987 Esto no debería producir error.
9990 \begin_layout Itemize
9997 (2.6) solo se puede poner separado, no en mitad de un párrafo.
9998 Usa código \SpecialChar TeX
9999 si necesitas empotrarlo.
10002 \begin_layout Itemize
10009 (2.8) no puede insertar etiquetas de referencias cruzadas, hay que introducirlo
10013 \begin_layout Itemize
10020 (2.8) igual que para
10027 \begin_layout Itemize
10034 (2.9) tendrá {} extra tras él.
10035 Esto no debería producir error.
10038 \begin_layout Itemize
10045 (2.11) tendrá {} extra tras él.
10046 Esto no debería producir error.
10049 \begin_layout Itemize
10056 (2.14.2) puedes insertar un argumento de nombre opcional situando el cursor
10057 al inicio del texto y seleccionando
10059 Insertar\SpecialChar menuseparator
10064 \begin_inset Quotes cld
10068 \begin_inset Quotes crd
10071 inserta un argumento opcional del tipo necesitado por
10078 Debería ser renombrado algún día.
10082 \begin_layout Itemize
10089 (2.17.1) lo mismo que en
10095 para el parámetro opcional de catálogo ID.
10098 \begin_layout Itemize
10105 (2.17.1) lo mismo que en
10111 para el parámetro opcional de catálogo ID.
10114 \begin_layout Subsubsection
10115 Cosas no implementadas, código \SpecialChar TeX
10119 \begin_layout Standard
10130 setcounter{equation}
10132 (2.12), Journal abreviaciones (2.13.4),
10168 (2.15.4, insertar como primer elemento en la celda izquierda y después donde
10170 No uses ninguna regla de \SpecialChar LyX
10183 (2.15.5), mucho de Misc (2.17, excepto
10234 \begin_layout Subsubsection
10235 Cosas que no pueden implementarse
10238 \begin_layout Standard
10240 al menos de forma significativa, así que sugiero ignorarlas.
10250 Si de verdad necesitas usar
10254 , sugiero editar un archivo aparte con un editor de textos, y luego incluirlo
10255 en el documento \SpecialChar LyX
10258 Insertar\SpecialChar menuseparator
10262 \begin_inset space ~
10277 \begin_layout Subsection
10278 FAQs, consejos, trucos, y otras reflexiones
10281 \begin_layout Subsubsection
10282 Conseguir que \SpecialChar LyX
10283 y AAS\SpecialChar TeX
10287 \begin_layout Standard
10288 Puede ser un poco complicado hacer que \SpecialChar LyX
10289 reconozca un nuevo formato y una
10291 Si todo lo demás falla, haz lo siguiente:
10294 \begin_layout Enumerate
10295 Comprueba que \SpecialChar LaTeX
10296 encuentra a AAS\SpecialChar TeX
10306 ) de la distribución de AAS\SpecialChar TeX
10307 en un directorio totalmente independiente de
10313 AAS\SpecialChar TeX
10314 y ejecuta \SpecialChar LaTeX
10322 \begin_layout Enumerate
10329 /usr/.../share/lyx/layouts
10338 \begin_layout Enumerate
10341 Herramientas\SpecialChar menuseparator
10344 en \SpecialChar LyX
10345 , y reinicia \SpecialChar LyX
10349 \begin_layout Enumerate
10350 Abre un archivo nuevo normal, no desde plantilla.
10351 ¿Aparece AAS\SpecialChar TeX
10352 en la lista desplegable de clases en
10354 Documento\SpecialChar menuseparator
10360 \begin_layout Standard
10361 Si al abrir un documento AAS\SpecialChar TeX
10362 recibes un aviso de que no se encuentra la
10363 clase AAS\SpecialChar TeX
10364 , o un mensaje como
10365 \begin_inset Quotes cld
10368 You should not mix title layouts with normal ones
10369 \begin_inset Quotes crd
10372 , la instalación no ha sido correcta.
10375 \begin_layout Subsubsection
10376 Error de \SpecialChar LaTeX
10377 al procesar un cuadro
10380 \begin_layout Standard
10382 , por omisión, intenta centrar el encabezado/título del cuadro.
10383 Esto parece ocasionar una mala interacción con AAS\SpecialChar TeX
10384 ; entonces debes hacer
10385 clic en algún sitio del encabezado/título, después abrir la
10390 \begin_inset space ~
10398 \begin_inset space ~
10414 En mi caso, esto ha resuelto el problema.
10417 \begin_layout Subsubsection
10421 \begin_layout Standard
10422 Un par de cosas: 1) He observado algunos espacios raros en las entradas
10423 de la bibliografía.
10424 Cuando introduzcas los datos de los ítems de la bibliografía, cuida que
10429 haya espacio entre el último autor y el paréntesis que contiene el año;
10431 \begin_inset space \thinspace{}
10443 2) Introducir las referencias no es nada obvio.
10444 La cosa más fácil es empezar escribiendo tu primera cita al final del documento
10445 , y después marcarla como
10450 Esto pondrá un pequeño recuadro gris delante de lo recién escrito.
10451 Clic en el recuadro para rellenar el resto de la información.
10452 Para nuevas referencias, ve al final de una referencia existente y pulsa
10458 Esto creará una línea nueva con su propio recuadro, etc.
10461 \begin_layout Subsubsection
10462 Incluir archivos EPS
10465 \begin_layout Standard
10466 Aunque AAS\SpecialChar TeX
10467 provee sus propios comandos de gráficos (
10473 , por ejemplo), prefiero los comandos estándar de \SpecialChar LaTeX
10474 (con el predeterminado
10480 Puedes insertar los comandos
10487 \begin_inset space ~
10490 como código \SpecialChar TeX
10491 en una Figura Flotante si lo deseas, pero yo nunca he tenido
10492 la suerte de conseguir un formato correcto.
10493 Con los gráficos estándar, \SpecialChar LyX
10498 usepackage{graphicx}
10500 en el preámbulo \SpecialChar LaTeX
10501 y maneja las figuras de la manera habitual en \SpecialChar LaTeX2e
10503 las figuras en el texto.
10504 Recuerdo que ApJ acepta ahora figuras exactamente de esta forma; AJ podría
10505 usar todavía la técnica
10506 \begin_inset Quotes cld
10509 apilar todo al final
10510 \begin_inset Quotes crd
10516 \begin_layout Subsubsection
10517 Cosas que podría haber hecho, y no he hecho
10520 \begin_layout Standard
10521 Podría haber implementado unas pocas cosas
10522 \begin_inset Quotes cld
10526 \begin_inset Quotes crd
10529 , pero decidí no hacerlo.
10530 Por ejemplo, no veía la utilidad en presentar doble espacio entre líneas
10531 en la ventana de \SpecialChar LyX
10532 , aunque lo tenga en la salida impresa.
10533 También decidí no hacer formatos separados para los estilos
10542 Como supongo que pasas la mayor parte del tiempo en el modo manuscrito
10543 simple, he preferido no comer más espacio de disco con esto.
10547 \begin_layout Subsection
10551 \begin_layout Standard
10552 Tu recorrido puede variar.
10553 He escrito artículos publicados por ApJ y AJ en los que el 98
10554 \begin_inset space \thinspace{}
10557 % de la tarea ha corrido a cuenta de \SpecialChar LyX
10559 \begin_inset space \thinspace{}
10562 % restante ha correspondido a postprocesamiento con \SpecialChar LaTeX
10563 y un poco de limpieza
10565 No he tenido problemas con el procedimiento de envío, y estoy seguro de
10566 que los editores no notaron diferencias.
10567 Así pues, ¡adelante, a publicar!
10570 \begin_layout Section
10571 AMS \SpecialChar LaTeX
10575 \begin_layout Standard
10585 \begin_layout Standard
10586 \begin_inset VSpace bigskip
10592 \begin_layout Standard
10594 Los formatos AMS \SpecialChar LaTeX
10595 están configurados para adaptarse a los estilos recomendados
10598 American Mathematical Society
10600 para sus publicaciones.
10601 Estos formatos no están definidos para una revista en particular, pero
10602 se pueden adaptar fácilmente.
10603 En la documentación de AMS (disponible en
10604 \begin_inset Flex URL
10607 \begin_layout Plain Layout
10615 \begin_inset Flex URL
10618 \begin_layout Plain Layout
10620 ftp://ftp.ams.org/pub/tex/amslatex/
10625 ) encontrarás instrucciones específicas para cada publicación (generalmente
10626 será cuestión de cambiar una simple línea).
10627 Estos formatos son apropiados, y útiles, para cualquier escrito de matemáticas.
10630 \begin_layout Standard
10632 Hay dos formatos básicos AMS \SpecialChar LaTeX
10636 \begin_layout Itemize
10637 amsart: formato estándar de artículo AMS
10640 \begin_layout Itemize
10641 amsbook: formato estándar de libro AMS (en realidad, monografía)
10644 \begin_layout Standard
10645 Los formatos por sí mismos solo contienen el mínimo necesario para usar
10647 En particular, no contienen ninguno de los entornos 'teorema' utilizados
10648 para establecer teoremas, lemas y demás.
10649 Estos se encuentran, en cambio, en el módulo
10650 \begin_inset Flex Code
10653 \begin_layout Plain Layout
10659 , que se carga por omisión cuando seleccionas una de las clases AMS.
10660 (Además se puede usar con otras clases y se puede quitar, si prefieres
10662 Hay entornos menos utilizados en el módulo
10663 \begin_inset Flex Code
10666 \begin_layout Plain Layout
10667 Teoremas (AMS-Extendido)
10672 , que se debe cargar a mano.
10675 \begin_layout Standard
10676 Por omisión, los teoremas y demás se numeran consecutivamente a lo largo
10677 del documento, pero esto se puede modificar cargando el módulo
10678 \begin_inset Flex Code
10681 \begin_layout Plain Layout
10682 Teoremas (por secciones)
10688 \begin_inset Flex Code
10691 \begin_layout Plain Layout
10698 \begin_inset Flex Code
10701 \begin_layout Plain Layout
10702 Teoremas (por capítulos)
10708 Estos numerarán los resultados como
10709 \begin_inset Formula $n.m$
10712 , donde el primer número se refiere a la sección (o capítulo) y el segundo
10713 al número total de resultados hasta ese momento en la sección (o capítulo).
10714 Muchos entornos también están disponibles sin numeración.
10715 Estos se indican mediante un asterisco al final.
10716 Si es el caso que quieres
10720 resultados sin numerar, el módulo
10721 \begin_inset Flex Code
10724 \begin_layout Plain Layout
10725 Teoremas (asterisco)
10730 proporciona esta opción.
10733 \begin_layout Standard
10734 Hay que tener en cuenta que estos módulos no
10738 utilizarse con las clases AMS.
10739 Es perfectamente posible usar el módulo
10740 \begin_inset Flex Code
10743 \begin_layout Plain Layout
10749 y los otros mencionados con otras clases, como
10750 \begin_inset Flex Code
10753 \begin_layout Plain Layout
10760 \begin_inset Flex Code
10763 \begin_layout Plain Layout
10770 \begin_inset Flex Code
10773 \begin_layout Plain Layout
10782 \begin_layout Subsection
10783 Qué proporcionan estos formatos
10786 \begin_layout Standard
10787 Estos formatos proporcionan una larga lista de entornos incluidos.
10788 En AMS-\SpecialChar LaTeX
10789 se puede definir, de hecho, una variedad ilimitada de entornos
10791 Sin embargo AMS recomienda utilizar los entornos que están disponibles
10792 en \SpecialChar LyX
10797 \begin_layout Standard
10798 Los siguientes entornos —así como los entornos estándar como
10799 \begin_inset Flex Noun
10802 \begin_layout Plain Layout
10809 \begin_inset Flex Noun
10812 \begin_layout Plain Layout
10819 \begin_inset Flex Noun
10822 \begin_layout Plain Layout
10829 \begin_inset Flex Noun
10832 \begin_layout Plain Layout
10839 \begin_inset Flex Noun
10842 \begin_layout Plain Layout
10848 — son suministrados por
10849 \begin_inset Flex Code
10852 \begin_layout Plain Layout
10859 \begin_inset Flex Code
10862 \begin_layout Plain Layout
10871 \begin_layout Description
10872 Dirección Esto debería ser la dirección permanente del autor.
10875 \begin_layout Description
10877 \begin_inset space ~
10880 actual Debería ser la dirección provisional del autor en el momento de la
10881 presentación, si es diferente de la Dirección.
10884 \begin_layout Description
10886 \begin_inset space ~
10889 electrónico Dirección de correo electrónico del autor.
10892 \begin_layout Description
10893 URL Dirección de la página web del autor, si se quiere.
10896 \begin_layout Description
10897 Claves Palabras o frases claves usadas para identificar temas específicos
10898 tratados en el artículo.
10901 \begin_layout Description
10902 ClaseTema Se refiere a la Clasificación de temas de AMS, publicada y descrita
10905 Mathematical Reviews
10908 También están disponibles en línea en los sitios AMS citados arriba.
10911 \begin_layout Description
10915 \begin_layout Description
10919 \begin_layout Description
10923 \begin_layout Standard
10924 Los siguientes entornos son suministrados por ambos módulos
10925 \begin_inset Flex Code
10928 \begin_layout Plain Layout
10935 \begin_inset Flex Code
10938 \begin_layout Plain Layout
10944 , en el segundo caso en ambas versiones no numerada (asterisco) y numerada
10946 Estos mismos entornos son suministrados solo en la versión con asterisco
10948 \begin_inset Flex Code
10951 \begin_layout Plain Layout
10952 Teoremas (asterisco)
10960 \begin_layout Theorem
10961 Se usa típicamente para declaraciones fundamentales.
10964 \begin_layout Corollary*
10965 Se usa para declaraciones que se siguen justa y directamente de declaraciones
10967 De nuevo, pueden ser resultados fundamentales.
10971 \begin_layout Lemma
10972 Resultados de menor importancia necesarios para probar otras declaraciones.
10975 \begin_layout Proposition
10976 Son resultados menos importantes que (es de esperar) se añaden a la teoría
10977 general en discusión.
10980 \begin_layout Conjecture
10981 Son afirmaciones propuestas sin justificación, que el autor no sabe como
10982 probar, pero que parecen ser ciertas (al menos para el autor).
10985 \begin_layout Definition*
10986 Adivina para qué es esto.
10987 La letra es distinta en este entorno que en los anteriores.
10990 \begin_layout Example*
10991 Se usa para ejemplos que ilustran resultados probados.
10994 \begin_layout Problem
10995 Realmente no se sabe para qué es esto.
10999 \begin_layout Exercise*
11000 Escribe una descripción para esto.
11003 \begin_layout Remark
11004 Este entorno es también un tipo de teorema, generalmente un tipo menor de
11008 \begin_layout Claim*
11009 Usada a menudo en el curso de una demostración de un resultado más amplio.
11013 Generalmente se usan para interrumpir argumentos largos, usando casos específico
11014 s de alguna condición.
11018 El esquema de numeración de casos es propio, independiente de otras declaracione
11022 \begin_layout Proof
11023 Al final de este entorno se coloca un símbolo QED (generalmente un cuadrado,
11024 aunque puede variar con estilos diferentes).
11025 Si quieres tener otros entornos dentro de este —por ejemplo, un entorno
11026 Caso— y quieres que el símbolo QED aparezca solo tras ellos, entonces los
11027 demás entornos tienen que anidarse dentro del entorno demostración.
11030 Anidación de entornos
11036 para información sobre anidación.
11039 \begin_layout Standard
11040 Y estos son los entornos suministrados por
11041 \begin_inset Flex Code
11044 \begin_layout Plain Layout
11045 Teoremas (AMS extendido)
11053 \begin_layout Criterion*
11054 Una condición requerida.
11057 \begin_layout Algorithm*
11058 Un procedimiento general a utilizar.
11061 \begin_layout Axiom*
11062 Esto es una propiedad o declaración tomada como verdadera dentro del sistema
11066 \begin_layout Condition*
11067 Utilizado a veces para establecer una condición asumida en el presente contexto
11071 \begin_layout Note*
11072 Similar a Observación.
11075 \begin_layout Notation*
11076 Usado para la explicación de una notación, sí.
11079 \begin_layout Summary
11080 ¿Necesitamos explicarlo?
11083 \begin_layout Acknowledgement*
11087 \begin_layout Conclusion*
11088 Usado a veces al final de una larga cadena de argumentos.
11092 Se usa en forma parecida a Proposición, aunque quizá a una menor escala.
11095 \begin_layout Standard
11096 Además, Las clases AMS suministran automáticamente los paquetes de tipografía
11097 AMS \SpecialChar LaTeX
11099 Deben estar disponibles en tu sistema para usar estos entornos.
11102 \begin_layout Section
11106 \begin_layout Standard
11112 \begin_layout Subsection
11116 \begin_layout Standard
11117 Broadway se usa para escribir guiones teatrales.
11118 El formato es más decorativo que el de Hollywood, y mucho menos normalizado.
11119 Este formato debería ser adecuado para los lugares de trabajo.
11122 \begin_layout Subsection
11123 Problemas especiales
11126 \begin_layout Standard
11127 Los mismos que en el caso de
11134 \begin_layout Subsection
11135 Características especiales
11138 \begin_layout Standard
11139 Introduce los nombres de los personajes
11143 como etiquetas, después haz una referencia cruzada a la etiqueta para insertar
11145 El diálogo de referencia cruzada mostrará el conjunto de personajes.
11148 \begin_layout Subsection
11149 Tamaño del papel y márgenes
11152 \begin_layout Standard
11153 USLetter, izquierdo 1.6
11154 \begin_inset space \thinspace{}
11158 \begin_inset space \thinspace{}
11162 \begin_inset space \thinspace{}
11166 \begin_inset space \thinspace{}
11172 \begin_layout Subsection
11176 \begin_layout Standard
11177 Están disponibles los entornos siguientes.
11178 Los atajos de teclado indicados a la derecha funcionan con el archivo
11185 \begin_layout Itemize
11189 \begin_inset Newline newline
11194 No deberías necesitarlo, pero está por si alguna cosa no cuadra en ninguno
11195 de los demás entornos.
11198 \begin_layout Itemize
11202 \begin_inset space \hfill{}
11206 \begin_inset Newline newline
11211 Se usa para la descripción del escenario y de la acción.
11212 La primera aparición de un personaje en MAYÚSCULAS.
11215 \begin_layout Itemize
11219 \begin_inset space \hfill{}
11223 \begin_inset Newline newline
11228 Automáticamente numerado.
11229 En pantalla se verá en números arábigos, pero se imprimirá en números romanos.
11232 \begin_layout Itemize
11236 \begin_inset space \hfill{}
11240 \begin_inset Newline newline
11253 \begin_layout Itemize
11257 \begin_inset space \hfill{}
11261 \begin_inset Newline newline
11266 No es automáticamente numerado, debes ponerlo.
11267 Esto es porque no he sabido cómo hacerlo.
11270 \begin_layout Itemize
11274 \begin_inset space \hfill{}
11278 \begin_inset Newline newline
11283 Un caso especial de
11287 para describir el escenario y la acción cuando se levanta el telón.
11290 \begin_layout Itemize
11294 \begin_inset space \hfill{}
11298 \begin_inset Newline newline
11303 El nombre del personaje (del actor), centrado, en MAYÚSCULAS.
11306 \begin_layout Itemize
11310 \begin_inset space \hfill{}
11314 \begin_inset Newline newline
11319 Instrucciones para el portavoz.
11320 Los paréntesis se insertan automáticamente.
11321 Solo ( se muestra en pantalla, pero se imprimirán ambos.
11322 Este entorno solo se usa dentro del entorno
11329 \begin_layout Itemize
11333 \begin_inset space \hfill{}
11337 \begin_inset Newline newline
11342 Lo que dice el personaje portavoz.
11345 \begin_layout Itemize
11349 \begin_inset space \hfill{}
11353 \begin_inset Newline newline
11361 \begin_layout Itemize
11365 \begin_inset space \hfill{}
11371 \begin_layout Itemize
11375 \begin_inset space \hfill{}
11381 \begin_layout Itemize
11385 \begin_inset space \hfill{}
11391 \begin_layout Standard
11392 Un saludo para todos.
11395 \begin_layout Section
11399 \begin_layout Standard
11400 La clase de documento
11404 sirve para escribir cartas de acuerdo con las convenciones alemanas.
11405 Se incluye un archivo modelo como punto de partida, en
11407 .../lyx/share/templates
11412 \begin_layout Section
11413 Publicaciones de Elsevier
11416 \begin_layout Standard
11417 Véase el archivo de plantilla de \SpecialChar LyX
11423 Contiene la información necesaria.
11426 \begin_layout Section
11436 \begin_inset CommandInset label
11445 \begin_layout Standard
11451 \begin_layout Subsection
11455 \begin_layout Standard
11456 En esta sección se describe cómo hacer transparencias para proyectores con
11459 Hay dos clases de documento que permiten hacerlas: la clase predeterminada
11473 Esta sección se ocupa de esta última.
11476 \begin_layout Standard
11477 Repito de nuevo alto y claro, para que no haya equívocos:
11480 \begin_layout Standard
11481 \begin_inset VSpace bigskip
11487 \begin_layout Standard
11496 \begin_inset space ~
11507 \begin_layout Standard
11508 \begin_inset VSpace bigskip
11514 \begin_layout Standard
11515 Si buscas la documentación para
11520 \begin_inset space ~
11524 \begin_inset CommandInset ref
11526 reference "sec:slitex"
11531 Si tu sistema no dispone de la clase
11535 , tendrás que usar la clase
11539 , que no es tan buena como
11544 \begin_layout Standard
11549 está diseñada para usar con la versión
11550 \begin_inset space ~
11553 2.1 de la clase \SpecialChar LaTeX
11558 , que forma parte de \SpecialChar LaTeX2e
11562 \begin_layout Subsection
11566 \begin_layout Standard
11567 Obviamente, para usar esta clase, debes seleccionar
11573 Documento\SpecialChar menuseparator
11577 Algunas de las configuraciones de este diálogo son específicas de esta
11578 clase y deberían quedar así:
11581 \begin_layout Itemize
11582 No cambies las opciones
11591 No se tienen en cuenta por la clase
11598 \begin_layout Itemize
11599 El tamaño de letra por omisión es 20
11600 \begin_inset space \thinspace{}
11603 pt, y las otras opciones son 17
11604 \begin_inset space \thinspace{}
11608 \begin_inset space \thinspace{}
11612 \begin_inset space \thinspace{}
11618 \begin_layout Itemize
11619 La tipografía predeterminada es
11627 , pero en las ecuaciones matemáticas se usa la habitual fuente romana.
11630 \begin_layout Itemize
11636 soporta los tamaños de papel A4 y Letter, así como un tamaño especial para
11637 trabajar con diapositivas de 35
11638 \begin_inset space \thinspace{}
11642 No soporta los tamaños A5, B5, legal o executive.
11645 \begin_layout Itemize
11646 No enredes cambiando la colocación de flotantes porque se ignoran en todo
11648 Los flotantes aparecen siempre en el lugar del texto donde se pongan.
11651 \begin_layout Itemize
11652 La configuración del
11655 \begin_inset space ~
11659 \begin_inset space ~
11664 funciona un poco distinto para esta clase.
11670 proporciona amplias capacidades para el encabezado y el pie, incluyendo
11671 el uso de logos personalizados.
11673 \begin_inset space ~
11677 \begin_inset CommandInset ref
11679 reference "sec:foilfoot"
11684 La página de título se trata de manera diferente a las demás páginas,
11692 pone el logo, (si se define uno), centrado en la parte inferior de la página.
11693 Las opciones posibles de estilo de página son:
11697 \begin_layout Labeling
11698 \labelwidthstring MMMMMMM
11705 El documento de salida no contiene números de página, ni encabezados ni
11706 pies (excepto notas al pie, claro).
11710 \begin_layout Labeling
11711 \labelwidthstring MMMMMMM
11718 La salida contiene números de página centrados en la parte inferior.
11719 No contiene encabezados ni pies (que no sean notas).
11722 \begin_layout Labeling
11723 \labelwidthstring MMMMMMM
11730 Números de página en la esquina inferior derecha.
11731 Además se muestran encabezados y pies.
11732 Esta es la opción por omisión.
11735 \begin_layout Labeling
11736 \labelwidthstring MMMMMMM
11743 Da acceso al paquete
11752 desaconseja su empleo a causa de potenciales conflictos con el diseño de
11757 \begin_layout Subsubsection
11761 \begin_layout Standard
11764 Documento\SpecialChar menuseparator
11767 se pueden poner las siguientes opciones extras:
11770 \begin_layout Labeling
11771 \labelwidthstring MMMMMMx
11776 Establece el formato de papel en 7.33
11777 \begin_inset space \thinspace{}
11781 \begin_inset space \thinspace{}
11784 in, que es aproximadamente el aspecto de una diapositiva de 35
11785 \begin_inset space \thinspace{}
11788 mm, Haciendo algo más fácil trabajar con este soporte.
11791 \begin_layout Labeling
11792 \labelwidthstring MMMMMMx
11797 Dibuja una línea bajo el encabezado en cada página excepto la de título.
11800 \begin_layout Labeling
11801 \labelwidthstring MMMMMMx
11806 Dibuja una línea sobre el pie de cada página excepto la de título.
11809 \begin_layout Labeling
11810 \labelwidthstring MMMMMMx
11815 Esto se configura automáticamente con cada nuevo documento
11825 que use el driver dvips para girar las páginas establecidas en modo apaisado.
11828 \begin_layout Labeling
11829 \labelwidthstring MMMMMMx
11834 Simplemente cambia las dimensiones de las páginas apaisadas pero no haceninguna
11836 Por tanto si usas esta opción necesitas un programa externo para rotar
11837 las páginas y alimentar la impresora en modo apaisado.
11838 Ten en cuenta que esta opción invierte los comportamientos de los entornos
11847 (que se describen en la siguiente sección).
11850 \begin_layout Labeling
11851 \labelwidthstring MMMMMMx
11856 Números de ecuación a la izquierda.
11859 \begin_layout Labeling
11860 \labelwidthstring MMMMMMx
11865 Ecuaciones ajustadas a la izquierda.
11868 \begin_layout Subsection
11869 Entornos soportados
11872 \begin_layout Standard
11873 La mayoría de los entornos habitualmente soportados en otras clases lo son
11874 también por la clase
11879 Hay varios entornos adicionales suministrados por
11884 así como un par añadidos por \SpecialChar LyX
11886 Los entornos siguientes son compartidos con otras clases:
11889 \begin_layout Standard
11890 \begin_inset Flex Multiple Columns
11893 \begin_layout Itemize
11899 \begin_layout Itemize
11905 \begin_layout Itemize
11911 \begin_layout Itemize
11917 \begin_layout Itemize
11923 \begin_layout Itemize
11926 Código-\SpecialChar LyX
11930 \begin_layout Itemize
11936 \begin_layout Itemize
11942 \begin_layout Itemize
11948 \begin_layout Itemize
11954 \begin_layout Itemize
11960 \begin_layout Itemize
11966 \begin_layout Itemize
11972 \begin_layout Itemize
11978 \begin_layout Itemize
11984 \begin_layout Itemize
11995 \begin_layout Standard
11996 Esto es, todos los entornos principales aparte de los entornos de secciones.
12001 contiene sus propias secciones, con un título y un cuerpo,
12006 proporciona comandos específicos para comenzar nuevas diapositivas, y son:
12009 \begin_layout Itemize
12012 Encabezado_Diapositiva
12015 \begin_layout Itemize
12018 Encabezado_Diapositiva_Giro
12021 \begin_layout Standard
12022 Además, \SpecialChar LyX
12023 provee versiones ligeramente modificadas de estos dos entornos,
12027 \begin_layout Itemize
12030 Encabezado_Diapositiva_Corto
12033 \begin_layout Itemize
12036 Encabezado_Diapositiva_Giro_Corto
12039 \begin_layout Standard
12040 cuyas diferencias serán explicadas en la siguiente sección.
12043 \begin_layout Standard
12044 Puesto que las diapositivas se emplean con frecuencia para presentaciones
12045 de ideas, teoremas y demás,
12050 proporciona además una extensa colección de entornos para estas cosas:
12053 \begin_layout Standard
12056 \begin_inset Flex Multiple Columns
12059 \begin_layout Itemize
12065 \begin_layout Itemize
12071 \begin_layout Itemize
12077 \begin_layout Itemize
12083 \begin_layout Itemize
12089 \begin_layout Itemize
12095 \begin_layout Itemize
12101 \begin_layout Itemize
12107 \begin_layout Itemize
12113 \begin_layout Itemize
12119 \begin_layout Itemize
12130 \begin_layout Standard
12131 Las versiones con asterisco son sin numeración y sin asterisco con numeración.
12132 Además hay dos entornos de lista añadidos por \SpecialChar LyX
12136 \begin_layout Itemize
12142 \begin_layout Itemize
12148 \begin_layout Standard
12154 proporciona algunas capacidades poderosas para encabezados y pies, que
12155 es mejor configurar en el preámbulo, aunque se puede hacer en cualquier
12156 lugar del documento.
12157 Si quieres hacerlo así, el mejor sitio es hacerlo al principio de una diapositi
12158 va, justo detrás del encabezado de la misma.
12161 \begin_layout Standard
12162 Para este propósito se suministran los siguientes estilos [
12169 \begin_layout Standard
12170 \begin_inset Flex Multiple Columns
12173 \begin_layout Itemize
12179 \begin_layout Itemize
12185 \begin_layout Itemize
12191 \begin_layout Itemize
12197 \begin_layout Itemize
12200 Encabezado_Izquierdo
12204 \begin_layout Plain Layout
12205 \begin_inset space ~
12217 \begin_layout Standard
12218 Hay algunos comandos de
12223 que \SpecialChar LyX
12224 no soporta directamente, pero se explica su función y su empleo en
12226 \begin_inset space ~
12230 \begin_inset CommandInset ref
12232 reference "sec:unsuppfoils"
12239 \begin_layout Subsection
12240 Diseño de una colección de diapositivas
12243 \begin_layout Standard
12244 Esta sección da una simple introducción a los diferentes entornos para construir
12245 una colección de diapositivas.
12250 ver un ejemplo echa un vistazo al archivo
12254 , accesible desde el botón
12260 Archivo\SpecialChar menuseparator
12264 \begin_layout Subsubsection
12268 \begin_layout Standard
12269 A diferencia de otras clases que proporcionan los entornos
12289 crea el título en una página propia.
12290 Si no pones entorno
12295 pondrá la fecha actual (cada vez que generes salida).
12298 \begin_layout Subsubsection
12299 Comenzar una diapositiva
12302 \begin_layout Standard
12303 Como mencioné antes, hay cuatro maneras de empezar una nueva diapositiva.
12304 Para la portada deberías usar
12307 \begin_inset space ~
12315 \begin_inset space ~
12319 \begin_inset space ~
12325 La diferencia entre estos es la cantidad de espacio entre el título (el
12326 encabezado) y el cuerpo de la diapositiva.
12329 \begin_layout Standard
12330 Las diapositivas apaisadas se generan con los entornos
12333 \begin_inset space ~
12337 \begin_inset space ~
12345 \begin_inset space ~
12349 \begin_inset space ~
12353 \begin_inset space ~
12359 De nuevo, la única diferencia es el espacio entre encabezado y cuerpo.
12360 Las dos versiones cortas ponen 0.5 pulgadas menos de separación.
12364 \begin_layout Standard
12365 Un problema con el soporte de las diapositivas apaisadas es el requerimiento
12366 de que debes usar el driver
12370 para generar la salida PostScript, si no las diapositivas no se giran.
12371 Es posible conseguir orientación apaisada incluso si no dispones de
12375 driver al configurar la salida a través de la impresora ;-)
12378 \begin_layout Subsubsection
12379 Teoremas, lemas, demostraciones y más
12382 \begin_layout Standard
12383 No puedes poner seguidos dos de estos entornos del mismo tipo.
12386 If you use a normal paragraph break, you will just be extending the previous
12387 environment as if you had merged the two environments together.
12390 \begin_layout Subsubsection
12394 \begin_layout Standard
12395 Dispones de todos los tipos de listas habituales en otras clases más dos
12397 Solo describiré estas últimas.
12398 Para más información sobre los demás entornos de listas mira la
12403 Si piensas usar el entorno
12410 podrías mirar también en la sección
12411 \begin_inset space ~
12415 \begin_inset CommandInset ref
12417 reference "sec:Marcas"
12421 la descripción de la Selección de Marcas de Listas.
12424 \begin_layout Standard
12425 Los dos estilos nuevos de lista,
12428 \begin_inset space ~
12438 \begin_inset space ~
12445 , están diseñadas para facilitar la creación de listas del tipo
12446 \begin_inset Quotes cld
12450 \begin_inset Quotes crd
12454 \begin_inset Quotes cld
12458 \begin_inset Quotes crd
12461 suministrando entornos dedicados que ponen una señal o una cruz como etiqueta.
12462 De hecho, estas listas son versiones particularizadas del entorno
12471 debe estar instalado.
12474 \begin_layout Subsubsection
12478 \begin_layout Standard
12484 redefine los flotantes de figuras y cuadros para que aparezcan exactamente
12485 en su lugar en el texto más bien que al principio de la página o en alguna
12487 De hecho, si haces cambios en la colocación de los flotantes no serán tenidos
12491 \begin_layout Subsubsection
12492 Encabezados y pies de página
12493 \begin_inset CommandInset label
12495 name "sec:foilfoot"
12502 \begin_layout Standard
12506 \begin_inset space ~
12515 son comandos usados para controlar el texto del pie izquierdo de la página.
12516 El primero permite incluir un logotipo gráfico en las transparencias; por
12517 omisión se imprime el logotipo
12518 \begin_inset Quotes cld
12527 \begin_inset Quotes crd
12531 El segundo permite poner una clasificación para los asistentes, p.
12532 \begin_inset space \thinspace{}
12536 \begin_inset space ~
12540 Está vacío por omisión.
12543 \begin_layout Standard
12544 Las restantes esquinas de la página se pueden completar con
12547 \begin_inset space ~
12552 (por omisión los números de página),
12555 \begin_inset space ~
12563 \begin_inset space ~
12568 (arriba izquierda).
12571 \begin_layout Subsection
12578 \begin_inset CommandInset label
12580 name "sec:unsuppfoils"
12587 \begin_layout Standard
12588 Todos los comandos mencionados a continuación deben ponerse en un entorno
12590 , o en modo \SpecialChar TeX
12591 dentro de otro entorno.
12594 \begin_layout Subsubsection
12598 \begin_layout Standard
12599 Todas las longitudes se ajustan con el comando:
12602 \begin_layout Standard
12622 \begin_inset Newline newline
12629 es el nombre de la variable de longitud que se quiere cambiar y
12633 es el valor deseado para esa longitud.
12634 Las longitudes deben expresarse en unidades como pulgadas (
12650 o en unidades relativas a la dimensión de alguna parte del deocumento,
12661 \begin_layout Standard
12662 Es posible cambiar el espacio entre el encabezado y el cuerpo de una transparenc
12663 ia especificando una longitud con
12670 Por ejemplo, para acercar todos los encabezados al cuerpo en 0.5 pulgadas,
12671 pon en el preámbulo:
12677 foilheadskip}{-0.5in}
12680 \begin_layout Standard
12681 Los espacios alrededor de los flotantes se ajustan con las siguientes variables
12685 \begin_layout Labeling
12686 \labelwidthstring MMMMMMMMMMM
12693 Separación entre el texto y la parte superior del flotante;
12696 \begin_layout Labeling
12697 \labelwidthstring MMMMMMMMMMM
12704 Separación entre el flotante y el encabezado;
12707 \begin_layout Labeling
12708 \labelwidthstring MMMMMMMMMMM
12715 Separación entre el encabezado y el texto siguiente;
12718 \begin_layout Labeling
12719 \labelwidthstring MMMMMMMMMMM
12726 Para poner encabezados más estrechos que el texto circundante.
12727 Lo mejor es definirlo en función de
12736 \begin_layout Standard
12737 Hay otras longitudes relativas a la página de título que te pueden ser útiles
12738 en el caso de títulos largos o de varios autores::
12741 \begin_layout Labeling
12742 \labelwidthstring MMMMMMMMMMM
12749 Separación entre los encabezamientos y el
12754 \begin_layout Labeling
12755 \labelwidthstring MMMMMMMMMMM
12771 \begin_layout Labeling
12772 \labelwidthstring MMMMMMMMMMM
12779 entre varias líneas de
12784 \begin_layout Labeling
12785 \labelwidthstring MMMMMMMMMMM
12801 \begin_layout Labeling
12802 \labelwidthstring MMMMMMMMMMM
12818 \begin_layout Standard
12819 Esta última variable de longitud afecta a todos los entornos de listas.
12830 de un entorno de lista, se suprimen todos los espacios verticales entre
12831 los ítems de la lista.
12832 Ten en cuenta que este es un comando, no una variable de longitud, así
12839 como las variables mencionadas antes.
12842 \begin_layout Subsubsection
12843 Encabezamientos y pies
12846 \begin_layout Standard
12859 controlan si el logotipo definido en
12863 aparece o no en una página dada.
12870 en el preámbulo, ninguna de las transparencias tendrá logotipo.
12871 Si no quieres poner el logotipo en cierta página,
12881 directamente detrás del principio de la página y
12887 directamente detrás del comienzo de la siguiente.
12890 \begin_layout Standard
12891 Si decides poner estilo de página
12897 Documento\SpecialChar menuseparator
12900 deberías seguramente añadir
12910 al preámbulo para que los encabezamientos y pies en páginas apaisadas se
12911 sitúen correctamente.
12912 Esto es debido a ciertas incompatibilidades entre el formato de página
12913 impuesto por el paquete que
12924 \begin_layout Section
12925 Hollywood (Guiones de Hollywood)
12928 \begin_layout Standard
12934 \begin_layout Subsection
12938 \begin_layout Standard
12939 Dar formato a un guión de Hollywood es un
12940 \begin_inset Quotes cld
12944 \begin_inset Quotes crd
12948 Está diseñado para que los lectores se centren en el contenido y resulte
12949 familiar y fácil de leer por los actores.
12950 Cada página de un guión debería representar un minuto de película.
12951 En el guión no hay nada que no veas u oigas en la pantalla.
12952 Debe emplearse el tipo de letra courier 12
12953 \begin_inset space \thinspace{}
12956 pt en todo el guión.
12960 \begin_layout Subsection
12961 Detalles particulares
12964 \begin_layout Standard
12965 Las palabras de un diálogo NUNCA se cortan a final de línea.
12970 debe continuar tras un salto de página, se repite el nombre del mismo (
12977 \begin_layout Subsection
12978 Características especiales
12981 \begin_layout Standard
12982 Introduce los nombres de los personajes
12986 como etiquetas, después haz una referencia cruzada a la etiqueta para insertar
12988 El diálogo de referencia cruzada mostrará el conjunto de personajes.
12989 Esto lo puedes usar también para introducir el nombre de un personaje en
12990 las partes narrativas.
12993 \begin_layout Subsection
12994 Tamaño del papel y márgenes
12997 \begin_layout Standard
12998 USLetter, izquierdo 1.6
12999 \begin_inset space \thinspace{}
13003 \begin_inset space \thinspace{}
13007 \begin_inset space \thinspace{}
13011 \begin_inset space \thinspace{}
13017 \begin_layout Subsection
13021 \begin_layout Standard
13022 Los siguientes entornos están disponibles.
13027 para disponer de los atajos de teclado indicados a la derecha.
13030 \begin_layout Itemize
13034 \begin_inset Newline newline
13039 Para el caso de que no convenga ningún otro.
13043 \begin_layout Itemize
13049 \begin_inset space \hfill{}
13057 \begin_inset Newline newline
13060 Generalmente seguido de algo como
13061 \begin_inset Quotes cld
13064 al levantarse Sally.
13065 \begin_inset Quotes crd
13071 \begin_layout Itemize
13079 \begin_inset space \hfill{}
13083 \begin_inset Newline newline
13088 Introduce una nueva secuencia en INTERIOR.
13089 Seguido siempre de DÍA o NOCHE, o algo similar para definir la iluminación
13091 Esta línea, toda en MAYÚSCULAS.
13094 \begin_layout Itemize
13102 \begin_inset space \hfill{}
13106 \begin_inset Newline newline
13111 Introduce una nueva secuencia en EXTERIOR.
13112 Esta línea, toda en MAYÚSCULAS.
13115 \begin_layout Itemize
13119 \begin_inset space \hfill{}
13123 \begin_inset Newline newline
13128 El personaje que habla.
13131 \begin_layout Itemize
13135 \begin_inset space \hfill{}
13139 \begin_inset Newline newline
13144 Instrucciones para el personaje portavoz.
13145 Los () se insertan automáticamente.
13148 \begin_layout Itemize
13156 \begin_inset space \hfill{}
13160 \begin_inset Newline newline
13165 Lo que dice el personaje.
13168 \begin_layout Itemize
13172 \begin_inset space \hfill{}
13176 \begin_inset Newline newline
13181 Instrucciones para el movimiento de cámara, p.
13182 \begin_inset space \thinspace{}
13186 \begin_inset space ~
13192 \begin_layout Itemize
13195 DESAPARICIÓN_GRADUAL:
13196 \begin_inset space \hfill{}
13202 \begin_layout Itemize
13206 \begin_inset space \hfill{}
13212 \begin_layout Itemize
13216 \begin_inset space \hfill{}
13222 \begin_layout Itemize
13226 \begin_inset space \hfill{}
13232 \begin_layout Subsection
13236 \begin_layout Itemize
13237 (O.S) — off screen (fuera de pantalla)
13240 \begin_layout Itemize
13241 (V.0) — voice over (voz en off)
13244 \begin_layout Itemize
13249 \begin_layout Itemize
13251 — close-up (primer plano)
13254 \begin_layout Itemize
13255 PAN — movimiento de cámara
13258 \begin_layout Itemize
13259 INSERT — pasa a primer plano
13262 \begin_layout Section
13266 \begin_layout Standard
13269 Panayotis Papasotiriou
13272 \begin_layout Subsection
13276 \begin_layout Standard
13281 es una colección de macros que facilitan la presentación de manuscritos
13284 International Journal of Modern Physics C
13287 Igualmente, el paquete
13291 sirve para escribir artículos para
13293 International Journal of Modern Physics D
13296 Ambas revistas son editadas por
13301 Las correspondientes clases de documento se llaman
13310 Estos archivos, junto con las instrucciones de los autores, se pueden descargar
13312 \begin_inset Flex URL
13315 \begin_layout Plain Layout
13317 http://www.worldscinet.com/ijmpc/mkt/guidelines.shtml
13323 \begin_inset Flex URL
13326 \begin_layout Plain Layout
13328 http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml
13334 Ambos paquetes son versiones modificadas del paquete estándar
13338 , y son casi idénticos.
13339 La mayor parte de sus características son soportadas en \SpecialChar LyX
13341 He utilizado \SpecialChar LyX
13342 con éxito para escribir artículos para ambas revistas sin
13346 \begin_layout Subsection
13347 Escribir un artículo
13350 \begin_layout Standard
13351 Como es habitual, la forma más fácil de escribir un artículo es partiendo
13355 Archivo\SpecialChar menuseparator
13356 Nuevo desde plantilla
13358 , y elige una plantilla
13367 Así se muestra un documento casi vacío que incluye los campos más habituales
13369 Simplemente sobreescribe el texto (incluyendo abrazaderas <>) con el tuyo.
13370 Debes tener en cuenta los siguientes puntos:
13373 \begin_layout Enumerate
13375 no permite el cambio del tamaño de letra ni del estilo de página porque
13376 estos paquetes no lo permiten.
13379 \begin_layout Enumerate
13380 No debería cambiarse el lenguaje del documento.
13381 Antes de ver tu artículo, asegúrate
13383 que no está cargado el paquete babel.
13390 \SpecialChar menuseparator
13401 \begin_inset Quotes eld
13405 \begin_inset Quotes erd
13415 \begin_layout Enumerate
13417 \begin_inset Quotes cld
13421 \begin_inset Quotes crd
13424 se debe utilizar para definir palabras-clave.
13427 \begin_layout Enumerate
13432 provee un estilo llamado
13433 \begin_inset Quotes cld
13436 Classification Codes
13437 \begin_inset Quotes crd
13440 , que se puede usar para definir códigos de clasificación, como números
13442 Esta facilidad no es soportada por el paquete
13449 \begin_layout Enumerate
13450 Hay varios entornos nuevos disponibles:
13451 \begin_inset Quotes cld
13455 \begin_inset Quotes crd
13459 \begin_inset Quotes cld
13463 \begin_inset Quotes crd
13467 \begin_inset Quotes cld
13471 \begin_inset Quotes crd
13475 \begin_inset Quotes cld
13479 \begin_inset Quotes crd
13483 \begin_inset Quotes cld
13487 \begin_inset Quotes crd
13491 \begin_inset Quotes cld
13495 \begin_inset Quotes crd
13499 \begin_inset Quotes cld
13503 \begin_inset Quotes crd
13507 \begin_inset Quotes cld
13511 \begin_inset Quotes crd
13515 \begin_inset Quotes cld
13519 \begin_inset Quotes crd
13523 \begin_inset Quotes cld
13527 \begin_inset Quotes crd
13531 \begin_inset Quotes cld
13535 \begin_inset Quotes crd
13539 \begin_inset Quotes cld
13543 \begin_inset Quotes crd
13547 \begin_inset Quotes cld
13551 \begin_inset Quotes crd
13555 \begin_inset Quotes cld
13559 \begin_inset Quotes crd
13563 Su uso es más o menos obvio.
13565 soporta todos estos entornos; utilizará la etiqueta, estilo de texto y
13566 esquema de numeración más apropiados para cada caso.
13569 \begin_layout Enumerate
13570 Ambos paquetes usan citas básicas; el paquete
13575 En \SpecialChar LyX
13576 las referencias a citas se ven normalmente; en la salida se ven como
13578 Si quieres usar una cita como texto normal, debes emplear el comando
13583 \begin_inset space \thinspace{}
13587 \begin_inset Quotes cld
13591 \begin_inset space ~
13601 \begin_inset Quotes crd
13607 \begin_layout Enumerate
13609 \begin_inset Quotes cld
13613 \begin_inset Quotes crd
13616 en ninguno de estos paquetes.
13617 Para ponerlo usa el entorno
13618 \begin_inset Quotes cld
13622 \begin_inset Quotes crd
13628 \begin_layout Enumerate
13629 Se pueden añadir apéndices
13633 de los Agradecimientos y
13637 de las Referencias.
13639 provee un entorno especial, llamado
13640 \begin_inset Quotes cld
13644 \begin_inset Quotes crd
13647 que marca el inicio de los apéndices.
13648 Este entorno debería dejarse en blanco; lo único que hace es enviar un
13649 comando \SpecialChar LaTeX
13650 pero realmente no se imprime nada.
13651 En \SpecialChar LyX
13653 \begin_inset Quotes cld
13657 \begin_inset Quotes crd
13660 se imprime con letras azules, para indicar que todas las secciones posteriores
13662 Para escribir un apéndice usa el entorno
13663 \begin_inset Quotes cld
13667 \begin_inset Quotes crd
13672 ordenará cada apéndice con letras mayúsculas, como requieren ambas revistas.
13674 \begin_inset Quotes cld
13678 \begin_inset Quotes crd
13685 estar presente antes del primer apéndice; si no, los apéndices se numerarán
13686 como secciones normales.
13689 \begin_layout Enumerate
13702 para implementar encabezados de cuadro.
13703 Como resultado, un cuadro creado por \SpecialChar LyX
13704 se imprime correctamente, pero se
13705 ignora su encabezado.
13706 Sin embargo puedes emplear código \SpecialChar TeX
13707 para sortear este problema, de forma
13708 que los encabezados se impriman como es de esperar.
13709 Para hacerlo crea un cuadro flotante de la manera habitual, quita el encabezado
13716 encabezado del cuadro
13720 en código \SpecialChar TeX
13721 —atención a la llave de apertura
13722 \begin_inset Quotes cld
13726 \begin_inset Quotes crd
13729 —, y cierra inmediatamente detrás del contenido del cuadro con
13733 en código \SpecialChar TeX
13735 Estudia los ejemplos de cuadros incluidos en las plantillas para ver como
13736 se realiza este procedimiento.
13737 Alternativamente, si necesitas encabezados de cuadro, podrías construir
13738 el cuadro flotante completo en un archivo
13742 , que después puedes incluir mediante
13744 Insertar\SpecialChar menuseparator
13745 Archivo\SpecialChar menuseparator
13747 \begin_inset space ~
13761 puedes ver más detalles sobre la creación de cuadros flotantes.
13764 \begin_layout Subsection
13765 Preparar un artículo para su remisión
13768 \begin_layout Standard
13769 Antes de remitir un artículo debes exportarlo a \SpecialChar LaTeX
13772 Archivo\SpecialChar menuseparator
13773 Exportar\SpecialChar menuseparator
13784 \begin_layout Plain Layout
13785 Realmente dispones de las opciones \SpecialChar LaTeX
13786 (simple) y pdflatex.
13787 Si piensas usar pdflatex para preparar el artículo,los gráficos incluidos
13788 estarán en formato PDF.
13793 , después haz los cambios siguientes en el resultante archivo
13800 \begin_layout Enumerate
13801 Elimina las líneas de comentarios anteriores al comando
13810 \begin_layout Enumerate
13811 Elimina los comandos
13823 y todo lo que haya entre ambos, excepto aquellos comandos que hayas añadido
13824 expresamente al preámbulo \SpecialChar LaTeX
13828 \begin_layout Standard
13833 modificado debe ser guardado y procesado con \SpecialChar LaTeX
13834 tantas veces como sea necesario.
13835 Comprueba después el documento
13842 \begin_layout Section
13846 \begin_layout Standard
13852 \begin_layout Subsection
13856 \begin_layout Standard
13861 suministra una clase de documento para remitir documentos electrónicos
13862 a publicaciones del
13864 Institute of Physics
13867 Las instrucciones para los autores que quieran crear documentos de esta
13872 se pueden descargar del sitio
13873 \begin_inset Flex URL
13876 \begin_layout Plain Layout
13878 ftp://ftp.iop.org/pub/journals/latex2e
13886 \begin_layout Subsection
13887 Escribir un documento
13890 \begin_layout Standard
13891 La forma más sencilla de escribir un documento es empezar con el
13903 File\SpecialChar menuseparator
13912 de ejemplo explica cómo usar los entornos especiales de texto.
13913 Aquí están los consejos más importantes:
13916 \begin_layout Itemize
13917 Para poder compilar tu documento a PDF, PS o DVI, asegúrate de que
13919 no AMS packages are loaded in
13921 Document\SpecialChar menuseparator
13922 Settings\SpecialChar menuseparator
13928 \begin_layout Itemize
13929 El entorno de título define la clase de tu documento.
13930 Por tanto usa uno de los siguientes entornos para el título:
13934 \begin_layout Itemize
13942 \begin_layout Itemize
13950 \begin_layout Itemize
13955 para una reseña de actualidad
13958 \begin_layout Itemize
13966 \begin_layout Itemize
13974 \begin_layout Itemize
13979 para un artículo (igual que Title)
13982 \begin_layout Itemize
13987 para una comunicación preliminar
13990 \begin_layout Itemize
13995 para una comunicación rápida
13998 \begin_layout Itemize
14003 para una carta al editor
14007 \begin_layout Itemize
14008 Todos los entornos de título excepto
14012 pueden tener un título breve opcional.
14015 \begin_layout Itemize
14016 Hay un entorno general de título
14020 que no es soportado directamente por \SpecialChar LyX
14022 Puede usarse en código \SpecialChar TeX
14023 si tu documento no se adecúa a ninguno de los otros
14027 \begin_layout Standard
14028 Para más información, como consejos para formatos especiales de ecuaciones
14029 y cuadros, echa un vistazo a las pautas dadas por el autor de IOP.
14032 \begin_layout Section
14036 \begin_layout Standard
14039 Panayotis Papasotiriou
14042 \begin_layout Subsection
14046 \begin_layout Standard
14047 El paquete Kluwer es un conjunto de macros producido por
14049 Kluwer Academic Publishers
14051 que facilita la confección de manuscritos electrónicos con destino a sus
14053 Las más conocidas (al menos en mi parcela de interés) son
14055 Astrophysics and Space Science
14061 , aunque hay muchas otras (véase una lista completa en
14062 \begin_inset Flex URL
14065 \begin_layout Plain Layout
14067 http://www.wkap.nl/jrnllist.htm/JRNLHOME
14073 El paquete Kluwer puede ser descargado del sitio
14074 \begin_inset Flex URL
14077 \begin_layout Plain Layout
14079 http://www.wkap.nl/kaphtml.htm/STYLEFILES
14085 Contiene una completa guía de uso, que también puede descargarse separadamente.
14088 \begin_layout Standard
14090 soporta muchas características del paquete pero no todas.
14091 No obstante, el código \SpecialChar TeX
14092 necesario se reduce a ciertos
14093 \begin_inset Quotes cld
14097 \begin_inset Quotes crd
14101 \begin_inset space ~
14105 \begin_inset CommandInset ref
14107 reference "subsec:kluwer_peculiaridades"
14112 He usado \SpecialChar LyX
14113 recientemente para escribir un artículo para
14115 Astrophysics and Space Science
14117 sin ningún problema.
14120 \begin_layout Subsection
14121 Escribir un artículo
14124 \begin_layout Standard
14125 La forma más sencilla de escribir un artículo es empezar con la plantilla
14129 Archivo\SpecialChar menuseparator
14133 \begin_inset space ~
14141 \begin_inset space ~
14153 Se trata de un documento casi vacío que incluye la mayoría de campos más
14154 habituales y una breve descripción de su uso.
14155 Como es habitual en las plantillas, simplemente debes sobreescribir el
14156 texto presente (incluidas las abrazaderas <>) con la información correcta.
14159 \begin_layout Subsection
14160 Preparar un artículo para su remisión
14163 \begin_layout Standard
14164 Como en el paquete AAS\SpecialChar TeX
14165 , antes de remitir tu trabajo a una publicación debes
14166 procesarlo como sigue:
14169 \begin_layout Enumerate
14170 Exporta tu documento a \SpecialChar LaTeX
14173 Archivo\SpecialChar menuseparator
14174 Exportar\SpecialChar menuseparator
14181 \begin_layout Enumerate
14186 resultante con un editor de texto y haz los siguientes cambios:
14190 \begin_layout Enumerate
14191 borra las líneas de comentarios anteriores al comando
14200 \begin_layout Enumerate
14201 quita todo entre los comandos
14213 , ellos incluidos, excepto aquellos específicamente añadidos al preámbulo
14218 \begin_layout Standard
14227 \begin_layout Enumerate
14232 con \SpecialChar LaTeX
14233 tantas veces como sea necesario (generalmente hasta tres).
14236 \begin_layout Enumerate
14237 Mira el documento resultante
14242 \begin_inset space \thinspace{}
14249 , y comprueba si todo está bien (debería, si no has cometido algún error).
14252 \begin_layout Subsection
14253 «Peculiaridades» del paquete Kluwer
14254 \begin_inset CommandInset label
14256 name "subsec:kluwer_peculiaridades"
14263 \begin_layout Standard
14264 El paquete Kluwer tiene algunas
14265 \begin_inset Quotes cld
14269 \begin_inset Quotes crd
14275 \begin_layout Enumerate
14276 Es posible escribir artículos múltiples en el mismo archivo \SpecialChar LaTeX
14281 \begin_layout Plain Layout
14282 No puedo imaginar una buena razón para hacer esto.
14288 Cada artículo debe estar incluido en un entorno
14289 \begin_inset Quotes cld
14293 \begin_inset Quotes crd
14297 Desafortunadamente, este entorno no se puede omitir, incluso si escribes
14299 Por esto, cada artículo empieza con el comando
14305 y, termina, obviamente, con el comando
14312 Aunque esto se puede implementar en \SpecialChar LyX
14313 , no lo he incluido, puesto que se
14314 ve feo y puede confundir al novato.
14315 Así pues hay que introducirlo en código \SpecialChar LaTeX
14317 \begin_inset Quotes cld
14320 código \SpecialChar TeX
14322 \begin_inset Quotes crd
14328 \begin_layout Enumerate
14329 La información dada al principio del artículo (p.
14330 \begin_inset space \thinspace{}
14333 e., título, subtítulo, autor, institución, título corriente, autor corriente,
14334 resumen y palabras-clave) deben incluirse en un entorno llamado
14335 \begin_inset Quotes cld
14339 \begin_inset Quotes crd
14343 Esto no está implementado en \SpecialChar LyX
14344 , así que hay que introducir el título, subtítulo,
14345 etc., entre dos líneas en código \SpecialChar TeX
14361 \begin_layout Enumerate
14362 Según el manual de uso, la etiqueta de cada ítem de la bibliografía debe
14386 \begin_layout Standard
14391 se cuida de todas estas
14392 \begin_inset Quotes cld
14396 \begin_inset Quotes crd
14400 Si empiezas un nuevo artículo a partir de esta plantilla no necesitas hacer
14405 \begin_layout Enumerate
14406 no borrar el código \SpecialChar TeX
14407 incluido en el modelo, y
14410 \begin_layout Enumerate
14411 copia el ejemplo de ítem de bibliografía incluido en la plantilla y modifícalo
14412 como haga falta para introducir nuevas entradas.
14415 \begin_layout Section
14419 \begin_layout Standard
14425 \begin_layout Subsection
14429 \begin_layout Standard
14430 En \SpecialChar LyX
14431 , las clases de documento
14436 article (koma-script)
14440 report (koma-script)
14458 corresponden respectivamente a las clases de \SpecialChar LaTeX
14475 , de la familia Koma-Script.
14476 Son alternativas a las correspondientes clases estándar
14492 , y en ciertos aspectos
14496 se adaptan mejor a las convenciones tipográficas
14503 \begin_layout Itemize
14504 El tamaño estándar de letra es 11
14505 \begin_inset space \thinspace{}
14510 article (koma-script)
14514 report (koma-script)
14521 \begin_inset space \thinspace{}
14526 letter (koma-script)
14531 \begin_layout Itemize
14532 Los encabezados, los marcadores del entorno
14536 y otros elementos de la clase
14538 letter (koma-script)
14543 se ponen en sans serif negrita.
14547 \begin_layout Plain Layout
14548 Hay una gran diferencia entre las antiguas tipografías cm sans serif negrita
14549 y las nuevas tipografías ec, especialmente en cuanto al aspecto de los
14551 En comparación, las tipografías ec sans serif negrita se ven algo más delgadas.
14552 El paquete \SpecialChar LaTeX
14561 permite generar la apariencia
14562 \begin_inset Quotes cld
14566 \begin_inset Quotes crd
14569 cuando se emplean las tipografías ec.
14574 La numeración de los encabezados de capítulo se hace de la misma forma
14575 que la numeración de los encabezados de sección, o sea, sin la línea extra
14577 \begin_inset Quotes cld
14580 Capítulo\SpecialChar ldots
14582 \begin_inset Quotes crd
14586 Además, el aspecto de los encabezados se puede modificar mediante algunas
14587 opciones (en \SpecialChar LyX
14588 se introducen en el diálogo D
14590 ocumento\SpecialChar menuseparator
14594 Se puede encontrar una completa descripción de estas opciones, en alemán,
14595 en la documentación de Koma-Script
14602 \begin_layout Itemize
14603 En las clases Koma-Script, los aspectos principales del diseño del área
14604 imprimible se controlan con las opciones
14612 (en \SpecialChar LyX
14613 se introducen en el campo de opciones de clase del diálogo
14615 Documento\SpecialChar menuseparator
14619 Dichas opciones permiten un ajuste más claro de los márgenes posibles de
14621 En la documentación de Koma-Script
14625 , (en alemán), hay una detallada descripción de estas y otras opciones de
14626 configuración del área imprimible.
14629 \begin_layout Itemize
14630 Las clases \SpecialChar LaTeX
14631 de documentos de la familia Koma-Script definen un cierto número
14632 de comandos adicionales.
14633 Aquellos que tienen sentido en \SpecialChar LyX
14634 se implementan en los correspondientes
14638 \begin_layout Standard
14639 En la documentación de Koma-Script,
14647 (inglés), hay una detallada descripción de las clases \SpecialChar LaTeX
14648 de la familia Koma-Scrip
14652 \begin_layout Subsection
14653 article (koma-script), report (koma-script), y book (koma-script)
14656 \begin_layout Standard
14657 Las clases de documento
14659 article (koma-script)
14663 report (koma-script)
14673 están implementadas en los archivos de formato
14686 Contienen todos los tipos de párrafo de las correspondientes clases estándar
14705 , parcialmente modificados, con la excepción del tipo
14709 a, específico de \SpecialChar LyX
14710 , que es reemplazado por el nuevo tipo
14714 , que tiene la misma funcionalidad.
14719 se han añadido otros nuevos tipos de párrafo.
14724 se encuentran en la clase
14726 letter (koma-script)
14731 \begin_layout Itemize
14734 Añadir_Parte, Añadir_Cap
14740 : son los equivalentes respectivos a
14748 , pero además añaden una entrada en el índice general.
14759 article (koma-script)
14764 \begin_layout Itemize
14773 : se comportan igual que
14781 pero no indican la numeración del capítulo o sección.
14786 * no está disponible en
14788 article (koma-script)
14794 \begin_layout Plain Layout
14801 report (koma-script)
14807 hay también un comando
14813 , pero como es idéntico a
14817 , no ha sido implementado en \SpecialChar LyX
14826 \begin_layout Itemize
14835 : genera un encabezado directamente sobre el párrafo siguiente en el tamaño
14836 de carácter estándar sin afectar a la estructura del documento.
14839 \begin_layout Itemize
14848 son encabezados especiales que respetan los espacios diferentes para encabezado
14849 s situados sobre y bajo un elemento (si sigues estrictamente las normas
14850 tipográficas, pondrás los encabezados de cuadro siempre sobre ellos).
14851 También puedes usar la opción de clase
14863 para los cuadros y por
14868 Para usar esta opción necesitas al menos la versión Koma-Script 2.8q.
14871 \begin_layout Itemize
14876 : sirve para poner una cita o un proverbio, por ejemplo, al principio de
14878 Si utilizas el parámetro opcional
14880 Insertar\SpecialChar menuseparator
14884 \begin_inset space ~
14890 , puedes insertar aquí el nombre del autor de la sentencia.
14891 La sentencia y su autor se separan con una línea.
14892 Para esta posibilidad necesitas Koma-Script versión 2.8q o superior.
14897 no está incluido en
14899 article (koma-script)
14904 \begin_layout Standard
14905 Los entornos siguientes, junto con los habituales
14917 , forman la zona de título del documento.
14918 Deben introducirse sobre el primer párrafo
14919 \begin_inset Quotes cld
14923 \begin_inset Quotes crd
14930 \begin_layout Plain Layout
14931 Los comandos \SpecialChar LaTeX
14932 correspondientes deben aparecer antes de
14943 Cuando este entorno se emplea más de una vez, el último anula a los anteriores,
14944 lo que implica que para cada tipo solo es válida la última entrada.
14945 El orden de los distintos entornos no influye en el documento final, lo
14946 mismo que sucede con
14961 \begin_layout Itemize
14966 : genera un párrafo centrado sobre el título ordinario (
14978 ) para poner el tema del documento.
14981 \begin_layout Itemize
14986 : genera un párrafo centrado bajo el título ordinario (
14998 ) para los nombres de los editores.
15001 \begin_layout Itemize
15008 report (koma-script)
15014 produce un párrafo centrado en su propia página detrás de la de título,
15017 article (koma-script)
15019 produce un párrafo centrado bajo el título ordinario (
15038 \begin_layout Itemize
15043 : produce un párrafo alineado a la izquierda sobre el título ordinario (
15062 \begin_layout Itemize
15065 Reverso_Título_Superior
15067 : genera, en documentos a dos caras, un párrafo alineado a la izquierda
15068 en la parte superior del reverso de la página titular en
15070 report (koma-script)
15076 ; no afecta a documentos a una cara ni a
15081 article (koma-script)
15086 \begin_layout Itemize
15089 Reverso_Título_Inferior
15091 : genera, en documentos a dos caras, un párrafo alineado a la izquierda
15092 en la parte inferior del reverso de la página titular en
15094 report (koma-script)
15100 ; no afecta a documentos a una cara ni a
15102 article (koma-script)
15107 \begin_layout Itemize
15112 ítulo: produce una página especial al principio del documento con un párrafo
15116 \begin_layout Standard
15117 Los archivos de formato para las clases
15119 article (koma-script)
15123 report (koma-script)
15129 incluyen el archivo
15134 Este está pensado como un lugar para definir tus propios tipos.
15139 en tu directorio personal y edítalo!
15142 \begin_layout Subsection
15143 letter (koma-script)
15146 \begin_layout Description
15150 Note: This section discusses the obsolete
15152 KOMA-Script-Letter (v.
15153 \begin_inset space ~
15158 , which is not even included anymore in recent KOMA releases.
15159 Please refer to the next section for the current KOMA-Script-Letter class
15161 \begin_inset space ~
15167 \begin_layout Standard
15169 La clase de documento
15171 letter (koma-script)
15173 se implementa en el archivo de formato
15178 Contiene todos los tipos de párrafo de la clase
15185 estándar, parcialmente modificados, excepto los específicos de \SpecialChar LyX
15188 Código-\SpecialChar LyX
15193 Comentario y el tipo
15199 , que es reemplazado por el nuevo tipo
15204 Además contiene, a diferencia de la clase estándar, los entornos estándar
15214 , más un número de nuevos tipos específicos para cartas.
15217 \begin_layout Standard
15218 El aspecto de las cartas producidas por esta clase de documento se puede
15219 controlar mediante comandos \SpecialChar LaTeX
15220 que puedes poner en el preámbulo.
15224 \begin_layout Plain Layout
15225 Por ejemplo, el aspecto estándar de la cabecera de una carta, nombres y
15226 direcciones, se consigue con estos comandos \SpecialChar LaTeX
15230 \begin_layout LyX-Code
15240 \begin_layout LyX-Code
15256 \begin_layout LyX-Code
15266 \begin_layout LyX-Code
15286 Hay una detallada descripción de ellos en la documentación de Koma-Script,
15292 Con su ayuda puedes producir formatos personalizados de cartas.
15295 \begin_layout Standard
15304 definen el comienzo de la carta y deben ponerse en todas ellas.
15305 Se pueden escribir varias
15309 cartas en el mismo archivo.
15314 da comienzo a una nueva carta para el mismo destinatario mientras que un
15319 da lugar a una nueva carta para distinto destinatario.
15336 son párrafos ordinarios y se pueden usar varias veces en la misma carta.
15339 \begin_layout Itemize
15344 : produce un párrafo para poner el destinatario y define implícitamente
15345 el inicio de la carta.
15348 \begin_layout Itemize
15353 : produce un párrafo para poner el destinatario e inicia implícitamente
15357 \begin_layout Itemize
15362 : da lugar a un párrafo para el cierre de la carta.
15365 \begin_layout Itemize
15370 : párrafo para poner una postdata.
15373 \begin_layout Itemize
15378 : párrafo para una lista de co-destinatarios.
15381 \begin_layout Itemize
15386 : párrafo para documentos adjuntos.
15389 \begin_layout Standard
15390 Los tipos de entorno
15417 \begin_inset space ~
15434 son entradas provistas de una etiqueta para introducir información que
15435 será procesada por la clase de documento.
15439 \begin_layout Plain Layout
15440 Podría ser inconsecuente que
15448 , descritos arriba, no sean también entornos con etiqueta de entrada.
15449 Sin embargo, debido al signifificado particular de estos tipos, los he
15450 implementado como párrafos ordinarios con una letra en el margen.
15451 Además, afectaría a mi sensación de simetría si los tipos
15459 tuvieran aspectos muy distintos.
15464 Estos tipos deben ponerse antes de la
15471 \begin_layout Standard
15472 Una implementación de estos tipos en modo WYSIWYG no tendría sentido porque
15473 el aspecto real de la carta no solo depende del uso de un tipo particular,
15474 sino también de otros factores.
15475 Por ejemplo, en el comportamiento predeterminado, una firma introducida
15480 solo aparecerá en la carta si se usa, además, el tipo
15485 El valor introducido en
15489 tampoco aparece en la carta.
15490 La posibilidad de diseñar el encabezamiento de la carta ya se ha señalado
15491 antes en una nota al pie.
15494 \begin_layout Standard
15495 Los entornos para introducir datos también se pueden usar como párrafos
15497 Esto tiene sentido, p.
15498 \begin_inset space \thinspace{}
15501 e., para el entorno
15510 , en el comportamiento estándar se usará el valor de
15514 como firma, mientras que si se define una
15518 vacía no saldrá ninguna.
15521 \begin_layout Standard
15522 Los entornos para introducir datos también pueden servir para escribir una
15523 plantilla, que contenga campos cumplimentados con tus datos personales
15524 (nombre, dirección, etc.), y campos vacíos listos para ser completados con
15528 \begin_layout Itemize
15533 : nombre del remitente, en el comportamiento normal aparece en versalitas,
15534 en un párrafo centrado en el encabezado de la carta.
15537 \begin_layout Itemize
15542 : firma del remitente, en el comportamiento normal aparece bajo el
15547 Si no se utiliza el párrafo
15551 , se escribe en su lugar el valor del campo
15558 \begin_layout Itemize
15563 : dirección del remitente, en el comportamiento normal aparece en un párrafo
15564 centrado, en el encabezado, bajo el
15571 \begin_layout Itemize
15576 o: teléfono del remitente, en el comportamiento normal corresponde a la
15583 de \SpecialChar LaTeX
15587 \begin_layout Itemize
15592 : lugar donde se ha escrito la carta.
15595 \begin_layout Itemize
15600 : fecha de escritura de la carta.
15609 , por omisión, aparecen en una línea a la derecha bajo el campo de dirección.
15610 Si el párrafo Fecha se deja vacío, no aparecen ni lugar ni fecha, independiente
15611 mente del valor puesto en
15616 Si no se pone párrafo de
15620 , se usará la fecha del día.
15623 \begin_layout Itemize
15628 : dirección para la respuesta, normalmente aparece sobre el campo del destinatar
15633 ) en tipografía sans serif pequeña, subrayado.
15636 \begin_layout Itemize
15641 : información especial de correo, en el comportamiento normal aparece subrayado
15642 sobre la dirección y bajo el remite.
15645 \begin_layout Itemize
15654 : información adicional, en el comportamiento normal aparece a la derecha
15655 bajo el campo del destinatario (
15662 \begin_layout Itemize
15667 : título de la carta, en el comportamiento normal aparece en letra sans
15668 serif grande, en negrita, sobre el
15675 \begin_layout Itemize
15680 : el tema de la carta, en el comportamiento normal aparece en negrita sobre
15688 \begin_layout Standard
15709 generan, a la manera de las cartas comerciales, una línea sobre el
15714 \begin_inset Quotes cld
15718 \begin_inset Quotes crd
15722 \begin_inset Quotes cld
15726 \begin_inset Quotes crd
15730 \begin_inset Quotes cld
15734 \begin_inset Quotes crd
15738 \begin_inset Quotes cld
15742 \begin_inset Quotes crd
15746 \begin_inset Quotes cld
15750 \begin_inset Quotes crd
15754 \begin_inset Quotes cld
15758 \begin_inset Quotes crd
15763 \begin_inset Quotes cld
15767 \begin_inset Quotes crd
15770 toma el valor del entorno
15775 Si se utiliza uno de estos tipos para
15776 \begin_inset Quotes cld
15780 \begin_inset Quotes crd
15787 no aparece, solo se define la variable \SpecialChar LaTeX
15795 La salida ordinaria de lugar y fecha en una línea a la derecha bajo el
15796 campo del destinatario se suprime.
15797 Los tipos se implementan para introducción de datos, provistos con una
15798 etiqueta, y deben utilizarse antes del correspondiente tipo
15805 \begin_layout Itemize
15813 \begin_layout Itemize
15818 Correo: su carta de.
15821 \begin_layout Itemize
15833 \begin_layout Itemize
15841 \begin_layout Itemize
15849 \begin_layout Subsection
15850 La nueva clase de carta: letter (koma-script v.2)
15853 \begin_layout Standard
15859 \begin_layout Standard
15860 \begin_inset VSpace medskip
15866 \begin_layout Standard
15868 Koma-Script versión 2.8 ha introducido una clase nueva
15880 , que ya no se desarrolla.
15881 Tiene, en lo que respecta a \SpecialChar LaTeX
15882 , una interfaz completamente nueva incompatible
15883 con la clase antigua.
15885 soporta las dos, pero se recomienda usar la nueva.
15888 \begin_layout Standard
15889 Esta clase cubre las mismas funciones que
15891 letter (koma-script)
15897 Las funciones básicas son
15901 (dirección del destinatario, como
15905 en el formato antiguo),
15922 comenzará una carta nueva (o sea, que puedes escribir varias cartas en
15923 el mismo documento).
15924 Los elementos nuevos de remitente son
15940 y la posibilidad de usar un
15946 Insertar\SpecialChar menuseparator
15949 ) en el encabezado.
15952 \begin_layout Standard
15953 La mejora más importante es, creo, que el formato de la carta es configurable
15954 para casi cualquier necesidad.
15955 Esto se puede hacer en el preámbulo o con un archivo de estilo especial
15960 , Letter Class Option), que será leído como una opción de clase.
15964 \begin_layout Plain Layout
15965 El paquete KOMA viene con algunos archivos
15970 Hay, por ejemplo, un archivo
15974 que sigue las normas tipográficas alemanas, o
15978 que proporciona el formato predefinido de la antigua clase
15983 Esta última puede cargarse como opción de clase
15993 Documento\SpecialChar menuseparator
15994 Configuración\SpecialChar menuseparator
15996 \begin_inset space ~
16000 \begin_inset space ~
16010 Echa una ojeada a la plantilla
16014 que se incluye como ejemplo en \SpecialChar LyX
16016 En la documentación de Koma-Script (
16020 ) hay una descripción detallada.
16023 \begin_layout Subsection
16027 \begin_layout Standard
16028 En \SpecialChar LyX
16029 , la visualización de documentos de la clase Koma-Script ocasiona algunos
16033 \begin_layout Itemize
16034 El número de capítulo en un párrafo
16038 aparece en una línea propia sobre la cabecera de capítulo en vez de aparecer
16039 delante en la misma línea.
16040 La causa de esto es el comportamiento interno de \SpecialChar LyX
16041 en relación a los marcadores
16046 en el archivo de formato.
16049 \begin_layout Itemize
16050 Los encabezados de los entornos
16058 solo se ponen en el índice generado por \SpecialChar LaTeX
16059 , no en el índice de \SpecialChar LyX
16062 Documento\SpecialChar menuseparator
16064 \begin_inset space ~
16072 \begin_layout Itemize
16073 Los párrafos en documentos de la clase
16077 aparecen separados con espacio adicional entre ellos, no con sangrado.
16078 Este es el comportamiento normal, no hacen falta comandos \SpecialChar LaTeX
16080 Sin embargo, en el diálogo
16082 Documento\SpecialChar menuseparator
16085 el botón que aparece marcado es
16090 Si se introduce un valor de
16093 \begin_inset space ~
16098 se insertan en el documento comandos \SpecialChar LaTeX
16099 adicionales para dar ese espacio,
16100 lo que en este caso no es lo que queremos.
16103 \begin_layout Section
16107 \begin_layout Standard
16113 \begin_layout Subsection
16117 \begin_layout Standard
16118 Memoir es una clase poderosa y en continCarpeta sin títulouo desarrollo.
16119 Se ha diseñado para escribir literatura de ficción y de no ficción.
16120 Su objetivo es dar al usuario el máximo control sobre su documento.
16121 Memoir está basada en la clase estándar
16125 , pero también puede emular la clase
16129 (véase más adelante).
16132 \begin_layout Standard
16133 Peter Wilson, el desarrollador de Memoir, es conocido como autor de muchos
16134 paquetes en el mundillo de \SpecialChar LaTeX
16136 La mayoría de ellos se han combinado con Memoir.
16137 Por tanto, es mucho más sencillo diseñar los índices, apéndices, capítulos
16140 , no obstante, no soporta por sí mismo todas sus características.
16141 Algunas se podrán añadir en futuras versiones
16145 \begin_layout Plain Layout
16146 Estás invitado a enviar sugerencias a
16147 \begin_inset Flex URL
16150 \begin_layout Plain Layout
16152 lyx-devel@lists.lyx.org
16162 , muchas nunca, probablemente, debido a limitaciones estructurales de \SpecialChar LyX
16164 Por supuesto, puedes usar todas las características con ayuda de comandos
16166 (código \SpecialChar TeX
16171 \begin_layout Plain Layout
16172 Consulta la sección
16173 \begin_inset space ~
16177 \begin_inset CommandInset ref
16179 reference "sec:Insertar-Código-TeX"
16189 En esta sección solo trataremos las características soportadas directamente
16190 por \SpecialChar LyX
16192 Para una decripción más completa (y para el resto de características) recomenda
16193 mos la consulta del manual de Memoir
16197 \begin_layout Plain Layout
16198 \begin_inset Flex URL
16201 \begin_layout Plain Layout
16203 CTAN:/macros/latex/memoir/memman.pdf
16213 , que es, no solo una guía de usuario, sino también una completa guía sobre
16214 normas tipográficas y un estupendo ejemplo en sí mismo de buena tipografía.
16217 \begin_layout Subsection
16218 Características básicas y restricciones
16221 \begin_layout Standard
16222 Memoir soporta básicamente todas las características de las clases estándar
16228 Pero hay algunas diferencias:
16231 \begin_layout Description
16233 \begin_inset space ~
16237 \begin_inset space ~
16240 tipografía: Memoir tiene un amplio rango de tamaños de tipografía: 9, 10,
16244 \begin_layout Description
16246 \begin_inset space ~
16250 \begin_inset space ~
16254 \begin_inset Quotes cld
16258 \begin_inset Quotes crd
16261 no está soportado, debido a un conflicto entre Memoir y el paquete
16265 (ambos definen un comando con el mismo nombre, lo que confunde a \SpecialChar LaTeX
16267 En su lugar, Memoir dispone de un puñado de estilos de página propios (véase
16271 Document\SpecialChar menuseparator
16272 Settings\SpecialChar menuseparator
16274 \begin_inset space ~
16281 Si quieres usar estos para las páginas de capítulos, tienes que usar el
16288 en el texto o en el preámbulo (p.
16289 \begin_inset space \thinspace{}
16293 \begin_inset space ~
16300 chapterstyle{companion}
16305 \begin_layout Description
16306 Seccionamiento: En las clases estándar, las secciones (capítulo, sección,
16307 subsección, etc.) van con un argumento opcional con el que puedes especificar
16308 una versión alternativa del título de la sección para el índice y para
16309 los encabezamientos de página, (por ejemplo, cuando el título es excesivamente
16311 En \SpecialChar LyX
16312 , puedes hacerlo con la opción de menú
16314 Insertar\SpecialChar menuseparator
16316 \begin_inset space ~
16321 al principio de un capítulo/sección.
16326 suministra un segundo argumento opcional para separar el índice del encabezamie
16328 Con esto puedes definir tres variantes de un título: una para el texto
16329 principal, otra para el índice general y otra para los encabezamientos.
16333 makes these available in form of specific
16344 \begin_layout Description
16345 TOC/LOF/LOT: En las clases estándar (y en muchas otras), los índices general
16346 (IG, TOC), de figuras (LOF) y de cuadros (LOT) se inician automáticamente
16352 no sigue esta regla.
16353 Si lo quieres, tienes que insertar a mano el salto de página.
16356 \begin_layout Description
16358 \begin_inset space ~
16362 \begin_inset space ~
16365 Título: Por razones desconocidas,
16369 usa paginación en la página del título (en las clases estándar, las páginas
16370 de título van en estilo
16371 \begin_inset Quotes cld
16379 \begin_inset Quotes crd
16383 Si quieres una página de título en dicho estilo, pon
16387 aliaspagestyle{title}{empty}
16392 \begin_layout Description
16393 Article: Con la opción de clase
16397 (que se debe introducir en
16399 Documento\SpecialChar menuseparator
16400 Configuración\SpecialChar menuseparator
16402 \begin_inset space ~
16406 \begin_inset space ~
16409 documento\SpecialChar menuseparator
16413 \begin_inset space ~
16420 ), puedes emular algunos comportamientos de estilo de la clase
16424 : los contadores (de notas al pie, figuras, cuadros, etc.) no se reinician
16425 al cambiar de capítulo, los capítulos nuevos no comienzan en página nueva
16426 (aunque, a diferencia de las clases
16431 \begin_inset Quotes cld
16435 \begin_inset Quotes crd
16438 , está permitido); sin embargo, las partes sí van en páginas nuevas, como
16446 \begin_layout Description
16448 \begin_inset space ~
16452 \begin_inset space ~
16456 \begin_inset space ~
16459 antiguos: por omisión,
16463 no permite el uso de los comandos de tipografía obsoletos que se usaban
16464 en la antigua versión de \SpecialChar LaTeX
16466 \begin_inset space \thinspace{}
16472 \begin_inset space ~
16480 \begin_inset space ~
16490 Si están presentes, generan errores y detienen el procesamiento de \SpecialChar LaTeX
16496 readmite el uso de dichos comandos, (aunque escupe algunas advertencias,
16497 al menos no detiene a \SpecialChar LaTeX
16499 Puesto que algunos paquetes, en particular Bib\SpecialChar TeX
16500 en sus archivos de estilo,
16501 todavía utilizan estos comandos, hemos decidido mantener esta opción como
16505 \begin_layout Subsection
16506 Características adicionales
16509 \begin_layout Standard
16510 Solo indicaremos las soportadas por \SpecialChar LyX
16511 (que actualmente no son muchas).
16512 Consulta el manual de
16520 \begin_layout Plain Layout
16521 \begin_inset Flex URL
16524 \begin_layout Plain Layout
16526 CTAN:/macros/latex/memoir/memman.pdf
16539 \begin_layout Description
16540 Resumen: Te preguntarás por qué un resumen es un característica suplementaria.
16541 Bien, lo es en la clase
16546 Usualmente los libros no tienen resúmenes.
16552 Puedes usarlo donde, como y cuantas veces quieras.
16555 \begin_layout Description
16557 \begin_inset space ~
16560 conciso: Quizá conozcas esto de
16561 \begin_inset Quotes cld
16565 \begin_inset Quotes crd
16572 \begin_layout Plain Layout
16573 Estilo de escritura en que se da más importancia a la bella apariencia que
16583 : El contenido de un capítulo es brevemente descrito debajo del título y
16584 también en el índice general (p.
16585 \begin_inset space \thinspace{}
16589 \begin_inset space ~
16594 Nuestro héroe llega a Troya; pierde algunos compañeros; encuentra a otros
16597 Capítulo_Conciso hace precisamente eso.
16598 Por tanto solo tiene sentido bajo un título de un capítulo.
16601 \begin_layout Description
16602 Epígrafe: Un epígrafe es un texto breve o lema al principio de un capítulo.
16603 El entorno epígrafe lo presenta de manera elegante.
16604 El propio lema (texto) y su autor (origen) se separan con una línea corta.
16607 The author (source) can be inserted via
16609 Insert\SpecialChar menuseparator
16616 \begin_layout Description
16618 \begin_inset space ~
16625 ofrece muchas posibilidades para escribir poesía (incluso complejos poemas
16627 Lyx solo soporta unas pocas de ellas.
16632 , que pone un título centrado para el poema y que también se añade al índice
16638 es el entorno estándar para poesía.
16643 dispone de algunas versiones mejoradas de
16647 , pero necesitas usar código \SpecialChar TeX
16648 , porque tienen que anidarse en entornos regulares
16649 de verso, lo que no es posible en \SpecialChar LyX
16653 \begin_layout Description
16655 \begin_inset space ~
16661 \begin_inset space ~
16666 , pero no añade entrada al índice general.
16669 \begin_layout Section
16670 Article (mwart), book (mwbk) y report (mwrep)
16671 \begin_inset Argument 1
16674 \begin_layout Plain Layout
16685 \begin_layout Standard
16691 \begin_layout Standard
16692 Las clases de documento
16708 de \SpecialChar LyX
16709 corresponden a las clases de documentos \SpecialChar LaTeX
16723 Son remodelaciones de las clases estándar de documentos
16735 , respectivamente, y se adaptan mejor a las convenciones tipográficas polacas
16736 en varios aspectos.
16740 \begin_layout Standard
16741 Las diferencias fundamentales son:
16744 \begin_layout Itemize
16745 Encabezados no numerados (con asterisco, p.
16746 \begin_inset space \thinspace{}
16757 \begin_layout Itemize
16758 Estilos de página adicionales:
16762 \begin_layout Description
16763 uheadings encabezados en líneas separadas,
16766 \begin_layout Description
16767 myheadings encabezados personalizados con
16782 \begin_layout Description
16783 myuheadings encabezados personalizados en líneas separadas,
16786 \begin_layout Description
16787 outer el número de página se coloca en el lado exterior de la misma.
16791 \begin_layout Itemize
16796 \begin_layout Description
16797 rmheadings encabezados en serif (predeterminado),
16800 \begin_layout Description
16801 sfheadings encabezados en sans-serif,
16804 \begin_layout Description
16805 authortitle en la página del título se pone primero el autor y luego el
16806 título (predeterminado),
16809 \begin_layout Description
16810 titleauthor en la página del título se pone el título, después el autor,
16813 \begin_layout Description
16814 withmarginpar reservar sitio de la página para los márgenes.
16818 \begin_layout Section
16822 \begin_layout Standard
16823 La clase de documento
16827 provee una alternativa a la clase estándar
16832 Tiene una funcionalidad similar, aunque quizá prefieras este formato con
16833 secciones en sans serif, encabezados, y más..
16836 \begin_layout Section
16837 Rev\SpecialChar TeX
16841 \begin_layout Standard
16847 \begin_layout Standard
16848 \begin_inset VSpace bigskip
16854 \begin_layout Standard
16859 \begin_inset space ~
16864 trabaja con la clase Rev\SpecialChar TeX
16866 \begin_inset Formula $\beta$
16869 de mayo de 1999) de la
16871 American Physical Society
16876 \begin_layout Standard
16878 tiene la clase de texto
16882 que funciona con Rev\SpecialChar TeX
16884 Sin embargo, la versión 3.1 está obsoleta, porque trabaja con \SpecialChar LaTeX
16886 Esto quiere decir que no interactúa muy bien con \SpecialChar LyX
16887 , que requiere \SpecialChar LaTeX2e
16890 Puesto que Rev\SpecialChar TeX
16891 4.0 se ha diseñado para trabajar mucho mejor con \SpecialChar LaTeX2e
16894 también funcionar mejor con la clase
16896 Rev\SpecialChar TeX
16898 \begin_inset space ~
16906 \begin_layout Standard
16907 Esta documentación está pensada para ser usada
16911 la documentación de Rev\SpecialChar TeX
16913 \begin_inset space ~
16916 4.0, por tanto no describiremos ninguna de las macros especiales de Rev\SpecialChar TeX
16918 y supondremos que sabes lo que hay que poner en el preámbulo, si fuera
16922 \begin_layout Subsection
16926 \begin_layout Standard
16927 Debes instalar Rev\SpecialChar TeX
16929 \begin_inset space ~
16932 4 como se describe en el archivo README del paquete.
16933 El paquete se puede encontrar en el sitio web de Rev\SpecialChar TeX
16935 \begin_inset Flex URL
16938 \begin_layout Plain Layout
16940 http://publish.aps.org/revtex4/
16946 Instálalo donde \SpecialChar LaTeX
16948 Compruébalo procesando con \SpecialChar LaTeX
16949 algún corto documento Rev\SpecialChar TeX
16951 \begin_inset space ~
16954 4 en algún directorio casual (es decir, no en el directorio donde se ha
16955 instalado el archivo de clase).
16956 Luego, si reconfiguras \SpecialChar LyX
16957 , este reconocerá el archivo de clase Rev\SpecialChar TeX
16959 \begin_inset space ~
16962 4 y lo podrás utilizar.
16965 \begin_layout Standard
16966 Probablemente la forma más fácil de empezar es importar un documento Rev\SpecialChar TeX
16968 \begin_inset space ~
16971 4 usando re\SpecialChar LyX
16972 , o partir del modelo de la plantilla de Rev\SpecialChar TeX
16974 \begin_inset space ~
16981 , disponible en el directorio de plantillas (
16988 \begin_layout Subsection
16992 \begin_layout Standard
16993 Los argumentos opcionales a
17000 \begin_inset Quotes cld
17004 \begin_inset Quotes crd
17008 \begin_inset Quotes cld
17012 \begin_inset Quotes crd
17021 Documento\SpecialChar menuseparator
17022 Configuración\SpecialChar menuseparator
17024 \begin_inset space ~
17030 \begin_inset space ~
17038 ¡Recuerda que en Rev\SpecialChar TeX
17039 , se requiere, al menos, un argumento opcional!
17042 \begin_layout Standard
17043 Otras cosas del preámbulo, como
17049 etc., van en el diálogo
17052 \begin_inset space ~
17065 \begin_layout Subsection
17066 Entornos de párrafo
17069 \begin_layout Standard
17070 En Rev\SpecialChar TeX
17072 \begin_inset space ~
17075 4.0, los entornos de párrafo corresponden básicamente a comandos.
17076 Por ejemplo, el formato
17087 Ten en cuenta que (al menos desde Rev\SpecialChar TeX
17088 4.0 Beta), los entornos
17096 son exactamente equivalentes, por lo que no tendrías que usar ambos.
17100 \begin_layout Plain Layout
17101 Si tienes curiosidad, se incluyeron ambos para que
17103 tex2\SpecialChar LyX
17106 puediera traducir ambos,
17126 \begin_layout Subsection
17130 \begin_layout Standard
17131 Hay un par de importantes aspectos únicos de Rev\SpecialChar TeX
17132 4 que podrían ocasionar
17133 fallos que serán incluso más confusos en \SpecialChar LyX
17137 \begin_layout Standard
17138 En Rev\SpecialChar TeX
17156 El equivalente en \SpecialChar LyX
17157 es que hay un entorno
17166 escribas notas al pie en el entorno
17172 sucederán cosas raras
17175 Véase la documentación de Rev\SpecialChar TeX
17176 4 para más detalles.
17179 \begin_layout Standard
17180 Además, los entornos
17183 \begin_inset space ~
17191 \begin_inset space ~
17208 y el entorno correspondiente
17225 , \SpecialChar LaTeX
17229 \begin_layout Section
17230 Publicaciones de Springer (
17237 \begin_layout Standard
17243 \begin_layout Subsection
17247 \begin_layout Standard
17248 Estos son los archivos de formato para algunas de las publicaciones editadas
17253 , las que se recogen en
17254 \begin_inset Flex URL
17257 \begin_layout Plain Layout
17259 http://www.springer.de/author/tex/help-journals.html
17264 , donde debes acudir para conseguir los archivos de la clase (¡sí, ahora
17265 son \SpecialChar LaTeX2e
17267 Es un sistema modular: las características comunes a todas las publicaciones
17272 , y los archivos de formato específicos (tales como, p.
17273 \begin_inset space \thinspace{}
17284 ) pueden incluirlo.
17287 \begin_layout Standard
17288 Esto significa que implementar soporte para cualquier otra publicación de
17293 incluida en esa lista es tan sencillo como escribir tu propio archivo
17301 siguiendo las pautas dadas en
17309 \begin_layout Standard
17310 Está razonablemente bien probado solo en el caso de
17323 vienen con la distribución estándar de \SpecialChar LyX
17325 Instala el archivo de clase correspondiente (descargado del sitio de
17329 ) en un directorio adecuado, reconfigura \SpecialChar LaTeX
17330 —en el caso de te\SpecialChar TeX
17335 , como root si es necesario.
17337 no se ocupa de esto?)—; reconfigura \SpecialChar LyX
17338 y ya debería funcionar.
17341 \begin_layout Subsection
17345 \begin_layout Standard
17346 Un gran número de estilos tipo teorema –
17348 Afirmación, Conjetura,
17358 \begin_layout Standard
17361 Nota_Encabezado, Dedicatoria, Subtítulo, Título_\SpecialChar LaTeX
17362 _Puesto, Autor_Puesto, Instituto
17363 , Correo, Separatas, Palabras_clave, Agradecimientos
17366 Véase la documentación de la clase Springer para más detalles.
17369 \begin_layout Subsection
17370 Publicaciones soportadas
17373 \begin_layout Itemize
17385 \begin_layout Itemize
17388 Probability Theory and Related Fields
17394 — Jean-Marc Lasgouttes
17397 \begin_layout Standard
17398 ¡Añade el tuyo, no es tan duro!
17401 \begin_layout Subsection
17402 CréditosCarpeta sin título
17405 \begin_layout Standard
17406 Estos archivos están basados parcialmente en el antiguo
17410 , basado a su vez en una versión modificada de un antiguo archivo de estilo
17411 de \SpecialChar LaTeX
17417 Todo esto, y el archivo
17421 layout, están obsoletos.
17422 Jean-Marc Lasgouttes me ayudó mucho a encontrar mi propio mecanismo para
17423 el archivo de formato de \SpecialChar LyX
17427 \begin_layout Subsection
17431 \begin_layout Standard
17433 Pero probablemente menos que en el antiguo
17437 de \SpecialChar LaTeX
17441 \begin_layout Section
17448 \begin_inset CommandInset label
17457 \begin_layout Standard
17465 \begin_layout Subsection
17469 \begin_layout Standard
17470 Esta sección describe cómo usar \SpecialChar LyX
17471 para hacer transparencias para proyectores.
17472 Hay dos clases de documento que pueden hacer esto: la clase predeterminada
17483 Esta sección se ocupa de la primera de ellas.
17486 \begin_layout Standard
17487 Lo voy a repetir alto y claro, para que no haya equívocos:
17490 \begin_layout Standard
17491 \begin_inset VSpace medskip
17497 \begin_layout Standard
17501 En esta sección se explica
17506 \begin_inset space ~
17511 slides (predeterminada)
17517 \begin_layout Standard
17518 \begin_inset VSpace medskip
17524 \begin_layout Standard
17525 Si buscas la documentación para
17526 \begin_inset Quotes cld
17531 slides (Foil\SpecialChar TeX
17535 \begin_inset Quotes crd
17538 , mira en la sección
17539 \begin_inset space ~
17543 \begin_inset CommandInset ref
17545 reference "sec:foiltex"
17555 \begin_inset Quotes cld
17560 slides (Foil\SpecialChar TeX
17564 \begin_inset Quotes crd
17567 ) es realmente un poco mejor que la clase predeterminada
17575 \begin_layout Plain Layout
17577 o eso se dice repetidamente por sus defensores.
17578 Puesto que no la he usado nunca, no tengo ni idea si es cierto o no.
17583 que se explica en esta sección.
17586 \begin_layout Standard
17587 Esta clase es una mejora del antiguo paquete
17592 de \SpecialChar LaTeX2e
17594 Toda distribución de \SpecialChar LaTeX2e
17595 la incluye (nos referiremos desde ahora a
17596 \begin_inset Quotes cld
17604 \begin_inset Quotes crd
17607 ), así que lo tendrás.
17608 Como anoté antes, hay otras clases, como
17612 , que también produce transparencias y hace mejor su tarea.
17613 Sin embargo, hay ciertas cosas que
17617 puede hacer que los otros no pueden, como capas superpuestas.
17618 ¡Sigue leyendo para saber más!
17621 \begin_layout Subsection
17623 \begin_inset CommandInset label
17625 name "sec:slidesetup"
17632 \begin_layout Standard
17633 Obviamente, para usar esta clase debes escoger
17634 \begin_inset Quotes cld
17642 \begin_inset Quotes crd
17647 Documento\SpecialChar menuseparator
17651 Algunas cosas que debes saber sobre esta clase:
17654 \begin_layout Itemize
17655 No enredes con cambios en las opciones
17664 No es soportado por
17671 \begin_layout Itemize
17675 \begin_inset space ~
17679 \begin_inset space ~
17684 se porta un poco distinto para esta clase.
17685 Las opciones disponibles y su efecto son:
17689 \begin_layout Description
17694 La salida tiene números de página en la esquina inferior derecha.
17697 \begin_layout Description
17706 , pero además imprime los marcadores de tiempo que hayas puesto.
17707 Esta es la opción por omisión.
17710 \begin_layout Description
17715 La salida no imprime ni números de pàgina ni marcadores, nada.
17719 \begin_layout Itemize
17724 tiene una opción extra:
17730 \begin_inset Quotes cld
17738 \begin_inset Quotes crd
17741 en las opciones de la configuración de clase.
17745 \begin_layout Standard
17746 Usar estas opciones te permite añadir marcadores de tiempo a las
17754 \begin_layout Standard
17755 También puedes utilizar la plantilla
17756 \begin_inset Quotes cld
17764 \begin_inset Quotes crd
17767 para preparar un nuevo documento de esta clase, con
17769 Archivo\SpecialChar menuseparator
17771 \begin_inset space ~
17775 \begin_inset space ~
17781 La plantilla contiene algunos ejemplos de entornos de párrafo especiales
17783 Se describirán a continuación.
17786 \begin_layout Subsection
17787 Entornos de párrafo
17790 \begin_layout Subsubsection
17791 Entornos soportados
17794 \begin_layout Standard
17795 La primera cosa que observarás cuando inicies un documento
17799 es el tipo y tamaño de tipografía:
17802 \begin_inset space ~
17812 Es también la tipografía que se utiliza en la salida.
17813 Interpreta esto como un
17814 \begin_inset Quotes cld
17818 \begin_inset Quotes crd
17821 que te recuerda que es una transparencia.
17822 En realidad las transparencias finales pueden usar una tipografía más grande,
17823 por tanto dispondrás de menos espacio.
17824 Es decir, la tipografía grande en pantalla no es WYSIWYG, es solo un recordator
17828 \begin_layout Standard
17829 La segunda cosa que llamará la atención es el cuadro desplegable de los
17830 entornos de párrafo ( a la izquierda de la barra de herramientas).
17831 La mayoría de los entornos que estás acostumbrado a ver ahí están ausentes.
17832 Y hay cinco nuevos.
17833 Esto se debe a que la clase
17837 por sí misma solo soporta un cierto número de entornos de párrafo:
17840 \begin_layout Itemize
17846 \begin_layout Itemize
17852 \begin_layout Itemize
17858 \begin_layout Itemize
17864 \begin_layout Itemize
17870 \begin_layout Itemize
17876 \begin_layout Itemize
17882 \begin_layout Itemize
17888 \begin_layout Itemize
17894 \begin_layout Itemize
17897 Código-\SpecialChar LyX
17901 \begin_layout Standard
17902 Todos los demás entornos estándar, incluyendo los de cabeceras de sección,
17903 no funcionan en la clase
17910 \begin_layout Standard
17911 Por otra parte, verás los siguientes nuevos entornos:
17914 \begin_layout Itemize
17920 \begin_layout Itemize
17926 \begin_layout Itemize
17932 \begin_layout Itemize
17938 \begin_layout Itemize
17944 \begin_layout Standard
17945 Estos cinco tienen ciertas peculiaridades debido a una
17946 \begin_inset Quotes cld
17950 \begin_inset Quotes crd
17953 de \SpecialChar LyX
17955 Verás, \SpecialChar LyX
17956 no permite anidar ningún entorno de párrafo en un entorno vacío.
17957 Bien, esto es fino y elegante, pero significa que no podrás comenzar una
17958 transparencia con nada que no sea texto simple.
17959 Para evitar esto, he hecho un poco de
17960 \begin_inset Quotes cld
17963 magia \SpecialChar LaTeX
17965 \begin_inset Quotes crd
17971 \begin_layout Subsubsection
17972 Peculiaridades de los nuevos entornos
17973 \begin_inset CommandInset label
17975 name "sec:slide-Peculiaridades"
17982 \begin_layout Standard
17983 Los cinco entornos nuevos son un poco peculiares debido a limitaciones inherente
17984 s a \SpecialChar LyX
17986 Como he dicho, \SpecialChar LyX
17987 prohibe los entornos que comienzan con otro entorno.
17988 Para obviar esto, el entorno
17992 no se comporta como los entornos de párrafo típicos descritos en la
18000 \begin_layout Standard
18013 deberían considerarse
18014 \begin_inset Quotes cld
18018 \begin_inset Quotes crd
18022 Tienen el aspecto de una cabecera de sección o de un
18023 \begin_inset Quotes cld
18031 \begin_inset Quotes crd
18034 , pero realmente comienzan (y si es necesario finalizan el anterior) un
18035 entorno de párrafo.
18036 De igual manera, considera
18045 \begin_inset Quotes cld
18049 \begin_inset Quotes crd
18053 Estos dos realizan acciones.
18056 \begin_layout Standard
18057 Una característica común a los cinco entornos,
18077 , es una etiqueta más bien larga.
18078 El texto que sigue a la etiqueta —generalmente los contenidos del entorno
18079 de párrafo— no es tenido en cuenta.
18081 lo ignora completamente.
18082 De hecho, puedes dejar estos cinco entornos totalmente vacíos.
18086 \begin_layout Standard
18091 que poner texto tras la etiqueta, puedes hacerlo.
18092 Podría ser, por ejemplo, una breve descripción del contenido de la
18097 En ese caso, introduce tu texto y pulsa
18101 como harías normalmente.
18104 \begin_layout Standard
18105 Si, por otra parte, no deseas introducir ningún texto descriptivo, puedes
18106 utilizar otra peculiaridad de \SpecialChar LyX
18109 , como la naturaleza, siente horror al vacío, y no te permitirá iniciar
18110 un nuevo entorno de párrafo hasta que pongas algo en el anterior.
18111 En ese caso puedes hacer esto:
18114 \begin_layout Itemize
18115 Comienza introduciendo el texto que
18143 \begin_layout Itemize
18144 Sitúate ahora en el principio de ese párrafo.
18148 \begin_layout Itemize
18157 \begin_layout Itemize
18158 Por último, cambia este nuevo párrafo vacío a
18181 \begin_layout Standard
18182 Confiemos en que alguna futura versión de \SpecialChar LyX
18183 resuelva esta peculiaridad\SpecialChar ldots
18187 \begin_layout Subsection
18188 Hacer una presentación con
18201 \begin_layout Subsubsection
18202 Utilizar el entorno
18207 \begin_layout Standard
18208 Si esperas que esta sección te enseñe a realizar una presentación, te vas
18210 Naturalmente, describiré todas las formas en que la clase
18214 te ayudará a preparar una presentación.
18215 Completar el contenido es tarea tuya.
18216 (Esta es, también, la filosofía de \SpecialChar LyX
18221 \begin_layout Standard
18222 Al escoger el entorno
18226 (como se indica en la sección
18227 \begin_inset space ~
18231 \begin_inset CommandInset ref
18233 reference "sec:slide-Peculiaridades"
18238 comienza una nueva.
18239 El marcador para este entorno/
18240 \begin_inset Quotes cld
18244 \begin_inset Quotes crd
18248 \begin_inset Quotes cld
18252 \begin_inset Quotes crd
18255 en azul con la etiqueta
18256 \begin_inset Quotes cld
18260 \begin_inset Quotes crd
18266 \begin_layout Standard
18267 Cualquier texto o entorno de párrafo que siga a este irá en la nueva diapositiva.
18271 \begin_layout Standard
18272 Probablemente, en las diapositivas necesitarás forzar saltos de página en
18274 (puede especificarse en el diálogo
18276 Insertar\SpecialChar menuseparator
18280 De hecho, tendrás que hacerlo una vez acabes el contenido de una transparencia.
18281 Si has introducido más texto del que cabe en una transparencia, el sobrante
18283 Sin embargo no lo recomiendo, puesto que la diapositiva con el texto excedente
18284 no tendrá número de página.
18285 Además, puede interferir con algún
18289 que hayas incluido en la transparencia sobredimensionada.
18292 \begin_layout Standard
18301 funcionan como el entorno
18307 \begin_inset Quotes cld
18311 \begin_inset Quotes crd
18315 \begin_inset Quotes cld
18319 \begin_inset Quotes crd
18323 \begin_inset Quotes cld
18327 \begin_inset Quotes crd
18335 color es magenta en vez de azul, y la
18336 \begin_inset Quotes cld
18340 \begin_inset Quotes crd
18343 tiene un aspecto diferente en estilo y longitud.
18344 La tipografía de las etiquetas de las tres también es diferente en cada
18348 \begin_layout Standard
18353 , si los contenidos de una
18361 exceden el espacio físico de la diapositiva o del papel, el texto sobrante
18362 ocupa una nueva hoja.
18363 De nuevo lo desaconsejamos porque las
18371 s carecerían de utilidad.
18374 \begin_layout Subsubsection
18384 \begin_layout Standard
18389 es una transparencia que se superpone a otra.
18390 Supón que quieres presentar una figura en una diapositiva antes que el
18391 texto que la acompaña.
18392 Una forma de conseguirlo es ocultar con papel negro la parte que quieres
18393 que se muestre más tarde.
18394 Sin embargo, este método no sirve si quieres superponer un gráfico a otro,
18396 Entonces tendrías que trastear con las transparencias, mientras sigues
18397 hablando, para superponerlas de manera que los gráficos queden correctamente
18403 , ambas cosas son mucho más sencillas.
18406 \begin_layout Standard
18411 tiene el mismo número de página que la
18416 \begin_inset Quotes cld
18420 \begin_inset Quotes crd
18424 \begin_inset Quotes cld
18428 \begin_inset Quotes crd
18435 \begin_layout Plain Layout
18436 Presumiblemente, múltiples
18441 \begin_inset Quotes cld
18449 \begin_inset Quotes crd
18453 \begin_inset Quotes cld
18461 \begin_inset Quotes crd
18465 \begin_inset Quotes cld
18473 \begin_inset Quotes crd
18477 \begin_inset space ~
18480 tras el número de página de la
18485 \begin_inset Quotes cld
18489 \begin_inset Quotes crd
18498 ¡Efectivamente, quieres que la Diapositiva
18506 cuenten como si fueran una sola página! Probablemente deberías considerar
18512 \begin_inset Quotes cld
18516 \begin_inset Quotes crd
18532 en \SpecialChar LyX
18533 : la etiqueta al principio de un
18537 es más corta que la de comienzo de una
18542 Por último, al generar salida impresa, verás marcas de alineación en las
18543 cuatro esquinas de las páginas de la
18552 Esas marcas te ayudarán a alinear físicamente las dos transparencias.
18555 \begin_layout Standard
18556 El mayor problema para superponer dos transparencias es alinear sus contenidos.
18557 ¿Qué espacio habrá que dejar para tal gráfico en la segunda transparencia?
18558 Peor aún, ¿qué pasa si quieres un gráfico y una frase en la segunda transparenc
18559 ia, pero en la primera hay texto que debe aparecer entre ellos? Podrías
18560 probar a insertar un espacio vertical adecuado, pero el mejor método es
18572 \begin_layout Standard
18573 Como su nombre indica,
18581 son entornos de párrafo que hacen invisible o visible, respectivamente,
18582 todo el texto siguiente.
18583 Sin embargo, ten en cuenta que no colocas nada
18587 de estos entornos, recuerda la sección
18588 \begin_inset space ~
18592 \begin_inset CommandInset ref
18594 reference "sec:slide-Peculiaridades"
18603 , se inserta una etiqueta en azul-cielo, centrada en la página con la leyenda
18604 <Invisible Text Follows>.
18605 Los párrafos que siguen a esta etiqueta en la
18613 (da lo mismo) se sustituyen por el espacio en blanco equivalente.
18616 \begin_layout Standard
18621 , la etiqueta tiene la leyenda <Visible Text Follows>
18622 \begin_inset space ~
18626 Los párrafos que la siguen se comportan normalmente.
18627 Ten en cuenta que el inicio de
18639 desactiva automáticamente la función
18644 No es necesario utilizar
18655 \begin_layout Standard
18656 Ya deberíamos estar listos para crear transparencias superpuestas con la
18657 adecuada combinación de
18676 \begin_layout Enumerate
18681 , incluyendo todo lo que debe aparecer en ella y en los
18688 \begin_layout Enumerate
18689 Antes de cada figura o párrafo que vaya a salir solo en un
18693 , inserta un entorno
18698 Si es necesario, inserta un entorno
18702 tras el texto que pertenece solo al
18709 \begin_layout Enumerate
18714 inmediatamente detrás de la
18721 \begin_layout Enumerate
18722 Copia los contenidos de esta
18733 \begin_layout Enumerate
18738 , cambia todas las líneas del
18749 \begin_layout Standard
18751 Acabas de hacer una transparencia superpuesta.
18754 \begin_layout Standard
18755 Hay un problema con el procedimiento que he diseñado para la clase
18759 en \SpecialChar LyX
18760 : no puedes hacer invisible un texto en mitad de un párrafo, ni hacer
18761 visible un texto dentro de un párrafo invisible.
18762 Para conseguirlo necesitarás usar algo de código \SpecialChar LaTeX
18767 \begin_layout Plain Layout
18768 Los comandos de interés son:
18771 \begin_layout Itemize
18776 invisible \SpecialChar ldots
18780 \begin_layout Itemize
18785 visible \SpecialChar ldots
18789 \begin_layout Plain Layout
18791 que deben marcarse como \SpecialChar TeX
18793 El texto \SpecialChar ldots
18799 \begin_inset Quotes cld
18803 \begin_inset Quotes crd
18806 quieres cambiar debe ir a continuación del comando
18818 , y todo ello entre llaves { }.
18819 Si no sabes cómo se marca un texto como \SpecialChar TeX
18820 , consulta la sección adecuada
18833 \begin_layout Subsubsection
18843 \begin_layout Standard
18852 está asociada a una
18860 \begin_inset Quotes cld
18864 \begin_inset Quotes crd
18868 También \SpecialChar LyX
18873 visualmente: La etiqueta para una
18877 es más corta que la de una
18881 pero más larga que la de
18885 y, como este, en color magenta.
18890 tiene en la salida el número de página de la
18895 \begin_inset Quotes cld
18899 \begin_inset Quotes crd
18903 \begin_inset Quotes cld
18911 \begin_inset Quotes crd
18915 \begin_inset Quotes cld
18923 \begin_inset Quotes crd
18927 \begin_inset Quotes cld
18935 \begin_inset Quotes crd
18939 Puedes poner varias
18955 , seguramente te interesará cortar las
18959 largas para que quepan en una hoja.
18962 \begin_layout Standard
18963 El propósito de una
18967 es evidente: hacer comentarios adicionales al contenido principal.
18968 También podría utilizarse como recordatorio en una
18973 En este caso, podrías hacer uso de marcadores de tiempo.
18974 Actualmente, la clase
18978 no tiene en \SpecialChar LyX
18980 \begin_inset Quotes cld
18984 \begin_inset Quotes crd
18987 para marcadores de tiempo, una función de
18993 Por tanto tendrías que usar código \SpecialChar LaTeX
18997 \begin_layout Standard
18998 Para usar marcadores de tiempo debes especificar la opción extra de clase
19000 \begin_inset Quotes cld
19008 \begin_inset Quotes crd
19012 \begin_inset space ~
19016 \begin_inset CommandInset ref
19018 reference "sec:slidesetup"
19023 Esta opción habilita marcas de tiempo que se mostrarán en la esquina inferior
19029 Para establecer lo que aparecerá en el marcador de tiempo, usa los comandos
19032 \begin_inset Quotes cld
19042 \begin_inset Quotes crd
19046 \begin_inset Quotes cld
19056 \begin_inset Quotes crd
19060 El argumento de ambos comandos es un tiempo expresado en segundos.
19062 \begin_inset Quotes cld
19072 \begin_inset Quotes crd
19075 fija el marcador en un instante dado.
19077 \begin_inset Quotes cld
19087 \begin_inset Quotes crd
19090 incrementa el marcador en la cantidad de tiempo especificada.
19091 Usar los marcadores de tiempo y las
19095 de esta manera te recordará cuanto tiempo emplear en una
19102 \begin_layout Standard
19103 Queda por describir una característica.
19104 Seguramente te gustaría imprimir todas tus
19112 en transparentes y las
19129 a la que están asociadas.
19130 ¿Qué hacer entonces?
19133 \begin_layout Standard
19134 Afortunadamente hay dos comandos \SpecialChar LaTeX
19135 que permiten seleccionar lo que se ha
19137 Se deben poner en el preámbulo del documento.
19139 \begin_inset Quotes cld
19151 \begin_inset Quotes crd
19154 hará que la salida solo contenga las
19163 De igual manera, el comando
19164 \begin_inset Quotes cld
19176 \begin_inset Quotes crd
19184 Aconsejo poner ambos comandos en el preámbulo pero desactivados mediante
19185 un comentario a principio de línea para que puedas ver preliminares de
19186 toda la presentación.
19187 A la hora de imprimir, puedes descomentar uno de ellos para imprimir esa
19189 Tengo la costumbre de descomentar
19190 \begin_inset Quotes cld
19202 \begin_inset Quotes crd
19205 , exportar a un archivo con
19206 \begin_inset Quotes cld
19214 \begin_inset Quotes crd
19217 en el nombre, comentarlo de nuevo, ahora descomentar
19218 \begin_inset Quotes cld
19230 \begin_inset Quotes crd
19233 y exportar a otro archivo con
19234 \begin_inset Quotes cld
19242 \begin_inset Quotes crd
19246 Entonces puedo mandar ambos archivos a la impresora poniendo transparentes
19247 o papel según convenga.
19250 \begin_layout Standard
19251 También puedes poner otros argumentos a los comandos
19252 \begin_inset Quotes cld
19262 \begin_inset Quotes crd
19266 \begin_inset Quotes cld
19276 \begin_inset Quotes crd
19280 Consulta un buen libro sobre \SpecialChar LaTeX
19284 \begin_layout Subsection
19285 La plantilla para la clase
19290 \begin_layout Standard
19291 He preparado también un archivo modelo,
19292 \begin_inset Quotes cld
19300 \begin_inset Quotes crd
19308 Para empezar tu presentación con él abrelo con
19310 Archivo\SpecialChar menuseparator
19312 \begin_inset space ~
19316 \begin_inset space ~
19322 Contiene un ejemplo de presentación con el trío
19343 tienen además un ejemplo del uso de TextoI
19352 Por último, el preámbulo contiene:
19355 \begin_layout LyX-Code
19356 % Uncomment to print out only slides and overlays
19360 \begin_layout Plain Layout
19362 \begin_inset Quotes cld
19366 \begin_inset Quotes crd
19369 ) para imprimir solo diapositivas y superpuestos.
19383 \begin_layout LyX-Code
19387 \begin_layout LyX-Code
19393 \begin_inset Newline newline
19399 \begin_layout LyX-Code
19400 % Uncomment to print out only notes
19404 \begin_layout Plain Layout
19406 \begin_inset Quotes cld
19410 \begin_inset Quotes crd
19413 ) para imprimir solo las notas.
19427 \begin_layout LyX-Code
19431 \begin_layout LyX-Code
19439 \begin_layout Standard
19440 Un apunte final: He creado esta clase para dar soporte a la clase integrante
19441 de \SpecialChar LaTeX2e
19443 \begin_inset Quotes cld
19452 \begin_inset Quotes crd
19456 Ni yo ni el resto del equipo \SpecialChar LyX
19457 aprobamos o desaprobamos el empleo de esta
19459 A tí te corresponde decidir si la necesitas.
19460 Hay otras clases de \SpecialChar LaTeX2e
19461 para crear presentaciones, como
19466 \begin_inset space ~
19470 \begin_inset CommandInset ref
19472 reference "sec:foiltex"
19477 \begin_inset Quotes cld
19485 \begin_inset Quotes crd
19488 (presente en algunas distribuciones de \SpecialChar TeX
19490 Este último aún no es soportado por \SpecialChar LyX
19495 \begin_layout Plain Layout
19496 Quizá quieras abordar tú la tarea\SpecialChar ldots
19502 No conozco estas otras clases.
19503 Puedes probarlas para ver qué alternativas te ofrecen.
19506 \begin_layout Chapter
19507 Características de \SpecialChar LyX
19508 que requieren software adicional
19509 \begin_inset Argument 1
19512 \begin_layout Plain Layout
19521 \begin_layout Section
19522 Comprobar \SpecialChar TeX
19526 \begin_layout Standard
19532 \begin_layout Subsection
19536 \begin_layout Standard
19545 \begin_layout Plain Layout
19546 Aún no disponible en la distribución Mik\SpecialChar TeX
19556 encontrarás la opción
19559 \begin_inset space ~
19565 Para que esté disponible necesitas instalar el programa
19570 Puedes obtenerlo de CTAN,
19571 \begin_inset Newline newline
19575 \begin_inset CommandInset href
19577 target "https://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
19585 \begin_layout Standard
19588 Chk\SpecialChar TeX
19596 , a causa de la frustración que generan algunas construcciones de \SpecialChar LaTeX
19598 intuitivas y fáciles de olvidar.
19599 El programa se ejecuta sobre el archivo \SpecialChar LaTeX
19600 y comprueba la integridad del
19601 mismo, identificando algunos errores comunes.
19602 En palabras técnicas, es como
19606 para \SpecialChar LaTeX
19610 \begin_layout Standard
19611 Bien, ¿qué pinta un revisor de sintaxis en \SpecialChar LyX
19612 , que se supone que siempre genera
19614 correcto? La respuesta es sencilla: Igual que
19618 no solo comprueba la
19622 de programas C, sino que también comprueba la
19630 busca de errores de tipografía,
19632 Chk\SpecialChar TeX
19635 detecta, además de los errores sintácticos, errores
19639 comunes, tales como
19642 \begin_layout Itemize
19643 Puntos suspensivos incorrectos:
19644 \begin_inset Newline newline
19647 Usa \SpecialChar ldots
19651 \begin_layout Itemize
19652 Espacio junto a los paréntesis:
19653 \begin_inset Newline newline
19656 ( espaciado incorrecto )
19659 \begin_layout Itemize
19660 Introducción de espacio normal tras abreviaciones:
19661 \begin_inset Newline newline
19666 es un espacio demasiado grande.
19669 \begin_layout Itemize
19670 Colocación de un espacio fin-de-frase cuando la última frase acaba con mayúscula
19672 \begin_inset Newline newline
19676 Y esto un espacio incorrecto.
19679 \begin_layout Itemize
19680 Espacio ante etiquetas y otros comandos:
19681 \begin_inset Newline newline
19684 La etiqueta debe estar pegada al texto precedente para evitar un salto de
19685 línea o página en mal sitio.
19687 \begin_inset CommandInset label
19697 \begin_layout Plain Layout
19698 Esta nota podría salir en una página inadecuada.
19703 La etiqueta está demasiado separada.
19706 \begin_layout Itemize
19707 Espacio no protegido ante las referencias:
19708 \begin_inset Newline newline
19711 Si te despistas en esto, el texto podría saltar de línea justo entre él
19712 y el número de la referencia, lo que se ve feo.
19714 \begin_inset CommandInset ref
19716 reference "sec:chktex"
19723 \begin_layout Itemize
19725 \begin_inset Quotes eld
19729 \begin_inset Quotes erd
19733 \begin_inset Formula $\times$
19737 \begin_inset Newline newline
19740 2x2 se ve cutre comparado con
19741 \begin_inset Formula $2\times2$
19747 \begin_layout Standard
19748 y más\SpecialChar ldots
19749 Es una herramienta imprescindible una vez acabado tu documento y hecha
19750 la revisión ortográfica; antes de afinar la composición del documento e
19751 imprimirlo deberías ejecutar
19753 Chk\SpecialChar TeX
19759 \begin_layout Subsection
19763 \begin_layout Standard
19764 Si el programa está instalado, se ejecuta con
19766 Herramientas\SpecialChar menuseparator
19768 \begin_inset space ~
19775 genera entonces un archivo \SpecialChar LaTeX
19776 del documento, inicia
19778 Chk\SpecialChar TeX
19781 para revisarlo, e inserta
19782 \begin_inset Quotes cld
19786 \begin_inset Quotes crd
19789 con las advertencias de
19791 Chk\SpecialChar TeX
19795 Las advertencias se situarán cerca del error, y puedes navegar entre ellas
19796 con la opción de menú
19798 Navegar\SpecialChar menuseparator
19801 , o con el atajo de teclado
19810 Los cuadros de error se abren pulsando sobre ellos o con el atajo
19827 Lee las advertencias y corrige los errores.
19828 Si no tienes ni idea de qué va un mensaje puedes ignorarlo limpiamente.
19829 Recuerda que hay un estrato oculto entre el documento en pantalla y los
19830 detalles técnicos al ejecutar
19832 Chk\SpecialChar TeX
19835 , por lo que pueden aparecer algunos avisos de aspecto misterioso o absurdo.
19838 \begin_layout Standard
19839 Este documento es un excelente banco de pruebas para esta característica,
19840 con el que comprobar la presencia de advertencias y enredar con ellas.
19841 Aunque, como los ordenadores son tan listos, confía en que la mayoría de
19842 advertencias serán falsas alarmas.
19845 \begin_layout Subsection
19849 \begin_layout Standard
19850 A veces observarás que con
19852 Chk\SpecialChar TeX
19855 hay más ruido que nueces.
19856 Puedes elegir no usarlo, o intentar personalizar
19858 Chk\SpecialChar TeX
19861 para adaptarlo a tus necesidades.
19864 \begin_layout Standard
19867 Chk\SpecialChar TeX
19874 muy configurable y ampliable, no esperes resolver todos los problemas de
19878 Chk\SpecialChar TeX
19882 Como \SpecialChar LyX
19883 ha de generar un archivo \SpecialChar LaTeX
19884 un tanto especial para poder casar los
19885 números de línea de la salida de
19887 Chk\SpecialChar TeX
19890 con la estructura interna del documento
19894 \begin_layout Plain Layout
19895 Puedes inspeccionar la salida de
19901 Documento\SpecialChar menuseparator
19903 \begin_inset space ~
19907 \begin_inset space ~
19922 , algunos de los avisos no estarán bien colocados.
19923 Puedes hacer dos cosas:
19926 \begin_layout Itemize
19927 Afinar la línea de comandos de
19929 Chk\SpecialChar TeX
19938 Salidas\SpecialChar menuseparator
19942 ), o el archivo de configuración global de
19944 Chk\SpecialChar TeX
19947 (normalmente se ubica en
19948 \begin_inset Newline newline
19953 /usr/local/share/chktexrc
19956 Véase más adelante qué advertencias se pueden activar o desactivar en la
19961 \begin_layout Itemize
19962 Exporta tu documento a un archivo \SpecialChar LaTeX
19967 Archivo\SpecialChar menuseparator
19968 Exportar\SpecialChar menuseparator
19976 Ejecutado así, puede ser peliagudo encontrar el lugar correspondiente en
19977 el documento \SpecialChar LyX
19978 , pero con un poco de paciencia lo lograrás.
19981 \begin_layout Standard
19982 A continuación se listan los mensajes de error que pueden ser activados
19992 para desactivar un aviso, y
19997 Las entradas en énfasis están desactivadas por omisión, porque de forma
19998 predeterminada se ejecuta como "
20000 chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38
20005 \begin_layout Standard
20006 Ten en cuenta que solo deberías usar las opciones que activan o desactivan
20007 avisos, porque las demás las usa \SpecialChar LyX
20008 de manera específica para comunicarse
20016 \begin_layout Enumerate
20020 Command terminated with space.
20021 (Comando finalizado con un espacio
20028 \begin_layout Enumerate
20031 Non-breaking space (
20032 \begin_inset Quotes eld
20040 \begin_inset Quotes erd
20043 ) should have been used.
20048 debería haber usado un espacio protegido
20049 \begin_inset Quotes cld
20053 \begin_inset Quotes crd
20059 \begin_layout Enumerate
20063 You should enclose the previous parenthesis with
20064 \begin_inset Quotes eld
20072 \begin_inset Quotes erd
20079 (Deberías cerrar los paréntesis previos con
20084 \begin_inset Quotes cld
20088 \begin_inset Quotes crd
20094 \begin_layout Enumerate
20097 Italic correction (
20098 \begin_inset Quotes eld
20108 \begin_inset Quotes erd
20111 ) found in non-italic buffer.
20112 (Corrección de cursiva (
20113 \begin_inset Quotes cld
20119 \begin_inset Quotes crd
20122 ) en un grupo que no está en cursiva)
20125 \begin_layout Enumerate
20128 Italic correction (
20129 \begin_inset Quotes eld
20139 \begin_inset Quotes erd
20142 ) found more than once.
20143 (Corrección de cursiva (
20144 \begin_inset Quotes cld
20150 \begin_inset Quotes crd
20156 \begin_layout Enumerate
20160 No italic correction (
20161 \begin_inset Quotes eld
20171 \begin_inset Quotes erd
20175 (Corrección de cursiva (
20178 \begin_inset Quotes cld
20184 \begin_inset Quotes crd
20196 \begin_layout Enumerate
20200 \begin_inset Quotes eld
20208 \begin_inset Quotes erd
20212 \begin_inset Quotes eld
20220 \begin_inset Quotes erd
20225 \begin_inset Quotes cld
20229 \begin_inset Quotes crd
20233 \begin_inset Quotes cld
20237 \begin_inset Quotes crd
20243 \begin_layout Enumerate
20246 Wrong length of dash may have been used.
20247 (Quizá se ha usado un guión de longitud inadecuada)
20250 \begin_layout Enumerate
20254 \begin_inset Quotes eld
20262 \begin_inset Quotes erd
20266 \begin_inset Quotes eld
20274 \begin_inset Quotes erd
20279 \begin_inset Quotes cld
20283 \begin_inset Quotes crd
20287 \begin_inset Quotes cld
20291 \begin_inset Quotes crd
20297 \begin_layout Enumerate
20301 \begin_inset Quotes eld
20309 \begin_inset Quotes erd
20313 (Se ha encontrado un solo
20314 \begin_inset Quotes cld
20318 \begin_inset Quotes crd
20324 \begin_layout Enumerate
20328 \begin_inset Quotes eld
20336 \begin_inset Quotes erd
20339 to achieve an ellipsis.
20341 \begin_inset Quotes cld
20345 \begin_inset Quotes crd
20348 para los puntos suspensivos)
20351 \begin_layout Enumerate
20354 Inter-word spacing (
20355 \begin_inset Quotes eld
20365 \begin_inset Quotes eld
20368 ) should perhaps be used.
20369 (Quizá tendría que ponerse un espacio entre palabras (
20370 \begin_inset Quotes cld
20376 \begin_inset Quotes crd
20382 \begin_layout Enumerate
20385 Inter-sentence spacing (
20386 \begin_inset Quotes eld
20396 \begin_inset Quotes erd
20399 ) should perhaps be used.
20400 (Quizá tendría que ponerse un espacio entre frases (
20401 \begin_inset Quotes cld
20407 \begin_inset Quotes crd
20413 \begin_layout Enumerate
20416 Could not find argument for command.
20417 (Argumento de comando no encontrado)
20420 \begin_layout Enumerate
20424 \begin_inset Quotes eld
20432 \begin_inset Quotes erd
20437 \begin_inset Quotes cld
20441 \begin_inset Quotes crd
20447 \begin_layout Enumerate
20450 Math mode still on at end of \SpecialChar LaTeX
20452 (El archivo \SpecialChar LaTeX
20453 termina en modo ecuación)
20456 \begin_layout Enumerate
20460 \begin_inset Quotes eld
20468 \begin_inset Quotes erd
20471 doesn't match the number of
20472 \begin_inset Quotes eld
20480 \begin_inset Quotes erd
20485 \begin_inset Quotes cld
20489 \begin_inset Quotes crd
20492 no corresponde con el número de
20493 \begin_inset Quotes cld
20497 \begin_inset Quotes crd
20503 \begin_layout Enumerate
20506 You should use either
20509 \begin_inset Quotes eld
20517 \begin_inset Quotes erd
20522 as an alternative to
20523 \begin_inset Quotes eld
20531 \begin_inset Quotes erd
20536 \begin_inset Quotes cld
20540 \begin_inset Quotes crd
20546 \begin_inset Quotes cld
20556 \begin_inset Quotes crd
20564 \begin_layout Enumerate
20571 " (ASCII 39) instead of "
20577 \begin_inset Quotes cld
20581 \begin_inset Quotes crd
20584 (ASCII 39) en lugar de
20585 \begin_inset Quotes cld
20589 \begin_inset Quotes crd
20595 \begin_layout Enumerate
20598 User-specified pattern found.
20599 (Se ha encontrado un patrón definido por el usuario)
20602 \begin_layout Enumerate
20605 This command might not be intended.
20606 (Comando posiblemente no buscado)
20609 \begin_layout Enumerate
20614 (Comentario mostrado)
20617 \begin_layout Enumerate
20648 \begin_layout Enumerate
20651 Delete this space to maintain correct page references.
20652 (Borra este espacio para mantener las referencias de página)
20655 \begin_layout Enumerate
20659 You might wish to put this between a pair of
20660 \begin_inset Quotes eld
20668 \begin_inset Quotes erd
20672 (Esto quizá estaría mejor entre llaves
20673 \begin_inset Quotes cld
20677 \begin_inset Quotes crd
20683 \begin_layout Enumerate
20686 You ought to remove spaces in front of punctuation.
20687 (Debes quitar espacios delante de la puntuación)
20690 \begin_layout Enumerate
20693 Could not execute \SpecialChar LaTeX
20695 (No se puede ejecutar comando \SpecialChar LaTeX
20699 \begin_layout Enumerate
20708 in front of small punctuation.
20715 delante de un punto)
20718 \begin_layout Enumerate
20726 may look prettier here.
20727 (Aquí quedaría mejor
20737 \begin_layout Enumerate
20741 Multiple spaces detected in output.
20742 (Se detectan espacios múltiples en la salida)
20745 \begin_layout Enumerate
20748 This text may be ignored.
20749 (Este texto podría no tenerse en cuenta)
20752 \begin_layout Enumerate
20758 \begin_inset Quotes eld
20763 to begin quotation, not
20768 (Usa `` para comenzar una cita, no ')
20771 \begin_layout Enumerate
20778 to end quotation, not
20781 \begin_inset Quotes eld
20787 (Usa ' para finalizar una cita, no ``)
20790 \begin_layout Enumerate
20794 (No mezcles distintos tipos de comillas)
20797 \begin_layout Enumerate
20800 You should perhaps use
20801 \begin_inset Quotes eld
20809 \begin_inset Quotes erd
20813 (Quizá sería mejor usar
20814 \begin_inset Quotes cld
20818 \begin_inset Quotes crd
20824 \begin_layout Enumerate
20827 You should put a space in front of/after parenthesis.
20828 (Deberías poner un espacio delante/detrás de los paréntesis)
20831 \begin_layout Enumerate
20834 You should avoid spaces in front of/after parenthesis.
20835 (Deberías evitar espacios delante/detrás de los paréntesis)
20838 \begin_layout Enumerate
20842 You should not use punctuation in front of/after quotes.
20843 (No deberías usar puntuación delante/detrás de comillas)
20846 \begin_layout Enumerate
20849 Double space found.
20850 (Espacio doble encontrado)
20853 \begin_layout Enumerate
20856 You should put punctuation outside inner/inside display math mode.
20857 (Deberías poner la puntuación fuera del modo ecuación)
20860 \begin_layout Enumerate
20863 You ought to not use primitive \SpecialChar TeX
20864 in \SpecialChar LaTeX
20866 (No debes usar primitivas de \SpecialChar TeX
20867 dentro de código \SpecialChar LaTeX
20871 \begin_layout Enumerate
20874 You should remove spaces in front of
20875 \begin_inset Quotes eld
20883 \begin_inset Quotes erd
20886 (Deberías quitar los espacios delante de
20887 \begin_inset Quotes cld
20891 \begin_inset Quotes crd
20897 \begin_layout Enumerate
20900 \begin_inset Quotes eld
20908 \begin_inset Quotes erd
20911 is normally not followed by
20912 \begin_inset Quotes eld
20920 \begin_inset Quotes erd
20925 \begin_inset Quotes cld
20929 \begin_inset Quotes crd
20932 normalmente no va seguido de
20933 \begin_inset Quotes cld
20937 \begin_inset Quotes crd
20943 \begin_layout Standard
20944 En las últimas versiones de \SpecialChar LyX
20945 esperamos proporcionar una interfaz más completa
20946 para esta herramienta (y su prima pequeña
20950 ) para aprovechar toda su potencia.
20951 Pero no deja de ser útil tal como está: prueba con alguno de tus documentos
20952 de cierta longitud y sorpréndete.
20955 \begin_layout Section
20956 Control de versiones en \SpecialChar LyX
20960 \begin_layout Standard
20963 Lars Gullik Bjønnes
20970 \begin_layout Subsection
20974 \begin_layout Standard
20976 soporta algunos comandos básicos de RCS/CVS/SVN/GIT.
20977 Si necesitas algo más sofisticado tendrás que hacerlo a mano en un terminal.
20980 \begin_layout Standard
20981 Además, hay que tener en cuenta que el soporte de CVS no es tan bueno como
20982 el de subversion, por lo que recomendamos SVN.
20983 Para empezar con Subversion es conveniente consultar el SVN Book.
20987 \begin_layout Plain Layout
20988 \begin_inset CommandInset href
20990 target "http://svnbook.red-bean.com/"
21000 Para RCS deberías leer
21001 \begin_inset Quotes cld
21005 \begin_inset Quotes crd
21013 Este archivo describe todas las características básicas de RCS.
21014 Deberías fijarte especialmente en el comentario sobre el directorio RCS
21015 y las nociones sobre el archivo maestro RCS (el que acaba en
21022 \begin_layout Standard
21023 Antes de usar el control de versiones en \SpecialChar LyX
21024 hay que conocer el uso de RCS/CVS/SVN/
21026 La implementación en \SpecialChar LyX
21027 asume el uso de versiones recientes de los paquetes
21028 GNU RCS o CVS/SVN —no hay garantías con versiones antiguas—.
21029 La mayoría de los mensajes de registro no son actualmente mostrados tras
21030 las operaciones —puedes comprobarlos en el panel Messages si no estás seguro.
21031 Los usuarios habituales de control de versiones apreciarán las herramientas
21034 Ver\SpecialChar menuseparator
21035 Barras de herramientas\SpecialChar menuseparator
21036 Control de versiones
21041 \begin_layout Standard
21042 Para introducir tus propios comandos externos consulta
21048 Funciones de \SpecialChar LyX
21054 \begin_layout Standard
21055 Es muy recomendable guardar los documentos sin comprimir si se usa control
21056 de versiones (desactiva
21058 Documento\SpecialChar menuseparator
21061 si lo está): los documentos \SpecialChar LyX
21062 sin comprimir son archivos de texto y por
21063 tanto factibles de ser mezclados por sistemas de control de versiones.
21064 Los documentos \SpecialChar LyX
21065 comprimidos son archivos binarios, no manejables por sistemas
21066 de control de versiones.
21070 \begin_layout Subsection
21071 Comandos RCS en \SpecialChar LyX
21075 \begin_layout Standard
21076 Las secciones siguientes describen los comandos RCS soportados por \SpecialChar LyX
21078 Los puedes encontrar en el submenú
21080 Archivo\SpecialChar menuseparator
21082 \begin_inset space ~
21086 \begin_inset space ~
21093 se ha probado con la versión RCS 5.7/5.8.
21096 \begin_layout Subsubsection
21102 \begin_layout Standard
21103 Si tu documento no está sometido a control de versiones, este es el único
21104 ítem mostrado en el submenú.
21105 Y si está sometido a control de versiones, el ítem
21113 \begin_layout Standard
21114 Este comando registra el documento con RCS\SpecialChar endofsentence
21115 Se te pide interactivamente una
21116 descripción inicial del documento.
21117 Por ahora, el documento está puesto en modo Solo-lectura y debes
21119 Liberar para edición
21121 antes de hacer cambios en él.
21122 Un documento bajo control de revisión tiene un ítem
21123 \begin_inset Quotes cld
21126 [RCS:<version> <locker>]
21127 \begin_inset Quotes crd
21130 junto al nombre de archivo en el búfer .
21133 \begin_layout Standard
21141 \begin_layout LyX-Code
21144 ci -q -u -i -t-"<descripción inicial>" <nombre-archivo>
21147 \begin_layout Standard
21152 para entender las opciones.
21156 \begin_layout Subsubsection
21162 \begin_layout Standard
21163 Cuando has acabado de editar un archivo liberas tus cambios.
21168 se te pide una descripción que se almacena en el historial.
21169 El número de versión es actualizado, tus cambios se aplican al archivo
21170 maestro RCS, el documento es desbloqueado y puesto en modo Solo-lectura.
21174 \begin_layout Itemize
21177 ci -q -u -m"<descripción>" <nombre-archivo>
21180 \begin_layout Subsubsection
21183 Reservar para edición
21186 \begin_layout Standard
21187 Haciendo esto bloqueas el documento de manera que solo tú puedes editarlo.
21188 Además el documento será de Lectura-Escritura únicamente para ti.
21189 Generalmente continuarás la edición un rato más y al acabar liberarás los
21191 La línea de estado cambia para indicar que has bloqueado el archivo.
21195 \begin_layout Itemize
21198 co -q -l <nombre-archivo>
21201 \begin_layout Subsubsection
21206 versión del repositorio
21209 \begin_layout Standard
21210 Esto descartará todos los cambios hechos en el documento desde la última
21211 liberación de cambios.
21212 Recibes un mensaje de aviso antes de descartar los cambios.
21218 \begin_layout Itemize
21221 co -f -u<version> <nombre-archivo>
21224 \begin_layout Subsubsection
21228 \begin_layout Standard
21229 Creará una copia del documento actual.
21230 Puesto que RCS no soporta nativamente operaciones de copia, el historial
21231 de versiones no se preserva y la copia se añade como archivo nuevo.
21232 Requiere un documento limpio sin ningún cambio desde la última liberación.
21233 Pedirá un nombre de archivo y una descripción de la operación de copia.
21234 Después se crea la copia localmente y en el repositorio.
21235 Si los directorios padre de los documentos original y copiado difieren,
21236 se ajustan todas las rutas relativas de los archivos incluidos en la copia
21239 Archivo\SpecialChar menuseparator
21244 Por último, se carga la copia en vez del documento original.
21247 \begin_layout Labeling
21248 \labelwidthstring 00.00.0000
21250 \begin_inset space ~
21254 \begin_inset space ~
21258 \begin_inset Newline newline
21262 \begin_inset Flex Code
21265 \begin_layout Plain Layout
21269 \begin_inset Quotes qld
21279 \begin_inset Quotes qld
21288 \begin_inset Flex Code
21291 \begin_layout Plain Layout
21295 \begin_inset Quotes qld
21301 <nuevo-nombre-archivo>
21305 \begin_inset Quotes qld
21314 \begin_inset Newline newline
21318 \begin_inset Flex Code
21321 \begin_layout Plain Layout
21326 \begin_inset Quotes qld
21332 <nuevo-nombre-archivo>
21336 \begin_inset Quotes qld
21343 \begin_inset Quotes erd
21354 \begin_layout Subsubsection
21357 Deshacer última liberación
21360 \begin_layout Standard
21361 Esto es como si la última liberación de cambios no hubiera sucedido.
21362 No se hacen cambios al documento cargado en \SpecialChar LyX
21363 , pero la última versión es
21364 eliminada del archivo maestro RCS.
21368 \begin_layout Itemize
21371 rcs -o<versión> <nombre-archivo>
21374 \begin_layout Subsubsection
21380 \begin_layout Standard
21381 Muestra el registro completo del historial del documento RCS.
21390 se muestra en un buscador.
21395 para más información.
21398 \begin_layout Subsubsection
21399 Información de revisión
21402 \begin_layout Standard
21404 soporta información de número de versión, autor, fecha y hora del último
21408 rlog -r <nombre-archivo>
21412 \begin_inset CommandInset ref
21414 reference "subsec:VCS-Información-de-revisión"
21421 \begin_layout Subsection
21422 Comandos CVS en \SpecialChar LyX
21426 \begin_layout Standard
21427 Ahora \SpecialChar LyX
21428 soporta un subconjunto de operaciones CVS.
21429 Puedes ver los comandos en el submenú
21431 Archivo\SpecialChar menuseparator
21432 Control de versiones
21435 El sistema de control de versiones SVN es más poderoso, por lo que úsalo
21436 en lugar de CVS, si es posible.
21439 \begin_layout Subsubsection
21443 \begin_layout Standard
21444 Si comienzas desde cero con CVS debes crear tu repositorio y reservar la
21445 copia de trabajo con herramientas externas.
21446 Si usas una configuración cliente-servidor puedes necesitar registrarte
21447 antes de hacer la primera reserva en el repositorio.
21450 \begin_layout Standard
21451 Si tus documentos están bajo control de revisión y otros usan el mismo repositor
21452 io surgen problemas cuando se hacen cambios en el mismo documento y en el
21454 Los repositorios estándar CVS no operan con bloqueo de archivos.
21455 Esto puede sorprender, pero los conflictos solo suceden si la gente discrepa
21456 sobre el adecuado contenido de la misma parte de un documento.
21457 Por tanto, si los colaboradores acostumbran a comunicarse regularmente,
21458 los conflictos ocurren raramente.
21459 Si no se comunican, tienen un problema fundamental de todos modos.
21460 Con todo, algunos prefieren trabajar con las denominadas
21461 \begin_inset Quotes cld
21464 reservas reservadas
21465 \begin_inset Quotes crd
21469 Si lo hacen así, la copia de trabajo de todos los archivos es de solo lectura
21470 cuando reservan primero y el usuario comienza la edición después de usar
21471 un comando especial para hacer posible la escritura en la copia de trabajo.
21472 Cuando los cambios son liberados la copia de trabajo vuelve al estado solo
21474 Con \SpecialChar LyX
21475 , uno debe editar el archivo
21476 \begin_inset Flex Code
21479 \begin_layout Plain Layout
21486 \begin_inset Flex Code
21489 \begin_layout Plain Layout
21496 \begin_inset Quotes cld
21499 reservas reservadas
21500 \begin_inset Quotes crd
21504 El beneficio es la posibilidad de ver quién está usando una copia con acceso
21505 a escritura de algún documento.
21506 No está garantizado que solo un usuario hace copias con permiso de escritura.
21509 \begin_layout Standard
21511 intenta averiguar si estás usando reservas reservadas o no.
21512 Si la copia de trabajo es solo lectura asume que es reservada, si admite
21513 escritura y una copia adicional del documento existe en el subdirectorio
21514 CVS/Base, asume que es no reservada.
21515 Si se detecta una reservada debes usar
21516 \begin_inset Flex Noun
21519 \begin_layout Plain Layout
21525 para poder escribir en ella.
21526 Después de hacerlo, la operación
21527 \begin_inset Flex Noun
21530 \begin_layout Plain Layout
21536 es posible y esto hace que tu copia de trabajo se haga de nuevo solo lectura
21537 después de transferir los cambios al repositorio.
21540 \begin_layout Standard
21541 Más información sobre CVS se puede encontrar en
21542 \begin_inset Flex URL
21545 \begin_layout Plain Layout
21547 http://www.nongnu.org/cvs
21553 \begin_inset Flex URL
21556 \begin_layout Plain Layout
21558 http://ximbiot.com/cvs
21566 \begin_layout Standard
21568 \begin_inset Flex Code
21571 \begin_layout Plain Layout
21577 para comprender los sub-comandos y conmutadores mencionados abajo.
21580 \begin_layout Subsubsection
21584 \begin_layout Standard
21585 Si el documento no está bajo control de revisión, este es el único ítem
21586 mostrado en el menú.
21587 Y si está bajo control de revisión, el ítem
21590 \begin_inset Flex Noun
21593 \begin_layout Plain Layout
21606 \begin_layout Standard
21607 Este comando registra tu documento en CVS
21608 \begin_inset Flex Emph
21611 \begin_layout Plain Layout
21612 \begin_inset Flex Strong
21615 \begin_layout Plain Layout
21626 en el caso de que ya tengas el directorio de documentos bajo control CVS
21627 (en particular, existe el archivo
21632 Esto significa que debes crear o reservar el archivo por ti mismo usando
21633 herramientas externas.
21634 (En caso de olvidar este paso, \SpecialChar LyX
21635 registra el documento con RCS).
21638 \begin_layout Standard
21639 Después se te pide interactivamente una descripción inicial del documento.
21640 No olvides que el archivo registrado todavía no está liberado.
21643 \begin_layout Standard
21644 El comando CVS que es ejecutado:
21647 \begin_inset Quotes erd
21651 \begin_inset Quotes eld
21655 \begin_inset Quotes erd
21661 \begin_layout Standard
21665 \begin_inset Quotes eld
21669 \begin_inset Quotes erd
21674 anterior y en todos los demás comandos CVS es una abreviación para
21675 \begin_inset Quotes cld
21678 cambiar el directorio de trabajo actual a la ubicación del archivo y usa
21679 el nombre de archivo sin el componente ruta como argumento
21680 \begin_inset Quotes crd
21686 \begin_layout Subsubsection
21690 \begin_layout Standard
21691 Cuando has terminado de editar un archivo se ingresan los cambios.
21692 Al hacerlo se te pide una descripción de los mismos.
21693 Después, los cambios son escritos en el repositorio.
21694 En caso de que no hayas cambiado el documento y se detecte una copia reservada
21695 se deshace la reserva hecha con
21696 \begin_inset Flex Noun
21699 \begin_layout Plain Layout
21708 \begin_layout Labeling
21709 \labelwidthstring 00.00.0000
21711 \begin_inset space ~
21715 \begin_inset space ~
21719 \begin_inset Newline newline
21725 \begin_inset Flex Code
21728 \begin_layout Plain Layout
21731 cvs -q commit -m"<description>" <file-name>
21739 \begin_inset Newline newline
21743 \begin_inset Flex Code
21746 \begin_layout Plain Layout
21747 cvs -q unedit "<file-name>"
21755 \begin_layout Subsubsection
21759 \begin_layout Standard
21760 Cuando estás compartiendo un repositorio con otros, puede que tengas que
21761 incorporar sus cambios en tu copia de trabajo.
21764 \begin_layout Standard
21767 cvs -q update "<file-name>"
21770 \begin_layout Standard
21771 Si se detecta una reserva solo lectura la copia se hace reservada y accesible
21775 \begin_layout Standard
21778 cvs -q edit "<file-name>"
21781 \begin_layout Subsubsection
21782 Volver a la versión del repositorio
21785 \begin_layout Standard
21786 Esto descartará todos los cambios hechos en el documento desde la última
21788 Recibes un mensaje de aviso antes de descartar los cambios.
21789 Primero se borra el archivo y luego se ejecuta el comando CVS de actualización.
21795 \begin_layout Standard
21799 \begin_inset Quotes eld
21803 \begin_inset Quotes erd
21809 \begin_layout Standard
21810 Si se detecta una copia reservada y la copia de trabajo no tiene cambios
21811 solo se deshace la reserva.
21814 \begin_layout Standard
21818 \begin_inset Quotes eld
21822 \begin_inset Quotes erd
21828 \begin_layout Subsubsection
21832 \begin_layout Standard
21833 Creará una copia del documento actual.
21834 Como CVS no soporta de forma nativa operaciones de copia, el historial
21835 de versiones no se preserva y la copia se añade como archivo nuevo.
21836 Requiere un documento limpio sin ningún cambio desde la última liberación.
21837 Pedirá un nombre de archivo y una descripción de la operación de copia.
21838 Después se crea la copia localmente y en el repositorio.
21839 Si los directorios padre de los documentos original y copiado difieren,
21840 se ajustan todas las rutas relativas de los archivos incluidos en la copia
21843 Archivo\SpecialChar menuseparator
21848 Por último, se carga la copia en vez del documento original.
21851 \begin_layout Labeling
21852 \labelwidthstring 00.00.0000
21854 \begin_inset space ~
21858 \begin_inset space ~
21862 \begin_inset Newline newline
21866 \begin_inset Flex Code
21869 \begin_layout Plain Layout
21885 \begin_inset Flex Code
21888 \begin_layout Plain Layout
21904 \begin_inset Newline newline
21908 \begin_inset Flex Code
21911 \begin_layout Plain Layout
21929 \begin_layout Subsubsection
21933 \begin_layout Standard
21934 Este comando renombra el documento actual.
21935 Como CVS no soporta de forma nativa operaciones de renombrado, el historial
21936 de versiones no se preserva, el documento renombrado se añade como archivo
21937 nuevo y el original se borra.
21938 Requiere un documento limpio sin ningún cambio desde la última liberación.
21939 Pedirá un nombre de archivo y una descripción de la operación.
21940 Después el documento se renombra localmente y en el repositorio.
21941 Si los directorios padre de los nombres de erchivo nuevo y antiguo difieren,
21942 se ajustan todas las rutas relativas de los archivos incluidos (como en
21945 Archivo\SpecialChar menuseparator
21950 Por último, se recarga el documento con el nuevo nombre.
21953 \begin_layout Labeling
21954 \labelwidthstring 00.00.0000
21956 \begin_inset space ~
21960 \begin_inset space ~
21964 \begin_inset Newline newline
21968 \begin_inset Flex Code
21971 \begin_layout Plain Layout
21987 \begin_inset Flex Code
21990 \begin_layout Plain Layout
22006 \begin_inset Newline newline
22010 \begin_inset Flex Code
22013 \begin_layout Plain Layout
22029 \begin_inset Newline newline
22033 \begin_inset Flex Code
22036 \begin_layout Plain Layout
22054 \begin_layout Subsubsection
22055 Actualizar la reserva del directorio local desde el repositorio
22058 \begin_layout Standard
22059 Conforme tus documentos son más complejos, conteniendo sub-documentos y
22060 figuras e incluyendo archivos externos
22064 y demás, el uso de control de versiones se hace más complejo.
22066 soporta la actualización del árbol completo en el que reside el documento.
22067 Esto es especialmente útil cuando colaboras con gente que ni tiene conocimiento
22068 detallado de CVS ni tiene interés en ingresar material adicional al repositorio.
22069 Tienes que organizar la estructura de archivos para que los archivos externos
22070 residan en el mismo directorio o subdirectorio del documento.
22071 Es una buena práctica de todos modos almacenar los documentos multi-parte
22072 en un directorio extra.
22075 \begin_layout Standard
22077 \begin_inset Flex Code
22080 \begin_layout Plain Layout
22081 Actualizar directorio local desde el repositorio
22086 actualiza el directorio completo.
22087 Si se detectan cambios locales el usuario es advertido antes de iniciar
22089 En caso de conflictos en la fusión ambas versiones de las partes conflictivas
22090 se sitúan al final del documento.
22091 Debes revisar y corregir el resultado de la fusión.
22092 Los conflictos los verás encerrados entre pares de
22093 \begin_inset Flex Code
22096 \begin_layout Plain Layout
22103 \begin_inset Flex Code
22106 \begin_layout Plain Layout
22113 \begin_inset Flex Code
22116 \begin_layout Plain Layout
22123 La parte primera es tu versión antes de la operación de actualización con
22124 pecedida del nombre del documento.
22125 La segunda es la versión del repositorio con el número de la versión tras
22126 la secuencia de signos
22127 \begin_inset Flex Code
22130 \begin_layout Plain Layout
22139 \begin_layout Labeling
22140 \labelwidthstring 00.00.0000
22142 \begin_inset space ~
22146 \begin_inset space ~
22150 \begin_inset Newline newline
22154 \begin_inset Flex Code
22157 \begin_layout Plain Layout
22158 cd $path; cvs diff "."
22163 (Para ver si se detectan cambios)
22164 \begin_inset Newline newline
22168 \begin_inset Flex Code
22171 \begin_layout Plain Layout
22172 cd $path; cvs -q update "."
22180 \begin_layout Standard
22182 \begin_inset Flex Code
22185 \begin_layout Plain Layout
22191 es la ruta al documento.
22194 \begin_layout Subsubsection
22198 \begin_layout Standard
22199 Muestra el historial completo del documento CVS.
22201 \begin_inset Newline newline
22207 \begin_inset Quotes eld
22213 \begin_inset Quotes erd
22216 se muestra en un buscador.
22219 \begin_layout Subsubsection
22220 Información de la revisión
22223 \begin_layout Standard
22225 soporta número de versión CVS, nombre de autor, fecha y hora del último
22227 Toda esta información se obtiene de
22229 cvs log -r <file-name>
22233 \begin_inset CommandInset ref
22235 reference "subsec:VCS-Información-de-revisión"
22242 \begin_layout Subsection
22243 Comandos SVN en Lyx
22246 \begin_layout Standard
22247 Ahora \SpecialChar LyX
22248 soporta parcialmente SVN.
22249 Puedes encontrar los comandos en el submenú
22251 Archivo\SpecialChar menuseparator
22252 Control de versiones
22255 Ten en cuenta que si utilizas acceso protegido con contraseña al repositorio
22256 vía ssh, se te pedirá en una ventana de terminal.
22258 se ha probado con SVN 1.5 y 1.6.
22262 \begin_layout Plain Layout
22263 La mayoría de los comandos funcionarán también con 1.4, véase
22264 \begin_inset CommandInset ref
22266 reference "subsec:SVN-Actualizar-el-directorio"
22278 \begin_layout Subsubsection
22282 \begin_layout Standard
22283 Si tu documento no está bajo control de revisión este es el único ítem mostrado
22285 Y si está bajo control de revisión, el ítem
22292 \begin_layout Standard
22293 Este comando registra tu documento en SVN
22299 en el caso de que ya tengas el directorio de documentos bajo control SVN
22300 ( en particular, existe el archivo
22305 Esto significa que debes reservar el archivo por ti mismo.
22308 \begin_layout Standard
22309 Después se te pide interactivamente una descripción inicial del documento.
22310 No olvides que el archivo registrado todavía no es definitivo.
22313 \begin_layout Standard
22314 El comando SVN que es ejecutado:
22319 \begin_inset Quotes qld
22327 \begin_inset Quotes qld
22333 \begin_layout Standard
22338 para comprender las alternativas.
22341 \begin_layout Subsubsection
22345 \begin_layout Standard
22346 Cuando has terminado de editar un archivo, ingresas los cambios.
22347 Al hacerlo se te pide una descripción de los mismos.
22348 Después, los cambios son ingresados.
22351 \begin_layout Standard
22356 \begin_layout Plain Layout
22357 En el caso de que el bloqueo no esté habilitado.
22359 \begin_inset CommandInset ref
22361 reference "subsec:SVN-Bloqueo-de-archivos"
22372 svn commit -q -m"<description>" <file-name>
22375 \begin_layout Subsubsection
22376 Reservar para edición
22379 \begin_layout Standard
22380 Actualiza los cambios de este archivo desde el repositorio.
22381 Asegúrate de que comprendes la mezcla y la resolución de conflictos de
22382 SVN antes de usar esta función, porque ¡todos los conflictos debes resolverlos
22386 \begin_layout Standard
22391 \begin_layout Plain Layout
22402 \begin_inset Flex Code
22405 \begin_layout Plain Layout
22409 \begin_inset Quotes qld
22417 \begin_inset Quotes qld
22428 \begin_layout Subsubsection
22429 Volver a la versión del repositorio
22432 \begin_layout Standard
22433 Esto descartará todos los cambios hechos en el documento desde la última
22434 liberación de cambios.
22435 Recibes un mensaje de aviso antes de descartar los cambios.
22438 \begin_layout Standard
22444 \begin_inset Quotes qld
22452 \begin_inset Quotes qld
22458 \begin_layout Subsubsection
22462 \begin_layout Standard
22463 Creará una copia del documento actual incluyendo el historial de versiones.
22464 Requiere un documento limpio sin ningún cambio desde la última liberación.
22465 Pedirá un nombre de archivo y una descripción de la operación de copia.
22466 Después se crea la copia localmente y en el repositorio.
22467 Si los directorios padre de los documentos original y copiado difieren,
22468 se ajustan todas las rutas relativas de los archivos incluidos de la copia
22471 Archivo\SpecialChar menuseparator
22476 Por último, se carga la copia en vez del documento original
22479 \begin_layout Labeling
22480 \labelwidthstring 00.00.0000
22482 \begin_inset space ~
22486 \begin_inset space ~
22490 \begin_inset Newline newline
22494 \begin_inset Flex Code
22497 \begin_layout Plain Layout
22502 \begin_inset Quotes qld
22512 \begin_inset Quotes qld
22522 \begin_inset Quotes qld
22532 \begin_inset Quotes qld
22541 \begin_inset Newline newline
22545 \begin_inset Flex Code
22548 \begin_layout Plain Layout
22557 \begin_layout Subsubsection
22561 \begin_layout Standard
22562 Renombrará el documento actual incluyendo el historial de versiones.
22563 Requiere un documento limpio sin ningún cambio desde la última liberación.
22564 Pedirá un nombre de archivo y una descripción de la operación de renombrado.
22565 Después se renombra el documento localmente y en el repositorio.
22566 Si los directorios padre de los nombres de archivo nuevo y antiguo difieren,
22567 se ajustan todas las rutas relativas de los archivos incluidos (como en
22570 Archivo\SpecialChar menuseparator
22575 Por último, se recarga el documento con su nuevo nombre.
22578 \begin_layout Labeling
22579 \labelwidthstring 00.00.0000
22581 \begin_inset space ~
22585 \begin_inset space ~
22589 \begin_inset Newline newline
22593 \begin_inset Flex Code
22596 \begin_layout Plain Layout
22601 \begin_inset Quotes qld
22611 \begin_inset Quotes qld
22621 \begin_inset Quotes qld
22631 \begin_inset Quotes qld
22640 \begin_inset Newline newline
22644 \begin_inset Flex Code
22647 \begin_layout Plain Layout
22656 \begin_layout Subsubsection
22657 Actualizar la reserva del directorio local desde el repositio
22661 \begin_layout Plain Layout
22662 Ten en cuenta que este comando solo funcionará con
22663 \begin_inset Formula $\geqq1.5$
22672 \begin_inset CommandInset label
22674 name "subsec:SVN-Actualizar-el-directorio"
22681 \begin_layout Standard
22682 Todos los comandos anteriores tienen un defecto: solo negocian con el documento
22684 Una vez que el documento contiene figuras, archivos externos
22688 , etc., su administración se hace más complicada.
22689 Ahora \SpecialChar LyX
22690 soporta la actualización del árbol completo en el que reside el
22695 \begin_layout Plain Layout
22696 Hay que organizar la estructura de archivos de modo que todos los archivos
22697 externos estén en el mismo directorio o subdirectorios del documento.
22702 Esto es especialmente útil cuando colaboras con gente que ni tiene conocimiento
22703 detallado de CVS ni tiene interés en ingresar material adicional al repositorio.
22706 \begin_layout Standard
22708 \begin_inset Flex Code
22711 \begin_layout Plain Layout
22712 Actualizar directorio local desde el repositorio
22717 actualiza el directorio completo y en caso de conflictos con la mezcla
22718 se deja la versión local de los archivos, para que no haya pérdida indeseada
22720 Si se detectan cambios locales se avisa al usuario antes de iniciar la
22724 \begin_layout Labeling
22725 \labelwidthstring 00.00.0000
22727 \begin_inset space ~
22731 \begin_inset space ~
22735 \begin_inset Newline newline
22739 \begin_inset Flex Code
22742 \begin_layout Plain Layout
22748 (Para ver si se detectan cambios.)
22749 \begin_inset Newline newline
22753 \begin_inset Flex Code
22756 \begin_layout Plain Layout
22757 svn update --accept mine-full $path
22765 \begin_layout Standard
22770 es la ruta al documento.
22773 \begin_layout Subsubsection
22777 \begin_layout Standard
22778 Muestra el historial completo del documento SVN.
22780 \begin_inset Newline newline
22788 \begin_inset Quotes qld
22796 \begin_inset Quotes qld
22802 se muestra en un buscador.
22805 \begin_layout Subsubsection
22806 Bloqueo de archivos
22807 \begin_inset CommandInset label
22809 name "subsec:SVN-Bloqueo-de-archivos"
22816 \begin_layout Standard
22817 El intercambio de archivos entre varios sistemas de control de revisiones
22818 tiene el problema de conflictos en las fusiones en el caso de que dos usuarios
22819 intenten editar el mismo documento (o partes de él).
22820 Cuando sucede un conflicto requiere una solución manual, y una alternativa
22821 razonable es proveer algún tipo de mecanismo de bloqueo que garantice que
22822 solo un usuario pueda editar el archivo al mismo tiempo.
22825 \begin_layout Standard
22826 SVN dispone de dos de estos mecanismos que garantizan exclusividad recíproca
22827 en el acceso a archivos,
22831 bloqueos y configuración automática de permisos de escritura (véase la sec.
22832 \begin_inset space ~
22836 \begin_inset CommandInset ref
22838 reference "subsec:SVN-Bloqueo-automático"
22842 ), basados en la propiedad de los archivos svn
22843 \begin_inset Flex Code
22846 \begin_layout Plain Layout
22856 \begin_layout Plain Layout
22857 \begin_inset CommandInset href
22859 target "http://svnbook.red-bean.com/en/1.2/svn.advanced.locking.html"
22869 Si esta propiedad se detecta para determinado documento, \SpecialChar LyX
22870 empieza automáticamen
22871 te a usar bloqueo SVN para la edición del documento, y el mecanismo completo
22872 de liberación/reserva conmuta al mismo régimen que para RCS.
22873 En particular, esto quiere decir que hay dos modos diferentes de uso archivos
22874 en \SpecialChar LyX
22878 \begin_layout Itemize
22879 Estado no bloqueado.
22880 El archivo cargado está en modo solo lectura.
22881 Para editar hay que reservar.
22886 consiste en actualizar desde el repositorio y adquirir bloqueo de escritura.
22887 Si no es posible obtener el bloqueo permanece el estado no bloquedo.
22890 \begin_layout Itemize
22892 El archivo cargado está en modo
22893 \begin_inset Quotes cld
22897 \begin_inset Quotes crd
22901 Ningún otro usuario tiene permiso para editar el archivo.
22906 consiste en ingresar los cambios y liberar el bloqueo de escritura.
22907 Si no se han hecho cambios en el documento, no se producirá ningún ingreso
22911 \begin_layout Plain Layout
22912 No te extrañe si de todas formas se te pide un mensaje de ingreso.
22917 y solo se realizará el desbloqueo de escritura.
22920 \begin_layout Standard
22924 \begin_layout Labeling
22925 \labelwidthstring 00.00.0000
22928 svn commit -q -m"<description>" "<file-name>"
22929 \begin_inset Newline newline
22932 svn unlock "<file-name>"
22935 \begin_layout Labeling
22936 \labelwidthstring 00.00.0000
22938 \begin_inset Note Note
22941 \begin_layout Plain Layout
22942 traduccion http://forum.wordreference.com/showthread.php?t=689994
22949 svn update "<file-name>"
22950 \begin_inset Newline newline
22953 svn lock "<file-name>"
22956 \begin_layout Subsubsection
22957 Propiedad de bloqueo automático
22958 \begin_inset CommandInset label
22960 name "subsec:SVN-Bloqueo-automático"
22967 \begin_layout Standard
22968 La configuración automática de los permisos de escritura del archivo .lyx
22970 \begin_inset Flex Noun
22973 \begin_layout Plain Layout
22974 Archivo\SpecialChar menuseparator
22975 Control de versiones\SpecialChar menuseparator
22976 Use propiedad de bloqueo
22982 Este comando está activo solo cuando el archivo no está bloqueado en el
22983 servidor svn (es decir, debes reservar antes de proceder).
22986 \begin_layout Labeling
22987 \labelwidthstring 00.00.0000
22989 \begin_inset space ~
22995 \begin_layout Labeling
22996 \labelwidthstring 00.00.0000
22999 svn propset svn:needs-lock ON "<file-name>"
23002 \begin_layout Labeling
23003 \labelwidthstring 00.00.0000
23006 svn propdel svn:needs-lock "<file-name>"
23009 \begin_layout Subsubsection
23010 Información de revisión en documentos
23011 \begin_inset CommandInset label
23013 name "subsec:VCS-Información-de-revisión"
23020 \begin_layout Standard
23021 Hay más posibilidades para activar la información de revisión en nuestro
23025 \begin_layout Itemize
23027 lo soporta directamente.
23031 \begin_layout Itemize
23032 Información de revisión del árbol (
23033 \begin_inset Flex Code
23036 \begin_layout Plain Layout
23043 El resultado es la salida del comando
23044 \begin_inset Flex Code
23047 \begin_layout Plain Layout
23053 ; el siguiente cuadro da una idea de la interpretación de los resultados.
23056 \begin_layout Standard
23058 \begin_inset Tabular
23059 <lyxtabular version="3" rows="6" columns="2">
23060 <features tabularvalignment="middle">
23061 <column alignment="center" valignment="top">
23062 <column alignment="center" valignment="top">
23064 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23067 \begin_layout Plain Layout
23073 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23076 \begin_layout Plain Layout
23084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23087 \begin_layout Plain Layout
23093 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23096 \begin_layout Plain Layout
23097 revisión mezclada de la copia de trabajo
23104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23107 \begin_layout Plain Layout
23113 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23116 \begin_layout Plain Layout
23117 copia de trabajo modificada
23124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23127 \begin_layout Plain Layout
23133 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23136 \begin_layout Plain Layout
23137 copia de trabajo conmutada
23144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23147 \begin_layout Plain Layout
23153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23156 \begin_layout Plain Layout
23157 copia de trabajo parcial, de una reserva dispersa
23164 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23167 \begin_layout Plain Layout
23173 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23176 \begin_layout Plain Layout
23177 copia de trabajo de revisión mezclada, modificada, conmutada
23190 \begin_layout Itemize
23191 Información de revisión del archivo.
23192 El resultado del análisis de la salida de
23193 \begin_inset Flex Code
23196 \begin_layout Plain Layout
23198 \begin_inset space ~
23202 \begin_inset space ~
23206 \begin_inset space ~
23215 Los argumentos soportados son:
23219 \begin_layout Itemize
23220 número de versión del último ingreso (
23221 \begin_inset Flex Code
23224 \begin_layout Plain Layout
23233 \begin_layout Itemize
23234 autordel último ingreso (
23235 \begin_inset Flex Code
23238 \begin_layout Plain Layout
23247 \begin_layout Itemize
23248 fecha del último ingreso (
23249 \begin_inset Flex Code
23252 \begin_layout Plain Layout
23261 \begin_layout Itemize
23262 hora del último ingreso (
23263 \begin_inset Flex Code
23266 \begin_layout Plain Layout
23276 \begin_layout Standard
23277 Puedes obtener esta información mediante InsetInfo (p.
23278 \begin_inset space \thinspace{}
23283 \begin_inset Flex Code
23286 \begin_layout Plain Layout
23287 info-insert buffer vcs-date
23293 La información estará disponible solo cuando tengas el arvhivo almacenado
23294 bajo administración svn (es decir, el directorio
23295 \begin_inset Flex Code
23298 \begin_layout Plain Layout
23304 está disponible con tu documento).
23308 \begin_layout Itemize
23309 Otra posibilidad —de
23313 — es usar claves svn
23317 \begin_layout Plain Layout
23318 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html
23324 Estableces la propiedad de claves de archivo (p.
23325 \begin_inset space \thinspace{}
23331 svn propset svn:keywords 'Rev' file.lyx
23333 ) y luego pegas la clave en código \SpecialChar TeX
23338 \begin_layout Plain Layout
23339 Esta es una manera fácil de asegurar que \SpecialChar LyX
23340 no quiebre la línea en mitad de
23346 en tu documento (p.
23347 \begin_inset space \thinspace{}
23354 \begin_inset Flex Code
23357 \begin_layout Plain Layout
23368 De esta manera el cliente svn sustituirá automáticamente el número de revisión
23370 \begin_inset space \thinspace{}
23377 \begin_inset Flex Code
23380 \begin_layout Plain Layout
23390 ) tras cada actualización e ingreso.
23391 Hay otros problemas con este enfoque.
23392 Primero, el carácter '$' se usa en \SpecialChar TeX
23393 para expresiones matemáticas, de modo
23394 que cualquier aparición de una fórmula
23395 \begin_inset Formula $Rev$
23399 \begin_inset Formula $Rev:59$
23402 en tu documento \SpecialChar LyX
23404 Lo mismo sucederá con otras claves como Id, Date, Author, etc.
23405 Segundo, la salida svn es dependiente del idioma, por lo que es fácil que
23406 svn produzca alguna cadena problemática al usar Date.
23407 Tercero, se obtiene la cadena completa 'Rev: 59' en tu documento en vez
23409 Hasta que subversion implemente claves personalizadas por el usuario será
23410 pesado usar este enfoque con fiabilidad o permitir a \SpecialChar LyX
23411 soportarlo directamente.
23414 \begin_layout Subsection
23415 SVN y entorno Windows
23418 \begin_layout Quote
23419 Mi inclinación es decir que si el usuario no es capaz por sí mismo de entender
23420 las operaciones en línea de comandos, sería recomendable que usara TortoiseSVN.
23422 \begin_inset space \thinspace{}
23426 \begin_inset space \thinspace{}
23432 \begin_layout Subsubsection
23436 \begin_layout Standard
23437 Además de instalar \SpecialChar LyX
23438 y tener acceso al repositorio de Subversion, el usuario
23439 deberá instalar el programa cliente de Subversion.
23441 \begin_inset CommandInset href
23444 target "http://www.collab.net/nonav/downloads/subversion/"
23449 hay disponible un instalador para Windows.
23450 Además, al usuario le puede interesar instalar
23451 \begin_inset CommandInset href
23454 target "http://tortoisesvn.tigris.org/"
23459 , que integra las operaciones de Subversion en el menú contextual (clic
23460 derecho) del Explorador de Windows.
23461 Las operaciones hechas fuera de \SpecialChar LyX
23462 generalmente son más convenientes en el
23463 menú contextual del Explorador.
23464 Hay que tener en cuenta que TortoiseSVN no es un reemplazo del programa
23465 cliente, que es lo que usa el propio \SpecialChar LyX
23469 \begin_layout Subsubsection
23470 Poner un documento bajo control de Subversion
23473 \begin_layout Standard
23474 Antes de poner un documento \SpecialChar LyX
23475 bajo control de Subversion, su directorio padre
23476 debe estar bajo control de versiones.
23477 Si el documento se va a añadir a un proyecto ya en el repositorio, esto
23478 se lleva a cabo comprobando el directorio donde se incluirá el documento
23480 Si el proyecto mismo no está ya bajo control de versión (por ejemplo, si
23481 el documento inicia un proyecto nuevo), hay que importar el directorio
23483 Esto se hace fuera de \SpecialChar LyX
23485 Tanto la importación como la reserva se hacen fácilmente en el menú contextual
23486 del Explorador mediante TortoiseSVN, o bien usando un cliente de línea
23487 de comandos en DOS.
23488 El procedimiento para importar el proyecto con TortoiseSVN se describe
23489 abajo, suponiendo que hay un repositorio y un proyecto nuevo en
23496 Para información sobre el uso del programa cliente de Subversion, ejecuta
23502 \begin_inset Flex Code
23505 \begin_layout Plain Layout
23511 en línea de comandos de DOS.
23514 \begin_layout Enumerate
23521 en el Explorador de Windows, clic derecho y selecciona
23523 TortoiseSVN\SpecialChar menuseparator
23527 Si es preciso ajusta el URL para el repositorio, y pulsa OK.
23530 \begin_layout Enumerate
23531 Haz clic derecho en el nivel del repositorio bajo el que quieres situar
23532 la carpeta del nuevo proyecto (típicamente el nivel superior) y pulsa
23536 Da nombre a la carpeta y pulsa OK.
23537 Añade un mensaje para el registro, si quieres, y pulsa OK de nuevo.
23538 La carpeta del nuevo proyecto debería figurar en el repositorio.
23539 Por último, OK de nuevo para salir del navegador del repositorio.
23542 \begin_layout Enumerate
23543 Haz otra vez clic derecho en
23549 , esta vez seleccionando SVN Checkout Selecciona el URL de la carpeta que
23550 acabas de crear en el repositorio y ajusta el directorio a
23558 Serás avisado sobre una carpeta no vacía; OK para continuar.
23559 Ahora debería haber un directorio
23570 \begin_layout Enumerate
23571 Crea o abre tu documento en \SpecialChar LyX
23574 Archivo\SpecialChar menuseparator
23575 Control de versiones\SpecialChar menuseparator
23579 Añade un mensaje de registro y pulsa OK para someter el documento a control
23583 \begin_layout Standard
23584 De aquí en adelante deberías tener funcionalidad completa en el menú
23586 Archivo\SpecialChar menuseparator
23587 Control de versiones
23590 Además tienes la opción de comprobar el documento entrante y saliente,
23591 ver su historial, etc., usando el menú contextual TortoiseSVN en el Explorador
23592 o en la línea de comandos del programa cliente de Subversion.
23596 \begin_layout Subsubsection
23597 SSH tunnel con SVN bajo Windows
23600 \begin_layout Standard
23601 Comparado con la configuración del cliente svn en Linux para comunicar sobre
23602 ssh, bajo Windows es una tarea es bastante más molesta.
23603 Al menos ofreceremos algunas indicaciones para configurar el cliente, pero
23604 hay que aclarar antes algo sobre ssh y la línea de comandos en Windows
23605 y estar preparados para grandes dosis de frustración\SpecialChar ldots
23609 \begin_layout Enumerate
23610 Obtén un cliente svn para windows, como se describe en secciones anteriores.
23611 Si es una instalación nueva ejecuta algún comando para crear los archivos
23612 de configuración (p.
23613 \begin_inset space \thinspace{}
23618 \begin_inset Flex Code
23621 \begin_layout Plain Layout
23627 ), que deberás cambiar más tarde.
23630 \begin_layout Enumerate
23631 Elige un cliente ssh para Windows.
23632 Hay varias opciones, aquí usaremos el de Putty tools
23636 \begin_layout Plain Layout
23637 \begin_inset Flex URL
23640 \begin_layout Plain Layout
23642 http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
23653 Tendrás que configurar la conexión para que el cliente no pia contraseña.
23654 Para facilitar las cosas usaremos solo claves sin ninguna protección adicional
23655 de contraseña, etc.
23659 \begin_layout Enumerate
23660 Genera las claves con
23661 \begin_inset Flex Code
23664 \begin_layout Plain Layout
23671 Guarda tu clave privada .ppk y pon la pública en el servidor.
23672 Si el servidor SVN corre bajo Linux, ten en cuenta que el formato de la
23673 clave pública no es compatible con openssh Linux y tendrás que copiar y
23674 pegar directamente la clave desde el campo de edición “
23676 Public key for pasting into OpenSSH authorized_keys file
23678 :” en el archivo del servidor
23679 \begin_inset Flex Code
23682 \begin_layout Plain Layout
23683 ~/.ssh/authorized_keys
23689 \begin_inset Flex Code
23692 \begin_layout Plain Layout
23701 \begin_layout Enumerate
23703 \begin_inset Flex Code
23706 \begin_layout Plain Layout
23713 En el archivo de configuración SVN
23717 \begin_layout Plain Layout
23718 La ruta exacta depende de la versión de Windows, usualmente algo como
23719 \begin_inset Flex Code
23722 \begin_layout Plain Layout
23725 Documents and Settings
23739 \begin_inset Flex Code
23742 \begin_layout Plain Layout
23757 , sección [tunnels], configura el comando ssh, p.
23758 \begin_inset space \thinspace{}
23763 \begin_inset Flex Code
23766 \begin_layout Plain Layout
23767 ssh=c:/path/plink.exe -i c:/path/private_key.ppk
23776 \begin_layout Plain Layout
23777 Usualmente toma tiempo conseguir el comando exacto y depende de muchas cosas.
23778 Por ejemplo, no tener algún servidor remoto guardado como predeterminado
23780 Si falla, intenta primero conectar vía plink sin SVN.
23789 \begin_layout Enumerate
23790 Reserva el archivo SVN, p.
23791 \begin_inset space \thinspace{}
23795 \begin_inset Newline newline
23799 \begin_inset Flex Code
23802 \begin_layout Plain Layout
23803 svn co svn+ssh://user@server/repository_path
23811 \begin_layout Subsubsection
23812 Conversiones de los finales de línea
23815 \begin_layout Standard
23816 Cuando los colaboradores mezclan entornos Linux y Windows, \SpecialChar LyX
23818 finales de línea en los archivos .lyx.
23819 Esto no es un problema en lo que concierne a la funcionalidad de \SpecialChar LyX
23821 los archivos diff de los ingresos serán enormes y propensos a conflictos
23823 Afortunadamente SVN sabe por sí mismo
23827 \begin_layout Plain Layout
23828 \begin_inset Flex URL
23831 \begin_layout Plain Layout
23833 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html
23843 como manejar problemas con retornos y saltos de línea (CR/LF) cuando cambia
23844 archivos .lyx al modo
23845 \begin_inset Flex Code
23848 \begin_layout Plain Layout
23858 \begin_layout Plain Layout
23859 Para los perezosos:
23860 \begin_inset Flex Code
23863 \begin_layout Plain Layout
23864 svn propset svn:eol-style native FILE_NAME
23877 \begin_layout Subsection
23878 Comandos GIT en \SpecialChar LyX
23882 \begin_layout Standard
23884 soporta un conjunto mínimo de comandos GIT.
23885 Se encuentra en el submenú
23887 Archivo\SpecialChar menuseparator
23888 Control de versiones
23891 Hay que tener en cuenta que si se usa acceso con contraseña al repositorio
23892 vía ssh, ésta se pedirá en una ventana de terminal.
23894 se ha probado con GIT 1.7.
23898 \begin_layout Standard
23899 Una gran diferencia entre GIT y los demás sistemas de control de versiones
23900 soportados es la naturaleza distribuida de GIT: con los sistemas de control
23901 de versiones tradicionales hay un servidor central que aloja el repositorio.
23902 Los usuarios envían sus cambios al servidor y obtienen de él actualizaciones
23904 Con GIT, los usuarios remiten a un repositorio local, el cuál se puede
23905 sincronizar con uno o más repositorios remotos usando los comandos GIT
23907 \begin_inset Flex Code
23910 \begin_layout Plain Layout
23917 \begin_inset Flex Code
23920 \begin_layout Plain Layout
23928 no interactúa de ninguna forma con los repositorios GIT remotos.
23929 Trabaja exclusivamente con el repositorio local de manera similar a como
23930 con un repositorio CVS o SVN.
23931 Si usas repositorios GIT remotos debes hacer las operaciones
23932 \begin_inset Flex Code
23935 \begin_layout Plain Layout
23942 \begin_inset Flex Code
23945 \begin_layout Plain Layout
23951 con tu cliente GIT favorito.
23954 \begin_layout Subsubsection
23958 \begin_layout Standard
23959 Si el documento no está bajo control de versiones, éste es el único ítem
23960 mostrado en el menú.
23961 Si está bajo control de versiones
23968 \begin_layout Standard
23969 Este comando registra el documento en GIT sólo en el caso de que el directorio
23970 de los documentos esté ya bajo control de GIT (en particular, existe el
23976 Esto quiere decir que debes reservar
23977 \begin_inset Note Note
23980 \begin_layout Plain Layout
23986 el archivo por ti mismo.
23989 \begin_layout Standard
23990 Entonces se pedirá de forma interactiva una descripción inicial del documento.
23991 No olvides que el archivo registrado aún no ha sido ingresado.
23994 \begin_layout Standard
23995 El comando GIT que se ejecuta:
23998 \begin_inset Quotes eld
24004 \begin_layout Standard
24009 para entender los conmutadores.
24013 \begin_layout Subsubsection
24017 \begin_layout Standard
24018 Una vez editado un archivo hay que ingresar los cambios realizados en él.
24019 Al hacerlo se pedirá una descripción de los mismos y después se ingresan.
24022 \begin_layout Standard
24025 git commit -q -m"<description>" <file-name>
24028 \begin_layout Subsubsection
24029 Volver a la versión del repositorio
24032 \begin_layout Standard
24033 Descartará los cambios hechos en el documento desde la última liberación.
24034 Hay un aviso antes de descartar los cambios.
24037 \begin_layout Standard
24043 \begin_inset Quotes qld
24051 \begin_inset Quotes qld
24057 \begin_layout Subsubsection
24061 \begin_layout Standard
24062 Renombrará el documento actual incluyendo el historial de versiones.
24063 Requiere un documento limpio sin ningún cambio desde la última liberación.
24064 Pedirá un nombre de archivo y una descripción de la operación de renombrado.
24065 Después se renombra el documento localmente y en el repositorio.
24066 Si los directorios padre de los nombres de archivo nuevo y antiguo difieren,
24067 se ajustan todas las rutas relativas de los archivos incluidos (como en
24070 Archivo\SpecialChar menuseparator
24075 Por último, se recarga el documento con su nuevo nombre.
24078 \begin_layout Labeling
24079 \labelwidthstring 00.00.0000
24081 \begin_inset space ~
24085 \begin_inset space ~
24089 \begin_inset Newline newline
24093 \begin_inset Flex Code
24096 \begin_layout Plain Layout
24101 \begin_inset Quotes qld
24111 \begin_inset Quotes qld
24121 \begin_inset Quotes qld
24131 \begin_inset Quotes qld
24140 \begin_inset Newline newline
24144 \begin_inset Flex Code
24147 \begin_layout Plain Layout
24156 \begin_layout Subsubsection
24160 \begin_layout Standard
24161 Muestra el historial completo del documento GIT.
24167 \begin_inset Quotes qld
24175 \begin_inset Quotes qld
24181 se muestra en un buscador.
24184 \begin_layout Subsubsection
24185 Información de la versión
24188 \begin_layout Standard
24190 soporta número hash GIT del últim ingreso al archivo, autor, fecha y hora
24191 del último ingreso.
24192 Todos se obtienen de
24193 \begin_inset Flex Code
24196 \begin_layout Plain Layout
24197 git log -n 1 --pretty=format:%H%n%an%n%ai
24203 La información de l versión del árbol se obtiene vía
24204 \begin_inset Flex Code
24207 \begin_layout Plain Layout
24208 git describe --abbrev --dirty --long
24215 \begin_inset CommandInset ref
24217 reference "subsec:VCS-Información-de-revisión"
24221 para otros detalles.
24224 \begin_layout Subsection
24225 Ajustes adicionales
24228 \begin_layout Standard
24229 Con la reciente adición de la función
24233 , los usuarios que exprimen la potencia de \SpecialChar LyX
24234 pueden crear sus propios comandos
24235 para el control de revisiones.
24238 \begin_layout Standard
24239 Como ejemplo puedes ver cómo integrar directamente dos comandos TortoiseSVN:
24242 \begin_layout Description
24244 \begin_inset Flex Code
24247 \begin_layout Plain Layout
24248 vc-command DS "." "TortoiseProc /command:commit /path:$$p"
24256 \begin_layout Description
24258 \begin_inset Flex Code
24261 \begin_layout Plain Layout
24262 vc-command DR "." "TortoiseProc /command:revert /path:$$p"
24270 \begin_layout Subsection
24271 Control de versiones y comparación de documentos
24274 \begin_layout Standard
24275 Uno de los usos típicos del control de versiones es inspeccionar los cambios
24276 entre revisiones, usualmente creando volcados
24277 \begin_inset Flex Code
24280 \begin_layout Plain Layout
24287 Aunque esto es útil para archivos de texto sencillo, es mucho menos útil
24288 en archivos de \SpecialChar LyX
24289 , que tienen una estructura más complicada.
24290 Por tanto, proporcionamos caminos para la característica de comparar documentos.
24291 Hay dos maneras de iniciar esta función, una por llamada directa a
24297 (véase el manual Funciones de \SpecialChar LyX
24298 para detalles) y otra con el
24313 Se pueden comparar dos revisiones determinadas o se puede simplemente comparar
24314 la versión actual del texto editado con revisiones anteriores (donde '
24315 \begin_inset Flex Code
24318 \begin_layout Plain Layout
24324 ' revisiones atrás quiere decir comparar el archivo en edición con la última
24325 revisión remitida).
24329 \begin_layout Standard
24330 Esta característica está soportada por SVN y RCS, aunque debido al esquema
24331 de versiones más complicado de RCS hay una restricción, en la dirección
24332 de las revisiones en el diálogo, los números siempre apuntan al último
24333 número en el número de revisión de RCS, es decir, '35' en '1.2.35'.
24336 We don't currently support GIT addressing of revisions, one can just compare
24337 edited document with its revision X steps backs, where X is addressed as
24339 \begin_inset Flex Code
24342 \begin_layout Plain Layout
24353 \begin_layout Section
24354 Programación literaria
24357 \begin_layout Standard
24362 (kayvan@sylvan.com)
24366 documentación original de
24368 Edmar Wienskoski Jr.
24371 (edmar-w-jr@technologist.com)
24374 \begin_layout Subsection
24378 \begin_layout Standard
24379 El propósito principal de esta documentación es mostrar el uso de \SpecialChar LyX
24381 escribir programación literaria
24387 \begin_layout Plain Layout
24388 «Literate Programming», llamada también programación «ilustrada» o «letrada».
24392 \begin_inset space \thinspace{}
24403 Se supone que la técnica de la programación te resulta familiar y sabes
24404 lo que significan términos como
24405 \begin_inset Quotes cld
24409 \begin_inset Quotes crd
24413 \begin_inset Quotes cld
24417 \begin_inset Quotes crd
24424 \begin_layout Plain Layout
24425 Generación del código y de la documentación, respectivamente.
24429 \begin_inset space \thinspace{}
24440 Si no es así, acude a los enlaces web mencionados en las siguientes secciones.
24441 Hay mucha y buena documentación que abarca desde la historia de los inicios
24442 de la programación hasta las últimas herramientas y trucos.
24445 \begin_layout Standard
24446 También se supone que estás familiarizado con el uso de \SpecialChar LyX
24448 de conocer cómo cambiar las preferencias y el archivo de recursos X.
24449 Si no es así acude al resto de documentación de \SpecialChar LyX
24450 en función de tus necesidades.
24453 \begin_layout Subsection
24454 Programación literaria
24457 \begin_layout Standard
24458 Extraído de las PUF:
24461 \begin_layout Quotation
24462 En la programación literaria se combinan documentación y código fuente de
24463 manera legible para los seres humanos.
24464 ¡De hecho, la programación literaria debería ser de lectura agradable,
24465 incluso sugerente! (¡Lo siento Bob, no he podido resistirme\SpecialChar ldots
24467 en la escritura de los programas se combinan código y documentación en
24469 Las herramientas de programación literaria analizan después el archivo
24470 y pueden generar la documentación o el código fuente compilable por separado.
24471 El estilo WEB de programación fue creado por
24474 \begin_inset space \thinspace{}
24478 \begin_inset space \thinspace{}
24483 mientras desarrollaba su sistema de composición tipográfica \SpecialChar TeX
24487 \begin_layout Standard
24491 \begin_layout Quotation
24494 ¿En qué se diferencian la programación literaria y
24498 l comentario literal?
24501 \begin_layout Quotation
24502 Hay tres rasgos distintivos, que son, por orden de importancia:
24506 \begin_layout Itemize
24507 orden de elaboración flexible
24510 \begin_layout Itemize
24511 soporte automático de búsqueda
24514 \begin_layout Itemize
24515 documentación bien presentada, especialmente los diagramas y las matemáticas.
24520 \begin_layout Standard
24521 Y ahora que he despertado tu curiosidad, veamos las referencias.
24524 \begin_layout Subsubsection
24528 \begin_layout Standard
24529 Las FAQ completas de
24530 \begin_inset Quotes cld
24533 Literate Programming
24534 \begin_inset Quotes crd
24540 \begin_layout Quote
24541 Literate Programming FAQ:
24542 \begin_inset Flex URL
24545 \begin_layout Plain Layout
24547 http://www.literateprogramming.com/lpfaq.pdf
24555 \begin_layout Standard
24556 En las FAQ se describen 23 (¡23!) herramientas diferentes de programación
24558 Algunas son específicas de lenguajes de programación particulares, otras
24559 son de aplicación general.
24560 He seleccionado la herramienta
24564 para mi uso personal por varias razones:
24567 \begin_layout Itemize
24568 Puede generar la documentación en \SpecialChar LaTeX
24572 \begin_layout Itemize
24573 Es de estructura abierta, es decir, es sencillo introducir filtros nuevos
24579 \begin_layout Plain Layout
24585 are programs that read a given data stream and output a manipulated data
24587 That way, a WEB file (consisting of literate code) can be turned into a
24588 file consisting only of C program code or \SpecialChar LaTeX
24596 y hacer procesamientos especiales según las necesidades.
24600 \begin_layout Itemize
24601 Ya hay una buena selección de filtros disponible (uno de ellos es HTML).
24604 \begin_layout Itemize
24608 \begin_layout Standard
24609 La página web de Noweb es:
24612 \begin_layout Quote
24613 Página de inicio de Noweb
24614 \begin_inset Flex URL
24617 \begin_layout Plain Layout
24619 https://www.cs.tufts.edu/~nr/noweb/
24627 \begin_layout Standard
24628 Desde allí puedes acceder a muchos enlaces de interés y a ejemplos de programaci
24629 ón en formato literario.
24632 \begin_layout Subsection
24634 y la programación literaria con Noweb
24637 \begin_layout Standard
24639 soporta Programación Literaria mediante el mecanismo de gestión de convertidore
24641 Este soporte se proporciona
24642 \begin_inset Quotes cld
24645 independiente de Noweb
24646 \begin_inset Quotes crd
24649 , es decir, podrás usar esta nueva función de \SpecialChar LyX
24650 con algunas otras herramientas
24651 de programación literaria, cuya elección puedes hacer en las preferencias
24652 de \SpecialChar LyX
24656 \begin_layout Subsubsection
24657 Generación de documentos y de código («weaving and tangling»)
24660 \begin_layout Paragraph
24661 Usando el módulo noweb
24664 \begin_layout Standard
24665 Con \SpecialChar LyX
24666 y Noweb instalados, al abrir un documento nuevo y después de elegir
24667 la clase de documento selecciona el módulo
24668 \begin_inset Quotes cld
24672 \begin_inset Quotes crd
24677 Documento\SpecialChar menuseparator
24678 Configuración\SpecialChar menuseparator
24682 Si Noweb está instalado correctamente podrás pulsar
24686 para usarlo en tu documento.
24689 \begin_layout Paragraph
24693 \begin_layout Standard
24702 \begin_inset Flex Noun
24705 \begin_layout Plain Layout
24716 para escribir código.
24717 Noweb delimita trozos como éste:
24720 \begin_layout LyX-Code
24724 \begin_layout LyX-Code
24728 \begin_layout LyX-Code
24732 \begin_layout LyX-Code
24736 \begin_layout LyX-Code
24740 \begin_layout Standard
24741 El problema es que todo lo que se escriba entre <<
24742 \begin_inset space ~
24749 debe ser interpretado de forma literal, es decir, \SpecialChar LyX
24750 no debería hacer ninguna
24751 interpretación especial de lo que está ahí escrito.
24752 Esto es también manejado por el entorno
24753 \begin_inset Flex Noun
24756 \begin_layout Plain Layout
24762 , que funciona como un
24766 normal excepto que admite espacios con libertad.
24769 \begin_layout Standard
24770 He de apuntar que también puedes usar la estructura
24771 \begin_inset Quotes cld
24779 \begin_inset Quotes crd
24782 de Noweb en tus trozos de código para añadir identificadores de referencias
24786 \begin_layout LyX-Code
24790 \begin_layout LyX-Code
24791 def una_función(argumentos):
24794 \begin_layout LyX-Code
24795 "Esta es la documentación para esta función."
24798 \begin_layout LyX-Code
24799 print "Mis argumentos: ", argumentos
24802 \begin_layout LyX-Code
24806 \begin_layout Standard
24807 Para ver un ejemplo de esta construcción y la salida con la referencia cruzada
24808 generada, puedes ver la programación literaria en python contenida en el
24810 \begin_inset Newline newline
24818 /examples/listerrors.lyx
24823 que debería aclarar esto.
24826 \begin_layout Paragraph
24827 Generación del documento
24830 \begin_layout Standard
24831 Ahora ya tienes un nuevo documento con su clase adecuada y con algo de código
24833 ¿Cómo ver la salida impresa? La respuesta es simple, con
24835 Ver\SpecialChar menuseparator
24839 Igual que harías con cualquier otro documento.
24840 No hace falta ningún procedimiento especial.
24843 \begin_layout Standard
24844 Para aclarar las cosas explicaré lo que sucede en el interior de \SpecialChar LyX
24848 \begin_layout Enumerate
24849 Al escoger la opción
24851 Ver\SpecialChar menuseparator
24852 Actualizar\SpecialChar menuseparator
24855 , se genera un archivo \SpecialChar LaTeX
24861 \begin_layout Standard
24862 Si el documento es de cualquiera de las clases en formato
24863 \begin_inset Quotes cld
24867 \begin_inset Quotes crd
24870 , el archivo generado será nombrado con una extensión definida por el formato
24872 \begin_inset Quotes cld
24876 \begin_inset Quotes crd
24879 (definido en el panel de
24883 ), si no el archivo tendrá la extensión habitual
24891 \begin_layout Enumerate
24892 La única diferencia está en la extensión del archivo, no hace falta ninguna
24893 acción especial por parte de \SpecialChar LyX
24894 , puesto que has formateado el código con
24900 \begin_inset Flex Noun
24903 \begin_layout Plain Layout
24909 , que ya se cuida de ese aspecto.
24912 \begin_layout Enumerate
24913 Si el documento es de cualquier clase
24914 \begin_inset Quotes cld
24918 \begin_inset Quotes crd
24921 , un convertidor interno se encarga de convertir el archivo \SpecialChar LyX
24927 \begin_layout Plain Layout
24930 Herramientas\SpecialChar menuseparator
24942 convierte Noweb a \SpecialChar LaTeX
24943 para generar el archivo \SpecialChar LaTeX
24948 \begin_layout Standard
24949 Si no lo es, se salta este paso.
24953 \begin_layout Enumerate
24954 Finalmente, se ejecuta \SpecialChar LaTeX
24955 y continúa el proceso de la manera habitual.
24958 \begin_layout Standard
24959 La independencia de una particular herramienta de programación literaria
24960 se basa simplemente en el cambio de los comandos ejecutados por los distintos
24964 \begin_layout Paragraph
24965 Generación del código
24968 \begin_layout Standard
24969 Al escoger la opción de menú o al pulsar el botón adecuado de la barra de
24970 herramientas, se genera un archivo \SpecialChar LaTeX
24971 como se describe en el paso 1 anterior.
24972 A continuación, \SpecialChar LyX
24973 ejecuta el convertidor
24978 Habitualmente, este paso (igual que cualquier otro convertidor) se realiza
24982 \begin_layout Enumerate
24983 El programa convertidor propiamente dicho.
24984 Este programa realiza la conversión de un formato a otro (en este caso,
24996 \begin_layout Enumerate
24997 El analizador de registro de errores.
24998 Este es un programa cuyo único propósito es reescribir los mensajes de
24999 error en un formato comprensible para \SpecialChar LyX
25001 Esto permite la colocación de los cuadros de error de \SpecialChar LyX
25002 en los lugares correctos.
25005 \begin_layout Standard
25006 La primera parte, que se especifica en el campo
25013 \begin_layout LyX-Code
25021 \begin_layout Standard
25022 Esto significa que \SpecialChar LyX
25024 \begin_inset Quotes cld
25032 \begin_inset Quotes crd
25035 (un programa o una secuencia) con el nombre del archivo Noweb (
25039 , generalmente un archivo en el directorio temporal de \SpecialChar LyX
25044 \begin_layout Standard
25045 He aquí una implementación de
25049 que puedes colocar en un directorio accesible para tu línea de comandos:
25052 \begin_layout LyX-Code
25058 \begin_layout LyX-Code
25064 \begin_layout LyX-Code
25067 notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
25070 \begin_layout Standard
25071 La segunda parte de los ajustes del convertidor es el
25072 \begin_inset Quotes cld
25076 \begin_inset Quotes crd
25082 \begin_layout LyX-Code
25085 parselog=$$s/scripts/listerrors
25088 \begin_layout Standard
25089 Esto procesará cualquier error que se genere por el proceso
25090 \begin_inset Quotes cld
25098 \begin_inset Quotes crd
25101 a través del programa
25102 \begin_inset Quotes cld
25106 \begin_inset Quotes crd
25112 \begin_layout Standard
25113 Normalmente, la compilación tendrá lugar en el directorio temporal de \SpecialChar LyX
25115 por tanto los archivos generados por la conversión estarán en ese directorio.
25117 copiará lo que considera como el archivo "principal", pero la conversión
25121 puede generar varios arcivos, aunque la mayoría de ellos se borran al cerrar
25124 Por eso pasamos la variable de entorno NOWEB_OUTPUT_DIR, para que el gragmento
25125 build-script pueda situar los archivos generados en su sitio.
25128 \begin_layout Paragraph
25129 Instrucciones de compilación en el documento
25132 \begin_layout Standard
25133 La última parte de la integración entre \SpecialChar LyX
25134 y noweb es el trozo
25135 \begin_inset Quotes cld
25139 \begin_inset Quotes crd
25143 Generalmente, las instrucciones para compilar tu programa deberían incluirse
25144 en un trozo propio.
25149 específico de noweb visto antes usa el comando
25153 para buscar ese trozo (llamado
25154 \begin_inset Quotes cld
25158 \begin_inset Quotes crd
25161 ) y procesa su contenido a través de
25168 \begin_layout Standard
25169 Típicamente, un trozo
25170 \begin_inset Quotes cld
25174 \begin_inset Quotes crd
25177 se verá más o menos así:
25180 \begin_layout LyX-Code
25184 \begin_layout LyX-Code
25186 \begin_inset Newline newline
25189 if [ -z "${NOWEB_SOURCE}" ]
25190 \begin_inset Newline newline
25196 \begin_layout LyX-Code
25197 NOWEB_SOURCE=myfile.nw
25198 \begin_inset Newline newline
25202 \begin_inset Newline newline
25206 code to extract files ...
25207 use NOWEB_OUTPUT_DIR here ...]
25208 \begin_inset Newline newline
25212 code to compile files ...]
25213 \begin_inset Newline newline
25219 \begin_layout Standard
25225 /examples/listerrors.lyx
25232 /examples/Literate.lyx
25234 , que implementan dos versiones del programa
25238 , para ver algunos ejemplos de cómo ensamblar todo esto, o en
25243 /examples/noweb2lyx.lyx
25249 Es interesante ver cómo estos tres archivos muestran la independencia del
25250 lenguaje de programación literaria utilizado en \SpecialChar LyX
25251 , puesto que están escritos,
25252 respectivamente, en Python, C y Perl.
25255 \begin_layout Subsubsection
25256 Configurar \SpecialChar LyX
25260 \begin_layout Standard
25261 Todo el soporte de Programación Literaria se configura en el panel del menú
25264 Herramientas\SpecialChar menuseparator
25272 \begin_inset space ~
25280 \begin_inset space ~
25292 Las partes importantes son:
25295 \begin_layout Description
25297 \begin_inset space ~
25301 \begin_inset space ~
25305 \begin_inset Quotes cld
25309 \begin_inset Quotes crd
25315 \begin_inset space ~
25319 \begin_inset space ~
25324 se configuran las partes específicas de Noweb.
25328 \begin_inset space ~
25346 Esto prepara a \SpecialChar LyX
25347 para generar un archivo con extensión
25351 en el primer paso del proceso de conversión.
25354 \begin_layout Description
25356 \begin_inset space ~
25362 \begin_inset space ~
25367 a Este es un formato ficticio cuyo único propósito es ser el punto final
25368 de una conversión (que luego nos permite establecer un convertidor que
25376 \begin_layout Description
25386 Este convertidor realiza el
25387 \begin_inset Quotes cld
25391 \begin_inset Quotes crd
25394 (generación de la documentación) del documento literario.
25395 Para Noweb, hay que poner el
25400 \begin_inset Quotes cld
25405 noweave -delay -index $$i > $$o
25408 \begin_inset Quotes crd
25414 \begin_layout Description
25423 a Este realiza el paso
25424 \begin_inset Quotes cld
25428 \begin_inset Quotes crd
25431 (generación del código).
25432 Como se dijo antes, el
25437 \begin_inset Quotes cld
25445 \begin_inset Quotes crd
25454 \begin_inset space ~
25463 \begin_inset Quotes cld
25468 originaldir,parselog=listerrors
25471 \begin_inset Quotes crd
25477 \begin_layout Subsubsection
25478 Extensiones de depuración
25481 \begin_layout Standard
25482 En el servidor \SpecialChar LyX
25483 también se ha implementado una nueva función,
25484 \begin_inset Quotes cld
25487 server-goto-file-row
25488 \begin_inset Quotes crd
25491 , para ser utilizada con
25503 \begin_layout Standard
25504 Cuando se depura código con
25512 , es posible invocar un editor de texto en la posición actual de ejecución
25513 con una sencilla pulsación de teclado.
25514 La configuración por omisión de
25523 La línea de comando del editor utilizado por
25527 se puede definir accediendo al diálogo
25529 Editar\SpecialChar menuseparator
25530 Preferencias\SpecialChar menuseparator
25533 cambiando la entrada
25540 \begin_layout Standard
25541 He aprovechado las ventajas de la nueva función del servidor \SpecialChar LyX
25547 , poniendo lo siguiente en
25554 \begin_layout LyX-Code
25563 :monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
25566 \begin_layout Standard
25567 Con esto, cuando estás usando
25571 y encuentras una parte del programa que quieres editar, solo has de pulsar
25584 pasa esta información por medio del servidor \SpecialChar LyX
25586 , en cuya ventana se verá
25587 el mismo archivo con el cursor en la posición apuntada por
25592 ¡Se acabaron las adivinanzas y los tediosos deslizamientos de pantalla
25593 para localizar los fallos del programa!
25596 \begin_layout Standard
25597 Sin embargo, ten en cuenta que debes habilitar el servidor \SpecialChar LyX
25599 con él (por omisión está desactivado).
25603 \begin_layout Standard
25609 \begin_inset space ~
25613 \begin_inset CommandInset ref
25615 reference "sec:Iniciar-el-servidor"
25621 explains how to do that
25626 \begin_layout Subsubsection
25627 Ampliación de la barra de herramientas
25630 \begin_layout Standard
25631 Hay seis botones nuevos que pueden añadirse a la barra de herramientas de
25634 Four de ellos son atajos a los tipos de párrafo:
25649 y Código-\SpecialChar LyX
25654 one fpr the custom inset
25660 El otro es un atajo a la entrada
25661 \begin_inset Quotes cld
25669 \begin_inset Quotes crd
25680 \begin_layout Standard
25682 dispone de una colección de botones para personalizar la barra de herramientas.
25683 En mi barra de herramientas personal me gusta combinar los seis botones
25684 mencionados con otros dos para las entradas de menú
25688 \SpecialChar menuseparator
25693 \SpecialChar menuseparator
25700 Documento\SpecialChar menuseparator
25707 \begin_layout LyX-Code
25711 \begin_layout LyX-Code
25715 \begin_layout LyX-Code
25716 Icon "layout Standard"
25719 \begin_layout LyX-Code
25720 Icon "layout Section"
25723 \begin_layout LyX-Code
25724 Icon "layout \SpecialChar LaTeX
25728 \begin_layout LyX-Code
25729 Icon "layout \SpecialChar LyX
25733 \begin_layout LyX-Code
25741 \begin_layout LyX-Code
25745 \begin_layout LyX-Code
25749 \begin_layout LyX-Code
25750 Icon "buffer-typeset"
25753 \begin_layout LyX-Code
25754 Icon "build-program"
25757 \begin_layout LyX-Code
25761 \begin_layout LyX-Code
25765 \begin_layout LyX-Code
25769 \begin_layout LyX-Code
25773 \begin_layout LyX-Code
25777 \begin_layout Subsubsection
25778 Personalización de los colores
25781 \begin_layout Standard
25782 Cierto número de colores usados en \SpecialChar LyX
25783 se pueden personalizar en el diálogo
25789 Una de las cosas que más molesta a la gente es el color de la tipografía
25790 del código \SpecialChar LaTeX
25791 , que por omisión es rojo, y como el entorno
25794 \begin_inset Flex Noun
25797 \begin_layout Plain Layout
25808 utiliza código \SpecialChar LaTeX
25809 y hay mucho código en los documentos de programación literaria,
25810 puedes acabar harto de ver tanto rojo.
25811 Así pues, puedes cambiarlo si quieres en
25815 \SpecialChar menuseparator
25821 \begin_layout Standard
25822 El siguiente asunto es la presencia visible del carácter salto de línea
25824 Puedes elegir el color de este carácter en particular para confundirlo
25826 Recomiendo escoger un color parecido al del fondo pero no idéntico, de
25827 esta forma lo seguirás viendo pero sin molestar tanto.
25830 \begin_layout Subsection
25835 \begin_layout Standard
25844 está documentado en el archivo de ejemplo
25848 y en el manual de Sweave (menú
25850 Ayuda\SpecialChar menuseparator
25851 Manuales específicos
25856 \begin_layout Chapter
25857 Características especiales
25860 \begin_layout Standard
25861 Con \SpecialChar LyX
25862 se puede hacer todo lo que se puede hacer con \SpecialChar LaTeX
25864 Aunque \SpecialChar LyX
25865 no puede soportar directamente todas las características de \SpecialChar LaTeX
25867 es posible usar código \SpecialChar LaTeX
25869 Este capítulo trata de algunas cosas especiales que podrían interesarte.
25870 Las características especiales relacionadas con figuras, cuadros, flotantes,
25871 marcos y notas, se pueden consultar en el manual
25879 \begin_layout Section
25883 \begin_layout Standard
25884 Esta característica es independiente de la opción
25886 Documento con dos columnas
25892 de la configuración del documento.
25893 Para tener dos columnas de texto en todo el documento se recomienda usar
25895 Para el resto de casos se usa la característica aquí descrita.
25898 \begin_layout Standard
25899 Para poner texto en varias columnas, hay que cargar el módulo
25905 Documento\SpecialChar menuseparator
25906 Configuración\SpecialChar menuseparator
25909 ), y debe estar instalado el paquete \SpecialChar LaTeX
25915 \begin_inset Index idx
25918 \begin_layout Plain Layout
25920 -paquetes ! multicol
25928 \begin_layout Standard
25929 Las notas al pie en las columnas se colocarán al final de la página y no
25931 En las distintas columnas se puede usar todo, excepto que para flotantes
25932 hay que usar la opción
25939 \begin_layout Subsection
25943 \begin_layout Standard
25944 Para poner un texto en dos columnas, usa el menú
25946 Insertar\SpecialChar menuseparator
25948 \begin_inset space ~
25951 personalizado\SpecialChar menuseparator
25954 en el punto en que deben iniciarse las columnas.
25955 Escribe en el recuadro todo el texto que debe ir en dos columnas.
25958 \begin_layout Standard
25962 \begin_layout Standard
25966 \begin_inset Flex Multiple Columns
25969 \begin_layout Plain Layout
25975 The Adventure of the Empty House
25978 \begin_inset Newline newline
25981 by Sir Arthur Conan Doyle
25984 \begin_layout Plain Layout
25988 It was in the spring of the year 1894 that all London was interested, and
25989 the fashionable world dismayed, by the murder of the Honourable Ronald
25990 Adair under most unusual and inexplicable circumstances.
25991 The public has already learned those particulars of the crime which came
25992 out in the police investigation, but a good deal was suppressed upon that
25993 occasion, since the case for the prosecution was so overwhelmingly strong
25994 that it was not necessary to bring forward all the facts.
25995 Only now, at the end of nearly ten years, am I allowed to supply those
25996 missing links which make up the whole of that remarkable chain.
25997 The crime was of interest in itself, but that interest was as nothing to
25998 me compared to the inconceivable sequel, which afforded me the greatest
25999 shock and surprise of any event in my adventurous life.
26000 Even now, after this long interval, I find myself thrilling as I think
26001 of it, and feeling once more that sudden flood of joy, amazement, and increduli
26002 ty which utterly submerged my mind.
26003 Let me say to that public, which has shown some interest in those glimpses
26004 which I have occasionally given them of the thoughts and actions of a very
26005 remarkable man, that they are not to blame me if I have not shared my knowledge
26006 with them, for I should have considered it my first duty to do so, had
26007 I not been barred by a positive prohibition from his own lips, which was
26008 only withdrawn upon the third of last month.
26016 \begin_layout Standard
26017 Para poner tres o más columnas coloca el cursor dentro del recuadro, usa
26020 Insertar\SpecialChar menuseparator
26023 y escribe el número de columnas, por ejemplo "3".
26024 \begin_inset Newline newline
26027 Un ejemplo de texto en tres columnas:
26030 \begin_layout Standard
26033 \begin_inset Flex Multiple Columns
26036 \begin_layout Plain Layout
26040 \begin_inset Argument 1
26043 \begin_layout Plain Layout
26050 It can be imagined that my close intimacy with Sherlock Holmes had interested
26051 me deeply in crime, and that after his disappearance I never failed to
26052 read with care the various problems which came before the public.
26053 And I even attempted, more than once, for my own private satisfaction,
26054 to employ his methods in their solution, though with indifferent success.
26055 There was none, however, which appealed to me like this tragedy of Ronald
26057 As I read the evidence at the inquest, which led up to a verdict of willful
26058 murder against some person or persons unknown, I realized more clearly
26059 than I had ever done the loss which the community had sustained by the
26060 death of Sherlock Holmes.
26061 There were points about this strange business which would, I was sure,
26062 have specially appealed to him, and the efforts of the police would have
26063 been supplemented, or more probably anticipated, by the trained observation
26064 and the alert mind of the first criminal agent in Europe.
26065 All day, as I drove upon my round, I turned over the case in my mind and
26066 found no explanation which appeared to me to be adequate.
26067 At the risk of telling a twice-told tale, I will recapitulate the facts
26068 as they were known to the public at the conclusion of the inquest.
26076 \begin_layout Standard
26077 Se puede llegar hasta 10
26078 \begin_inset space ~
26081 columnas, aunque seguramente no será muy cómodo para los lectores.
26084 \begin_layout Standard
26087 \begin_inset Newpage newpage
26093 \begin_layout Subsection
26094 Columnas dentro de otras columnas
26097 \begin_layout Standard
26098 Es posible poner columnas dentro de otras:
26101 \begin_layout Standard
26104 \begin_inset Flex Multiple Columns
26107 \begin_layout Plain Layout
26111 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
26112 at that time governor of one of the Australian colonies.
26113 Adair's mother had returned from Australia to undergo the operation for
26114 cataract, and she, her son Ronald, and her daughter Hilda were living together
26118 \begin_layout Plain Layout
26121 \begin_inset Flex Multiple Columns
26124 \begin_layout Plain Layout
26128 The youth moved in the best society
26129 \begin_inset space ~
26132 – had, so far as was known, no enemies and no particular vices.
26133 He had been engaged to Miss Edith Woodley, of Carstairs, but the engagement
26134 had been broken off by mutual consent some months before, and there was
26135 no sign that it had left any very profound feeling behind it.
26136 For the rest {sic} the man's life moved in a narrow and conventional circle,
26137 for his habits were quiet and his nature unemotional.
26138 Yet it was upon this easy-going young aristocrat that death came, in most
26139 strange and unexpected form, between the hours of ten and eleven-twenty
26140 on the night of March 30, 1894.
26148 \begin_layout Plain Layout
26152 Ronald Adair was fond of cards
26153 \begin_inset space ~
26156 – playing continually, but never for such stakes as would hurt him.
26157 He was a member of the Baldwin, the Cavendish, and the Bagatelle card clubs.
26158 It was shown that, after dinner on the day of his death, he had played
26159 a rubber of whist at the latter club.
26160 He had also played there in the afternoon.
26165 The evidence of those who had played with him
26166 \begin_inset space ~
26170 Murray, Sir John Hardy, and Colonel Moran
26171 \begin_inset space ~
26174 – showed that the game was whist, and that there was a fairly equal fall
26176 Adair might have lost five pounds, but not more.
26177 His fortune was a considerable one, and such a loss could not in any way
26179 He had played nearly every day at one club or other, but he was a cautious
26180 player, and usually rose a winner.
26181 It came out in evidence that, in partnership with Colonel Moran, he had
26182 actually won as much as four hundred and twenty pounds in a sitting, some
26183 weeks before, from Godfrey Milner and Lord Balmoral.
26184 So much for his recent history as it came out at the inquest.
26192 \begin_layout Subsection
26196 \begin_layout Standard
26197 Los ejemplos de esta sección muestran algunas características más avanzadas
26201 \begin_layout Standard
26202 Para ver más opciones de columnas echa un vistazo a la
26203 \begin_inset CommandInset href
26205 name "documentación"
26206 target "http://mirror.ctan.org/macros/latex/required/tools/multicol.pdf"
26211 del paquete \SpecialChar LaTeX
26219 \begin_layout Subsubsection
26223 \begin_layout Standard
26224 Para añadir un prefacio a las columnas coloca el cursor dentro del recuadro
26225 del texto en columnas y usa el menú
26227 Insertar\SpecialChar menuseparator
26231 Escribe en el marco que aparece el texto del prefacio.
26232 \begin_inset Newline newline
26235 Ejemplo con un texto de prefacio:
26236 \begin_inset VSpace bigskip
26242 \begin_layout Standard
26245 \begin_inset Flex Multiple Columns
26248 \begin_layout Plain Layout
26249 \begin_inset Argument 2
26252 \begin_layout Plain Layout
26253 Y la historia continúa\SpecialChar ldots
26262 On the evening of the crime, he returned from the club exactly at ten.
26263 His mother and sister were out spending the evening with a relation.
26264 The servant deposed that she heard him enter the front room on the second
26265 floor, generally used as his sitting-room.
26266 She had lit a fire there, and as it smoked she had opened the window.
26267 No sound was heard from the room until eleven-twenty, the hour of the return
26268 of Lady Maynooth and her daughter.
26269 Desiring to say good-night, she attempted to enter her son's room.
26270 The door was locked on the inside, and no answer could be got to their
26271 cries and knocking.
26272 Help was obtained, and the door forced.
26273 The unfortunate young man was found lying near the table.
26274 His head had been horribly mutilated by an expanding revolver bullet, but
26275 no weapon of any sort was to be found in the room.
26283 \begin_layout Standard
26284 También se puede usar un encabezado de sección como prefacio, poniendo un
26285 comando de sección en código \SpecialChar TeX
26287 Por ejemplo, el comando
26290 \begin_layout Standard
26295 subsection{título de la subsección}
26298 \begin_layout Standard
26299 crea una subsección.
26300 En el siguiente ejemplo el título de la subsubsección hace de prefacio:
26303 \begin_layout Standard
26306 \begin_inset Flex Multiple Columns
26309 \begin_layout Plain Layout
26310 \begin_inset Argument 2
26313 \begin_layout Plain Layout
26317 \begin_layout Plain Layout
26326 Un encabezado de subsubsección como prefacio
26330 \begin_layout Plain Layout
26345 A minute examination of the circumstances served only to make the case more
26347 In the first place, no reason could be given why the young man should have
26348 fastened the door upon the inside.
26349 There was the possibility that the murderer had done this, and had afterwards
26350 escaped by the window.
26351 The drop was at least twenty feet, however, and a bed of crocuses in full
26353 Neither the flowers nor the earth showed any sign of having been disturbed,
26354 nor were there any marks upon the narrow strip of grass which separated
26355 the house from the road.
26356 Apparently, therefore, it was the young man himself who had fastened the
26358 But how did he come by his death? No one could have climbed up to the window
26359 without leaving traces.
26360 Suppose a man had fired through the window, he would indeed be a remarkable
26361 shot who could with a revolver inflict so deadly a wound.
26362 Again, Park Lane is a frequented thoroughfare; there is a cab stand within
26363 a hundred yards of the house.
26364 No one had heard a shot.
26372 \begin_layout Standard
26373 Si al comenzar las columnas queda menos espacio vertical en la página que
26374 el correspondiente a 6 líneas de texto, se insertará un salto de página.
26375 Dependiendo del número de líneas del texto del prefacio, es posible cambiar
26377 Para ello se coloca el cursor detrás del prefacio (si lo hay), se usa el
26380 Insertar\SpecialChar menuseparator
26382 \begin_inset space ~
26386 \begin_inset space ~
26390 \begin_inset space ~
26394 \begin_inset space ~
26399 y se escribe en el marco el espacio deseado, por ej.
26401 \begin_inset Newline newline
26404 En el siguiente ejemplo, el espacio establecido es de 7 líneas de texto
26406 \begin_inset Quotes cld
26416 \begin_inset Quotes crd
26425 en código \SpecialChar TeX
26429 \begin_layout Standard
26432 \begin_inset Flex Multiple Columns
26435 \begin_layout Plain Layout
26436 \begin_inset Argument 3
26439 \begin_layout Plain Layout
26444 \begin_layout Plain Layout
26461 On the evening of the crime, he returned from the club exactly at ten.
26462 His mother and sister were out spending the evening with a relation.
26463 The servant deposed that she heard him enter the front room on the second
26464 floor, generally used as his sitting-room.
26465 She had lit a fire there, and as it smoked she had opened the window.
26466 No sound was heard from the room until eleven-twenty, the hour of the return
26467 of Lady Maynooth and her daughter.
26468 Desiring to say good-night, she attempted to enter her son's room.
26469 The door was locked on the inside, and no answer could be got to their
26470 cries and knocking.
26471 Help was obtained, and the door forced.
26472 The unfortunate young man was found lying near the table.
26473 His head had been horribly mutilated by an expanding revolver bullet, but
26474 no weapon of any sort was to be found in the room.
26482 \begin_layout Subsubsection
26483 Espacio circundante
26486 \begin_layout Standard
26487 El espacio delante y detrás de las columnas se puede cambiar con el comando
26498 \begin_layout LyX-Code
26508 \begin_layout Standard
26509 en código \SpecialChar TeX
26510 establece un espacio de 3
26511 \begin_inset space \thinspace{}
26515 El cambio debe hacerse antes del inicio de las columnas.
26516 El valor por omisión es de 13
26517 \begin_inset space \thinspace{}
26523 \begin_layout Standard
26530 se ha establecido en 2.5
26531 \begin_inset space \thinspace{}
26537 \begin_layout Standard
26541 \begin_layout Plain Layout
26547 multicolsep}{2.5cm}
26555 \begin_layout Standard
26558 \begin_inset Flex Multiple Columns
26561 \begin_layout Plain Layout
26565 All day I turned these facts over in my mind, endeavouring to hit upon some
26566 theory which could reconcile them all, and to find that line of least resistanc
26567 e which my poor friend had declared to be the starting-point of every investigat
26569 I confess that I made little progress.
26570 In the evening I strolled across the Park, and found myself about six o'clock
26571 at the Oxford Street end of Park Lane.
26572 A group of loafers upon the pavements, all staring up at a particular window,
26573 directed me to the house which I had come to see.
26574 A tall, thin man with coloured glasses, whom I strongly suspected of being
26575 a plain-clothes detective, was pointing out some theory of his own, while
26576 the others crowded round to listen to what he said.
26577 I got as near him as I could, but his observations seemed to me to be absurd,
26578 so I withdrew again in some disgust.
26579 As I did so I struck against an elderly, deformed man, who had been behind
26580 me, and I knocked down several books which he was carrying.
26588 \begin_layout Standard
26589 \begin_inset Note Greyedout
26592 \begin_layout Plain Layout
26603 serán válidos para todas las columnas siguientes hasta que se cambie de
26612 \begin_layout Standard
26616 \begin_layout Plain Layout
26628 \begin_inset Note Note
26631 \begin_layout Plain Layout
26632 vuelta al valor predefinido
26640 \begin_layout Standard
26643 \begin_inset Newpage newpage
26649 \begin_layout Subsubsection
26653 \begin_layout Standard
26654 Se puede forzar un salto de columna insertando el comando
26663 en código \SpecialChar TeX
26664 en la posición del texto en la que se desee quebrar la columna.
26665 A tener en cuenta que, en la mayoría de los casos, esto genera espacios
26667 \begin_inset Newline newline
26673 \begin_layout Standard
26676 \begin_inset Flex Multiple Columns
26679 \begin_layout Plain Layout
26683 \begin_inset Quotes eld
26686 You're surprised to see me, sir,
26687 \begin_inset Quotes erd
26690 said he, in a strange, croaking voice.
26693 \begin_layout Plain Layout
26697 I acknowledged that I was.
26700 \begin_layout Plain Layout
26704 \begin_inset Quotes eld
26707 Well, I've a conscience, sir, and when I chanced to see you go into this
26708 house, as I came hobbling after you, I thought to myself, I'll just step
26709 in and see that kind gentleman, and tell him that if I was a bit gruff
26710 in my manner there was not any harm meant, and that I am much obliged to
26711 him for picking up my books.
26712 \begin_inset Quotes erd
26718 \begin_layout Plain Layout
26722 \begin_inset Quotes eld
26725 You make too much of a trifle,
26726 \begin_inset Quotes erd
26731 \begin_inset Quotes eld
26734 May I ask how you knew who I was?
26735 \begin_inset Quotes erd
26740 TRAS ESTA FRASE SE FUERZA UN SALTO DE COLUMNA.
26744 \begin_layout Plain Layout
26756 \begin_layout Plain Layout
26760 \begin_inset Quotes eld
26763 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
26764 you'll find my little bookshop at the corner of Church Street, and very
26765 happy to see you, I am sure.
26766 Maybe you collect yourself, sir.
26770 \begin_inset space ~
26784 \begin_inset space ~
26787 – a bargain, every one of them.
26788 With five volumes you could just fill that gap on that second shelf.
26789 It looks untidy, does it not, sir?
26790 \begin_inset Quotes erd
26801 \begin_layout Subsubsection
26802 Separación de columnas
26805 \begin_layout Standard
26806 La anchura de las columnas se calcula automáticamente, pero la separación
26807 entre ellas se puede modificar mediante el comando
26814 El valor predeterminado es 10
26815 \begin_inset space \thinspace{}
26819 A continuación hay un ejemplo en el que la longitud de
26825 se ha establecido en 3
26826 \begin_inset space \thinspace{}
26832 \begin_layout Standard
26836 \begin_layout Plain Layout
26850 \begin_layout Standard
26853 \begin_inset Flex Multiple Columns
26856 \begin_layout Plain Layout
26860 My observations of No.
26861 \begin_inset space \space{}
26864 427 Park Lane did little to clear up the problem in which I was interested.
26865 The house was separated from the street by a low wall and railing, the
26866 whole not more than five feet high.
26867 It was perfectly easy, therefore, for anyone to get into the garden, but
26868 the window was entirely inaccessible, since there was no water pipe or
26869 anything which could help the most active man to climb it.
26870 More puzzled than ever, I retraced my steps to Kensington.
26871 I had not been in my study five minutes when the maid entered to say that
26872 a person desired to see me.
26873 To my astonishment it was none other than my strange old book collector,
26874 his sharp, wizened face peering out from a frame of white hair, and his
26875 precious volumes, a dozen of them at least, wedged under his right arm.
26883 \begin_layout Standard
26887 \begin_layout Plain Layout
26899 \begin_inset Note Note
26902 \begin_layout Plain Layout
26903 vuelta al valor predefinido
26911 \begin_layout Subsubsection
26915 \begin_layout Standard
26916 Entre las columnas se dibuja una línea cuya anchura viene dada por
26923 La anchura por omisión es de 0
26924 \begin_inset space \thinspace{}
26927 pt, no se dibuja ninguna línea.
26928 En el siguiente ejemplo la anchura de línea es 2
26929 \begin_inset space \thinspace{}
26935 \begin_layout Standard
26939 \begin_layout Plain Layout
26945 columnseprule}{2pt}
26953 \begin_layout Standard
26956 \begin_inset Flex Multiple Columns
26959 \begin_layout Plain Layout
26963 \begin_inset Quotes eld
26966 You're surprised to see me, sir,
26967 \begin_inset Quotes erd
26970 said he, in a strange, croaking voice.
26973 \begin_layout Plain Layout
26977 I acknowledged that I was.
26980 \begin_layout Plain Layout
26984 \begin_inset Quotes eld
26987 Well, I've a conscience, sir, and when I chanced to see you go into this
26988 house, as I came hobbling after you, I thought to myself, I'll just step
26989 in and see that kind gentleman, and tell him that if I was a bit gruff
26990 in my manner there was not any harm meant, and that I am much obliged to
26991 him for picking up my books.
26992 \begin_inset Quotes erd
26998 \begin_layout Plain Layout
27002 \begin_inset Quotes eld
27005 You make too much of a trifle,
27006 \begin_inset Quotes erd
27011 \begin_inset Quotes eld
27014 May I ask how you knew who I was?
27015 \begin_inset Quotes erd
27021 \begin_layout Plain Layout
27025 \begin_inset Quotes eld
27028 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
27029 you'll find my little bookshop at the corner of Church Street, and very
27030 happy to see you, I am sure.
27031 Maybe you collect yourself, sir.
27035 \begin_inset space ~
27049 \begin_inset space ~
27052 – a bargain, every one of them.
27053 With five volumes you could just fill that gap on that second shelf.
27054 It looks untidy, does it not, sir?
27055 \begin_inset Quotes erd
27066 \begin_layout Standard
27067 \begin_inset VSpace defskip
27073 \begin_layout Standard
27074 La raya se puede colorear redefiniendo el comando
27084 Esto se consigue insertando el comando
27087 \begin_layout LyX-Code
27094 columnseprulecolor}{
27099 \begin_layout LyX-Code
27100 en código \SpecialChar TeX
27101 delante del recuadro columnas.
27102 Se puede poner el color deseado en lugar de red (rojo).
27103 Se puede usar cualquier color predefinido o personalizado.
27116 para más información sobre colores.
27117 Para volver al color por omisión inserta el comando
27120 \begin_layout LyX-Code
27125 columnseprulecolor}{
27130 \begin_layout LyX-Code
27131 Aquí hay un ejemplo con una línea en color cian y 1
27132 \begin_inset space \thinspace{}
27135 cm de separación entre columnas:
27138 \begin_layout Standard
27142 \begin_layout Plain Layout
27151 \begin_layout Plain Layout
27157 columnseprulecolor}{
27167 \begin_layout Standard
27170 \begin_inset Flex Multiple Columns
27173 \begin_layout Plain Layout
27177 \begin_inset Quotes eld
27180 You're surprised to see me, sir,
27181 \begin_inset Quotes erd
27184 said he, in a strange, croaking voice.
27187 \begin_layout Plain Layout
27191 I acknowledged that I was.
27194 \begin_layout Plain Layout
27198 \begin_inset Quotes eld
27201 Well, I've a conscience, sir, and when I chanced to see you go into this
27202 house, as I came hobbling after you, I thought to myself, I'll just step
27203 in and see that kind gentleman, and tell him that if I was a bit gruff
27204 in my manner there was not any harm meant, and that I am much obliged to
27205 him for picking up my books.
27206 \begin_inset Quotes erd
27212 \begin_layout Plain Layout
27216 \begin_inset Quotes eld
27219 You make too much of a trifle,
27220 \begin_inset Quotes erd
27225 \begin_inset Quotes eld
27228 May I ask how you knew who I was?
27229 \begin_inset Quotes erd
27235 \begin_layout Plain Layout
27239 \begin_inset Quotes eld
27242 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
27243 you'll find my little bookshop at the corner of Church Street, and very
27244 happy to see you, I am sure.
27245 Maybe you collect yourself, sir.
27249 \begin_inset space ~
27263 \begin_inset space ~
27266 – a bargain, every one of them.
27267 With five volumes you could just fill that gap on that second shelf.
27268 It looks untidy, does it not, sir?
27269 \begin_inset Quotes erd
27280 \begin_layout Standard
27284 \begin_layout Plain Layout
27290 columnseprule}{0pt}
27293 \begin_layout Plain Layout
27299 columnseprulecolor}{
27307 \begin_inset Note Note
27310 \begin_layout Plain Layout
27311 retornar a los valores por omisión.
27319 \begin_layout Standard
27320 \begin_inset Newpage newpage
27326 \begin_layout Section
27327 Párrafos con formas diversas
27330 \begin_layout Standard
27332 y cualquier procesador de texto usan por omisión párrafos rectangulares.
27333 Para casos especiales como posters, tarjetas o poemas, es posible modifcar
27334 la forma del párrafo.
27335 Esto se puede conseguir mediante el paquete \SpecialChar LaTeX
27340 , que se carga con el módulo
27342 Párrafos conformados
27346 Documento\SpecialChar menuseparator
27347 Configuración\SpecialChar menuseparator
27353 \begin_layout Subsection
27354 Formas predefinidas
27357 \begin_layout Standard
27362 proporciona las siguientes formas:
27365 \begin_layout Standard
27366 \begin_inset Tabular
27367 <lyxtabular version="3" rows="13" columns="3">
27368 <features booktabs="true" islongtable="true" longtabularalignment="center">
27369 <column alignment="center" valignment="middle" width="16col%">
27370 <column alignment="center" valignment="middle" width="40col%">
27371 <column alignment="center" valignment="middle" width="35col%">
27372 <row endhead="true">
27373 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27376 \begin_layout Plain Layout
27382 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27385 \begin_layout Plain Layout
27391 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27394 \begin_layout Plain Layout
27402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27405 \begin_layout Plain Layout
27411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27414 \begin_layout Plain Layout
27415 Círculo con orificio central (tamaño de CD/DVD)
27420 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27423 \begin_layout Plain Layout
27424 No se puede cambiar el tamaño; no debe contener demasiado texto
27431 <cell alignment="center" valignment="top" topline="true" usebox="none">
27434 \begin_layout Plain Layout
27440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27443 \begin_layout Plain Layout
27449 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27452 \begin_layout Plain Layout
27453 Frágil, los cálculos
27456 \begin_layout Plain Layout
27464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27467 \begin_layout Plain Layout
27473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27476 \begin_layout Plain Layout
27477 Romboide (simbolizando
27480 \begin_layout Plain Layout
27482 \begin_inset Quotes cld
27486 \begin_inset Quotes crd
27494 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27497 \begin_layout Plain Layout
27505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27508 \begin_layout Plain Layout
27514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27517 \begin_layout Plain Layout
27523 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27526 \begin_layout Plain Layout
27534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27537 \begin_layout Plain Layout
27543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27546 \begin_layout Plain Layout
27552 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27555 \begin_layout Plain Layout
27563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27566 \begin_layout Plain Layout
27572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27575 \begin_layout Plain Layout
27579 \begin_layout Plain Layout
27580 (hexágono con orificio circular)
27585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27588 \begin_layout Plain Layout
27596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27599 \begin_layout Plain Layout
27605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27608 \begin_layout Plain Layout
27614 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27617 \begin_layout Plain Layout
27625 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27628 \begin_layout Plain Layout
27634 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27637 \begin_layout Plain Layout
27638 Estrella de 5 puntas
27643 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27646 \begin_layout Plain Layout
27654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27657 \begin_layout Plain Layout
27663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27666 \begin_layout Plain Layout
27672 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27675 \begin_layout Plain Layout
27683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27686 \begin_layout Plain Layout
27687 Gota/Gota invertida
27692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27695 \begin_layout Plain Layout
27696 Forma de gota normal/invertida
27701 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27704 \begin_layout Plain Layout
27705 Frágil, los cáculos
27708 \begin_layout Plain Layout
27716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27719 \begin_layout Plain Layout
27726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27729 \begin_layout Plain Layout
27730 Logotipo de \SpecialChar TeX
27736 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27739 \begin_layout Plain Layout
27747 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27750 \begin_layout Plain Layout
27752 \begin_inset Newline newline
27756 \begin_inset Newline newline
27764 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27767 \begin_layout Plain Layout
27768 Triángulos en diferentes orientaciones
27773 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27776 \begin_layout Plain Layout
27790 \begin_layout Standard
27791 Para elegir una determinada forma selecciónala en la lista desplegable de
27792 entornos de \SpecialChar LyX
27793 (primer botón de la barra de herramientas).
27796 \begin_layout Standard
27797 \begin_inset Newpage newpage
27803 \begin_layout Standard
27804 Ejemplo de párrafo con forma de tuerca:
27807 \begin_layout Standard
27808 \begin_inset VSpace bigskip
27815 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27816 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27818 At vero eos et accusam et justo duo dolores et ea rebum.
27819 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
27821 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27822 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27826 \begin_layout Standard
27827 \begin_inset VSpace bigskip
27833 \begin_layout Standard
27834 \begin_inset Note Greyedout
27837 \begin_layout Plain Layout
27842 : los párrafos conformados no pueden saltar de página.
27850 \begin_layout Standard
27851 \begin_inset VSpace bigskip
27857 \begin_layout Standard
27862 preserva siempre la forma independientemente de la cantidad de texto.
27863 Por tanto el tamaño del párrafo cambia en función del texto.
27864 Esto puede provocar desbordamiento de los márgenes.
27865 Para comprobar el efecto de ajuste del tamaño veamos el mismo ejemplo anterior
27866 con el doble de texto:
27869 \begin_layout Standard
27870 \begin_inset Newpage newpage
27877 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27878 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27880 At vero eos et accusam et justo duo dolores et ea rebum.
27881 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
27883 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27884 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27886 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27887 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27889 At vero eos et accusam et justo duo dolores et ea rebum.
27890 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
27892 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27893 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27897 \begin_layout Standard
27898 \begin_inset VSpace bigskip
27904 \begin_layout Standard
27910 No se puede hacer escala porque debe ajustarse al tamaño de un CD/DVD.
27911 Por tanto la cantidad de texto que admite esta forma es limitada.
27912 \begin_inset Newline newline
27923 son frágiles, lo que significa que pueden fallar los cálculos de su tamaño,
27924 según la cantidad de texto.
27925 En esos casos se producirá el error de \SpecialChar LaTeX
27927 \begin_inset Quotes eld
27930 Arithmetic overflow
27931 \begin_inset Quotes erd
27935 Se puede arreglar añadiendo o quitando algo de texto; si no funciona habrá
27936 que elegir otra forma.
27939 \begin_layout Standard
27940 \begin_inset VSpace bigskip
27946 \begin_layout Standard
27947 En formas con puntas, la rutina de división silábica de \SpecialChar LaTeX
27949 Entonces habrá que añadir guiones protegidos
27954 arg "specialchar-insert hyphenation"
27959 ) donde sea necesario.
27962 \begin_layout Standard
27963 \begin_inset VSpace bigskip
27969 \begin_layout Standard
27970 Los párrafos conformados siempre van centrados en la página o ajustados
27971 al margen izquierdo, por tanto no se puede usar la alineación de la configuraci
27973 Una solución es poner el párrafo en una minipágina o en un marco y alinear
27975 En ese caso el problema es saber la anchura adecuada del marco: si es demasiado
27976 ancho y se centra, el párrafo no queda centrado porque se ajusta a la izquierda
27978 De modo que habrá que ir probando un poco para acertar con la anchura correcta.
27979 Aquí tenemos dos párrafos
27983 , el primero no alineado, el segundo a la derecha:
27986 \begin_layout Standard
27987 \begin_inset Newpage newpage
27993 \begin_layout Heart
27995 Lo\SpecialChar softhyphen
27996 rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27997 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27999 At vero eos et accusam et justo duo dolores et ea rebum.
28000 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28004 \begin_layout Standard
28005 \begin_inset VSpace bigskip
28011 \begin_layout Standard
28014 \begin_inset Box Frameless
28024 height_special "totalheight"
28029 backgroundcolor "none"
28032 \begin_layout Heart
28034 Lo\SpecialChar softhyphen
28035 rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28036 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28038 At vero eos et accusam et justo duo dolores et ea rebum.
28039 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28048 \begin_layout Subsection
28049 Formas personalizadas
28052 \begin_layout Standard
28053 Se puede definir cualquier forma.
28054 Hacerlo manualmente lleva mucho trabajo porque debe especificarse cada
28056 Pero hay una forma de que el ordenador haga los cálculos:
28059 \begin_layout Enumerate
28060 Instala el programa
28061 \begin_inset CommandInset href
28064 target "https://www.ctan.org/tex-archive/graphics/jpgfdraw"
28072 \begin_layout Enumerate
28079 TeX/LaTeX\SpecialChar menuseparator
28080 Settings\SpecialChar menuseparator
28083 y selecciona el tamaño de tipografía usado en el documento.
28084 Por ejemplo, este documento usa el tamaño 12
28085 \begin_inset space \thinspace{}
28091 \begin_layout Enumerate
28095 \begin_layout Enumerate
28098 TeX/LaTeX\SpecialChar menuseparator
28101 para exportar la forma a coordenadas.
28102 En el diálogo que surge usa la descripción de la forma para las coordenadas
28107 \begin_layout Plain Layout
28109 \begin_inset CommandInset href
28111 target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
28124 \begin_layout Standard
28125 Las coordenadas se escriben en un archivo \SpecialChar TeX
28127 Para incorporarlo a \SpecialChar LyX
28131 \begin_layout Enumerate
28132 Coloca el cursor delante del primer carácter del párrafo (o en uno nuevo
28136 \begin_layout Enumerate
28137 En \SpecialChar LyX
28140 Insertar\SpecialChar menuseparator
28141 Archivo\SpecialChar menuseparator
28143 \begin_inset space ~
28146 hijo\SpecialChar ldots
28149 , selecciona el archivo y elige
28156 \begin_inset space ~
28160 \begin_inset space ~
28166 \begin_layout Standard
28167 \begin_inset VSpace defskip
28173 \begin_layout Standard
28174 \begin_inset Note Greyedout
28177 \begin_layout Plain Layout
28182 : el cambio de forma sólo se aplica al párrafo actual; todo se restablece
28183 a normal para el párrafo siguiente.
28184 Por tanto la definición de forma debe aplicarse a cada párrafo por separado.
28192 \begin_layout Standard
28193 \begin_inset VSpace bigskip
28199 \begin_layout Standard
28203 \begin_layout Standard
28204 \begin_inset VSpace bigskip
28210 \begin_layout Standard
28211 \begin_inset CommandInset include
28213 filename "../SpecialParagraphShape.tex"
28217 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28218 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28220 At vero eos et accusam et justo duo dolores et ea rebum.
28221 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28223 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28224 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28228 \begin_layout Standard
28229 \begin_inset VSpace bigskip
28235 \begin_layout Standard
28240 para dibujar formas complejas en
28244 puedes dibujar la forma con el programa que quieras e importar la imagen
28250 Después sólo tendrás que dibujar una línea o spline sobre el contorno de
28254 \begin_layout Standard
28255 \begin_inset VSpace bigskip
28261 \begin_layout Standard
28264 Párrafos conformados
28266 proporciona además el
28282 que se pueden usar para definir formas coordenada a coordenada.
28286 \begin_layout Plain Layout
28287 Estos comandos se usan internamente para todas las formas que se han descrito
28293 Para información sobre el uso de estos entornos de estilo y más posibilidades
28294 de personalización echa un vistazo a la
28295 \begin_inset CommandInset href
28297 name "documentación"
28298 target "https://www.ctan.org/tex-archive/macros/latex/contrib/shapepar/shapepar.pdf"