1 #LyX 2.1 created this file. For more info see http://www.lyx.org/
7 % DO NOT ALTER THIS PREAMBLE!!!
9 % This preamble is designed to ensure that the manual prints
10 % out as advertised. If you mess with this preamble,
11 % parts of this document may not print out as expected. If you
12 % have problems LaTeXing this file, please contact
13 % the documentation team
14 % email: lyx-docs@lists.lyx.org
16 \usepackage{ifpdf} % part of the hyperref bundle
17 \ifpdf % if pdflatex is used
19 % set fonts for nicer pdf view
20 \IfFileExists{lmodern.sty}
21 {\usepackage{lmodern}}{}
23 \fi % end if pdflatex is used
25 % the pages of the TOC is numbered roman
26 % and a pdf-bookmark for the TOC is added
27 \let\myTOC\tableofcontents
28 \renewcommand\tableofcontents{%
30 \pdfbookmark[1]{\contentsname}{}
34 % increase link area for cross-references and autoname them,
35 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
36 \addto\extrasspanish{%
37 \renewcommand*{\equationautorefname}[1]{}%
38 \renewcommand{\sectionautorefname}{sec.\negthinspace}%
39 \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
40 \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
43 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
44 \use_default_options false
48 \maintain_unincluded_children false
51 InsetLayout Flex:MenuItem
60 \newcommand*{\menuitem}[1]{{\sffamily #1}}
63 # In case we need to do with sans...
64 #InsetLayout CharStyle:Code
69 #\renewcommand{\code}[1]{{\sffamily #1}}
74 \language_package default
79 \font_typewriter default
81 \font_default_family default
82 \use_non_tex_fonts false
88 \default_output_format default
90 \bibtex_command default
91 \index_command default
95 \pdf_title "Manual Personalización de LyX"
96 \pdf_author "Equipo LyX"
97 \pdf_subject "LyX-documentation Customization"
98 \pdf_keywords "LyX, documentation, customization"
100 \pdf_bookmarksnumbered true
101 \pdf_bookmarksopen true
102 \pdf_bookmarksopenlevel 1
103 \pdf_breaklinks false
107 \pdf_pdfusetitle false
108 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
111 \use_package amsmath 0
112 \use_package amssymb 0
113 \use_package cancel 0
115 \use_package mathdots 1
116 \use_package mathtools 0
117 \use_package mhchem 0
118 \use_package stackrel 0
119 \use_package stmaryrd 0
120 \use_package undertilde 0
122 \cite_engine_type default
126 \paperorientation portrait
141 \paragraph_separation indent
142 \paragraph_indentation default
143 \quotes_language french
146 \paperpagestyle headings
147 \tracking_changes false
148 \output_changes false
157 Personalizar LyX: Características para el usuario avanzado
165 \begin_layout Plain Layout
167 Si tienes correcciones o comentarios, envíalos, por favor, a la lista de
168 correo de Documentación de LyX,
169 \begin_inset CommandInset href
171 target "lyx-docs@lists.lyx.org"
178 \begin_inset Quotes fld
182 \begin_inset Quotes frd
185 en la cabecera de asunto, y envía una cc al actual mantenedor de este documento
186 , Richard Heck <rgheck@comcast.net>.
192 \begin_inset Newline newline
196 \begin_inset Newline newline
202 \begin_layout Standard
203 \begin_inset CommandInset toc
204 LatexCommand tableofcontents
211 \begin_layout Chapter
215 \begin_layout Standard
216 Este manual trata de las características de LyX que pueden ser modificadas
218 En él abordamos temas como atajos de teclado, opciones de vista previa
219 en pantalla, opciones de impresora, envío de comandos mediante LyX Server,
220 internacionalización, instalación de nuevas clases de LaTeX y de formatos
222 Seguro que no podemos aspirar a tratar todo lo que se puede cambiar, —nuestross
223 desarrolladores añaden características nuevas más deprisa de lo que las
224 podemos documentar— pero explicaremos las modificaciones más comunes y
225 y esperamos orientarte en la dirección correcta para algunas más desconocidas.
228 \begin_layout Standard
229 \begin_inset Branch OutDated
232 \begin_layout Standard
233 La rama OutDated contiene información de versiones anteriores de este documento
234 que ahora parece estar obsoleta.
235 Por omisión, esta información no aparece en la salida LaTeX.
243 \begin_layout Chapter
244 Archivos de configuración de LyX
247 \begin_layout Standard
248 Este capítulo tiene por objetivo ayudarte a encontrar tu camino a través
249 de los archivos de configuración de LyX.
250 Antes de seguir leyendo deberías encontrar donde están los directorios
251 de bibliotecas y de usuario, consultando
252 \begin_inset Flex MenuItem
255 \begin_layout Plain Layout
256 Ayuda\SpecialChar \menuseparator
263 El directorio de bibliotecas es el sitio en el que LyX tiene sus archivos
264 de configuración de sistema; el directorio de usuario es donde puedes colocar
265 tus versiones modificadas.
266 En este documento, al primero lo denominaremos
267 \begin_inset Flex Code
270 \begin_layout Plain Layout
277 \begin_inset Flex MenuItem
280 \begin_layout Plain Layout
289 \begin_layout Section
291 \begin_inset Flex Code
294 \begin_layout Plain Layout
303 \begin_layout Standard
304 \begin_inset Flex Code
307 \begin_layout Plain Layout
313 y sus subdirectorios contienen archivos que pueden emplearse para personalizar
314 el comportamiento de LyX.
315 Puedes cambiar muchos de ellos desde dentro mismo de LyX mediante el diálogo
317 \begin_inset Flex MenuItem
320 \begin_layout Plain Layout
321 Herramientas\SpecialChar \menuseparator
328 La mayor parte de las adaptaciones personales que querrás hacer en LyX
329 se puede hacer en este diálogo.
330 Sin embargo, muchos otros aspectos internos de LyX pueden cambiarse modificando
332 \begin_inset Flex Code
335 \begin_layout Plain Layout
342 Estos archivos pertenecen a diversas categorías, descritas en las siguientes
346 \begin_layout Subsection
347 Archivos generados automáticamente
350 \begin_layout Standard
351 Los archivos que se encuentran en
352 \begin_inset Flex MenuItem
355 \begin_layout Plain Layout
361 se generan al configurar LyX.
362 Contienen varios valores predeterminados que se obtienen por inspección.
363 En general, no es buena idea modificarlos, puesto que podrían ser sobrescritos
364 en cualquier momento.
367 \begin_layout Labeling
368 \labelwidthstring 00.00.0000
369 \begin_inset Flex Code
372 \begin_layout Plain Layout
378 contiene valores predeterminados para varioscomandos.
381 \begin_layout Labeling
382 \labelwidthstring 00.00.0000
383 \begin_inset Flex Code
386 \begin_layout Plain Layout
392 contiene la lista de paquetes que han sido reconocidos por LyX.
393 No es utilizada por el propio LyX, pero la información extraida, y otras
394 cosas están disponibles en
395 \begin_inset Flex MenuItem
398 \begin_layout Plain Layout
399 Ayuda\SpecialChar \menuseparator
400 Configuración de LaTeX
408 \begin_layout Labeling
409 \labelwidthstring 00.00.0000
410 \begin_inset Flex Code
413 \begin_layout Plain Layout
419 la lista de clases de textos encontradas en los directorios
420 \begin_inset Flex Code
423 \begin_layout Plain Layout
429 , junto con las clases de documentos LaTeX y su descripción.
432 \begin_layout Labeling
433 \labelwidthstring 00.00.0000
434 \begin_inset Flex Code
437 \begin_layout Plain Layout
443 la lista de módulos de formato encontradas en los directorios
444 \begin_inset Flex Code
447 \begin_layout Plain Layout
456 \begin_layout Labeling
457 \labelwidthstring 00.00.0000
458 \begin_inset Flex Code
461 \begin_layout Plain Layout
467 lista de varios tipos de archivos relacionados con LaTeX encontrados en
471 \begin_layout Labeling
472 \labelwidthstring 00.00.0000
473 \begin_inset Flex Code
476 \begin_layout Plain Layout
482 es generado automáticamente durante la configuración a partir del archivo
484 \begin_inset Flex Code
487 \begin_layout Plain Layout
494 Contiene información sobre la configuración de LaTeX.
497 \begin_layout Subsection
501 \begin_layout Standard
502 Estos directorios están duplicados en
503 \begin_inset Flex Code
506 \begin_layout Plain Layout
513 \begin_inset Flex Code
516 \begin_layout Plain Layout
523 Si determinado archivo existe en ambos sitios, se usará el de
524 \begin_inset Flex Code
527 \begin_layout Plain Layout
536 \begin_layout Labeling
537 \labelwidthstring 00.00.0000
538 \begin_inset Flex Code
541 \begin_layout Plain Layout
547 este directorio contiene archivos con la extensión
548 \begin_inset Flex Code
551 \begin_layout Plain Layout
557 que definen las combinaciones de teclas usadas en LyX.
558 Si ahí existe una versión nacional de un archivo bind llamado
559 \begin_inset Flex Code
562 \begin_layout Plain Layout
568 , ésta se usará en primer lugar.
571 \begin_layout Labeling
572 \labelwidthstring 00.00.0000
573 \begin_inset Flex Code
576 \begin_layout Plain Layout
582 contiene archivos gráficos que pueden ser incluidos en documentos.
586 \begin_layout Labeling
587 \labelwidthstring 00.00.0000
588 \begin_inset Flex Code
591 \begin_layout Plain Layout
597 contiene archivos de documentación de LyX (incluido éste que estás leyendo).
599 \begin_inset Flex Code
602 \begin_layout Plain Layout
608 merece atención especial, como se mencionó antes.
609 Si existe una versión nacional del documento de ayuda en el subdirectorio
611 \begin_inset Flex Code
614 \begin_layout Plain Layout
620 , éste se usará en primer lugar.
622 \begin_inset CommandInset ref
624 reference "cap:Internacionalización-de-LyX"
631 \begin_layout Labeling
632 \labelwidthstring 00.00.0000
633 \begin_inset Flex Code
636 \begin_layout Plain Layout
642 contiene archivos de ejemplo que describen el uso de algunas características.
643 Se puede acceder a ellos con el botón
644 \begin_inset Flex MenuItem
647 \begin_layout Plain Layout
653 en el buscador de archivos.
656 \begin_layout Labeling
657 \labelwidthstring 00.00.0000
658 \begin_inset Flex Code
661 \begin_layout Plain Layout
667 contiene archivos de imagen que se usan en el diálogo
668 \begin_inset Flex MenuItem
671 \begin_layout Plain Layout
672 Documento\SpecialChar \menuseparator
679 Contiene además los iconos de las barras de herramientas y las enseñas
680 de LyX mostradas en su inicio.
683 \begin_layout Labeling
684 \labelwidthstring 00.00.0000
685 \begin_inset Flex Code
688 \begin_layout Plain Layout
694 contiene archivos de mapas de teclado.
696 \begin_inset CommandInset ref
698 reference "sec:keymap"
705 \begin_layout Labeling
706 \labelwidthstring 00.00.0000
707 \begin_inset Flex Code
710 \begin_layout Plain Layout
716 contiene las clases de textos y los archivos de los módulos descritos en
718 \begin_inset CommandInset ref
720 reference "cap:Instalación-de-nuevas"
727 \begin_layout Labeling
728 \labelwidthstring 00.00.0000
729 \begin_inset Flex Code
732 \begin_layout Plain Layout
738 contiene los guiones de Python
739 \begin_inset Flex Code
742 \begin_layout Plain Layout
748 para convertir entre versiones de LyX.
749 Pueden ejecutarse en línea de comandos si, digamos, quieres convertir ficheros
753 \begin_layout Labeling
754 \labelwidthstring 00.00.0000
755 \begin_inset Flex Code
758 \begin_layout Plain Layout
764 contiene algunos archivos que demuestran las capacidades de la característica
766 \begin_inset Flex MenuItem
769 \begin_layout Plain Layout
776 También contiene algunos guiones usados por el propio LyX.
779 \begin_layout Labeling
780 \labelwidthstring 00.00.0000
781 \begin_inset Flex Code
784 \begin_layout Plain Layout
790 contiene los archivos de plantillas estándar de LyX descritas en
791 \begin_inset CommandInset ref
793 reference "sub:Creación-de-plantillas"
800 \begin_layout Labeling
801 \labelwidthstring 00.00.0000
802 \begin_inset Flex Code
805 \begin_layout Plain Layout
811 contiene archivos con la extensión
812 \begin_inset Flex Code
815 \begin_layout Plain Layout
821 que definen la interfaz de usuario de LyX.
822 Esto es, archivos que definen qué ítems aparecen en qué menús y barras
826 \begin_layout Subsection
827 Archivos que no necesitan modificaciones
830 \begin_layout Standard
831 Estos archivos son utilizados internamente por LyX y generalmente no deben
832 ser modificados sino por los desarrolladores.
835 \begin_layout Labeling
836 \labelwidthstring 00.00.0000
837 \begin_inset Flex Code
840 \begin_layout Plain Layout
846 contiene la lista de desarrolladores de LyX.
847 Se muestra con el menú
848 \begin_inset Flex MenuItem
851 \begin_layout Plain Layout
852 Ayuda\SpecialChar \menuseparator
861 \begin_layout Labeling
862 \labelwidthstring 00.00.0000
863 \begin_inset Flex Code
866 \begin_layout Plain Layout
872 es un guión de LaTeX usado durante el proceso de configuración.
873 No lo ejecutes directamente.
876 \begin_layout Labeling
877 \labelwidthstring 00.00.0000
878 \begin_inset Flex Code
881 \begin_layout Plain Layout
887 es el guión utilizado para la reconfiguración de LyX.
888 Genera los archivos de configuración en el directorio desde el que se ha
892 \begin_layout Subsection
893 Otros archivos en un par de líneas
896 \begin_layout Labeling
897 \labelwidthstring 00.00.0000
898 \begin_inset Flex Code
901 \begin_layout Plain Layout
907 contiene tablas que describen cómo los distintos códigos de caracteres
908 se transcriben a Unicode.
911 \begin_layout Labeling
912 \labelwidthstring 00.00.0000
913 \begin_inset Flex Code
916 \begin_layout Plain Layout
922 contiene las plantillas disponibles para la característica
923 \begin_inset Flex MenuItem
926 \begin_layout Plain Layout
933 \begin_inset CommandInset ref
935 reference "chap:Inserción-de-material"
942 \begin_layout Labeling
943 \labelwidthstring 00.00.0000
944 \begin_inset Flex Code
947 \begin_layout Plain Layout
953 contiene una lista de los idiomas actualmente soportados por LyX.
956 \begin_layout Labeling
957 \labelwidthstring 00.00.0000
958 \begin_inset Flex Code
961 \begin_layout Plain Layout
969 contains information about the supported fonts.
972 \begin_layout Labeling
973 \labelwidthstring 00.00.0000
974 \begin_inset Flex Code
977 \begin_layout Plain Layout
985 this file contains translations for internationalized paragraph styles
988 \begin_inset CommandInset ref
997 \begin_layout Labeling
998 \labelwidthstring 00.00.0000
999 \begin_inset Flex Code
1002 \begin_layout Plain Layout
1010 this file contains information about unicode-encoded glyphs and the way
1011 they are supported by LyX via LaTeX.
1014 \begin_layout Section
1015 Directorio de configuración personal
1018 \begin_layout Standard
1019 Aunque uses LyX como usuario sin privilegios, puedes adaptar su configuración
1022 \begin_inset Flex Code
1025 \begin_layout Plain Layout
1031 contiene todos los archivos de configuración personal.
1032 Es el directorio especificado como
1033 \begin_inset Quotes fld
1036 Directorio del usuario
1037 \begin_inset Quotes frd
1041 \begin_inset Flex MenuItem
1044 \begin_layout Plain Layout
1045 Ayuda\SpecialChar \menuseparator
1052 Este directorio se usa como espejo de
1053 \begin_inset Flex Code
1056 \begin_layout Plain Layout
1062 , que quiere decir que cada archivo en
1063 \begin_inset Flex Code
1066 \begin_layout Plain Layout
1072 es un equivalente del correspondiente archivo en
1073 \begin_inset Flex Code
1076 \begin_layout Plain Layout
1083 Cualquiera de los archivos de configuración descritos en las secciones
1084 anteriores puede estar en el directorio global del sistema, en cuyo caso
1085 afectará a todos los usuarios, y en tu directorio local para tu propio
1089 \begin_layout Standard
1090 Para clarificar las cosas vamos a poner unos ejemplos:
1093 \begin_layout Itemize
1094 Las preferencias establecidas en el diálogo
1095 \begin_inset Flex MenuItem
1098 \begin_layout Plain Layout
1099 Herramientas\SpecialChar \menuseparator
1105 se guardan en un archivo
1106 \begin_inset Flex Code
1109 \begin_layout Plain Layout
1116 \begin_inset Flex Code
1119 \begin_layout Plain Layout
1128 \begin_layout Itemize
1129 Si reconfiguras mediante
1130 \begin_inset Flex MenuItem
1133 \begin_layout Plain Layout
1134 Herramientas\SpecialChar \menuseparator
1140 , LyX ejecuta el guión
1141 \begin_inset Newline linebreak
1145 \begin_inset Flex Code
1148 \begin_layout Plain Layout
1154 , y los archivos resultantes se escriben en tu directorio de usuario.
1155 Esto significa que cualquier archivo adicional de clase de texto que pudieras
1157 \begin_inset Flex Code
1160 \begin_layout Plain Layout
1166 se sumará a la lista de clases en el diálogo
1167 \begin_inset Flex MenuItem
1170 \begin_layout Plain Layout
1171 Documento\SpecialChar \menuseparator
1180 \begin_layout Itemize
1181 Si consigues alguna documentación actualizada del sitio de LyX y no puedes
1182 instalarla porque no tienes permisos para administrar tu sistema, solo
1183 has de copiar los archivos en
1184 \begin_inset Flex Code
1187 \begin_layout Plain Layout
1193 ¡y las entradas del menú
1194 \begin_inset Flex MenuItem
1197 \begin_layout Plain Layout
1206 \begin_layout Section
1207 Ejecutar LyX con múltiples configuraciones
1210 \begin_layout Standard
1211 La libertad de configuración del directorio local puede no ser suficiente
1212 si quieres tener a tu disposición más de una configuración.
1213 Por ejemplo, si quisieras usar diferentes combinaciones de teclas o configuraci
1214 ones de impresora en distintos momentos.
1215 Esto lo puedes conseguir teniendo varios de estos directorios.
1216 Después especificas qué directorio usar al arrancar.
1219 \begin_layout Standard
1220 Ejecutando LyX con la opción de línea de comandos
1221 \begin_inset Flex Code
1224 \begin_layout Plain Layout
1234 hace que el programa lea la configuración de ese directorio y no del predetermi
1236 (Puedes determinar el directorio predeterminado ejecutando LyX sin la opción
1238 \begin_inset Flex Code
1241 \begin_layout Plain Layout
1248 Si el directorio especificado no existe, LyX propone su creación, tal como
1249 hace con el directorio predeterminado la primera vez que se ejecuta el
1251 Puedes modificar las opciones de configuración en ese directorio personal
1252 adicional exactamente igual que para el directorio predeterminado.
1253 Estos directorios son completamente independientes (pero sigue leyendo).
1254 Ten presente que establecer algún valor para la variable de entorno
1255 \begin_inset Flex Code
1258 \begin_layout Plain Layout
1264 tiene exactamente el mismo efecto.
1267 \begin_layout Standard
1268 Tener varias configuraciones también requiere más mantenimiento: si quieres
1269 añadir un nuevo formato a
1270 \begin_inset Flex Code
1273 \begin_layout Plain Layout
1279 que esté disponible en todas tus configuraciones, debes añadirlo a cada
1280 directorio por separado.
1281 Puedes evitarlo con el siguiente truco: después de que LyX crea un directorio
1282 adicional, la mayoría de los subdirectorios (véase arriba) están vacíos.
1283 Si quieres que la nueva configuración sea una réplica de una existente,
1284 reemplaza el subdirectorio vacío con un enlace simbólico que apunte al
1285 subdirectorio deseado.
1286 Ten precaución, no obstante, con el subdirectorio
1287 \begin_inset Flex Code
1290 \begin_layout Plain Layout
1296 , puesto que contiene un archivo escrito por el guión de configuración (también
1298 \begin_inset Flex MenuItem
1301 \begin_layout Plain Layout
1302 Herramientas\SpecialChar \menuseparator
1308 ) que es específico de la configuración.
1311 \begin_layout Chapter
1312 El diálogo Preferencias
1315 \begin_layout Standard
1316 Todas las opciones del diálogo de preferencias se describen en el apéndice
1330 Ahí encontrarás más detalles sobre algunas opciones.
1333 \begin_layout Section
1335 \begin_inset CommandInset label
1344 \begin_layout Standard
1345 El primer paso es definir tus propios formatos de archivo si no lo están
1347 Para hacerlo abre el diálogo
1348 \begin_inset Flex MenuItem
1351 \begin_layout Plain Layout
1352 Herramientas\SpecialChar \menuseparator
1360 \begin_inset Flex MenuItem
1363 \begin_layout Plain Layout
1364 Gestión de archivos\SpecialChar \menuseparator
1371 \begin_inset Flex MenuItem
1374 \begin_layout Plain Layout
1375 Nuevo\SpecialChar \ldots{}
1381 para definir el nuevo formato.
1383 \begin_inset Flex MenuItem
1386 \begin_layout Plain Layout
1392 es para el nombre que identificará el formato en la GUI (interfaz gráfica
1395 \begin_inset Flex MenuItem
1398 \begin_layout Plain Layout
1404 se usa para identificar el formato internamente.
1405 Además deberás introducir una extensión de archivo.
1406 Todos estos son imprescindibles.
1408 \begin_inset Flex MenuItem
1411 \begin_layout Plain Layout
1417 sirve para asociar una combinación de teclas en los menús.
1418 (Por ejemplo, teclear
1419 \begin_inset Flex MenuItem
1422 \begin_layout Plain Layout
1429 \begin_inset Flex MenuItem
1432 \begin_layout Plain Layout
1433 Ver\SpecialChar \menuseparator
1441 \begin_inset Flex MenuItem
1444 \begin_layout Plain Layout
1453 \begin_layout Standard
1454 Un Formato puede tener un
1455 \begin_inset Flex MenuItem
1458 \begin_layout Plain Layout
1465 \begin_inset Flex MenuItem
1468 \begin_layout Plain Layout
1475 Por ejemplo, podrías usar
1476 \begin_inset Flex MenuItem
1479 \begin_layout Plain Layout
1485 para ver archivos PostScript.
1486 Puedes introducir el comando para iniciar el programa en el campo correspondien
1488 Al definir este comando puedes usar las cuatro variables listadas en la
1490 El visor se lanza cuando ves una imagen en LyX o usas el menú
1491 \begin_inset Flex MenuItem
1494 \begin_layout Plain Layout
1501 El editor se lanza cuando pulsas el botón
1502 \begin_inset Flex MenuItem
1505 \begin_layout Plain Layout
1511 que se muestra al hacer clic derecho en un gráfico o en un material externo,
1515 \begin_layout Standard
1521 \begin_inset Flex MenuItem
1524 \begin_layout Plain Layout
1532 type of a format is optional, but if it is specified, it must be unique
1534 It is used to detect files of this format from the file contents.
1535 For some important file formats there is no MIME type officially registered
1539 \begin_inset CommandInset href
1542 target "http://www.iana.org/assignments/media-types/"
1549 Therefore LyX uses the extended list of MIME types as specified by
1552 \begin_inset CommandInset href
1554 name "freedesktop.org"
1555 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1562 \begin_layout Standard
1564 \begin_inset Flex MenuItem
1567 \begin_layout Plain Layout
1568 Formato de documento
1573 indica a LyX que ese formato es adecuado para exportar.
1574 Si esto está marcado y existe una ruta de conversión adecuada (véase
1575 \begin_inset CommandInset ref
1577 reference "sec:Convertidores"
1581 ), el formato aparecerá en el menú
1582 \begin_inset Flex MenuItem
1585 \begin_layout Plain Layout
1586 Archivo\SpecialChar \menuseparator
1593 También aparecerá en el menú
1594 \begin_inset Flex MenuItem
1597 \begin_layout Plain Layout
1603 si se ha especificado un visor para ese formato.
1604 Los formatos puros de imagen, como
1605 \begin_inset Flex Code
1608 \begin_layout Plain Layout
1614 , no deberían usar esta opción.
1615 Los formatos que pueden corresponder tanto a gráficos vectoriales como
1617 \begin_inset Flex Code
1620 \begin_layout Plain Layout
1626 , sí deberían usarla.
1629 \begin_layout Standard
1631 \begin_inset Flex MenuItem
1634 \begin_layout Plain Layout
1635 Formato de gráfico vectorial
1640 indica a LyX que el formato puede contener gráficos vectoriales.
1641 Esta información se emplea para determinar el formato objetivo de los gráficos
1642 incluidos para la exportación
1643 \begin_inset Flex MenuItem
1646 \begin_layout Plain Layout
1653 Los gráficos incluidos pueden requerir conversión a
1654 \begin_inset Flex MenuItem
1657 \begin_layout Plain Layout
1664 \begin_inset Flex MenuItem
1667 \begin_layout Plain Layout
1674 \begin_inset Flex MenuItem
1677 \begin_layout Plain Layout
1684 \begin_inset Flex MenuItem
1687 \begin_layout Plain Layout
1693 no puede manejar otros formatos de imagen.
1694 Si un archivo incluido no está ya en formato
1695 \begin_inset Flex MenuItem
1698 \begin_layout Plain Layout
1705 \begin_inset Flex MenuItem
1708 \begin_layout Plain Layout
1715 \begin_inset Flex MenuItem
1718 \begin_layout Plain Layout
1725 \begin_inset Flex MenuItem
1728 \begin_layout Plain Layout
1734 si la opción de formato vectorial está marcada, y si no a
1735 \begin_inset Flex MenuItem
1738 \begin_layout Plain Layout
1748 \begin_layout Section
1752 \begin_layout Standard
1753 Puesto que todas las conversiones de un formato a otro tienen lugar en el
1754 archivo temporal de LyX, a veces es necesario modificar un archivo antes
1755 de copiarlo en el directorio temporal para que la conversión se pueda realizar.
1759 \begin_layout Plain Layout
1760 Por ejemplo, el archivo puede hacer referencia a otros archivos —imágenes,
1761 por ejemplo— mediante nombres de archivo relativos, y estos pueden resultar
1762 inválidos cuando el archivo se copia en el directorio temporal.
1767 Esto lo hace un Copiador: copia un archivo a (o desde) el directorio temporal
1768 y puede modificarlo en el proceso.
1771 \begin_layout Standard
1772 Las definiciones de los copiadores pueden usar cuatro variables:
1775 \begin_layout Labeling
1776 \labelwidthstring 00.00.0000
1777 \begin_inset Flex Code
1780 \begin_layout Plain Layout
1786 El directorio de sistema de LyX (p.
1787 \begin_inset space \thinspace{}
1791 \begin_inset space \space{}
1795 \begin_inset Flex MenuItem
1798 \begin_layout Plain Layout
1807 \begin_layout Labeling
1808 \labelwidthstring 00.00.0000
1809 \begin_inset Flex Code
1812 \begin_layout Plain Layout
1818 El archivo de entrada
1821 \begin_layout Labeling
1822 \labelwidthstring 00.00.0000
1823 \begin_inset Flex Code
1826 \begin_layout Plain Layout
1832 El archivo de salida
1835 \begin_layout Labeling
1836 \labelwidthstring 00.00.0000
1837 \begin_inset Flex Code
1840 \begin_layout Plain Layout
1848 The base name (without filename extension) in the LyX temporary directory
1851 \begin_layout Labeling
1852 \labelwidthstring 00.00.0000
1853 \begin_inset Flex Code
1856 \begin_layout Plain Layout
1864 The full directory path of the LyX temporary directory
1867 \begin_layout Labeling
1868 \labelwidthstring 00.00.0000
1869 \begin_inset Flex Code
1872 \begin_layout Plain Layout
1880 The full pathname to the original LyX file being processed
1883 \begin_layout Labeling
1884 \labelwidthstring 00.00.0000
1885 \begin_inset Flex Code
1888 \begin_layout Plain Layout
1896 The filename (without any directory path) of the LyX file.
1899 \begin_layout Labeling
1900 \labelwidthstring 00.00.0000
1901 \begin_inset Flex Code
1904 \begin_layout Plain Layout
1913 \begin_layout Standard
1914 El último debería ser el nombre de archivo tal como debería ponerse en un
1922 Solo es pertinente cuando se exportan archivos adecuados para esa inclusión.
1925 \begin_layout Standard
1926 Los copiadores pueden emplearse para hacer casi cualquier cosa con archivos
1928 Por ejemplo, supongamos que quieres copiar archivos
1929 \begin_inset Flex MenuItem
1932 \begin_layout Plain Layout
1938 generados a un directorio especial,
1939 \begin_inset Flex Code
1942 \begin_layout Plain Layout
1949 En ese caso deberías escribir un guión para intérprete de comandos tal
1953 \begin_layout Standard
1954 \begin_inset listings
1958 \begin_layout Plain Layout
1963 \begin_layout Plain Layout
1968 \begin_layout Plain Layout
1970 TOFILE=`basename $2`
1973 \begin_layout Plain Layout
1975 cp $FROMFILE /home/you/pdf/$TOFILE
1980 Guárdalo en tu directorio local, —
1981 \begin_inset Flex Code
1984 \begin_layout Plain Layout
1985 /home/you/.lyx/scripts/pdfcopier.sh
1990 , supongamos— y hazlo ejecutable si ello es necesario en tu sistema.
1991 Después, en el diálogo
1992 \begin_inset Flex MenuItem
1995 \begin_layout Plain Layout
1996 Herramientas\SpecialChar \menuseparator
2003 \begin_inset Flex MenuItem
2006 \begin_layout Plain Layout
2007 Gestión de archivos\SpecialChar \menuseparator
2013 , selecciona el formato
2014 \begin_inset Flex MenuItem
2017 \begin_layout Plain Layout
2023 —u otro de los formatos pdf— e introduce
2024 \begin_inset Flex Code
2027 \begin_layout Plain Layout
2028 pdfcopier.sh $$i $$o
2034 \begin_inset Flex MenuItem
2037 \begin_layout Plain Layout
2046 \begin_layout Standard
2047 LyX usa los copiadores en varias de sus propias conversiones.
2048 Por ejemplo, si se encuentran los programas apropiados, LyX instalará copiadore
2050 \begin_inset Flex MenuItem
2053 \begin_layout Plain Layout
2060 \begin_inset Flex MenuItem
2063 \begin_layout Plain Layout
2065 \begin_inset space ~
2074 Cuando se exporta a estos formatos, el copiador se encarga de que se copien
2075 no solo el archivo HTML principal, sino también los diversos archivos asociados
2076 (estilos, imágenes, etc).
2077 Todos estos archivos se escriben en un subdirectorio del directorio en
2078 el que se encuentre el archivo original de LyX.
2082 \begin_layout Plain Layout
2083 Este copiador puede adaptarse.
2084 El argumento opcional
2085 \begin_inset Quotes fld
2089 \begin_inset Quotes frd
2092 acepta una lista, separada por comas, con las extensiones que deben copiarse;
2093 si se omite se copiarán todos los archivos.
2095 \begin_inset Quotes fld
2099 \begin_inset Quotes frd
2102 determina la extensión añadida al directorio generado.
2104 \begin_inset Quotes fld
2108 \begin_inset Flex MenuItem
2111 \begin_layout Plain Layout
2118 \begin_inset Quotes frd
2121 , así, el HTML generado a partir de
2122 \begin_inset Flex MenuItem
2125 \begin_layout Plain Layout
2132 \begin_inset Flex MenuItem
2135 \begin_layout Plain Layout
2136 /ruta/a/archivo.html.LyXconv
2149 \begin_layout Section
2151 \begin_inset CommandInset label
2153 name "sec:Convertidores"
2160 \begin_layout Standard
2161 Puedes definir tus propios convertidores para convertir archivos entre distintos
2163 Se hace en el diálogo
2164 \begin_inset Flex MenuItem
2167 \begin_layout Plain Layout
2168 Herramientas\SpecialChar \menuseparator
2169 Preferencias\SpecialChar \menuseparator
2170 Gestión de archivos\SpecialChar \menuseparator
2179 \begin_layout Standard
2180 Para definir un nuevo convertidor de un formato a otro, selecciónalos en
2181 las listas desplegables
2182 \begin_inset Flex MenuItem
2185 \begin_layout Plain Layout
2187 \begin_inset space ~
2196 \begin_inset Flex MenuItem
2199 \begin_layout Plain Layout
2201 \begin_inset space ~
2209 , introduce el comando necesario para la conversión y después pulsa el botón
2211 \begin_inset Flex MenuItem
2214 \begin_layout Plain Layout
2221 En la definición de convertidores se pueden usar distintas variables:
2224 \begin_layout Labeling
2225 \labelwidthstring 00.00.0000
2226 \begin_inset Flex Code
2229 \begin_layout Plain Layout
2235 El directorio de sistema de LyX
2238 \begin_layout Labeling
2239 \labelwidthstring 00.00.0000
2240 \begin_inset Flex Code
2243 \begin_layout Plain Layout
2249 El archivo de entrada
2252 \begin_layout Labeling
2253 \labelwidthstring 00.00.0000
2254 \begin_inset Flex Code
2257 \begin_layout Plain Layout
2263 El archivo de salida
2266 \begin_layout Labeling
2267 \labelwidthstring 00.00.0000
2268 \begin_inset Flex Code
2271 \begin_layout Plain Layout
2277 El nombre del archivo base del archivo de entrada (sin la extensión)
2280 \begin_layout Labeling
2281 \labelwidthstring 00.00.0000
2282 \begin_inset Flex Code
2285 \begin_layout Plain Layout
2291 La ruta al archivo de entrada
2294 \begin_layout Labeling
2295 \labelwidthstring 00.00.0000
2296 \begin_inset Flex Code
2299 \begin_layout Plain Layout
2305 La ruta al archivo de entrada original (esto es diferente de $$p cuando
2306 se invoca una cadena de convertidores).
2309 \begin_layout Labeling
2310 \labelwidthstring 00.00.0000
2311 \begin_inset Flex Code
2314 \begin_layout Plain Layout
2320 El nombre iconv para la codificación del documento.
2323 \begin_layout Standard
2325 \begin_inset Flex MenuItem
2328 \begin_layout Plain Layout
2334 puedes introducir los siguientes, separados por comas:
2337 \begin_layout Labeling
2338 \labelwidthstring 00.00.0000
2339 \begin_inset Flex Code
2342 \begin_layout Plain Layout
2348 Este convertidor ejecuta alguna forma de LaTeX.
2349 Hará estar disponibles los registros de errores LaTeX de LyX
2352 \begin_layout Labeling
2353 \labelwidthstring 00.00.0000
2354 \begin_inset Flex Code
2357 \begin_layout Plain Layout
2363 Necesita el archivo LaTeX
2364 \begin_inset Flex MenuItem
2367 \begin_layout Plain Layout
2376 \begin_layout Labeling
2377 \labelwidthstring 00.00.0000
2378 \begin_inset Flex Code
2381 \begin_layout Plain Layout
2390 \begin_inset Quotes fld
2394 \begin_inset Quotes frd
2397 file from the backend, which in practice means a LaTeX file like the one
2398 we would export, without
2399 \begin_inset Flex Code
2402 \begin_layout Plain Layout
2413 \begin_layout Labeling
2414 \labelwidthstring 00.00.0000
2415 \begin_inset Flex Code
2418 \begin_layout Plain Layout
2427 \begin_layout Standard
2428 Las tres siguientes no son realmente opciones porque aceptan un argumento
2430 \begin_inset Flex MenuItem
2433 \begin_layout Plain Layout
2435 \begin_inset space ~
2439 \begin_inset space ~
2450 \begin_layout Labeling
2451 \labelwidthstring 00.00.0000
2452 \begin_inset Flex Code
2455 \begin_layout Plain Layout
2461 Si se pone, el error estándar del convertidor se redirecciona a un archivo
2463 \begin_inset Flex Code
2466 \begin_layout Plain Layout
2472 , y el guión dado como argumento se ejecutará como:
2473 \begin_inset Flex Code
2476 \begin_layout Plain Layout
2477 script <infile.out >infile.log
2483 El argumento puede contener
2484 \begin_inset Flex Code
2487 \begin_layout Plain Layout
2496 \begin_layout Labeling
2497 \labelwidthstring 00.00.0000
2498 \begin_inset Flex Code
2501 \begin_layout Plain Layout
2507 El nombre del directorio en el que el convertidor descargará los archivos
2509 LyX no creará ese directorio y no copia nada en él, aunque copiará este
2510 directorio al destino.
2511 El argumento puede contener
2512 \begin_inset Flex Code
2515 \begin_layout Plain Layout
2521 , que será reemplazado por el nombre base de los archivos de entrada y de
2522 salida, respectivamente, cuando se copia el directorio.
2523 \begin_inset Newline newline
2526 Ten en cuenta que resultdir y usetempdir no tienen sentido juntos.
2527 El último será ignorado si se da el primero.
2530 \begin_layout Labeling
2531 \labelwidthstring 00.00.0000
2532 \begin_inset Flex Code
2535 \begin_layout Plain Layout
2541 Determina el nombre del archivo de salida y puede contener
2542 \begin_inset Flex Code
2545 \begin_layout Plain Layout
2552 Solo es sensible con
2553 \begin_inset Flex Code
2556 \begin_layout Plain Layout
2562 y además es opcional; si no se da, por omisión es `index'.
2565 \begin_layout Standard
2566 Ninguno de estos tres últimos se usan actualmente en ninguno de los convertidore
2567 s que son instalados por LyX.
2570 \begin_layout Standard
2571 No tienes que definir convertidores entre todos los formatos que quieras
2573 Por ejemplo, observarás que no hay convertidor `LyX a PostScript', sin
2574 embargo LyX exporta a PostScript.
2575 Lo hace creando primero un archivo LaTeX (no es necesario un convertidor
2576 para esto), que luego es convertido a DVI mediante el convertidor `LaTeX
2577 a DVI', y por último convierte el archivo DVI resultante a PostScript.
2578 LyX encuentra automáticamente estas 'cadenas' de convertidores y siempre
2579 escogerá la cadena más corta posible.
2580 Sin embargo, aún puedes definir múltiples métodos de conversión entre formatos.
2581 Por ejemplo, la configuración estándar de LyX provee cinco caminos para
2582 convertir LaTeX a PDF:
2585 \begin_layout Enumerate
2586 directamente, usando
2587 \begin_inset Flex MenuItem
2590 \begin_layout Plain Layout
2599 \begin_layout Enumerate
2600 mediante (DVI y) PostScript, usando
2601 \begin_inset Flex MenuItem
2604 \begin_layout Plain Layout
2613 \begin_layout Enumerate
2614 mediante DVI, usando
2615 \begin_inset Flex MenuItem
2618 \begin_layout Plain Layout
2627 \begin_layout Enumerate
2628 directamente, usando
2633 \begin_inset Flex MenuItem
2636 \begin_layout Plain Layout
2645 \begin_layout Enumerate
2646 directamente, usando
2647 \begin_inset Flex MenuItem
2650 \begin_layout Plain Layout
2659 \begin_layout Standard
2660 Para construir estas cadenas alternativas tienes que definir múltiples 'formatos
2661 de archivo' objetivo, como se describe en la sección
2662 \begin_inset space ~
2666 \begin_inset CommandInset ref
2668 reference "sec:Formatos"
2673 Por ejemplo, en la configuración estándar, se definen los formatos llamados
2675 \begin_inset Flex MenuItem
2678 \begin_layout Plain Layout
2689 \begin_inset Flex MenuItem
2692 \begin_layout Plain Layout
2699 \begin_inset Flex MenuItem
2702 \begin_layout Plain Layout
2713 \begin_inset Flex MenuItem
2716 \begin_layout Plain Layout
2723 \begin_inset Flex MenuItem
2726 \begin_layout Plain Layout
2737 \begin_inset Flex MenuItem
2740 \begin_layout Plain Layout
2747 \begin_inset Flex MenuItem
2750 \begin_layout Plain Layout
2761 \begin_inset Flex MenuItem
2764 \begin_layout Plain Layout
2771 \begin_inset Flex MenuItem
2774 \begin_layout Plain Layout
2785 \begin_inset Flex MenuItem
2788 \begin_layout Plain Layout
2794 ), todos ellos compartiendo la extensión
2795 \begin_inset Flex MenuItem
2798 \begin_layout Plain Layout
2804 , y que corresponden a los métodos de conversión antes mencionados.
2807 \begin_layout Chapter
2808 Internacionalización de LyX
2809 \begin_inset CommandInset label
2811 name "cap:Internacionalización-de-LyX"
2818 \begin_layout Standard
2819 LyX soporta el uso de una interfaz traducida.
2820 La última vez que lo comprobamos, LyX suministraba textos en treinta idiomas.
2821 El idioma elegido se denomina
2826 (Para lecciones adicionales sobre configuración de idiomas, véase también
2828 \begin_inset Quotes fld
2832 \begin_inset Quotes frd
2835 del sistema operativo.
2836 En Linux, la página de manual de
2837 \begin_inset Flex Code
2840 \begin_layout Plain Layout
2846 es un buen punto de partida).
2850 \begin_layout Standard
2851 Hay que advertir que estas traducciones funcionarán pero tienen algunos
2853 En particular, todos los diálogos se han diseñado con el inglés en mente,
2854 lo que significa que algún texto traducido podría ser demasiado largo para
2855 ajustarse al espacio asignado.
2856 Esto solo es un problema de presentación en pantalla y no causará ningún
2858 Además, encontrarás que algunas traducciones no definen atajos de teclado
2860 A veces, simplemente no hay letras libres suficientes para ello.
2861 Otras veces, el traductor todavía no lo ha completado.
2862 Nuestro equipo de traducción, al que podrías unirte si quieres,
2866 \begin_layout Plain Layout
2867 Si usas con fluidez un idioma distinto del inglés, ¡unirse a estos equipos
2868 es una estupenda forma de corresponder a la comunidad LyX!
2873 intentará, por supuesto, corregir estas deficiencias en futuras versiones
2877 \begin_layout Section
2881 \begin_layout Subsection
2882 Traducción de la interfaz gráfica de usuario (mensajes de texto)
2885 \begin_layout Standard
2886 LyX utiliza la biblioteca GNU
2887 \begin_inset Flex Code
2890 \begin_layout Plain Layout
2896 para manejar la internacionalización de la interfaz.
2897 Para que LyX hable tu idioma preferido en todos los menús y diálogos es
2898 necesario un archivo
2899 \begin_inset Flex Code
2902 \begin_layout Plain Layout
2909 Si está disponible, tendrás que generar a partir de él un archivo
2910 \begin_inset Flex Code
2913 \begin_layout Plain Layout
2920 El procedimiento para hacer todo esto se explica en la documentación de
2922 \begin_inset Flex Code
2925 \begin_layout Plain Layout
2932 Puedes hacer esto solo para ti, pero también podrías compartir el resultado
2933 de tu trabajo con el resto de la comunidad LyX.
2934 Envía un mensaje a la lista de desarrolladores de LyX para más información
2935 sobre cómo proceder.
2938 \begin_layout Standard
2939 En resumen, esto es lo que deberías hacer (xx indica el código del idioma):
2942 \begin_layout Itemize
2943 Inspecciona el código fuente de LyX.
2945 \begin_inset CommandInset href
2947 name "información en la web"
2948 target "http://www.lyx.org/devel/cvs.php"
2955 \begin_layout Itemize
2957 \begin_inset Flex Code
2960 \begin_layout Plain Layout
2966 a la carpeta de los archivos
2967 \begin_inset Flex Code
2970 \begin_layout Plain Layout
2977 Después lo renombras como
2978 \begin_inset Flex Code
2981 \begin_layout Plain Layout
2989 \begin_inset Flex Code
2992 \begin_layout Plain Layout
2998 no está por ningún sitio, puede rehacerse con el comando de consola
2999 \begin_inset Flex Code
3002 \begin_layout Plain Layout
3008 en ese directorio, o puedes usar como muestra un archivo
3009 \begin_inset Flex Code
3012 \begin_layout Plain Layout
3018 de algún otro idioma).
3021 \begin_layout Itemize
3023 \begin_inset Flex Code
3026 \begin_layout Plain Layout
3036 \begin_layout Plain Layout
3037 Es un archivo de texto, se puede editar en cualquier editor de texto.
3038 Pero hay programas especializados para editar estos archivos, como
3042 (para todas las plataformas) o
3051 tiene un `modo' para editar archivos
3052 \begin_inset Flex Code
3055 \begin_layout Plain Layout
3066 Para algunos nombres de menú y otros artilugios hay además atajos de teclado
3067 que deberían traducirse.
3068 Dichas teclas se marcan con una `|' delante, y deberían traducirse de acuerdo
3069 con las palabras y frases del idioma.
3070 Además tendrías que rellenar la información al principio del nuevo archivo
3072 \begin_inset Flex Code
3075 \begin_layout Plain Layout
3081 , correo electrónico, etc., para que la gente sepa dónde enviarte sugerencias
3082 o divertidas diatribas.
3085 \begin_layout Standard
3086 Si estás haciendo esto solo para ti, entonces:
3089 \begin_layout Itemize
3091 \begin_inset Flex Code
3094 \begin_layout Plain Layout
3102 \begin_inset Flex Code
3105 \begin_layout Plain Layout
3106 msgfmt -o xx.mo < xx.po
3114 \begin_layout Itemize
3116 \begin_inset Flex Code
3119 \begin_layout Plain Layout
3125 a tu directorio local, en la carpeta apropiada para los mensajes de las
3126 aplicaciones en el idioma xx, con el nombre
3127 \begin_inset Flex Code
3130 \begin_layout Plain Layout
3137 \begin_inset space \thinspace{}
3141 \begin_inset space \space{}
3145 \begin_inset Flex Code
3148 \begin_layout Plain Layout
3149 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3159 \begin_layout Standard
3160 Sin embargo, ya se ha dicho, lo mejor sería poder añadir el nuevo archivo
3162 \begin_inset Flex Code
3165 \begin_layout Plain Layout
3171 a la distribución de LyX, para que otros puedan usarlo.
3172 Esto requiere hacer cambios en LyX, así que envía un correo a la lista
3173 de desarrolladores si estás interesado en hacerlo.
3176 \begin_layout Subsubsection
3180 \begin_layout Standard
3181 A veces resulta que un mensaje en inglés tiene diversas traducciones en
3183 Un ejemplo es la palabra
3184 \begin_inset Flex Code
3187 \begin_layout Plain Layout
3193 , que en alemán se puede traducir por Nach o Bis, según el sentido exacto
3195 \begin_inset Quotes fld
3199 \begin_inset Quotes frd
3204 \begin_inset Flex Code
3207 \begin_layout Plain Layout
3213 no maneja tales traducciones ambiguas.
3214 Por lo tanto, debes añadir alguna información contextual al mensaje: en
3216 \begin_inset Flex Code
3219 \begin_layout Plain Layout
3226 \begin_inset Flex Code
3229 \begin_layout Plain Layout
3230 To[[as in 'From format x to format y']]
3236 \begin_inset Flex Code
3239 \begin_layout Plain Layout
3240 To[[as in 'From page x to page y']]
3246 Ahora las dos apariciones de
3247 \begin_inset Flex Code
3250 \begin_layout Plain Layout
3257 \begin_inset Flex Code
3260 \begin_layout Plain Layout
3266 y pueden traducirse correctamente por Nach y Bis, respectivamente.
3269 \begin_layout Standard
3270 Por supuesto que la información contextual debe eliminarse del mensaje original
3271 si no se usa en la traducción.
3272 Por eso hay que ponerla entre dobles corchetes al final del mensaje (véase
3274 El mecanismo de traducción de LyX asegura que todo lo que va entre corchetes
3275 al final de los mensajes se quita antes de mostrarlos.
3278 \begin_layout Subsection
3279 Traducción de la documentación
3282 \begin_layout Standard
3283 La documentación en línea (menú
3286 \begin_inset Flex MenuItem
3289 \begin_layout Plain Layout
3303 ) puede (¡debería!) traducirse.
3304 Si hay versiones traducidas de la documentación disponible
3308 \begin_layout Plain Layout
3309 Hasta marzo de 2008, al menos algunos de los documentos han sido traducidos
3310 a catorce idiomas, y el Tutorial está disponible en algunos más.
3316 \begin_inset Flex Code
3319 \begin_layout Plain Layout
3325 está adecuadamente configurado, LyX las cargará
3326 \begin_inset Quotes fld
3330 \begin_inset Quotes frd
3334 LyX busca las traducciones en
3337 \begin_inset Flex Code
3340 \begin_layout Plain Layout
3358 es el código para el idioma en uso actualmente.
3359 Si no hay versión traducida se presentará por omisión la versión inglesa
3361 Ten en cuenta que las versiones traducidas deben tener los mismos nombres
3366 de antes) que el original.
3367 Si te animas a traducir documentación (¡de paso, una excelente manera de
3368 leerla atentamente!), hay algunas cosas que deberías tener en cuenta:
3371 \begin_layout Itemize
3372 Consulta la web de traducción de la documentación en
3373 \begin_inset CommandInset href
3375 name "http://www.lyx.org/Translation"
3376 target "http://www.lyx.org/Translation"
3381 Así podrás comprobar el estado actual de traducción de documentos a tu
3383 También si hay alguien que esté coordinando la traducción a tu idioma.
3384 Si no hay nadie comunícanos, por favor, si estás interesado en ello.
3387 \begin_layout Standard
3388 Una vez que te has decidido a empezar, he aquí algunos consejos que te pueden
3389 ahorrar inconvenientes:
3392 \begin_layout Itemize
3393 ¡Únete al equipo de documentación! En
3396 \begin_inset Flex MenuItem
3399 \begin_layout Plain Layout
3400 Ayuda\SpecialChar \menuseparator
3410 , que por cierto, es el primer documento que se debería traducir, hay informació
3411 n sobre cómo hacerlo.
3414 \begin_layout Itemize
3415 Infórmate sobre las normas tipográficas de tu idioma.
3416 La tipografía es un antiguo arte que ha desarrollado durante siglos una
3417 gran variedad de convenciones en diversas partes del mundo.
3418 Estudia también la terminología profesional de los tipógrafos en tu país.
3419 Inventar tu propia terminología sólo provocará confusión.
3422 (¡Cuidado! La tipografía es adictiva!)
3425 \begin_layout Itemize
3426 Haz una copia del documento para trabajar sobre ella.
3427 Puedes guardarla como archivo personal de traducción en tu directorio
3434 \begin_layout Itemize
3435 De vez en cuando el documento original (del equipo LyX) será actualizado.
3436 Usa el visor de fuentes en
3437 \begin_inset CommandInset href
3439 name "http://www.lyx.org/trac/timeline"
3440 target "http://www.lyx.org/trac/timeline"
3444 para ver los cambios realizados.
3445 De esta manera puedes ver fácilmente qué partes del documento traducido
3446 necesitan actualizarse.
3449 \begin_layout Standard
3450 Si encuentras un error en el documento original, ¡corríjelo y notifica los
3451 cambios al equipo de documentación! (¿No te has olvidado de contactar con
3452 el equipo de documentación, verdad?)
3455 \begin_layout Standard
3456 \begin_inset Branch OutDated
3459 \begin_layout Section
3460 International Keyboard Support
3463 \begin_layout Standard
3466 [Editor's Note: The following section is by
3474 It needs to be fixed to conform to the new Documentation Style sheet and
3475 to make use of the new v1.0 features.
3476 The whole thing also needs to be merged with the section following it.-jw
3477 It may also be badly out of date.-rh (2008)]
3480 \begin_layout Subsection
3481 Defining Own Keymaps: Keymap File Format
3484 \begin_layout Standard
3485 Let's look at a keyboard definition file a little closer.
3486 It is a plain text file defining
3489 \begin_layout Itemize
3490 key-to-key or key-to-string translations
3493 \begin_layout Itemize
3497 \begin_layout Itemize
3498 dead keys exceptions
3501 \begin_layout Standard
3502 To define key-to-key or key-to-string translation, use this command:
3505 \begin_layout Quotation
3506 \begin_inset Flex Code
3509 \begin_layout Plain Layout
3518 \begin_inset Flex Code
3521 \begin_layout Plain Layout
3530 \begin_layout Standard
3532 \begin_inset Flex Code
3535 \begin_layout Plain Layout
3541 is the key to be translated and
3542 \begin_inset Flex Code
3545 \begin_layout Plain Layout
3551 is the string to be inserted into the document.
3552 To define dead keys, use:
3555 \begin_layout Quotation
3556 \begin_inset Flex Code
3559 \begin_layout Plain Layout
3568 \begin_inset Flex Code
3571 \begin_layout Plain Layout
3580 \begin_layout Standard
3582 \begin_inset Flex Code
3585 \begin_layout Plain Layout
3591 is a keyboard key and
3592 \begin_inset Flex Code
3595 \begin_layout Plain Layout
3602 The following dead keys are supported (shortcut name is in parentheses):
3605 \begin_layout Quotation
3609 \begin_inset space \hfill{}
3615 \begin_layout Quotation
3617 \begin_inset space \hfill{}
3623 \begin_layout Quotation
3625 \begin_inset space \hfill{}
3631 \begin_layout Quotation
3633 \begin_inset space \hfill{}
3639 \begin_layout Quotation
3641 \begin_inset space \hfill{}
3647 \begin_layout Quotation
3649 \begin_inset space \hfill{}
3656 \begin_layout Plain Layout
3668 \begin_layout Quotation
3670 \begin_inset space \hfill{}
3676 \begin_layout Quotation
3678 \begin_inset space \hfill{}
3685 \begin_layout Plain Layout
3697 \begin_layout Quotation
3699 \begin_inset space \hfill{}
3705 \begin_layout Quotation
3707 \begin_inset space \hfill{}
3713 \begin_layout Quotation
3715 \begin_inset space \hfill{}
3722 \begin_layout Plain Layout
3734 \begin_layout Quotation
3736 \begin_inset space \hfill{}
3743 \begin_layout Plain Layout
3755 \begin_layout Quotation
3757 \begin_inset space \hfill{}
3763 \begin_layout Quotation
3764 hungarian umlaut (hug)
3765 \begin_inset space \hfill{}
3771 \begin_layout Quotation
3773 \begin_inset space \hfill{}
3779 \begin_layout Quotation
3781 \begin_inset space \hfill{}
3788 \begin_layout Plain Layout
3800 \begin_layout Standard
3801 Since in many international keyboards there are exceptions to what some
3802 dead keys should do, you can define them using
3805 \begin_layout Quotation
3806 \begin_inset Flex Code
3809 \begin_layout Plain Layout
3817 deadkey key outstring
3820 \begin_layout Standard
3821 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
3825 \begin_layout Quotation
3826 \begin_inset Flex Code
3829 \begin_layout Plain Layout
3842 \begin_layout Standard
3843 to make it work correctly.
3844 Also, you have to define as exceptions dead keys over i and j, to remove
3845 the dot from them before inserting an accent mark.
3846 I will change this when the time comes, but so far I haven't had time.
3849 \begin_layout Standard
3850 Oh, and about characters: backslash is escaped, so to enter it, you'll need
3853 \begin_inset Flex Code
3856 \begin_layout Plain Layout
3862 have different meaning.
3864 \begin_inset Flex Code
3867 \begin_layout Plain Layout
3873 marks comments, quotes start and end LaTeX-style commands.
3874 To enter quote, you'll need to use
3875 \begin_inset Flex Code
3878 \begin_layout Plain Layout
3887 \begin_inset Flex Code
3890 \begin_layout Plain Layout
3897 \begin_inset Flex Code
3900 \begin_layout Plain Layout
3911 \begin_layout Standard
3912 If you make a keyboard description file that works for your language, please
3913 mail it to me, so I can include it in the next keymap distribution.
3916 \begin_layout Standard
3917 More keywords will be supported in keymap configuration file in future,
3921 \begin_layout Itemize
3922 \begin_inset Flex Code
3925 \begin_layout Plain Layout
3936 \begin_inset space \hfill{}
3940 \begin_inset Flex Code
3943 \begin_layout Plain Layout
3952 \begin_layout Itemize
3953 \begin_inset Flex Code
3956 \begin_layout Plain Layout
3967 \begin_inset space \hfill{}
3971 \begin_inset Flex Code
3974 \begin_layout Plain Layout
3980 an external keymap translation program
3983 \begin_layout Standard
3984 Also, it should look into
3985 \begin_inset Flex Code
3988 \begin_layout Plain Layout
3994 file for defaults, too (for example, a
3995 \begin_inset Flex Code
3998 \begin_layout Plain Layout
4006 option to include default keyboard).
4014 \begin_layout Section
4015 \begin_inset CommandInset label
4021 Cosas sobre teclados internacionales
4024 \begin_layout Standard
4025 \begin_inset Note Note
4028 \begin_layout Plain Layout
4029 Al revisar este documento en marzo de 2008, no examiné este asunto porque
4031 Sería bueno que alguien pudiera hacerlo.
4039 \begin_layout Standard
4040 Las dos secciones siguientes describen con detalle la sintaxis de los archivos
4042 \begin_inset Flex Code
4045 \begin_layout Plain Layout
4054 \begin_inset Flex Code
4057 \begin_layout Plain Layout
4066 Deberían servir de ayuda para diseñar tus propios mapas de teclado si los
4067 suministrados no satisfacen tus necesidades.
4070 \begin_layout Subsection
4074 \begin_layout Standard
4076 \begin_inset Flex Code
4079 \begin_layout Plain Layout
4085 asocia pulsaciones de teclas con caracteres o secuencias de ellos.
4086 Como sugiere el nombre, sirve para trazar un mapa del teclado.
4087 En esta sección se describen las palabras clave
4088 \begin_inset Flex Code
4091 \begin_layout Plain Layout
4100 \begin_inset Flex Code
4103 \begin_layout Plain Layout
4112 \begin_inset Flex Code
4115 \begin_layout Plain Layout
4124 \begin_inset Flex Code
4127 \begin_layout Plain Layout
4136 \begin_inset Flex Code
4139 \begin_layout Plain Layout
4148 \begin_layout Labeling
4149 \labelwidthstring 00.00.0000
4150 \begin_inset Flex Code
4153 \begin_layout Plain Layout
4161 Asocia un carácter a una cadena
4164 \begin_layout LyX-Code
4179 \begin_layout Standard
4193 , la doble comilla (") y la barra invertida (
4195 ) deben escaparse con una barra (
4200 \begin_layout Standard
4201 Un ejemplo de una declaración de
4202 \begin_inset Flex MenuItem
4205 \begin_layout Plain Layout
4213 para hacer que el símbolo
4214 \begin_inset Flex MenuItem
4217 \begin_layout Plain Layout
4225 sea generado por la tecla
4226 \begin_inset Flex MenuItem
4229 \begin_layout Plain Layout
4240 \begin_layout LyX-Code
4246 \begin_layout Labeling
4247 \labelwidthstring 00.00.0000
4248 \begin_inset Flex Code
4251 \begin_layout Plain Layout
4259 Especifica un carácter acentuado
4262 \begin_layout LyX-Code
4271 \begin_layout Standard
4272 Esto hará que el carácter
4280 sobre el(los) carácter(es) permitido(s)
4285 Este es el mecanismo de tecla muerta
4289 \begin_layout Plain Layout
4299 se refiere a una tecla que no genera ningún carácter por sí mismo, pero
4300 seguida de otra tecla genera el carácter acentuado deseado.
4301 Por ejemplo, un caráter con diéresis, ü, se genera de esta manera.
4310 \begin_layout Standard
4315 y después una tecla que no está entre las permitidas (
4319 ), en la salida obtendrás el carácter
4323 seguido por el otro carácter, el no permitido.
4324 Hay que tener en cuenta que
4325 \begin_inset Flex MenuItem
4328 \begin_layout Plain Layout
4336 cancela una tecla muerta, de modo que si pulsas
4341 \begin_inset Flex MenuItem
4344 \begin_layout Plain Layout
4352 , el cursor no retrocede una posición sino que anula el efecto que
4356 hubiera tenido sobre la siguiente pulsación.
4359 \begin_layout Standard
4360 En el ejemplo siguiente, el carácter ' va a generar un acento agudo permitido
4361 sobre los caracteres a, e, i, o, u, A, E, I, O, U:
4364 \begin_layout LyX-Code
4367 kmod ' acute aeiouAEIOU
4370 \begin_layout Labeling
4371 \labelwidthstring 00.00.0000
4372 \begin_inset Flex Code
4375 \begin_layout Plain Layout
4381 Especifica una excepción para el carácter acentuado
4384 \begin_layout LyX-Code
4393 \begin_layout Standard
4394 Define una excepción para el
4407 debe haber sido asignado a una pulsación con una declaración previa de
4409 \begin_inset Flex Code
4412 \begin_layout Plain Layout
4428 no debe estar en el conjunto
4437 Si tecleas la secuencia
4446 Si dicha declaración no existe en el archivo
4447 \begin_inset Flex Code
4450 \begin_layout Plain Layout
4470 es el primer argumento de la declaración
4471 \begin_inset Flex Code
4474 \begin_layout Plain Layout
4487 \begin_layout Standard
4488 El comando siguiente generará äi cuando teclees agudo-i ('i):
4491 \begin_layout LyX-Code
4505 \begin_layout Labeling
4506 \labelwidthstring 00.00.0000
4507 \begin_inset Flex Code
4510 \begin_layout Plain Layout
4516 Combina dos caracteres acentos
4519 \begin_layout LyX-Code
4525 accent1 accent2 allowed
4528 \begin_layout Standard
4529 Esto es bastante esotérico.
4530 Permite combinar el efecto de
4538 (¡en ese orden!) sobre los caracteres permitidos
4551 deben haber sido declaradas con un comando
4552 \begin_inset Flex Code
4555 \begin_layout Plain Layout
4573 \begin_layout Standard
4574 Considera este ejemplo del archivo
4575 \begin_inset Flex Code
4578 \begin_layout Plain Layout
4589 \begin_layout LyX-Code
4592 kmod ; acute aeioyvhAEIOYVH
4596 kcomb acute umlaut iyIY
4599 \begin_layout Standard
4601 \begin_inset Flex MenuItem
4604 \begin_layout Plain Layout
4612 y obtener el efecto de
4613 \begin_inset Flex Code
4616 \begin_layout Plain Layout
4629 En este caso un retroceso cancela la última tecla muerta, así que si tecleas
4631 \begin_inset Flex MenuItem
4634 \begin_layout Plain Layout
4643 \begin_inset Flex Code
4646 \begin_layout Plain Layout
4659 \begin_layout Subsection
4663 \begin_layout Standard
4664 Después de realizados el mapa
4665 \begin_inset Flex Code
4668 \begin_layout Plain Layout
4677 \begin_inset Flex Code
4680 \begin_layout Plain Layout
4690 traza el mapa de las cadenas que los símbolos generan para los caracteres
4691 en la tipografía actual.
4692 La distribución de LyX actualmente incluye al menos los archivos
4693 \begin_inset Flex Code
4696 \begin_layout Plain Layout
4705 \begin_inset Flex Code
4708 \begin_layout Plain Layout
4719 \begin_layout Standard
4720 En general el archivo
4721 \begin_inset Flex Code
4724 \begin_layout Plain Layout
4732 es una secuencia de declaraciones de la forma:
4735 \begin_layout LyX-Code
4748 \begin_layout Standard
4749 Por ejemplo, para asociar
4750 \begin_inset Flex MenuItem
4753 \begin_layout Plain Layout
4763 al correspondiente carácter en el conjunto iso-8859-1 (233), se usa:
4766 \begin_layout LyX-Code
4774 \begin_layout Standard
4776 \begin_inset Flex Code
4779 \begin_layout Plain Layout
4788 \begin_inset Flex Code
4791 \begin_layout Plain Layout
4802 Anotar que el mismo carácter puede aplicarse a más de una cadena.
4804 \begin_inset Flex Code
4807 \begin_layout Plain Layout
4818 \begin_layout LyX-Code
4830 \begin_inset Newline newline
4846 \begin_layout Standard
4847 Si LyX no puede encontrar una declaración para la cadena por una tecla o
4848 una secuencia con tecla muerta, intentará si aparece como un carácter acentuado
4849 y probará a dibujar un acento sobre el carácter en la pantalla.
4852 \begin_layout Subsection
4856 \begin_layout Standard
4857 Hay una segunda manera de añadir soporte para caracteres internacionales
4858 mediante las denominadas teclas muertas.
4859 Una tecla muerta trabaja en combinación con una letra para generar un carácter
4861 Aquí explicaremos como crear una sencillísima tecla muerta para ilustrar
4865 \begin_layout Standard
4866 Supongamos que necesitas el carácter circunflejo
4867 \begin_inset Quotes fld
4871 \begin_inset Quotes frd
4875 Podrías asociar la tecla
4876 \begin_inset Flex MenuItem
4879 \begin_layout Plain Layout
4886 \begin_inset Flex MenuItem
4889 \begin_layout Plain Layout
4896 \begin_inset Flex Code
4899 \begin_layout Plain Layout
4906 \begin_inset Flex Code
4909 \begin_layout Plain Layout
4916 Ahora, cuando pulses la tecla
4917 \begin_inset Flex MenuItem
4920 \begin_layout Plain Layout
4926 seguida de una letra, obtendrás esa letra con circunflejo sobre ella.
4927 Por ejemplo, la secuencia
4928 \begin_inset Quotes fld
4932 \begin_inset Flex MenuItem
4935 \begin_layout Plain Layout
4942 \begin_inset Quotes frd
4946 \begin_inset Quotes fld
4950 \begin_inset Quotes frd
4955 \begin_inset Quotes fld
4959 \begin_inset Flex Code
4962 \begin_layout Plain Layout
4969 \begin_inset Quotes frd
4972 , sin embargo, LyX no imprime nada puesto que
4973 \begin_inset Flex MenuItem
4976 \begin_layout Plain Layout
4982 nunca lleva un circunflejo.
4984 \begin_inset Flex MenuItem
4987 \begin_layout Plain Layout
4993 tras una tecla muerta imprime el acento solo.
4994 ¡Advierte este último punto! Si asocias una tecla a una tecla muerta necesitará
4995 s reasociar el carácter de esa tecla a otra tecla.
4997 \begin_inset Flex MenuItem
5000 \begin_layout Plain Layout
5006 a una cedilla es una mala idea, puesto que solo obtendrás cedillas en lugar
5010 \begin_layout Standard
5011 Una forma habitual de asociar teclas muertas es usar
5012 \begin_inset Flex MenuItem
5015 \begin_layout Plain Layout
5022 \begin_inset Flex MenuItem
5025 \begin_layout Plain Layout
5032 \begin_inset Flex MenuItem
5035 \begin_layout Plain Layout
5041 en combinación con un acento, como
5042 \begin_inset Quotes fld
5046 \begin_inset Flex MenuItem
5049 \begin_layout Plain Layout
5056 \begin_inset Quotes frd
5060 \begin_inset Quotes fld
5064 \begin_inset Flex MenuItem
5067 \begin_layout Plain Layout
5074 \begin_inset Quotes frd
5078 \begin_inset Quotes fld
5082 \begin_inset Flex MenuItem
5085 \begin_layout Plain Layout
5092 \begin_inset Quotes frd
5096 Otra forma incluye el uso de
5097 \begin_inset Flex Code
5100 \begin_layout Plain Layout
5107 \begin_inset Flex Code
5110 \begin_layout Plain Layout
5116 para configurar la tecla especial
5117 \begin_inset Flex Code
5120 \begin_layout Plain Layout
5127 Esta tecla actúa de alguna forma como
5128 \begin_inset Flex MenuItem
5131 \begin_layout Plain Layout
5137 y permite teclas a caracteres acentuados.
5138 También puedes transformar teclas en muertas asociándolas a algo como
5139 \begin_inset Flex Code
5142 \begin_layout Plain Layout
5148 y después asociando esta tecla simbólica al correspondiente comando LyX.
5152 \begin_layout Plain Layout
5157 : Esto es exactamente lo que hago en mis archivos
5158 \begin_inset Flex Code
5161 \begin_layout Plain Layout
5168 \begin_inset Flex Code
5171 \begin_layout Plain Layout
5179 \begin_inset Flex MenuItem
5182 \begin_layout Plain Layout
5184 \begin_inset space ~
5193 \begin_inset Flex Code
5196 \begin_layout Plain Layout
5202 y unas cuantas de estas teclas simbólicas
5203 \begin_inset Quotes fld
5207 \begin_inset Flex Code
5210 \begin_layout Plain Layout
5217 \begin_inset Quotes frd
5220 asociadas a cosas como
5221 \begin_inset Flex MenuItem
5224 \begin_layout Plain Layout
5226 \begin_inset space ~
5235 \begin_inset Flex MenuItem
5238 \begin_layout Plain Layout
5240 \begin_inset space ~
5249 Así es como genero mis caracteres acentuados.
5254 Puedes hacer casi cualquier cosa con la tecla
5255 \begin_inset Flex Code
5258 \begin_layout Plain Layout
5265 \begin_inset Flex MenuItem
5268 \begin_layout Plain Layout
5274 , una tecla de función de reserva, etc.
5275 En cuanto a los comandos LyX que generan acentos, consulta la entrada para
5277 \begin_inset Flex Code
5280 \begin_layout Plain Layout
5291 Ahí encontrarás la lista completa.
5294 \begin_layout Subsection
5295 Guardar la configuración de idioma
5298 \begin_layout Standard
5299 Puedes editar tus preferencias para que el entorno de idioma adecuado sea
5300 automáticamente configurado al iniciar LyX, en el diálogo
5301 \begin_inset Flex MenuItem
5304 \begin_layout Plain Layout
5305 Herramientas\SpecialChar \menuseparator
5314 \begin_layout Chapter
5315 Instalación de nuevas clases de documento, formatos y plantillas
5316 \begin_inset CommandInset label
5318 name "cap:Instalación-de-nuevas"
5323 \begin_inset Argument 1
5326 \begin_layout Plain Layout
5327 Instalación de clases, formatos \SpecialChar \ldots{}
5336 \begin_layout Standard
5337 En este capítulo describimos los procedimientos para crear e instalar nuevos
5338 archivos de plantillas y formatos de LyX, así como repasar la instalación
5339 correcta de nuevas clases de documentos LaTeX.
5342 \begin_layout Standard
5343 En primer lugar, permite que digamos algo sobre la relación entre LyX y
5345 Lo que hay que entender es que, en cierto sentido, LyX no sabe nada de
5347 Desde el punto de vista de LyX, LaTeX solo es uno más de los varios
5348 \begin_inset Quotes fld
5352 \begin_inset Quotes frd
5355 en los que es capaz de generar salida.
5356 Otros son DocBook, texto sencillo y XHTML.
5357 LaTeX es, por supuesto, un formato particularmente importante, pero muy
5358 poca de la información que LyX tiene sobre LaTeX está realmente contenida
5359 en el propio programa.
5363 \begin_layout Plain Layout
5364 Algunos comandos son lo bastante complejos como para ser incluidos en el
5366 Pero en general los desarrolladores consideran esto una mala cosa.
5372 Esa información, incluso para las clases estándar como
5376 , está almacenada en 'archivos de formato (
5381 De igual manera LyX no sabe gran cosa sobre DocBook o XHTML.
5382 Esa información está en los archivos de formato.
5385 \begin_layout Standard
5386 El archivo de formato para una determinada clase de documento se puede considera
5387 r como un manual de instrucciones para traducir las estructuras de LyX ---párraf
5388 os y sus estilos, ciertos tipos de recuadros, etc.--- a las estructuras correspon
5389 dientes de LaTeX, DocBook o XHTML.
5390 Por ejemplo, casi todo lo que LyX sabe sobre
5391 \begin_inset Flex Code
5394 \begin_layout Plain Layout
5400 está contenido en el archivo
5401 \begin_inset Flex Code
5404 \begin_layout Plain Layout
5410 y en otros archivos incluidos en este.
5411 Por esta razón, quien intente escribir archivos de formato debería empezar
5412 por estudiar los archivos existentes.
5413 Un buen sitio para empezar es
5414 \begin_inset Flex Code
5417 \begin_layout Plain Layout
5423 , que está incluido en
5424 \begin_inset Flex Code
5427 \begin_layout Plain Layout
5434 \begin_inset Flex Code
5437 \begin_layout Plain Layout
5443 y muchos otros archivos de formato para clases de documento.
5444 En este archivo se definen las secciones y demás:
5445 \begin_inset Flex Code
5448 \begin_layout Plain Layout
5454 indica a LyX como traducir los párrafos con estilos como Sección, Subsección,
5455 etc., a los comandos y etiquetas correspondientes en LaTeX, DocBook y XHTML.
5457 \begin_inset Flex Code
5460 \begin_layout Plain Layout
5466 solo incluye, básicamente, varios de estos archivos
5467 \begin_inset Flex Code
5470 \begin_layout Plain Layout
5479 \begin_layout Standard
5480 Pero definir la correspondencia LyX-LaTeX no es lo único que hacen los archivos
5482 Su otra tarea es definir cómo aparecerán en pantalla las estructuras de
5484 El hecho de que los archivos de formato tengan estas dos tareas es a veces
5485 fuente de confusión, porque son totalmente independientes.
5486 Indicar a LyX cómo traducir cierto estilo de párrafo a LaTeX no le dice
5487 cómo mostrarlo en pantalla; a la inversa, indicar cómo mostrar en pantalla
5488 un estilo de párrafo no tiene nada que ver con su traducción a LaTeX (solo
5489 permite indicar a LaTeX cómo mostrarlo).
5490 Así pues, en general, cuando defines una nueva construcción en LyX, siempre
5491 tienes que hacer dos cosas: 1) indicar la traducción a LaTeX y, 2) indicar
5492 la presentación en pantalla.
5495 \begin_layout Standard
5496 Gran parte de lo dicho es cierto, también, en relación con otros formatos
5497 de salida, aunque XHTML es un poco diferente porque en este caso LyX
5501 , en cierta medida, de usar la información de la presentación de un párrafo
5502 en pantalla para generar la presentación (en forma de CSS) del párrafo
5504 Incluso en este caso, no obstante, la distinción entre lo que hace LyX
5505 internamente y la forma en que las cosas se muestran externamente sigue
5506 en vigor, y ambas se pueden controlar separadamente.
5508 \begin_inset CommandInset ref
5510 reference "sec:Etiquetas-para-XHTML"
5517 \begin_layout Section
5518 Instalación de nuevos archivos LaTeX
5521 \begin_layout Standard
5522 Algunas instalaciones quizá no incluyan un paquete LaTeX que te gustaría
5524 Por ejemplo, podrías necesitar FoilTeX, un paquete para preparar transparencias
5525 o diapositivas para proyectores.
5526 Las modernas distribuciones de LaTeX como TeXLive (2008 o posterior) o
5527 MiKTeX proveen una interfaz de usuario para eso.
5528 Por ejemplo, en MiKTeX inicia su programa
5529 \begin_inset Quotes fld
5532 Administrador de paquetes
5533 \begin_inset Quotes frd
5536 para obtener una lista de los disponibles.
5537 Para instalar uno, haz clic derecho sobre él o usa el botón de la herramienta
5541 \begin_layout Standard
5542 Si tu distribución LaTeX no proporciona tal
5543 \begin_inset Quotes fld
5546 administrador de paquetes
5547 \begin_inset Quotes frd
5550 , o si el paquete no está disponible en ella, sigue los siguientes pasos
5551 para instalarlo manualmente:
5554 \begin_layout Enumerate
5555 Consigue el paquete de
5556 \begin_inset CommandInset href
5559 target "http://www.ctan.org/"
5566 \begin_layout Enumerate
5567 Si el paquete contiene un archivo con la extensión
5568 \begin_inset Quotes fld
5572 \begin_inset Flex Code
5575 \begin_layout Plain Layout
5582 \begin_inset Quotes frd
5585 (es el caso de FoilTeX) abre una consola, cambia a la carpeta del archivo
5586 y ejecuta el comando
5587 \begin_inset Flex Code
5590 \begin_layout Plain Layout
5597 Así desempaquetamos y disponemos de todos los archivos para instalar.
5598 La mayoría de paquetes LaTeX no están empaquetados y podemos saltar este
5602 \begin_layout Enumerate
5603 Tienes que decidir si el paquete estará disponible para todos los usuarios
5608 \begin_layout Enumerate
5609 En sistemas *nix (Linux, OSX, etc.), si el paquete va estar disponible para
5610 todos los usuarios del sistema, hay que instalarlo en el árbol 'local'
5611 de TeX, de lo contrario instálalo en tu directorio TeX de usuario.
5612 La ubicación de estos árboles, si no existen ya, depende del sistema.
5613 Para encontrarlos mira en el archivo
5614 \begin_inset Flex Code
5617 \begin_layout Plain Layout
5627 \begin_layout Plain Layout
5628 Usualmente es el directorio
5632 , aunque se puede ejecutar el comando
5633 \begin_inset Flex Code
5636 \begin_layout Plain Layout
5647 La ubicación del árbol `local' de TeX está definida por la variable
5648 \begin_inset Flex Code
5651 \begin_layout Plain Layout
5657 ; generalmente algo como
5659 /usr/local/share/texmf/
5662 La ubicación del árbol `user' de TeX está definida por
5663 \begin_inset Flex Code
5666 \begin_layout Plain Layout
5677 (Si estas variables no están predefinidas, debes hacerlo.) Probablemente
5678 necesites permiso de administrador para crear o modificar el árbol `local',
5679 pero no para el árbol `user'.
5680 \begin_inset Newline newline
5683 En general, es recomendable instalar en el árbol `user' porque no será modificad
5684 o o sobrescrito al actualizar el sistema.
5685 Además, se guardará copia de él cuando hagas copia de seguridad de tu directori
5686 o `home' (que debe ser lo habitual).
5689 \begin_layout Enumerate
5690 En Windows, para que el nuevo paquete esté disponible a todos los usuarios,
5691 cambia a la carpeta donde está instalado LaTeX y en la subcarpeta
5699 , (En MiKTeX, debería ser
5711 ) crea una nueva carpeta
5712 \begin_inset Flex Code
5715 \begin_layout Plain Layout
5721 y copia en ella todos los archivos del paquete.
5722 Para hacer el paquete disponible solo a un usuario o si no dispones de
5723 permisos, haz lo mismo pero en el directorio de LaTeX, p.
5724 \begin_inset space \thinspace{}
5728 \begin_inset space ~
5732 \begin_inset Newline newline
5739 Documents and Settings
5746 \begin_inset Newline newline
5750 \begin_inset Phantom HPhantom
5753 \begin_layout Plain Layout
5773 \begin_inset Newline newline
5777 \begin_inset Newline newline
5804 \begin_layout Enumerate
5805 Ahora hay que decir a LaTeX que hay archivos nuevos.
5806 Esto depende de la distribución de LaTeX:
5810 \begin_layout Enumerate
5811 Para TeXLive ejecuta el comando
5812 \begin_inset Flex Code
5815 \begin_layout Plain Layout
5822 Si el paquete se instaló para todos los usuarios harán falta permisos de
5826 \begin_layout Enumerate
5827 Para MiKTeX, si el paquete se instaló para todos los usuarios, inicia el
5829 \begin_inset Quotes eld
5833 \begin_inset space ~
5837 \begin_inset Quotes erd
5841 \begin_inset Quotes eld
5845 \begin_inset Quotes erd
5849 Si no, inicia el programa
5850 \begin_inset Quotes eld
5854 \begin_inset Quotes erd
5861 \begin_layout Enumerate
5862 Finalmente, hay que decir a LyX que hay nuevos paquetes disponibles.
5864 \begin_inset Flex MenuItem
5867 \begin_layout Plain Layout
5868 Herramientas\SpecialChar \menuseparator
5877 \begin_layout Standard
5878 Ya está instalado el paquete.
5879 En nuestro ejemplo, la clase de documento
5880 \begin_inset Flex Code
5883 \begin_layout Plain Layout
5885 \begin_inset space ~
5892 \begin_layout Plain Layout
5904 estará ahora disponible en
5905 \begin_inset Flex MenuItem
5908 \begin_layout Plain Layout
5909 Documento\SpecialChar \menuseparator
5910 Configuración\SpecialChar \menuseparator
5912 \begin_inset space ~
5916 \begin_inset space ~
5928 \begin_layout Standard
5929 Si quieres usar una clase de documento LaTeX que no aparece listada en
5930 \begin_inset Flex MenuItem
5933 \begin_layout Plain Layout
5934 Documento\SpecialChar \menuseparator
5935 Configuración\SpecialChar \menuseparator
5937 \begin_inset space ~
5941 \begin_inset space ~
5949 , debes crear un archivo de formato (`layout') para ella.
5950 Este es el tema de la sección siguiente.
5953 \begin_layout Section
5954 Tipos de archivos de formato
5957 \begin_layout Standard
5958 Esta sección describe los diversos tipos de arhivos de LyX que contienen
5959 información sobre el formato.
5961 \begin_inset Flex Code
5964 \begin_layout Plain Layout
5970 describen estilos de párrafo y de carácter, y determinan cómo los debería
5971 presentar LyX y cómo deberían traducirse a LaTeX, DocBook, XHTML o cualquier
5972 otro formato de salida que se vaya a usar.
5976 \begin_layout Standard
5977 Intentaremos aquí dar una minuciosa descripción del proceso; sin embargo,
5978 hay tantos tipos diferentes de documentos soportados por clases de LaTeX
5979 que no podemos aspirar a tratar todas las distintas posibilidades o problemas
5980 que puedas encontrar.
5981 La lista de usuarios de LyX es frecuentada por gente con mucha experiencia
5982 en el diseño de formatos deseosa de compartir sus conocimientos.
5985 \begin_layout Standard
5986 Cuando te pongas a escribir un nuevo formato, es de gran ayuda echar un
5987 vistazo a los formatos de ejemplo suministrados con LyX.
5988 Si escribes un `layout' de LyX para una clase de documento LaTeX o un módulo
5989 que podría ser útil también a otros, no dudes en compartir tu labor enviándola
5991 \begin_inset CommandInset href
5993 name "sección 'Layouts' en wiki LyX"
5994 target "http://wiki.lyx.org/Layouts/Layouts"
5998 o incluso a la lista de desarrolladores de LyX para poderlo incluir en
6003 \begin_layout Plain Layout
6004 Hay que advertir que LyX se acoge a la licencia GPL, por tanto cualquier
6005 material aportado debe tener la misma licencia.
6013 \begin_layout Subsection
6015 \begin_inset CommandInset label
6017 name "sub:Módulos-de-formato"
6024 \begin_layout Standard
6025 Hemos hablado hasta ahora de `archivos de formato'.
6026 Pero hay distintos tipos de archivos con información sobre formatos.
6027 Estrictamente, los archivos de formato tienen la extensión
6028 \begin_inset Flex Code
6031 \begin_layout Plain Layout
6037 y proporcionan a LyX información sobre las clases de documento.
6038 Sin embargo, a partir de LyX 1.6, esta información puede proporcionarse
6043 , que tienen la extensión
6044 \begin_inset Flex Code
6047 \begin_layout Plain Layout
6054 Los módulos son a los paquetes LaTeX lo que los formatos a las clases LaTeX,
6055 y algunos módulos —como el módulo Notas finales— dan soporte específico
6056 a un paquete determinado —en este caso
6057 \begin_inset Flex Code
6060 \begin_layout Plain Layout
6067 En cierto sentido, los módulos de formato son similares a los `archivos
6072 \begin_layout Plain Layout
6073 Estos pueden tener cualquier extensión pero, por convenio, se usa la extensión
6075 \begin_inset Flex Code
6078 \begin_layout Plain Layout
6090 \begin_inset Flex Code
6093 \begin_layout Plain Layout
6099 —, ya que, como estos, los módulos no son específicos para una clase de
6100 documento dada, sino que se pueden usar con muchos formatos diferentes.
6101 La diferencia es que el uso de un archivo incluido con
6102 \begin_inset Flex Code
6105 \begin_layout Plain Layout
6111 requiere editar dicho archivo, mientras que los módulos se seleccionan
6113 \begin_inset Flex MenuItem
6116 \begin_layout Plain Layout
6117 Documento\SpecialChar \menuseparator
6127 \begin_layout Standard
6128 La construcción de módulos es la forma más fácil de iniciarse en la edición
6129 del formato, puesto que puede ser tan sencillo como añadir un nuevo estilo
6130 de párrafo o un recuadro flexible.
6131 No obstante, los módulos pueden, en principio, contener cualquier cosa
6132 que pueda contener un archivo `layout'.
6135 \begin_layout Standard
6136 Después de crear un módulo nuevo y copiarlo en la carpeta
6137 \begin_inset Flex Code
6140 \begin_layout Plain Layout
6146 , tendrás que reconfigurar LyX y reiniciar después para que el módulo aparezca
6148 Sin embargo, los cambios que hagas al módulo se verán inmediatamente si
6150 \begin_inset Flex MenuItem
6153 \begin_layout Plain Layout
6154 Documento\SpecialChar \menuseparator
6160 , seleccionas lo que sea y después pulsas
6161 \begin_inset Quotes fld
6165 \begin_inset Quotes frd
6171 Es muy recomendable guardar el trabajo antes de hacer eso.
6176 es muy recomendable no intentar editar los módulos mientras se está trabajando
6177 simultáneamente en un documento
6180 Aunque los desarrolladores, por supuesto, se esfuerzan en mantener la estabilid
6181 ad de LyX en estas situaciones, errores sintácticos y similares en el archivo
6182 del módulo podrían causar extraños comportamientos.
6185 \begin_layout Subsubsection
6189 \begin_layout Standard
6190 Los módulos son a LyX lo que los paquetes a LaTeX.
6191 Sin embargo, a veces puede suceder que necesites un recuadro específico
6192 o un estilo de carácter solo para un documento, y escribir un módulo que
6193 estará disponible también para otros documentos tiene poco sentido.
6194 En estos casos, lo que necesitas es el
6195 \begin_inset Quotes fld
6199 \begin_inset Quotes frd
6205 \begin_layout Standard
6208 Documento\SpecialChar \menuseparator
6209 Configuración\SpecialChar \menuseparator
6213 El gran cuadro de texto permite introducir todo lo que podría incluirse
6214 en un archivo de formato o en un módulo.
6215 De hecho, el formato local de un documento se puede considerar como un
6216 módulo que le pertenece solo a él.
6217 Por tanto, en particular, hay que introducir una etiqueta
6218 \begin_inset Flex Code
6221 \begin_layout Plain Layout
6228 Cualquier formato es aceptable, pero debería usarse normalmente el actual
6230 (En LyX 2.1 el formato actual es 48).
6231 Debes tener en cuenta que el formato local no es soportado por versiones
6232 de LyX anteriores a 1.6, por tanto no deberías usarlo si quieres poder exportar
6233 el documento a LyX 1.5 o anteriores sin perder la información del formato
6235 Si quieres poder exportar a 1.6 ---el formato local es soportado pero no
6236 hay IU par él---, deberías usar formato 11 y, por supuesto, usar solo estructur
6237 as que estuvieran disponibles en LyX 1.6.
6240 \begin_layout Standard
6241 Una vez introducido algo en el panel
6242 \begin_inset Flex Code
6245 \begin_layout Plain Layout
6251 , LyX habilitará el botón
6252 \begin_inset Quotes fld
6256 \begin_inset Quotes frd
6260 Pulsando ese botón LyX determinará si lo introducido es información válida
6261 para el formato elegido.
6262 LyX informará del resultado pero, desafortunadamente, no indicará qué errores
6263 pudiera haber habido.
6264 Sin embargo, si LyX se ha arrancado en una terminal se verán ahí los errores.
6265 El formato local no se podrá guardar hasta que se haya introducido algo
6269 \begin_layout Standard
6270 Las advertencias al final de la sección anterior se aplican también aquí.
6271 Es mejor no enredar con formato local mientras se está trabajando, especialment
6272 e si no se ha guardado el documento.
6273 Dicho esto, usar formato local en un documento de prueba puede ser una
6274 forma muy conveniente de probar ideas de formato, o incluso de empezar
6275 a desarrollar un módulo.
6278 \begin_layout Subsection
6279 Formato para archivos
6280 \begin_inset Flex MenuItem
6283 \begin_layout Plain Layout
6292 \begin_layout Standard
6293 Probablemente te vas a encontrar con dos situaciones a la hora de querer
6294 soportar una nueva clase de documento LaTeX, según se trate de archivos
6296 \begin_inset Flex Code
6299 \begin_layout Plain Layout
6305 ) o de archivos de clases LaTeX2e (
6306 \begin_inset Flex Code
6309 \begin_layout Plain Layout
6316 Dar soporte a un nuevo estilo es bastante fácil.
6317 Dar soporte a una nueva clase es un poco más difícil.
6318 Trataremos el primer caso en esta sección y el otro en la siguiente.
6319 Lo mismo cabe decir, por supuesto, para el soporte de un nuevo DocBook
6323 \begin_layout Standard
6324 El caso más sencillo es aquel en el que la nueva clase de documento se suministr
6325 a como archivo de estilo que se usará conjuntamente con una clase ya soportada.
6326 Para nuestro ejemplo supondremos que el archivo de estilo se llama
6327 \begin_inset Flex MenuItem
6330 \begin_layout Plain Layout
6336 y que se usará conjuntamente con
6337 \begin_inset Flex MenuItem
6340 \begin_layout Plain Layout
6346 , que es una clase estándar.
6349 \begin_layout Standard
6350 Empieza por copiar el archivo `layout' existente en tu directorio local:
6354 \begin_layout Plain Layout
6355 Evidentemente, cuál es tu directorio local variará según la plataforma,
6356 y además LyX permite especificarlo al inicio usando la opción
6357 \begin_inset Flex Code
6360 \begin_layout Plain Layout
6374 \begin_layout LyX-Code
6375 cp report.layout ~/.lyx/layouts/myclass.layout
6378 \begin_layout Standard
6380 \begin_inset Flex Code
6383 \begin_layout Plain Layout
6392 \begin_layout LyX-Code
6395 DeclareLaTeXClass{report}
6398 \begin_layout Standard
6402 \begin_layout LyX-Code
6405 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
6408 \begin_layout Standard
6412 \begin_layout LyX-Code
6414 \begin_inset Newline newline
6420 \begin_inset Newline newline
6426 \begin_layout Standard
6427 cerca del principio del archivo.
6430 \begin_layout Standard
6431 Inicia LyX y selecciona
6432 \begin_inset Flex MenuItem
6435 \begin_layout Plain Layout
6436 Herramientas\SpecialChar \menuseparator
6443 Después reinicia LyX y haz una prueba con un documento nuevo.
6445 \begin_inset Flex MenuItem
6448 \begin_layout Plain Layout
6449 Documento\SpecialChar \menuseparator
6456 \begin_inset Quotes fld
6460 \begin_inset Flex MenuItem
6463 \begin_layout Plain Layout
6470 \begin_inset Quotes frd
6473 en la lista de clases de documento.
6474 Es probable que algunos de los comandos de secciones y demás en tu nueva
6475 clase funcionen de distinta manera a como lo hacen en la clase estándar
6477 \begin_inset Flex Code
6480 \begin_layout Plain Layout
6486 en este ejemplo—, de modo que si quieres, ahora puedes enredar un rato
6487 con los ajustes de las distintas secciones.
6488 La información del formato de las secciones se encuentra en
6489 \begin_inset Flex Code
6492 \begin_layout Plain Layout
6498 , pero no necesitas copiar ni cambiar este archivo.
6499 Simplemente añade tus cambios a tu archivo `layout' después de la línea
6501 \begin_inset Flex Code
6504 \begin_layout Plain Layout
6511 \begin_inset Flex Code
6514 \begin_layout Plain Layout
6521 Por ejemplo, podrías añadir estas líneas:
6524 \begin_layout LyX-Code
6528 \begin_layout LyX-Code
6532 \begin_layout LyX-Code
6536 \begin_layout LyX-Code
6540 \begin_layout LyX-Code
6544 \begin_layout Standard
6545 para cambiar la tipografía de los encabezados de capítulo a sans-serif.
6546 Esto sobrescribirá (o, en este caso, añadirá) la declaración para el estilo
6551 \begin_layout Standard
6552 Tu nuevo paquete puede proporcionar además comandos o entornos no presentes
6554 En este caso, los añadirás al archivo `layout'.
6556 \begin_inset space ~
6560 \begin_inset CommandInset ref
6562 reference "sec:Estructura-del-archivo-layout"
6566 para información sobre cómo hacerlo.
6569 \begin_layout Standard
6571 \begin_inset Flex MenuItem
6574 \begin_layout Plain Layout
6580 se puede usar con diferentes clases de documento, e incluso si no es así,
6581 lo más sencillo sería escribir un módulo que puedes cargar con la clase
6583 El módulo más simple posible podría ser:
6586 \begin_layout LyX-Code
6589 DeclareLyXModule{My Package}
6592 \begin_layout LyX-Code
6596 \begin_layout LyX-Code
6597 #Support for mypkg.sty.
6600 \begin_layout LyX-Code
6602 \begin_inset Newline newline
6608 \begin_layout LyX-Code
6610 \begin_inset Newline newline
6616 \begin_layout LyX-Code
6618 \begin_inset Newline newline
6624 \begin_inset Newline newline
6630 \begin_layout Standard
6631 Un módulo más complejo podría modificar el comportamiento de alguna estructura
6632 ya existente o definir algunas nuevas.
6633 De nuevo te remitimos a sección
6634 \begin_inset space ~
6638 \begin_inset CommandInset ref
6640 reference "sec:Estructura-del-archivo-layout"
6647 \begin_layout Subsection
6648 Formato para archivos
6649 \begin_inset Flex MenuItem
6652 \begin_layout Plain Layout
6661 \begin_layout Standard
6662 En este caso hay dos opciones.
6663 Una, que el archivo de clase esté él mismo basado en una clase de documento
6665 Por ejemplo, muchas clases de tesis están basadas en
6666 \begin_inset Flex MenuItem
6669 \begin_layout Plain Layout
6676 Para ver si el tuyo lo está, busca una línea parecida a
6679 \begin_layout LyX-Code
6685 \begin_layout Standard
6687 Si está, entonces puedes proceder en gran parte como en la sección anterior,
6688 aunque la línea DeclareLaTeXClass será diferente.
6689 Si tu nueva clase es tesis y está basada en book, la línea debería poner:
6693 \begin_layout Plain Layout
6694 Y será mucho más fácil si guardas el archivo como
6695 \begin_inset Flex Code
6698 \begin_layout Plain Layout
6704 : LyX supone que la clase de documento tiene el mismo nombre que el archivo
6714 \begin_layout LyX-Code
6717 DeclareLaTeXClass[thesis,book]{thesis}
6720 \begin_layout Standard
6721 Si, por el contrario, la nueva clase no está basada en una ya existente,
6722 probablemente tendrás que ir pensando en tu propio formato.
6723 Recomendamos firmemente copiar un archivo de formato existente que use
6724 una clase de LaTeX parecida y modificarlo, si es posible.
6725 O al menos, usa un archivo existente como punto de partida para ver qué
6726 items son los que te deben preocupar.
6727 Los detalles se discuten a continuación.
6730 \begin_layout Subsection
6731 Creación de plantillas
6732 \begin_inset CommandInset label
6734 name "sub:Creación-de-plantillas"
6741 \begin_layout Standard
6742 Una vez escrito un archivo de formato para una clase nueva de documento,
6743 podrías pensar en escribir además una
6748 Una plantilla funciona como una especie de tutorial para tu formato, mostrando
6749 cómo podría usarse, aunque sea con contenido irrelevante.
6750 Naturalmente, puedes echar un vistazo a las plantillas incluidas en LyX
6754 \begin_layout Standard
6755 Las plantillas se crean exactamente igual que un documento normal: usando
6757 La única diferencia es que los documentos corrientes tienen todos los ajustes
6758 posibles, incluso el esquema de tipografías y el tamaño del papel.
6759 Generalmente, un usuario no desea que una plantilla sobrescriba sus ajustes
6760 preferidos para dichos parámetros.
6761 Por esta razón, el diseñador de una plantilla debería quitar comandos como
6763 \begin_inset Flex Code
6766 \begin_layout Plain Layout
6775 \begin_inset Flex Code
6778 \begin_layout Plain Layout
6786 de los archivos de plantillas de LyX.
6787 Esto se puede hacer con cualquier editor de texto sencillo, por ejemplo
6789 \begin_inset Flex Code
6792 \begin_layout Plain Layout
6799 \begin_inset Flex Code
6802 \begin_layout Plain Layout
6812 \begin_layout Standard
6813 Los archivos editados de plantillas que has creado se ubican en
6814 \begin_inset Flex Code
6817 \begin_layout Plain Layout
6823 , copia los que uses del directorio global de plantillas en
6824 \begin_inset Flex Code
6827 \begin_layout Plain Layout
6833 al mismo sitio y redefine la ruta a las plantillas en el diálogo
6834 \begin_inset Flex MenuItem
6837 \begin_layout Plain Layout
6838 Herramientas\SpecialChar \menuseparator
6839 Preferencias\SpecialChar \menuseparator
6848 \begin_layout Standard
6849 De paso advertiremos que hay una plantilla,
6850 \begin_inset Flex Code
6853 \begin_layout Plain Layout
6859 , que tiene un papel especial: esta plantilla se carga cada vez que abres
6860 un documento nuevo con
6861 \begin_inset Flex MenuItem
6864 \begin_layout Plain Layout
6865 Archivo\SpecialChar \menuseparator
6871 , con el fin de proporcionar ajustes predeterminados por omisión.
6872 Para (re)crear esta plantilla desde dentro de LyX, lo que debes hacer es
6873 abrir un documento, establecer los ajustes deseados y usar el botón
6874 \begin_inset Flex MenuItem
6877 \begin_layout Plain Layout
6878 Guardar como predeterminados
6886 \begin_layout Subsection
6887 Actualización de antiguos archivos de formato
6890 \begin_layout Standard
6891 El formato de los archivos de formato cambia con cada nueva versión de LyX,
6892 de modo que los antiguos archivos de formato deben ser convertidos.
6893 Si LyX lee un archivo de formato con formato antiguo lanzará la herramienta
6895 \begin_inset Flex Code
6898 \begin_layout Plain Layout
6904 , que lo convierte a un archivo temporal con el formato actual.
6905 El archivo original se deja sin tocar.
6906 Si lo usas a menudo y lo quieres convertir permanentemente para evitar
6907 que LyX tenga que hacerlo cada vez, ejecuta el convertidor a mano:
6910 \begin_layout Enumerate
6914 \begin_inset Flex Code
6917 \begin_layout Plain Layout
6926 \begin_inset Flex Code
6929 \begin_layout Plain Layout
6940 \begin_layout Enumerate
6946 \begin_inset Newline newline
6950 \begin_inset Flex Code
6953 \begin_layout Plain Layout
6954 python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
6960 \begin_inset Newline newline
6966 \begin_inset Flex Code
6969 \begin_layout Plain Layout
6979 el nombre de tu directorio LyX en el sistema.
6982 \begin_layout Standard
6983 La conversión manual no puede manejar archivos incluidos, así que estos
6984 tendrán que convertirse separadamente.
6987 \begin_layout Section
6988 Estructura del archivo `layout'
6989 \begin_inset CommandInset label
6991 name "sec:Estructura-del-archivo-layout"
6998 \begin_layout Standard
6999 Ha llegado por fin el momento de ponerte manos a la obra y crear o editar
7000 tu propio archivo de formato; las siguientes secciones describen aquello
7001 a lo que te vas a enfrentar.
7002 Nuestro consejo es ir despacito, probando y guardando a menudo.
7003 En realidad no es para tanto, pero la multitud de opciones puede llegar
7004 a abrumarte si intentas hacer muchas cosas a la vez.
7007 It becomes easier if you use existing layouts of LyX as examples/reference
7008 or if you modify an existing layout to your needs.
7011 \begin_layout Standard
7012 Todos los rótulos o etiquetas en los archivos de formato son insensibles
7013 a las mayúsculas; esto significa que
7014 \begin_inset Flex Code
7017 \begin_layout Plain Layout
7024 \begin_inset Flex Code
7027 \begin_layout Plain Layout
7034 \begin_inset Flex Code
7037 \begin_layout Plain Layout
7043 son el mismo comando.
7044 Los valores posibles se imprimen entre corchetes detrás del nombre de la
7046 Si en una descripción de una clase de texto no se especifica una característica
7047 , el valor por omisión se escribe en estilo
7048 \begin_inset Flex Code
7051 \begin_layout Plain Layout
7060 Si el argumento tiene un tipo de dato como
7061 \begin_inset Quotes fld
7065 \begin_inset Quotes frd
7069 \begin_inset Quotes fld
7073 \begin_inset Quotes frd
7076 , el valor por omisión se muestra de esta manera:
7077 \begin_inset Flex Code
7080 \begin_layout Plain Layout
7091 \begin_layout Subsection
7092 Declaración de la clase de documento
7097 \begin_layout Standard
7098 Las líneas de un archivo de formato que empiezan con
7099 \begin_inset Flex Code
7102 \begin_layout Plain Layout
7109 Hay una excepción a esta regla: todos los formatos deben comenzar con líneas
7113 \begin_layout LyX-Code
7116 #% Do not delete the line below; configure depends on this
7120 \begin_layout Plain Layout
7124 \begin_inset space \thinspace{}
7129 : No borrar la línea siguiente; la configuración depende de ella
7137 \begin_layout LyX-Code
7148 \begin_layout Plain Layout
7157 eXClass{Article (Standard Class)}
7160 \begin_layout LyX-Code
7165 DeclareCategory{Articles}
7168 \begin_layout Standard
7173 línea se usan en la (re)configuración de LyX.
7174 El archivo `layout' es leido por el guión de LaTeX
7175 \begin_inset Flex Code
7178 \begin_layout Plain Layout
7184 de un modo especial tal que
7185 \begin_inset Flex Code
7188 \begin_layout Plain Layout
7195 La primera línea es solo un comentario y la segunda contiene la declaración
7200 de la clase de texto
7202 and the third line contains the optional classification of the class
7205 Si estas líneas aparecen en un archivo llamado
7206 \begin_inset Flex Code
7209 \begin_layout Plain Layout
7215 , entonces definen una clase de texto de nombre
7216 \begin_inset Flex Code
7219 \begin_layout Plain Layout
7225 (el nombre del archivo de formato) que usa la clase de documento LaTeX
7227 \begin_inset Flex Code
7230 \begin_layout Plain Layout
7236 (por omisión se usa el mismo nombre para ambos).
7238 \begin_inset Quotes fld
7241 Article (Standard Class)
7242 \begin_inset Quotes frd
7245 se utiliza como descripción de la clase de texto y es la que aparece en
7247 \begin_inset Flex MenuItem
7250 \begin_layout Plain Layout
7251 Documento\SpecialChar \menuseparator
7261 \begin_inset Quotes eld
7265 \begin_inset Quotes erd
7268 in the example) is also used in the
7269 \begin_inset Flex MenuItem
7272 \begin_layout Plain Layout
7275 Document\SpecialChar \menuseparator
7281 dialog: the text classes are grouped by these categories (which are usually
7282 genres, so typical categories are
7283 \begin_inset Quotes eld
7287 \begin_inset Quotes erd
7291 \begin_inset Quotes eld
7295 \begin_inset Quotes erd
7299 \begin_inset Quotes eld
7303 \begin_inset Quotes erd
7307 \begin_inset Quotes eld
7311 \begin_inset Quotes erd
7315 \begin_inset Quotes eld
7319 \begin_inset Quotes erd
7323 \begin_inset Quotes eld
7327 \begin_inset Quotes erd
7331 If no category has been declared, the class will be put in the
7332 \begin_inset Quotes eld
7336 \begin_inset Quotes erd
7342 \begin_layout Standard
7343 Supongamos que has escrito tu propia clase de texto, que utiliza la clase
7345 \begin_inset Flex Code
7348 \begin_layout Plain Layout
7354 , pero en la que has cambiado el aspecto de los encabezados de sección.
7355 Si lo pones en un archivo
7356 \begin_inset Flex Code
7359 \begin_layout Plain Layout
7365 , la cabecera de este archivo debería ser:
7368 \begin_layout LyX-Code
7371 #% Do not delete the line below; configure depends on this
7374 \begin_layout LyX-Code
7385 \begin_layout Plain Layout
7394 eXClass[article]{Article (con Mis Encabezados)}
7397 \begin_layout LyX-Code
7402 DeclareCategory{Articles}
7405 \begin_layout Standard
7406 Esto declara la clase de texto
7407 \begin_inset Flex Code
7410 \begin_layout Plain Layout
7416 , asociada con la clase de documento LaTeX
7417 \begin_inset Flex Code
7420 \begin_layout Plain Layout
7426 , y cuya descripción es
7427 \begin_inset Quotes fld
7430 Article (con Mis Encabezados)
7431 \begin_inset Quotes frd
7435 Si la clase de texto depende de varios paquetes, puedes declararla así:
7438 \begin_layout LyX-Code
7441 #% Do not delete the line below; configure depends on this
7444 \begin_layout LyX-Code
7455 \begin_layout Plain Layout
7464 eXClass[article,foo.sty]{Article (con Mis Encabezados)}
7467 \begin_layout LyX-Code
7472 DeclareCategory{Articles}
7475 \begin_layout Standard
7476 Esto indica que la clase de texto utiliza el paquete foo.sty.
7477 Finalmente, también es posible declarar clases para código DocBook.
7478 Una declaración típica podría ser:
7481 \begin_layout LyX-Code
7484 #% Do not delete the line below; configure depends on this
7487 \begin_layout LyX-Code
7492 DeclareDocBookClass[article]{SGML (DocBook Article)}
7495 \begin_layout LyX-Code
7500 DeclareCategory{Articles}
7503 \begin_layout Standard
7504 Anotar que estas declaraciones pueden llevar también un parámetro opcional
7505 que declare el nombre de la clase de documento (pero no una lista).
7508 \begin_layout Standard
7509 Así, para ser lo más explícito posible, la forma de la declaración del formato
7513 \begin_layout LyX-Code
7524 \begin_layout Plain Layout
7533 eXClass[class,package.sty]{descripción del formato}
7536 \begin_layout LyX-Code
7548 \begin_layout Standard
7549 La clase solo debe especificarse si el nombre de archivo de la clase LaTeX
7550 y el nombre de archivo del formato son diferentes; si el nombre del archivo
7551 de clase no se especifica, LyX simplemente supondrá que es el mismo que
7552 el del archivo de formato.
7555 \begin_layout Standard
7556 Cuando la clase de texto se ha modificado según tus necesidades, lo que
7557 debes hacer es copiarla a
7558 \begin_inset Flex Code
7561 \begin_layout Plain Layout
7568 \begin_inset Flex Code
7571 \begin_layout Plain Layout
7578 \begin_inset Flex MenuItem
7581 \begin_layout Plain Layout
7582 Herramientas\SpecialChar \menuseparator
7589 Ahora la nueva clase de texto debería estar disponible junto con las demás.
7592 \begin_layout Standard
7593 Una vez instalado el `layout', puedes editarlo y ver los cambios sin tener
7594 que reconfigurar ni reiniciar LyX.
7599 \begin_layout Plain Layout
7600 En versiones de LyX anteriores a 1.6 no era así.
7601 Como resultado, la edición de archivos de formato podía llevar mucho tiempo,
7602 pues constantemente había que reconfigurar y reiniciar.
7607 Se puede forzar la recarga del formato en uso mediante la función LyX
7608 \begin_inset Flex MenuItem
7611 \begin_layout Plain Layout
7618 No hay atajo predeterminado para esta función —aunque por supuesto, puedes
7619 asociarle tú mismo una secuencia de teclas—.
7620 Normalmente usarás esta función introduciéndola simplemente en el
7628 \begin_layout Standard
7633 : Esto es mucho más que una
7634 \begin_inset Quotes fld
7637 característica avanzada
7638 \begin_inset Quotes frd
7646 recomendable que no intentes editar tu formato mientras estés trabajando
7647 en un documento importante.
7648 Usa un documento de prueba.
7649 Los errores sintácticos y similares en tu archivo de formato podrían provocar
7650 comportamientos extraños.
7651 En particular, tales errores podrían provocar que LyX vea el formato actual
7652 como inválido e intente cambiar a algún otro.
7656 \begin_layout Plain Layout
7657 En realidad, los errores en la sintaxis pueden causar incluso el cierre
7658 de LyX, porque ciertos tipos de error pueden hacer que LyX sea incapaz
7663 información de formato.
7664 Por favor ten cuidado.
7669 El equipo LyX procura que LyX se mantenga estable en estos casos, pero
7670 es mejor prevenir que curar.
7674 \begin_layout Plain Layout
7675 De todos modos, haz copias de seguridad regularmente.
7676 Y sé bueno con mamá.
7685 \begin_layout Subsection
7686 Declaración de un módulo
7689 \begin_layout Standard
7690 Un módulo debe empezar con una línea como la siguiente:
7693 \begin_layout LyX-Code
7700 \begin_layout Plain Layout
7707 yXModule[endnotes.sty]{Endnotes}
7710 \begin_layout Standard
7711 El argumento imprescindible es, entre llaves, el nombre del módulo tal como
7713 \begin_inset Flex MenuItem
7716 \begin_layout Plain Layout
7717 Documento\SpecialChar \menuseparator
7718 Configuración\SpecialChar \menuseparator
7725 El argumento entre corchetes es opcional: declara cualesquiera paquetes
7726 LaTeX de los que depende el módulo.
7727 También es posible usar la forma
7728 \begin_inset Flex MenuItem
7731 \begin_layout Plain Layout
7737 como argumento opcional, que declara que el módulo solo puede usarse cuando
7738 existe una cadena de conversión entre los formatos `
7739 \begin_inset Flex Code
7742 \begin_layout Plain Layout
7749 \begin_inset Flex Code
7752 \begin_layout Plain Layout
7761 \begin_layout Standard
7762 La declaración del módulo debe proseguir con líneas como las siguientes:
7766 \begin_layout Plain Layout
7767 Preferiblemente en inglés si el módulo se va a publicar en LyX.
7768 Esta descripción aparecerá en la lista de mensajes para ser traducidos
7769 en la siguiente actualización de la interfaz.
7777 \begin_layout LyX-Code
7781 \begin_layout LyX-Code
7782 #Adds an endnote command, in addition to footnotes.
7786 \begin_layout LyX-Code
7787 #You will need to add
7789 theendnotes in TeX code where you
7792 \begin_layout LyX-Code
7793 #want the endnotes to appear.
7797 \begin_layout LyX-Code
7801 \begin_layout LyX-Code
7802 #Requires: somemodule | othermodule
7805 \begin_layout LyX-Code
7806 #Excludes: badmodule
7809 \begin_layout Standard
7810 La descripción se usa en
7811 \begin_inset Flex MenuItem
7814 \begin_layout Plain Layout
7815 Documento\SpecialChar \menuseparator
7816 Configuración\SpecialChar \menuseparator
7822 para proporcionar al usuario información sobre las acciones del módulo.
7824 \begin_inset Flex Code
7827 \begin_layout Plain Layout
7833 sirve para identificar otros módulos con los que se debe usar este; la
7835 \begin_inset Flex Code
7838 \begin_layout Plain Layout
7844 identifica los módulos con los que este no se puede usar.
7845 Ambas son opcionales, y, como se ve, varios módulos deben separarse con
7846 el símbolo tubería: |.
7847 Anotar que los módulos requeridos se tratan de forma disyuntiva: debe usarse
7852 de los módulos requeridos.
7858 Aquí, los módulos se identifican por sus nombres de archivo sin la extensión
7860 \begin_inset Flex Code
7863 \begin_layout Plain Layout
7871 \begin_inset Flex Code
7874 \begin_layout Plain Layout
7881 \begin_inset Flex Code
7884 \begin_layout Plain Layout
7893 \begin_layout Subsection
7894 Número de formatoLa primera línea no comentada de cualquier archivo `layout',
7899 contener el número de formato del archivo:
7902 \begin_layout Description
7903 \begin_inset Flex Code
7906 \begin_layout Plain Layout
7913 \begin_inset Flex Code
7916 \begin_layout Plain Layout
7922 ] El número de formato del archivo `layout'.
7925 \begin_layout Standard
7926 Esta etiqueta se introdujo en LyX
7927 \begin_inset space ~
7931 Los archivos de formato de LyX
7932 \begin_inset space ~
7935 1.3.x y anteriores no tienen un número explícito y se considera de
7936 \begin_inset Flex Code
7939 \begin_layout Plain Layout
7941 \begin_inset space ~
7950 El número para la versión actual de LyX es formato 35.
7951 Cada versión de LyX es capaz de leer los formatos de versiones anteriores,
7952 de la misma forma que puede leer archivos producidos con versiones de LyX
7954 Sin embargo, no está previsto convertir a formatos anteriores.
7957 \begin_layout Subsection
7958 Parámetros generales de clases de texto
7959 \begin_inset CommandInset label
7961 name "sub:Parámetros-generales-clases"
7968 \begin_layout Standard
7969 Estos son los parámetros generales que describen completamente una clase
7975 significa que deban aparecer en archivos
7976 \begin_inset Flex Code
7979 \begin_layout Plain Layout
7985 en vez de en módulos.
7986 Un módulo puede contener cualquier etiqueta de formato).
7989 \begin_layout Description
7990 \begin_inset Flex Code
7993 \begin_layout Plain Layout
7999 Añade información para el bloque
8000 \begin_inset Flex Code
8003 \begin_layout Plain Layout
8009 cuando el documento se exporte a XHTML.
8010 Típicamente, debería usarse para exportar información de estilo CSS, aunque
8011 se puede usar para cualquier cosa que pueda aparecer en
8012 \begin_inset Flex Code
8015 \begin_layout Plain Layout
8023 \begin_inset Quotes eld
8027 \begin_inset Flex Code
8030 \begin_layout Plain Layout
8037 \begin_inset Quotes erd
8043 \begin_layout Description
8044 \begin_inset Flex Code
8047 \begin_layout Plain Layout
8053 Añade información al preámbulo del documento.
8055 \begin_inset Quotes fld
8059 \begin_inset Flex Code
8062 \begin_layout Plain Layout
8069 \begin_inset Quotes frd
8075 \begin_layout Description
8076 \begin_inset Flex Code
8079 \begin_layout Plain Layout
8085 Define formatos a usar en la presentación de información bibliográfica.
8087 \begin_inset space ~
8091 \begin_inset CommandInset ref
8093 reference "sub:Descripción-formato-cita"
8099 \begin_inset Quotes eld
8103 \begin_inset Flex Code
8106 \begin_layout Plain Layout
8113 \begin_inset Quotes erd
8119 \begin_layout Description
8120 \begin_inset Flex Code
8123 \begin_layout Plain Layout
8129 Describe varias opciones globales soportadas por la clase de documento.
8131 \begin_inset space ~
8135 \begin_inset CommandInset ref
8137 reference "sub:ClassOptions"
8141 para una descripción.
8143 \begin_inset Quotes fld
8147 \begin_inset Flex Code
8150 \begin_layout Plain Layout
8157 \begin_inset Quotes frd
8163 \begin_layout Description
8164 \begin_inset Flex Code
8167 \begin_layout Plain Layout
8174 \begin_inset Flex Code
8177 \begin_layout Plain Layout
8186 \begin_inset space \thinspace{}
8190 \begin_inset Flex Code
8193 \begin_layout Plain Layout
8199 ] Establece el número de columnas por omisión.
8200 Se puede cambiar en el diálogo
8201 \begin_inset Flex MenuItem
8204 \begin_layout Plain Layout
8205 Documento\SpecialChar \menuseparator
8214 \begin_layout Description
8215 \begin_inset Flex Code
8218 \begin_layout Plain Layout
8224 Esta secuencia define un nuevo contador.
8226 \begin_inset space ~
8230 \begin_inset CommandInset ref
8232 reference "sub:Contadores"
8238 \begin_inset Quotes fld
8242 \begin_inset Flex Code
8245 \begin_layout Plain Layout
8252 \begin_inset Quotes frd
8258 \begin_layout Description
8259 \begin_inset Flex Code
8262 \begin_layout Plain Layout
8268 Establece la tipografía por omisión para presentar el documento.
8270 \begin_inset space ~
8274 \begin_inset CommandInset ref
8276 reference "sub:Tipografías"
8280 para cómo declarar tipografías.
8282 \begin_inset Quotes fld
8286 \begin_inset Flex Code
8289 \begin_layout Plain Layout
8296 \begin_inset Quotes frd
8302 \begin_layout Description
8303 \begin_inset Flex Code
8306 \begin_layout Plain Layout
8313 \begin_inset Flex Code
8316 \begin_layout Plain Layout
8322 ] Especifica un módulo que se incluirá por omisión en esta clase de documento;
8323 deberá declararse por su nombre de archivo sin la extensión
8324 \begin_inset Flex Code
8327 \begin_layout Plain Layout
8334 El usuario puede, aún así, quitar el módulo, pero estará activo al principio.
8335 (Esto se aplica solo cuando se crean archivos nuevos, o si esta clase se
8336 elige para un documento existente.)
8339 \begin_layout Description
8340 \begin_inset Flex Code
8343 \begin_layout Plain Layout
8350 \begin_inset Flex Code
8353 \begin_layout Plain Layout
8359 ] Este es el estilo que será asignado a párrafos nuevos, generalmente
8360 \begin_inset Flex MenuItem
8363 \begin_layout Plain Layout
8370 Si no se especifica, se escogerá por omisión el primer estilo definido,
8371 pero es muy recomendable usar esta instrucción.
8374 \begin_layout Description
8375 \begin_inset Flex Code
8378 \begin_layout Plain Layout
8385 \begin_inset Flex Code
8388 \begin_layout Plain Layout
8394 ] Indica que el módulo en cuestión (que debería especificarse por el nombre
8395 de archivo sin la extensión
8396 \begin_inset Flex Code
8399 \begin_layout Plain Layout
8405 ) no puede utilizarse con esta clase de documento.
8406 Esto podría usarse en un archivo de formato específico de una publicación
8407 para, digamos, impedir el empleo del módulo
8408 \begin_inset Flex Code
8411 \begin_layout Plain Layout
8417 , que numera los teoremas y demás por secciones.
8422 puede utilizarse en un módulo.
8423 Los módulos tienen su propia forma de excluir otros módulos (véase
8424 \begin_inset space ~
8428 \begin_inset CommandInset ref
8430 reference "sub:Módulos-de-formato"
8437 \begin_layout Description
8438 \begin_inset Flex Code
8441 \begin_layout Plain Layout
8447 Define un nuevo flotante.
8449 \begin_inset space ~
8453 \begin_inset CommandInset ref
8455 reference "sub:Flotantes"
8461 \begin_inset Quotes fld
8465 \begin_inset Flex Code
8468 \begin_layout Plain Layout
8475 \begin_inset Quotes frd
8481 \begin_layout Description
8482 \begin_inset Flex Code
8485 \begin_layout Plain Layout
8491 Da información para el bloque
8492 \begin_inset Flex Code
8495 \begin_layout Plain Layout
8501 cuando esta clase de documento se exporte a XHTML.
8502 Advertir que esto sobrescribirá completamente cualquier declaración anterior
8504 \begin_inset Flex Code
8507 \begin_layout Plain Layout
8514 \begin_inset Flex Code
8517 \begin_layout Plain Layout
8525 \begin_inset Flex Code
8528 \begin_layout Plain Layout
8534 si solo quieres añadir material al preámbulo).
8536 \begin_inset Quotes eld
8540 \begin_inset Flex Code
8543 \begin_layout Plain Layout
8550 \begin_inset Quotes erd
8556 \begin_layout Description
8557 \begin_inset Flex Code
8560 \begin_layout Plain Layout
8567 \begin_inset Flex Code
8570 \begin_layout Plain Layout
8578 The style to use for the
8580 índice general, bibliografía, etc., cuando el documento se exporte a HTML.
8581 Para article, normalmente será
8582 \begin_inset Flex Code
8585 \begin_layout Plain Layout
8592 \begin_inset Flex Code
8595 \begin_layout Plain Layout
8602 Si no se especifica, LyX intentará deducir qué formato usar.
8605 \begin_layout Description
8606 \begin_inset Flex Code
8609 \begin_layout Plain Layout
8616 \begin_inset Flex Code
8619 \begin_layout Plain Layout
8625 ] Modifica las propiedades del contador dado.
8626 Si el contador no existe, esta sección se ignora.
8628 \begin_inset Quotes eld
8632 \begin_inset Flex Code
8635 \begin_layout Plain Layout
8642 \begin_inset Quotes erd
8646 \begin_inset Newline newline
8650 \begin_inset space ~
8654 \begin_inset CommandInset ref
8656 reference "sub:Contadores"
8663 \begin_layout Description
8664 \begin_inset Flex Code
8667 \begin_layout Plain Layout
8674 \begin_inset Flex Code
8677 \begin_layout Plain Layout
8683 ] Modifica las propiedades del estilo de párrafo dado.
8684 Si el estilo no existe, esta sección se ignora.
8686 \begin_inset Quotes eld
8690 \begin_inset Flex Code
8693 \begin_layout Plain Layout
8700 \begin_inset Quotes erd
8706 \begin_layout Description
8707 \begin_inset Flex Code
8710 \begin_layout Plain Layout
8717 \begin_inset Flex Code
8720 \begin_layout Plain Layout
8726 ] Permite incluir otro archivo de definición de formato en el tuyo con el
8727 fin de evitar la duplicación de comandos.
8728 Ejemplos habituales son los archivos de formatos estándar, como
8729 \begin_inset Flex Code
8732 \begin_layout Plain Layout
8738 , que contiene la mayoría de los diseños básicos.
8741 \begin_layout Description
8742 \begin_inset Flex Code
8745 \begin_layout Plain Layout
8752 \begin_inset Flex Code
8755 \begin_layout Plain Layout
8761 ] Esta sección (re)define el formato de un recuadro.
8762 Puede aplicarse a uno existente o a uno nuevo, definido por el usuario,
8764 \begin_inset space \thinspace{}
8767 e., un nuevo estilo de texto.
8769 \begin_inset space ~
8773 \begin_inset CommandInset ref
8775 reference "sub:estilo-del-texto"
8779 para más información.
8781 \begin_inset Quotes fld
8785 \begin_inset Flex Code
8788 \begin_layout Plain Layout
8795 \begin_inset Quotes frd
8801 \begin_layout Description
8802 \begin_inset Flex Code
8805 \begin_layout Plain Layout
8812 \begin_inset Flex Code
8815 \begin_layout Plain Layout
8821 ] Una cadena que indica la anchura del margen izquierdo en la pantalla,
8823 \begin_inset Quotes fld
8827 \begin_inset Flex Code
8830 \begin_layout Plain Layout
8837 \begin_inset Quotes frd
8841 (Esto no es una `longitud', como
8842 \begin_inset Quotes fld
8846 \begin_inset Quotes frd
8852 \begin_layout Description
8853 \begin_inset Flex Code
8856 \begin_layout Plain Layout
8863 \begin_inset Flex Code
8866 \begin_layout Plain Layout
8872 ] Este comando elimina un contador existente, generalmente uno definido
8873 en un archivo incluido.
8876 \begin_layout Description
8877 \begin_inset Flex Code
8880 \begin_layout Plain Layout
8887 \begin_inset Flex Code
8890 \begin_layout Plain Layout
8896 ] Este comando borra un flotante existente.
8897 Es particularmente útil si quieres suprimir un flotante que ha sido definido
8898 en un archivo de entrada.
8901 \begin_layout Description
8902 \begin_inset Flex Code
8905 \begin_layout Plain Layout
8912 \begin_inset Flex Code
8915 \begin_layout Plain Layout
8921 ] Este comando borra un estilo existente.
8924 \begin_layout Description
8925 \begin_inset Flex Code
8928 \begin_layout Plain Layout
8935 \begin_inset Flex Code
8938 \begin_layout Plain Layout
8944 ] El formato de archivo (tal como se define en las preferencias de LyX)
8945 producido por esta clase.
8946 Principalmente, es útil cuando
8947 \begin_inset Flex Code
8950 \begin_layout Plain Layout
8957 \begin_inset Flex Code
8960 \begin_layout Plain Layout
8966 y se quiere definir un nuevo tipo de documento `literate'.
8967 Esta cadena se redefine a
8968 \begin_inset Quotes fld
8972 \begin_inset Flex Code
8975 \begin_layout Plain Layout
8982 \begin_inset Quotes frd
8986 \begin_inset Quotes fld
8990 \begin_inset Flex Code
8993 \begin_layout Plain Layout
9000 \begin_inset Quotes frd
9003 si se encuentra el correspondiente parámetro
9004 \begin_inset Flex Code
9007 \begin_layout Plain Layout
9016 \begin_layout Description
9017 \begin_inset Flex Code
9020 \begin_layout Plain Layout
9027 \begin_inset Flex Code
9030 \begin_layout Plain Layout
9041 \begin_inset Flex Code
9044 \begin_layout Plain Layout
9051 \begin_inset Flex Code
9054 \begin_layout Plain Layout
9060 ] Indica qué clase de documentos de salida que usan esta clase se generarán.
9063 \begin_layout Description
9064 \begin_inset Flex Code
9067 \begin_layout Plain Layout
9074 \begin_inset Flex Code
9077 \begin_layout Plain Layout
9084 \begin_inset Flex Code
9087 \begin_layout Plain Layout
9095 Specifies options, given in the second string, for the package named by
9100 \begin_inset Quotes fld
9104 \begin_inset Flex Code
9107 \begin_layout Plain Layout
9108 PackageOptions natbib square
9114 \begin_inset Quotes frd
9120 \begin_inset Flex Code
9123 \begin_layout Plain Layout
9131 to be loaded with the
9132 \begin_inset Flex Code
9135 \begin_layout Plain Layout
9144 (For TeXperts, this causes LyX to output:
9147 \begin_inset Flex Code
9150 \begin_layout Plain Layout
9153 PassOptionsToPackage{natbib}{square}
9163 \begin_inset Flex Code
9166 \begin_layout Plain Layout
9175 \begin_layout Description
9176 \begin_inset Flex Code
9179 \begin_layout Plain Layout
9186 \begin_inset Flex Code
9189 \begin_layout Plain Layout
9198 \begin_inset Flex Code
9201 \begin_layout Plain Layout
9208 \begin_inset Flex Code
9211 \begin_layout Plain Layout
9221 El estilo de página predeterminado de la clase.
9222 Puede cambiarse en el diálogo
9223 \begin_inset Flex MenuItem
9226 \begin_layout Plain Layout
9227 Documento\SpecialChar \menuseparator
9236 \begin_layout Description
9237 \begin_inset Flex Code
9240 \begin_layout Plain Layout
9246 Establece el preámbulo LaTeX para el documento.
9247 Anotar que esto anulará completamente cualesquiera declaraciones
9248 \begin_inset Flex Code
9251 \begin_layout Plain Layout
9258 \begin_inset Flex Code
9261 \begin_layout Plain Layout
9269 \begin_inset Flex Code
9272 \begin_layout Plain Layout
9278 si solo quieres añadir material al preámbulo).
9280 \begin_inset Quotes fld
9284 \begin_inset Flex Code
9287 \begin_layout Plain Layout
9294 \begin_inset Quotes frd
9300 \begin_layout Description
9301 \begin_inset Flex Code
9304 \begin_layout Plain Layout
9311 \begin_inset Flex Code
9314 \begin_layout Plain Layout
9321 \begin_inset Flex Code
9324 \begin_layout Plain Layout
9333 \begin_inset Flex Code
9336 \begin_layout Plain Layout
9342 ] Si la clase ya proporciona, o no, la característica
9343 \begin_inset Flex Code
9346 \begin_layout Plain Layout
9353 Una característica es en general el nombre de un paquete (
9354 \begin_inset Flex Code
9357 \begin_layout Plain Layout
9364 \begin_inset Flex Code
9367 \begin_layout Plain Layout
9373 , \SpecialChar \ldots{}
9375 \begin_inset Flex Code
9378 \begin_layout Plain Layout
9385 \begin_inset Flex Code
9388 \begin_layout Plain Layout
9394 ,\SpecialChar \ldots{}
9398 \begin_inset space ~
9402 \begin_inset CommandInset ref
9404 reference "chap:List-of-functions"
9408 for the list of features.
9411 \begin_layout Description
9412 \begin_inset Flex Code
9415 \begin_layout Plain Layout
9422 \begin_inset Flex Code
9425 \begin_layout Plain Layout
9431 ] Indica que este formato proporciona la funcionalidad del módulo mencionado,
9432 que deberá especificarse con su nombre de archivo sin la extensión
9433 \begin_inset Flex Code
9436 \begin_layout Plain Layout
9443 Esto se usará típicamente si el formato incluye el módulo directamente,
9444 preferiblemente a usar la etiqueta
9445 \begin_inset Flex Code
9448 \begin_layout Plain Layout
9454 para indicar que debería utilizarse.
9455 Podría ser empleado en un módulo que provea una implementación alternativa
9456 de la misma funcionalidad.
9459 \begin_layout Description
9460 \begin_inset Flex Code
9463 \begin_layout Plain Layout
9470 \begin_inset Flex Code
9473 \begin_layout Plain Layout
9479 ] Si la clase requiere la característica
9480 \begin_inset Flex Code
9483 \begin_layout Plain Layout
9490 Múltiples características deben separarse con comas.
9491 Multiple features must be separated by commas.
9492 Anotar que solo se pueden demandar características soportadas.
9496 \begin_inset space ~
9500 \begin_inset CommandInset ref
9502 reference "chap:List-of-functions"
9506 for the list of features
9511 \begin_layout Description
9512 \begin_inset Flex Code
9515 \begin_layout Plain Layout
9522 \begin_inset Flex Code
9525 \begin_layout Plain Layout
9531 ] Una cadena que indica la anchura del margen derecho en la pantalla, por
9533 \begin_inset Quotes fld
9537 \begin_inset Flex Code
9540 \begin_layout Plain Layout
9547 \begin_inset Quotes frd
9553 \begin_layout Description
9554 \begin_inset Flex Code
9557 \begin_layout Plain Layout
9564 \begin_inset Flex Code
9567 \begin_layout Plain Layout
9573 ] Establece qué divisiones se numeran.
9574 Corresponde al contador LaTeX
9575 \begin_inset Flex Code
9578 \begin_layout Plain Layout
9587 \begin_layout Description
9588 \begin_inset Flex Code
9591 \begin_layout Plain Layout
9600 \begin_inset Flex Code
9603 \begin_layout Plain Layout
9612 \begin_inset space \thinspace{}
9616 \begin_inset Flex Code
9619 \begin_layout Plain Layout
9625 ] Si debe imprimirse en una o en ambas caras del papel.
9626 Se puede cambiar en el diálogo
9627 \begin_inset Flex MenuItem
9630 \begin_layout Plain Layout
9631 Documento\SpecialChar \menuseparator
9640 \begin_layout Description
9641 \begin_inset Flex Code
9644 \begin_layout Plain Layout
9651 \begin_inset Flex Code
9654 \begin_layout Plain Layout
9660 ] Esta secuencia define un nuevo estilo de párrafo.
9661 Si el estilo ya existe, en ese caso se redefinirán algunos de los parámetros.
9663 \begin_inset space ~
9667 \begin_inset CommandInset ref
9669 reference "sub:Estilos-de-párrafo"
9675 \begin_inset Quotes fld
9679 \begin_inset Flex Code
9682 \begin_layout Plain Layout
9689 \begin_inset Quotes frd
9695 \begin_layout Description
9696 \begin_inset Flex Code
9699 \begin_layout Plain Layout
9706 \begin_inset Flex Code
9709 \begin_layout Plain Layout
9715 ] El nombre del comando de entorno a usar con
9716 \begin_inset Flex Code
9719 \begin_layout Plain Layout
9728 \begin_layout Description
9729 \begin_inset Flex Code
9732 \begin_layout Plain Layout
9739 \begin_inset Flex Code
9742 \begin_layout Plain Layout
9751 \begin_inset Flex Code
9754 \begin_layout Plain Layout
9760 ] Indica qué clase de diseño se emplea para definir el título de un documento.
9762 \begin_inset Flex Code
9765 \begin_layout Plain Layout
9771 significa que la macro con nombre
9772 \begin_inset Flex Code
9775 \begin_layout Plain Layout
9781 se insertará después del último formato que tiene
9782 \begin_inset Quotes fld
9786 \begin_inset Flex Code
9789 \begin_layout Plain Layout
9791 \begin_inset space ~
9800 \begin_inset Quotes frd
9805 \begin_inset Flex Code
9808 \begin_layout Plain Layout
9814 corresponde al caso en que todos los formatos que tienen
9815 \begin_inset Quotes fld
9819 \begin_inset Flex Code
9822 \begin_layout Plain Layout
9824 \begin_inset space ~
9833 \begin_inset Quotes frd
9836 debería ser incluido en el entorno
9837 \begin_inset Flex Code
9840 \begin_layout Plain Layout
9849 \begin_layout Description
9850 \begin_inset Flex Code
9853 \begin_layout Plain Layout
9860 \begin_inset Flex Code
9863 \begin_layout Plain Layout
9869 ] Establece qué divisiones se incluyen en el índice general.
9870 Corresponde al contador LaTeX
9871 \begin_inset Flex Code
9874 \begin_layout Plain Layout
9883 \begin_layout Subsection
9885 \begin_inset Flex Code
9888 \begin_layout Plain Layout
9895 \begin_inset CommandInset label
9897 name "sub:ClassOptions"
9904 \begin_layout Standard
9906 \begin_inset Flex Code
9909 \begin_layout Plain Layout
9915 puede contener las siguientes entradas:
9918 \begin_layout Description
9919 \begin_inset Flex Code
9922 \begin_layout Plain Layout
9929 \begin_inset Flex Code
9932 \begin_layout Plain Layout
9938 ] La lista de los tamaños de carácter disponibles para la tipografía principal
9939 del documento, separados por
9940 \begin_inset Quotes fld
9944 \begin_inset Flex Code
9947 \begin_layout Plain Layout
9954 \begin_inset Quotes frd
9960 \begin_layout Description
9961 \begin_inset Flex Code
9964 \begin_layout Plain Layout
9970 Para establecer la línea DTD con las clases con salida basada en XML.
9972 \begin_inset space \thinspace{}
9976 \begin_inset Quotes fld
9979 -//OASIS//DTD DocBook V4.2//EN
9980 \begin_inset Quotes frd
9986 \begin_layout Description
9987 \begin_inset Flex Code
9990 \begin_layout Plain Layout
9997 \begin_inset Flex Code
10000 \begin_layout Plain Layout
10006 ] Algunas opciones de clase de documento, separadas por coma, que se añadirán
10007 a la parte opcional del comando
10008 \begin_inset Flex Code
10011 \begin_layout Plain Layout
10022 \begin_layout Description
10023 \begin_inset Flex Code
10026 \begin_layout Plain Layout
10033 \begin_inset Flex Code
10036 \begin_layout Plain Layout
10037 string="empty|plain|headings|fancy"
10042 ] Lista de los estilos de página disponibles, separados por
10043 \begin_inset Quotes fld
10047 \begin_inset Flex Code
10050 \begin_layout Plain Layout
10057 \begin_inset Quotes frd
10063 \begin_layout Standard
10065 \begin_inset Flex Code
10068 \begin_layout Plain Layout
10075 \begin_inset Quotes fld
10079 \begin_inset Flex Code
10082 \begin_layout Plain Layout
10089 \begin_inset Quotes frd
10095 \begin_layout Subsection
10097 \begin_inset CommandInset label
10099 name "sub:Estilos-de-párrafo"
10106 \begin_layout Standard
10107 Una descripción de estilo de párrafo tiene una aspecto como éste:
10111 \begin_layout Plain Layout
10112 Anotar que esto definirá un nuevo diseño o modificará uno existente.
10120 \begin_layout LyX-Code
10127 \begin_layout LyX-Code
10131 \begin_layout LyX-Code
10135 \begin_layout Standard
10136 donde se permiten los comandos siguientes:
10139 \begin_layout Description
10140 \begin_inset Flex Code
10143 \begin_layout Plain Layout
10150 \begin_inset Flex Code
10153 \begin_layout Plain Layout
10158 , left, right, center
10163 ] Alineación del párrafo.
10166 \begin_layout Description
10167 \begin_inset Flex Code
10170 \begin_layout Plain Layout
10177 \begin_inset Flex Code
10180 \begin_layout Plain Layout
10185 , left, right, center
10190 ] Una lista separada con comas de alineaciones permitidas.
10191 (Algunos estilos de LaTeX prohiben ciertos alineamientos, ya que no tendrían
10193 Por ejemplo una alineación a la derecha o al centro de una lista numerada
10197 \begin_layout Description
10198 \begin_inset Flex Code
10201 \begin_layout Plain Layout
10208 \begin_inset Flex Code
10211 \begin_layout Plain Layout
10219 Defines argument number <int> of a command\SpecialChar \slash{}
10220 environment associated with the
10222 This is useful for things like section headings, and only makes sense with
10224 Every (optional or required) argument of a command or environment -- except
10225 for the required argument that is associated with the content of the paragraph
10226 itself -- has a separate definition, where the number specifies the order
10228 The definition must end with
10229 \begin_inset Flex Code
10232 \begin_layout Plain Layout
10241 So a command with two optional arguments has:
10245 \begin_layout Quote
10251 \begin_layout Quote
10257 \begin_layout Quote
10263 \begin_layout Quote
10269 \begin_layout Quote
10275 \begin_layout Quote
10281 \begin_layout Standard
10285 \begin_inset Flex Code
10288 \begin_layout Plain Layout
10296 definition, the following specifications are possible:
10299 \begin_layout Itemize
10300 \begin_inset Flex Code
10303 \begin_layout Plain Layout
10310 \begin_inset Flex Code
10313 \begin_layout Plain Layout
10321 The string that will appear both in the menu (to insert this argument) and
10322 on the argument inset button (unless you also specify a separate
10323 \begin_inset Flex Code
10326 \begin_layout Plain Layout
10335 For the menu, you can define an accelerator by appending the respective
10336 character to the string, divided by
10337 \begin_inset Quotes fld
10341 \begin_inset Quotes frd
10345 \begin_inset space \thinspace{}
10349 \begin_inset space \space{}
10353 \begin_inset Quotes fld
10357 \begin_inset Flex Code
10360 \begin_layout Plain Layout
10369 \begin_inset Quotes frd
10375 \begin_layout Itemize
10376 \begin_inset Flex Code
10379 \begin_layout Plain Layout
10386 \begin_inset Flex Code
10389 \begin_layout Plain Layout
10397 A separate string for the menu.
10398 You can define an accelerator by appending the respective character to
10399 the string, divided by
10400 \begin_inset Quotes fld
10404 \begin_inset Quotes frd
10408 \begin_inset space \thinspace{}
10412 \begin_inset space \space{}
10416 \begin_inset Quotes fld
10420 \begin_inset Flex Code
10423 \begin_layout Plain Layout
10432 \begin_inset Quotes frd
10436 This specification is optional.
10437 If it is not given the
10438 \begin_inset Flex Code
10441 \begin_layout Plain Layout
10449 will be used instead for the menu.
10452 \begin_layout Itemize
10453 \begin_inset Flex Code
10456 \begin_layout Plain Layout
10463 \begin_inset Flex Code
10466 \begin_layout Plain Layout
10474 A longer explanatory text that appears in the tooltip when hovering over
10475 the argument inset.
10478 \begin_layout Itemize
10479 \begin_inset Flex Code
10482 \begin_layout Plain Layout
10489 \begin_inset Flex Code
10492 \begin_layout Plain Layout
10501 \begin_inset space \thinspace{}
10505 \begin_inset Flex Code
10508 \begin_layout Plain Layout
10516 Declare if this is a mandatory (1) or an optional (0) argument.
10517 Mandatory arguments will be output empty if not given, while optional arguments
10518 will not be output at all.
10519 By default, mandatory arguments are delimited by
10520 \begin_inset Flex Code
10523 \begin_layout Plain Layout
10531 , while optional arguments are delimited by
10532 \begin_inset Flex Code
10535 \begin_layout Plain Layout
10546 \begin_layout Itemize
10547 \begin_inset Flex Code
10550 \begin_layout Plain Layout
10557 \begin_inset Flex Code
10560 \begin_layout Plain Layout
10568 defines another argument (by its number) which this argument requires to
10569 be output if it is itself output.
10571 \begin_inset space \thinspace{}
10574 g., in LaTeX commands, optional arguments often require previous optional
10575 arguments to be output (at least empty), as in
10576 \begin_inset Flex Code
10579 \begin_layout Plain Layout
10584 command[][argument]{text}
10590 This can be achieved by the statement
10591 \begin_inset Flex Code
10594 \begin_layout Plain Layout
10605 \begin_inset Flex Code
10608 \begin_layout Plain Layout
10617 \begin_layout Itemize
10618 \begin_inset Flex Code
10621 \begin_layout Plain Layout
10628 \begin_inset Flex Code
10631 \begin_layout Plain Layout
10639 defines a custom left delimiter (instead of
10640 \begin_inset Flex Code
10643 \begin_layout Plain Layout
10652 \begin_inset Flex Code
10655 \begin_layout Plain Layout
10664 A line break in the output can be indicated by
10667 \begin_inset Flex Code
10670 \begin_layout Plain Layout
10679 \begin_layout Itemize
10680 \begin_inset Flex Code
10683 \begin_layout Plain Layout
10690 \begin_inset Flex Code
10693 \begin_layout Plain Layout
10701 defines a custom right delimiter (instead of
10702 \begin_inset Flex Code
10705 \begin_layout Plain Layout
10714 \begin_inset Flex Code
10717 \begin_layout Plain Layout
10726 A line break in the output can be indicated by
10729 \begin_inset Flex Code
10732 \begin_layout Plain Layout
10741 \begin_layout Itemize
10742 \begin_inset Flex Code
10745 \begin_layout Plain Layout
10752 \begin_inset Flex Code
10755 \begin_layout Plain Layout
10763 defines an argument that is inserted if and only if no user-specified arguments
10765 \begin_inset space \thinspace{}
10769 \begin_inset space \space{}
10772 if no argument inset has been inserted (note that also an empty argument
10773 inset omits the DefaultArg).
10774 Multiple arguments need to be separated by comma.
10777 \begin_layout Itemize
10778 \begin_inset Flex Code
10781 \begin_layout Plain Layout
10788 \begin_inset Flex Code
10791 \begin_layout Plain Layout
10799 defines an argument that is inserted in any case (alone or in addition to
10800 user-specified arguments).
10801 Multiple arguments need to be separated by comma.
10804 \begin_layout Itemize
10805 \begin_inset Flex Code
10808 \begin_layout Plain Layout
10816 The font used for the argument content, see
10819 \begin_inset CommandInset ref
10821 reference "sub:Tipografías"
10828 \begin_layout Itemize
10829 \begin_inset Flex Code
10832 \begin_layout Plain Layout
10840 The font used for the label; see
10843 \begin_inset CommandInset ref
10845 reference "sub:Tipografías"
10852 \begin_layout Itemize
10853 \begin_inset Flex Code
10856 \begin_layout Plain Layout
10863 \begin_inset Flex Code
10866 \begin_layout Plain Layout
10871 , Minimalistic, Conglomerate
10878 describes the rendering style used for the inset's frame and buttons.
10881 \begin_layout Itemize
10882 \begin_inset Flex Code
10885 \begin_layout Plain Layout
10892 \begin_inset Flex Code
10895 \begin_layout Plain Layout
10904 \begin_inset Flex Code
10907 \begin_layout Plain Layout
10915 , this argument is automatically inserted when the respective style is selected.
10916 Currently, only one argument per style\SpecialChar \slash{}
10917 layout can be automatically inserted.
10920 \begin_layout Standard
10923 By default, the text entered in the LyX workarea in the respective layout
10924 is the last (mandatory) argument of a command if the
10925 \begin_inset Flex Code
10928 \begin_layout Plain Layout
10937 \begin_inset Flex Code
10940 \begin_layout Plain Layout
10949 However, arguments with the prefix
10950 \begin_inset Flex Code
10953 \begin_layout Plain Layout
10961 are output after this workarea argument.
10962 Note that post-argument numbering restarts at 1, so the first argument
10963 following the workarea argument is
10964 \begin_inset Flex Code
10967 \begin_layout Plain Layout
10976 Post-arguments are ignored in any other
10977 \begin_inset Flex Code
10980 \begin_layout Plain Layout
10989 \begin_inset Flex Code
10992 \begin_layout Plain Layout
11003 \begin_layout Standard
11007 \begin_inset Flex Code
11010 \begin_layout Plain Layout
11021 \begin_inset Flex Code
11024 \begin_layout Plain Layout
11035 \begin_inset Flex Code
11038 \begin_layout Plain Layout
11046 followed by the number (e.
11047 \begin_inset space \thinspace{}
11051 \begin_inset space \space{}
11055 \begin_inset Flex Code
11058 \begin_layout Plain Layout
11070 \begin_layout Description
11071 \begin_inset Flex Code
11074 \begin_layout Plain Layout
11080 Esto sobrescribirá completamente cualquier anterior declaración
11081 \begin_inset Newline newline
11085 \begin_inset Flex Code
11088 \begin_layout Plain Layout
11096 \begin_inset Quotes eld
11100 \begin_inset Flex Code
11103 \begin_layout Plain Layout
11110 \begin_inset Quotes erd
11115 \begin_inset space ~
11119 \begin_inset CommandInset ref
11121 reference "sub:I18n"
11125 para detalles sobre su uso.
11128 \begin_layout Description
11129 \begin_inset Flex Code
11132 \begin_layout Plain Layout
11139 \begin_inset Flex Code
11142 \begin_layout Plain Layout
11152 \begin_layout Plain Layout
11153 Anotar que aquí un 'float' es un número real, como: 1.5.
11158 El espacio vertical con el que el último de una cadena de párrafos con
11159 este estilo se separa del siguiente párrafo.
11160 Si el párrafo siguiente tiene otro estilo, las separaciones no son simplemente
11161 añadidas sino que se pone la máxima.
11164 \begin_layout Description
11165 \begin_inset Flex Code
11168 \begin_layout Plain Layout
11175 \begin_inset Flex Code
11178 \begin_layout Plain Layout
11184 La categoría para este estilo.
11185 Se usa para agrupar estilos relacionados en el recuadro de estilo en la
11186 barra de herramientas.
11187 Se puede poner cualquier cadena en 'string' pero mejor usar categorías
11188 existentes con tus propios estilos.
11191 \begin_layout Description
11192 \begin_inset Flex Code
11195 \begin_layout Plain Layout
11201 Profundidad del comando XML.
11202 Usado solo con formatos tipo XML.
11205 \begin_layout Description
11206 \begin_inset Flex Code
11209 \begin_layout Plain Layout
11216 \begin_inset Flex Code
11219 \begin_layout Plain Layout
11225 Copia todas las características de un estilo existente en el actual.
11229 \begin_layout Description
11230 \begin_inset Flex Code
11233 \begin_layout Plain Layout
11240 \begin_inset Flex Code
11243 \begin_layout Plain Layout
11249 ] El nombre de un estilo cuyo preámbulo debería salir
11254 Esto permite asegurar un orden de los retazos de preámbulo si las definiciones
11255 de macros dependen de otra.
11259 \begin_layout Plain Layout
11260 Anotar que, excepto esta funcionalidad, no hay forma de asegurar ningún
11261 orden de los preámbulos.
11262 El orden que se ve en una versión dada de LyX puede cambiar sin previo
11263 aviso en versiones posteriores.
11271 \begin_layout Description
11272 \begin_inset Flex Code
11275 \begin_layout Plain Layout
11282 \begin_inset Flex Code
11285 \begin_layout Plain Layout
11290 , Box, Filled_Box, Static
11295 ] El tipo de etiqueta que se pone al final del párrafo (o secuencia de párrafos
11297 \begin_inset Flex Code
11300 \begin_layout Plain Layout
11307 \begin_inset Flex Code
11310 \begin_layout Plain Layout
11317 \begin_inset Flex Code
11320 \begin_layout Plain Layout
11327 \begin_inset Flex Code
11330 \begin_layout Plain Layout
11338 \begin_inset Flex Code
11341 \begin_layout Plain Layout
11348 \begin_inset Quotes fld
11352 \begin_inset Quotes frd
11356 \begin_inset Flex Code
11359 \begin_layout Plain Layout
11366 \begin_inset Flex Code
11369 \begin_layout Plain Layout
11370 \begin_inset space ~
11378 ) es un cuadrado blanco (resp.
11379 \begin_inset space ~
11382 negro) adecuado para marcas finales de demostraciones,
11383 \begin_inset Flex Code
11386 \begin_layout Plain Layout
11392 es una cadena de texto explícito.
11395 \begin_layout Description
11396 \begin_inset Flex Code
11399 \begin_layout Plain Layout
11406 \begin_inset Flex Code
11409 \begin_layout Plain Layout
11415 ] La cadena usada para una etiqueta con un
11416 \begin_inset Flex Code
11419 \begin_layout Plain Layout
11426 \begin_inset Flex Code
11429 \begin_layout Plain Layout
11439 \begin_layout Description
11443 \begin_layout Plain Layout
11448 No estoy seguro de que estas configuraciones (Fill_Bottom, Fill_Top) tengan
11449 mucho uso, y probablemente se quitarán en próximas versiones.
11455 \begin_inset Note Note
11458 \begin_layout Plain Layout
11460 \begin_inset Quotes fld
11463 Espacio vertical encima
11464 \begin_inset Quotes frd
11468 \begin_inset Quotes fld
11471 Espacio vertical abajo
11472 \begin_inset Quotes erd
11475 en Editar\SpecialChar \menuseparator
11476 Configuración de párrafo, esto parece obsoleto, como dice Jean-Marc
11487 \begin_layout Description
11488 \begin_inset Flex Code
11491 \begin_layout Plain Layout
11497 La tipografía usada para el cuerpo del texto
11503 \begin_inset space ~
11507 \begin_inset CommandInset ref
11509 reference "sub:Tipografías"
11514 Anotar que al definir esta tipografía se define automáticamente la de la
11516 \begin_inset Flex Code
11519 \begin_layout Plain Layout
11526 Así que debería definirse primero ésta si se quiere definir también
11527 \begin_inset Flex Code
11530 \begin_layout Plain Layout
11539 \begin_layout Description
11540 \begin_inset Flex Code
11543 \begin_layout Plain Layout
11550 \begin_inset Flex Code
11553 \begin_layout Plain Layout
11561 Used for backporting new styles to stable LyX versions.
11562 The first stable version that supports this tag is LyX 2.1.0.
11563 The argment is a number which may either be 0, -1 or any value greater
11566 \begin_inset Flex Code
11569 \begin_layout Plain Layout
11577 flag of a style is greater than zero, it will always be written to the
11579 If a .lyx file is read, the style definitions from the document header are
11580 added to the document class.
11581 Therefore even older LyX versions can handle the style.
11583 \begin_inset Flex Code
11586 \begin_layout Plain Layout
11594 is a version number: If the style is read, and the version number is less
11595 than the version number of the already existing style in the document class,
11596 the new style is ignored.
11597 If the version number is greater, the new style replaces the existing style.
11598 A value of -1 means an infinite version number, i.
11599 \begin_inset space \thinspace{}
11603 \begin_inset space \space{}
11606 the style is always used.
11609 \begin_layout Description
11610 \begin_inset Flex Code
11613 \begin_layout Plain Layout
11622 \begin_inset Flex Code
11625 \begin_layout Plain Layout
11634 \begin_inset space \thinspace{}
11638 \begin_inset Flex Code
11641 \begin_layout Plain Layout
11647 ] Usualmente LyX no permite insertar más de un espacio entre palabras, puesto
11648 que un espacio se considera como la separación entre dos palabras, no un
11649 carácter o símbolo por sí mismo.
11650 Esto es una buena cosa pero a veces puede ser molesta, por ejemplo, para
11651 escribir código de programas o de LaTeX puro.
11652 Por esta razón se puede habilitar
11653 \begin_inset Flex Code
11656 \begin_layout Plain Layout
11663 Anotar que LyX creará espacios protegidos para los espacios adicionales
11664 en modos que no sean LaTeX.
11668 \begin_layout Description
11669 \begin_inset Flex Code
11672 \begin_layout Plain Layout
11678 Para la salida XHTML.
11680 \begin_inset CommandInset ref
11682 reference "sub:Estilos-de-párrafo-XHTML"
11689 \begin_layout Description
11690 \begin_inset Flex Code
11693 \begin_layout Plain Layout
11699 [[FIXME]] (Usado solo con formatos tipo XML.)
11702 \begin_layout Description
11703 \begin_inset Flex Code
11706 \begin_layout Plain Layout
11715 \begin_inset Flex Code
11718 \begin_layout Plain Layout
11729 \begin_inset space \thinspace{}
11733 \begin_inset Flex Code
11736 \begin_layout Plain Layout
11743 \begin_inset Flex Code
11746 \begin_layout Plain Layout
11752 , marca el estilo para ser incluido en el preámbulo del documento en lugar
11753 de en el cuerpo del documento.
11754 Útil para clases de documento que piden informaciones tales como título
11755 y autor en el preámbulo.
11756 Esto solo funciona para estilos para los que
11757 \begin_inset Flex Code
11760 \begin_layout Plain Layout
11767 \begin_inset Flex Code
11770 \begin_layout Plain Layout
11777 \begin_inset Flex Code
11780 \begin_layout Plain Layout
11789 \begin_layout Description
11790 \begin_inset Flex Code
11793 \begin_layout Plain Layout
11802 \begin_inset Flex Code
11805 \begin_layout Plain Layout
11816 \begin_inset space \thinspace{}
11820 \begin_inset Flex Code
11823 \begin_layout Plain Layout
11830 \begin_inset Flex Code
11833 \begin_layout Plain Layout
11839 , marca el estilo como parte de un bloque de título (véanse también las
11841 \begin_inset Flex Code
11844 \begin_layout Plain Layout
11851 \begin_inset Flex Code
11854 \begin_layout Plain Layout
11863 \begin_layout Description
11864 \begin_inset Flex Code
11867 \begin_layout Plain Layout
11874 \begin_inset Flex Code
11877 \begin_layout Plain Layout
11885 The LaTeX command sequence declaring an item in a list.
11886 The command is to be defined without the preceding backslash (the default
11890 \begin_inset Quotes eld
11894 \begin_inset Quotes erd
11902 \begin_inset Flex Code
11905 \begin_layout Plain Layout
11915 in the LaTeX output).
11918 \begin_layout Description
11919 \begin_inset Flex Code
11922 \begin_layout Plain Layout
11929 \begin_inset Flex Code
11932 \begin_layout Plain Layout
11938 ] Esto proporciona espacio extra entre párrafos que tienen el mismo formato.
11939 Si se ponen otros formatos en un entorno, cada uno es separado con el comando
11941 \begin_inset Flex Code
11944 \begin_layout Plain Layout
11951 Pero el conjunto de los ítems del entorno son separados adicionalmente
11953 \begin_inset Flex Code
11956 \begin_layout Plain Layout
11963 Anotar que esto es un
11968 \begin_layout Description
11969 \begin_inset Flex Code
11972 \begin_layout Plain Layout
11978 [[FIXME]] (Usado solo con formatos tipo XML.)
11981 \begin_layout Description
11982 \begin_inset Flex Code
11985 \begin_layout Plain Layout
11994 \begin_inset Flex Code
11997 \begin_layout Plain Layout
12008 \begin_inset space \thinspace{}
12012 \begin_inset Flex Code
12015 \begin_layout Plain Layout
12021 ] Habitualmente, LyX no permite dejar un párrafo vacío, porque llevaría
12022 a una salida de LaTeX vacía.
12023 Sin embargo, hay algunos casos donde podría ser útil: en una plantilla
12024 de carta, los campos requeridos pueden proporcionarse vacíos, así el usuario
12025 no los olvida; en algunos casos especiales, se puede usar un estilo que
12026 no contiene texto real como una especie de salto.
12029 \begin_layout Description
12030 \begin_inset Flex Code
12033 \begin_layout Plain Layout
12040 \begin_inset Flex Code
12043 \begin_layout Plain Layout
12049 ] El espacio vertical entre la etiqueta y el cuerpo del texto.
12050 Solo se usa para etiquetas que están sobre el cuerpo del texto (
12051 \begin_inset Flex Code
12054 \begin_layout Plain Layout
12061 \begin_inset Flex Code
12064 \begin_layout Plain Layout
12065 Centered_Top_Environment
12073 \begin_layout Description
12074 \begin_inset Flex Code
12077 \begin_layout Plain Layout
12088 \begin_inset Flex Code
12091 \begin_layout Plain Layout
12097 ] El nombre del contador para numeración automática.
12100 In order to have the counter appear with your label, you will need to reference
12102 \begin_inset Flex Code
12105 \begin_layout Plain Layout
12115 This will work with
12116 \begin_inset Flex Code
12119 \begin_layout Plain Layout
12128 \begin_inset Flex Code
12131 \begin_layout Plain Layout
12140 \begin_inset Flex Code
12143 \begin_layout Plain Layout
12152 \begin_inset Flex Code
12155 \begin_layout Plain Layout
12166 \begin_inset Newline newline
12174 \begin_inset Flex Code
12177 \begin_layout Plain Layout
12184 \begin_inset Flex Code
12187 \begin_layout Plain Layout
12193 , aunque este caso es un poco complicado.
12194 Supongamos que declaras
12195 \begin_inset Quotes eld
12199 \begin_inset Flex Code
12202 \begin_layout Plain Layout
12203 LabelCounter myenum
12209 \begin_inset Quotes erd
12213 Entonces, los contadores reales usados son
12214 \begin_inset Flex Code
12217 \begin_layout Plain Layout
12224 \begin_inset Flex Code
12227 \begin_layout Plain Layout
12234 \begin_inset Flex Code
12237 \begin_layout Plain Layout
12244 \begin_inset Flex Code
12247 \begin_layout Plain Layout
12254 Estos contadores deben declararse todos por separado.
12255 \begin_inset Newline newline
12259 \begin_inset CommandInset ref
12261 reference "sub:Contadores"
12265 para detalles sobre contadores
12266 \begin_inset Flex Code
12269 \begin_layout Plain Layout
12275 La tipografía usada para la etiqueta.
12277 \begin_inset space ~
12281 \begin_inset CommandInset ref
12283 reference "sub:Tipografías"
12290 \begin_layout Description
12291 \begin_inset Flex Code
12294 \begin_layout Plain Layout
12301 \begin_inset Flex Code
12304 \begin_layout Plain Layout
12310 ] Texto que indica cuánto se debe sangrar una etiqueta.
12313 \begin_layout Description
12314 \begin_inset Flex Code
12317 \begin_layout Plain Layout
12324 \begin_inset Flex Code
12327 \begin_layout Plain Layout
12333 ] Texto que indica el valor de espacio horizontal entre la etiqueta y el
12335 Solo se usa para etiquetas que no están sobre el cuerpo del texto.
12338 \begin_layout Description
12339 \begin_inset Flex Code
12342 \begin_layout Plain Layout
12349 \begin_inset Flex Code
12352 \begin_layout Plain Layout
12358 ] La cadena usada para una etiqueta del
12359 \begin_inset Flex Code
12362 \begin_layout Plain Layout
12369 \begin_inset Flex Code
12372 \begin_layout Plain Layout
12380 \begin_inset Flex Code
12383 \begin_layout Plain Layout
12389 está establecido, esta cadena puede contener los comandos especiales de
12390 formato descritos en la sección
12391 \begin_inset space ~
12395 \begin_inset CommandInset ref
12397 reference "sub:Contadores"
12404 \begin_layout Description
12405 \begin_inset Flex Code
12408 \begin_layout Plain Layout
12409 LabelStringAppendix
12415 \begin_inset Flex Code
12418 \begin_layout Plain Layout
12424 ] Esta se usa en el apéndice en vez de
12425 \begin_inset Flex Code
12428 \begin_layout Plain Layout
12435 Anotar que toda declaración de
12436 \begin_inset Flex Code
12439 \begin_layout Plain Layout
12445 reconfigura también
12446 \begin_inset Newline newline
12450 \begin_inset Flex Code
12453 \begin_layout Plain Layout
12454 LabelStringAppendix
12462 \begin_layout Description
12463 \begin_inset Flex Code
12466 \begin_layout Plain Layout
12472 [FIXME] (Usado solo con formatos tipo XML.)
12475 \begin_layout Description
12476 \begin_inset Flex Code
12479 \begin_layout Plain Layout
12490 \begin_inset Flex Code
12493 \begin_layout Plain Layout
12498 , Manual, Static, Above,
12499 \begin_inset Newline newline
12502 Centered, Sensitive, Enumerate,
12503 \begin_inset Newline newline
12506 Itemize, Bibliography
12515 \begin_layout Description
12516 \begin_inset Flex Code
12519 \begin_layout Plain Layout
12525 significa que la etiqueta es la primera palabra (hasta elprimer espacio
12527 Usa espacios protegidos si quieres más de una palabra como etiqueta.
12531 \begin_layout Description
12532 \begin_inset Flex Code
12535 \begin_layout Plain Layout
12541 significa que la etiqueta es simplemente cualquier
12542 \begin_inset Flex Code
12545 \begin_layout Plain Layout
12551 declarado como tal.
12554 This will be displayed
12555 \begin_inset Quotes fld
12559 \begin_inset Quotes frd
12562 , at the beginning of the paragraph.
12564 \begin_inset Flex Code
12567 \begin_layout Plain Layout
12576 \begin_inset Flex Code
12579 \begin_layout Plain Layout
12587 , then it will be displayed only in the first paragraph of any sequence
12588 of paragraphs with the same
12591 \begin_inset Flex Code
12594 \begin_layout Plain Layout
12603 \begin_layout Description
12604 \begin_inset Flex Code
12607 \begin_layout Plain Layout
12614 \begin_inset space ~
12618 \begin_inset space ~
12622 \begin_inset Flex Code
12625 \begin_layout Plain Layout
12631 son casos especiales de
12632 \begin_inset Flex Code
12635 \begin_layout Plain Layout
12642 La etiqueta se imprimirá encima del párrafo,
12644 either at the beginning of the line or centered
12649 \begin_layout Description
12650 \begin_inset Flex Code
12653 \begin_layout Plain Layout
12659 es un caso especial para las etiquetas de las leyendas de
12660 \begin_inset Quotes fld
12664 \begin_inset Quotes frd
12668 \begin_inset Quotes fld
12672 \begin_inset Quotes frd
12677 \begin_inset Flex Code
12680 \begin_layout Plain Layout
12686 quiere decir que la cadena (en código) de la etiqueta depende de la clase
12687 de flotante: Está codificado para ser `FloatType N', donde N es el valor
12688 del contador asociado al flotante.
12691 For the case that a caption is inserted outside of a float the
12692 \begin_inset Flex Code
12695 \begin_layout Plain Layout
12704 \begin_inset Quotes fld
12710 \begin_inset Quotes frd
12716 \begin_layout Description
12717 \begin_inset Flex Code
12720 \begin_layout Plain Layout
12726 produce los tipos habituales de etiquetas de enumeración.
12727 Por ahora está codificado para usar números arábigos, minúsculas, números
12728 romanos en minúsculas y mayúsculas, respectivamente, para los cuatro niveles
12729 de profundidad posibles.
12732 \begin_layout Description
12733 \begin_inset Flex Code
12736 \begin_layout Plain Layout
12742 produce varias marcas para los distintos niveles.
12743 También está codificado.
12746 \begin_layout Description
12747 \begin_inset Flex Code
12750 \begin_layout Plain Layout
12756 solo debería emplearse con
12757 \begin_inset Flex Code
12760 \begin_layout Plain Layout
12761 LatexType BibEnvironment
12770 \begin_layout Description
12771 \begin_inset Flex Code
12774 \begin_layout Plain Layout
12780 Esto sobrescribirá completamente cualquier declaración anterior de
12781 \begin_inset Flex Code
12784 \begin_layout Plain Layout
12792 \begin_inset Quotes eld
12796 \begin_inset Flex Code
12799 \begin_layout Plain Layout
12806 \begin_inset Quotes erd
12811 \begin_inset CommandInset ref
12813 reference "sub:I18n"
12817 para detallessobre su uso.
12820 \begin_layout Description
12821 \begin_inset Flex Code
12824 \begin_layout Plain Layout
12831 \begin_inset Flex Code
12834 \begin_layout Plain Layout
12840 ] El nombre correspondiente en LaTeX, ya sea de un comando o de un entorno.
12843 \begin_layout Description
12844 \begin_inset Flex Code
12847 \begin_layout Plain Layout
12854 \begin_inset Flex Code
12857 \begin_layout Plain Layout
12863 ] Un parámetro opcional para el correspondiente
12864 \begin_inset Flex Code
12867 \begin_layout Plain Layout
12874 Este parámetro no se puede cambiar desde dentro de LyX
12877 \begin_inset Flex Code
12880 \begin_layout Plain Layout
12888 for customizable parameters).
12889 This will be output as is after all LaTeX
12892 \begin_inset Flex Code
12895 \begin_layout Plain Layout
12904 \begin_layout Description
12905 \begin_inset Flex Code
12908 \begin_layout Plain Layout
12915 \begin_inset Flex Code
12918 \begin_layout Plain Layout
12923 , Command, Environment, Item_Environment,
12924 \begin_inset Newline newline
12927 List_Environment, Bib_Environment
12932 ] Cómo debería traducirse el estilo a LaTeX.
12936 \begin_layout Plain Layout
12937 \begin_inset Flex Code
12940 \begin_layout Plain Layout
12946 es un poco engañoso porque estas reglas se aplican también a clases SGML.
12947 Consulta los archivos de clases SGML
12950 \begin_inset Flex Code
12953 \begin_layout Plain Layout
12963 para ejemplos concretos.
12972 \begin_layout Description
12973 \begin_inset Flex Code
12976 \begin_layout Plain Layout
12982 no significa nada especial.
12985 \begin_layout Description
12986 \begin_inset Flex Code
12989 \begin_layout Plain Layout
12996 \begin_inset Flex Code
12999 \begin_layout Plain Layout
13006 {\SpecialChar \ldots{}
13015 \begin_layout Description
13016 \begin_inset Flex Code
13019 \begin_layout Plain Layout
13026 \begin_inset Flex Code
13029 \begin_layout Plain Layout
13036 }\SpecialChar \ldots{}
13051 \begin_layout Description
13052 \begin_inset Flex Code
13055 \begin_layout Plain Layout
13062 \begin_inset Flex Code
13065 \begin_layout Plain Layout
13072 \begin_inset Flex Code
13075 \begin_layout Plain Layout
13083 se genera para cada párrafo de este entorno.
13086 \begin_layout Description
13087 \begin_inset Flex Code
13090 \begin_layout Plain Layout
13097 \begin_inset Flex Code
13100 \begin_layout Plain Layout
13107 \begin_inset Newline newline
13111 \begin_inset Flex Code
13114 \begin_layout Plain Layout
13120 se pasa como un argumento al entorno.
13121 \begin_inset Newline newline
13125 \begin_inset Flex Code
13128 \begin_layout Plain Layout
13134 puede definirse en el diálogo
13135 \begin_inset Flex MenuItem
13138 \begin_layout Plain Layout
13139 Editar\SpecialChar \menuseparator
13141 \begin_inset space ~
13145 \begin_inset space ~
13156 \begin_layout Description
13159 \begin_inset Flex Code
13162 \begin_layout Plain Layout
13171 \begin_inset Flex Code
13174 \begin_layout Plain Layout
13182 but adds additionally the necessary mandatory argument (the longest label)
13183 to the begin statement of the bibliography environment:
13184 \begin_inset Newline newline
13188 \begin_inset Flex Code
13191 \begin_layout Plain Layout
13196 begin{thebibliography}{99}
13201 It is therefore only useful for bibliography environments.
13202 The default longest label
13203 \begin_inset Quotes eld
13207 \begin_inset Quotes erd
13210 can be changed by the user in the paragraph settings of a bibliography
13214 \begin_layout Standard
13215 Poniendo juntas las últimas cosas, la salida LaTeX será una de estas:
13218 \begin_layout LyX-Code
13221 LatexName[LatexParam]{\SpecialChar \ldots{}
13225 \begin_layout Standard
13229 \begin_layout LyX-Code
13232 begin{LatexName}[LatexParam] \SpecialChar \ldots{}
13238 \begin_layout Standard
13239 dependiendo del tipo de LaTeX.
13243 \begin_layout Description
13244 \begin_inset Flex Code
13247 \begin_layout Plain Layout
13254 \begin_inset Flex Code
13257 \begin_layout Plain Layout
13265 A string that is put at the beginning of the style content.
13266 A line break in the output can be indicated by
13269 \begin_inset Flex Code
13272 \begin_layout Plain Layout
13281 \begin_layout Description
13282 \begin_inset Flex Code
13285 \begin_layout Plain Layout
13292 \begin_inset Flex Code
13295 \begin_layout Plain Layout
13301 ] Si pones estilos en entornos, los
13302 \begin_inset Flex Code
13305 \begin_layout Plain Layout
13311 no son simplemente añadidos, sino aumentados en un factor
13312 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
13316 Anotar que este parámetro se usa también cuando
13317 \begin_inset Flex Code
13320 \begin_layout Plain Layout
13327 \begin_inset Flex Code
13330 \begin_layout Plain Layout
13337 \begin_inset Flex Code
13340 \begin_layout Plain Layout
13347 En ese caso se añade al margen manual o dinámico.
13348 \begin_inset Newline newline
13352 \begin_inset Quotes fld
13356 \begin_inset Flex Code
13359 \begin_layout Plain Layout
13366 \begin_inset Quotes frd
13369 significa que el párrafo se sangra con la anchura de
13370 \begin_inset Quotes fld
13374 \begin_inset Flex Code
13377 \begin_layout Plain Layout
13384 \begin_inset Quotes frd
13387 en la tipografía normal.
13388 Se puede obtener una anchura negativa anteponiendo
13389 \begin_inset Quotes fld
13393 \begin_inset Flex Code
13396 \begin_layout Plain Layout
13403 \begin_inset Quotes frd
13407 Se eligió este método para que el aspecto sea el mismo con cada una de
13408 las tipografías de pantalla usadas.
13411 \begin_layout Description
13412 \begin_inset Flex Code
13415 \begin_layout Plain Layout
13422 \begin_inset Flex Code
13425 \begin_layout Plain Layout
13430 , Manual, Dynamic, First_Dynamic, Right_Address_Box
13436 \begin_inset Newline newline
13439 El tipo de margen que el estilo tiene en el lado izquierdo.
13443 \begin_layout Description
13444 \begin_inset Flex Code
13447 \begin_layout Plain Layout
13453 significa un margen fijo.
13456 \begin_layout Description
13457 \begin_inset Flex Code
13460 \begin_layout Plain Layout
13466 significa que el margen izquierdo depende de la cadena introducida en el
13468 \begin_inset Flex MenuItem
13471 \begin_layout Plain Layout
13472 Editar\SpecialChar \menuseparator
13473 Configuración del párrafo\SpecialChar \ldots{}
13480 Esto se utiliza para componer bonitas listas sin tabuladores.
13483 \begin_layout Description
13484 \begin_inset Flex Code
13487 \begin_layout Plain Layout
13493 significa que el margen depende del tamaño de la etiqueta.
13494 Esto se usa para las cabeceras automáticas de las listas numeradas.
13495 Es obvio que la cabecera
13496 \begin_inset Quotes fld
13499 5.4.3.2.1 Cabecera muy larga
13500 \begin_inset Quotes frd
13503 debe tener un margen izquierdo más amplio (tan ancho como
13504 \begin_inset Quotes fld
13508 \begin_inset Quotes frd
13511 más el espacio) que
13512 \begin_inset Quotes fld
13515 3.2 Cabecera muy larga
13516 \begin_inset Quotes frd
13520 \begin_inset Quotes fld
13523 procesadores de texto
13524 \begin_inset Quotes frd
13527 corrientes no sean capaces de hacer esto.
13530 \begin_layout Description
13531 \begin_inset Flex Code
13534 \begin_layout Plain Layout
13540 es similar, pero solo la primera fila del párrafo es dinámica, mientras
13541 que las demás son estáticas; esto se emplea, por ejemplo, para descripciones.
13544 \begin_layout Description
13545 \begin_inset Flex Code
13548 \begin_layout Plain Layout
13554 significa que el margen se elige de manera que la fila más larga de este
13555 párrafo se adapte al margen derecho.
13556 Esto se emplea para componer una dirección en el lado derecho de la página.
13561 \begin_layout Description
13562 \begin_inset Flex Code
13565 \begin_layout Plain Layout
13572 \begin_inset Flex Code
13575 \begin_layout Plain Layout
13584 \begin_inset space \thinspace{}
13588 \begin_inset Flex Code
13591 \begin_layout Plain Layout
13597 ] Si los comandos frágiles en este estilo deberían ser protegidos,
13598 \begin_inset Flex Code
13601 \begin_layout Plain Layout
13614 si este comando debería él mismo ser protegido.)
13617 \begin_layout Description
13618 \begin_inset Flex Code
13621 \begin_layout Plain Layout
13628 \begin_inset Flex Code
13631 \begin_layout Plain Layout
13638 \begin_inset space \thinspace{}
13642 \begin_inset Flex Code
13645 \begin_layout Plain Layout
13653 ] Si las líneas nuevas se transforman en líneas nuevas LaTeX (
13654 \begin_inset Flex Code
13657 \begin_layout Plain Layout
13668 La transformación puede desactivarse para permitir una edición más confortable
13672 \begin_layout Description
13673 \begin_inset Flex Code
13676 \begin_layout Plain Layout
13683 \begin_inset Flex Code
13686 \begin_layout Plain Layout
13695 \begin_inset space \thinspace{}
13699 \begin_inset Flex Code
13702 \begin_layout Plain Layout
13708 ] Si se permite sangrar la primera fila del párrafo siguiente.
13710 \begin_inset Flex Code
13713 \begin_layout Plain Layout
13719 significa que no se permite hacerlo;
13720 \begin_inset Flex Code
13723 \begin_layout Plain Layout
13729 significa que puede hacerse si se desea.
13732 \begin_layout Description
13733 \begin_inset Flex Code
13736 \begin_layout Plain Layout
13743 \begin_inset Flex Code
13746 \begin_layout Plain Layout
13752 ] Nombre de un estilo que ha reemplazado este estilo.
13753 Esto se emplea para renombrar un estilo, mientras que se mantiene compatibilida
13757 \begin_layout Description
13758 \begin_inset Flex Code
13761 \begin_layout Plain Layout
13768 \begin_inset Flex Code
13771 \begin_layout Plain Layout
13780 \begin_inset space \thinspace{}
13784 \begin_inset Flex Code
13787 \begin_layout Plain Layout
13793 ] Indica que los párrafos no serán separados por una línea vacía en la salida
13794 LaTeX, solo por un salto de línea; junto con
13795 \begin_inset Flex Code
13798 \begin_layout Plain Layout
13804 , esto permite emular un editor de texto simple (como un recuadro ERT).
13807 \begin_layout Description
13808 \begin_inset Flex Code
13811 \begin_layout Plain Layout
13818 \begin_inset Flex Code
13821 \begin_layout Plain Layout
13827 ] El sangrado de la primera línea de un párrafo.
13829 \begin_inset Flex Code
13832 \begin_layout Plain Layout
13838 estará fijado para un determinado estilo.
13839 La excepción es el estilo
13840 \begin_inset Flex Code
13843 \begin_layout Plain Layout
13849 , puesto que la sangría de un párrafo de estilo
13850 \begin_inset Flex Code
13853 \begin_layout Plain Layout
13859 puede prohibirse con
13860 \begin_inset Flex Code
13863 \begin_layout Plain Layout
13870 Además, los párrafos de estilo
13871 \begin_inset Flex Code
13874 \begin_layout Plain Layout
13880 dentro de entornos usan la sangría
13881 \begin_inset Flex Code
13884 \begin_layout Plain Layout
13890 del entorno, no su propio valor.
13891 Por ejemplo, los párrafos
13892 \begin_inset Flex Code
13895 \begin_layout Plain Layout
13901 en una enumeración no se sangran.
13904 \begin_layout Description
13905 \begin_inset Flex Code
13908 \begin_layout Plain Layout
13915 \begin_inset Flex Code
13918 \begin_layout Plain Layout
13924 ] El espacio vertical entre dos párrafos de este estilo.
13927 \begin_layout Description
13928 \begin_inset Flex Code
13931 \begin_layout Plain Layout
13938 \begin_inset Flex Code
13941 \begin_layout Plain Layout
13947 ] LyX permite al usuario elegir entre
13948 \begin_inset Quotes fld
13952 \begin_inset Quotes frd
13956 \begin_inset Quotes fld
13960 \begin_inset Quotes frd
13965 separate paragraphs
13969 \begin_inset Quotes fld
13973 \begin_inset Quotes frd
13976 , este valor es completamente ignorado.
13978 \begin_inset Quotes fld
13982 \begin_inset Quotes frd
13985 , el sangrado de un estilo tipo
13986 \begin_inset Quotes fld
13990 \begin_inset Quotes frd
13993 de LaTeX se ignora y todos los párrafos son separados con este argumento
13995 \begin_inset Quotes fld
13999 \begin_inset Quotes frd
14003 El espacio vertical se calcula con
14004 \begin_inset Flex Code
14007 \begin_layout Plain Layout
14009 \begin_inset space ~
14018 \begin_inset Flex Code
14021 \begin_layout Plain Layout
14027 es la altura de una fila con la tipografía normal.
14028 De esta forma, el aspecto queda igual con diferentes tipografías de pantalla.
14031 \begin_layout Description
14032 \begin_inset Flex Code
14035 \begin_layout Plain Layout
14044 \begin_inset Flex Code
14047 \begin_layout Plain Layout
14058 \begin_inset space \thinspace{}
14062 \begin_inset Flex Code
14065 \begin_layout Plain Layout
14071 ] Si el contenido de este párrafo debería aparecer en la salida en forma
14072 cruda, es decir sin las traducciones especiales que LaTeX necesitaría.
14075 \begin_layout Description
14076 \begin_inset Flex Code
14079 \begin_layout Plain Layout
14085 Información a incluir en el preámbulo LaTeX cuando se usa este estilo.
14086 Utilizado para definir macros, paquetes a cargar, etc., requeridos por este
14087 estilo en particular.
14089 \begin_inset Quotes fld
14093 \begin_inset Flex Code
14096 \begin_layout Plain Layout
14103 \begin_inset Quotes frd
14109 \begin_layout Description
14110 \begin_inset Flex Code
14113 \begin_layout Plain Layout
14120 \begin_inset Flex Code
14123 \begin_layout Plain Layout
14129 ] El prefijo a usar cuando se crean etiquetas que se refieren a párrafos
14131 Esto permite el uso de referencias con formato.
14134 \begin_layout Description
14135 \begin_inset Flex Code
14138 \begin_layout Plain Layout
14147 \begin_inset Flex Code
14150 \begin_layout Plain Layout
14158 Si el estilo requiere la característica
14159 \begin_inset Flex Code
14162 \begin_layout Plain Layout
14174 \begin_inset space ~
14178 \begin_inset CommandInset ref
14180 reference "sub:Parámetros-generales-clases"
14184 ) la descripción de
14185 \begin_inset Flex Code
14188 \begin_layout Plain Layout
14194 para información sobre 'características'.
14198 \begin_layout Description
14199 \begin_inset Flex Code
14202 \begin_layout Plain Layout
14209 \begin_inset Flex Code
14212 \begin_layout Plain Layout
14221 \begin_inset Flex Code
14224 \begin_layout Plain Layout
14232 Resets the LaTeX arguments of this style (as defined via the
14233 \begin_inset Flex Code
14236 \begin_layout Plain Layout
14245 This is useful if you have copied a style via
14246 \begin_inset Flex Code
14249 \begin_layout Plain Layout
14257 , but you do not want to inherit its (required and optional) arguments.
14260 \begin_layout Description
14261 \begin_inset Flex Code
14264 \begin_layout Plain Layout
14271 \begin_inset Flex Code
14274 \begin_layout Plain Layout
14282 A string that is put at the end of the layout content.
14283 A line break in the output can be indicated by
14286 \begin_inset Flex Code
14289 \begin_layout Plain Layout
14298 \begin_layout Description
14299 \begin_inset Flex Code
14302 \begin_layout Plain Layout
14309 \begin_inset Flex Code
14312 \begin_layout Plain Layout
14319 \begin_inset Flex Code
14322 \begin_layout Plain Layout
14331 \begin_layout Description
14332 \begin_inset Flex Code
14335 \begin_layout Plain Layout
14342 \begin_inset Flex Code
14345 \begin_layout Plain Layout
14354 \begin_inset Flex Code
14357 \begin_layout Plain Layout
14364 \begin_inset Flex Code
14367 \begin_layout Plain Layout
14374 \begin_inset Flex Code
14377 \begin_layout Plain Layout
14379 \begin_inset space ~
14387 ] Esto define cuál debería ser el espacio predefinido en el estilo.
14389 \begin_inset Flex Code
14392 \begin_layout Plain Layout
14399 \begin_inset Flex Code
14402 \begin_layout Plain Layout
14409 \begin_inset Flex Code
14412 \begin_layout Plain Layout
14418 corresponden respectivamente a un multiplicador de 1, 1.25 y 1.667.
14419 Si se especifica el argumento
14420 \begin_inset Flex Code
14423 \begin_layout Plain Layout
14429 , entonces se debería proporcionar además un argumento numérico que será
14430 el valor real del multiplicador.
14431 Anotar que, al contrario que otros parámetros,
14432 \begin_inset Flex Code
14435 \begin_layout Plain Layout
14441 implica la generación de código LaTeX específico, usando el paquete LaTeX
14443 \begin_inset Flex Code
14446 \begin_layout Plain Layout
14455 \begin_layout Description
14456 \begin_inset Flex Code
14459 \begin_layout Plain Layout
14466 \begin_inset Flex Code
14469 \begin_layout Plain Layout
14478 \begin_inset space \thinspace{}
14484 \begin_inset Flex Code
14487 \begin_layout Plain Layout
14495 ] Corrección ortográfica de párrafos de este estilo.
14499 \begin_layout Description
14500 \begin_inset Flex Code
14503 \begin_layout Plain Layout
14509 La tipografía para el cuerpo del texto.
14511 \begin_inset CommandInset ref
14513 reference "sub:Tipografías"
14520 \begin_layout Description
14521 \begin_inset Flex Code
14524 \begin_layout Plain Layout
14531 \begin_inset Flex Code
14534 \begin_layout Plain Layout
14540 ] El nivel del estilo en el índice general.
14541 Esto se usa para la numeración automática de los encabezados de sección.
14544 \begin_layout Description
14545 \begin_inset Flex Code
14548 \begin_layout Plain Layout
14555 \begin_inset Flex Code
14558 \begin_layout Plain Layout
14564 ] El espacio vertical con el que el primero de una cadena de párrafos con
14565 este estilo se separa del párrafo anterior.
14566 Si el párrafo anterior tiene otro estilo, la separación no es simplemente
14567 añadida, sino que se pone la máxima.
14570 \begin_layout Subsection
14571 Internacionalización de estilos de párrafo
14572 \begin_inset CommandInset label
14581 \begin_layout Standard
14582 LyX ha soportado desde hace tiempo la internacionalización de la información
14583 de formato, pero, hasta la versión 2.0, esto se aplicaba solo a la interfaz
14584 de usuario y no a la salida, digamos, PDF.
14585 Así, por ej., autores franceses tenían que acudir a feos trucos para conseguir
14586 `Théorème 1' en vez de `Theorem 1'.
14587 Gracias a Georg Baum, este ya no es el caso.
14590 \begin_layout Standard
14592 \begin_inset Flex Code
14595 \begin_layout Plain Layout
14601 define texto que se mostrará en el documento exportado, puede usar
14602 \begin_inset Flex Code
14605 \begin_layout Plain Layout
14612 \begin_inset Flex Code
14615 \begin_layout Plain Layout
14621 para soportar correctamente documentos con idioma distinto del inglés e
14622 incluso documentos plurilingües.
14623 El siguiente extracto (del archivo
14624 \begin_inset Flex Code
14627 \begin_layout Plain Layout
14633 ) muestra cómo funciona:
14636 \begin_layout LyX-Code
14641 \begin_layout LyX-Code
14644 theoremstyle{remark}
14647 \begin_layout LyX-Code
14650 newtheorem{claim}[thm]{
14657 \begin_layout LyX-Code
14661 \begin_layout LyX-Code
14665 \begin_layout LyX-Code
14670 claimname}{_(Claim)}
14673 \begin_layout LyX-Code
14677 \begin_layout LyX-Code
14681 \begin_layout LyX-Code
14690 claimname}{_(Claim)}}
14693 \begin_layout LyX-Code
14698 \begin_layout Standard
14699 En principio, cualquier LaTeX legal puede aparecer en las etiquetas
14700 \begin_inset Flex Code
14703 \begin_layout Plain Layout
14710 \begin_inset Flex Code
14713 \begin_layout Plain Layout
14719 , pero en la práctica el aspecto será generalmente como el mostrado aquí.
14720 La clave para una correcta traducción del texto impreso es la definición
14722 \begin_inset Flex Code
14725 \begin_layout Plain Layout
14734 \begin_inset Flex Code
14737 \begin_layout Plain Layout
14749 \begin_layout Standard
14751 \begin_inset Flex Code
14754 \begin_layout Plain Layout
14760 proporciona internacionalización basada en el idioma global del documento.
14761 El contenido de la etiqueta se incluirá en el preámbulo, igual que con
14763 \begin_inset Flex Code
14766 \begin_layout Plain Layout
14773 Lo que la hace especial es el uso de la
14774 \begin_inset Quotes eld
14778 \begin_inset Quotes erd
14782 \begin_inset Flex Code
14785 \begin_layout Plain Layout
14791 , que será reemplazada, cuando LyX genere la salida LaTeX, por la traducción
14792 de su argumento al idioma del documento.
14795 \begin_layout Standard
14797 \begin_inset Flex Code
14800 \begin_layout Plain Layout
14806 es más compleja, puesto que está pensada para dar soporte a documentos
14807 plurilingües y ofrece una interfaz al paquete
14808 \begin_inset Flex Code
14811 \begin_layout Plain Layout
14818 Su contenido se añadirá al preámbulo una vez por cada idioma que aparezca
14820 En este caso, el argumento en
14821 \begin_inset Flex Code
14824 \begin_layout Plain Layout
14830 se reemplazará por su traducción al idioma en cuestión; la expresión
14831 \begin_inset Flex Code
14834 \begin_layout Plain Layout
14840 es reemplazada por el nombre del idioma (el usado por el paquete babel).
14843 \begin_layout Standard
14844 Un documento en alemán que también incluya una sección en francés tendría
14845 lo siguiente en el preámbulo:
14848 \begin_layout LyX-Code
14857 claimname}{Affirmation}}
14858 \begin_inset Newline newline
14869 claimname}{Behauptung}}
14870 \begin_inset Newline newline
14877 claimname}{Behauptung}
14880 \begin_layout Standard
14882 \begin_inset Flex Code
14885 \begin_layout Plain Layout
14891 conspirarán para producir el texto correcto en la salida.
14894 \begin_layout Standard
14895 Un punto importante a tener en cuenta aquí es que las traducciones son proporcio
14896 nadas por el propio LyX, por
14901 \begin_inset Flex Code
14904 \begin_layout Plain Layout
14911 Esto quiere decir, en definitiva, que
14912 \begin_inset Flex Code
14915 \begin_layout Plain Layout
14922 \begin_inset Flex Code
14925 \begin_layout Plain Layout
14931 realmente solo son útiles en archivos de formato que son proporcionados
14932 por LyX, puesto que el texto introducido en archivos de formato creados
14933 por el usuario no serán tenidos en cuenta por las rutinas de internacionalizaci
14937 \begin_inset Flex Code
14940 \begin_layout Plain Layout
14948 file is modified accordingly
14951 Sin embargo, cualquier formato creado con la intención de ser incluido
14952 en LyX debería usar estas etiquetas en los lugares apropiados.
14955 Please note that the paragraph style translations provided by LyX will never
14956 change with a minor update (e.
14957 \begin_inset space \thinspace{}
14961 \begin_inset space \space{}
14964 from version 2.1.x to 2.1.y).
14965 It is however quite likely that a major update (e.
14966 \begin_inset space \thinspace{}
14970 \begin_inset space \space{}
14973 from 2.0.x to 2.1.y) will introduce new translations or corrections.
14976 \begin_layout Subsection
14978 \begin_inset CommandInset label
14980 name "sub:Flotantes"
14987 \begin_layout Standard
14988 Es necesario definir los flotantes (
14989 \begin_inset Flex MenuItem
14992 \begin_layout Plain Layout
14999 \begin_inset Flex MenuItem
15002 \begin_layout Plain Layout
15008 , \SpecialChar \ldots{}
15009 ) en la propia clase de texto.
15010 Los flotantes normales se incluyen en el archivo
15011 \begin_inset Flex Code
15014 \begin_layout Plain Layout
15020 , así que no tendrás más que añadir
15023 \begin_layout LyX-Code
15024 Input stdfloats.inc
15027 \begin_layout Standard
15028 en tu archivo de formato.
15029 Si quieres implementar una clase de texto que proponga algún otro tipo
15030 de flotante (como la clase AGU empaquetada con LyX), la información siguiente
15031 te servirá de ayuda:
15034 \begin_layout Description
15035 \begin_inset Flex Code
15038 \begin_layout Plain Layout
15045 \begin_inset Flex Code
15048 \begin_layout Plain Layout
15055 \begin_inset Quotes erd
15059 \begin_inset Quotes erd
15062 ] La extensión del nombre de un archivo auxiliar para la lista de figuras
15064 LaTeX escribe las leyendas en este archivo.
15067 \begin_layout Description
15068 \begin_inset Flex Code
15071 \begin_layout Plain Layout
15078 \begin_inset Flex Code
15081 \begin_layout Plain Layout
15088 \begin_inset Quotes erd
15092 \begin_inset Quotes erd
15095 ] La cadena que se usará en los menús y también para la leyenda.
15096 Esto se traduce al idioma actual si se usa.
15099 \begin_layout Description
15100 \begin_inset Flex Code
15103 \begin_layout Plain Layout
15109 Controlan la salida XHTML.
15111 \begin_inset space ~
15115 \begin_inset CommandInset ref
15117 reference "sec:Etiquetas-para-XHTML"
15124 \begin_layout Description
15125 \begin_inset Flex Code
15128 \begin_layout Plain Layout
15137 \begin_inset Flex Code
15140 \begin_layout Plain Layout
15149 \begin_inset space \thinspace{}
15153 \begin_inset Flex Code
15156 \begin_layout Plain Layout
15162 ] Indica si el flotante está ya definido en la clase de documento o si necesitam
15163 os cargar el paquete LaTeX
15164 \begin_inset Flex Code
15167 \begin_layout Plain Layout
15173 para definirlo sobre la marcha.
15175 \begin_inset Flex Code
15178 \begin_layout Plain Layout
15184 , que significa: usar
15185 \begin_inset Flex Code
15188 \begin_layout Plain Layout
15196 \begin_inset Flex Code
15199 \begin_layout Plain Layout
15205 si el flotante ya está definido por la clase de documento LaTeX.
15208 \begin_layout Description
15209 \begin_inset Flex Code
15212 \begin_layout Plain Layout
15219 \begin_inset Flex Code
15222 \begin_layout Plain Layout
15229 \begin_inset Quotes erd
15233 \begin_inset Quotes erd
15236 ] El comando usado para generar una lista de flotantes de este tipo; debe
15237 omitirse el precedente `
15245 \begin_inset Flex Code
15248 \begin_layout Plain Layout
15254 es `false', puesto que no hay una forma estándar de generar este comando.
15256 \begin_inset Flex Code
15259 \begin_layout Plain Layout
15265 es `true', porque en este caso sí hay una forma estándar de definir el
15269 \begin_layout Description
15270 \begin_inset Flex Code
15273 \begin_layout Plain Layout
15280 \begin_inset Flex Code
15283 \begin_layout Plain Layout
15290 \begin_inset Quotes erd
15294 \begin_inset Quotes erd
15297 ] Un título para una lista de flotantes de este tipo (índice de figuras,
15298 tablas o lo que sea).
15299 Se usa para el nombre del recuadro en LyX; se pasa a LaTeX para usarlo
15300 como título allí; y se usa como título en la salida.
15301 Será traducido al idioma del documento.
15304 \begin_layout Description
15305 \begin_inset Flex Code
15308 \begin_layout Plain Layout
15315 \begin_inset Flex Code
15318 \begin_layout Plain Layout
15325 \begin_inset Quotes erd
15329 \begin_inset Quotes erd
15332 ] Este argumento (opcional) determina si los flotantes de esta clase serán
15333 numerados dentro de alguna unidad de sección del documento.
15335 \begin_inset Flex Code
15338 \begin_layout Plain Layout
15345 \begin_inset Quotes fld
15349 \begin_inset Flex Code
15352 \begin_layout Plain Layout
15359 \begin_inset Quotes frd
15362 , los flotantes serán numerados dentro de los capítulos.
15365 \begin_layout Description
15366 \begin_inset Flex Code
15369 \begin_layout Plain Layout
15376 \begin_inset Flex Code
15379 \begin_layout Plain Layout
15386 \begin_inset Quotes erd
15390 \begin_inset Quotes erd
15393 ] La colocación por omisión para la clase dada de flotantes.
15395 \begin_inset Flex Code
15398 \begin_layout Plain Layout
15404 deberá ser un estándar LaTeX:
15405 \begin_inset Flex Code
15408 \begin_layout Plain Layout
15415 \begin_inset Flex Code
15418 \begin_layout Plain Layout
15425 \begin_inset Flex Code
15428 \begin_layout Plain Layout
15435 \begin_inset Flex Code
15438 \begin_layout Plain Layout
15445 \begin_inset Quotes fld
15449 \begin_inset Quotes frd
15453 \begin_inset Quotes fld
15457 \begin_inset Quotes frd
15461 \begin_inset Quotes fld
15465 \begin_inset Quotes frd
15469 \begin_inset Quotes fld
15473 \begin_inset Quotes frd
15476 (aquí), respectivamente.
15480 \begin_layout Plain Layout
15481 Anotar que el orden de estas letras en la cadena es irrelevante, como en
15487 Por encima de éstos hay un nuevo tipo,
15488 \begin_inset Flex Code
15491 \begin_layout Plain Layout
15497 , que no corresponde realmente a un flotante, ya que se refiere a: ponerlo
15499 \begin_inset Quotes fld
15503 \begin_inset Quotes frd
15506 , y en ninguna otra parte.
15507 Anotar que, sin embargo, el colocador
15508 \begin_inset Flex Code
15511 \begin_layout Plain Layout
15517 es especial y, debido a detalles de implementación, no puede usarse en
15518 tipos de flotantes no empotrados.
15519 Si no comprendes lo que esto significa, usa solo
15520 \begin_inset Quotes fld
15524 \begin_inset Flex Code
15527 \begin_layout Plain Layout
15534 \begin_inset Quotes frd
15540 \begin_layout Description
15541 \begin_inset Flex Code
15544 \begin_layout Plain Layout
15551 \begin_inset Flex Code
15554 \begin_layout Plain Layout
15560 ] El prefijo a usar cuando se crean etiquetas referidas a flotantes de este
15562 Esto permite el uso de referencias con formato.
15563 Puedes quitar cualquier
15564 \begin_inset Flex Code
15567 \begin_layout Plain Layout
15573 puesto por un estilo copiado usando el valor especial
15574 \begin_inset Quotes eld
15578 \begin_inset Quotes erd
15581 , todas mayúsculas.
15584 \begin_layout Description
15585 \begin_inset Flex Code
15588 \begin_layout Plain Layout
15595 \begin_inset Flex Code
15598 \begin_layout Plain Layout
15605 \begin_inset Quotes erd
15609 \begin_inset Quotes erd
15612 ] El estilo usado cuando se define el flotante con
15613 \begin_inset Flex Code
15616 \begin_layout Plain Layout
15627 \begin_layout Description
15628 \begin_inset Flex Code
15631 \begin_layout Plain Layout
15638 \begin_inset Flex Code
15641 \begin_layout Plain Layout
15648 \begin_inset Quotes erd
15652 \begin_inset Quotes erd
15656 \begin_inset Quotes fld
15660 \begin_inset Quotes frd
15663 de la nueva clase de flotante, como programa o algoritmo.
15664 Después del apropiado
15665 \begin_inset Flex Code
15668 \begin_layout Plain Layout
15676 , comandos tales como
15677 \begin_inset Flex Code
15680 \begin_layout Plain Layout
15689 \begin_inset Flex Code
15692 \begin_layout Plain Layout
15700 estarán disponibles.
15703 \begin_layout Description
15704 \begin_inset Flex Code
15707 \begin_layout Plain Layout
15714 \begin_inset Flex Code
15717 \begin_layout Plain Layout
15724 \begin_inset space \thinspace{}
15728 \begin_inset Flex Code
15731 \begin_layout Plain Layout
15739 ] Nos dice si este flotante se define usando el paquete LaTeX
15740 \begin_inset Flex Code
15743 \begin_layout Plain Layout
15749 , bien por el archivo de clase o por un paquete, o bien sobre la marcha
15753 \begin_layout Standard
15754 Anotar que al definir un flotante con tipo
15755 \begin_inset Flex Code
15758 \begin_layout Plain Layout
15766 automáticamente se define el correspondiente contador con nombre
15767 \begin_inset Flex Code
15770 \begin_layout Plain Layout
15781 \begin_layout Subsection
15782 Recuadros flexibles y formato del recuadro
15783 \begin_inset CommandInset label
15785 name "sub:estilo-del-texto"
15792 \begin_layout Standard
15793 Los recuadros flexibles son de tres tipos:
15796 \begin_layout Itemize
15798 \begin_inset Flex Code
15801 \begin_layout Plain Layout
15807 ): estos definen diseños semánticos correspondientes a comandos LaTeX como
15809 \begin_inset Flex Code
15812 \begin_layout Plain Layout
15821 \begin_inset Flex Code
15824 \begin_layout Plain Layout
15835 \begin_layout Itemize
15836 definido por el usuario (
15837 \begin_inset Flex Code
15840 \begin_layout Plain Layout
15846 ): estos se pueden usar para definir recuadros plegables personalizados,
15847 del tipo de los de código TeX, notas al pie y similares.
15848 Un ejemplo obvio es un recuadro de nota final, definido en el módulo del
15850 \begin_inset Flex Code
15853 \begin_layout Plain Layout
15862 \begin_layout Itemize
15864 \begin_inset Flex Code
15867 \begin_layout Plain Layout
15873 ): para usar con las clases DocBook.
15876 \begin_layout Standard
15877 Los recuadros flexibles se definen usando la etiqueta
15878 \begin_inset Flex Code
15881 \begin_layout Plain Layout
15887 , que se explicará en un momento.
15890 \begin_layout Standard
15892 \begin_inset Flex Code
15895 \begin_layout Plain Layout
15901 también sirve para otra función: puede utilizarse para personalizar el
15902 diseño general de muchos tipos diferentes de recuadros.
15904 \begin_inset Flex Code
15907 \begin_layout Plain Layout
15913 permite personalizar los parámetros de diseño de notas al pie, notas al
15914 margen, notas, recuadros de código TeX (ERT), ramas, listados de programa,
15915 índices, cuadros, tablas, algoritmos, URL, y
15919 , así como para definir recuadros flexibles.
15922 \begin_layout Standard
15924 \begin_inset Flex Code
15927 \begin_layout Plain Layout
15933 debe comenzar con una línea de la forma:
15936 \begin_layout LyX-Code
15940 \begin_layout Standard
15942 \begin_inset Flex Code
15945 \begin_layout Plain Layout
15951 indica el recuadro cuyo formato se va a definir, y hay quatros casos.
15954 \begin_layout Enumerate
15955 Se va a modificar el formato para un tipo de recuadro preexistente.
15957 \begin_inset Flex Code
15960 \begin_layout Plain Layout
15966 puede ser uno cualquiera de los siguientes:
15967 \begin_inset Flex Code
15970 \begin_layout Plain Layout
15977 \begin_inset Flex Code
15980 \begin_layout Plain Layout
15987 \begin_inset Flex Code
15990 \begin_layout Plain Layout
15997 \begin_inset Flex Code
16000 \begin_layout Plain Layout
16007 \begin_inset Flex Code
16010 \begin_layout Plain Layout
16017 \begin_inset Flex Code
16020 \begin_layout Plain Layout
16027 \begin_inset Flex Code
16030 \begin_layout Plain Layout
16037 \begin_inset Flex Code
16040 \begin_layout Plain Layout
16047 \begin_inset Flex Code
16050 \begin_layout Plain Layout
16057 \begin_inset Flex Code
16060 \begin_layout Plain Layout
16067 \begin_inset Flex Code
16070 \begin_layout Plain Layout
16077 \begin_inset Flex Code
16080 \begin_layout Plain Layout
16087 \begin_inset Flex Code
16090 \begin_layout Plain Layout
16097 \begin_inset Flex Code
16100 \begin_layout Plain Layout
16107 \begin_inset Flex Code
16110 \begin_layout Plain Layout
16117 \begin_inset Flex Code
16120 \begin_layout Plain Layout
16127 \begin_inset Flex Code
16130 \begin_layout Plain Layout
16137 \begin_inset Flex Code
16140 \begin_layout Plain Layout
16147 \begin_inset Flex Code
16150 \begin_layout Plain Layout
16157 \begin_inset Flex Code
16160 \begin_layout Plain Layout
16170 \begin_layout Enumerate
16171 Se va a definir el formato para un recuadro flexible.
16173 \begin_inset Flex Code
16176 \begin_layout Plain Layout
16182 puede ser cualquier identificador válido no utilizado por un recuadro preexiste
16184 El identificador puede incluir espacios, pero en este caso debe ponerse
16185 todo entre comillas.
16186 Puede además incluir un identificador de nombre del espacio, precedido
16187 de dos puntos, como
16188 \begin_inset Quotes eld
16192 \begin_inset Flex Code
16195 \begin_layout Plain Layout
16202 \begin_inset Quotes erd
16206 Anotar que la definición de un flexible debe incluir
16211 \begin_inset Flex Code
16214 \begin_layout Plain Layout
16223 \begin_layout Enumerate
16226 The layout for user specific branch is being defined.
16230 \begin_inset Flex Code
16233 \begin_layout Plain Layout
16241 must be of the form
16244 \begin_inset Quotes fld
16248 \begin_inset Flex Code
16251 \begin_layout Plain Layout
16258 \begin_inset Quotes frd
16266 \begin_inset Flex Code
16269 \begin_layout Plain Layout
16277 may be be any valid identifier of branch defined in user's document.
16278 The identifier may include spaces, but in that case the whole thing must
16279 be wrapped in quotes.
16280 The main purpose of this feature is to allow LaTeX wrapping around specific
16281 branches as user needs.
16284 \begin_layout Enumerate
16287 The layout of a user (or class) specific caption is being defined.
16291 \begin_inset Flex Code
16294 \begin_layout Plain Layout
16302 must be of the form
16305 \begin_inset Quotes fld
16309 \begin_inset Flex Code
16312 \begin_layout Plain Layout
16319 \begin_inset Quotes frd
16327 \begin_inset Flex Code
16330 \begin_layout Plain Layout
16338 specifies the name of the caption as it appears in the menu.
16339 Have a look at the standard caption
16342 \begin_inset Flex Code
16345 \begin_layout Plain Layout
16353 the specific captions of the KOMA-Script classes (
16354 \begin_inset Flex Code
16357 \begin_layout Plain Layout
16366 \begin_inset Flex Code
16369 \begin_layout Plain Layout
16380 \begin_inset space ~
16387 \begin_inset Flex Code
16390 \begin_layout Plain Layout
16401 \begin_layout Standard
16403 \begin_inset Flex Code
16406 \begin_layout Plain Layout
16412 puede contener las siguientes entradas:
16415 \begin_layout Description
16416 \begin_inset Flex Code
16419 \begin_layout Plain Layout
16426 \begin_inset Flex Code
16429 \begin_layout Plain Layout
16437 Defines argument number of a command\SpecialChar \slash{}
16438 environment associated with the current
16440 The definition must end with
16441 \begin_inset Flex Code
16444 \begin_layout Plain Layout
16456 \begin_inset CommandInset ref
16458 reference "sub:Estilos-de-párrafo"
16467 \begin_layout Description
16468 \begin_inset Flex Code
16471 \begin_layout Plain Layout
16479 Preamble for changing language commands
16482 \begin_inset CommandInset ref
16484 reference "sub:I18n"
16491 \begin_layout Description
16492 \begin_inset Flex Code
16495 \begin_layout Plain Layout
16502 \begin_inset Flex Code
16505 \begin_layout Plain Layout
16511 ] El color para el fondo del recuadro.
16513 \begin_inset CommandInset ref
16515 reference "chap:Names-of-colors"
16521 for a list of the available color names.
16524 \begin_layout Description
16525 \begin_inset Flex Code
16528 \begin_layout Plain Layout
16535 \begin_inset Flex Code
16538 \begin_layout Plain Layout
16549 \begin_inset space \thinspace{}
16555 \begin_inset Flex Code
16558 \begin_layout Plain Layout
16564 ] Si usar no el contenido del recuadro como etiqueta del mismo cuando el
16565 recuadro se cierra.
16566 Por omisión, falso.
16569 \begin_layout Description
16570 \begin_inset Flex Code
16573 \begin_layout Plain Layout
16580 \begin_inset Flex Code
16583 \begin_layout Plain Layout
16591 As with paragraph styles
16594 \begin_inset CommandInset ref
16596 reference "sub:Estilos-de-párrafo"
16603 Note that you need to specify the complete type, e.
16604 \begin_inset space \thinspace{}
16610 \begin_inset space ~
16614 \begin_inset Flex Code
16617 \begin_layout Plain Layout
16618 CopyStyle Flex:<nombre>
16626 \begin_layout Description
16627 \begin_inset Flex Code
16630 \begin_layout Plain Layout
16637 \begin_inset Flex Code
16640 \begin_layout Plain Layout
16651 \begin_inset space \thinspace{}
16657 \begin_inset Flex Code
16660 \begin_layout Plain Layout
16666 ] Indica si el usuario puede emplear el diálogo Configuración del párrafo
16667 para modificar el párrafo.
16670 \begin_layout Description
16671 \begin_inset Flex Code
16674 \begin_layout Plain Layout
16681 \begin_inset Flex Code
16684 \begin_layout Plain Layout
16691 \begin_inset Flex Code
16694 \begin_layout Plain Layout
16701 \begin_inset Flex Code
16704 \begin_layout Plain Layout
16710 , que describe el estilo de presentación para el marco y los botones del
16712 Las notas al pie usan generalmente
16713 \begin_inset Flex Code
16716 \begin_layout Plain Layout
16722 , los recuadros de código TeX
16723 \begin_inset Flex Code
16726 \begin_layout Plain Layout
16732 , y los de estilos del texto
16733 \begin_inset Flex Code
16736 \begin_layout Plain Layout
16745 \begin_layout Description
16746 \begin_inset Flex Code
16749 \begin_layout Plain Layout
16756 \begin_inset Flex Code
16759 \begin_layout Plain Layout
16768 \begin_inset space \thinspace{}
16774 \begin_inset Flex Code
16777 \begin_layout Plain Layout
16786 \begin_inset Flex Code
16789 \begin_layout Plain Layout
16796 \begin_inset Flex Code
16799 \begin_layout Plain Layout
16806 Indica si el entorno se ubicará en su propio espacio en la salida o si
16807 aparecerá en línea con el texto circundante.
16808 Si se pone falso, se supone que el entorno LaTeX ignora los espacios en
16809 blanco (incluyendo un carácter de línea nueva) después de las etiquetas
16811 \begin_inset Flex Code
16814 \begin_layout Plain Layout
16827 \begin_inset Flex Code
16830 \begin_layout Plain Layout
16843 Por omisión, verdadero.
16846 \begin_layout Description
16847 \begin_inset Flex Code
16850 \begin_layout Plain Layout
16856 Requerido al final de las declaraciones de formato del recuadro
16857 \begin_inset Flex Code
16860 \begin_layout Plain Layout
16869 \begin_layout Description
16870 \begin_inset Flex Code
16873 \begin_layout Plain Layout
16879 La tipografía usada tanto para el cuerpo del texto como para la etiqueta.
16881 \begin_inset CommandInset ref
16883 reference "sub:Tipografías"
16888 Anotar que al definir esta tipografía se define automáticamente el mismo
16889 valor para la etiqueta,
16890 \begin_inset Flex Code
16893 \begin_layout Plain Layout
16899 , así que define aquella primero y después define
16900 \begin_inset Flex Code
16903 \begin_layout Plain Layout
16909 si las quieres diferentes.
16912 \begin_layout Description
16913 \begin_inset Flex Code
16916 \begin_layout Plain Layout
16917 ForceLocalFontSwitch
16923 \begin_inset Flex Code
16926 \begin_layout Plain Layout
16935 \begin_inset space \thinspace{}
16939 \begin_inset Flex Code
16942 \begin_layout Plain Layout
16950 When using babel, always use a local font switch (
16951 \begin_inset Flex Code
16954 \begin_layout Plain Layout
16964 ), never a global one (such as
16967 \begin_inset Flex Code
16970 \begin_layout Plain Layout
16981 \begin_layout Description
16982 \begin_inset Flex Code
16985 \begin_layout Plain Layout
16992 \begin_inset Flex Code
16995 \begin_layout Plain Layout
17006 \begin_inset space \thinspace{}
17012 \begin_inset Flex Code
17015 \begin_layout Plain Layout
17022 \begin_inset Quotes fld
17026 \begin_inset Quotes frd
17029 que genera salida Izquierda-Derecha (latin), p.
17030 \begin_inset space \thinspace{}
17034 \begin_inset space \space{}
17037 en código TeX o URL.
17041 \begin_layout Description
17042 \begin_inset Flex Code
17045 \begin_layout Plain Layout
17052 \begin_inset Flex Code
17055 \begin_layout Plain Layout
17066 \begin_inset space \thinspace{}
17072 \begin_inset Flex Code
17075 \begin_layout Plain Layout
17081 ] Indica si debería usarse
17082 \begin_inset Flex Code
17085 \begin_layout Plain Layout
17091 o, por el contrario el usuario puede cambiar el estilo de párrafo del recuadro.
17094 \begin_layout Description
17095 \begin_inset Flex Code
17098 \begin_layout Plain Layout
17107 \begin_inset Flex Code
17110 \begin_layout Plain Layout
17121 \begin_inset space \thinspace{}
17127 \begin_inset Flex Code
17130 \begin_layout Plain Layout
17138 As with paragraph style
17141 \begin_inset CommandInset ref
17143 reference "sub:Estilos-de-párrafo"
17150 \begin_layout Description
17151 \begin_inset Flex Code
17154 \begin_layout Plain Layout
17160 Controlan la salida XHTML.
17162 \begin_inset CommandInset ref
17164 reference "sec:Etiquetas-para-XHTML"
17171 \begin_layout Description
17172 \begin_inset Flex Code
17175 \begin_layout Plain Layout
17182 \begin_inset Flex Code
17185 \begin_layout Plain Layout
17196 \begin_inset space \thinspace{}
17202 \begin_inset Flex Code
17205 \begin_layout Plain Layout
17211 ] Incluye o no el contenido de este inset en la cadena generada para el
17212 panel 'Navegador de contorno'.
17213 El no sería, por ejemplo, para que el contenido de una nota al pie en un
17214 encabezado de sección no aparezca en el índice que se despliega en el navegador
17215 de contorno, sin embargo, normalmente sí se incluiría el contenido de un
17216 estilo de carácter.
17217 Predeterminado es false: no incluir.
17220 \begin_layout Description
17221 \begin_inset Flex Code
17224 \begin_layout Plain Layout
17233 \begin_inset Flex Code
17236 \begin_layout Plain Layout
17249 \begin_inset space \thinspace{}
17255 \begin_inset Flex Code
17258 \begin_layout Plain Layout
17266 As with paragraph styles
17269 \begin_inset CommandInset ref
17271 reference "sub:Estilos-de-párrafo"
17278 \begin_layout Description
17279 \begin_inset Flex Code
17282 \begin_layout Plain Layout
17288 La tipografía para la etiqueta.
17290 \begin_inset CommandInset ref
17292 reference "sub:Tipografías"
17297 Anotar que esta definición nunca puede aparecer antes de
17298 \begin_inset Flex Code
17301 \begin_layout Plain Layout
17307 , para que sea efectiva.
17310 \begin_layout Description
17311 \begin_inset Flex Code
17314 \begin_layout Plain Layout
17321 \begin_inset Flex Code
17324 \begin_layout Plain Layout
17331 \begin_inset Quotes erd
17335 \begin_inset Quotes erd
17338 ] Lo que se mostrará sobre el botón u otra parte como etiqueta del recuadro.
17339 Algunos tipos de recuadro (
17340 \begin_inset Flex Code
17343 \begin_layout Plain Layout
17350 \begin_inset Flex Code
17353 \begin_layout Plain Layout
17359 ) modifican esta etiqueta sobre la marcha.
17362 \begin_layout Description
17363 \begin_inset Flex Code
17366 \begin_layout Plain Layout
17374 Language dependent preamble
17377 \begin_inset CommandInset ref
17379 reference "sub:I18n"
17386 \begin_layout Description
17387 \begin_inset Flex Code
17390 \begin_layout Plain Layout
17397 \begin_inset Flex Code
17400 \begin_layout Plain Layout
17406 ] El nombre LaTeX correspondiente al asunto.
17407 Cualquier nombre de entorno o de comando.
17410 \begin_layout Description
17411 \begin_inset Flex Code
17414 \begin_layout Plain Layout
17421 \begin_inset Flex Code
17424 \begin_layout Plain Layout
17430 ] El parámetro opcional para el correspondiente
17431 \begin_inset Flex Code
17434 \begin_layout Plain Layout
17440 , incluyendo posibles pares de corchetes,
17441 \begin_inset Flex Code
17444 \begin_layout Plain Layout
17451 Este parámetro no se puede cambiar desde dentro de LyX
17454 \begin_inset Flex Code
17457 \begin_layout Plain Layout
17465 for customizable parameters).
17466 It will be output as is after all LaTeX
17469 \begin_inset Flex Code
17472 \begin_layout Plain Layout
17481 \begin_layout Description
17482 \begin_inset Flex Code
17485 \begin_layout Plain Layout
17492 \begin_inset Flex Code
17495 \begin_layout Plain Layout
17496 Command, Environment, None
17503 How the style should be translated into LaTeX.
17507 \begin_layout Plain Layout
17510 \begin_inset Flex Code
17513 \begin_layout Plain Layout
17521 is perhaps a bit misleading, since these rules apply to SGML classes, too.
17522 Visit the SGML class files for specific examples.
17531 \begin_layout Description
17532 \begin_inset Flex Code
17535 \begin_layout Plain Layout
17543 means nothing special
17546 \begin_layout Description
17547 \begin_inset Flex Code
17550 \begin_layout Plain Layout
17559 \begin_inset Flex Code
17562 \begin_layout Plain Layout
17571 {\SpecialChar \ldots{}
17580 \begin_layout Description
17581 \begin_inset Flex Code
17584 \begin_layout Plain Layout
17593 \begin_inset Flex Code
17596 \begin_layout Plain Layout
17605 }\SpecialChar \ldots{}
17620 \begin_layout Description
17624 \begin_layout Standard
17627 Putting the last few things together, the LaTeX output will be either:
17630 \begin_layout LyX-Code
17633 LatexName[LatexParam]{\SpecialChar \ldots{}
17637 \begin_layout Standard
17641 \begin_layout LyX-Code
17644 begin{LatexName}[LatexParam] \SpecialChar \ldots{}
17650 \begin_layout Standard
17653 depending upon the LaTeX type.
17657 \begin_layout Description
17658 \begin_inset Flex Code
17661 \begin_layout Plain Layout
17668 \begin_inset Flex Code
17671 \begin_layout Plain Layout
17679 A string that is put at the beginning of the layout content.
17680 A line break in the output can be indicated by
17683 \begin_inset Flex Code
17686 \begin_layout Plain Layout
17695 \begin_layout Description
17696 \begin_inset Flex Code
17699 \begin_layout Plain Layout
17706 \begin_inset Flex Code
17709 \begin_layout Plain Layout
17716 \begin_inset Flex Code
17719 \begin_layout Plain Layout
17726 \begin_inset Flex Code
17729 \begin_layout Plain Layout
17736 \begin_inset Flex Code
17739 \begin_layout Plain Layout
17745 (indicando una definición ficticia que finaliza definiciones de estilos
17747 Esta entrada es requerida y solo es significativa para recuadros flexibles.
17748 Entre otras cosas, determina en qué menús aparecerá este recuadro.
17750 \begin_inset Flex Code
17753 \begin_layout Plain Layout
17760 \begin_inset Flex Code
17763 \begin_layout Plain Layout
17770 \begin_inset Flex Code
17773 \begin_layout Plain Layout
17781 \begin_inset Flex Code
17784 \begin_layout Plain Layout
17790 se puede poner como verdadero para recuadros de estilos
17791 \begin_inset Flex Code
17794 \begin_layout Plain Layout
17805 \begin_inset Flex Code
17808 \begin_layout Plain Layout
17817 \begin_layout Description
17818 \begin_inset Flex Code
17821 \begin_layout Plain Layout
17828 \begin_inset Flex Code
17831 \begin_layout Plain Layout
17842 \begin_inset space \thinspace{}
17848 \begin_inset Flex Code
17851 \begin_layout Plain Layout
17857 ] Indica si se permiten múltiples párrafos en este recuadro.
17858 Además establecerá para CustomPars el mismo valor y para ForcePlain el
17860 Estos pueden modificarse a otros valores si se usan
17867 \begin_layout Description
17868 \begin_inset Flex Code
17871 \begin_layout Plain Layout
17878 \begin_inset Flex Code
17881 \begin_layout Plain Layout
17892 \begin_inset space \thinspace{}
17898 \begin_inset Flex Code
17901 \begin_layout Plain Layout
17907 ] Si los comandos frágiles deben o no ser
17908 \begin_inset Flex Code
17911 \begin_layout Plain Layout
17919 'ed en este recuadro.
17924 si el comando mismo debe ser protegido
17929 \begin_layout Description
17930 \begin_inset Flex Code
17933 \begin_layout Plain Layout
17942 \begin_inset Flex Code
17945 \begin_layout Plain Layout
17953 ] Deletes an existing
17954 \begin_inset Flex Code
17957 \begin_layout Plain Layout
17968 \begin_layout Description
17969 \begin_inset Flex Code
17972 \begin_layout Plain Layout
17979 \begin_inset Flex Code
17982 \begin_layout Plain Layout
17993 \begin_inset space \thinspace{}
17999 \begin_inset Flex Code
18002 \begin_layout Plain Layout
18008 ] Igual que para estilos de párrafo, véase
18009 \begin_inset CommandInset ref
18011 reference "sub:Estilos-de-párrafo"
18016 Por omisión es falso.
18019 \begin_layout Description
18020 \begin_inset Flex Code
18023 \begin_layout Plain Layout
18032 \begin_inset Flex Code
18035 \begin_layout Plain Layout
18048 \begin_inset space \thinspace{}
18054 \begin_inset Flex Code
18057 \begin_layout Plain Layout
18063 ] Igual que para estilos de párrafo, véase
18064 \begin_inset CommandInset ref
18066 reference "sub:Estilos-de-párrafo"
18073 \begin_layout Description
18074 \begin_inset Flex Code
18077 \begin_layout Plain Layout
18083 Igual que para estilos de párrafo, véase
18084 \begin_inset CommandInset ref
18086 reference "sub:Estilos-de-párrafo"
18093 \begin_layout Description
18094 \begin_inset Flex Code
18097 \begin_layout Plain Layout
18104 \begin_inset Flex Code
18107 \begin_layout Plain Layout
18113 ] Prefijo a usar cuando se crean etiquetas que se refieren a recuadros de
18115 Esto permite el uso de referencias con formato.
18118 \begin_layout Description
18119 \begin_inset Flex Code
18122 \begin_layout Plain Layout
18129 \begin_inset Flex Code
18132 \begin_layout Plain Layout
18138 ] Igual que para estilos de párrafo, véase
18139 \begin_inset CommandInset ref
18141 reference "sub:Estilos-de-párrafo"
18148 \begin_layout Description
18149 \begin_inset Flex Code
18152 \begin_layout Plain Layout
18159 \begin_inset Flex Code
18162 \begin_layout Plain Layout
18171 \begin_inset space \thinspace{}
18175 \begin_inset Flex Code
18178 \begin_layout Plain Layout
18186 Resets the LaTeX arguments of this layout (as defined via the
18187 \begin_inset Flex Code
18190 \begin_layout Plain Layout
18199 This is useful if you have copied a style via
18200 \begin_inset Flex Code
18203 \begin_layout Plain Layout
18211 , but you do not want to inherit its (required and optional) arguments.
18214 \begin_layout Description
18215 \begin_inset Flex Code
18218 \begin_layout Plain Layout
18225 \begin_inset Flex Code
18228 \begin_layout Plain Layout
18237 \begin_inset space \thinspace{}
18243 \begin_inset Flex Code
18246 \begin_layout Plain Layout
18254 ] Si este recuadro debería usar la tipografía de su entorno o la suya propia.
18255 Por omisión es su propia tipografía.
18258 \begin_layout Description
18259 \begin_inset Flex Code
18262 \begin_layout Plain Layout
18269 \begin_inset Flex Code
18272 \begin_layout Plain Layout
18280 A string that is put at the end of the layout content.
18281 A line break in the output can be indicated by
18284 \begin_inset Flex Code
18287 \begin_layout Plain Layout
18296 \begin_layout Description
18297 \begin_inset Flex Code
18300 \begin_layout Plain Layout
18307 \begin_inset Flex Code
18310 \begin_layout Plain Layout
18319 \begin_inset space \thinspace{}
18325 \begin_inset Flex Code
18328 \begin_layout Plain Layout
18336 ] Revisar la ortografía del contenido del recuadro.
18340 \begin_layout Subsection
18342 \begin_inset CommandInset label
18344 name "sub:Contadores"
18351 \begin_layout Standard
18352 Es necesario definir los contadores (
18353 \begin_inset Flex MenuItem
18356 \begin_layout Plain Layout
18363 \begin_inset Flex MenuItem
18366 \begin_layout Plain Layout
18372 , \SpecialChar \ldots{}
18373 ) en la propia clase de texto.
18374 Los contadores estándar están definidos en el archivo
18375 \begin_inset Flex Code
18378 \begin_layout Plain Layout
18384 , de modo que no tienes más que añadir
18387 \begin_layout LyX-Code
18388 Input stdcounters.inc
18391 \begin_layout Standard
18392 en el archivo de formato para que funcionen.
18393 Pero si quieres puedes definir contadores personalizados.
18394 La declaración de un contador debe comenzar con:
18397 \begin_layout LyX-Code
18401 \begin_layout Standard
18403 \begin_inset Flex Code
18406 \begin_layout Plain Layout
18412 es el nombre del contador.
18413 Hay que terminar con
18414 \begin_inset Flex Code
18417 \begin_layout Plain Layout
18426 \begin_layout Standard
18427 Se pueden usar además los parámetros siguientes:
18430 \begin_layout Description
18431 \begin_inset Flex Code
18434 \begin_layout Plain Layout
18441 \begin_inset Flex Code
18444 \begin_layout Plain Layout
18452 Sets the initial value for the counter, to which it will be reset whenever
18454 Normally, one will want the default, 1.
18457 \begin_layout Description
18458 \begin_inset Flex Code
18461 \begin_layout Plain Layout
18468 \begin_inset Flex Code
18471 \begin_layout Plain Layout
18477 =""] Si se define esta cadena, indica cómo se muestra el contador.
18478 Al establecer este valor también se da el mismo valor a
18479 \begin_inset Flex Code
18482 \begin_layout Plain Layout
18483 LabelStringAppendix
18489 Para los valores de 'string' se pueden usar las estructuras siguientes:
18493 \begin_layout Itemize
18494 \begin_inset Flex Code
18497 \begin_layout Plain Layout
18505 será reemplazado por la expansión de
18506 \begin_inset Flex Code
18509 \begin_layout Plain Layout
18516 \begin_inset Newline linebreak
18520 \begin_inset Flex Code
18523 \begin_layout Plain Layout
18524 LabelStringAppendix
18530 \begin_inset Flex Code
18533 \begin_layout Plain Layout
18543 \begin_layout Itemize
18544 los valores del contador pueden expresarse usando macros tipo LaTeX como
18546 \begin_inset Flex Code
18549 \begin_layout Plain Layout
18566 \begin_inset Flex Code
18569 \begin_layout Plain Layout
18578 \begin_inset Flex Code
18581 \begin_layout Plain Layout
18587 : 1, 2, 3,\SpecialChar \ldots{}
18589 \begin_inset Flex Code
18592 \begin_layout Plain Layout
18598 para minúsculas: a, b, c, \SpecialChar \ldots{}
18600 \begin_inset Flex Code
18603 \begin_layout Plain Layout
18609 para mayúsculas: A, B, C, \SpecialChar \ldots{}
18611 \begin_inset Flex Code
18614 \begin_layout Plain Layout
18620 números romanos en minúscula: i, ii, iii, \SpecialChar \ldots{}
18625 \begin_layout Plain Layout
18631 \begin_inset space \thinspace{}
18639 \begin_inset Flex Code
18642 \begin_layout Plain Layout
18657 \begin_inset Flex Code
18660 \begin_layout Plain Layout
18674 los transforma automáticamente en versalitas
18678 \SpecialChar \ldots{}
18679 , ya que los romanos en minúscula no se usan en español.
18686 \begin_inset Flex Code
18689 \begin_layout Plain Layout
18695 para romanos en mayúsculas: I, II, III.
18699 \begin_layout Standard
18701 \begin_inset Flex Code
18704 \begin_layout Plain Layout
18710 , se construye un valor por omisión así: si el contador tiene un contador
18712 \begin_inset Flex Code
18715 \begin_layout Plain Layout
18722 \begin_inset Flex Code
18725 \begin_layout Plain Layout
18731 ), se usa la cadena
18732 \begin_inset Flex Code
18735 \begin_layout Plain Layout
18745 ; si no, se usa la cadena
18746 \begin_inset Flex Code
18749 \begin_layout Plain Layout
18760 \begin_layout Description
18761 \begin_inset Flex Code
18764 \begin_layout Plain Layout
18765 LabelStringAppendix
18771 \begin_inset Flex Code
18774 \begin_layout Plain Layout
18781 \begin_inset Flex Code
18784 \begin_layout Plain Layout
18790 , pero para el apéndice.
18793 \begin_layout Description
18794 \begin_inset Flex Code
18797 \begin_layout Plain Layout
18804 \begin_inset Flex Code
18807 \begin_layout Plain Layout
18814 \begin_inset Quotes erd
18818 \begin_inset Quotes erd
18821 ] Un formato para usar con las referencias a este contador.
18822 Por ejemplo, podríamos querer las referencias a los números de sección
18824 \begin_inset Quotes fld
18828 \begin_inset space ~
18832 \begin_inset Quotes frd
18836 La cadena debería contener
18837 \begin_inset Quotes eld
18841 \begin_inset Quotes erd
18845 Esto será reemplazado por el número correspondiente del contador.
18846 Así pues, para secciones sería: Section ##.
18849 \begin_layout Description
18850 \begin_inset Flex Code
18853 \begin_layout Plain Layout
18860 \begin_inset Flex Code
18863 \begin_layout Plain Layout
18869 =""] Si esto se establece para el nombre de otro contador, el presente contador
18870 se reiniciará cada vez que el otro aumente.
18872 \begin_inset Flex Code
18875 \begin_layout Plain Layout
18881 se numera dentro de
18882 \begin_inset Flex Code
18885 \begin_layout Plain Layout
18894 \begin_layout Subsection
18895 Descripción de las tipografías
18896 \begin_inset CommandInset label
18898 name "sub:Tipografías"
18905 \begin_layout Standard
18906 Una descripción de una tipografía se ve como:
18909 \begin_layout LyX-Code
18923 \begin_layout LyX-Code
18927 \begin_layout LyX-Code
18931 \begin_layout Standard
18932 Están disponibles los comandos siguientes:
18935 \begin_layout Description
18936 \begin_inset Flex Code
18939 \begin_layout Plain Layout
18946 \begin_inset Flex Code
18949 \begin_layout Plain Layout
18958 \begin_inset Flex Code
18961 \begin_layout Plain Layout
18968 \begin_inset Flex Code
18971 \begin_layout Plain Layout
18978 \begin_inset Flex Code
18981 \begin_layout Plain Layout
18988 \begin_inset Flex Code
18991 \begin_layout Plain Layout
18998 \begin_inset Flex Code
19001 \begin_layout Plain Layout
19008 \begin_inset Flex Code
19011 \begin_layout Plain Layout
19018 \begin_inset Flex Code
19021 \begin_layout Plain Layout
19028 \begin_inset Flex Code
19031 \begin_layout Plain Layout
19040 \begin_layout Description
19041 \begin_inset Flex Code
19044 \begin_layout Plain Layout
19053 \begin_inset Flex Code
19056 \begin_layout Plain Layout
19067 \begin_inset Flex Code
19070 \begin_layout Plain Layout
19077 \begin_inset Flex Code
19080 \begin_layout Plain Layout
19089 \begin_layout Description
19090 \begin_inset Flex Code
19093 \begin_layout Plain Layout
19100 \begin_inset Flex Code
19103 \begin_layout Plain Layout
19109 ] Son argumentos válidos:
19110 \begin_inset Flex Code
19113 \begin_layout Plain Layout
19120 \begin_inset Flex Code
19123 \begin_layout Plain Layout
19130 \begin_inset Flex Code
19133 \begin_layout Plain Layout
19140 \begin_inset Flex Code
19143 \begin_layout Plain Layout
19150 \begin_inset Flex Code
19153 \begin_layout Plain Layout
19160 \begin_inset Flex Code
19163 \begin_layout Plain Layout
19170 \begin_inset Flex Code
19173 \begin_layout Plain Layout
19180 \begin_inset Flex Code
19183 \begin_layout Plain Layout
19190 \begin_inset Flex Code
19193 \begin_layout Plain Layout
19200 \begin_inset Flex Code
19203 \begin_layout Plain Layout
19210 \begin_inset Flex Code
19213 \begin_layout Plain Layout
19220 \begin_inset Flex Code
19223 \begin_layout Plain Layout
19230 Cada uno de ellos activa o desactiva el atributo correspondiente.
19232 \begin_inset Flex Code
19235 \begin_layout Plain Layout
19242 \begin_inset Flex Code
19245 \begin_layout Plain Layout
19252 \begin_inset Newline newline
19255 Si esto último parece superfluo, recordemos que la configuración de tipografías
19256 para el presente contexto se hereda generalmente del contexto circundante.
19258 \begin_inset Flex Code
19261 \begin_layout Plain Layout
19267 desactivaría el énfasis que estaba vigente, digamos, en un entorno teorema.
19270 \begin_layout Description
19271 \begin_inset Flex Code
19274 \begin_layout Plain Layout
19283 \begin_inset Flex Code
19286 \begin_layout Plain Layout
19297 \begin_inset Flex Code
19300 \begin_layout Plain Layout
19309 \begin_layout Description
19310 \begin_inset Flex Code
19313 \begin_layout Plain Layout
19322 \begin_inset Flex Code
19325 \begin_layout Plain Layout
19336 \begin_inset Flex Code
19339 \begin_layout Plain Layout
19346 \begin_inset Flex Code
19349 \begin_layout Plain Layout
19356 \begin_inset Flex Code
19359 \begin_layout Plain Layout
19368 \begin_layout Description
19369 \begin_inset Flex Code
19372 \begin_layout Plain Layout
19379 \begin_inset Flex Code
19382 \begin_layout Plain Layout
19389 \begin_inset Flex Code
19392 \begin_layout Plain Layout
19399 \begin_inset Flex Code
19402 \begin_layout Plain Layout
19411 \begin_inset Flex Code
19414 \begin_layout Plain Layout
19421 \begin_inset Flex Code
19424 \begin_layout Plain Layout
19431 \begin_inset Flex Code
19434 \begin_layout Plain Layout
19441 \begin_inset Flex Code
19444 \begin_layout Plain Layout
19451 \begin_inset Flex Code
19454 \begin_layout Plain Layout
19463 \begin_layout Subsection
19464 Descripción del formato de cita
19465 \begin_inset CommandInset label
19467 name "sub:Descripción-formato-cita"
19474 \begin_layout Standard
19476 \begin_inset Flex Code
19479 \begin_layout Plain Layout
19485 se usan para describir la forma en que debe mostrarse la información bibliográf
19486 ica, tanto en LyX (en el diálogo de citas y en las ayudas emergentes, por
19487 ejemplo) como en la salida XHTML.
19488 El aspecto de unode estos bloques podría ser este:
19491 \begin_layout LyX-Code
19495 \begin_layout LyX-Code
19499 \begin_layout LyX-Code
19503 \begin_layout LyX-Code
19507 \begin_layout Standard
19508 Las líneas definen cómo se va a mostrar la información bibliográfica asociada
19509 con un artículo o libro, respectivamente, y tales definiciones se pueden
19510 dar para cualquier `tipo de entrada' que pudiera estar presente en un archivo
19512 LyX define un formato por omsión en el código fuente que se usará si no
19513 se da una definición específica.
19514 LyX predefine varios formatos en el archivo
19515 \begin_inset Flex Code
19518 \begin_layout Plain Layout
19524 , que se incluye en la mayoría de las clases de documento de LyX.
19527 \begin_layout Standard
19528 Las definiciones usan un lenguaje simple que permite reemplazar las claves
19529 BibTeX por sus valores.
19530 Las claves deben encerrarse entre símbolos
19531 \begin_inset Flex Code
19534 \begin_layout Plain Layout
19541 \begin_inset space \thinspace{}
19545 \begin_inset Flex Code
19548 \begin_layout Plain Layout
19555 Así, una simple definición sería:
19558 \begin_layout LyX-Code
19560 \begin_inset Quotes eld
19564 \begin_inset Quotes erd
19570 \begin_layout Standard
19571 Esto imprimiría el autor, una coma, a continuación el título entre comillas
19572 y un punto para finalizar.
19575 \begin_layout Standard
19576 A veces querrás, por supuesto, imprimir una clave solo si existe.
19577 Esto puede hacerse mediante una construcción condicional tal como:
19578 \begin_inset Flex Code
19581 \begin_layout Plain Layout
19583 \begin_inset space ~
19591 , que quiere decir: si la clave
19592 \begin_inset Flex Code
19595 \begin_layout Plain Layout
19602 \begin_inset Quotes eld
19606 \begin_inset space ~
19610 \begin_inset Quotes erd
19613 seguido de la clave.
19614 También es posible tener una cláusula de otro modo en el condicional, como:
19615 \begin_inset Newline newline
19619 \begin_inset Flex Code
19622 \begin_layout Plain Layout
19623 {%author%[[%author%]][[%editor%, ed.]]}
19629 \begin_inset Newline newline
19633 \begin_inset Flex Code
19636 \begin_layout Plain Layout
19642 se imprime si existe; por otra parte, se imprime la clave
19643 \begin_inset Flex Code
19646 \begin_layout Plain Layout
19653 \begin_inset Quotes eld
19657 \begin_inset space ~
19661 \begin_inset Quotes erd
19665 Advierte que la clave se encierra entre signos
19666 \begin_inset Flex Code
19669 \begin_layout Plain Layout
19675 ; el condicional entero se encierra entre llaves; y las cláusulas condicional
19676 y por otra parte se ponen entre cobles corchetes,
19677 \begin_inset Quotes eld
19681 \begin_inset Flex Code
19684 \begin_layout Plain Layout
19691 \begin_inset Quotes eld
19695 \begin_inset Quotes eld
19699 \begin_inset Flex Code
19702 \begin_layout Plain Layout
19709 \begin_inset Quotes erd
19713 No debe haber espacios entre ninguno de ellos.
19716 \begin_layout Standard
19717 Hay otra pieza de sintaxis disponible en las definiciones, como esta:
19718 \begin_inset Flex Code
19721 \begin_layout Plain Layout
19728 Define una pieza de información para ser usada cuando creamos
19729 \begin_inset Quotes eld
19733 \begin_inset Quotes erd
19737 Obviamente, no queremos etiquetas HTML cuando escribimos texto sencillo,
19738 por tanto deben ponerse entre
19739 \begin_inset Quotes eld
19743 \begin_inset Quotes erd
19747 \begin_inset Quotes eld
19751 \begin_inset Quotes erd
19757 \begin_layout Standard
19758 Además, hay dos clases especiales de definiciones disponibles en un bloque
19760 \begin_inset Flex Code
19763 \begin_layout Plain Layout
19770 Un ejemplo de la primera sería:
19773 \begin_layout LyX-Code
19775 \begin_inset Quotes eld
19779 \begin_inset Quotes erd
19785 \begin_layout Standard
19786 Esto es una abreviación, o macro, y se puede usar tratándola como si fuera
19788 \begin_inset Flex Code
19791 \begin_layout Plain Layout
19799 \begin_inset Flex Code
19802 \begin_layout Plain Layout
19808 exactamente como trataría su definición.
19809 Por tanto, permítenos un
19817 \begin_layout LyX-Code
19821 \begin_layout Standard
19823 LyX no caería en un bucle infinito, pero sí en uno muy largo.
19826 \begin_layout Standard
19827 El segundo tipo especial de definición sería como:
19830 \begin_layout LyX-Code
19834 \begin_layout Standard
19835 Esto define un trozo de texto traducible, que permite traducir partes relevantes
19836 de la bibliografía.
19837 Puede incluirse en una definición tratándolo como una clave:
19838 \begin_inset Flex Code
19841 \begin_layout Plain Layout
19848 Varios de estos están predefinidos en
19849 \begin_inset Flex Code
19852 \begin_layout Plain Layout
19859 Advertiremos que no son macros en el sentido definido.
19863 \begin_layout Standard
19864 Aquí hay, pues, un ejemplo que usa todas estas características:
19865 \begin_inset VSpace defskip
19871 \begin_layout Standard
19875 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %_edtext%, ]]}]]}
19878 \begin_layout Standard
19879 \begin_inset VSpace defskip
19882 Así definimos una macro que imprime el autor seguido de coma, si la clave
19884 \begin_inset Flex Code
19887 \begin_layout Plain Layout
19893 está definida, o imprime el nombre del editor seguido por el texto
19894 \begin_inset Flex Code
19897 \begin_layout Plain Layout
19903 o su traducción (por omisión
19904 \begin_inset Quotes eld
19908 \begin_inset Quotes erd
19912 \begin_inset Flex Code
19915 \begin_layout Plain Layout
19922 De hecho, esto está definido en
19923 \begin_inset Flex Code
19926 \begin_layout Plain Layout
19932 , por tanto puedes usarlo en tus propias definiciones o redefiniciones,
19933 si cargas antes ese archivo.
19936 \begin_layout Section
19937 Etiquetas para la salida XHTML
19938 \begin_inset CommandInset label
19940 name "sec:Etiquetas-para-XHTML"
19947 \begin_layout Standard
19948 Como para LaTeX o DocBook, el formato de salida XHTML en LyX también se
19949 controla mediante la información contenida en archivos de formato.
19950 En general, LyX provee valores predefinidos sensatos y, como se mencionó
19951 anteriormente, incluso construirá reglas de estilo CSS a partir de las
19952 otras etiquetas de formato.
19953 Por ejemplo, LyX intentará usar la información proporcionada por la declaración
19955 \begin_inset Flex Code
19958 \begin_layout Plain Layout
19964 para el estilo Chapter para escribir CSS que formateará adecuadamente los
19965 encabezados de capítulo.
19968 \begin_layout Standard
19969 En muchos casos, por tanto, no tendrás que hacer nada para obtener una aceptable
19970 salida XHTML para tus propios entornos, recuadros personalizados y cosas
19972 Pero en ciertos casos querrás hacer cambios, y para eso LyX proporciona
19973 un número de etiquetas de formato que se pueden usar para personalizar
19974 los XHTML y CSS generados.
19977 \begin_layout Standard
19978 Advertimos que hay dos etiquetas,
19979 \begin_inset Flex Code
19982 \begin_layout Plain Layout
19989 \begin_inset Flex Code
19992 \begin_layout Plain Layout
19998 que pueden aparecer fuera de las declaraciones de estilos y recuadros.
20000 \begin_inset CommandInset ref
20002 reference "sub:Parámetros-generales-clases"
20006 para detalles sobre esto.
20009 \begin_layout Subsection
20011 \begin_inset CommandInset label
20013 name "sub:Estilos-de-párrafo-XHTML"
20020 \begin_layout Standard
20021 El tipo de XHTML que genera LyX para un párrafo depende de si se trata de
20022 un párrafo normal, de un comando o de un entorno, en los que esto se determina
20023 por el contenido de la correspondiente etiqueta
20024 \begin_inset Flex Code
20027 \begin_layout Plain Layout
20037 \begin_layout Standard
20038 Para un comando o párrafo, la salida XHTML tiene la forma siguiente:
20041 \begin_layout LyX-Code
20043 \begin_inset Quotes erd
20047 \begin_inset Quotes erd
20053 \begin_layout LyX-Code
20055 \begin_inset Quotes erd
20059 \begin_inset Quotes erd
20065 \begin_layout LyX-Code
20066 Contents of the paragraph.
20069 \begin_layout LyX-Code
20073 \begin_layout Standard
20074 Por supuesto, `label tags´ se omiten si el párrafo no tiene rótulo.
20077 \begin_layout Standard
20078 Para un entorno que no sea algún tipo de lista, XHTML toma la forma:
20081 \begin_layout LyX-Code
20083 \begin_inset Quotes erd
20087 \begin_inset Quotes erd
20093 \begin_layout LyX-Code
20095 \begin_inset Quotes erd
20099 \begin_inset Quotes erd
20103 \begin_inset Quotes erd
20107 \begin_inset Quotes erd
20110 >Environment Label</labeltag>First paragraph.</itemtag>
20113 \begin_layout LyX-Code
20114 <itemtag>Second paragraph.</itemtag>
20117 \begin_layout LyX-Code
20121 \begin_layout Standard
20122 El rótulo se genera solo para el primer párrafo, como debería ser, por ejemplo,
20127 \begin_layout Standard
20128 Para una lista disponemos de una de estas formas:
20131 \begin_layout LyX-Code
20133 \begin_inset Quotes erd
20137 \begin_inset Quotes erd
20143 \begin_layout LyX-Code
20145 \begin_inset Quotes erd
20149 \begin_inset Quotes erd
20153 \begin_inset Quotes erd
20157 \begin_inset Quotes erd
20160 >List Label</labeltag>First item.</itemtag>
20163 \begin_layout LyX-Code
20165 \begin_inset Quotes erd
20169 \begin_inset Quotes erd
20173 \begin_inset Quotes erd
20177 \begin_inset Quotes erd
20180 >List Label</labeltag>Second item.</itemtag>
20183 \begin_layout LyX-Code
20187 \begin_layout LyX-Code
20191 \begin_layout LyX-Code
20193 \begin_inset Quotes erd
20197 \begin_inset Quotes erd
20203 \begin_layout LyX-Code
20205 \begin_inset Quotes erd
20209 \begin_inset Quotes erd
20212 >List Label</labeltag><itemtag attr=
20213 \begin_inset Quotes erd
20217 \begin_inset Quotes erd
20220 >First item.</itemtag>
20223 \begin_layout LyX-Code
20225 \begin_inset Quotes erd
20229 \begin_inset Quotes erd
20232 >List Label</labeltag><itemtag attr=
20233 \begin_inset Quotes erd
20237 \begin_inset Quotes erd
20240 >Second item.</itemtag>
20243 \begin_layout LyX-Code
20247 \begin_layout Standard
20248 Observa los diferentes órdenes de
20249 \begin_inset Flex Code
20252 \begin_layout Plain Layout
20259 \begin_inset Flex Code
20262 \begin_layout Plain Layout
20269 El orden que obtenemos depende del ajuste de
20270 \begin_inset Flex Code
20273 \begin_layout Plain Layout
20280 \begin_inset Flex Code
20283 \begin_layout Plain Layout
20289 es falso (por omisión), se obtiene el primero de ellos, con el rótulo dentro
20290 del ítem; si verdadero, se obtiene el segundo, con el rótulo fuera del
20294 \begin_layout Standard
20295 Las etiquetas específicas y la salida de los atributos para cada tipo de
20296 párrafo puede ser controlado por medio de las etiquetas de formato que
20298 Como mencionamos antes, sin embargo, LyX usa predefinidos adecuados para
20299 muchos de estos valores, por lo que generalmente no necesitarás hacer nada
20300 para obtener una buena salida XHTML.
20301 Partiendo de las etiquetas ya disponibles puedes afinar lascosas a tu gusto.
20304 \begin_layout Description
20305 \begin_inset Flex Code
20308 \begin_layout Plain Layout
20315 \begin_inset Flex Code
20318 \begin_layout Plain Layout
20324 ] Especifica información de los atributos a entregar con la etiqueta principal.
20326 \begin_inset Quotes eld
20330 \begin_inset Flex Code
20333 \begin_layout Plain Layout
20340 \begin_inset Quotes erd
20344 Por omisión, LyX producirá
20345 \begin_inset Quotes eld
20349 \begin_inset Flex Code
20352 \begin_layout Plain Layout
20359 \begin_inset Quotes erd
20363 \begin_inset Flex Code
20366 \begin_layout Plain Layout
20372 es el nombre del formato en LyX, en minúsculas, por ejemplo: chapter.
20377 debería contener ninguna información de estilo.
20379 \begin_inset Flex Code
20382 \begin_layout Plain Layout
20388 para ese propósito.
20391 \begin_layout Description
20392 \begin_inset Flex Code
20395 \begin_layout Plain Layout
20402 \begin_inset Flex Code
20405 \begin_layout Plain Layout
20414 \begin_inset space \thinspace{}
20418 \begin_inset Flex Code
20421 \begin_layout Plain Layout
20427 ] Si producir la información CSS predeterminada que LyX genera para este
20428 formato, incluso si se proporciona explícitamente información adicional
20430 \begin_inset Flex Code
20433 \begin_layout Plain Layout
20441 \begin_inset Flex Code
20444 \begin_layout Plain Layout
20450 permite alterar o aumentar el CSS generado, no sobrescribirlo totalmente.
20452 \begin_inset Flex Code
20455 \begin_layout Plain Layout
20464 \begin_layout Description
20465 \begin_inset Flex Code
20468 \begin_layout Plain Layout
20475 \begin_inset Flex Code
20478 \begin_layout Plain Layout
20484 ] Etiqueta a usar para párrafos individuales de entornos, reemplazando
20485 \begin_inset Flex Code
20488 \begin_layout Plain Layout
20494 en los ejemplos de arriba.
20496 \begin_inset Flex Code
20499 \begin_layout Plain Layout
20508 \begin_layout Description
20509 \begin_inset Flex Code
20512 \begin_layout Plain Layout
20519 \begin_inset Flex Code
20522 \begin_layout Plain Layout
20528 ] Atributos para la etiqueta ítem.
20530 \begin_inset Quotes eld
20534 \begin_inset Flex Code
20537 \begin_layout Plain Layout
20538 class=`layoutname_item'
20544 \begin_inset Quotes erd
20552 debería contener ninguna información de estilo.
20554 \begin_inset Flex Code
20557 \begin_layout Plain Layout
20563 para ese propósito.
20566 \begin_layout Description
20567 \begin_inset Flex Code
20570 \begin_layout Plain Layout
20577 \begin_inset Flex Code
20580 \begin_layout Plain Layout
20586 ] Etiqueta a usar para rótulos de párrafos e ítems, reemplazando
20587 \begin_inset Flex Code
20590 \begin_layout Plain Layout
20596 en los ejemplos de arriba.
20598 \begin_inset Flex Code
20601 \begin_layout Plain Layout
20608 \begin_inset Flex Code
20611 \begin_layout Plain Layout
20618 \begin_inset Flex Code
20621 \begin_layout Plain Layout
20628 \begin_inset Flex Code
20631 \begin_layout Plain Layout
20632 Centered_Top_Environment
20637 , en cuyos casos es
20638 \begin_inset Flex Code
20641 \begin_layout Plain Layout
20650 \begin_layout Description
20651 \begin_inset Flex Code
20654 \begin_layout Plain Layout
20661 \begin_inset Flex Code
20664 \begin_layout Plain Layout
20670 ] Atributos para la etiqueta del rótulo.
20672 \begin_inset Quotes eld
20676 \begin_inset Flex Code
20679 \begin_layout Plain Layout
20680 class=`layoutname_label'
20686 \begin_inset Quotes erd
20694 debería contener ninguna información de estilo.
20696 \begin_inset Flex Code
20699 \begin_layout Plain Layout
20705 para ese propósito.
20708 \begin_layout Description
20709 \begin_inset Flex Code
20712 \begin_layout Plain Layout
20719 \begin_inset Flex Code
20722 \begin_layout Plain Layout
20731 \begin_inset space \thinspace{}
20735 \begin_inset Flex Code
20738 \begin_layout Plain Layout
20744 ] Solo es significativo para entornos tipo lista, esta etiqueta controla
20745 si la etiqueta de rótulo se genera antes o dentro de la etiqueta de ítem.
20746 Se usa, por ejemplo, en el entorno descripción, donde queremos `
20747 \begin_inset Flex Code
20750 \begin_layout Plain Layout
20751 <dt>\SpecialChar \ldots{}
20752 </dt><dd>\SpecialChar \ldots{}
20760 \begin_inset Flex Code
20763 \begin_layout Plain Layout
20769 : la etiqueta de rótulo se genera dentro de la etiqueta de ítem.
20772 \begin_layout Description
20773 \begin_inset Flex Code
20776 \begin_layout Plain Layout
20782 Información para generar en la sección
20783 \begin_inset Flex Code
20786 \begin_layout Plain Layout
20792 cuando se usa este estilo.
20793 Esto podría, por ejemplo, utilizarse para incluir un bloque
20794 \begin_inset Flex Code
20797 \begin_layout Plain Layout
20803 definiendo un controlador
20804 \begin_inset Flex Code
20807 \begin_layout Plain Layout
20816 \begin_layout Description
20817 \begin_inset Flex Code
20820 \begin_layout Plain Layout
20826 Información de estilo CSS a incluir cuando se usa este estilo.
20827 Advertimos que esto será automáticamente envuelto en un bloque
20828 \begin_inset Flex Code
20831 \begin_layout Plain Layout
20837 generado por el formato, por tanto solo es necesario incluir el propio
20844 \begin_inset Flex Code
20847 \begin_layout Plain Layout
20856 \begin_layout Description
20857 \begin_inset Flex Code
20860 \begin_layout Plain Layout
20867 \begin_inset Flex Code
20870 \begin_layout Plain Layout
20876 ] Etiqueta para el rótulo principal, reemplazando
20877 \begin_inset Flex Code
20880 \begin_layout Plain Layout
20886 en losejemplos de arriba.
20888 \begin_inset Flex Code
20891 \begin_layout Plain Layout
20900 \begin_layout Description
20901 \begin_inset Flex Code
20904 \begin_layout Plain Layout
20911 \begin_inset Flex Code
20914 \begin_layout Plain Layout
20923 \begin_inset space \thinspace{}
20927 \begin_inset Flex Code
20930 \begin_layout Plain Layout
20936 ] Marca este estilo como el que se va a usar para generar la etiqueta
20937 \begin_inset Flex Code
20940 \begin_layout Plain Layout
20946 para el archivo XHTML.
20947 Por omisión, es falso.
20949 \begin_inset Flex Code
20952 \begin_layout Plain Layout
20958 lo establece verdadero para el entorno
20959 \begin_inset Flex Code
20962 \begin_layout Plain Layout
20972 \begin_layout Subsection
20976 \begin_layout Standard
20977 La salida XHTML de los recuadros también se puede controlar por información
20978 en archivos 'layout'.
20982 \begin_layout Plain Layout
20983 Por ahora, esto solo es cierto para recuadros de
20984 \begin_inset Quotes eld
20988 \begin_inset Quotes erd
20991 (recuadros en los que puedes escribir) y no para recuadros de
20992 \begin_inset Quotes eld
20996 \begin_inset Quotes erd
20999 (recuadros asociados con cuadros de diálogo).
21004 También en este caso, LyX intenta proporcionar valores predefinidos adecuados,
21005 y construye reglas de estilo CSS, pero todo puede personalizarse.
21008 \begin_layout Standard
21009 Para los recuadros, LyX produce XHTML en la forma:
21012 \begin_layout LyX-Code
21014 \begin_inset Quotes erd
21018 \begin_inset Quotes erd
21024 \begin_layout LyX-Code
21025 <labeltag>Label</labeltag>
21028 \begin_layout LyX-Code
21030 \begin_inset Quotes erd
21034 \begin_inset Quotes erd
21037 >Contents of the inset.</innertag>
21040 \begin_layout LyX-Code
21044 \begin_layout Standard
21045 Si el recuadro permite párrafos múltiples ---o sea, si
21046 \begin_inset Flex Code
21049 \begin_layout Plain Layout
21055 es verdadero--- el contenido del recuadro se generará en forma de párrafos
21056 estructurados según los estilos usados para dichos párrafos (normal, cita,
21058 El rótulo de la etiqueta se omite si el párrafo no lo tiene y, por el momento,
21060 \begin_inset Flex Code
21063 \begin_layout Plain Layout
21070 La etiqueta interior es opcional y, por omisión, no aparece.
21073 \begin_layout Standard
21074 Las etiquetas y atributos específicos para cada recuadro se pueden controlar
21075 mediante las siguientes etiquetas de formato.
21078 \begin_layout Description
21079 \begin_inset Flex Code
21082 \begin_layout Plain Layout
21089 \begin_inset Flex Code
21092 \begin_layout Plain Layout
21098 ] Especifica información de atributos a generar con la etiqueta principal.
21100 \begin_inset Quotes eld
21104 \begin_inset Flex Code
21107 \begin_layout Plain Layout
21108 class=`myinset' onclick=`\SpecialChar \ldots{}
21115 \begin_inset Quotes erd
21119 Por omisión, LyX generará
21120 \begin_inset Quotes eld
21124 \begin_inset Flex Code
21127 \begin_layout Plain Layout
21134 \begin_inset Quotes erd
21138 \begin_inset Flex Code
21141 \begin_layout Plain Layout
21147 es el nombre del recuadro en LyX, en minúsculas y con los caracteres no
21148 alfanuméricos convertidos en guiones bajos, por ejemplo: footnote.
21151 \begin_layout Description
21152 \begin_inset Flex Code
21155 \begin_layout Plain Layout
21162 \begin_inset Flex Code
21165 \begin_layout Plain Layout
21174 \begin_inset space \thinspace{}
21178 \begin_inset Flex Code
21181 \begin_layout Plain Layout
21187 ] Si producir la información CSS predeterminadad que LyX genera para este
21188 formato, incluso si se da explícitamente información adicional con
21189 \begin_inset Flex Code
21192 \begin_layout Plain Layout
21200 \begin_inset Flex Code
21203 \begin_layout Plain Layout
21209 parmite alterar o aumentar el CSS generado, en vez de sobrescribirlo.
21213 \begin_layout Description
21214 \begin_inset Flex Code
21217 \begin_layout Plain Layout
21224 \begin_inset Flex Code
21227 \begin_layout Plain Layout
21233 ] Atributos para la etiqueta interna.
21235 \begin_inset Quotes eld
21239 \begin_inset Flex Code
21242 \begin_layout Plain Layout
21243 class=`insetname_inner'
21249 \begin_inset Quotes erd
21255 \begin_layout Description
21256 \begin_inset Flex Code
21259 \begin_layout Plain Layout
21266 \begin_inset Flex Code
21269 \begin_layout Plain Layout
21275 ] La etiqueta interna, reemplazando
21276 \begin_inset Flex Code
21279 \begin_layout Plain Layout
21285 en los ejemplos de arriba.
21286 Por omisión, ninguna.
21289 \begin_layout Description
21290 \begin_inset Flex Code
21293 \begin_layout Plain Layout
21300 \begin_inset Flex Code
21303 \begin_layout Plain Layout
21310 \begin_inset space \thinspace{}
21314 \begin_inset Flex Code
21317 \begin_layout Plain Layout
21325 ] Si este recuadro representa un bloque de texto independiente (como una
21326 nota al pie) o bien representa material que está incluido en el texto circundan
21327 te (como una rama).
21331 \begin_layout Description
21332 \begin_inset Flex Code
21335 \begin_layout Plain Layout
21342 \begin_inset Flex Code
21345 \begin_layout Plain Layout
21351 ] Un rótulo para este recuadro, posiblemente incluyendo una referencia a
21353 Por ejemplo, para notas al pie, podría ser:
21354 \begin_inset Flex Code
21357 \begin_layout Plain Layout
21366 Esto es opcional y no hay valor predeterminado.
21369 \begin_layout Description
21370 \begin_inset Flex Code
21373 \begin_layout Plain Layout
21379 Información que saldrá en la sección
21380 \begin_inset Flex Code
21383 \begin_layout Plain Layout
21389 cuando se usa este estilo.
21390 Esto podría usarse, por ejemplo, para incluir un bloque
21391 \begin_inset Flex Code
21394 \begin_layout Plain Layout
21400 que defina un controlador
21401 \begin_inset Flex Code
21404 \begin_layout Plain Layout
21413 \begin_layout Description
21414 \begin_inset Flex Code
21417 \begin_layout Plain Layout
21423 Información de estilo CSS a incluir cuando se usa este estilo.
21424 Esto será automáticamente envuelto en un bloque
21425 \begin_inset Flex Code
21428 \begin_layout Plain Layout
21434 generado por el formato, por lo que solo hay que incluir el propio CSS.
21437 \begin_layout Description
21438 \begin_inset Flex Code
21441 \begin_layout Plain Layout
21448 \begin_inset Flex Code
21451 \begin_layout Plain Layout
21457 ] La etiqueta a usar para el rótulo principal, reemplazando
21458 \begin_inset Flex Code
21461 \begin_layout Plain Layout
21467 en los ejemplos de arriba.
21468 El valor por omisión depende de
21469 \begin_inset Flex Code
21472 \begin_layout Plain Layout
21479 \begin_inset Flex Code
21482 \begin_layout Plain Layout
21489 \begin_inset Flex Code
21492 \begin_layout Plain Layout
21498 ; si es falso, el valor por omisión es
21499 \begin_inset Flex Code
21502 \begin_layout Plain Layout
21511 \begin_layout Subsection
21515 \begin_layout Standard
21516 La salida XHTML para flotantes también se puede controlar mediante información
21517 en archivos 'layout'.
21518 La salida tiene la forma:
21521 \begin_layout LyX-Code
21523 \begin_inset Quotes erd
21527 \begin_inset Quotes erd
21533 \begin_layout LyX-Code
21534 Contents of the float.
21537 \begin_layout LyX-Code
21541 \begin_layout Standard
21542 La leyenda, si la hay, es un recuadro separado y se generará como tal.
21543 Su aspecto puede controlarse con InsetLayout para recuadros de leyendas.
21547 \begin_layout Description
21548 \begin_inset Flex Code
21551 \begin_layout Plain Layout
21558 \begin_inset Flex Code
21561 \begin_layout Plain Layout
21567 ] Especifica información de los atributos a generar con la etiqueta principal,
21569 \begin_inset Quotes eld
21573 \begin_inset Flex Code
21576 \begin_layout Plain Layout
21577 class=`myfloat' onclick=`\SpecialChar \ldots{}
21584 \begin_inset Quotes erd
21588 Por omisión, LyX generará
21589 \begin_inset Quotes eld
21593 \begin_inset Flex Code
21596 \begin_layout Plain Layout
21597 class=`float float-floattype'
21603 \begin_inset Quotes erd
21607 \begin_inset Flex Code
21610 \begin_layout Plain Layout
21616 es el nombre en LyX para este tipo de flotante, como determina la declaración
21618 \begin_inset CommandInset ref
21620 reference "sub:Flotantes"
21624 ), aunque en minúsculas y con los caracteres no alfanuméricos sustituidos
21625 por guiones bajos, por ejemplo: float-table.
21628 \begin_layout Description
21629 \begin_inset Flex Code
21632 \begin_layout Plain Layout
21638 Información de estilo CSS a incluir cuando se usa este flotante.
21639 Esto será automáticamente envuelto en un bloque
21640 \begin_inset Flex Code
21643 \begin_layout Plain Layout
21649 generado por el formato, por lo que solo hay que incluir el propio CSS.
21652 \begin_layout Description
21653 \begin_inset Flex Code
21656 \begin_layout Plain Layout
21663 \begin_inset Flex Code
21666 \begin_layout Plain Layout
21672 ] La etiqueta a usar para este flotante, reemplazando "
21673 \begin_inset Flex Code
21676 \begin_layout Plain Layout
21682 " en el ejemplo de arriba.
21683 El valor por omisión es
21684 \begin_inset Flex Code
21687 \begin_layout Plain Layout
21693 y raramente habrá que cambiarlo.
21696 \begin_layout Subsection
21697 Formato de la Bibliografía
21700 \begin_layout Standard
21701 La bibliografía se puede formatear usando bloques
21702 \begin_inset Flex Code
21705 \begin_layout Plain Layout
21713 \begin_inset CommandInset ref
21715 reference "sub:Descripción-formato-cita"
21722 \begin_layout Subsection
21723 CSS generado por LyX
21726 \begin_layout Standard
21727 Hemos mencionado ya que LyX generará reglas de estilo CSS predeterminadas
21728 para recuadros y estilos de párrafo, basados en la información suministrada
21729 para otros formatos.
21730 En esta sección comentaremos qué información usa LyX y cómo la usa.
21733 \begin_layout Standard
21734 Actualmente, LyX auto-genera CSS solo para información sobre tipografías,
21736 \begin_inset Flex Code
21739 \begin_layout Plain Layout
21746 \begin_inset Flex Code
21749 \begin_layout Plain Layout
21756 \begin_inset Flex Code
21759 \begin_layout Plain Layout
21766 \begin_inset Flex Code
21769 \begin_layout Plain Layout
21775 especificados en la declaración
21776 \begin_inset Flex Code
21779 \begin_layout Plain Layout
21787 \begin_inset CommandInset ref
21789 reference "sub:Tipografías"
21793 .) La traducción es bastante sencilla y evidente.
21795 \begin_inset Quotes eld
21799 \begin_inset Flex Code
21802 \begin_layout Plain Layout
21809 \begin_inset Quotes erd
21813 \begin_inset Quotes eld
21817 \begin_inset Flex Code
21820 \begin_layout Plain Layout
21821 font-family: sans-serif;
21827 \begin_inset Quotes erd
21831 La correspondencia entre tamaños LyX y tamaños CSS es un poco menos obvia,
21832 pero intuitiva en todo caso.
21834 \begin_inset Flex Code
21837 \begin_layout Plain Layout
21844 \begin_inset Flex URL
21847 \begin_layout Plain Layout
21858 \begin_layout Chapter
21859 Inserción de material externo
21860 \begin_inset CommandInset label
21862 name "chap:Inserción-de-material"
21869 \begin_layout Standard
21870 \begin_inset Box Shadowbox
21880 height_special "totalheight"
21883 \begin_layout Plain Layout
21884 AVISO: Esta parte de la documentación no ha sido actualizada desde hace
21886 Esperamos que aún sea adecuada, pero no hay garantías.
21894 \begin_layout Standard
21895 El uso de material de procedencia externa a LyX se trata con detalle en
21901 En el presente documento se trata sobre lo que debe suceder entre bambalinas
21902 para incluir nuevas clases de material.
21905 \begin_layout Section
21909 \begin_layout Standard
21910 La característica material externo se basa en el concepto
21915 Una plantilla es una especificación de la forma en que LyX interactúa con
21916 ciertos tipos de material.
21917 De por sí, LyX incluye plantillas predefinidas para figuras Xfig, varios
21918 tipos de imágenes raster, diagramas de ajedrez y notación musical LilyPond.
21919 Puedes comprobar la lista actual en el menú
21920 \begin_inset Flex MenuItem
21923 \begin_layout Plain Layout
21924 Insertar\SpecialChar \menuseparator
21925 Archivo\SpecialChar \menuseparator
21932 Además, es posible construir plantillas propias para soportar determinado
21934 Más tarde describiremos con más detalle lo que esto implica, y esperamos
21935 que nos envíes tus plantillas para que se puedan incluir en próximas versiones
21939 \begin_layout Standard
21940 Otra idea básica de la característica material externo es distinguir entre
21941 el archivo original que sirve como base para el material final y el archivo
21942 generado que se incluye en el documento impreso o exportado.
21943 Por ejemplo, consideremos el caso de una figura hecha con
21944 \begin_inset Flex Code
21947 \begin_layout Plain Layout
21954 El programa Xfig en sí mismo trabaja sobre un archivo original con extensión
21956 \begin_inset Flex Code
21959 \begin_layout Plain Layout
21966 Dentro de Xfig, se crea o modifica una figura y se guarda como un archivo
21968 \begin_inset Flex Code
21971 \begin_layout Plain Layout
21978 Para incluir la figura en un documento, se ejecuta
21979 \begin_inset Flex Code
21982 \begin_layout Plain Layout
21988 con el fin de crear un archivo PostScript que puede incluirse fácilmente
21989 en el archivo LaTeX.
21990 En este caso, el archivo
21991 \begin_inset Flex Code
21994 \begin_layout Plain Layout
22000 es el original, y el archivo PostScript es el archivo generado.
22003 \begin_layout Standard
22004 Esta distinción es importante para permitir la actualización del material
22005 durante el proceso de escritura del documento.
22006 Además, provee la flexibilidad necesaria para soportar múltiples formatos
22008 Por ejemplo, en el caso de un archivo de texto sencillo, no es una brillante
22009 idea incluir la figura como PostScript puro.
22010 En vez de esto, es preferible incluir solo una referencia a la figura o
22011 bien probar algún convertidor de gráficos a Ascii para que el resultado
22012 final se parezca al gráfico real.
22013 La gestión de material externo de LyX permite hacer esto porque se basa
22014 en parámetros apropiados para los diferentes formatos de exportación soportados.
22017 \begin_layout Standard
22018 Además de soportar la generación de diferentes productos de acuerdo con
22019 el formato de exportación, existe una profunda integración con las aplicaciones
22020 de edición y visualización.
22021 En el caso de figuras Xfig, es posible editar el archivo original en Xfig
22022 con un simple clic derecho sobre el recuadro y también previsualizar el
22023 PostScript generado con ghostview.
22024 Se acabaron los enredos con la línea de comandos y/o el navegador de archivos
22025 para localizar y manipular los archivos originales o los generados.
22026 De esta manera, se pueden por fin aprovechar las ventajas de muy diversas
22027 aplicaciones importantes para la composición de los documentos, y por tanto
22028 aumentar el rendimiento.
22031 \begin_layout Section
22032 El archivo de configuración de plantillas externas
22035 \begin_layout Standard
22036 Es relativamente fácil añadir en LyX definiciones personalizadas de plantillas
22038 Sin embargo, hay que ser consciente de que hacer esto de manera descuidada
22039 generará muy probablemente un agujero de seguridad fácil de explotar.
22040 Así pues, antes de hacer esto, lee por favor la discusión sobre seguridad
22042 \begin_inset CommandInset ref
22044 reference "sec:Discusión-sobre-seguridad"
22051 \begin_layout Standard
22052 Una vez dicho esto, te animamos a que envíes cualquiera plantilla interesante
22056 \begin_layout Standard
22057 Las plantillas externas se definen en el archivo
22058 \begin_inset Flex Code
22061 \begin_layout Plain Layout
22062 LyXDir/lib/external_templates
22068 Puedes colocar tus versiones propias en
22069 \begin_inset Flex Code
22072 \begin_layout Plain Layout
22073 UserDir/external_templates
22081 \begin_layout Standard
22082 Una plantilla típica tiene un aspecto como este:
22085 \begin_layout LyX-Code
22089 \begin_layout LyX-Code
22090 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
22093 \begin_layout LyX-Code
22097 \begin_layout LyX-Code
22101 \begin_layout LyX-Code
22105 \begin_layout LyX-Code
22109 \begin_layout LyX-Code
22113 \begin_layout LyX-Code
22114 AutomaticProduction true
22117 \begin_layout LyX-Code
22121 \begin_layout LyX-Code
22125 \begin_layout LyX-Code
22129 \begin_layout LyX-Code
22130 TransformCommand Rotate RotationLatexCommand
22133 \begin_layout LyX-Code
22134 TransformCommand Resize ResizeLatexCommand
22137 \begin_layout LyX-Code
22138 Product "$$RotateFront$$ResizeFront
22141 \begin_layout LyX-Code
22146 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
22149 \begin_layout LyX-Code
22150 $$ResizeBack$$RotateBack"
22153 \begin_layout LyX-Code
22157 \begin_layout LyX-Code
22158 UpdateResult "$$AbsPath$$Basename.pstex_t"
22161 \begin_layout LyX-Code
22162 Requirement "graphicx"
22165 \begin_layout LyX-Code
22166 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
22169 \begin_layout LyX-Code
22170 ReferencedFile latex "$$AbsPath$$Basename.eps"
22173 \begin_layout LyX-Code
22174 ReferencedFile dvi "$$AbsPath$$Basename.eps"
22177 \begin_layout LyX-Code
22181 \begin_layout LyX-Code
22185 \begin_layout LyX-Code
22186 TransformCommand Rotate RotationLatexCommand
22189 \begin_layout LyX-Code
22190 TransformCommand Resize ResizeLatexCommand
22193 \begin_layout LyX-Code
22194 Product "$$RotateFront$$ResizeFront
22197 \begin_layout LyX-Code
22202 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
22205 \begin_layout LyX-Code
22206 $$ResizeBack$$RotateBack"
22209 \begin_layout LyX-Code
22210 UpdateFormat pdftex
22213 \begin_layout LyX-Code
22214 UpdateResult "$$AbsPath$$Basename.pdftex_t"
22217 \begin_layout LyX-Code
22218 Requirement "graphicx"
22221 \begin_layout LyX-Code
22222 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
22225 \begin_layout LyX-Code
22226 ReferencedFile latex "$$AbsPath$$Basename.pdf"
22229 \begin_layout LyX-Code
22233 \begin_layout LyX-Code
22237 \begin_layout LyX-Code
22238 Product "$$Contents(
22240 "$$AbsPath$$Basename.asc
22245 \begin_layout LyX-Code
22246 UpdateFormat asciixfig
22249 \begin_layout LyX-Code
22250 UpdateResult "$$AbsPath$$Basename.asc"
22253 \begin_layout LyX-Code
22257 \begin_layout LyX-Code
22261 \begin_layout LyX-Code
22262 Product "<graphic fileref=
22264 "$$AbsOrRelPathMaster$$Basename.eps
22269 \begin_layout LyX-Code
22273 \begin_layout LyX-Code
22277 \begin_layout LyX-Code
22278 UpdateResult "$$AbsPath$$Basename.eps"
22281 \begin_layout LyX-Code
22282 ReferencedFile docbook "$$AbsPath$$Basename.eps"
22285 \begin_layout LyX-Code
22286 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
22289 \begin_layout LyX-Code
22293 \begin_layout LyX-Code
22294 Product "[XFig: $$FName]"
22297 \begin_layout LyX-Code
22301 \begin_layout LyX-Code
22305 \begin_layout Standard
22306 Como puedes ver, la plantilla se incluye entre
22307 \begin_inset Flex Code
22310 \begin_layout Plain Layout
22316 \SpecialChar \ldots{}
22318 \begin_inset Flex Code
22321 \begin_layout Plain Layout
22328 Contiene una cabecera que especifica algunas configuraciones generales
22329 y, por cada formato de archivo de documento primario soportado, una sección
22331 \begin_inset Flex Code
22334 \begin_layout Plain Layout
22340 \SpecialChar \ldots{}
22342 \begin_inset Flex Code
22345 \begin_layout Plain Layout
22354 \begin_layout Subsection
22355 La cabecera de la plantilla
22358 \begin_layout Description
22359 \begin_inset Flex Code
22362 \begin_layout Plain Layout
22363 AutomaticProduction
22364 \begin_inset space ~
22372 Si el archivo representado por la plantilla debe ser generado por LyX.
22373 Este comando debe aparecer exactamente una vez.
22376 \begin_layout Description
22377 \begin_inset Flex Code
22380 \begin_layout Plain Layout
22382 \begin_inset space ~
22390 Un patrón global que se usa en el diálogo del archivo para filtrar los
22392 Si hay más de una posible extensión de archivo (p.
22393 \begin_inset space \thinspace{}
22397 \begin_inset space ~
22401 \begin_inset Flex Code
22404 \begin_layout Plain Layout
22411 \begin_inset Flex Code
22414 \begin_layout Plain Layout
22420 ), se pone algo como
22421 \begin_inset Flex Code
22424 \begin_layout Plain Layout
22431 Este comando debe aparecer exactamente una vez.
22434 \begin_layout Description
22435 \begin_inset Flex Code
22438 \begin_layout Plain Layout
22440 \begin_inset space ~
22448 El texto mostrado sobre el botón.
22449 Este comando debe aparecer exactamente una vez.
22452 \begin_layout Description
22453 \begin_inset Flex Code
22456 \begin_layout Plain Layout
22458 \begin_inset space ~
22462 \begin_inset space ~
22470 El texto de ayuda que se muestra en diálogo.
22471 Da suficiente información sobre lo que puede proporcionar la plantilla.
22472 Este comando debe aparecer exactamente una vez.
22475 \begin_layout Description
22476 \begin_inset Flex Code
22479 \begin_layout Plain Layout
22481 \begin_inset space ~
22489 El formato de archivo del original.
22490 Debe ser el nombre de un formato conocido por LyX (véase la
22491 \begin_inset CommandInset ref
22493 reference "sec:Formatos"
22499 \begin_inset Quotes fld
22503 \begin_inset Flex Code
22506 \begin_layout Plain Layout
22513 \begin_inset Quotes frd
22516 si la plantilla puede manejar archivos originales o más de un formato.
22517 En este caso, LyX intentará inspeccionar el archivo mismo para deducir
22519 Este comando debe aparecer exactamente una vez.
22522 \begin_layout Description
22523 \begin_inset Flex Code
22526 \begin_layout Plain Layout
22528 \begin_inset space ~
22536 Un nombre único para la plantilla.
22537 No debe contener macros de sustitución (véase abajo).
22540 \begin_layout Description
22541 \begin_inset Flex Code
22544 \begin_layout Plain Layout
22546 \begin_inset space ~
22549 Rotate|Resize|Clip|Extra
22554 Este comando especifica qué transformaciones son soportadas por esta plantilla.
22555 Puede aparecer ninguna o varias veces.
22556 Este comando facilita las correspondientes pestañas en el diálogo de material
22559 \begin_inset Flex Code
22562 \begin_layout Plain Layout
22568 debe tener el correspondiente
22569 \begin_inset Flex Code
22572 \begin_layout Plain Layout
22579 \begin_inset Flex Code
22582 \begin_layout Plain Layout
22589 \begin_inset Flex Code
22592 \begin_layout Plain Layout
22599 De lo contrario la transformación no será soportada por ese formato.
22603 \begin_layout Subsection
22607 \begin_layout Description
22608 \begin_inset Flex Code
22611 \begin_layout Plain Layout
22613 \begin_inset space ~
22616 LaTeX|PDFLaTeX|PlainText|DocBook
22621 El formato de archivo del documento primario para el que es esta definición
22623 No toda plantilla tiene una representación sensible en los formatos de
22624 archivo de todos los documentos.
22625 No obstante, es preferible definir una sección
22626 \begin_inset Flex Code
22629 \begin_layout Plain Layout
22635 para todos los formatos.
22636 Se usa un texto postizo si no hay representación disponible.
22637 Entonces, al menos, se puede ver una referencia al material externo en
22638 el documento exportado.
22641 \begin_layout Description
22642 \begin_inset Flex Code
22645 \begin_layout Plain Layout
22647 \begin_inset space ~
22651 \begin_inset space ~
22659 Este comando define una macro adicional,
22660 \begin_inset Flex Code
22663 \begin_layout Plain Layout
22669 , para sustitución en
22670 \begin_inset Flex Code
22673 \begin_layout Plain Layout
22681 \begin_inset Flex Code
22684 \begin_layout Plain Layout
22690 puede contener en sí mismo macros de sustitución.
22691 La ventaja sobre el uso de
22692 \begin_inset Flex Code
22695 \begin_layout Plain Layout
22702 \begin_inset Flex Code
22705 \begin_layout Plain Layout
22711 es que el valor sustituido de
22712 \begin_inset Flex Code
22715 \begin_layout Plain Layout
22721 está saneado así que es un argumento opcional válido en el formato del
22723 Este comando puede aparecer ninguna o más veces.
22726 \begin_layout Description
22727 \begin_inset Flex Code
22730 \begin_layout Plain Layout
22732 \begin_inset space ~
22740 El texto que se inserta en el documento exportado.
22741 Realmente este es el comando más importante y puede ser bastante complejo.
22742 Este comando debe aparecer exactamente una vez.
22745 \begin_layout Description
22746 \begin_inset Flex Code
22749 \begin_layout Plain Layout
22751 \begin_inset space ~
22759 Este comando especifica un fragmento de preámbulo que se incluirá en el
22761 Tiene que definirse usando
22762 \begin_inset Flex Code
22765 \begin_layout Plain Layout
22771 \SpecialChar \ldots{}
22773 \begin_inset Flex Code
22776 \begin_layout Plain Layout
22783 Este comando puede aparecer ninguna o más veces.
22786 \begin_layout Description
22787 \begin_inset Flex Code
22790 \begin_layout Plain Layout
22792 \begin_inset space ~
22796 \begin_inset space ~
22804 Este comando indica los archivos que se crean por el proceso de conversión
22805 y que son necesarios para un formato de exportación particular.
22806 Si el nombre del archivo es relativo, se interpreta como relativo al documento
22808 Este comando puede darse ninguna o más veces.
22811 \begin_layout Description
22812 \begin_inset Flex Code
22815 \begin_layout Plain Layout
22817 \begin_inset space ~
22825 El nombre de un paquete LaTeX requerido.
22826 El paquete se incuye mediante
22827 \begin_inset Flex Code
22830 \begin_layout Plain Layout
22838 en el preámbulo LaTeX.
22839 Este comando puede aparecer ninguna o más veces.
22842 \begin_layout Description
22843 \begin_inset Flex Code
22846 \begin_layout Plain Layout
22848 \begin_inset space ~
22852 \begin_inset space ~
22855 RotationLatexCommand
22860 Este comando especifica que el comando LaTeX incluido debería usarse para
22862 Este comando puede aparecer una vez o ninguna.
22865 \begin_layout Description
22866 \begin_inset Flex Code
22869 \begin_layout Plain Layout
22871 \begin_inset space ~
22875 \begin_inset space ~
22883 Este comando especifica que el comando LaTeX incluido debería usarse para
22885 Este comando puede aparecer una vez o ninguna.
22888 \begin_layout Description
22889 \begin_inset Flex Code
22892 \begin_layout Plain Layout
22894 \begin_inset space ~
22898 \begin_inset space ~
22901 RotationLatexOption
22906 Este comando especifica que la rotación se hace mediante un argumento opcional.
22907 Este comando puede aparecer una vez o ninguna.
22910 \begin_layout Description
22911 \begin_inset Flex Code
22914 \begin_layout Plain Layout
22916 \begin_inset space ~
22920 \begin_inset space ~
22928 Este comando especifica que el cambio de tamaño se hace mediante un argumento
22930 Este comando puede aparecer una vez o ninguna
22933 \begin_layout Description
22934 \begin_inset Flex Code
22937 \begin_layout Plain Layout
22939 \begin_inset space ~
22943 \begin_inset space ~
22951 Este comando especifica que el recorte se hace mediante un argumento opcional.
22952 Este comando puede aparecer una vez o ninguna.
22955 \begin_layout Description
22956 \begin_inset Flex Code
22959 \begin_layout Plain Layout
22961 \begin_inset space ~
22965 \begin_inset space ~
22973 Este comando especifica que se usa un argumento extra opcional.
22974 Este comando puede aparecer una vez o ninguna.
22978 \begin_layout Description
22979 \begin_inset Flex Code
22982 \begin_layout Plain Layout
22984 \begin_inset space ~
22992 El formato de archivo del archivo convertido.
22993 Debe ser el nombre de un formato conocido por LyX (véase
22994 \begin_inset Flex MenuItem
22997 \begin_layout Plain Layout
23004 \begin_inset Flex MenuItem
23007 \begin_layout Plain Layout
23008 Gestión de archivos
23014 \begin_inset Flex MenuItem
23017 \begin_layout Plain Layout
23018 Herramientas\SpecialChar \menuseparator
23025 Este comando debe aparecer exactamente una vez.
23028 If the resulting file format is PDF, you need to specify the format
23029 \begin_inset Flex Code
23032 \begin_layout Plain Layout
23041 This is the PDF format used for including graphics.
23042 The other defined PDF formats are for document export.
23045 \begin_layout Description
23046 \begin_inset Flex Code
23049 \begin_layout Plain Layout
23051 \begin_inset space ~
23059 El nombre de archivo del archivo convertido.
23060 El nombre de archivo debe ser absoluto.
23061 Este comando debe aparecer exactamente una vez.
23064 \begin_layout Subsection
23065 Definiciones de preámbulo
23068 \begin_layout Standard
23069 El archivo de configuración de plantillas externas puede contener definiciones
23070 de preámbulo adicionales encerradas entre
23071 \begin_inset Flex Code
23074 \begin_layout Plain Layout
23080 \SpecialChar \ldots{}
23082 \begin_inset Flex Code
23085 \begin_layout Plain Layout
23092 Se pueden usar por las plantillas en la sección
23093 \begin_inset Flex Code
23096 \begin_layout Plain Layout
23105 \begin_layout Section
23106 El mecanismo de sustitución
23109 \begin_layout Standard
23110 Cuando la función de material externo recurre a un programa externo, se
23111 hace sobre la base de un comando definido en el archivo de configuración
23113 Estos comandos pueden contener varias macros que se expanden antes de su
23115 La ejecución tiene lugar siempre en el directorio del documento.
23119 \begin_layout Standard
23120 Además, cada vez que el material externo se va a mostrar, el nombre será
23121 generado por el mecanismo de sustitución, y la mayoría de los demás comandos
23122 en la definición de la plantilla soportan también sustitución.
23126 \begin_layout Standard
23127 Las macros disponibles son las siguientes:
23130 \begin_layout Description
23131 \begin_inset Flex Code
23134 \begin_layout Plain Layout
23135 $$AbsOrRelPathMaster
23140 La ruta del archivo, absoluta o relativa al documento LyX maestro.
23143 \begin_layout Description
23144 \begin_inset Flex Code
23147 \begin_layout Plain Layout
23148 $$AbsOrRelPathParent
23153 La ruta del archivo, absoluta o relativa al documento LyX.
23156 \begin_layout Description
23157 \begin_inset Flex Code
23160 \begin_layout Plain Layout
23166 La ruta absoluta del archivo.
23169 \begin_layout Description
23170 \begin_inset Flex Code
23173 \begin_layout Plain Layout
23179 El nombre de archivo sin ruta y sin la extensión.
23182 \begin_layout Description
23183 \begin_inset Flex Code
23186 \begin_layout Plain Layout
23188 \begin_inset Quotes eld
23192 \begin_inset Quotes erd
23200 Esta macro expandirá los contenidos del archivo con el nombre
23201 \begin_inset Flex Code
23204 \begin_layout Plain Layout
23213 \begin_layout Description
23214 \begin_inset Flex Code
23217 \begin_layout Plain Layout
23223 La extensión de archivo (incluyendo el punto).
23226 \begin_layout Description
23227 \begin_inset Flex Code
23230 \begin_layout Plain Layout
23236 El nombre de archivo del archivo especificado en el diálogo de material
23238 Esto es bien un nombre absoluto, bien relativo al documento LyX.
23241 \begin_layout Description
23242 \begin_inset Flex Code
23245 \begin_layout Plain Layout
23251 La parte de la ruta de
23252 \begin_inset Flex Code
23255 \begin_layout Plain Layout
23261 (nombre absoluto o relativo al documento LyX).
23264 \begin_layout Description
23265 \begin_inset Flex Code
23268 \begin_layout Plain Layout
23274 La ruta del archivo, relativa al documento maestro LyX.
23277 \begin_layout Description
23278 \begin_inset Flex Code
23281 \begin_layout Plain Layout
23287 La ruta del archivo, relativa al documento LyX.
23290 \begin_layout Description
23291 \begin_inset Flex Code
23294 \begin_layout Plain Layout
23300 Esta macro expandirá a la ruta absoluta del directorio de sistema.
23301 Esto se usa habitualmente para apuntar a los varios guiones de ayuda que
23302 se empaquetan con LyX.
23305 \begin_layout Description
23306 \begin_inset Flex Code
23309 \begin_layout Plain Layout
23315 Un nombre y ruta completa a un directorio temporal que será borrado automáticam
23316 ente siempre que el documento se cierra, o se suprime la inserción de material
23320 \begin_layout Standard
23321 Todas las macros de ruta contienen un separador de rastreo del directorio,
23322 así se puede construir, p.
23323 \begin_inset space \thinspace{}
23326 e., el nombre de archivo absoluto con
23327 \begin_inset Flex Code
23330 \begin_layout Plain Layout
23331 $$AbsPath$$Basename$$Extension
23339 \begin_layout Standard
23340 Las macros anteriores son sustituidas en todos los comandos a menos que
23341 se indique lo contrario.
23343 \begin_inset Flex Code
23346 \begin_layout Plain Layout
23352 soporta adicionalmente las siguientes sustituciones si se habilitan por
23354 \begin_inset Flex Code
23357 \begin_layout Plain Layout
23364 \begin_inset Flex Code
23367 \begin_layout Plain Layout
23376 \begin_layout Description
23377 \begin_inset Flex Code
23380 \begin_layout Plain Layout
23386 La parte delantera del comando para cambiar el tamaño.
23389 \begin_layout Description
23390 \begin_inset Flex Code
23393 \begin_layout Plain Layout
23399 La parte trasera del comando para cambiar el tamaño.
23402 \begin_layout Description
23403 \begin_inset Flex Code
23406 \begin_layout Plain Layout
23412 La parte delantera del comando para la rotación.
23415 \begin_layout Description
23416 \begin_inset Flex Code
23419 \begin_layout Plain Layout
23425 La parte trasera del comando para la rotación.
23428 \begin_layout Standard
23429 La cadena de valor del comando
23430 \begin_inset Flex Code
23433 \begin_layout Plain Layout
23439 soporta adicionalmente las siguientes sustituciones si éstas se han habilitado
23441 \begin_inset Flex Code
23444 \begin_layout Plain Layout
23451 \begin_inset Flex Code
23454 \begin_layout Plain Layout
23463 \begin_layout Description
23464 \begin_inset Flex Code
23467 \begin_layout Plain Layout
23476 \begin_layout Description
23477 \begin_inset Flex Code
23480 \begin_layout Plain Layout
23489 \begin_layout Description
23490 \begin_inset Flex Code
23493 \begin_layout Plain Layout
23499 La opción cambio de tamaño.
23502 \begin_layout Description
23503 \begin_inset Flex Code
23506 \begin_layout Plain Layout
23512 La opción rotación.
23515 \begin_layout Standard
23516 Te puedes preguntar por qué hay tantas macros de ruta.
23517 Por dos razones, principalmente:
23520 \begin_layout Enumerate
23521 Los nombres de archivo relativo y absoluto deberían permanecer relativo
23522 o absoluto, respectivamente.
23523 Los usuarios pueden tener razones para preferir cualquiera de ambas formas.
23524 Los nombres relativos son útiles para documentos portables que deberían
23525 funcionar en máquinas diferentes, por ejemplo.
23526 Los nombres absolutos pueden ser requeridos por algunos programas.
23529 \begin_layout Enumerate
23530 LaTeX procesa los nombres de archivo relativos de manera diferente a LyX
23531 y otros programas en archivos anidados incluidos.
23532 Para LyX, un nombre de archivo relativo es siempre relativo al documento
23533 que contiene el nombre de archivo.
23534 Para LaTeX, es siempre relativo al documento maestro.
23535 Estas dos definiciones son idénticas si se tiene solo un documento, pero
23536 son distintas si se tiene un documento maestro que incluye documentos parciales.
23537 Esto quiere decir que los nombres de archivo relativos deben ser transformados
23538 cuando se presentan a LaTeX.
23539 Afortunadamente, LyX hace esto automáticamente si se eligen las macros
23543 \begin_layout Standard
23544 Así pues, ¿qué macros de ruta deberían emplearse en las definiciones de
23545 plantillas nuevas? La regla no es difícil:
23548 \begin_layout Itemize
23550 \begin_inset Flex Code
23553 \begin_layout Plain Layout
23559 si se requiere una ruta absoluta.
23562 \begin_layout Itemize
23564 \begin_inset Flex Code
23567 \begin_layout Plain Layout
23568 $$AbsOrRelPathMaster
23573 si la cadena sustituida es algún tipo de entrada LaTeX.
23576 \begin_layout Itemize
23578 \begin_inset Flex Code
23581 \begin_layout Plain Layout
23582 $$AbsOrRelPathParent
23587 con el fin de preservar la elección del usuario.
23590 \begin_layout Standard
23591 Hay casos especiales en los que esta regla no funciona y se necesitan, p.
23592 \begin_inset space \thinspace{}
23595 e., nombres relativos, pero normalmente funcionará bien.
23596 Un ejemplo de uno de estos casos es el comando
23597 \begin_inset Flex Code
23600 \begin_layout Plain Layout
23601 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
23606 en la plantilla XFig de arriba: no podemos usar el nombre absoluto porque
23607 el copiador para archivos
23608 \begin_inset Flex Code
23611 \begin_layout Plain Layout
23617 necesita el nombre relativo para reescribir el contenido del archivo.
23620 \begin_layout Section
23621 Discusión sobre seguridad
23622 \begin_inset CommandInset label
23624 name "sec:Discusión-sobre-seguridad"
23631 \begin_layout Standard
23632 La función material externo interactúa con muchos programas externos y lo
23633 hace de forma automática, así que hemos de tener en cuenta las implicaciones
23634 de seguridad que esto conlleva.
23635 En particular, puesto que tienes la opción de incluir tus propios archivos
23636 y/o cadenas de parámetros y estos se expanden en un comando, parece posible
23637 crear un documento malicioso que ejecute comandos arbitrarios cuando un
23638 usuario ve o imprime el documento.
23639 Esto es algo que definitivamente queremos evitar.
23643 \begin_layout Standard
23644 Sin embargo, dado que los comandos de material externo se especifican solo
23645 en el archivo de configuración de la plantilla, no hay problemas de seguridad
23646 si LyX está adecuadamente configurado solo con plantillas seguras.
23647 Esto es así porque los programas externos se invocan con la llamada al
23649 \begin_inset Flex Code
23652 \begin_layout Plain Layout
23658 más bien que con la llamada
23659 \begin_inset Flex Code
23662 \begin_layout Plain Layout
23668 , de modo que no es posible ejecutar comandos arbitrarios desde la sección
23669 del nombre de archivo o de parámetros mediante el shell.
23672 \begin_layout Standard
23673 Esto implica además que hay restricciones en las cadenas de comandos que
23674 puedes usar en las plantillas de material externo.
23675 En particular, las tuberías y la redirección no están fácilmente disponibles.
23676 Esto debe ser así para que LyX permanezca seguro.
23677 Si quieres usar algunas características de shell, deberías escribir un
23678 guión seguro para hacerlo de manera controlada, y después invocar el guión
23679 desde la cadena de comandos.
23682 \begin_layout Standard
23683 Es posible diseñar una plantilla que interactúe directamente con el shell,
23684 pero puesto que esto permitiría a un usuario malicioso ejecutar comandos
23685 arbitrarios escribiendo nombres de archivo y/o parámetros astutos, generalmente
23686 recomendamos usar solo guiones seguros que trabajen con la llamada
23687 \begin_inset Flex Code
23690 \begin_layout Plain Layout
23696 al sistema en forma controlada.
23697 Por supuesto, para usar en un entorno controlado, puede ser tentador caer
23698 en el uso de guiones de shell ordinarios.
23699 Si lo haces así, sé consciente de que vas a suministrar un agujero se seguridad
23700 fácilmente explotable en tu sistema.
23701 Evidentemente, es de razón que tales plantillas inseguras nunca serán incluidas
23702 en la distribución estándar de LyX, aunque alentamos a la gente a que,
23703 a la usanza del software libre, envíe nuevas plantillas.
23704 No obstante, LyX nunca tendrá plantillas inseguras tal y como se distribuye
23705 por los canales oficiales.
23708 \begin_layout Standard
23709 Incluir material externo suministra mucha potencia y has de ser cuidadoso
23710 en no introducir riesgos de seguridad a costa de esta potencia.
23711 Un sutil error en una simple línea en un guión aparentemente inocente puede
23712 abrir la puerta a graves problemas de seguridad.
23713 Así, si no comprendes totalmente estos asuntos, recomendamos consultar
23714 a un profesional entendido en seguridad o al equipo de desarrollo de LyX
23715 si tienes dudas acerca de si una plantilla dada es o no segura.
23716 Y hazlo antes de usarla en un entorno no controlado.
23719 \begin_layout Chapter
23723 List of functions to be used in layouts
23726 \begin_inset CommandInset label
23728 name "chap:List-of-functions"
23735 \begin_layout Standard
23737 \begin_inset Tabular
23738 <lyxtabular version="3" rows="11" columns="8">
23739 <features rotate="0" tabularvalignment="middle">
23740 <column alignment="left" valignment="top">
23741 <column alignment="left" valignment="top">
23742 <column alignment="left" valignment="top">
23743 <column alignment="left" valignment="top">
23744 <column alignment="left" valignment="top">
23745 <column alignment="left" valignment="top">
23746 <column alignment="left" valignment="top">
23747 <column alignment="left" valignment="top">
23749 <cell alignment="left" valignment="top" usebox="none">
23752 \begin_layout Plain Layout
23758 <cell alignment="left" valignment="top" usebox="none">
23761 \begin_layout Plain Layout
23767 <cell alignment="left" valignment="top" usebox="none">
23770 \begin_layout Plain Layout
23776 <cell alignment="left" valignment="top" usebox="none">
23779 \begin_layout Plain Layout
23785 <cell alignment="center" valignment="top" usebox="none">
23788 \begin_layout Plain Layout
23794 <cell alignment="center" valignment="top" usebox="none">
23797 \begin_layout Plain Layout
23803 <cell alignment="center" valignment="top" usebox="none">
23806 \begin_layout Plain Layout
23812 <cell alignment="center" valignment="top" usebox="none">
23815 \begin_layout Plain Layout
23823 <cell alignment="left" valignment="top" usebox="none">
23826 \begin_layout Plain Layout
23832 <cell alignment="left" valignment="top" usebox="none">
23835 \begin_layout Plain Layout
23841 <cell alignment="left" valignment="top" usebox="none">
23844 \begin_layout Plain Layout
23850 <cell alignment="left" valignment="top" usebox="none">
23853 \begin_layout Plain Layout
23859 <cell alignment="center" valignment="top" usebox="none">
23862 \begin_layout Plain Layout
23868 <cell alignment="center" valignment="top" usebox="none">
23871 \begin_layout Plain Layout
23877 <cell alignment="center" valignment="top" usebox="none">
23880 \begin_layout Plain Layout
23886 <cell alignment="center" valignment="top" usebox="none">
23889 \begin_layout Plain Layout
23897 <cell alignment="left" valignment="top" usebox="none">
23900 \begin_layout Plain Layout
23906 <cell alignment="left" valignment="top" usebox="none">
23909 \begin_layout Plain Layout
23915 <cell alignment="left" valignment="top" usebox="none">
23918 \begin_layout Plain Layout
23924 <cell alignment="left" valignment="top" usebox="none">
23927 \begin_layout Plain Layout
23933 <cell alignment="center" valignment="top" usebox="none">
23936 \begin_layout Plain Layout
23942 <cell alignment="center" valignment="top" usebox="none">
23945 \begin_layout Plain Layout
23951 <cell alignment="center" valignment="top" usebox="none">
23954 \begin_layout Plain Layout
23960 <cell alignment="center" valignment="top" usebox="none">
23963 \begin_layout Plain Layout
23971 <cell alignment="left" valignment="top" usebox="none">
23974 \begin_layout Plain Layout
23980 <cell alignment="left" valignment="top" usebox="none">
23983 \begin_layout Plain Layout
23989 <cell alignment="left" valignment="top" usebox="none">
23992 \begin_layout Plain Layout
23998 <cell alignment="left" valignment="top" usebox="none">
24001 \begin_layout Plain Layout
24007 <cell alignment="center" valignment="top" usebox="none">
24010 \begin_layout Plain Layout
24016 <cell alignment="center" valignment="top" usebox="none">
24019 \begin_layout Plain Layout
24025 <cell alignment="center" valignment="top" usebox="none">
24028 \begin_layout Plain Layout
24034 <cell alignment="center" valignment="top" usebox="none">
24037 \begin_layout Plain Layout
24045 <cell alignment="left" valignment="top" usebox="none">
24048 \begin_layout Plain Layout
24054 <cell alignment="left" valignment="top" usebox="none">
24057 \begin_layout Plain Layout
24063 <cell alignment="left" valignment="top" usebox="none">
24066 \begin_layout Plain Layout
24072 <cell alignment="left" valignment="top" usebox="none">
24075 \begin_layout Plain Layout
24081 <cell alignment="center" valignment="top" usebox="none">
24084 \begin_layout Plain Layout
24090 <cell alignment="center" valignment="top" usebox="none">
24093 \begin_layout Plain Layout
24099 <cell alignment="center" valignment="top" usebox="none">
24102 \begin_layout Plain Layout
24108 <cell alignment="center" valignment="top" usebox="none">
24111 \begin_layout Plain Layout
24119 <cell alignment="left" valignment="top" usebox="none">
24122 \begin_layout Plain Layout
24128 <cell alignment="left" valignment="top" usebox="none">
24131 \begin_layout Plain Layout
24137 <cell alignment="left" valignment="top" usebox="none">
24140 \begin_layout Plain Layout
24146 <cell alignment="left" valignment="top" usebox="none">
24149 \begin_layout Plain Layout
24155 <cell alignment="center" valignment="top" usebox="none">
24158 \begin_layout Plain Layout
24164 <cell alignment="center" valignment="top" usebox="none">
24167 \begin_layout Plain Layout
24173 <cell alignment="center" valignment="top" usebox="none">
24176 \begin_layout Plain Layout
24182 <cell alignment="center" valignment="top" usebox="none">
24185 \begin_layout Plain Layout
24193 <cell alignment="left" valignment="top" usebox="none">
24196 \begin_layout Plain Layout
24202 <cell alignment="left" valignment="top" usebox="none">
24205 \begin_layout Plain Layout
24211 <cell alignment="left" valignment="top" usebox="none">
24214 \begin_layout Plain Layout
24220 <cell alignment="left" valignment="top" usebox="none">
24223 \begin_layout Plain Layout
24229 <cell alignment="center" valignment="top" usebox="none">
24232 \begin_layout Plain Layout
24238 <cell alignment="center" valignment="top" usebox="none">
24241 \begin_layout Plain Layout
24247 <cell alignment="center" valignment="top" usebox="none">
24250 \begin_layout Plain Layout
24256 <cell alignment="center" valignment="top" usebox="none">
24259 \begin_layout Plain Layout
24267 <cell alignment="left" valignment="top" usebox="none">
24270 \begin_layout Plain Layout
24276 <cell alignment="left" valignment="top" usebox="none">
24279 \begin_layout Plain Layout
24285 <cell alignment="left" valignment="top" usebox="none">
24288 \begin_layout Plain Layout
24294 <cell alignment="left" valignment="top" usebox="none">
24297 \begin_layout Plain Layout
24303 <cell alignment="center" valignment="top" usebox="none">
24306 \begin_layout Plain Layout
24312 <cell alignment="center" valignment="top" usebox="none">
24315 \begin_layout Plain Layout
24321 <cell alignment="center" valignment="top" usebox="none">
24324 \begin_layout Plain Layout
24330 <cell alignment="center" valignment="top" usebox="none">
24333 \begin_layout Plain Layout
24341 <cell alignment="left" valignment="top" usebox="none">
24344 \begin_layout Plain Layout
24350 <cell alignment="left" valignment="top" usebox="none">
24353 \begin_layout Plain Layout
24359 <cell alignment="left" valignment="top" usebox="none">
24362 \begin_layout Plain Layout
24368 <cell alignment="left" valignment="top" usebox="none">
24371 \begin_layout Plain Layout
24377 <cell alignment="center" valignment="top" usebox="none">
24380 \begin_layout Plain Layout
24386 <cell alignment="center" valignment="top" usebox="none">
24389 \begin_layout Plain Layout
24395 <cell alignment="center" valignment="top" usebox="none">
24398 \begin_layout Plain Layout
24404 <cell alignment="center" valignment="top" usebox="none">
24407 \begin_layout Plain Layout
24415 <cell alignment="left" valignment="top" usebox="none">
24418 \begin_layout Plain Layout
24424 <cell alignment="left" valignment="top" usebox="none">
24427 \begin_layout Plain Layout
24433 <cell alignment="left" valignment="top" usebox="none">
24436 \begin_layout Plain Layout
24442 <cell alignment="left" valignment="top" usebox="none">
24445 \begin_layout Plain Layout
24451 <cell alignment="center" valignment="top" usebox="none">
24454 \begin_layout Plain Layout
24460 <cell alignment="center" valignment="top" usebox="none">
24463 \begin_layout Plain Layout
24469 <cell alignment="center" valignment="top" usebox="none">
24472 \begin_layout Plain Layout
24478 <cell alignment="center" valignment="top" usebox="none">
24481 \begin_layout Plain Layout
24489 <cell alignment="center" valignment="top" usebox="none">
24492 \begin_layout Plain Layout
24498 <cell alignment="center" valignment="top" usebox="none">
24501 \begin_layout Plain Layout
24507 <cell alignment="center" valignment="top" usebox="none">
24510 \begin_layout Plain Layout
24516 <cell alignment="center" valignment="top" usebox="none">
24519 \begin_layout Plain Layout
24525 <cell alignment="center" valignment="top" usebox="none">
24528 \begin_layout Plain Layout
24534 <cell alignment="center" valignment="top" usebox="none">
24537 \begin_layout Plain Layout
24543 <cell alignment="center" valignment="top" usebox="none">
24546 \begin_layout Plain Layout
24552 <cell alignment="center" valignment="top" usebox="none">
24555 \begin_layout Plain Layout
24569 \begin_layout Chapter
24572 Names of available colors to be used in layouts
24575 \begin_inset CommandInset label
24577 name "chap:Names-of-colors"
24584 \begin_layout Standard
24587 The colors listed here are the standard colors and the those that you can
24588 adjust in the LyX preferences.
24591 \begin_layout Description
24606 No particular color -- clear or default
24609 \begin_layout Description
24615 \begin_layout Description
24621 \begin_layout Description
24627 \begin_layout Description
24633 \begin_layout Description
24639 \begin_layout Description
24645 \begin_layout Description
24651 \begin_layout Description
24657 \begin_layout Description
24660 added_space Added space marker color
24663 \begin_layout Description
24666 addedtext Added text color
24669 \begin_layout Description
24672 appendix Appendix marker color
24675 \begin_layout Description
24678 background Background color
24681 \begin_layout Description
24684 bottomarea Bottom area color
24687 \begin_layout Description
24690 branchlabel Label color for branches
24693 \begin_layout Description
24696 buttonbg Color used for bottom background
24699 \begin_layout Description
24702 buttonhoverbg Color used for button background under focus
24705 \begin_layout Description
24708 buttonframe Color for inset button frames
24711 \begin_layout Description
24714 changebar Changebar color
24717 \begin_layout Description
24720 changedtextauthor1 Changed text color author 1
24723 \begin_layout Description
24726 changedtextauthor2 Changed text color author 2
24729 \begin_layout Description
24732 changedtextauthor3 Changed text color author 3
24735 \begin_layout Description
24738 changedtextauthor4 Changed text color author 4
24741 \begin_layout Description
24744 changedtextauthor5 Changed text color author 5
24747 \begin_layout Description
24750 collapsable_inset_frame Collapsable insets framecolor
24753 \begin_layout Description
24756 collapsable_inset_text Collapsable insets text color
24759 \begin_layout Description
24762 command Text color for command insets
24765 \begin_layout Description
24768 commandbg Background color for command insets
24771 \begin_layout Description
24774 commandframe Frame color for command insets
24777 \begin_layout Description
24780 comment color for comments
24783 \begin_layout Description
24786 commentbg Background color of comments
24789 \begin_layout Description
24792 cursor Cursor color
24795 \begin_layout Description
24798 deletedtext Deleted text color
24801 \begin_layout Description
24804 deletedtextmodifier Deleted text modifying color
24807 \begin_layout Description
24810 depthbar Color for the depth bars in the margin
24813 \begin_layout Description
24816 eolmarker End of line marker color
24819 \begin_layout Description
24822 error Color of the LaTeX error box
24825 \begin_layout Description
24828 footlabel Label color for footnotes
24831 \begin_layout Description
24834 graphicsbg Graphics inset background color
24837 \begin_layout Description
24840 greyedout Label color for greyedout insets
24843 \begin_layout Description
24846 greyedoutbg Background color of greyedout inset
24849 \begin_layout Description
24852 greyedouttext Color for greyedout inset text
24855 \begin_layout Description
24858 indexlabel Label color for index insets
24861 \begin_layout Description
24864 ignore The color is ignored
24867 \begin_layout Description
24870 inherit The color is inherited
24873 \begin_layout Description
24876 inlinecompletion Inline completion color
24879 \begin_layout Description
24882 insetbg Inset marker background color
24885 \begin_layout Description
24888 insetframe Inset marker frame color
24891 \begin_layout Description
24894 language Color for marking foreign language words
24897 \begin_layout Description
24900 latex Text color in LaTeX mode
24903 \begin_layout Description
24906 listingsbg Background color of listings inset
24909 \begin_layout Description
24912 marginlabel Label color for margin notes
24915 \begin_layout Description
24918 math Math inset text color
24921 \begin_layout Description
24924 mathbg Math inset background color
24927 \begin_layout Description
24930 mathcorners Math inset frame color not under focus
24933 \begin_layout Description
24936 mathframe Math inset frame color under focus
24939 \begin_layout Description
24942 mathline Math line color
24945 \begin_layout Description
24948 mathmacrobg Macro math inset background color
24951 \begin_layout Description
24954 mathmacroblend Macro math blended color
24957 \begin_layout Description
24960 mathmacroframe Macro math frame color
24963 \begin_layout Description
24966 mathmacrohoverbg Macro math inset background color hovered
24969 \begin_layout Description
24972 mathmacrolabel Macro math label color
24975 \begin_layout Description
24978 mathmacronewarg Macro template color for new parameters
24981 \begin_layout Description
24984 mathmacrooldarg Macro template color for old parameters
24987 \begin_layout Description
24990 newpage New page color
24993 \begin_layout Description
24996 nonunique_inlinecompletion Inline completion color for the non-unique part
24999 \begin_layout Description
25002 notebg Background color of notes
25005 \begin_layout Description
25008 notelabel Label color for notes
25011 \begin_layout Description
25014 pagebreak Page break/line break color
25017 \begin_layout Description
25020 paragraphmarker Color used for the pilcrow sign to mark the end of a paragraph
25023 \begin_layout Description
25026 phantomtext Text color for phantom insets
25029 \begin_layout Description
25032 preview The color used for previews
25035 \begin_layout Description
25038 previewframe Preview frame color
25041 \begin_layout Description
25044 regexpframe Color for regexp frame
25047 \begin_layout Description
25050 selection Background color of selected text
25053 \begin_layout Description
25056 selectiontext Foreground color of selected text
25059 \begin_layout Description
25062 shadedbg Background color of shaded box
25065 \begin_layout Description
25068 special Special chars text color
25071 \begin_layout Description
25074 tabularline Table line color
25077 \begin_layout Description
25080 tabularonoffline Table line color
25083 \begin_layout Description
25086 urllabel Label color for URL insets
25089 \begin_layout Description
25092 urltext Color for URL inset text