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
1435 Documento\SpecialChar \menuseparator
1438 \SpecialChar \menuseparator
1446 \begin_inset Flex MenuItem
1449 \begin_layout Plain Layout
1458 \begin_layout Standard
1459 Un Formato puede tener un
1460 \begin_inset Flex MenuItem
1463 \begin_layout Plain Layout
1470 \begin_inset Flex MenuItem
1473 \begin_layout Plain Layout
1480 Por ejemplo, podrías usar
1481 \begin_inset Flex MenuItem
1484 \begin_layout Plain Layout
1490 para ver archivos PostScript.
1491 Puedes introducir el comando para iniciar el programa en el campo correspondien
1493 Al definir este comando puedes usar las cuatro variables listadas en la
1495 El visor se lanza cuando ves una imagen en LyX o usas el menú
1496 \begin_inset Flex MenuItem
1499 \begin_layout Plain Layout
1502 Documento\SpecialChar \menuseparator
1509 El editor se lanza cuando pulsas el botón
1510 \begin_inset Flex MenuItem
1513 \begin_layout Plain Layout
1519 que se muestra al hacer clic derecho en un gráfico o en un material externo,
1523 \begin_layout Standard
1529 \begin_inset Flex MenuItem
1532 \begin_layout Plain Layout
1540 type of a format is optional, but if it is specified, it must be unique
1542 It is used to detect files of this format from the file contents.
1543 For some important file formats there is no MIME type officially registered
1547 \begin_inset CommandInset href
1550 target "http://www.iana.org/assignments/media-types/"
1557 Therefore LyX uses the extended list of MIME types as specified by
1560 \begin_inset CommandInset href
1562 name "freedesktop.org"
1563 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1570 \begin_layout Standard
1572 \begin_inset Flex MenuItem
1575 \begin_layout Plain Layout
1576 Formato de documento
1581 indica a LyX que ese formato es adecuado para exportar.
1582 Si esto está marcado y existe una ruta de conversión adecuada (véase
1583 \begin_inset CommandInset ref
1585 reference "sec:Convertidores"
1589 ), el formato aparecerá en el menú
1590 \begin_inset Flex MenuItem
1593 \begin_layout Plain Layout
1594 Archivo\SpecialChar \menuseparator
1601 También aparecerá en el menú
1602 \begin_inset Flex MenuItem
1605 \begin_layout Plain Layout
1608 Documento\SpecialChar \menuseparator
1614 si se ha especificado un visor para ese formato.
1615 Los formatos puros de imagen, como
1616 \begin_inset Flex Code
1619 \begin_layout Plain Layout
1625 , no deberían usar esta opción.
1626 Los formatos que pueden corresponder tanto a gráficos vectoriales como
1628 \begin_inset Flex Code
1631 \begin_layout Plain Layout
1637 , sí deberían usarla.
1640 \begin_layout Standard
1642 \begin_inset Flex MenuItem
1645 \begin_layout Plain Layout
1646 Formato de gráfico vectorial
1651 indica a LyX que el formato puede contener gráficos vectoriales.
1652 Esta información se emplea para determinar el formato objetivo de los gráficos
1653 incluidos para la exportación
1654 \begin_inset Flex MenuItem
1657 \begin_layout Plain Layout
1664 Los gráficos incluidos pueden requerir conversión a
1665 \begin_inset Flex MenuItem
1668 \begin_layout Plain Layout
1675 \begin_inset Flex MenuItem
1678 \begin_layout Plain Layout
1685 \begin_inset Flex MenuItem
1688 \begin_layout Plain Layout
1695 \begin_inset Flex MenuItem
1698 \begin_layout Plain Layout
1704 no puede manejar otros formatos de imagen.
1705 Si un archivo incluido no está ya en formato
1706 \begin_inset Flex MenuItem
1709 \begin_layout Plain Layout
1716 \begin_inset Flex MenuItem
1719 \begin_layout Plain Layout
1726 \begin_inset Flex MenuItem
1729 \begin_layout Plain Layout
1736 \begin_inset Flex MenuItem
1739 \begin_layout Plain Layout
1745 si la opción de formato vectorial está marcada, y si no a
1746 \begin_inset Flex MenuItem
1749 \begin_layout Plain Layout
1759 \begin_layout Section
1763 \begin_layout Standard
1764 Puesto que todas las conversiones de un formato a otro tienen lugar en el
1765 archivo temporal de LyX, a veces es necesario modificar un archivo antes
1766 de copiarlo en el directorio temporal para que la conversión se pueda realizar.
1770 \begin_layout Plain Layout
1771 Por ejemplo, el archivo puede hacer referencia a otros archivos —imágenes,
1772 por ejemplo— mediante nombres de archivo relativos, y estos pueden resultar
1773 inválidos cuando el archivo se copia en el directorio temporal.
1778 Esto lo hace un Copiador: copia un archivo a (o desde) el directorio temporal
1779 y puede modificarlo en el proceso.
1782 \begin_layout Standard
1783 Las definiciones de los copiadores pueden usar cuatro variables:
1786 \begin_layout Labeling
1787 \labelwidthstring 00.00.0000
1788 \begin_inset Flex Code
1791 \begin_layout Plain Layout
1797 El directorio de sistema de LyX (p.
1798 \begin_inset space \thinspace{}
1802 \begin_inset space \space{}
1806 \begin_inset Flex MenuItem
1809 \begin_layout Plain Layout
1818 \begin_layout Labeling
1819 \labelwidthstring 00.00.0000
1820 \begin_inset Flex Code
1823 \begin_layout Plain Layout
1829 El archivo de entrada
1832 \begin_layout Labeling
1833 \labelwidthstring 00.00.0000
1834 \begin_inset Flex Code
1837 \begin_layout Plain Layout
1843 El archivo de salida
1846 \begin_layout Labeling
1847 \labelwidthstring 00.00.0000
1848 \begin_inset Flex Code
1851 \begin_layout Plain Layout
1859 The base name (without filename extension) in the LyX temporary directory
1862 \begin_layout Labeling
1863 \labelwidthstring 00.00.0000
1864 \begin_inset Flex Code
1867 \begin_layout Plain Layout
1875 The full directory path of the LyX temporary directory
1878 \begin_layout Labeling
1879 \labelwidthstring 00.00.0000
1880 \begin_inset Flex Code
1883 \begin_layout Plain Layout
1891 The full pathname to the original LyX file being processed
1894 \begin_layout Labeling
1895 \labelwidthstring 00.00.0000
1896 \begin_inset Flex Code
1899 \begin_layout Plain Layout
1907 The filename (without any directory path) of the LyX file.
1910 \begin_layout Labeling
1911 \labelwidthstring 00.00.0000
1912 \begin_inset Flex Code
1915 \begin_layout Plain Layout
1924 \begin_layout Standard
1925 El último debería ser el nombre de archivo tal como debería ponerse en un
1933 Solo es pertinente cuando se exportan archivos adecuados para esa inclusión.
1936 \begin_layout Standard
1937 Los copiadores pueden emplearse para hacer casi cualquier cosa con archivos
1939 Por ejemplo, supongamos que quieres copiar archivos
1940 \begin_inset Flex MenuItem
1943 \begin_layout Plain Layout
1949 generados a un directorio especial,
1950 \begin_inset Flex Code
1953 \begin_layout Plain Layout
1960 En ese caso deberías escribir un guión para intérprete de comandos tal
1964 \begin_layout Standard
1965 \begin_inset listings
1969 \begin_layout Plain Layout
1974 \begin_layout Plain Layout
1979 \begin_layout Plain Layout
1981 TOFILE=`basename $2`
1984 \begin_layout Plain Layout
1986 cp $FROMFILE /home/you/pdf/$TOFILE
1991 Guárdalo en tu directorio local, —
1992 \begin_inset Flex Code
1995 \begin_layout Plain Layout
1996 /home/you/.lyx/scripts/pdfcopier.sh
2001 , supongamos— y hazlo ejecutable si ello es necesario en tu sistema.
2002 Después, en el diálogo
2003 \begin_inset Flex MenuItem
2006 \begin_layout Plain Layout
2007 Herramientas\SpecialChar \menuseparator
2014 \begin_inset Flex MenuItem
2017 \begin_layout Plain Layout
2018 Gestión de archivos\SpecialChar \menuseparator
2024 , selecciona el formato
2025 \begin_inset Flex MenuItem
2028 \begin_layout Plain Layout
2034 —u otro de los formatos pdf— e introduce
2035 \begin_inset Flex Code
2038 \begin_layout Plain Layout
2039 pdfcopier.sh $$i $$o
2045 \begin_inset Flex MenuItem
2048 \begin_layout Plain Layout
2057 \begin_layout Standard
2058 LyX usa los copiadores en varias de sus propias conversiones.
2059 Por ejemplo, si se encuentran los programas apropiados, LyX instalará copiadore
2061 \begin_inset Flex MenuItem
2064 \begin_layout Plain Layout
2071 \begin_inset Flex MenuItem
2074 \begin_layout Plain Layout
2076 \begin_inset space ~
2085 Cuando se exporta a estos formatos, el copiador se encarga de que se copien
2086 no solo el archivo HTML principal, sino también los diversos archivos asociados
2087 (estilos, imágenes, etc).
2088 Todos estos archivos se escriben en un subdirectorio del directorio en
2089 el que se encuentre el archivo original de LyX.
2093 \begin_layout Plain Layout
2094 Este copiador puede adaptarse.
2095 El argumento opcional
2096 \begin_inset Quotes fld
2100 \begin_inset Quotes frd
2103 acepta una lista, separada por comas, con las extensiones que deben copiarse;
2104 si se omite se copiarán todos los archivos.
2106 \begin_inset Quotes fld
2110 \begin_inset Quotes frd
2113 determina la extensión añadida al directorio generado.
2115 \begin_inset Quotes fld
2119 \begin_inset Flex MenuItem
2122 \begin_layout Plain Layout
2129 \begin_inset Quotes frd
2132 , así, el HTML generado a partir de
2133 \begin_inset Flex MenuItem
2136 \begin_layout Plain Layout
2143 \begin_inset Flex MenuItem
2146 \begin_layout Plain Layout
2147 /ruta/a/archivo.html.LyXconv
2160 \begin_layout Section
2162 \begin_inset CommandInset label
2164 name "sec:Convertidores"
2171 \begin_layout Standard
2172 Puedes definir tus propios convertidores para convertir archivos entre distintos
2174 Se hace en el diálogo
2175 \begin_inset Flex MenuItem
2178 \begin_layout Plain Layout
2179 Herramientas\SpecialChar \menuseparator
2180 Preferencias\SpecialChar \menuseparator
2181 Gestión de archivos\SpecialChar \menuseparator
2190 \begin_layout Standard
2191 Para definir un nuevo convertidor de un formato a otro, selecciónalos en
2192 las listas desplegables
2193 \begin_inset Flex MenuItem
2196 \begin_layout Plain Layout
2198 \begin_inset space ~
2207 \begin_inset Flex MenuItem
2210 \begin_layout Plain Layout
2212 \begin_inset space ~
2220 , introduce el comando necesario para la conversión y después pulsa el botón
2222 \begin_inset Flex MenuItem
2225 \begin_layout Plain Layout
2232 En la definición de convertidores se pueden usar distintas variables:
2235 \begin_layout Labeling
2236 \labelwidthstring 00.00.0000
2237 \begin_inset Flex Code
2240 \begin_layout Plain Layout
2246 El directorio de sistema de LyX
2249 \begin_layout Labeling
2250 \labelwidthstring 00.00.0000
2251 \begin_inset Flex Code
2254 \begin_layout Plain Layout
2260 El archivo de entrada
2263 \begin_layout Labeling
2264 \labelwidthstring 00.00.0000
2265 \begin_inset Flex Code
2268 \begin_layout Plain Layout
2274 El archivo de salida
2277 \begin_layout Labeling
2278 \labelwidthstring 00.00.0000
2279 \begin_inset Flex Code
2282 \begin_layout Plain Layout
2288 El nombre del archivo base del archivo de entrada (sin la extensión)
2291 \begin_layout Labeling
2292 \labelwidthstring 00.00.0000
2293 \begin_inset Flex Code
2296 \begin_layout Plain Layout
2302 La ruta al archivo de entrada
2305 \begin_layout Labeling
2306 \labelwidthstring 00.00.0000
2307 \begin_inset Flex Code
2310 \begin_layout Plain Layout
2316 La ruta al archivo de entrada original (esto es diferente de $$p cuando
2317 se invoca una cadena de convertidores).
2320 \begin_layout Labeling
2321 \labelwidthstring 00.00.0000
2322 \begin_inset Flex Code
2325 \begin_layout Plain Layout
2331 El nombre iconv para la codificación del documento.
2334 \begin_layout Standard
2336 \begin_inset Flex MenuItem
2339 \begin_layout Plain Layout
2345 puedes introducir los siguientes, separados por comas:
2348 \begin_layout Labeling
2349 \labelwidthstring 00.00.0000
2350 \begin_inset Flex Code
2353 \begin_layout Plain Layout
2359 Este convertidor ejecuta alguna forma de LaTeX.
2360 Hará estar disponibles los registros de errores LaTeX de LyX
2363 \begin_layout Labeling
2364 \labelwidthstring 00.00.0000
2365 \begin_inset Flex Code
2368 \begin_layout Plain Layout
2374 Necesita el archivo LaTeX
2375 \begin_inset Flex MenuItem
2378 \begin_layout Plain Layout
2387 \begin_layout Labeling
2388 \labelwidthstring 00.00.0000
2389 \begin_inset Flex Code
2392 \begin_layout Plain Layout
2401 \begin_inset Quotes fld
2405 \begin_inset Quotes frd
2408 file from the backend, which in practice means a LaTeX file like the one
2409 we would export, without
2410 \begin_inset Flex Code
2413 \begin_layout Plain Layout
2424 \begin_layout Labeling
2425 \labelwidthstring 00.00.0000
2426 \begin_inset Flex Code
2429 \begin_layout Plain Layout
2438 \begin_layout Standard
2439 Las tres siguientes no son realmente opciones porque aceptan un argumento
2441 \begin_inset Flex MenuItem
2444 \begin_layout Plain Layout
2446 \begin_inset space ~
2450 \begin_inset space ~
2461 \begin_layout Labeling
2462 \labelwidthstring 00.00.0000
2463 \begin_inset Flex Code
2466 \begin_layout Plain Layout
2472 Si se pone, el error estándar del convertidor se redirecciona a un archivo
2474 \begin_inset Flex Code
2477 \begin_layout Plain Layout
2483 , y el guión dado como argumento se ejecutará como:
2484 \begin_inset Flex Code
2487 \begin_layout Plain Layout
2488 script <infile.out >infile.log
2494 El argumento puede contener
2495 \begin_inset Flex Code
2498 \begin_layout Plain Layout
2507 \begin_layout Labeling
2508 \labelwidthstring 00.00.0000
2509 \begin_inset Flex Code
2512 \begin_layout Plain Layout
2518 El nombre del directorio en el que el convertidor descargará los archivos
2520 LyX no creará ese directorio y no copia nada en él, aunque copiará este
2521 directorio al destino.
2522 El argumento puede contener
2523 \begin_inset Flex Code
2526 \begin_layout Plain Layout
2532 , que será reemplazado por el nombre base de los archivos de entrada y de
2533 salida, respectivamente, cuando se copia el directorio.
2534 \begin_inset Newline newline
2537 Ten en cuenta que resultdir y usetempdir no tienen sentido juntos.
2538 El último será ignorado si se da el primero.
2541 \begin_layout Labeling
2542 \labelwidthstring 00.00.0000
2543 \begin_inset Flex Code
2546 \begin_layout Plain Layout
2552 Determina el nombre del archivo de salida y puede contener
2553 \begin_inset Flex Code
2556 \begin_layout Plain Layout
2563 Solo es sensible con
2564 \begin_inset Flex Code
2567 \begin_layout Plain Layout
2573 y además es opcional; si no se da, por omisión es `index'.
2576 \begin_layout Standard
2577 Ninguno de estos tres últimos se usan actualmente en ninguno de los convertidore
2578 s que son instalados por LyX.
2581 \begin_layout Standard
2582 No tienes que definir convertidores entre todos los formatos que quieras
2584 Por ejemplo, observarás que no hay convertidor `LyX a PostScript', sin
2585 embargo LyX exporta a PostScript.
2586 Lo hace creando primero un archivo LaTeX (no es necesario un convertidor
2587 para esto), que luego es convertido a DVI mediante el convertidor `LaTeX
2588 a DVI', y por último convierte el archivo DVI resultante a PostScript.
2589 LyX encuentra automáticamente estas 'cadenas' de convertidores y siempre
2590 escogerá la cadena más corta posible.
2591 Sin embargo, aún puedes definir múltiples métodos de conversión entre formatos.
2592 Por ejemplo, la configuración estándar de LyX provee cinco caminos para
2593 convertir LaTeX a PDF:
2596 \begin_layout Enumerate
2597 directamente, usando
2598 \begin_inset Flex MenuItem
2601 \begin_layout Plain Layout
2610 \begin_layout Enumerate
2611 mediante (DVI y) PostScript, usando
2612 \begin_inset Flex MenuItem
2615 \begin_layout Plain Layout
2624 \begin_layout Enumerate
2625 mediante DVI, usando
2626 \begin_inset Flex MenuItem
2629 \begin_layout Plain Layout
2638 \begin_layout Enumerate
2639 directamente, usando
2644 \begin_inset Flex MenuItem
2647 \begin_layout Plain Layout
2656 \begin_layout Enumerate
2657 directamente, usando
2658 \begin_inset Flex MenuItem
2661 \begin_layout Plain Layout
2670 \begin_layout Standard
2671 Para construir estas cadenas alternativas tienes que definir múltiples 'formatos
2672 de archivo' objetivo, como se describe en la sección
2673 \begin_inset space ~
2677 \begin_inset CommandInset ref
2679 reference "sec:Formatos"
2684 Por ejemplo, en la configuración estándar, se definen los formatos llamados
2686 \begin_inset Flex MenuItem
2689 \begin_layout Plain Layout
2700 \begin_inset Flex MenuItem
2703 \begin_layout Plain Layout
2710 \begin_inset Flex MenuItem
2713 \begin_layout Plain Layout
2724 \begin_inset Flex MenuItem
2727 \begin_layout Plain Layout
2734 \begin_inset Flex MenuItem
2737 \begin_layout Plain Layout
2748 \begin_inset Flex MenuItem
2751 \begin_layout Plain Layout
2758 \begin_inset Flex MenuItem
2761 \begin_layout Plain Layout
2772 \begin_inset Flex MenuItem
2775 \begin_layout Plain Layout
2782 \begin_inset Flex MenuItem
2785 \begin_layout Plain Layout
2796 \begin_inset Flex MenuItem
2799 \begin_layout Plain Layout
2805 ), todos ellos compartiendo la extensión
2806 \begin_inset Flex MenuItem
2809 \begin_layout Plain Layout
2815 , y que corresponden a los métodos de conversión antes mencionados.
2818 \begin_layout Chapter
2819 Internacionalización de LyX
2820 \begin_inset CommandInset label
2822 name "cap:Internacionalización-de-LyX"
2829 \begin_layout Standard
2830 LyX soporta el uso de una interfaz traducida.
2831 La última vez que lo comprobamos, LyX suministraba textos en treinta idiomas.
2832 El idioma elegido se denomina
2837 (Para lecciones adicionales sobre configuración de idiomas, véase también
2839 \begin_inset Quotes fld
2843 \begin_inset Quotes frd
2846 del sistema operativo.
2847 En Linux, la página de manual de
2848 \begin_inset Flex Code
2851 \begin_layout Plain Layout
2857 es un buen punto de partida).
2861 \begin_layout Standard
2862 Hay que advertir que estas traducciones funcionarán pero tienen algunos
2864 En particular, todos los diálogos se han diseñado con el inglés en mente,
2865 lo que significa que algún texto traducido podría ser demasiado largo para
2866 ajustarse al espacio asignado.
2867 Esto solo es un problema de presentación en pantalla y no causará ningún
2869 Además, encontrarás que algunas traducciones no definen atajos de teclado
2871 A veces, simplemente no hay letras libres suficientes para ello.
2872 Otras veces, el traductor todavía no lo ha completado.
2873 Nuestro equipo de traducción, al que podrías unirte si quieres,
2877 \begin_layout Plain Layout
2878 Si usas con fluidez un idioma distinto del inglés, ¡unirse a estos equipos
2879 es una estupenda forma de corresponder a la comunidad LyX!
2884 intentará, por supuesto, corregir estas deficiencias en futuras versiones
2888 \begin_layout Section
2892 \begin_layout Subsection
2893 Traducción de la interfaz gráfica de usuario (mensajes de texto)
2896 \begin_layout Standard
2897 LyX utiliza la biblioteca GNU
2898 \begin_inset Flex Code
2901 \begin_layout Plain Layout
2907 para manejar la internacionalización de la interfaz.
2908 Para que LyX hable tu idioma preferido en todos los menús y diálogos es
2909 necesario un archivo
2910 \begin_inset Flex Code
2913 \begin_layout Plain Layout
2920 Si está disponible, tendrás que generar a partir de él un archivo
2921 \begin_inset Flex Code
2924 \begin_layout Plain Layout
2931 El procedimiento para hacer todo esto se explica en la documentación de
2933 \begin_inset Flex Code
2936 \begin_layout Plain Layout
2943 Puedes hacer esto solo para ti, pero también podrías compartir el resultado
2944 de tu trabajo con el resto de la comunidad LyX.
2945 Envía un mensaje a la lista de desarrolladores de LyX para más información
2946 sobre cómo proceder.
2949 \begin_layout Standard
2950 En resumen, esto es lo que deberías hacer (xx indica el código del idioma):
2953 \begin_layout Itemize
2954 Inspecciona el código fuente de LyX.
2956 \begin_inset CommandInset href
2958 name "información en la web"
2959 target "http://www.lyx.org/devel/cvs.php"
2966 \begin_layout Itemize
2968 \begin_inset Flex Code
2971 \begin_layout Plain Layout
2977 a la carpeta de los archivos
2978 \begin_inset Flex Code
2981 \begin_layout Plain Layout
2988 Después lo renombras como
2989 \begin_inset Flex Code
2992 \begin_layout Plain Layout
3000 \begin_inset Flex Code
3003 \begin_layout Plain Layout
3009 no está por ningún sitio, puede rehacerse con el comando de consola
3010 \begin_inset Flex Code
3013 \begin_layout Plain Layout
3019 en ese directorio, o puedes usar como muestra un archivo
3020 \begin_inset Flex Code
3023 \begin_layout Plain Layout
3029 de algún otro idioma).
3032 \begin_layout Itemize
3034 \begin_inset Flex Code
3037 \begin_layout Plain Layout
3047 \begin_layout Plain Layout
3048 Es un archivo de texto, se puede editar en cualquier editor de texto.
3049 Pero hay programas especializados para editar estos archivos, como
3053 (para todas las plataformas) o
3062 tiene un `modo' para editar archivos
3063 \begin_inset Flex Code
3066 \begin_layout Plain Layout
3077 Para algunos nombres de menú y otros artilugios hay además atajos de teclado
3078 que deberían traducirse.
3079 Dichas teclas se marcan con una `|' delante, y deberían traducirse de acuerdo
3080 con las palabras y frases del idioma.
3081 Además tendrías que rellenar la información al principio del nuevo archivo
3083 \begin_inset Flex Code
3086 \begin_layout Plain Layout
3092 , correo electrónico, etc., para que la gente sepa dónde enviarte sugerencias
3093 o divertidas diatribas.
3096 \begin_layout Standard
3097 Si estás haciendo esto solo para ti, entonces:
3100 \begin_layout Itemize
3102 \begin_inset Flex Code
3105 \begin_layout Plain Layout
3113 \begin_inset Flex Code
3116 \begin_layout Plain Layout
3117 msgfmt -o xx.mo < xx.po
3125 \begin_layout Itemize
3127 \begin_inset Flex Code
3130 \begin_layout Plain Layout
3136 a tu directorio local, en la carpeta apropiada para los mensajes de las
3137 aplicaciones en el idioma xx, con el nombre
3138 \begin_inset Flex Code
3141 \begin_layout Plain Layout
3148 \begin_inset space \thinspace{}
3152 \begin_inset space \space{}
3156 \begin_inset Flex Code
3159 \begin_layout Plain Layout
3160 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3170 \begin_layout Standard
3171 Sin embargo, ya se ha dicho, lo mejor sería poder añadir el nuevo archivo
3173 \begin_inset Flex Code
3176 \begin_layout Plain Layout
3182 a la distribución de LyX, para que otros puedan usarlo.
3183 Esto requiere hacer cambios en LyX, así que envía un correo a la lista
3184 de desarrolladores si estás interesado en hacerlo.
3187 \begin_layout Subsubsection
3191 \begin_layout Standard
3192 A veces resulta que un mensaje en inglés tiene diversas traducciones en
3194 Un ejemplo es la palabra
3195 \begin_inset Flex Code
3198 \begin_layout Plain Layout
3204 , que en alemán se puede traducir por Nach o Bis, según el sentido exacto
3206 \begin_inset Quotes fld
3210 \begin_inset Quotes frd
3215 \begin_inset Flex Code
3218 \begin_layout Plain Layout
3224 no maneja tales traducciones ambiguas.
3225 Por lo tanto, debes añadir alguna información contextual al mensaje: en
3227 \begin_inset Flex Code
3230 \begin_layout Plain Layout
3237 \begin_inset Flex Code
3240 \begin_layout Plain Layout
3241 To[[as in 'From format x to format y']]
3247 \begin_inset Flex Code
3250 \begin_layout Plain Layout
3251 To[[as in 'From page x to page y']]
3257 Ahora las dos apariciones de
3258 \begin_inset Flex Code
3261 \begin_layout Plain Layout
3268 \begin_inset Flex Code
3271 \begin_layout Plain Layout
3277 y pueden traducirse correctamente por Nach y Bis, respectivamente.
3280 \begin_layout Standard
3281 Por supuesto que la información contextual debe eliminarse del mensaje original
3282 si no se usa en la traducción.
3283 Por eso hay que ponerla entre dobles corchetes al final del mensaje (véase
3285 El mecanismo de traducción de LyX asegura que todo lo que va entre corchetes
3286 al final de los mensajes se quita antes de mostrarlos.
3289 \begin_layout Subsection
3290 Traducción de la documentación
3293 \begin_layout Standard
3294 La documentación en línea (menú
3297 \begin_inset Flex MenuItem
3300 \begin_layout Plain Layout
3314 ) puede (¡debería!) traducirse.
3315 Si hay versiones traducidas de la documentación disponible
3319 \begin_layout Plain Layout
3320 Hasta marzo de 2008, al menos algunos de los documentos han sido traducidos
3321 a catorce idiomas, y el Tutorial está disponible en algunos más.
3327 \begin_inset Flex Code
3330 \begin_layout Plain Layout
3336 está adecuadamente configurado, LyX las cargará
3337 \begin_inset Quotes fld
3341 \begin_inset Quotes frd
3345 LyX busca las traducciones en
3348 \begin_inset Flex Code
3351 \begin_layout Plain Layout
3369 es el código para el idioma en uso actualmente.
3370 Si no hay versión traducida se presentará por omisión la versión inglesa
3372 Ten en cuenta que las versiones traducidas deben tener los mismos nombres
3377 de antes) que el original.
3378 Si te animas a traducir documentación (¡de paso, una excelente manera de
3379 leerla atentamente!), hay algunas cosas que deberías tener en cuenta:
3382 \begin_layout Itemize
3383 Consulta la web de traducción de la documentación en
3384 \begin_inset CommandInset href
3386 name "http://www.lyx.org/Translation"
3387 target "http://www.lyx.org/Translation"
3392 Así podrás comprobar el estado actual de traducción de documentos a tu
3394 También si hay alguien que esté coordinando la traducción a tu idioma.
3395 Si no hay nadie comunícanos, por favor, si estás interesado en ello.
3398 \begin_layout Standard
3399 Una vez que te has decidido a empezar, he aquí algunos consejos que te pueden
3400 ahorrar inconvenientes:
3403 \begin_layout Itemize
3404 ¡Únete al equipo de documentación! En
3407 \begin_inset Flex MenuItem
3410 \begin_layout Plain Layout
3411 Ayuda\SpecialChar \menuseparator
3421 , que por cierto, es el primer documento que se debería traducir, hay informació
3422 n sobre cómo hacerlo.
3425 \begin_layout Itemize
3426 Infórmate sobre las normas tipográficas de tu idioma.
3427 La tipografía es un antiguo arte que ha desarrollado durante siglos una
3428 gran variedad de convenciones en diversas partes del mundo.
3429 Estudia también la terminología profesional de los tipógrafos en tu país.
3430 Inventar tu propia terminología sólo provocará confusión.
3433 (¡Cuidado! La tipografía es adictiva!)
3436 \begin_layout Itemize
3437 Haz una copia del documento para trabajar sobre ella.
3438 Puedes guardarla como archivo personal de traducción en tu directorio
3445 \begin_layout Itemize
3446 De vez en cuando el documento original (del equipo LyX) será actualizado.
3447 Usa el visor de fuentes en
3448 \begin_inset CommandInset href
3450 name "http://www.lyx.org/trac/timeline"
3451 target "http://www.lyx.org/trac/timeline"
3455 para ver los cambios realizados.
3456 De esta manera puedes ver fácilmente qué partes del documento traducido
3457 necesitan actualizarse.
3460 \begin_layout Standard
3461 Si encuentras un error en el documento original, ¡corríjelo y notifica los
3462 cambios al equipo de documentación! (¿No te has olvidado de contactar con
3463 el equipo de documentación, verdad?)
3466 \begin_layout Standard
3467 \begin_inset Branch OutDated
3470 \begin_layout Section
3471 International Keyboard Support
3474 \begin_layout Standard
3477 [Editor's Note: The following section is by
3485 It needs to be fixed to conform to the new Documentation Style sheet and
3486 to make use of the new v1.0 features.
3487 The whole thing also needs to be merged with the section following it.-jw
3488 It may also be badly out of date.-rh (2008)]
3491 \begin_layout Subsection
3492 Defining Own Keymaps: Keymap File Format
3495 \begin_layout Standard
3496 Let's look at a keyboard definition file a little closer.
3497 It is a plain text file defining
3500 \begin_layout Itemize
3501 key-to-key or key-to-string translations
3504 \begin_layout Itemize
3508 \begin_layout Itemize
3509 dead keys exceptions
3512 \begin_layout Standard
3513 To define key-to-key or key-to-string translation, use this command:
3516 \begin_layout Quotation
3517 \begin_inset Flex Code
3520 \begin_layout Plain Layout
3529 \begin_inset Flex Code
3532 \begin_layout Plain Layout
3541 \begin_layout Standard
3543 \begin_inset Flex Code
3546 \begin_layout Plain Layout
3552 is the key to be translated and
3553 \begin_inset Flex Code
3556 \begin_layout Plain Layout
3562 is the string to be inserted into the document.
3563 To define dead keys, use:
3566 \begin_layout Quotation
3567 \begin_inset Flex Code
3570 \begin_layout Plain Layout
3579 \begin_inset Flex Code
3582 \begin_layout Plain Layout
3591 \begin_layout Standard
3593 \begin_inset Flex Code
3596 \begin_layout Plain Layout
3602 is a keyboard key and
3603 \begin_inset Flex Code
3606 \begin_layout Plain Layout
3613 The following dead keys are supported (shortcut name is in parentheses):
3616 \begin_layout Quotation
3620 \begin_inset space \hfill{}
3626 \begin_layout Quotation
3628 \begin_inset space \hfill{}
3634 \begin_layout Quotation
3636 \begin_inset space \hfill{}
3642 \begin_layout Quotation
3644 \begin_inset space \hfill{}
3650 \begin_layout Quotation
3652 \begin_inset space \hfill{}
3658 \begin_layout Quotation
3660 \begin_inset space \hfill{}
3667 \begin_layout Plain Layout
3679 \begin_layout Quotation
3681 \begin_inset space \hfill{}
3687 \begin_layout Quotation
3689 \begin_inset space \hfill{}
3696 \begin_layout Plain Layout
3708 \begin_layout Quotation
3710 \begin_inset space \hfill{}
3716 \begin_layout Quotation
3718 \begin_inset space \hfill{}
3724 \begin_layout Quotation
3726 \begin_inset space \hfill{}
3733 \begin_layout Plain Layout
3745 \begin_layout Quotation
3747 \begin_inset space \hfill{}
3754 \begin_layout Plain Layout
3766 \begin_layout Quotation
3768 \begin_inset space \hfill{}
3774 \begin_layout Quotation
3775 hungarian umlaut (hug)
3776 \begin_inset space \hfill{}
3782 \begin_layout Quotation
3784 \begin_inset space \hfill{}
3790 \begin_layout Quotation
3792 \begin_inset space \hfill{}
3799 \begin_layout Plain Layout
3811 \begin_layout Standard
3812 Since in many international keyboards there are exceptions to what some
3813 dead keys should do, you can define them using
3816 \begin_layout Quotation
3817 \begin_inset Flex Code
3820 \begin_layout Plain Layout
3828 deadkey key outstring
3831 \begin_layout Standard
3832 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
3836 \begin_layout Quotation
3837 \begin_inset Flex Code
3840 \begin_layout Plain Layout
3853 \begin_layout Standard
3854 to make it work correctly.
3855 Also, you have to define as exceptions dead keys over i and j, to remove
3856 the dot from them before inserting an accent mark.
3857 I will change this when the time comes, but so far I haven't had time.
3860 \begin_layout Standard
3861 Oh, and about characters: backslash is escaped, so to enter it, you'll need
3864 \begin_inset Flex Code
3867 \begin_layout Plain Layout
3873 have different meaning.
3875 \begin_inset Flex Code
3878 \begin_layout Plain Layout
3884 marks comments, quotes start and end LaTeX-style commands.
3885 To enter quote, you'll need to use
3886 \begin_inset Flex Code
3889 \begin_layout Plain Layout
3898 \begin_inset Flex Code
3901 \begin_layout Plain Layout
3908 \begin_inset Flex Code
3911 \begin_layout Plain Layout
3922 \begin_layout Standard
3923 If you make a keyboard description file that works for your language, please
3924 mail it to me, so I can include it in the next keymap distribution.
3927 \begin_layout Standard
3928 More keywords will be supported in keymap configuration file in future,
3932 \begin_layout Itemize
3933 \begin_inset Flex Code
3936 \begin_layout Plain Layout
3947 \begin_inset space \hfill{}
3951 \begin_inset Flex Code
3954 \begin_layout Plain Layout
3963 \begin_layout Itemize
3964 \begin_inset Flex Code
3967 \begin_layout Plain Layout
3978 \begin_inset space \hfill{}
3982 \begin_inset Flex Code
3985 \begin_layout Plain Layout
3991 an external keymap translation program
3994 \begin_layout Standard
3995 Also, it should look into
3996 \begin_inset Flex Code
3999 \begin_layout Plain Layout
4005 file for defaults, too (for example, a
4006 \begin_inset Flex Code
4009 \begin_layout Plain Layout
4017 option to include default keyboard).
4025 \begin_layout Section
4026 \begin_inset CommandInset label
4032 Cosas sobre teclados internacionales
4035 \begin_layout Standard
4036 \begin_inset Note Note
4039 \begin_layout Plain Layout
4040 Al revisar este documento en marzo de 2008, no examiné este asunto porque
4042 Sería bueno que alguien pudiera hacerlo.
4050 \begin_layout Standard
4051 Las dos secciones siguientes describen con detalle la sintaxis de los archivos
4053 \begin_inset Flex Code
4056 \begin_layout Plain Layout
4065 \begin_inset Flex Code
4068 \begin_layout Plain Layout
4077 Deberían servir de ayuda para diseñar tus propios mapas de teclado si los
4078 suministrados no satisfacen tus necesidades.
4081 \begin_layout Subsection
4085 \begin_layout Standard
4087 \begin_inset Flex Code
4090 \begin_layout Plain Layout
4096 asocia pulsaciones de teclas con caracteres o secuencias de ellos.
4097 Como sugiere el nombre, sirve para trazar un mapa del teclado.
4098 En esta sección se describen las palabras clave
4099 \begin_inset Flex Code
4102 \begin_layout Plain Layout
4111 \begin_inset Flex Code
4114 \begin_layout Plain Layout
4123 \begin_inset Flex Code
4126 \begin_layout Plain Layout
4135 \begin_inset Flex Code
4138 \begin_layout Plain Layout
4147 \begin_inset Flex Code
4150 \begin_layout Plain Layout
4159 \begin_layout Labeling
4160 \labelwidthstring 00.00.0000
4161 \begin_inset Flex Code
4164 \begin_layout Plain Layout
4172 Asocia un carácter a una cadena
4175 \begin_layout LyX-Code
4190 \begin_layout Standard
4204 , la doble comilla (") y la barra invertida (
4206 ) deben escaparse con una barra (
4211 \begin_layout Standard
4212 Un ejemplo de una declaración de
4213 \begin_inset Flex MenuItem
4216 \begin_layout Plain Layout
4224 para hacer que el símbolo
4225 \begin_inset Flex MenuItem
4228 \begin_layout Plain Layout
4236 sea generado por la tecla
4237 \begin_inset Flex MenuItem
4240 \begin_layout Plain Layout
4251 \begin_layout LyX-Code
4257 \begin_layout Labeling
4258 \labelwidthstring 00.00.0000
4259 \begin_inset Flex Code
4262 \begin_layout Plain Layout
4270 Especifica un carácter acentuado
4273 \begin_layout LyX-Code
4282 \begin_layout Standard
4283 Esto hará que el carácter
4291 sobre el(los) carácter(es) permitido(s)
4296 Este es el mecanismo de tecla muerta
4300 \begin_layout Plain Layout
4310 se refiere a una tecla que no genera ningún carácter por sí mismo, pero
4311 seguida de otra tecla genera el carácter acentuado deseado.
4312 Por ejemplo, un caráter con diéresis, ü, se genera de esta manera.
4321 \begin_layout Standard
4326 y después una tecla que no está entre las permitidas (
4330 ), en la salida obtendrás el carácter
4334 seguido por el otro carácter, el no permitido.
4335 Hay que tener en cuenta que
4336 \begin_inset Flex MenuItem
4339 \begin_layout Plain Layout
4347 cancela una tecla muerta, de modo que si pulsas
4352 \begin_inset Flex MenuItem
4355 \begin_layout Plain Layout
4363 , el cursor no retrocede una posición sino que anula el efecto que
4367 hubiera tenido sobre la siguiente pulsación.
4370 \begin_layout Standard
4371 En el ejemplo siguiente, el carácter ' va a generar un acento agudo permitido
4372 sobre los caracteres a, e, i, o, u, A, E, I, O, U:
4375 \begin_layout LyX-Code
4378 kmod ' acute aeiouAEIOU
4381 \begin_layout Labeling
4382 \labelwidthstring 00.00.0000
4383 \begin_inset Flex Code
4386 \begin_layout Plain Layout
4392 Especifica una excepción para el carácter acentuado
4395 \begin_layout LyX-Code
4404 \begin_layout Standard
4405 Define una excepción para el
4418 debe haber sido asignado a una pulsación con una declaración previa de
4420 \begin_inset Flex Code
4423 \begin_layout Plain Layout
4439 no debe estar en el conjunto
4448 Si tecleas la secuencia
4457 Si dicha declaración no existe en el archivo
4458 \begin_inset Flex Code
4461 \begin_layout Plain Layout
4481 es el primer argumento de la declaración
4482 \begin_inset Flex Code
4485 \begin_layout Plain Layout
4498 \begin_layout Standard
4499 El comando siguiente generará äi cuando teclees agudo-i ('i):
4502 \begin_layout LyX-Code
4516 \begin_layout Labeling
4517 \labelwidthstring 00.00.0000
4518 \begin_inset Flex Code
4521 \begin_layout Plain Layout
4527 Combina dos caracteres acentos
4530 \begin_layout LyX-Code
4536 accent1 accent2 allowed
4539 \begin_layout Standard
4540 Esto es bastante esotérico.
4541 Permite combinar el efecto de
4549 (¡en ese orden!) sobre los caracteres permitidos
4562 deben haber sido declaradas con un comando
4563 \begin_inset Flex Code
4566 \begin_layout Plain Layout
4584 \begin_layout Standard
4585 Considera este ejemplo del archivo
4586 \begin_inset Flex Code
4589 \begin_layout Plain Layout
4600 \begin_layout LyX-Code
4603 kmod ; acute aeioyvhAEIOYVH
4607 kcomb acute umlaut iyIY
4610 \begin_layout Standard
4612 \begin_inset Flex MenuItem
4615 \begin_layout Plain Layout
4623 y obtener el efecto de
4624 \begin_inset Flex Code
4627 \begin_layout Plain Layout
4640 En este caso un retroceso cancela la última tecla muerta, así que si tecleas
4642 \begin_inset Flex MenuItem
4645 \begin_layout Plain Layout
4654 \begin_inset Flex Code
4657 \begin_layout Plain Layout
4670 \begin_layout Subsection
4674 \begin_layout Standard
4675 Después de realizados el mapa
4676 \begin_inset Flex Code
4679 \begin_layout Plain Layout
4688 \begin_inset Flex Code
4691 \begin_layout Plain Layout
4701 traza el mapa de las cadenas que los símbolos generan para los caracteres
4702 en la tipografía actual.
4703 La distribución de LyX actualmente incluye al menos los archivos
4704 \begin_inset Flex Code
4707 \begin_layout Plain Layout
4716 \begin_inset Flex Code
4719 \begin_layout Plain Layout
4730 \begin_layout Standard
4731 En general el archivo
4732 \begin_inset Flex Code
4735 \begin_layout Plain Layout
4743 es una secuencia de declaraciones de la forma:
4746 \begin_layout LyX-Code
4759 \begin_layout Standard
4760 Por ejemplo, para asociar
4761 \begin_inset Flex MenuItem
4764 \begin_layout Plain Layout
4774 al correspondiente carácter en el conjunto iso-8859-1 (233), se usa:
4777 \begin_layout LyX-Code
4785 \begin_layout Standard
4787 \begin_inset Flex Code
4790 \begin_layout Plain Layout
4799 \begin_inset Flex Code
4802 \begin_layout Plain Layout
4813 Anotar que el mismo carácter puede aplicarse a más de una cadena.
4815 \begin_inset Flex Code
4818 \begin_layout Plain Layout
4829 \begin_layout LyX-Code
4841 \begin_inset Newline newline
4857 \begin_layout Standard
4858 Si LyX no puede encontrar una declaración para la cadena por una tecla o
4859 una secuencia con tecla muerta, intentará si aparece como un carácter acentuado
4860 y probará a dibujar un acento sobre el carácter en la pantalla.
4863 \begin_layout Subsection
4867 \begin_layout Standard
4868 Hay una segunda manera de añadir soporte para caracteres internacionales
4869 mediante las denominadas teclas muertas.
4870 Una tecla muerta trabaja en combinación con una letra para generar un carácter
4872 Aquí explicaremos como crear una sencillísima tecla muerta para ilustrar
4876 \begin_layout Standard
4877 Supongamos que necesitas el carácter circunflejo
4878 \begin_inset Quotes fld
4882 \begin_inset Quotes frd
4886 Podrías asociar la tecla
4887 \begin_inset Flex MenuItem
4890 \begin_layout Plain Layout
4897 \begin_inset Flex MenuItem
4900 \begin_layout Plain Layout
4907 \begin_inset Flex Code
4910 \begin_layout Plain Layout
4917 \begin_inset Flex Code
4920 \begin_layout Plain Layout
4927 Ahora, cuando pulses la tecla
4928 \begin_inset Flex MenuItem
4931 \begin_layout Plain Layout
4937 seguida de una letra, obtendrás esa letra con circunflejo sobre ella.
4938 Por ejemplo, la secuencia
4939 \begin_inset Quotes fld
4943 \begin_inset Flex MenuItem
4946 \begin_layout Plain Layout
4953 \begin_inset Quotes frd
4957 \begin_inset Quotes fld
4961 \begin_inset Quotes frd
4966 \begin_inset Quotes fld
4970 \begin_inset Flex Code
4973 \begin_layout Plain Layout
4980 \begin_inset Quotes frd
4983 , sin embargo, LyX no imprime nada puesto que
4984 \begin_inset Flex MenuItem
4987 \begin_layout Plain Layout
4993 nunca lleva un circunflejo.
4995 \begin_inset Flex MenuItem
4998 \begin_layout Plain Layout
5004 tras una tecla muerta imprime el acento solo.
5005 ¡Advierte este último punto! Si asocias una tecla a una tecla muerta necesitará
5006 s reasociar el carácter de esa tecla a otra tecla.
5008 \begin_inset Flex MenuItem
5011 \begin_layout Plain Layout
5017 a una cedilla es una mala idea, puesto que solo obtendrás cedillas en lugar
5021 \begin_layout Standard
5022 Una forma habitual de asociar teclas muertas es usar
5023 \begin_inset Flex MenuItem
5026 \begin_layout Plain Layout
5033 \begin_inset Flex MenuItem
5036 \begin_layout Plain Layout
5043 \begin_inset Flex MenuItem
5046 \begin_layout Plain Layout
5052 en combinación con un acento, como
5053 \begin_inset Quotes fld
5057 \begin_inset Flex MenuItem
5060 \begin_layout Plain Layout
5067 \begin_inset Quotes frd
5071 \begin_inset Quotes fld
5075 \begin_inset Flex MenuItem
5078 \begin_layout Plain Layout
5085 \begin_inset Quotes frd
5089 \begin_inset Quotes fld
5093 \begin_inset Flex MenuItem
5096 \begin_layout Plain Layout
5103 \begin_inset Quotes frd
5107 Otra forma incluye el uso de
5108 \begin_inset Flex Code
5111 \begin_layout Plain Layout
5118 \begin_inset Flex Code
5121 \begin_layout Plain Layout
5127 para configurar la tecla especial
5128 \begin_inset Flex Code
5131 \begin_layout Plain Layout
5138 Esta tecla actúa de alguna forma como
5139 \begin_inset Flex MenuItem
5142 \begin_layout Plain Layout
5148 y permite teclas a caracteres acentuados.
5149 También puedes transformar teclas en muertas asociándolas a algo como
5150 \begin_inset Flex Code
5153 \begin_layout Plain Layout
5159 y después asociando esta tecla simbólica al correspondiente comando LyX.
5163 \begin_layout Plain Layout
5168 : Esto es exactamente lo que hago en mis archivos
5169 \begin_inset Flex Code
5172 \begin_layout Plain Layout
5179 \begin_inset Flex Code
5182 \begin_layout Plain Layout
5190 \begin_inset Flex MenuItem
5193 \begin_layout Plain Layout
5195 \begin_inset space ~
5204 \begin_inset Flex Code
5207 \begin_layout Plain Layout
5213 y unas cuantas de estas teclas simbólicas
5214 \begin_inset Quotes fld
5218 \begin_inset Flex Code
5221 \begin_layout Plain Layout
5228 \begin_inset Quotes frd
5231 asociadas a cosas como
5232 \begin_inset Flex MenuItem
5235 \begin_layout Plain Layout
5237 \begin_inset space ~
5246 \begin_inset Flex MenuItem
5249 \begin_layout Plain Layout
5251 \begin_inset space ~
5260 Así es como genero mis caracteres acentuados.
5265 Puedes hacer casi cualquier cosa con la tecla
5266 \begin_inset Flex Code
5269 \begin_layout Plain Layout
5276 \begin_inset Flex MenuItem
5279 \begin_layout Plain Layout
5285 , una tecla de función de reserva, etc.
5286 En cuanto a los comandos LyX que generan acentos, consulta la entrada para
5288 \begin_inset Flex Code
5291 \begin_layout Plain Layout
5302 Ahí encontrarás la lista completa.
5305 \begin_layout Subsection
5306 Guardar la configuración de idioma
5309 \begin_layout Standard
5310 Puedes editar tus preferencias para que el entorno de idioma adecuado sea
5311 automáticamente configurado al iniciar LyX, en el diálogo
5312 \begin_inset Flex MenuItem
5315 \begin_layout Plain Layout
5316 Herramientas\SpecialChar \menuseparator
5325 \begin_layout Chapter
5326 Instalación de nuevas clases de documento, formatos y plantillas
5327 \begin_inset CommandInset label
5329 name "cap:Instalación-de-nuevas"
5334 \begin_inset Argument 1
5337 \begin_layout Plain Layout
5338 Instalación de clases, formatos \SpecialChar \ldots{}
5347 \begin_layout Standard
5348 En este capítulo describimos los procedimientos para crear e instalar nuevos
5349 archivos de plantillas y formatos de LyX, así como repasar la instalación
5350 correcta de nuevas clases de documentos LaTeX.
5353 \begin_layout Standard
5354 En primer lugar, permite que digamos algo sobre la relación entre LyX y
5356 Lo que hay que entender es que, en cierto sentido, LyX no sabe nada de
5358 Desde el punto de vista de LyX, LaTeX solo es uno más de los varios
5359 \begin_inset Quotes fld
5363 \begin_inset Quotes frd
5366 en los que es capaz de generar salida.
5367 Otros son DocBook, texto sencillo y XHTML.
5368 LaTeX es, por supuesto, un formato particularmente importante, pero muy
5369 poca de la información que LyX tiene sobre LaTeX está realmente contenida
5370 en el propio programa.
5374 \begin_layout Plain Layout
5375 Algunos comandos son lo bastante complejos como para ser incluidos en el
5377 Pero en general los desarrolladores consideran esto una mala cosa.
5383 Esa información, incluso para las clases estándar como
5387 , está almacenada en 'archivos de formato (
5392 De igual manera LyX no sabe gran cosa sobre DocBook o XHTML.
5393 Esa información está en los archivos de formato.
5396 \begin_layout Standard
5397 El archivo de formato para una determinada clase de documento se puede considera
5398 r como un manual de instrucciones para traducir las estructuras de LyX ---párraf
5399 os y sus estilos, ciertos tipos de recuadros, etc.--- a las estructuras correspon
5400 dientes de LaTeX, DocBook o XHTML.
5401 Por ejemplo, casi todo lo que LyX sabe sobre
5402 \begin_inset Flex Code
5405 \begin_layout Plain Layout
5411 está contenido en el archivo
5412 \begin_inset Flex Code
5415 \begin_layout Plain Layout
5421 y en otros archivos incluidos en este.
5422 Por esta razón, quien intente escribir archivos de formato debería empezar
5423 por estudiar los archivos existentes.
5424 Un buen sitio para empezar es
5425 \begin_inset Flex Code
5428 \begin_layout Plain Layout
5434 , que está incluido en
5435 \begin_inset Flex Code
5438 \begin_layout Plain Layout
5445 \begin_inset Flex Code
5448 \begin_layout Plain Layout
5454 y muchos otros archivos de formato para clases de documento.
5455 En este archivo se definen las secciones y demás:
5456 \begin_inset Flex Code
5459 \begin_layout Plain Layout
5465 indica a LyX como traducir los párrafos con estilos como Sección, Subsección,
5466 etc., a los comandos y etiquetas correspondientes en LaTeX, DocBook y XHTML.
5468 \begin_inset Flex Code
5471 \begin_layout Plain Layout
5477 solo incluye, básicamente, varios de estos archivos
5478 \begin_inset Flex Code
5481 \begin_layout Plain Layout
5490 \begin_layout Standard
5491 Pero definir la correspondencia LyX-LaTeX no es lo único que hacen los archivos
5493 Su otra tarea es definir cómo aparecerán en pantalla las estructuras de
5495 El hecho de que los archivos de formato tengan estas dos tareas es a veces
5496 fuente de confusión, porque son totalmente independientes.
5497 Indicar a LyX cómo traducir cierto estilo de párrafo a LaTeX no le dice
5498 cómo mostrarlo en pantalla; a la inversa, indicar cómo mostrar en pantalla
5499 un estilo de párrafo no tiene nada que ver con su traducción a LaTeX (solo
5500 permite indicar a LaTeX cómo mostrarlo).
5501 Así pues, en general, cuando defines una nueva construcción en LyX, siempre
5502 tienes que hacer dos cosas: 1) indicar la traducción a LaTeX y, 2) indicar
5503 la presentación en pantalla.
5506 \begin_layout Standard
5507 Gran parte de lo dicho es cierto, también, en relación con otros formatos
5508 de salida, aunque XHTML es un poco diferente porque en este caso LyX
5512 , en cierta medida, de usar la información de la presentación de un párrafo
5513 en pantalla para generar la presentación (en forma de CSS) del párrafo
5515 Incluso en este caso, no obstante, la distinción entre lo que hace LyX
5516 internamente y la forma en que las cosas se muestran externamente sigue
5517 en vigor, y ambas se pueden controlar separadamente.
5519 \begin_inset CommandInset ref
5521 reference "sec:Etiquetas-para-XHTML"
5528 \begin_layout Section
5529 Instalación de nuevos archivos LaTeX
5532 \begin_layout Standard
5533 Algunas instalaciones quizá no incluyan un paquete LaTeX que te gustaría
5535 Por ejemplo, podrías necesitar FoilTeX, un paquete para preparar transparencias
5536 o diapositivas para proyectores.
5537 Las modernas distribuciones de LaTeX como TeXLive (2008 o posterior) o
5538 MiKTeX proveen una interfaz de usuario para eso.
5539 Por ejemplo, en MiKTeX inicia su programa
5540 \begin_inset Quotes fld
5543 Administrador de paquetes
5544 \begin_inset Quotes frd
5547 para obtener una lista de los disponibles.
5548 Para instalar uno, haz clic derecho sobre él o usa el botón de la herramienta
5552 \begin_layout Standard
5553 Si tu distribución LaTeX no proporciona tal
5554 \begin_inset Quotes fld
5557 administrador de paquetes
5558 \begin_inset Quotes frd
5561 , o si el paquete no está disponible en ella, sigue los siguientes pasos
5562 para instalarlo manualmente:
5565 \begin_layout Enumerate
5566 Consigue el paquete de
5567 \begin_inset CommandInset href
5570 target "http://www.ctan.org/"
5577 \begin_layout Enumerate
5578 Si el paquete contiene un archivo con la extensión
5579 \begin_inset Quotes fld
5583 \begin_inset Flex Code
5586 \begin_layout Plain Layout
5593 \begin_inset Quotes frd
5596 (es el caso de FoilTeX) abre una consola, cambia a la carpeta del archivo
5597 y ejecuta el comando
5598 \begin_inset Flex Code
5601 \begin_layout Plain Layout
5608 Así desempaquetamos y disponemos de todos los archivos para instalar.
5609 La mayoría de paquetes LaTeX no están empaquetados y podemos saltar este
5613 \begin_layout Enumerate
5614 Tienes que decidir si el paquete estará disponible para todos los usuarios
5619 \begin_layout Enumerate
5620 En sistemas *nix (Linux, OSX, etc.), si el paquete va estar disponible para
5621 todos los usuarios del sistema, hay que instalarlo en el árbol 'local'
5622 de TeX, de lo contrario instálalo en tu directorio TeX de usuario.
5623 La ubicación de estos árboles, si no existen ya, depende del sistema.
5624 Para encontrarlos mira en el archivo
5625 \begin_inset Flex Code
5628 \begin_layout Plain Layout
5638 \begin_layout Plain Layout
5639 Usualmente es el directorio
5643 , aunque se puede ejecutar el comando
5644 \begin_inset Flex Code
5647 \begin_layout Plain Layout
5658 La ubicación del árbol `local' de TeX está definida por la variable
5659 \begin_inset Flex Code
5662 \begin_layout Plain Layout
5668 ; generalmente algo como
5670 /usr/local/share/texmf/
5673 La ubicación del árbol `user' de TeX está definida por
5674 \begin_inset Flex Code
5677 \begin_layout Plain Layout
5688 (Si estas variables no están predefinidas, debes hacerlo.) Probablemente
5689 necesites permiso de administrador para crear o modificar el árbol `local',
5690 pero no para el árbol `user'.
5691 \begin_inset Newline newline
5694 En general, es recomendable instalar en el árbol `user' porque no será modificad
5695 o o sobrescrito al actualizar el sistema.
5696 Además, se guardará copia de él cuando hagas copia de seguridad de tu directori
5697 o `home' (que debe ser lo habitual).
5700 \begin_layout Enumerate
5701 En Windows, para que el nuevo paquete esté disponible a todos los usuarios,
5702 cambia a la carpeta donde está instalado LaTeX y en la subcarpeta
5710 , (En MiKTeX, debería ser
5722 ) crea una nueva carpeta
5723 \begin_inset Flex Code
5726 \begin_layout Plain Layout
5732 y copia en ella todos los archivos del paquete.
5733 Para hacer el paquete disponible solo a un usuario o si no dispones de
5734 permisos, haz lo mismo pero en el directorio de LaTeX, p.
5735 \begin_inset space \thinspace{}
5739 \begin_inset space ~
5743 \begin_inset Newline newline
5750 Documents and Settings
5757 \begin_inset Newline newline
5761 \begin_inset Phantom HPhantom
5764 \begin_layout Plain Layout
5784 \begin_inset Newline newline
5788 \begin_inset Newline newline
5815 \begin_layout Enumerate
5816 Ahora hay que decir a LaTeX que hay archivos nuevos.
5817 Esto depende de la distribución de LaTeX:
5821 \begin_layout Enumerate
5822 Para TeXLive ejecuta el comando
5823 \begin_inset Flex Code
5826 \begin_layout Plain Layout
5833 Si el paquete se instaló para todos los usuarios harán falta permisos de
5837 \begin_layout Enumerate
5838 Para MiKTeX, si el paquete se instaló para todos los usuarios, inicia el
5840 \begin_inset Quotes eld
5844 \begin_inset space ~
5848 \begin_inset Quotes erd
5852 \begin_inset Quotes eld
5856 \begin_inset Quotes erd
5860 Si no, inicia el programa
5861 \begin_inset Quotes eld
5865 \begin_inset Quotes erd
5872 \begin_layout Enumerate
5873 Finalmente, hay que decir a LyX que hay nuevos paquetes disponibles.
5875 \begin_inset Flex MenuItem
5878 \begin_layout Plain Layout
5879 Herramientas\SpecialChar \menuseparator
5888 \begin_layout Standard
5889 Ya está instalado el paquete.
5890 En nuestro ejemplo, la clase de documento
5891 \begin_inset Flex Code
5894 \begin_layout Plain Layout
5896 \begin_inset space ~
5903 \begin_layout Plain Layout
5915 estará ahora disponible en
5916 \begin_inset Flex MenuItem
5919 \begin_layout Plain Layout
5920 Documento\SpecialChar \menuseparator
5921 Configuración\SpecialChar \menuseparator
5923 \begin_inset space ~
5927 \begin_inset space ~
5939 \begin_layout Standard
5940 Si quieres usar una clase de documento LaTeX que no aparece listada en
5941 \begin_inset Flex MenuItem
5944 \begin_layout Plain Layout
5945 Documento\SpecialChar \menuseparator
5946 Configuración\SpecialChar \menuseparator
5948 \begin_inset space ~
5952 \begin_inset space ~
5960 , debes crear un archivo de formato (`layout') para ella.
5961 Este es el tema de la sección siguiente.
5964 \begin_layout Section
5965 Tipos de archivos de formato
5968 \begin_layout Standard
5969 Esta sección describe los diversos tipos de arhivos de LyX que contienen
5970 información sobre el formato.
5972 \begin_inset Flex Code
5975 \begin_layout Plain Layout
5981 describen estilos de párrafo y de carácter, y determinan cómo los debería
5982 presentar LyX y cómo deberían traducirse a LaTeX, DocBook, XHTML o cualquier
5983 otro formato de salida que se vaya a usar.
5987 \begin_layout Standard
5988 Intentaremos aquí dar una minuciosa descripción del proceso; sin embargo,
5989 hay tantos tipos diferentes de documentos soportados por clases de LaTeX
5990 que no podemos aspirar a tratar todas las distintas posibilidades o problemas
5991 que puedas encontrar.
5992 La lista de usuarios de LyX es frecuentada por gente con mucha experiencia
5993 en el diseño de formatos deseosa de compartir sus conocimientos.
5996 \begin_layout Standard
5997 Cuando te pongas a escribir un nuevo formato, es de gran ayuda echar un
5998 vistazo a los formatos de ejemplo suministrados con LyX.
5999 Si escribes un `layout' de LyX para una clase de documento LaTeX o un módulo
6000 que podría ser útil también a otros, no dudes en compartir tu labor enviándola
6002 \begin_inset CommandInset href
6004 name "sección 'Layouts' en wiki LyX"
6005 target "http://wiki.lyx.org/Layouts/Layouts"
6009 o incluso a la lista de desarrolladores de LyX para poderlo incluir en
6014 \begin_layout Plain Layout
6015 Hay que advertir que LyX se acoge a la licencia GPL, por tanto cualquier
6016 material aportado debe tener la misma licencia.
6024 \begin_layout Subsection
6026 \begin_inset CommandInset label
6028 name "sub:Módulos-de-formato"
6035 \begin_layout Standard
6036 Hemos hablado hasta ahora de `archivos de formato'.
6037 Pero hay distintos tipos de archivos con información sobre formatos.
6038 Estrictamente, los archivos de formato tienen la extensión
6039 \begin_inset Flex Code
6042 \begin_layout Plain Layout
6048 y proporcionan a LyX información sobre las clases de documento.
6049 Sin embargo, a partir de LyX 1.6, esta información puede proporcionarse
6054 , que tienen la extensión
6055 \begin_inset Flex Code
6058 \begin_layout Plain Layout
6065 Los módulos son a los paquetes LaTeX lo que los formatos a las clases LaTeX,
6066 y algunos módulos —como el módulo Notas finales— dan soporte específico
6067 a un paquete determinado —en este caso
6068 \begin_inset Flex Code
6071 \begin_layout Plain Layout
6078 En cierto sentido, los módulos de formato son similares a los `archivos
6083 \begin_layout Plain Layout
6084 Estos pueden tener cualquier extensión pero, por convenio, se usa la extensión
6086 \begin_inset Flex Code
6089 \begin_layout Plain Layout
6101 \begin_inset Flex Code
6104 \begin_layout Plain Layout
6110 —, ya que, como estos, los módulos no son específicos para una clase de
6111 documento dada, sino que se pueden usar con muchos formatos diferentes.
6112 La diferencia es que el uso de un archivo incluido con
6113 \begin_inset Flex Code
6116 \begin_layout Plain Layout
6122 requiere editar dicho archivo, mientras que los módulos se seleccionan
6124 \begin_inset Flex MenuItem
6127 \begin_layout Plain Layout
6128 Documento\SpecialChar \menuseparator
6138 \begin_layout Standard
6139 La construcción de módulos es la forma más fácil de iniciarse en la edición
6140 del formato, puesto que puede ser tan sencillo como añadir un nuevo estilo
6141 de párrafo o un recuadro flexible.
6142 No obstante, los módulos pueden, en principio, contener cualquier cosa
6143 que pueda contener un archivo `layout'.
6146 \begin_layout Standard
6147 Después de crear un módulo nuevo y copiarlo en la carpeta
6148 \begin_inset Flex Code
6151 \begin_layout Plain Layout
6157 , tendrás que reconfigurar LyX y reiniciar después para que el módulo aparezca
6159 Sin embargo, los cambios que hagas al módulo se verán inmediatamente si
6161 \begin_inset Flex MenuItem
6164 \begin_layout Plain Layout
6165 Documento\SpecialChar \menuseparator
6171 , seleccionas lo que sea y después pulsas
6172 \begin_inset Quotes fld
6176 \begin_inset Quotes frd
6182 Es muy recomendable guardar el trabajo antes de hacer eso.
6187 es muy recomendable no intentar editar los módulos mientras se está trabajando
6188 simultáneamente en un documento
6191 Aunque los desarrolladores, por supuesto, se esfuerzan en mantener la estabilid
6192 ad de LyX en estas situaciones, errores sintácticos y similares en el archivo
6193 del módulo podrían causar extraños comportamientos.
6196 \begin_layout Subsubsection
6200 \begin_layout Standard
6201 Los módulos son a LyX lo que los paquetes a LaTeX.
6202 Sin embargo, a veces puede suceder que necesites un recuadro específico
6203 o un estilo de carácter solo para un documento, y escribir un módulo que
6204 estará disponible también para otros documentos tiene poco sentido.
6205 En estos casos, lo que necesitas es el
6206 \begin_inset Quotes fld
6210 \begin_inset Quotes frd
6216 \begin_layout Standard
6219 Documento\SpecialChar \menuseparator
6220 Configuración\SpecialChar \menuseparator
6224 El gran cuadro de texto permite introducir todo lo que podría incluirse
6225 en un archivo de formato o en un módulo.
6226 De hecho, el formato local de un documento se puede considerar como un
6227 módulo que le pertenece solo a él.
6228 Por tanto, en particular, hay que introducir una etiqueta
6229 \begin_inset Flex Code
6232 \begin_layout Plain Layout
6239 Cualquier formato es aceptable, pero debería usarse normalmente el actual
6241 (En LyX 2.1 el formato actual es 48).
6242 Debes tener en cuenta que el formato local no es soportado por versiones
6243 de LyX anteriores a 1.6, por tanto no deberías usarlo si quieres poder exportar
6244 el documento a LyX 1.5 o anteriores sin perder la información del formato
6246 Si quieres poder exportar a 1.6 ---el formato local es soportado pero no
6247 hay IU par él---, deberías usar formato 11 y, por supuesto, usar solo estructur
6248 as que estuvieran disponibles en LyX 1.6.
6251 \begin_layout Standard
6252 Una vez introducido algo en el panel
6253 \begin_inset Flex Code
6256 \begin_layout Plain Layout
6262 , LyX habilitará el botón
6263 \begin_inset Quotes fld
6267 \begin_inset Quotes frd
6271 Pulsando ese botón LyX determinará si lo introducido es información válida
6272 para el formato elegido.
6273 LyX informará del resultado pero, desafortunadamente, no indicará qué errores
6274 pudiera haber habido.
6275 Sin embargo, si LyX se ha arrancado en una terminal se verán ahí los errores.
6276 El formato local no se podrá guardar hasta que se haya introducido algo
6280 \begin_layout Standard
6281 Las advertencias al final de la sección anterior se aplican también aquí.
6282 Es mejor no enredar con formato local mientras se está trabajando, especialment
6283 e si no se ha guardado el documento.
6284 Dicho esto, usar formato local en un documento de prueba puede ser una
6285 forma muy conveniente de probar ideas de formato, o incluso de empezar
6286 a desarrollar un módulo.
6289 \begin_layout Subsection
6290 Formato para archivos
6291 \begin_inset Flex MenuItem
6294 \begin_layout Plain Layout
6303 \begin_layout Standard
6304 Probablemente te vas a encontrar con dos situaciones a la hora de querer
6305 soportar una nueva clase de documento LaTeX, según se trate de archivos
6307 \begin_inset Flex Code
6310 \begin_layout Plain Layout
6316 ) o de archivos de clases LaTeX2e (
6317 \begin_inset Flex Code
6320 \begin_layout Plain Layout
6327 Dar soporte a un nuevo estilo es bastante fácil.
6328 Dar soporte a una nueva clase es un poco más difícil.
6329 Trataremos el primer caso en esta sección y el otro en la siguiente.
6330 Lo mismo cabe decir, por supuesto, para el soporte de un nuevo DocBook
6334 \begin_layout Standard
6335 El caso más sencillo es aquel en el que la nueva clase de documento se suministr
6336 a como archivo de estilo que se usará conjuntamente con una clase ya soportada.
6337 Para nuestro ejemplo supondremos que el archivo de estilo se llama
6338 \begin_inset Flex MenuItem
6341 \begin_layout Plain Layout
6347 y que se usará conjuntamente con
6348 \begin_inset Flex MenuItem
6351 \begin_layout Plain Layout
6357 , que es una clase estándar.
6360 \begin_layout Standard
6361 Empieza por copiar el archivo `layout' existente en tu directorio local:
6365 \begin_layout Plain Layout
6366 Evidentemente, cuál es tu directorio local variará según la plataforma,
6367 y además LyX permite especificarlo al inicio usando la opción
6368 \begin_inset Flex Code
6371 \begin_layout Plain Layout
6385 \begin_layout LyX-Code
6386 cp report.layout ~/.lyx/layouts/myclass.layout
6389 \begin_layout Standard
6391 \begin_inset Flex Code
6394 \begin_layout Plain Layout
6403 \begin_layout LyX-Code
6406 DeclareLaTeXClass{report}
6409 \begin_layout Standard
6413 \begin_layout LyX-Code
6416 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
6419 \begin_layout Standard
6423 \begin_layout LyX-Code
6425 \begin_inset Newline newline
6431 \begin_inset Newline newline
6437 \begin_layout Standard
6438 cerca del principio del archivo.
6441 \begin_layout Standard
6442 Inicia LyX y selecciona
6443 \begin_inset Flex MenuItem
6446 \begin_layout Plain Layout
6447 Herramientas\SpecialChar \menuseparator
6454 Después reinicia LyX y haz una prueba con un documento nuevo.
6456 \begin_inset Flex MenuItem
6459 \begin_layout Plain Layout
6460 Documento\SpecialChar \menuseparator
6467 \begin_inset Quotes fld
6471 \begin_inset Flex MenuItem
6474 \begin_layout Plain Layout
6481 \begin_inset Quotes frd
6484 en la lista de clases de documento.
6485 Es probable que algunos de los comandos de secciones y demás en tu nueva
6486 clase funcionen de distinta manera a como lo hacen en la clase estándar
6488 \begin_inset Flex Code
6491 \begin_layout Plain Layout
6497 en este ejemplo—, de modo que si quieres, ahora puedes enredar un rato
6498 con los ajustes de las distintas secciones.
6499 La información del formato de las secciones se encuentra en
6500 \begin_inset Flex Code
6503 \begin_layout Plain Layout
6509 , pero no necesitas copiar ni cambiar este archivo.
6510 Simplemente añade tus cambios a tu archivo `layout' después de la línea
6512 \begin_inset Flex Code
6515 \begin_layout Plain Layout
6522 \begin_inset Flex Code
6525 \begin_layout Plain Layout
6532 Por ejemplo, podrías añadir estas líneas:
6535 \begin_layout LyX-Code
6539 \begin_layout LyX-Code
6543 \begin_layout LyX-Code
6547 \begin_layout LyX-Code
6551 \begin_layout LyX-Code
6555 \begin_layout Standard
6556 para cambiar la tipografía de los encabezados de capítulo a sans-serif.
6557 Esto sobrescribirá (o, en este caso, añadirá) la declaración para el estilo
6562 \begin_layout Standard
6563 Tu nuevo paquete puede proporcionar además comandos o entornos no presentes
6565 En este caso, los añadirás al archivo `layout'.
6567 \begin_inset space ~
6571 \begin_inset CommandInset ref
6573 reference "sec:Estructura-del-archivo-layout"
6577 para información sobre cómo hacerlo.
6580 \begin_layout Standard
6582 \begin_inset Flex MenuItem
6585 \begin_layout Plain Layout
6591 se puede usar con diferentes clases de documento, e incluso si no es así,
6592 lo más sencillo sería escribir un módulo que puedes cargar con la clase
6594 El módulo más simple posible podría ser:
6597 \begin_layout LyX-Code
6600 DeclareLyXModule{My Package}
6603 \begin_layout LyX-Code
6607 \begin_layout LyX-Code
6608 #Support for mypkg.sty.
6611 \begin_layout LyX-Code
6613 \begin_inset Newline newline
6619 \begin_layout LyX-Code
6621 \begin_inset Newline newline
6627 \begin_layout LyX-Code
6629 \begin_inset Newline newline
6635 \begin_inset Newline newline
6641 \begin_layout Standard
6642 Un módulo más complejo podría modificar el comportamiento de alguna estructura
6643 ya existente o definir algunas nuevas.
6644 De nuevo te remitimos a sección
6645 \begin_inset space ~
6649 \begin_inset CommandInset ref
6651 reference "sec:Estructura-del-archivo-layout"
6658 \begin_layout Subsection
6659 Formato para archivos
6660 \begin_inset Flex MenuItem
6663 \begin_layout Plain Layout
6672 \begin_layout Standard
6673 En este caso hay dos opciones.
6674 Una, que el archivo de clase esté él mismo basado en una clase de documento
6676 Por ejemplo, muchas clases de tesis están basadas en
6677 \begin_inset Flex MenuItem
6680 \begin_layout Plain Layout
6687 Para ver si el tuyo lo está, busca una línea parecida a
6690 \begin_layout LyX-Code
6696 \begin_layout Standard
6698 Si está, entonces puedes proceder en gran parte como en la sección anterior,
6699 aunque la línea DeclareLaTeXClass será diferente.
6700 Si tu nueva clase es tesis y está basada en book, la línea debería poner:
6704 \begin_layout Plain Layout
6705 Y será mucho más fácil si guardas el archivo como
6706 \begin_inset Flex Code
6709 \begin_layout Plain Layout
6715 : LyX supone que la clase de documento tiene el mismo nombre que el archivo
6725 \begin_layout LyX-Code
6728 DeclareLaTeXClass[thesis,book]{thesis}
6731 \begin_layout Standard
6732 Si, por el contrario, la nueva clase no está basada en una ya existente,
6733 probablemente tendrás que ir pensando en tu propio formato.
6734 Recomendamos firmemente copiar un archivo de formato existente que use
6735 una clase de LaTeX parecida y modificarlo, si es posible.
6736 O al menos, usa un archivo existente como punto de partida para ver qué
6737 items son los que te deben preocupar.
6738 Los detalles se discuten a continuación.
6741 \begin_layout Subsection
6742 Creación de plantillas
6743 \begin_inset CommandInset label
6745 name "sub:Creación-de-plantillas"
6752 \begin_layout Standard
6753 Una vez escrito un archivo de formato para una clase nueva de documento,
6754 podrías pensar en escribir además una
6759 Una plantilla funciona como una especie de tutorial para tu formato, mostrando
6760 cómo podría usarse, aunque sea con contenido irrelevante.
6761 Naturalmente, puedes echar un vistazo a las plantillas incluidas en LyX
6765 \begin_layout Standard
6766 Las plantillas se crean exactamente igual que un documento normal: usando
6768 La única diferencia es que los documentos corrientes tienen todos los ajustes
6769 posibles, incluso el esquema de tipografías y el tamaño del papel.
6770 Generalmente, un usuario no desea que una plantilla sobrescriba sus ajustes
6771 preferidos para dichos parámetros.
6772 Por esta razón, el diseñador de una plantilla debería quitar comandos como
6774 \begin_inset Flex Code
6777 \begin_layout Plain Layout
6786 \begin_inset Flex Code
6789 \begin_layout Plain Layout
6797 de los archivos de plantillas de LyX.
6798 Esto se puede hacer con cualquier editor de texto sencillo, por ejemplo
6800 \begin_inset Flex Code
6803 \begin_layout Plain Layout
6810 \begin_inset Flex Code
6813 \begin_layout Plain Layout
6823 \begin_layout Standard
6824 Los archivos editados de plantillas que has creado se ubican en
6825 \begin_inset Flex Code
6828 \begin_layout Plain Layout
6834 , copia los que uses del directorio global de plantillas en
6835 \begin_inset Flex Code
6838 \begin_layout Plain Layout
6844 al mismo sitio y redefine la ruta a las plantillas en el diálogo
6845 \begin_inset Flex MenuItem
6848 \begin_layout Plain Layout
6849 Herramientas\SpecialChar \menuseparator
6850 Preferencias\SpecialChar \menuseparator
6859 \begin_layout Standard
6860 De paso advertiremos que hay una plantilla,
6861 \begin_inset Flex Code
6864 \begin_layout Plain Layout
6870 , que tiene un papel especial: esta plantilla se carga cada vez que abres
6871 un documento nuevo con
6872 \begin_inset Flex MenuItem
6875 \begin_layout Plain Layout
6876 Archivo\SpecialChar \menuseparator
6882 , con el fin de proporcionar ajustes predeterminados por omisión.
6883 Para (re)crear esta plantilla desde dentro de LyX, lo que debes hacer es
6884 abrir un documento, establecer los ajustes deseados y usar el botón
6885 \begin_inset Flex MenuItem
6888 \begin_layout Plain Layout
6889 Guardar como predeterminados
6897 \begin_layout Subsection
6898 Actualización de antiguos archivos de formato
6901 \begin_layout Standard
6902 El formato de los archivos de formato cambia con cada nueva versión de LyX,
6903 de modo que los antiguos archivos de formato deben ser convertidos.
6904 Si LyX lee un archivo de formato con formato antiguo lanzará la herramienta
6906 \begin_inset Flex Code
6909 \begin_layout Plain Layout
6915 , que lo convierte a un archivo temporal con el formato actual.
6916 El archivo original se deja sin tocar.
6917 Si lo usas a menudo y lo quieres convertir permanentemente para evitar
6918 que LyX tenga que hacerlo cada vez, ejecuta el convertidor a mano:
6921 \begin_layout Enumerate
6925 \begin_inset Flex Code
6928 \begin_layout Plain Layout
6937 \begin_inset Flex Code
6940 \begin_layout Plain Layout
6951 \begin_layout Enumerate
6957 \begin_inset Newline newline
6961 \begin_inset Flex Code
6964 \begin_layout Plain Layout
6965 python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
6971 \begin_inset Newline newline
6977 \begin_inset Flex Code
6980 \begin_layout Plain Layout
6990 el nombre de tu directorio LyX en el sistema.
6993 \begin_layout Standard
6994 La conversión manual no puede manejar archivos incluidos, así que estos
6995 tendrán que convertirse separadamente.
6998 \begin_layout Section
6999 Estructura del archivo `layout'
7000 \begin_inset CommandInset label
7002 name "sec:Estructura-del-archivo-layout"
7009 \begin_layout Standard
7010 Ha llegado por fin el momento de ponerte manos a la obra y crear o editar
7011 tu propio archivo de formato; las siguientes secciones describen aquello
7012 a lo que te vas a enfrentar.
7013 Nuestro consejo es ir despacito, probando y guardando a menudo.
7014 En realidad no es para tanto, pero la multitud de opciones puede llegar
7015 a abrumarte si intentas hacer muchas cosas a la vez.
7018 It becomes easier if you use existing layouts of LyX as examples/reference
7019 or if you modify an existing layout to your needs.
7022 \begin_layout Standard
7023 Todos los rótulos o etiquetas en los archivos de formato son insensibles
7024 a las mayúsculas; esto significa que
7025 \begin_inset Flex Code
7028 \begin_layout Plain Layout
7035 \begin_inset Flex Code
7038 \begin_layout Plain Layout
7045 \begin_inset Flex Code
7048 \begin_layout Plain Layout
7054 son el mismo comando.
7055 Los valores posibles se imprimen entre corchetes detrás del nombre de la
7057 Si en una descripción de una clase de texto no se especifica una característica
7058 , el valor por omisión se escribe en estilo
7059 \begin_inset Flex Code
7062 \begin_layout Plain Layout
7071 Si el argumento tiene un tipo de dato como
7072 \begin_inset Quotes fld
7076 \begin_inset Quotes frd
7080 \begin_inset Quotes fld
7084 \begin_inset Quotes frd
7087 , el valor por omisión se muestra de esta manera:
7088 \begin_inset Flex Code
7091 \begin_layout Plain Layout
7102 \begin_layout Subsection
7103 Declaración de la clase de documento
7108 \begin_layout Standard
7109 Las líneas de un archivo de formato que empiezan con
7110 \begin_inset Flex Code
7113 \begin_layout Plain Layout
7120 Hay una excepción a esta regla: todos los formatos deben comenzar con líneas
7124 \begin_layout LyX-Code
7127 #% Do not delete the line below; configure depends on this
7131 \begin_layout Plain Layout
7135 \begin_inset space \thinspace{}
7140 : No borrar la línea siguiente; la configuración depende de ella
7148 \begin_layout LyX-Code
7159 \begin_layout Plain Layout
7168 eXClass{Article (Standard Class)}
7171 \begin_layout LyX-Code
7176 DeclareCategory{Articles}
7179 \begin_layout Standard
7184 línea se usan en la (re)configuración de LyX.
7185 El archivo `layout' es leido por el guión de LaTeX
7186 \begin_inset Flex Code
7189 \begin_layout Plain Layout
7195 de un modo especial tal que
7196 \begin_inset Flex Code
7199 \begin_layout Plain Layout
7206 La primera línea es solo un comentario y la segunda contiene la declaración
7211 de la clase de texto
7213 and the third line contains the optional classification of the class
7216 Si estas líneas aparecen en un archivo llamado
7217 \begin_inset Flex Code
7220 \begin_layout Plain Layout
7226 , entonces definen una clase de texto de nombre
7227 \begin_inset Flex Code
7230 \begin_layout Plain Layout
7236 (el nombre del archivo de formato) que usa la clase de documento LaTeX
7238 \begin_inset Flex Code
7241 \begin_layout Plain Layout
7247 (por omisión se usa el mismo nombre para ambos).
7249 \begin_inset Quotes fld
7252 Article (Standard Class)
7253 \begin_inset Quotes frd
7256 se utiliza como descripción de la clase de texto y es la que aparece en
7258 \begin_inset Flex MenuItem
7261 \begin_layout Plain Layout
7262 Documento\SpecialChar \menuseparator
7272 \begin_inset Quotes eld
7276 \begin_inset Quotes erd
7279 in the example) is also used in the
7280 \begin_inset Flex MenuItem
7283 \begin_layout Plain Layout
7286 Document\SpecialChar \menuseparator
7292 dialog: the text classes are grouped by these categories (which are usually
7293 genres, so typical categories are
7294 \begin_inset Quotes eld
7298 \begin_inset Quotes erd
7302 \begin_inset Quotes eld
7306 \begin_inset Quotes erd
7310 \begin_inset Quotes eld
7314 \begin_inset Quotes erd
7318 \begin_inset Quotes eld
7322 \begin_inset Quotes erd
7326 \begin_inset Quotes eld
7330 \begin_inset Quotes erd
7334 \begin_inset Quotes eld
7338 \begin_inset Quotes erd
7342 If no category has been declared, the class will be put in the
7343 \begin_inset Quotes eld
7347 \begin_inset Quotes erd
7353 \begin_layout Standard
7354 Supongamos que has escrito tu propia clase de texto, que utiliza la clase
7356 \begin_inset Flex Code
7359 \begin_layout Plain Layout
7365 , pero en la que has cambiado el aspecto de los encabezados de sección.
7366 Si lo pones en un archivo
7367 \begin_inset Flex Code
7370 \begin_layout Plain Layout
7376 , la cabecera de este archivo debería ser:
7379 \begin_layout LyX-Code
7382 #% Do not delete the line below; configure depends on this
7385 \begin_layout LyX-Code
7396 \begin_layout Plain Layout
7405 eXClass[article]{Article (con Mis Encabezados)}
7408 \begin_layout LyX-Code
7413 DeclareCategory{Articles}
7416 \begin_layout Standard
7417 Esto declara la clase de texto
7418 \begin_inset Flex Code
7421 \begin_layout Plain Layout
7427 , asociada con la clase de documento LaTeX
7428 \begin_inset Flex Code
7431 \begin_layout Plain Layout
7437 , y cuya descripción es
7438 \begin_inset Quotes fld
7441 Article (con Mis Encabezados)
7442 \begin_inset Quotes frd
7446 Si la clase de texto depende de varios paquetes, puedes declararla así:
7449 \begin_layout LyX-Code
7452 #% Do not delete the line below; configure depends on this
7455 \begin_layout LyX-Code
7466 \begin_layout Plain Layout
7475 eXClass[article,foo.sty]{Article (con Mis Encabezados)}
7478 \begin_layout LyX-Code
7483 DeclareCategory{Articles}
7486 \begin_layout Standard
7487 Esto indica que la clase de texto utiliza el paquete foo.sty.
7488 Finalmente, también es posible declarar clases para código DocBook.
7489 Una declaración típica podría ser:
7492 \begin_layout LyX-Code
7495 #% Do not delete the line below; configure depends on this
7498 \begin_layout LyX-Code
7503 DeclareDocBookClass[article]{SGML (DocBook Article)}
7506 \begin_layout LyX-Code
7511 DeclareCategory{Articles}
7514 \begin_layout Standard
7515 Anotar que estas declaraciones pueden llevar también un parámetro opcional
7516 que declare el nombre de la clase de documento (pero no una lista).
7519 \begin_layout Standard
7520 Así, para ser lo más explícito posible, la forma de la declaración del formato
7524 \begin_layout LyX-Code
7535 \begin_layout Plain Layout
7544 eXClass[class,package.sty]{descripción del formato}
7547 \begin_layout LyX-Code
7559 \begin_layout Standard
7560 La clase solo debe especificarse si el nombre de archivo de la clase LaTeX
7561 y el nombre de archivo del formato son diferentes; si el nombre del archivo
7562 de clase no se especifica, LyX simplemente supondrá que es el mismo que
7563 el del archivo de formato.
7566 \begin_layout Standard
7567 Cuando la clase de texto se ha modificado según tus necesidades, lo que
7568 debes hacer es copiarla a
7569 \begin_inset Flex Code
7572 \begin_layout Plain Layout
7579 \begin_inset Flex Code
7582 \begin_layout Plain Layout
7589 \begin_inset Flex MenuItem
7592 \begin_layout Plain Layout
7593 Herramientas\SpecialChar \menuseparator
7600 Ahora la nueva clase de texto debería estar disponible junto con las demás.
7603 \begin_layout Standard
7604 Una vez instalado el `layout', puedes editarlo y ver los cambios sin tener
7605 que reconfigurar ni reiniciar LyX.
7610 \begin_layout Plain Layout
7611 En versiones de LyX anteriores a 1.6 no era así.
7612 Como resultado, la edición de archivos de formato podía llevar mucho tiempo,
7613 pues constantemente había que reconfigurar y reiniciar.
7618 Se puede forzar la recarga del formato en uso mediante la función LyX
7619 \begin_inset Flex MenuItem
7622 \begin_layout Plain Layout
7629 No hay atajo predeterminado para esta función —aunque por supuesto, puedes
7630 asociarle tú mismo una secuencia de teclas—.
7631 Normalmente usarás esta función introduciéndola simplemente en el
7639 \begin_layout Standard
7644 : Esto es mucho más que una
7645 \begin_inset Quotes fld
7648 característica avanzada
7649 \begin_inset Quotes frd
7657 recomendable que no intentes editar tu formato mientras estés trabajando
7658 en un documento importante.
7659 Usa un documento de prueba.
7660 Los errores sintácticos y similares en tu archivo de formato podrían provocar
7661 comportamientos extraños.
7662 En particular, tales errores podrían provocar que LyX vea el formato actual
7663 como inválido e intente cambiar a algún otro.
7667 \begin_layout Plain Layout
7668 En realidad, los errores en la sintaxis pueden causar incluso el cierre
7669 de LyX, porque ciertos tipos de error pueden hacer que LyX sea incapaz
7674 información de formato.
7675 Por favor ten cuidado.
7680 El equipo LyX procura que LyX se mantenga estable en estos casos, pero
7681 es mejor prevenir que curar.
7685 \begin_layout Plain Layout
7686 De todos modos, haz copias de seguridad regularmente.
7687 Y sé bueno con mamá.
7696 \begin_layout Subsection
7697 Declaración de un módulo
7700 \begin_layout Standard
7701 Un módulo debe empezar con una línea como la siguiente:
7704 \begin_layout LyX-Code
7711 \begin_layout Plain Layout
7718 yXModule[endnotes.sty]{Endnotes}
7721 \begin_layout Standard
7722 El argumento imprescindible es, entre llaves, el nombre del módulo tal como
7724 \begin_inset Flex MenuItem
7727 \begin_layout Plain Layout
7728 Documento\SpecialChar \menuseparator
7729 Configuración\SpecialChar \menuseparator
7736 El argumento entre corchetes es opcional: declara cualesquiera paquetes
7737 LaTeX de los que depende el módulo.
7738 También es posible usar la forma
7739 \begin_inset Flex MenuItem
7742 \begin_layout Plain Layout
7748 como argumento opcional, que declara que el módulo solo puede usarse cuando
7749 existe una cadena de conversión entre los formatos `
7750 \begin_inset Flex Code
7753 \begin_layout Plain Layout
7760 \begin_inset Flex Code
7763 \begin_layout Plain Layout
7772 \begin_layout Standard
7773 La declaración del módulo debe proseguir con líneas como las siguientes:
7777 \begin_layout Plain Layout
7778 Preferiblemente en inglés si el módulo se va a publicar en LyX.
7779 Esta descripción aparecerá en la lista de mensajes para ser traducidos
7780 en la siguiente actualización de la interfaz.
7788 \begin_layout LyX-Code
7792 \begin_layout LyX-Code
7793 #Adds an endnote command, in addition to footnotes.
7797 \begin_layout LyX-Code
7798 #You will need to add
7800 theendnotes in TeX code where you
7803 \begin_layout LyX-Code
7804 #want the endnotes to appear.
7808 \begin_layout LyX-Code
7812 \begin_layout LyX-Code
7813 #Requires: somemodule | othermodule
7816 \begin_layout LyX-Code
7817 #Excludes: badmodule
7820 \begin_layout Standard
7821 La descripción se usa en
7822 \begin_inset Flex MenuItem
7825 \begin_layout Plain Layout
7826 Documento\SpecialChar \menuseparator
7827 Configuración\SpecialChar \menuseparator
7833 para proporcionar al usuario información sobre las acciones del módulo.
7835 \begin_inset Flex Code
7838 \begin_layout Plain Layout
7844 sirve para identificar otros módulos con los que se debe usar este; la
7846 \begin_inset Flex Code
7849 \begin_layout Plain Layout
7855 identifica los módulos con los que este no se puede usar.
7856 Ambas son opcionales, y, como se ve, varios módulos deben separarse con
7857 el símbolo tubería: |.
7858 Anotar que los módulos requeridos se tratan de forma disyuntiva: debe usarse
7863 de los módulos requeridos.
7869 Aquí, los módulos se identifican por sus nombres de archivo sin la extensión
7871 \begin_inset Flex Code
7874 \begin_layout Plain Layout
7882 \begin_inset Flex Code
7885 \begin_layout Plain Layout
7892 \begin_inset Flex Code
7895 \begin_layout Plain Layout
7904 \begin_layout Subsection
7905 Número de formatoLa primera línea no comentada de cualquier archivo `layout',
7910 contener el número de formato del archivo:
7913 \begin_layout Description
7914 \begin_inset Flex Code
7917 \begin_layout Plain Layout
7924 \begin_inset Flex Code
7927 \begin_layout Plain Layout
7933 ] El número de formato del archivo `layout'.
7936 \begin_layout Standard
7937 Esta etiqueta se introdujo en LyX
7938 \begin_inset space ~
7942 Los archivos de formato de LyX
7943 \begin_inset space ~
7946 1.3.x y anteriores no tienen un número explícito y se considera de
7947 \begin_inset Flex Code
7950 \begin_layout Plain Layout
7952 \begin_inset space ~
7961 El número para la versión actual de LyX es formato 35.
7962 Cada versión de LyX es capaz de leer los formatos de versiones anteriores,
7963 de la misma forma que puede leer archivos producidos con versiones de LyX
7965 Sin embargo, no está previsto convertir a formatos anteriores.
7968 \begin_layout Subsection
7969 Parámetros generales de clases de texto
7970 \begin_inset CommandInset label
7972 name "sub:Parámetros-generales-clases"
7979 \begin_layout Standard
7980 Estos son los parámetros generales que describen completamente una clase
7986 significa que deban aparecer en archivos
7987 \begin_inset Flex Code
7990 \begin_layout Plain Layout
7996 en vez de en módulos.
7997 Un módulo puede contener cualquier etiqueta de formato).
8000 \begin_layout Description
8001 \begin_inset Flex Code
8004 \begin_layout Plain Layout
8010 Añade información para el bloque
8011 \begin_inset Flex Code
8014 \begin_layout Plain Layout
8020 cuando el documento se exporte a XHTML.
8021 Típicamente, debería usarse para exportar información de estilo CSS, aunque
8022 se puede usar para cualquier cosa que pueda aparecer en
8023 \begin_inset Flex Code
8026 \begin_layout Plain Layout
8034 \begin_inset Quotes eld
8038 \begin_inset Flex Code
8041 \begin_layout Plain Layout
8048 \begin_inset Quotes erd
8054 \begin_layout Description
8055 \begin_inset Flex Code
8058 \begin_layout Plain Layout
8064 Añade información al preámbulo del documento.
8066 \begin_inset Quotes fld
8070 \begin_inset Flex Code
8073 \begin_layout Plain Layout
8080 \begin_inset Quotes frd
8086 \begin_layout Description
8087 \begin_inset Flex Code
8090 \begin_layout Plain Layout
8096 Define formatos a usar en la presentación de información bibliográfica.
8098 \begin_inset space ~
8102 \begin_inset CommandInset ref
8104 reference "sub:Descripción-formato-cita"
8110 \begin_inset Quotes eld
8114 \begin_inset Flex Code
8117 \begin_layout Plain Layout
8124 \begin_inset Quotes erd
8130 \begin_layout Description
8131 \begin_inset Flex Code
8134 \begin_layout Plain Layout
8140 Describe varias opciones globales soportadas por la clase de documento.
8142 \begin_inset space ~
8146 \begin_inset CommandInset ref
8148 reference "sub:ClassOptions"
8152 para una descripción.
8154 \begin_inset Quotes fld
8158 \begin_inset Flex Code
8161 \begin_layout Plain Layout
8168 \begin_inset Quotes frd
8174 \begin_layout Description
8175 \begin_inset Flex Code
8178 \begin_layout Plain Layout
8185 \begin_inset Flex Code
8188 \begin_layout Plain Layout
8197 \begin_inset space \thinspace{}
8201 \begin_inset Flex Code
8204 \begin_layout Plain Layout
8210 ] Establece el número de columnas por omisión.
8211 Se puede cambiar en el diálogo
8212 \begin_inset Flex MenuItem
8215 \begin_layout Plain Layout
8216 Documento\SpecialChar \menuseparator
8225 \begin_layout Description
8226 \begin_inset Flex Code
8229 \begin_layout Plain Layout
8235 Esta secuencia define un nuevo contador.
8237 \begin_inset space ~
8241 \begin_inset CommandInset ref
8243 reference "sub:Contadores"
8249 \begin_inset Quotes fld
8253 \begin_inset Flex Code
8256 \begin_layout Plain Layout
8263 \begin_inset Quotes frd
8269 \begin_layout Description
8270 \begin_inset Flex Code
8273 \begin_layout Plain Layout
8279 Establece la tipografía por omisión para presentar el documento.
8281 \begin_inset space ~
8285 \begin_inset CommandInset ref
8287 reference "sub:Tipografías"
8291 para cómo declarar tipografías.
8293 \begin_inset Quotes fld
8297 \begin_inset Flex Code
8300 \begin_layout Plain Layout
8307 \begin_inset Quotes frd
8313 \begin_layout Description
8314 \begin_inset Flex Code
8317 \begin_layout Plain Layout
8324 \begin_inset Flex Code
8327 \begin_layout Plain Layout
8333 ] Especifica un módulo que se incluirá por omisión en esta clase de documento;
8334 deberá declararse por su nombre de archivo sin la extensión
8335 \begin_inset Flex Code
8338 \begin_layout Plain Layout
8345 El usuario puede, aún así, quitar el módulo, pero estará activo al principio.
8346 (Esto se aplica solo cuando se crean archivos nuevos, o si esta clase se
8347 elige para un documento existente.)
8350 \begin_layout Description
8351 \begin_inset Flex Code
8354 \begin_layout Plain Layout
8361 \begin_inset Flex Code
8364 \begin_layout Plain Layout
8370 ] Este es el estilo que será asignado a párrafos nuevos, generalmente
8371 \begin_inset Flex MenuItem
8374 \begin_layout Plain Layout
8381 Si no se especifica, se escogerá por omisión el primer estilo definido,
8382 pero es muy recomendable usar esta instrucción.
8385 \begin_layout Description
8386 \begin_inset Flex Code
8389 \begin_layout Plain Layout
8396 \begin_inset Flex Code
8399 \begin_layout Plain Layout
8405 ] Indica que el módulo en cuestión (que debería especificarse por el nombre
8406 de archivo sin la extensión
8407 \begin_inset Flex Code
8410 \begin_layout Plain Layout
8416 ) no puede utilizarse con esta clase de documento.
8417 Esto podría usarse en un archivo de formato específico de una publicación
8418 para, digamos, impedir el empleo del módulo
8419 \begin_inset Flex Code
8422 \begin_layout Plain Layout
8428 , que numera los teoremas y demás por secciones.
8433 puede utilizarse en un módulo.
8434 Los módulos tienen su propia forma de excluir otros módulos (véase
8435 \begin_inset space ~
8439 \begin_inset CommandInset ref
8441 reference "sub:Módulos-de-formato"
8448 \begin_layout Description
8449 \begin_inset Flex Code
8452 \begin_layout Plain Layout
8458 Define un nuevo flotante.
8460 \begin_inset space ~
8464 \begin_inset CommandInset ref
8466 reference "sub:Flotantes"
8472 \begin_inset Quotes fld
8476 \begin_inset Flex Code
8479 \begin_layout Plain Layout
8486 \begin_inset Quotes frd
8492 \begin_layout Description
8493 \begin_inset Flex Code
8496 \begin_layout Plain Layout
8502 Da información para el bloque
8503 \begin_inset Flex Code
8506 \begin_layout Plain Layout
8512 cuando esta clase de documento se exporte a XHTML.
8513 Advertir que esto sobrescribirá completamente cualquier declaración anterior
8515 \begin_inset Flex Code
8518 \begin_layout Plain Layout
8525 \begin_inset Flex Code
8528 \begin_layout Plain Layout
8536 \begin_inset Flex Code
8539 \begin_layout Plain Layout
8545 si solo quieres añadir material al preámbulo).
8547 \begin_inset Quotes eld
8551 \begin_inset Flex Code
8554 \begin_layout Plain Layout
8561 \begin_inset Quotes erd
8567 \begin_layout Description
8568 \begin_inset Flex Code
8571 \begin_layout Plain Layout
8578 \begin_inset Flex Code
8581 \begin_layout Plain Layout
8589 The style to use for the
8591 índice general, bibliografía, etc., cuando el documento se exporte a HTML.
8592 Para article, normalmente será
8593 \begin_inset Flex Code
8596 \begin_layout Plain Layout
8603 \begin_inset Flex Code
8606 \begin_layout Plain Layout
8613 Si no se especifica, LyX intentará deducir qué formato usar.
8616 \begin_layout Description
8617 \begin_inset Flex Code
8620 \begin_layout Plain Layout
8627 \begin_inset Flex Code
8630 \begin_layout Plain Layout
8636 ] Modifica las propiedades del contador dado.
8637 Si el contador no existe, esta sección se ignora.
8639 \begin_inset Quotes eld
8643 \begin_inset Flex Code
8646 \begin_layout Plain Layout
8653 \begin_inset Quotes erd
8657 \begin_inset Newline newline
8661 \begin_inset space ~
8665 \begin_inset CommandInset ref
8667 reference "sub:Contadores"
8674 \begin_layout Description
8675 \begin_inset Flex Code
8678 \begin_layout Plain Layout
8685 \begin_inset Flex Code
8688 \begin_layout Plain Layout
8694 ] Modifica las propiedades del estilo de párrafo dado.
8695 Si el estilo no existe, esta sección se ignora.
8697 \begin_inset Quotes eld
8701 \begin_inset Flex Code
8704 \begin_layout Plain Layout
8711 \begin_inset Quotes erd
8717 \begin_layout Description
8718 \begin_inset Flex Code
8721 \begin_layout Plain Layout
8728 \begin_inset Flex Code
8731 \begin_layout Plain Layout
8737 ] Permite incluir otro archivo de definición de formato en el tuyo con el
8738 fin de evitar la duplicación de comandos.
8739 Ejemplos habituales son los archivos de formatos estándar, como
8740 \begin_inset Flex Code
8743 \begin_layout Plain Layout
8749 , que contiene la mayoría de los diseños básicos.
8752 \begin_layout Description
8753 \begin_inset Flex Code
8756 \begin_layout Plain Layout
8763 \begin_inset Flex Code
8766 \begin_layout Plain Layout
8772 ] Esta sección (re)define el formato de un recuadro.
8773 Puede aplicarse a uno existente o a uno nuevo, definido por el usuario,
8775 \begin_inset space \thinspace{}
8778 e., un nuevo estilo de texto.
8780 \begin_inset space ~
8784 \begin_inset CommandInset ref
8786 reference "sub:estilo-del-texto"
8790 para más información.
8792 \begin_inset Quotes fld
8796 \begin_inset Flex Code
8799 \begin_layout Plain Layout
8806 \begin_inset Quotes frd
8812 \begin_layout Description
8813 \begin_inset Flex Code
8816 \begin_layout Plain Layout
8823 \begin_inset Flex Code
8826 \begin_layout Plain Layout
8832 ] Una cadena que indica la anchura del margen izquierdo en la pantalla,
8834 \begin_inset Quotes fld
8838 \begin_inset Flex Code
8841 \begin_layout Plain Layout
8848 \begin_inset Quotes frd
8852 (Esto no es una `longitud', como
8853 \begin_inset Quotes fld
8857 \begin_inset Quotes frd
8863 \begin_layout Description
8864 \begin_inset Flex Code
8867 \begin_layout Plain Layout
8874 \begin_inset Flex Code
8877 \begin_layout Plain Layout
8883 ] Este comando elimina un contador existente, generalmente uno definido
8884 en un archivo incluido.
8887 \begin_layout Description
8888 \begin_inset Flex Code
8891 \begin_layout Plain Layout
8898 \begin_inset Flex Code
8901 \begin_layout Plain Layout
8907 ] Este comando borra un flotante existente.
8908 Es particularmente útil si quieres suprimir un flotante que ha sido definido
8909 en un archivo de entrada.
8912 \begin_layout Description
8913 \begin_inset Flex Code
8916 \begin_layout Plain Layout
8923 \begin_inset Flex Code
8926 \begin_layout Plain Layout
8932 ] Este comando borra un estilo existente.
8935 \begin_layout Description
8936 \begin_inset Flex Code
8939 \begin_layout Plain Layout
8946 \begin_inset Flex Code
8949 \begin_layout Plain Layout
8955 ] El formato de archivo (tal como se define en las preferencias de LyX)
8956 producido por esta clase.
8957 Principalmente, es útil cuando
8958 \begin_inset Flex Code
8961 \begin_layout Plain Layout
8968 \begin_inset Flex Code
8971 \begin_layout Plain Layout
8977 y se quiere definir un nuevo tipo de documento `literate'.
8978 Esta cadena se redefine a
8979 \begin_inset Quotes fld
8983 \begin_inset Flex Code
8986 \begin_layout Plain Layout
8993 \begin_inset Quotes frd
8997 \begin_inset Quotes fld
9001 \begin_inset Flex Code
9004 \begin_layout Plain Layout
9011 \begin_inset Quotes frd
9014 si se encuentra el correspondiente parámetro
9015 \begin_inset Flex Code
9018 \begin_layout Plain Layout
9027 \begin_layout Description
9028 \begin_inset Flex Code
9031 \begin_layout Plain Layout
9038 \begin_inset Flex Code
9041 \begin_layout Plain Layout
9052 \begin_inset Flex Code
9055 \begin_layout Plain Layout
9062 \begin_inset Flex Code
9065 \begin_layout Plain Layout
9071 ] Indica qué clase de documentos de salida que usan esta clase se generarán.
9074 \begin_layout Description
9075 \begin_inset Flex Code
9078 \begin_layout Plain Layout
9085 \begin_inset Flex Code
9088 \begin_layout Plain Layout
9095 \begin_inset Flex Code
9098 \begin_layout Plain Layout
9106 Specifies options, given in the second string, for the package named by
9111 \begin_inset Quotes fld
9115 \begin_inset Flex Code
9118 \begin_layout Plain Layout
9119 PackageOptions natbib square
9125 \begin_inset Quotes frd
9131 \begin_inset Flex Code
9134 \begin_layout Plain Layout
9142 to be loaded with the
9143 \begin_inset Flex Code
9146 \begin_layout Plain Layout
9155 (For TeXperts, this causes LyX to output:
9158 \begin_inset Flex Code
9161 \begin_layout Plain Layout
9164 PassOptionsToPackage{natbib}{square}
9174 \begin_inset Flex Code
9177 \begin_layout Plain Layout
9186 \begin_layout Description
9187 \begin_inset Flex Code
9190 \begin_layout Plain Layout
9197 \begin_inset Flex Code
9200 \begin_layout Plain Layout
9209 \begin_inset Flex Code
9212 \begin_layout Plain Layout
9219 \begin_inset Flex Code
9222 \begin_layout Plain Layout
9232 El estilo de página predeterminado de la clase.
9233 Puede cambiarse en el diálogo
9234 \begin_inset Flex MenuItem
9237 \begin_layout Plain Layout
9238 Documento\SpecialChar \menuseparator
9247 \begin_layout Description
9248 \begin_inset Flex Code
9251 \begin_layout Plain Layout
9257 Establece el preámbulo LaTeX para el documento.
9258 Anotar que esto anulará completamente cualesquiera declaraciones
9259 \begin_inset Flex Code
9262 \begin_layout Plain Layout
9269 \begin_inset Flex Code
9272 \begin_layout Plain Layout
9280 \begin_inset Flex Code
9283 \begin_layout Plain Layout
9289 si solo quieres añadir material al preámbulo).
9291 \begin_inset Quotes fld
9295 \begin_inset Flex Code
9298 \begin_layout Plain Layout
9305 \begin_inset Quotes frd
9311 \begin_layout Description
9312 \begin_inset Flex Code
9315 \begin_layout Plain Layout
9322 \begin_inset Flex Code
9325 \begin_layout Plain Layout
9332 \begin_inset Flex Code
9335 \begin_layout Plain Layout
9344 \begin_inset Flex Code
9347 \begin_layout Plain Layout
9353 ] Si la clase ya proporciona, o no, la característica
9354 \begin_inset Flex Code
9357 \begin_layout Plain Layout
9364 Una característica es en general el nombre de un paquete (
9365 \begin_inset Flex Code
9368 \begin_layout Plain Layout
9375 \begin_inset Flex Code
9378 \begin_layout Plain Layout
9384 , \SpecialChar \ldots{}
9386 \begin_inset Flex Code
9389 \begin_layout Plain Layout
9396 \begin_inset Flex Code
9399 \begin_layout Plain Layout
9405 ,\SpecialChar \ldots{}
9409 \begin_inset space ~
9413 \begin_inset CommandInset ref
9415 reference "chap:List-of-functions"
9419 for the list of features.
9422 \begin_layout Description
9423 \begin_inset Flex Code
9426 \begin_layout Plain Layout
9433 \begin_inset Flex Code
9436 \begin_layout Plain Layout
9442 ] Indica que este formato proporciona la funcionalidad del módulo mencionado,
9443 que deberá especificarse con su nombre de archivo sin la extensión
9444 \begin_inset Flex Code
9447 \begin_layout Plain Layout
9454 Esto se usará típicamente si el formato incluye el módulo directamente,
9455 preferiblemente a usar la etiqueta
9456 \begin_inset Flex Code
9459 \begin_layout Plain Layout
9465 para indicar que debería utilizarse.
9466 Podría ser empleado en un módulo que provea una implementación alternativa
9467 de la misma funcionalidad.
9470 \begin_layout Description
9471 \begin_inset Flex Code
9474 \begin_layout Plain Layout
9481 \begin_inset Flex Code
9484 \begin_layout Plain Layout
9490 ] Si la clase requiere la característica
9491 \begin_inset Flex Code
9494 \begin_layout Plain Layout
9501 Múltiples características deben separarse con comas.
9502 Multiple features must be separated by commas.
9503 Anotar que solo se pueden demandar características soportadas.
9507 \begin_inset space ~
9511 \begin_inset CommandInset ref
9513 reference "chap:List-of-functions"
9517 for the list of features
9522 \begin_layout Description
9523 \begin_inset Flex Code
9526 \begin_layout Plain Layout
9533 \begin_inset Flex Code
9536 \begin_layout Plain Layout
9542 ] Una cadena que indica la anchura del margen derecho en la pantalla, por
9544 \begin_inset Quotes fld
9548 \begin_inset Flex Code
9551 \begin_layout Plain Layout
9558 \begin_inset Quotes frd
9564 \begin_layout Description
9565 \begin_inset Flex Code
9568 \begin_layout Plain Layout
9575 \begin_inset Flex Code
9578 \begin_layout Plain Layout
9584 ] Establece qué divisiones se numeran.
9585 Corresponde al contador LaTeX
9586 \begin_inset Flex Code
9589 \begin_layout Plain Layout
9598 \begin_layout Description
9599 \begin_inset Flex Code
9602 \begin_layout Plain Layout
9611 \begin_inset Flex Code
9614 \begin_layout Plain Layout
9623 \begin_inset space \thinspace{}
9627 \begin_inset Flex Code
9630 \begin_layout Plain Layout
9636 ] Si debe imprimirse en una o en ambas caras del papel.
9637 Se puede cambiar en el diálogo
9638 \begin_inset Flex MenuItem
9641 \begin_layout Plain Layout
9642 Documento\SpecialChar \menuseparator
9651 \begin_layout Description
9652 \begin_inset Flex Code
9655 \begin_layout Plain Layout
9662 \begin_inset Flex Code
9665 \begin_layout Plain Layout
9671 ] Esta secuencia define un nuevo estilo de párrafo.
9672 Si el estilo ya existe, en ese caso se redefinirán algunos de los parámetros.
9674 \begin_inset space ~
9678 \begin_inset CommandInset ref
9680 reference "sub:Estilos-de-párrafo"
9686 \begin_inset Quotes fld
9690 \begin_inset Flex Code
9693 \begin_layout Plain Layout
9700 \begin_inset Quotes frd
9706 \begin_layout Description
9707 \begin_inset Flex Code
9710 \begin_layout Plain Layout
9717 \begin_inset Flex Code
9720 \begin_layout Plain Layout
9726 ] El nombre del comando de entorno a usar con
9727 \begin_inset Flex Code
9730 \begin_layout Plain Layout
9739 \begin_layout Description
9740 \begin_inset Flex Code
9743 \begin_layout Plain Layout
9750 \begin_inset Flex Code
9753 \begin_layout Plain Layout
9762 \begin_inset Flex Code
9765 \begin_layout Plain Layout
9771 ] Indica qué clase de diseño se emplea para definir el título de un documento.
9773 \begin_inset Flex Code
9776 \begin_layout Plain Layout
9782 significa que la macro con nombre
9783 \begin_inset Flex Code
9786 \begin_layout Plain Layout
9792 se insertará después del último formato que tiene
9793 \begin_inset Quotes fld
9797 \begin_inset Flex Code
9800 \begin_layout Plain Layout
9802 \begin_inset space ~
9811 \begin_inset Quotes frd
9816 \begin_inset Flex Code
9819 \begin_layout Plain Layout
9825 corresponde al caso en que todos los formatos que tienen
9826 \begin_inset Quotes fld
9830 \begin_inset Flex Code
9833 \begin_layout Plain Layout
9835 \begin_inset space ~
9844 \begin_inset Quotes frd
9847 debería ser incluido en el entorno
9848 \begin_inset Flex Code
9851 \begin_layout Plain Layout
9860 \begin_layout Description
9861 \begin_inset Flex Code
9864 \begin_layout Plain Layout
9871 \begin_inset Flex Code
9874 \begin_layout Plain Layout
9880 ] Establece qué divisiones se incluyen en el índice general.
9881 Corresponde al contador LaTeX
9882 \begin_inset Flex Code
9885 \begin_layout Plain Layout
9894 \begin_layout Subsection
9896 \begin_inset Flex Code
9899 \begin_layout Plain Layout
9906 \begin_inset CommandInset label
9908 name "sub:ClassOptions"
9915 \begin_layout Standard
9917 \begin_inset Flex Code
9920 \begin_layout Plain Layout
9926 puede contener las siguientes entradas:
9929 \begin_layout Description
9930 \begin_inset Flex Code
9933 \begin_layout Plain Layout
9940 \begin_inset Flex Code
9943 \begin_layout Plain Layout
9949 ] La lista de los tamaños de carácter disponibles para la tipografía principal
9950 del documento, separados por
9951 \begin_inset Quotes fld
9955 \begin_inset Flex Code
9958 \begin_layout Plain Layout
9965 \begin_inset Quotes frd
9971 \begin_layout Description
9972 \begin_inset Flex Code
9975 \begin_layout Plain Layout
9981 Para establecer la línea DTD con las clases con salida basada en XML.
9983 \begin_inset space \thinspace{}
9987 \begin_inset Quotes fld
9990 -//OASIS//DTD DocBook V4.2//EN
9991 \begin_inset Quotes frd
9997 \begin_layout Description
9998 \begin_inset Flex Code
10001 \begin_layout Plain Layout
10008 \begin_inset Flex Code
10011 \begin_layout Plain Layout
10017 ] Algunas opciones de clase de documento, separadas por coma, que se añadirán
10018 a la parte opcional del comando
10019 \begin_inset Flex Code
10022 \begin_layout Plain Layout
10033 \begin_layout Description
10034 \begin_inset Flex Code
10037 \begin_layout Plain Layout
10044 \begin_inset Flex Code
10047 \begin_layout Plain Layout
10048 string="empty|plain|headings|fancy"
10053 ] Lista de los estilos de página disponibles, separados por
10054 \begin_inset Quotes fld
10058 \begin_inset Flex Code
10061 \begin_layout Plain Layout
10068 \begin_inset Quotes frd
10074 \begin_layout Standard
10076 \begin_inset Flex Code
10079 \begin_layout Plain Layout
10086 \begin_inset Quotes fld
10090 \begin_inset Flex Code
10093 \begin_layout Plain Layout
10100 \begin_inset Quotes frd
10106 \begin_layout Subsection
10108 \begin_inset CommandInset label
10110 name "sub:Estilos-de-párrafo"
10117 \begin_layout Standard
10118 Una descripción de estilo de párrafo tiene una aspecto como éste:
10122 \begin_layout Plain Layout
10123 Anotar que esto definirá un nuevo diseño o modificará uno existente.
10131 \begin_layout LyX-Code
10138 \begin_layout LyX-Code
10142 \begin_layout LyX-Code
10146 \begin_layout Standard
10147 donde se permiten los comandos siguientes:
10150 \begin_layout Description
10151 \begin_inset Flex Code
10154 \begin_layout Plain Layout
10161 \begin_inset Flex Code
10164 \begin_layout Plain Layout
10169 , left, right, center
10174 ] Alineación del párrafo.
10177 \begin_layout Description
10178 \begin_inset Flex Code
10181 \begin_layout Plain Layout
10188 \begin_inset Flex Code
10191 \begin_layout Plain Layout
10196 , left, right, center
10201 ] Una lista separada con comas de alineaciones permitidas.
10202 (Algunos estilos de LaTeX prohiben ciertos alineamientos, ya que no tendrían
10204 Por ejemplo una alineación a la derecha o al centro de una lista numerada
10208 \begin_layout Description
10209 \begin_inset Flex Code
10212 \begin_layout Plain Layout
10219 \begin_inset Flex Code
10222 \begin_layout Plain Layout
10230 Defines argument number <int> of a command\SpecialChar \slash{}
10231 environment associated with the
10233 This is useful for things like section headings, and only makes sense with
10235 Every (optional or required) argument of a command or environment -- except
10236 for the required argument that is associated with the content of the paragraph
10237 itself -- has a separate definition, where the number specifies the order
10239 The definition must end with
10240 \begin_inset Flex Code
10243 \begin_layout Plain Layout
10252 So a command with two optional arguments has:
10256 \begin_layout Quote
10262 \begin_layout Quote
10268 \begin_layout Quote
10274 \begin_layout Quote
10280 \begin_layout Quote
10286 \begin_layout Quote
10292 \begin_layout Standard
10296 \begin_inset Flex Code
10299 \begin_layout Plain Layout
10307 definition, the following specifications are possible:
10310 \begin_layout Itemize
10311 \begin_inset Flex Code
10314 \begin_layout Plain Layout
10321 \begin_inset Flex Code
10324 \begin_layout Plain Layout
10332 The string that will appear both in the menu (to insert this argument) and
10333 on the argument inset button (unless you also specify a separate
10334 \begin_inset Flex Code
10337 \begin_layout Plain Layout
10346 For the menu, you can define an accelerator by appending the respective
10347 character to the string, divided by
10348 \begin_inset Quotes fld
10352 \begin_inset Quotes frd
10356 \begin_inset space \thinspace{}
10360 \begin_inset space \space{}
10364 \begin_inset Quotes fld
10368 \begin_inset Flex Code
10371 \begin_layout Plain Layout
10380 \begin_inset Quotes frd
10386 \begin_layout Itemize
10387 \begin_inset Flex Code
10390 \begin_layout Plain Layout
10397 \begin_inset Flex Code
10400 \begin_layout Plain Layout
10408 A separate string for the menu.
10409 You can define an accelerator by appending the respective character to
10410 the string, divided by
10411 \begin_inset Quotes fld
10415 \begin_inset Quotes frd
10419 \begin_inset space \thinspace{}
10423 \begin_inset space \space{}
10427 \begin_inset Quotes fld
10431 \begin_inset Flex Code
10434 \begin_layout Plain Layout
10443 \begin_inset Quotes frd
10447 This specification is optional.
10448 If it is not given the
10449 \begin_inset Flex Code
10452 \begin_layout Plain Layout
10460 will be used instead for the menu.
10463 \begin_layout Itemize
10464 \begin_inset Flex Code
10467 \begin_layout Plain Layout
10474 \begin_inset Flex Code
10477 \begin_layout Plain Layout
10485 A longer explanatory text that appears in the tooltip when hovering over
10486 the argument inset.
10489 \begin_layout Itemize
10490 \begin_inset Flex Code
10493 \begin_layout Plain Layout
10500 \begin_inset Flex Code
10503 \begin_layout Plain Layout
10512 \begin_inset space \thinspace{}
10516 \begin_inset Flex Code
10519 \begin_layout Plain Layout
10527 Declare if this is a mandatory (1) or an optional (0) argument.
10528 Mandatory arguments will be output empty if not given, while optional arguments
10529 will not be output at all.
10530 By default, mandatory arguments are delimited by
10531 \begin_inset Flex Code
10534 \begin_layout Plain Layout
10542 , while optional arguments are delimited by
10543 \begin_inset Flex Code
10546 \begin_layout Plain Layout
10557 \begin_layout Itemize
10558 \begin_inset Flex Code
10561 \begin_layout Plain Layout
10568 \begin_inset Flex Code
10571 \begin_layout Plain Layout
10579 defines another argument (by its number) which this argument requires to
10580 be output if it is itself output.
10582 \begin_inset space \thinspace{}
10585 g., in LaTeX commands, optional arguments often require previous optional
10586 arguments to be output (at least empty), as in
10587 \begin_inset Flex Code
10590 \begin_layout Plain Layout
10595 command[][argument]{text}
10601 This can be achieved by the statement
10602 \begin_inset Flex Code
10605 \begin_layout Plain Layout
10616 \begin_inset Flex Code
10619 \begin_layout Plain Layout
10628 \begin_layout Itemize
10629 \begin_inset Flex Code
10632 \begin_layout Plain Layout
10639 \begin_inset Flex Code
10642 \begin_layout Plain Layout
10650 defines a custom left delimiter (instead of
10651 \begin_inset Flex Code
10654 \begin_layout Plain Layout
10663 \begin_inset Flex Code
10666 \begin_layout Plain Layout
10675 A line break in the output can be indicated by
10678 \begin_inset Flex Code
10681 \begin_layout Plain Layout
10690 \begin_layout Itemize
10691 \begin_inset Flex Code
10694 \begin_layout Plain Layout
10701 \begin_inset Flex Code
10704 \begin_layout Plain Layout
10712 defines a custom right delimiter (instead of
10713 \begin_inset Flex Code
10716 \begin_layout Plain Layout
10725 \begin_inset Flex Code
10728 \begin_layout Plain Layout
10737 A line break in the output can be indicated by
10740 \begin_inset Flex Code
10743 \begin_layout Plain Layout
10752 \begin_layout Itemize
10753 \begin_inset Flex Code
10756 \begin_layout Plain Layout
10763 \begin_inset Flex Code
10766 \begin_layout Plain Layout
10774 defines an argument that is inserted if and only if no user-specified arguments
10776 \begin_inset space \thinspace{}
10780 \begin_inset space \space{}
10783 if no argument inset has been inserted (note that also an empty argument
10784 inset omits the DefaultArg).
10785 Multiple arguments need to be separated by comma.
10788 \begin_layout Itemize
10789 \begin_inset Flex Code
10792 \begin_layout Plain Layout
10799 \begin_inset Flex Code
10802 \begin_layout Plain Layout
10810 defines an argument that is inserted in any case (alone or in addition to
10811 user-specified arguments).
10812 Multiple arguments need to be separated by comma.
10815 \begin_layout Itemize
10816 \begin_inset Flex Code
10819 \begin_layout Plain Layout
10827 The font used for the argument content, see
10830 \begin_inset CommandInset ref
10832 reference "sub:Tipografías"
10839 \begin_layout Itemize
10840 \begin_inset Flex Code
10843 \begin_layout Plain Layout
10851 The font used for the label; see
10854 \begin_inset CommandInset ref
10856 reference "sub:Tipografías"
10863 \begin_layout Itemize
10864 \begin_inset Flex Code
10867 \begin_layout Plain Layout
10874 \begin_inset Flex Code
10877 \begin_layout Plain Layout
10882 , Minimalistic, Conglomerate
10889 describes the rendering style used for the inset's frame and buttons.
10892 \begin_layout Itemize
10893 \begin_inset Flex Code
10896 \begin_layout Plain Layout
10903 \begin_inset Flex Code
10906 \begin_layout Plain Layout
10915 \begin_inset Flex Code
10918 \begin_layout Plain Layout
10926 , this argument is automatically inserted when the respective style is selected.
10927 Currently, only one argument per style\SpecialChar \slash{}
10928 layout can be automatically inserted.
10931 \begin_layout Standard
10934 By default, the text entered in the LyX workarea in the respective layout
10935 is the last (mandatory) argument of a command if the
10936 \begin_inset Flex Code
10939 \begin_layout Plain Layout
10948 \begin_inset Flex Code
10951 \begin_layout Plain Layout
10960 However, arguments with the prefix
10961 \begin_inset Flex Code
10964 \begin_layout Plain Layout
10972 are output after this workarea argument.
10973 Note that post-argument numbering restarts at 1, so the first argument
10974 following the workarea argument is
10975 \begin_inset Flex Code
10978 \begin_layout Plain Layout
10987 Post-arguments are ignored in any other
10988 \begin_inset Flex Code
10991 \begin_layout Plain Layout
11000 \begin_inset Flex Code
11003 \begin_layout Plain Layout
11014 \begin_layout Standard
11018 \begin_inset Flex Code
11021 \begin_layout Plain Layout
11032 \begin_inset Flex Code
11035 \begin_layout Plain Layout
11046 \begin_inset Flex Code
11049 \begin_layout Plain Layout
11057 followed by the number (e.
11058 \begin_inset space \thinspace{}
11062 \begin_inset space \space{}
11066 \begin_inset Flex Code
11069 \begin_layout Plain Layout
11081 \begin_layout Description
11082 \begin_inset Flex Code
11085 \begin_layout Plain Layout
11091 Esto sobrescribirá completamente cualquier anterior declaración
11092 \begin_inset Newline newline
11096 \begin_inset Flex Code
11099 \begin_layout Plain Layout
11107 \begin_inset Quotes eld
11111 \begin_inset Flex Code
11114 \begin_layout Plain Layout
11121 \begin_inset Quotes erd
11126 \begin_inset space ~
11130 \begin_inset CommandInset ref
11132 reference "sub:I18n"
11136 para detalles sobre su uso.
11139 \begin_layout Description
11140 \begin_inset Flex Code
11143 \begin_layout Plain Layout
11150 \begin_inset Flex Code
11153 \begin_layout Plain Layout
11163 \begin_layout Plain Layout
11164 Anotar que aquí un 'float' es un número real, como: 1.5.
11169 El espacio vertical con el que el último de una cadena de párrafos con
11170 este estilo se separa del siguiente párrafo.
11171 Si el párrafo siguiente tiene otro estilo, las separaciones no son simplemente
11172 añadidas sino que se pone la máxima.
11175 \begin_layout Description
11176 \begin_inset Flex Code
11179 \begin_layout Plain Layout
11186 \begin_inset Flex Code
11189 \begin_layout Plain Layout
11195 La categoría para este estilo.
11196 Se usa para agrupar estilos relacionados en el recuadro de estilo en la
11197 barra de herramientas.
11198 Se puede poner cualquier cadena en 'string' pero mejor usar categorías
11199 existentes con tus propios estilos.
11202 \begin_layout Description
11203 \begin_inset Flex Code
11206 \begin_layout Plain Layout
11212 Profundidad del comando XML.
11213 Usado solo con formatos tipo XML.
11216 \begin_layout Description
11217 \begin_inset Flex Code
11220 \begin_layout Plain Layout
11227 \begin_inset Flex Code
11230 \begin_layout Plain Layout
11236 Copia todas las características de un estilo existente en el actual.
11240 \begin_layout Description
11241 \begin_inset Flex Code
11244 \begin_layout Plain Layout
11251 \begin_inset Flex Code
11254 \begin_layout Plain Layout
11260 ] El nombre de un estilo cuyo preámbulo debería salir
11265 Esto permite asegurar un orden de los retazos de preámbulo si las definiciones
11266 de macros dependen de otra.
11270 \begin_layout Plain Layout
11271 Anotar que, excepto esta funcionalidad, no hay forma de asegurar ningún
11272 orden de los preámbulos.
11273 El orden que se ve en una versión dada de LyX puede cambiar sin previo
11274 aviso en versiones posteriores.
11282 \begin_layout Description
11283 \begin_inset Flex Code
11286 \begin_layout Plain Layout
11293 \begin_inset Flex Code
11296 \begin_layout Plain Layout
11301 , Box, Filled_Box, Static
11306 ] El tipo de etiqueta que se pone al final del párrafo (o secuencia de párrafos
11308 \begin_inset Flex Code
11311 \begin_layout Plain Layout
11318 \begin_inset Flex Code
11321 \begin_layout Plain Layout
11328 \begin_inset Flex Code
11331 \begin_layout Plain Layout
11338 \begin_inset Flex Code
11341 \begin_layout Plain Layout
11349 \begin_inset Flex Code
11352 \begin_layout Plain Layout
11359 \begin_inset Quotes fld
11363 \begin_inset Quotes frd
11367 \begin_inset Flex Code
11370 \begin_layout Plain Layout
11377 \begin_inset Flex Code
11380 \begin_layout Plain Layout
11381 \begin_inset space ~
11389 ) es un cuadrado blanco (resp.
11390 \begin_inset space ~
11393 negro) adecuado para marcas finales de demostraciones,
11394 \begin_inset Flex Code
11397 \begin_layout Plain Layout
11403 es una cadena de texto explícito.
11406 \begin_layout Description
11407 \begin_inset Flex Code
11410 \begin_layout Plain Layout
11417 \begin_inset Flex Code
11420 \begin_layout Plain Layout
11426 ] La cadena usada para una etiqueta con un
11427 \begin_inset Flex Code
11430 \begin_layout Plain Layout
11437 \begin_inset Flex Code
11440 \begin_layout Plain Layout
11450 \begin_layout Description
11454 \begin_layout Plain Layout
11459 No estoy seguro de que estas configuraciones (Fill_Bottom, Fill_Top) tengan
11460 mucho uso, y probablemente se quitarán en próximas versiones.
11466 \begin_inset Note Note
11469 \begin_layout Plain Layout
11471 \begin_inset Quotes fld
11474 Espacio vertical encima
11475 \begin_inset Quotes frd
11479 \begin_inset Quotes fld
11482 Espacio vertical abajo
11483 \begin_inset Quotes erd
11486 en Editar\SpecialChar \menuseparator
11487 Configuración de párrafo, esto parece obsoleto, como dice Jean-Marc
11498 \begin_layout Description
11499 \begin_inset Flex Code
11502 \begin_layout Plain Layout
11508 La tipografía usada para el cuerpo del texto
11514 \begin_inset space ~
11518 \begin_inset CommandInset ref
11520 reference "sub:Tipografías"
11525 Anotar que al definir esta tipografía se define automáticamente la de la
11527 \begin_inset Flex Code
11530 \begin_layout Plain Layout
11537 Así que debería definirse primero ésta si se quiere definir también
11538 \begin_inset Flex Code
11541 \begin_layout Plain Layout
11550 \begin_layout Description
11551 \begin_inset Flex Code
11554 \begin_layout Plain Layout
11561 \begin_inset Flex Code
11564 \begin_layout Plain Layout
11572 Used for backporting new styles to stable LyX versions.
11573 The first stable version that supports this tag is LyX 2.1.0.
11574 The argment is a number which may either be 0, -1 or any value greater
11577 \begin_inset Flex Code
11580 \begin_layout Plain Layout
11588 flag of a style is greater than zero, it will always be written to the
11590 If a .lyx file is read, the style definitions from the document header are
11591 added to the document class.
11592 Therefore even older LyX versions can handle the style.
11594 \begin_inset Flex Code
11597 \begin_layout Plain Layout
11605 is a version number: If the style is read, and the version number is less
11606 than the version number of the already existing style in the document class,
11607 the new style is ignored.
11608 If the version number is greater, the new style replaces the existing style.
11609 A value of -1 means an infinite version number, i.
11610 \begin_inset space \thinspace{}
11614 \begin_inset space \space{}
11617 the style is always used.
11620 \begin_layout Description
11621 \begin_inset Flex Code
11624 \begin_layout Plain Layout
11633 \begin_inset Flex Code
11636 \begin_layout Plain Layout
11645 \begin_inset space \thinspace{}
11649 \begin_inset Flex Code
11652 \begin_layout Plain Layout
11658 ] Usualmente LyX no permite insertar más de un espacio entre palabras, puesto
11659 que un espacio se considera como la separación entre dos palabras, no un
11660 carácter o símbolo por sí mismo.
11661 Esto es una buena cosa pero a veces puede ser molesta, por ejemplo, para
11662 escribir código de programas o de LaTeX puro.
11663 Por esta razón se puede habilitar
11664 \begin_inset Flex Code
11667 \begin_layout Plain Layout
11674 Anotar que LyX creará espacios protegidos para los espacios adicionales
11675 en modos que no sean LaTeX.
11679 \begin_layout Description
11680 \begin_inset Flex Code
11683 \begin_layout Plain Layout
11689 Para la salida XHTML.
11691 \begin_inset CommandInset ref
11693 reference "sub:Estilos-de-párrafo-XHTML"
11700 \begin_layout Description
11701 \begin_inset Flex Code
11704 \begin_layout Plain Layout
11710 [[FIXME]] (Usado solo con formatos tipo XML.)
11713 \begin_layout Description
11714 \begin_inset Flex Code
11717 \begin_layout Plain Layout
11726 \begin_inset Flex Code
11729 \begin_layout Plain Layout
11740 \begin_inset space \thinspace{}
11744 \begin_inset Flex Code
11747 \begin_layout Plain Layout
11754 \begin_inset Flex Code
11757 \begin_layout Plain Layout
11763 , marca el estilo para ser incluido en el preámbulo del documento en lugar
11764 de en el cuerpo del documento.
11765 Útil para clases de documento que piden informaciones tales como título
11766 y autor en el preámbulo.
11767 Esto solo funciona para estilos para los que
11768 \begin_inset Flex Code
11771 \begin_layout Plain Layout
11778 \begin_inset Flex Code
11781 \begin_layout Plain Layout
11788 \begin_inset Flex Code
11791 \begin_layout Plain Layout
11800 \begin_layout Description
11801 \begin_inset Flex Code
11804 \begin_layout Plain Layout
11813 \begin_inset Flex Code
11816 \begin_layout Plain Layout
11827 \begin_inset space \thinspace{}
11831 \begin_inset Flex Code
11834 \begin_layout Plain Layout
11841 \begin_inset Flex Code
11844 \begin_layout Plain Layout
11850 , marca el estilo como parte de un bloque de título (véanse también las
11852 \begin_inset Flex Code
11855 \begin_layout Plain Layout
11862 \begin_inset Flex Code
11865 \begin_layout Plain Layout
11874 \begin_layout Description
11875 \begin_inset Flex Code
11878 \begin_layout Plain Layout
11885 \begin_inset Flex Code
11888 \begin_layout Plain Layout
11896 The LaTeX command sequence declaring an item in a list.
11897 The command is to be defined without the preceding backslash (the default
11901 \begin_inset Quotes eld
11905 \begin_inset Quotes erd
11913 \begin_inset Flex Code
11916 \begin_layout Plain Layout
11926 in the LaTeX output).
11929 \begin_layout Description
11930 \begin_inset Flex Code
11933 \begin_layout Plain Layout
11940 \begin_inset Flex Code
11943 \begin_layout Plain Layout
11949 ] Esto proporciona espacio extra entre párrafos que tienen el mismo formato.
11950 Si se ponen otros formatos en un entorno, cada uno es separado con el comando
11952 \begin_inset Flex Code
11955 \begin_layout Plain Layout
11962 Pero el conjunto de los ítems del entorno son separados adicionalmente
11964 \begin_inset Flex Code
11967 \begin_layout Plain Layout
11974 Anotar que esto es un
11979 \begin_layout Description
11980 \begin_inset Flex Code
11983 \begin_layout Plain Layout
11989 [[FIXME]] (Usado solo con formatos tipo XML.)
11992 \begin_layout Description
11993 \begin_inset Flex Code
11996 \begin_layout Plain Layout
12005 \begin_inset Flex Code
12008 \begin_layout Plain Layout
12019 \begin_inset space \thinspace{}
12023 \begin_inset Flex Code
12026 \begin_layout Plain Layout
12032 ] Habitualmente, LyX no permite dejar un párrafo vacío, porque llevaría
12033 a una salida de LaTeX vacía.
12034 Sin embargo, hay algunos casos donde podría ser útil: en una plantilla
12035 de carta, los campos requeridos pueden proporcionarse vacíos, así el usuario
12036 no los olvida; en algunos casos especiales, se puede usar un estilo que
12037 no contiene texto real como una especie de salto.
12040 \begin_layout Description
12041 \begin_inset Flex Code
12044 \begin_layout Plain Layout
12051 \begin_inset Flex Code
12054 \begin_layout Plain Layout
12060 ] El espacio vertical entre la etiqueta y el cuerpo del texto.
12061 Solo se usa para etiquetas que están sobre el cuerpo del texto (
12062 \begin_inset Flex Code
12065 \begin_layout Plain Layout
12072 \begin_inset Flex Code
12075 \begin_layout Plain Layout
12076 Centered_Top_Environment
12084 \begin_layout Description
12085 \begin_inset Flex Code
12088 \begin_layout Plain Layout
12099 \begin_inset Flex Code
12102 \begin_layout Plain Layout
12108 ] El nombre del contador para numeración automática.
12111 In order to have the counter appear with your label, you will need to reference
12113 \begin_inset Flex Code
12116 \begin_layout Plain Layout
12126 This will work with
12127 \begin_inset Flex Code
12130 \begin_layout Plain Layout
12139 \begin_inset Flex Code
12142 \begin_layout Plain Layout
12151 \begin_inset Flex Code
12154 \begin_layout Plain Layout
12163 \begin_inset Flex Code
12166 \begin_layout Plain Layout
12177 \begin_inset Newline newline
12185 \begin_inset Flex Code
12188 \begin_layout Plain Layout
12195 \begin_inset Flex Code
12198 \begin_layout Plain Layout
12204 , aunque este caso es un poco complicado.
12205 Supongamos que declaras
12206 \begin_inset Quotes eld
12210 \begin_inset Flex Code
12213 \begin_layout Plain Layout
12214 LabelCounter myenum
12220 \begin_inset Quotes erd
12224 Entonces, los contadores reales usados son
12225 \begin_inset Flex Code
12228 \begin_layout Plain Layout
12235 \begin_inset Flex Code
12238 \begin_layout Plain Layout
12245 \begin_inset Flex Code
12248 \begin_layout Plain Layout
12255 \begin_inset Flex Code
12258 \begin_layout Plain Layout
12265 Estos contadores deben declararse todos por separado.
12266 \begin_inset Newline newline
12270 \begin_inset CommandInset ref
12272 reference "sub:Contadores"
12276 para detalles sobre contadores
12277 \begin_inset Flex Code
12280 \begin_layout Plain Layout
12286 La tipografía usada para la etiqueta.
12288 \begin_inset space ~
12292 \begin_inset CommandInset ref
12294 reference "sub:Tipografías"
12301 \begin_layout Description
12302 \begin_inset Flex Code
12305 \begin_layout Plain Layout
12312 \begin_inset Flex Code
12315 \begin_layout Plain Layout
12321 ] Texto que indica cuánto se debe sangrar una etiqueta.
12324 \begin_layout Description
12325 \begin_inset Flex Code
12328 \begin_layout Plain Layout
12335 \begin_inset Flex Code
12338 \begin_layout Plain Layout
12344 ] Texto que indica el valor de espacio horizontal entre la etiqueta y el
12346 Solo se usa para etiquetas que no están sobre el cuerpo del texto.
12349 \begin_layout Description
12350 \begin_inset Flex Code
12353 \begin_layout Plain Layout
12360 \begin_inset Flex Code
12363 \begin_layout Plain Layout
12369 ] La cadena usada para una etiqueta del
12370 \begin_inset Flex Code
12373 \begin_layout Plain Layout
12380 \begin_inset Flex Code
12383 \begin_layout Plain Layout
12391 \begin_inset Flex Code
12394 \begin_layout Plain Layout
12400 está establecido, esta cadena puede contener los comandos especiales de
12401 formato descritos en la sección
12402 \begin_inset space ~
12406 \begin_inset CommandInset ref
12408 reference "sub:Contadores"
12415 \begin_layout Description
12416 \begin_inset Flex Code
12419 \begin_layout Plain Layout
12420 LabelStringAppendix
12426 \begin_inset Flex Code
12429 \begin_layout Plain Layout
12435 ] Esta se usa en el apéndice en vez de
12436 \begin_inset Flex Code
12439 \begin_layout Plain Layout
12446 Anotar que toda declaración de
12447 \begin_inset Flex Code
12450 \begin_layout Plain Layout
12456 reconfigura también
12457 \begin_inset Newline newline
12461 \begin_inset Flex Code
12464 \begin_layout Plain Layout
12465 LabelStringAppendix
12473 \begin_layout Description
12474 \begin_inset Flex Code
12477 \begin_layout Plain Layout
12483 [FIXME] (Usado solo con formatos tipo XML.)
12486 \begin_layout Description
12487 \begin_inset Flex Code
12490 \begin_layout Plain Layout
12501 \begin_inset Flex Code
12504 \begin_layout Plain Layout
12509 , Manual, Static, Above,
12510 \begin_inset Newline newline
12513 Centered, Sensitive, Enumerate,
12514 \begin_inset Newline newline
12517 Itemize, Bibliography
12526 \begin_layout Description
12527 \begin_inset Flex Code
12530 \begin_layout Plain Layout
12536 significa que la etiqueta es la primera palabra (hasta elprimer espacio
12538 Usa espacios protegidos si quieres más de una palabra como etiqueta.
12542 \begin_layout Description
12543 \begin_inset Flex Code
12546 \begin_layout Plain Layout
12552 significa que la etiqueta es simplemente cualquier
12553 \begin_inset Flex Code
12556 \begin_layout Plain Layout
12562 declarado como tal.
12565 This will be displayed
12566 \begin_inset Quotes fld
12570 \begin_inset Quotes frd
12573 , at the beginning of the paragraph.
12575 \begin_inset Flex Code
12578 \begin_layout Plain Layout
12587 \begin_inset Flex Code
12590 \begin_layout Plain Layout
12598 , then it will be displayed only in the first paragraph of any sequence
12599 of paragraphs with the same
12602 \begin_inset Flex Code
12605 \begin_layout Plain Layout
12614 \begin_layout Description
12615 \begin_inset Flex Code
12618 \begin_layout Plain Layout
12625 \begin_inset space ~
12629 \begin_inset space ~
12633 \begin_inset Flex Code
12636 \begin_layout Plain Layout
12642 son casos especiales de
12643 \begin_inset Flex Code
12646 \begin_layout Plain Layout
12653 La etiqueta se imprimirá encima del párrafo,
12655 either at the beginning of the line or centered
12660 \begin_layout Description
12661 \begin_inset Flex Code
12664 \begin_layout Plain Layout
12670 es un caso especial para las etiquetas de las leyendas de
12671 \begin_inset Quotes fld
12675 \begin_inset Quotes frd
12679 \begin_inset Quotes fld
12683 \begin_inset Quotes frd
12688 \begin_inset Flex Code
12691 \begin_layout Plain Layout
12697 quiere decir que la cadena (en código) de la etiqueta depende de la clase
12698 de flotante: Está codificado para ser `FloatType N', donde N es el valor
12699 del contador asociado al flotante.
12702 For the case that a caption is inserted outside of a float the
12703 \begin_inset Flex Code
12706 \begin_layout Plain Layout
12715 \begin_inset Quotes fld
12721 \begin_inset Quotes frd
12727 \begin_layout Description
12728 \begin_inset Flex Code
12731 \begin_layout Plain Layout
12737 produce los tipos habituales de etiquetas de enumeración.
12738 Por ahora está codificado para usar números arábigos, minúsculas, números
12739 romanos en minúsculas y mayúsculas, respectivamente, para los cuatro niveles
12740 de profundidad posibles.
12743 \begin_layout Description
12744 \begin_inset Flex Code
12747 \begin_layout Plain Layout
12753 produce varias marcas para los distintos niveles.
12754 También está codificado.
12757 \begin_layout Description
12758 \begin_inset Flex Code
12761 \begin_layout Plain Layout
12767 solo debería emplearse con
12768 \begin_inset Flex Code
12771 \begin_layout Plain Layout
12772 LatexType BibEnvironment
12781 \begin_layout Description
12782 \begin_inset Flex Code
12785 \begin_layout Plain Layout
12791 Esto sobrescribirá completamente cualquier declaración anterior de
12792 \begin_inset Flex Code
12795 \begin_layout Plain Layout
12803 \begin_inset Quotes eld
12807 \begin_inset Flex Code
12810 \begin_layout Plain Layout
12817 \begin_inset Quotes erd
12822 \begin_inset CommandInset ref
12824 reference "sub:I18n"
12828 para detallessobre su uso.
12831 \begin_layout Description
12832 \begin_inset Flex Code
12835 \begin_layout Plain Layout
12842 \begin_inset Flex Code
12845 \begin_layout Plain Layout
12851 ] El nombre correspondiente en LaTeX, ya sea de un comando o de un entorno.
12854 \begin_layout Description
12855 \begin_inset Flex Code
12858 \begin_layout Plain Layout
12865 \begin_inset Flex Code
12868 \begin_layout Plain Layout
12874 ] Un parámetro opcional para el correspondiente
12875 \begin_inset Flex Code
12878 \begin_layout Plain Layout
12885 Este parámetro no se puede cambiar desde dentro de LyX
12888 \begin_inset Flex Code
12891 \begin_layout Plain Layout
12899 for customizable parameters).
12900 This will be output as is after all LaTeX
12903 \begin_inset Flex Code
12906 \begin_layout Plain Layout
12915 \begin_layout Description
12916 \begin_inset Flex Code
12919 \begin_layout Plain Layout
12926 \begin_inset Flex Code
12929 \begin_layout Plain Layout
12934 , Command, Environment, Item_Environment,
12935 \begin_inset Newline newline
12938 List_Environment, Bib_Environment
12943 ] Cómo debería traducirse el estilo a LaTeX.
12947 \begin_layout Plain Layout
12948 \begin_inset Flex Code
12951 \begin_layout Plain Layout
12957 es un poco engañoso porque estas reglas se aplican también a clases SGML.
12958 Consulta los archivos de clases SGML
12961 \begin_inset Flex Code
12964 \begin_layout Plain Layout
12974 para ejemplos concretos.
12983 \begin_layout Description
12984 \begin_inset Flex Code
12987 \begin_layout Plain Layout
12993 no significa nada especial.
12996 \begin_layout Description
12997 \begin_inset Flex Code
13000 \begin_layout Plain Layout
13007 \begin_inset Flex Code
13010 \begin_layout Plain Layout
13017 {\SpecialChar \ldots{}
13026 \begin_layout Description
13027 \begin_inset Flex Code
13030 \begin_layout Plain Layout
13037 \begin_inset Flex Code
13040 \begin_layout Plain Layout
13047 }\SpecialChar \ldots{}
13062 \begin_layout Description
13063 \begin_inset Flex Code
13066 \begin_layout Plain Layout
13073 \begin_inset Flex Code
13076 \begin_layout Plain Layout
13083 \begin_inset Flex Code
13086 \begin_layout Plain Layout
13094 se genera para cada párrafo de este entorno.
13097 \begin_layout Description
13098 \begin_inset Flex Code
13101 \begin_layout Plain Layout
13108 \begin_inset Flex Code
13111 \begin_layout Plain Layout
13118 \begin_inset Newline newline
13122 \begin_inset Flex Code
13125 \begin_layout Plain Layout
13131 se pasa como un argumento al entorno.
13132 \begin_inset Newline newline
13136 \begin_inset Flex Code
13139 \begin_layout Plain Layout
13145 puede definirse en el diálogo
13146 \begin_inset Flex MenuItem
13149 \begin_layout Plain Layout
13150 Editar\SpecialChar \menuseparator
13152 \begin_inset space ~
13156 \begin_inset space ~
13167 \begin_layout Description
13170 \begin_inset Flex Code
13173 \begin_layout Plain Layout
13182 \begin_inset Flex Code
13185 \begin_layout Plain Layout
13193 but adds additionally the necessary mandatory argument (the longest label)
13194 to the begin statement of the bibliography environment:
13195 \begin_inset Newline newline
13199 \begin_inset Flex Code
13202 \begin_layout Plain Layout
13207 begin{thebibliography}{99}
13212 It is therefore only useful for bibliography environments.
13213 The default longest label
13214 \begin_inset Quotes eld
13218 \begin_inset Quotes erd
13221 can be changed by the user in the paragraph settings of a bibliography
13225 \begin_layout Standard
13226 Poniendo juntas las últimas cosas, la salida LaTeX será una de estas:
13229 \begin_layout LyX-Code
13232 LatexName[LatexParam]{\SpecialChar \ldots{}
13236 \begin_layout Standard
13240 \begin_layout LyX-Code
13243 begin{LatexName}[LatexParam] \SpecialChar \ldots{}
13249 \begin_layout Standard
13250 dependiendo del tipo de LaTeX.
13254 \begin_layout Description
13255 \begin_inset Flex Code
13258 \begin_layout Plain Layout
13265 \begin_inset Flex Code
13268 \begin_layout Plain Layout
13276 A string that is put at the beginning of the style content.
13277 A line break in the output can be indicated by
13280 \begin_inset Flex Code
13283 \begin_layout Plain Layout
13292 \begin_layout Description
13293 \begin_inset Flex Code
13296 \begin_layout Plain Layout
13303 \begin_inset Flex Code
13306 \begin_layout Plain Layout
13312 ] Si pones estilos en entornos, los
13313 \begin_inset Flex Code
13316 \begin_layout Plain Layout
13322 no son simplemente añadidos, sino aumentados en un factor
13323 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
13327 Anotar que este parámetro se usa también cuando
13328 \begin_inset Flex Code
13331 \begin_layout Plain Layout
13338 \begin_inset Flex Code
13341 \begin_layout Plain Layout
13348 \begin_inset Flex Code
13351 \begin_layout Plain Layout
13358 En ese caso se añade al margen manual o dinámico.
13359 \begin_inset Newline newline
13363 \begin_inset Quotes fld
13367 \begin_inset Flex Code
13370 \begin_layout Plain Layout
13377 \begin_inset Quotes frd
13380 significa que el párrafo se sangra con la anchura de
13381 \begin_inset Quotes fld
13385 \begin_inset Flex Code
13388 \begin_layout Plain Layout
13395 \begin_inset Quotes frd
13398 en la tipografía normal.
13399 Se puede obtener una anchura negativa anteponiendo
13400 \begin_inset Quotes fld
13404 \begin_inset Flex Code
13407 \begin_layout Plain Layout
13414 \begin_inset Quotes frd
13418 Se eligió este método para que el aspecto sea el mismo con cada una de
13419 las tipografías de pantalla usadas.
13422 \begin_layout Description
13423 \begin_inset Flex Code
13426 \begin_layout Plain Layout
13433 \begin_inset Flex Code
13436 \begin_layout Plain Layout
13441 , Manual, Dynamic, First_Dynamic, Right_Address_Box
13447 \begin_inset Newline newline
13450 El tipo de margen que el estilo tiene en el lado izquierdo.
13454 \begin_layout Description
13455 \begin_inset Flex Code
13458 \begin_layout Plain Layout
13464 significa un margen fijo.
13467 \begin_layout Description
13468 \begin_inset Flex Code
13471 \begin_layout Plain Layout
13477 significa que el margen izquierdo depende de la cadena introducida en el
13479 \begin_inset Flex MenuItem
13482 \begin_layout Plain Layout
13483 Editar\SpecialChar \menuseparator
13484 Configuración del párrafo\SpecialChar \ldots{}
13491 Esto se utiliza para componer bonitas listas sin tabuladores.
13494 \begin_layout Description
13495 \begin_inset Flex Code
13498 \begin_layout Plain Layout
13504 significa que el margen depende del tamaño de la etiqueta.
13505 Esto se usa para las cabeceras automáticas de las listas numeradas.
13506 Es obvio que la cabecera
13507 \begin_inset Quotes fld
13510 5.4.3.2.1 Cabecera muy larga
13511 \begin_inset Quotes frd
13514 debe tener un margen izquierdo más amplio (tan ancho como
13515 \begin_inset Quotes fld
13519 \begin_inset Quotes frd
13522 más el espacio) que
13523 \begin_inset Quotes fld
13526 3.2 Cabecera muy larga
13527 \begin_inset Quotes frd
13531 \begin_inset Quotes fld
13534 procesadores de texto
13535 \begin_inset Quotes frd
13538 corrientes no sean capaces de hacer esto.
13541 \begin_layout Description
13542 \begin_inset Flex Code
13545 \begin_layout Plain Layout
13551 es similar, pero solo la primera fila del párrafo es dinámica, mientras
13552 que las demás son estáticas; esto se emplea, por ejemplo, para descripciones.
13555 \begin_layout Description
13556 \begin_inset Flex Code
13559 \begin_layout Plain Layout
13565 significa que el margen se elige de manera que la fila más larga de este
13566 párrafo se adapte al margen derecho.
13567 Esto se emplea para componer una dirección en el lado derecho de la página.
13572 \begin_layout Description
13573 \begin_inset Flex Code
13576 \begin_layout Plain Layout
13583 \begin_inset Flex Code
13586 \begin_layout Plain Layout
13595 \begin_inset space \thinspace{}
13599 \begin_inset Flex Code
13602 \begin_layout Plain Layout
13608 ] Si los comandos frágiles en este estilo deberían ser protegidos,
13609 \begin_inset Flex Code
13612 \begin_layout Plain Layout
13625 si este comando debería él mismo ser protegido.)
13628 \begin_layout Description
13629 \begin_inset Flex Code
13632 \begin_layout Plain Layout
13639 \begin_inset Flex Code
13642 \begin_layout Plain Layout
13649 \begin_inset space \thinspace{}
13653 \begin_inset Flex Code
13656 \begin_layout Plain Layout
13664 ] Si las líneas nuevas se transforman en líneas nuevas LaTeX (
13665 \begin_inset Flex Code
13668 \begin_layout Plain Layout
13679 La transformación puede desactivarse para permitir una edición más confortable
13683 \begin_layout Description
13684 \begin_inset Flex Code
13687 \begin_layout Plain Layout
13694 \begin_inset Flex Code
13697 \begin_layout Plain Layout
13706 \begin_inset space \thinspace{}
13710 \begin_inset Flex Code
13713 \begin_layout Plain Layout
13719 ] Si se permite sangrar la primera fila del párrafo siguiente.
13721 \begin_inset Flex Code
13724 \begin_layout Plain Layout
13730 significa que no se permite hacerlo;
13731 \begin_inset Flex Code
13734 \begin_layout Plain Layout
13740 significa que puede hacerse si se desea.
13743 \begin_layout Description
13744 \begin_inset Flex Code
13747 \begin_layout Plain Layout
13754 \begin_inset Flex Code
13757 \begin_layout Plain Layout
13763 ] Nombre de un estilo que ha reemplazado este estilo.
13764 Esto se emplea para renombrar un estilo, mientras que se mantiene compatibilida
13768 \begin_layout Description
13769 \begin_inset Flex Code
13772 \begin_layout Plain Layout
13779 \begin_inset Flex Code
13782 \begin_layout Plain Layout
13791 \begin_inset space \thinspace{}
13795 \begin_inset Flex Code
13798 \begin_layout Plain Layout
13804 ] Indica que los párrafos no serán separados por una línea vacía en la salida
13805 LaTeX, solo por un salto de línea; junto con
13806 \begin_inset Flex Code
13809 \begin_layout Plain Layout
13815 , esto permite emular un editor de texto simple (como un recuadro ERT).
13818 \begin_layout Description
13819 \begin_inset Flex Code
13822 \begin_layout Plain Layout
13829 \begin_inset Flex Code
13832 \begin_layout Plain Layout
13838 ] El sangrado de la primera línea de un párrafo.
13840 \begin_inset Flex Code
13843 \begin_layout Plain Layout
13849 estará fijado para un determinado estilo.
13850 La excepción es el estilo
13851 \begin_inset Flex Code
13854 \begin_layout Plain Layout
13860 , puesto que la sangría de un párrafo de estilo
13861 \begin_inset Flex Code
13864 \begin_layout Plain Layout
13870 puede prohibirse con
13871 \begin_inset Flex Code
13874 \begin_layout Plain Layout
13881 Además, los párrafos de estilo
13882 \begin_inset Flex Code
13885 \begin_layout Plain Layout
13891 dentro de entornos usan la sangría
13892 \begin_inset Flex Code
13895 \begin_layout Plain Layout
13901 del entorno, no su propio valor.
13902 Por ejemplo, los párrafos
13903 \begin_inset Flex Code
13906 \begin_layout Plain Layout
13912 en una enumeración no se sangran.
13915 \begin_layout Description
13916 \begin_inset Flex Code
13919 \begin_layout Plain Layout
13926 \begin_inset Flex Code
13929 \begin_layout Plain Layout
13935 ] El espacio vertical entre dos párrafos de este estilo.
13938 \begin_layout Description
13939 \begin_inset Flex Code
13942 \begin_layout Plain Layout
13949 \begin_inset Flex Code
13952 \begin_layout Plain Layout
13958 ] LyX permite al usuario elegir entre
13959 \begin_inset Quotes fld
13963 \begin_inset Quotes frd
13967 \begin_inset Quotes fld
13971 \begin_inset Quotes frd
13976 separate paragraphs
13980 \begin_inset Quotes fld
13984 \begin_inset Quotes frd
13987 , este valor es completamente ignorado.
13989 \begin_inset Quotes fld
13993 \begin_inset Quotes frd
13996 , el sangrado de un estilo tipo
13997 \begin_inset Quotes fld
14001 \begin_inset Quotes frd
14004 de LaTeX se ignora y todos los párrafos son separados con este argumento
14006 \begin_inset Quotes fld
14010 \begin_inset Quotes frd
14014 El espacio vertical se calcula con
14015 \begin_inset Flex Code
14018 \begin_layout Plain Layout
14020 \begin_inset space ~
14029 \begin_inset Flex Code
14032 \begin_layout Plain Layout
14038 es la altura de una fila con la tipografía normal.
14039 De esta forma, el aspecto queda igual con diferentes tipografías de pantalla.
14042 \begin_layout Description
14043 \begin_inset Flex Code
14046 \begin_layout Plain Layout
14055 \begin_inset Flex Code
14058 \begin_layout Plain Layout
14069 \begin_inset space \thinspace{}
14073 \begin_inset Flex Code
14076 \begin_layout Plain Layout
14082 ] Si el contenido de este párrafo debería aparecer en la salida en forma
14083 cruda, es decir sin las traducciones especiales que LaTeX necesitaría.
14086 \begin_layout Description
14087 \begin_inset Flex Code
14090 \begin_layout Plain Layout
14096 Información a incluir en el preámbulo LaTeX cuando se usa este estilo.
14097 Utilizado para definir macros, paquetes a cargar, etc., requeridos por este
14098 estilo en particular.
14100 \begin_inset Quotes fld
14104 \begin_inset Flex Code
14107 \begin_layout Plain Layout
14114 \begin_inset Quotes frd
14120 \begin_layout Description
14121 \begin_inset Flex Code
14124 \begin_layout Plain Layout
14131 \begin_inset Flex Code
14134 \begin_layout Plain Layout
14140 ] El prefijo a usar cuando se crean etiquetas que se refieren a párrafos
14142 Esto permite el uso de referencias con formato.
14145 \begin_layout Description
14146 \begin_inset Flex Code
14149 \begin_layout Plain Layout
14158 \begin_inset Flex Code
14161 \begin_layout Plain Layout
14169 Si el estilo requiere la característica
14170 \begin_inset Flex Code
14173 \begin_layout Plain Layout
14185 \begin_inset space ~
14189 \begin_inset CommandInset ref
14191 reference "sub:Parámetros-generales-clases"
14195 ) la descripción de
14196 \begin_inset Flex Code
14199 \begin_layout Plain Layout
14205 para información sobre 'características'.
14209 \begin_layout Description
14210 \begin_inset Flex Code
14213 \begin_layout Plain Layout
14220 \begin_inset Flex Code
14223 \begin_layout Plain Layout
14232 \begin_inset Flex Code
14235 \begin_layout Plain Layout
14243 Resets the LaTeX arguments of this style (as defined via the
14244 \begin_inset Flex Code
14247 \begin_layout Plain Layout
14256 This is useful if you have copied a style via
14257 \begin_inset Flex Code
14260 \begin_layout Plain Layout
14268 , but you do not want to inherit its (required and optional) arguments.
14271 \begin_layout Description
14272 \begin_inset Flex Code
14275 \begin_layout Plain Layout
14282 \begin_inset Flex Code
14285 \begin_layout Plain Layout
14293 A string that is put at the end of the layout content.
14294 A line break in the output can be indicated by
14297 \begin_inset Flex Code
14300 \begin_layout Plain Layout
14309 \begin_layout Description
14310 \begin_inset Flex Code
14313 \begin_layout Plain Layout
14320 \begin_inset Flex Code
14323 \begin_layout Plain Layout
14330 \begin_inset Flex Code
14333 \begin_layout Plain Layout
14342 \begin_layout Description
14343 \begin_inset Flex Code
14346 \begin_layout Plain Layout
14353 \begin_inset Flex Code
14356 \begin_layout Plain Layout
14365 \begin_inset Flex Code
14368 \begin_layout Plain Layout
14375 \begin_inset Flex Code
14378 \begin_layout Plain Layout
14385 \begin_inset Flex Code
14388 \begin_layout Plain Layout
14390 \begin_inset space ~
14398 ] Esto define cuál debería ser el espacio predefinido en el estilo.
14400 \begin_inset Flex Code
14403 \begin_layout Plain Layout
14410 \begin_inset Flex Code
14413 \begin_layout Plain Layout
14420 \begin_inset Flex Code
14423 \begin_layout Plain Layout
14429 corresponden respectivamente a un multiplicador de 1, 1.25 y 1.667.
14430 Si se especifica el argumento
14431 \begin_inset Flex Code
14434 \begin_layout Plain Layout
14440 , entonces se debería proporcionar además un argumento numérico que será
14441 el valor real del multiplicador.
14442 Anotar que, al contrario que otros parámetros,
14443 \begin_inset Flex Code
14446 \begin_layout Plain Layout
14452 implica la generación de código LaTeX específico, usando el paquete LaTeX
14454 \begin_inset Flex Code
14457 \begin_layout Plain Layout
14466 \begin_layout Description
14467 \begin_inset Flex Code
14470 \begin_layout Plain Layout
14477 \begin_inset Flex Code
14480 \begin_layout Plain Layout
14489 \begin_inset space \thinspace{}
14495 \begin_inset Flex Code
14498 \begin_layout Plain Layout
14506 ] Corrección ortográfica de párrafos de este estilo.
14510 \begin_layout Description
14511 \begin_inset Flex Code
14514 \begin_layout Plain Layout
14520 La tipografía para el cuerpo del texto.
14522 \begin_inset CommandInset ref
14524 reference "sub:Tipografías"
14531 \begin_layout Description
14532 \begin_inset Flex Code
14535 \begin_layout Plain Layout
14542 \begin_inset Flex Code
14545 \begin_layout Plain Layout
14551 ] El nivel del estilo en el índice general.
14552 Esto se usa para la numeración automática de los encabezados de sección.
14555 \begin_layout Description
14556 \begin_inset Flex Code
14559 \begin_layout Plain Layout
14566 \begin_inset Flex Code
14569 \begin_layout Plain Layout
14575 ] El espacio vertical con el que el primero de una cadena de párrafos con
14576 este estilo se separa del párrafo anterior.
14577 Si el párrafo anterior tiene otro estilo, la separación no es simplemente
14578 añadida, sino que se pone la máxima.
14581 \begin_layout Subsection
14582 Internacionalización de estilos de párrafo
14583 \begin_inset CommandInset label
14592 \begin_layout Standard
14593 LyX ha soportado desde hace tiempo la internacionalización de la información
14594 de formato, pero, hasta la versión 2.0, esto se aplicaba solo a la interfaz
14595 de usuario y no a la salida, digamos, PDF.
14596 Así, por ej., autores franceses tenían que acudir a feos trucos para conseguir
14597 `Théorème 1' en vez de `Theorem 1'.
14598 Gracias a Georg Baum, este ya no es el caso.
14601 \begin_layout Standard
14603 \begin_inset Flex Code
14606 \begin_layout Plain Layout
14612 define texto que se mostrará en el documento exportado, puede usar
14613 \begin_inset Flex Code
14616 \begin_layout Plain Layout
14623 \begin_inset Flex Code
14626 \begin_layout Plain Layout
14632 para soportar correctamente documentos con idioma distinto del inglés e
14633 incluso documentos plurilingües.
14634 El siguiente extracto (del archivo
14635 \begin_inset Flex Code
14638 \begin_layout Plain Layout
14644 ) muestra cómo funciona:
14647 \begin_layout LyX-Code
14652 \begin_layout LyX-Code
14655 theoremstyle{remark}
14658 \begin_layout LyX-Code
14661 newtheorem{claim}[thm]{
14668 \begin_layout LyX-Code
14672 \begin_layout LyX-Code
14676 \begin_layout LyX-Code
14681 claimname}{_(Claim)}
14684 \begin_layout LyX-Code
14688 \begin_layout LyX-Code
14692 \begin_layout LyX-Code
14701 claimname}{_(Claim)}}
14704 \begin_layout LyX-Code
14709 \begin_layout Standard
14710 En principio, cualquier LaTeX legal puede aparecer en las etiquetas
14711 \begin_inset Flex Code
14714 \begin_layout Plain Layout
14721 \begin_inset Flex Code
14724 \begin_layout Plain Layout
14730 , pero en la práctica el aspecto será generalmente como el mostrado aquí.
14731 La clave para una correcta traducción del texto impreso es la definición
14733 \begin_inset Flex Code
14736 \begin_layout Plain Layout
14745 \begin_inset Flex Code
14748 \begin_layout Plain Layout
14760 \begin_layout Standard
14762 \begin_inset Flex Code
14765 \begin_layout Plain Layout
14771 proporciona internacionalización basada en el idioma global del documento.
14772 El contenido de la etiqueta se incluirá en el preámbulo, igual que con
14774 \begin_inset Flex Code
14777 \begin_layout Plain Layout
14784 Lo que la hace especial es el uso de la
14785 \begin_inset Quotes eld
14789 \begin_inset Quotes erd
14793 \begin_inset Flex Code
14796 \begin_layout Plain Layout
14802 , que será reemplazada, cuando LyX genere la salida LaTeX, por la traducción
14803 de su argumento al idioma del documento.
14806 \begin_layout Standard
14808 \begin_inset Flex Code
14811 \begin_layout Plain Layout
14817 es más compleja, puesto que está pensada para dar soporte a documentos
14818 plurilingües y ofrece una interfaz al paquete
14819 \begin_inset Flex Code
14822 \begin_layout Plain Layout
14829 Su contenido se añadirá al preámbulo una vez por cada idioma que aparezca
14831 En este caso, el argumento en
14832 \begin_inset Flex Code
14835 \begin_layout Plain Layout
14841 se reemplazará por su traducción al idioma en cuestión; la expresión
14842 \begin_inset Flex Code
14845 \begin_layout Plain Layout
14851 es reemplazada por el nombre del idioma (el usado por el paquete babel).
14854 \begin_layout Standard
14855 Un documento en alemán que también incluya una sección en francés tendría
14856 lo siguiente en el preámbulo:
14859 \begin_layout LyX-Code
14868 claimname}{Affirmation}}
14869 \begin_inset Newline newline
14880 claimname}{Behauptung}}
14881 \begin_inset Newline newline
14888 claimname}{Behauptung}
14891 \begin_layout Standard
14893 \begin_inset Flex Code
14896 \begin_layout Plain Layout
14902 conspirarán para producir el texto correcto en la salida.
14905 \begin_layout Standard
14906 Un punto importante a tener en cuenta aquí es que las traducciones son proporcio
14907 nadas por el propio LyX, por
14912 \begin_inset Flex Code
14915 \begin_layout Plain Layout
14922 Esto quiere decir, en definitiva, que
14923 \begin_inset Flex Code
14926 \begin_layout Plain Layout
14933 \begin_inset Flex Code
14936 \begin_layout Plain Layout
14942 realmente solo son útiles en archivos de formato que son proporcionados
14943 por LyX, puesto que el texto introducido en archivos de formato creados
14944 por el usuario no serán tenidos en cuenta por las rutinas de internacionalizaci
14948 \begin_inset Flex Code
14951 \begin_layout Plain Layout
14959 file is modified accordingly
14962 Sin embargo, cualquier formato creado con la intención de ser incluido
14963 en LyX debería usar estas etiquetas en los lugares apropiados.
14966 Please note that the paragraph style translations provided by LyX will never
14967 change with a minor update (e.
14968 \begin_inset space \thinspace{}
14972 \begin_inset space \space{}
14975 from version 2.1.x to 2.1.y).
14976 It is however quite likely that a major update (e.
14977 \begin_inset space \thinspace{}
14981 \begin_inset space \space{}
14984 from 2.0.x to 2.1.y) will introduce new translations or corrections.
14987 \begin_layout Subsection
14989 \begin_inset CommandInset label
14991 name "sub:Flotantes"
14998 \begin_layout Standard
14999 Es necesario definir los flotantes (
15000 \begin_inset Flex MenuItem
15003 \begin_layout Plain Layout
15010 \begin_inset Flex MenuItem
15013 \begin_layout Plain Layout
15019 , \SpecialChar \ldots{}
15020 ) en la propia clase de texto.
15021 Los flotantes normales se incluyen en el archivo
15022 \begin_inset Flex Code
15025 \begin_layout Plain Layout
15031 , así que no tendrás más que añadir
15034 \begin_layout LyX-Code
15035 Input stdfloats.inc
15038 \begin_layout Standard
15039 en tu archivo de formato.
15040 Si quieres implementar una clase de texto que proponga algún otro tipo
15041 de flotante (como la clase AGU empaquetada con LyX), la información siguiente
15042 te servirá de ayuda:
15045 \begin_layout Description
15046 \begin_inset Flex Code
15049 \begin_layout Plain Layout
15056 \begin_inset Flex Code
15059 \begin_layout Plain Layout
15066 \begin_inset Quotes erd
15070 \begin_inset Quotes erd
15073 ] La extensión del nombre de un archivo auxiliar para la lista de figuras
15075 LaTeX escribe las leyendas en este archivo.
15078 \begin_layout Description
15079 \begin_inset Flex Code
15082 \begin_layout Plain Layout
15089 \begin_inset Flex Code
15092 \begin_layout Plain Layout
15099 \begin_inset Quotes erd
15103 \begin_inset Quotes erd
15106 ] La cadena que se usará en los menús y también para la leyenda.
15107 Esto se traduce al idioma actual si se usa.
15110 \begin_layout Description
15111 \begin_inset Flex Code
15114 \begin_layout Plain Layout
15120 Controlan la salida XHTML.
15122 \begin_inset space ~
15126 \begin_inset CommandInset ref
15128 reference "sec:Etiquetas-para-XHTML"
15135 \begin_layout Description
15136 \begin_inset Flex Code
15139 \begin_layout Plain Layout
15148 \begin_inset Flex Code
15151 \begin_layout Plain Layout
15160 \begin_inset space \thinspace{}
15164 \begin_inset Flex Code
15167 \begin_layout Plain Layout
15173 ] Indica si el flotante está ya definido en la clase de documento o si necesitam
15174 os cargar el paquete LaTeX
15175 \begin_inset Flex Code
15178 \begin_layout Plain Layout
15184 para definirlo sobre la marcha.
15186 \begin_inset Flex Code
15189 \begin_layout Plain Layout
15195 , que significa: usar
15196 \begin_inset Flex Code
15199 \begin_layout Plain Layout
15207 \begin_inset Flex Code
15210 \begin_layout Plain Layout
15216 si el flotante ya está definido por la clase de documento LaTeX.
15219 \begin_layout Description
15220 \begin_inset Flex Code
15223 \begin_layout Plain Layout
15230 \begin_inset Flex Code
15233 \begin_layout Plain Layout
15240 \begin_inset Quotes erd
15244 \begin_inset Quotes erd
15247 ] El comando usado para generar una lista de flotantes de este tipo; debe
15248 omitirse el precedente `
15256 \begin_inset Flex Code
15259 \begin_layout Plain Layout
15265 es `false', puesto que no hay una forma estándar de generar este comando.
15267 \begin_inset Flex Code
15270 \begin_layout Plain Layout
15276 es `true', porque en este caso sí hay una forma estándar de definir el
15280 \begin_layout Description
15281 \begin_inset Flex Code
15284 \begin_layout Plain Layout
15291 \begin_inset Flex Code
15294 \begin_layout Plain Layout
15301 \begin_inset Quotes erd
15305 \begin_inset Quotes erd
15308 ] Un título para una lista de flotantes de este tipo (índice de figuras,
15309 tablas o lo que sea).
15310 Se usa para el nombre del recuadro en LyX; se pasa a LaTeX para usarlo
15311 como título allí; y se usa como título en la salida.
15312 Será traducido al idioma del documento.
15315 \begin_layout Description
15316 \begin_inset Flex Code
15319 \begin_layout Plain Layout
15326 \begin_inset Flex Code
15329 \begin_layout Plain Layout
15336 \begin_inset Quotes erd
15340 \begin_inset Quotes erd
15343 ] Este argumento (opcional) determina si los flotantes de esta clase serán
15344 numerados dentro de alguna unidad de sección del documento.
15346 \begin_inset Flex Code
15349 \begin_layout Plain Layout
15356 \begin_inset Quotes fld
15360 \begin_inset Flex Code
15363 \begin_layout Plain Layout
15370 \begin_inset Quotes frd
15373 , los flotantes serán numerados dentro de los capítulos.
15376 \begin_layout Description
15377 \begin_inset Flex Code
15380 \begin_layout Plain Layout
15387 \begin_inset Flex Code
15390 \begin_layout Plain Layout
15397 \begin_inset Quotes erd
15401 \begin_inset Quotes erd
15404 ] La colocación por omisión para la clase dada de flotantes.
15406 \begin_inset Flex Code
15409 \begin_layout Plain Layout
15415 deberá ser un estándar LaTeX:
15416 \begin_inset Flex Code
15419 \begin_layout Plain Layout
15426 \begin_inset Flex Code
15429 \begin_layout Plain Layout
15436 \begin_inset Flex Code
15439 \begin_layout Plain Layout
15446 \begin_inset Flex Code
15449 \begin_layout Plain Layout
15456 \begin_inset Quotes fld
15460 \begin_inset Quotes frd
15464 \begin_inset Quotes fld
15468 \begin_inset Quotes frd
15472 \begin_inset Quotes fld
15476 \begin_inset Quotes frd
15480 \begin_inset Quotes fld
15484 \begin_inset Quotes frd
15487 (aquí), respectivamente.
15491 \begin_layout Plain Layout
15492 Anotar que el orden de estas letras en la cadena es irrelevante, como en
15498 Por encima de éstos hay un nuevo tipo,
15499 \begin_inset Flex Code
15502 \begin_layout Plain Layout
15508 , que no corresponde realmente a un flotante, ya que se refiere a: ponerlo
15510 \begin_inset Quotes fld
15514 \begin_inset Quotes frd
15517 , y en ninguna otra parte.
15518 Anotar que, sin embargo, el colocador
15519 \begin_inset Flex Code
15522 \begin_layout Plain Layout
15528 es especial y, debido a detalles de implementación, no puede usarse en
15529 tipos de flotantes no empotrados.
15530 Si no comprendes lo que esto significa, usa solo
15531 \begin_inset Quotes fld
15535 \begin_inset Flex Code
15538 \begin_layout Plain Layout
15545 \begin_inset Quotes frd
15551 \begin_layout Description
15552 \begin_inset Flex Code
15555 \begin_layout Plain Layout
15562 \begin_inset Flex Code
15565 \begin_layout Plain Layout
15571 ] El prefijo a usar cuando se crean etiquetas referidas a flotantes de este
15573 Esto permite el uso de referencias con formato.
15574 Puedes quitar cualquier
15575 \begin_inset Flex Code
15578 \begin_layout Plain Layout
15584 puesto por un estilo copiado usando el valor especial
15585 \begin_inset Quotes eld
15589 \begin_inset Quotes erd
15592 , todas mayúsculas.
15595 \begin_layout Description
15596 \begin_inset Flex Code
15599 \begin_layout Plain Layout
15606 \begin_inset Flex Code
15609 \begin_layout Plain Layout
15616 \begin_inset Quotes erd
15620 \begin_inset Quotes erd
15623 ] El estilo usado cuando se define el flotante con
15624 \begin_inset Flex Code
15627 \begin_layout Plain Layout
15638 \begin_layout Description
15639 \begin_inset Flex Code
15642 \begin_layout Plain Layout
15649 \begin_inset Flex Code
15652 \begin_layout Plain Layout
15659 \begin_inset Quotes erd
15663 \begin_inset Quotes erd
15667 \begin_inset Quotes fld
15671 \begin_inset Quotes frd
15674 de la nueva clase de flotante, como programa o algoritmo.
15675 Después del apropiado
15676 \begin_inset Flex Code
15679 \begin_layout Plain Layout
15687 , comandos tales como
15688 \begin_inset Flex Code
15691 \begin_layout Plain Layout
15700 \begin_inset Flex Code
15703 \begin_layout Plain Layout
15711 estarán disponibles.
15714 \begin_layout Description
15715 \begin_inset Flex Code
15718 \begin_layout Plain Layout
15725 \begin_inset Flex Code
15728 \begin_layout Plain Layout
15735 \begin_inset space \thinspace{}
15739 \begin_inset Flex Code
15742 \begin_layout Plain Layout
15750 ] Nos dice si este flotante se define usando el paquete LaTeX
15751 \begin_inset Flex Code
15754 \begin_layout Plain Layout
15760 , bien por el archivo de clase o por un paquete, o bien sobre la marcha
15764 \begin_layout Standard
15765 Anotar que al definir un flotante con tipo
15766 \begin_inset Flex Code
15769 \begin_layout Plain Layout
15777 automáticamente se define el correspondiente contador con nombre
15778 \begin_inset Flex Code
15781 \begin_layout Plain Layout
15792 \begin_layout Subsection
15793 Recuadros flexibles y formato del recuadro
15794 \begin_inset CommandInset label
15796 name "sub:estilo-del-texto"
15803 \begin_layout Standard
15804 Los recuadros flexibles son de tres tipos:
15807 \begin_layout Itemize
15809 \begin_inset Flex Code
15812 \begin_layout Plain Layout
15818 ): estos definen diseños semánticos correspondientes a comandos LaTeX como
15820 \begin_inset Flex Code
15823 \begin_layout Plain Layout
15832 \begin_inset Flex Code
15835 \begin_layout Plain Layout
15846 \begin_layout Itemize
15847 definido por el usuario (
15848 \begin_inset Flex Code
15851 \begin_layout Plain Layout
15857 ): estos se pueden usar para definir recuadros plegables personalizados,
15858 del tipo de los de código TeX, notas al pie y similares.
15859 Un ejemplo obvio es un recuadro de nota final, definido en el módulo del
15861 \begin_inset Flex Code
15864 \begin_layout Plain Layout
15873 \begin_layout Itemize
15875 \begin_inset Flex Code
15878 \begin_layout Plain Layout
15884 ): para usar con las clases DocBook.
15887 \begin_layout Standard
15888 Los recuadros flexibles se definen usando la etiqueta
15889 \begin_inset Flex Code
15892 \begin_layout Plain Layout
15898 , que se explicará en un momento.
15901 \begin_layout Standard
15903 \begin_inset Flex Code
15906 \begin_layout Plain Layout
15912 también sirve para otra función: puede utilizarse para personalizar el
15913 diseño general de muchos tipos diferentes de recuadros.
15915 \begin_inset Flex Code
15918 \begin_layout Plain Layout
15924 permite personalizar los parámetros de diseño de notas al pie, notas al
15925 margen, notas, recuadros de código TeX (ERT), ramas, listados de programa,
15926 índices, cuadros, tablas, algoritmos, URL, y
15930 , así como para definir recuadros flexibles.
15933 \begin_layout Standard
15935 \begin_inset Flex Code
15938 \begin_layout Plain Layout
15944 debe comenzar con una línea de la forma:
15947 \begin_layout LyX-Code
15951 \begin_layout Standard
15953 \begin_inset Flex Code
15956 \begin_layout Plain Layout
15962 indica el recuadro cuyo formato se va a definir, y hay quatros casos.
15965 \begin_layout Enumerate
15966 Se va a modificar el formato para un tipo de recuadro preexistente.
15968 \begin_inset Flex Code
15971 \begin_layout Plain Layout
15977 puede ser uno cualquiera de los siguientes:
15978 \begin_inset Flex Code
15981 \begin_layout Plain Layout
15988 \begin_inset Flex Code
15991 \begin_layout Plain Layout
15998 \begin_inset Flex Code
16001 \begin_layout Plain Layout
16008 \begin_inset Flex Code
16011 \begin_layout Plain Layout
16018 \begin_inset Flex Code
16021 \begin_layout Plain Layout
16028 \begin_inset Flex Code
16031 \begin_layout Plain Layout
16038 \begin_inset Flex Code
16041 \begin_layout Plain Layout
16048 \begin_inset Flex Code
16051 \begin_layout Plain Layout
16058 \begin_inset Flex Code
16061 \begin_layout Plain Layout
16068 \begin_inset Flex Code
16071 \begin_layout Plain Layout
16078 \begin_inset Flex Code
16081 \begin_layout Plain Layout
16088 \begin_inset Flex Code
16091 \begin_layout Plain Layout
16098 \begin_inset Flex Code
16101 \begin_layout Plain Layout
16108 \begin_inset Flex Code
16111 \begin_layout Plain Layout
16118 \begin_inset Flex Code
16121 \begin_layout Plain Layout
16128 \begin_inset Flex Code
16131 \begin_layout Plain Layout
16138 \begin_inset Flex Code
16141 \begin_layout Plain Layout
16148 \begin_inset Flex Code
16151 \begin_layout Plain Layout
16158 \begin_inset Flex Code
16161 \begin_layout Plain Layout
16168 \begin_inset Flex Code
16171 \begin_layout Plain Layout
16181 \begin_layout Enumerate
16182 Se va a definir el formato para un recuadro flexible.
16184 \begin_inset Flex Code
16187 \begin_layout Plain Layout
16193 puede ser cualquier identificador válido no utilizado por un recuadro preexiste
16195 El identificador puede incluir espacios, pero en este caso debe ponerse
16196 todo entre comillas.
16197 Puede además incluir un identificador de nombre del espacio, precedido
16198 de dos puntos, como
16199 \begin_inset Quotes eld
16203 \begin_inset Flex Code
16206 \begin_layout Plain Layout
16213 \begin_inset Quotes erd
16217 Anotar que la definición de un flexible debe incluir
16222 \begin_inset Flex Code
16225 \begin_layout Plain Layout
16234 \begin_layout Enumerate
16237 The layout for user specific branch is being defined.
16241 \begin_inset Flex Code
16244 \begin_layout Plain Layout
16252 must be of the form
16255 \begin_inset Quotes fld
16259 \begin_inset Flex Code
16262 \begin_layout Plain Layout
16269 \begin_inset Quotes frd
16277 \begin_inset Flex Code
16280 \begin_layout Plain Layout
16288 may be be any valid identifier of branch defined in user's document.
16289 The identifier may include spaces, but in that case the whole thing must
16290 be wrapped in quotes.
16291 The main purpose of this feature is to allow LaTeX wrapping around specific
16292 branches as user needs.
16295 \begin_layout Enumerate
16298 The layout of a user (or class) specific caption is being defined.
16302 \begin_inset Flex Code
16305 \begin_layout Plain Layout
16313 must be of the form
16316 \begin_inset Quotes fld
16320 \begin_inset Flex Code
16323 \begin_layout Plain Layout
16330 \begin_inset Quotes frd
16338 \begin_inset Flex Code
16341 \begin_layout Plain Layout
16349 specifies the name of the caption as it appears in the menu.
16350 Have a look at the standard caption
16353 \begin_inset Flex Code
16356 \begin_layout Plain Layout
16364 the specific captions of the KOMA-Script classes (
16365 \begin_inset Flex Code
16368 \begin_layout Plain Layout
16377 \begin_inset Flex Code
16380 \begin_layout Plain Layout
16391 \begin_inset space ~
16398 \begin_inset Flex Code
16401 \begin_layout Plain Layout
16412 \begin_layout Standard
16414 \begin_inset Flex Code
16417 \begin_layout Plain Layout
16423 puede contener las siguientes entradas:
16426 \begin_layout Description
16427 \begin_inset Flex Code
16430 \begin_layout Plain Layout
16437 \begin_inset Flex Code
16440 \begin_layout Plain Layout
16448 Defines argument number of a command\SpecialChar \slash{}
16449 environment associated with the current
16451 The definition must end with
16452 \begin_inset Flex Code
16455 \begin_layout Plain Layout
16467 \begin_inset CommandInset ref
16469 reference "sub:Estilos-de-párrafo"
16478 \begin_layout Description
16479 \begin_inset Flex Code
16482 \begin_layout Plain Layout
16490 Preamble for changing language commands
16493 \begin_inset CommandInset ref
16495 reference "sub:I18n"
16502 \begin_layout Description
16503 \begin_inset Flex Code
16506 \begin_layout Plain Layout
16513 \begin_inset Flex Code
16516 \begin_layout Plain Layout
16522 ] El color para el fondo del recuadro.
16524 \begin_inset CommandInset ref
16526 reference "chap:Names-of-colors"
16532 for a list of the available color names.
16535 \begin_layout Description
16536 \begin_inset Flex Code
16539 \begin_layout Plain Layout
16546 \begin_inset Flex Code
16549 \begin_layout Plain Layout
16560 \begin_inset space \thinspace{}
16566 \begin_inset Flex Code
16569 \begin_layout Plain Layout
16575 ] Si usar no el contenido del recuadro como etiqueta del mismo cuando el
16576 recuadro se cierra.
16577 Por omisión, falso.
16580 \begin_layout Description
16581 \begin_inset Flex Code
16584 \begin_layout Plain Layout
16591 \begin_inset Flex Code
16594 \begin_layout Plain Layout
16602 As with paragraph styles
16605 \begin_inset CommandInset ref
16607 reference "sub:Estilos-de-párrafo"
16614 Note that you need to specify the complete type, e.
16615 \begin_inset space \thinspace{}
16621 \begin_inset space ~
16625 \begin_inset Flex Code
16628 \begin_layout Plain Layout
16629 CopyStyle Flex:<nombre>
16637 \begin_layout Description
16638 \begin_inset Flex Code
16641 \begin_layout Plain Layout
16648 \begin_inset Flex Code
16651 \begin_layout Plain Layout
16662 \begin_inset space \thinspace{}
16668 \begin_inset Flex Code
16671 \begin_layout Plain Layout
16677 ] Indica si el usuario puede emplear el diálogo Configuración del párrafo
16678 para modificar el párrafo.
16681 \begin_layout Description
16682 \begin_inset Flex Code
16685 \begin_layout Plain Layout
16692 \begin_inset Flex Code
16695 \begin_layout Plain Layout
16702 \begin_inset Flex Code
16705 \begin_layout Plain Layout
16712 \begin_inset Flex Code
16715 \begin_layout Plain Layout
16721 , que describe el estilo de presentación para el marco y los botones del
16723 Las notas al pie usan generalmente
16724 \begin_inset Flex Code
16727 \begin_layout Plain Layout
16733 , los recuadros de código TeX
16734 \begin_inset Flex Code
16737 \begin_layout Plain Layout
16743 , y los de estilos del texto
16744 \begin_inset Flex Code
16747 \begin_layout Plain Layout
16756 \begin_layout Description
16757 \begin_inset Flex Code
16760 \begin_layout Plain Layout
16767 \begin_inset Flex Code
16770 \begin_layout Plain Layout
16779 \begin_inset space \thinspace{}
16785 \begin_inset Flex Code
16788 \begin_layout Plain Layout
16797 \begin_inset Flex Code
16800 \begin_layout Plain Layout
16807 \begin_inset Flex Code
16810 \begin_layout Plain Layout
16817 Indica si el entorno se ubicará en su propio espacio en la salida o si
16818 aparecerá en línea con el texto circundante.
16819 Si se pone falso, se supone que el entorno LaTeX ignora los espacios en
16820 blanco (incluyendo un carácter de línea nueva) después de las etiquetas
16822 \begin_inset Flex Code
16825 \begin_layout Plain Layout
16838 \begin_inset Flex Code
16841 \begin_layout Plain Layout
16854 Por omisión, verdadero.
16857 \begin_layout Description
16858 \begin_inset Flex Code
16861 \begin_layout Plain Layout
16867 Requerido al final de las declaraciones de formato del recuadro
16868 \begin_inset Flex Code
16871 \begin_layout Plain Layout
16880 \begin_layout Description
16881 \begin_inset Flex Code
16884 \begin_layout Plain Layout
16890 La tipografía usada tanto para el cuerpo del texto como para la etiqueta.
16892 \begin_inset CommandInset ref
16894 reference "sub:Tipografías"
16899 Anotar que al definir esta tipografía se define automáticamente el mismo
16900 valor para la etiqueta,
16901 \begin_inset Flex Code
16904 \begin_layout Plain Layout
16910 , así que define aquella primero y después define
16911 \begin_inset Flex Code
16914 \begin_layout Plain Layout
16920 si las quieres diferentes.
16923 \begin_layout Description
16924 \begin_inset Flex Code
16927 \begin_layout Plain Layout
16928 ForceLocalFontSwitch
16934 \begin_inset Flex Code
16937 \begin_layout Plain Layout
16946 \begin_inset space \thinspace{}
16950 \begin_inset Flex Code
16953 \begin_layout Plain Layout
16961 When using babel, always use a local font switch (
16962 \begin_inset Flex Code
16965 \begin_layout Plain Layout
16975 ), never a global one (such as
16978 \begin_inset Flex Code
16981 \begin_layout Plain Layout
16992 \begin_layout Description
16993 \begin_inset Flex Code
16996 \begin_layout Plain Layout
17003 \begin_inset Flex Code
17006 \begin_layout Plain Layout
17017 \begin_inset space \thinspace{}
17023 \begin_inset Flex Code
17026 \begin_layout Plain Layout
17033 \begin_inset Quotes fld
17037 \begin_inset Quotes frd
17040 que genera salida Izquierda-Derecha (latin), p.
17041 \begin_inset space \thinspace{}
17045 \begin_inset space \space{}
17048 en código TeX o URL.
17052 \begin_layout Description
17053 \begin_inset Flex Code
17056 \begin_layout Plain Layout
17063 \begin_inset Flex Code
17066 \begin_layout Plain Layout
17077 \begin_inset space \thinspace{}
17083 \begin_inset Flex Code
17086 \begin_layout Plain Layout
17092 ] Indica si debería usarse
17093 \begin_inset Flex Code
17096 \begin_layout Plain Layout
17102 o, por el contrario el usuario puede cambiar el estilo de párrafo del recuadro.
17105 \begin_layout Description
17106 \begin_inset Flex Code
17109 \begin_layout Plain Layout
17118 \begin_inset Flex Code
17121 \begin_layout Plain Layout
17132 \begin_inset space \thinspace{}
17138 \begin_inset Flex Code
17141 \begin_layout Plain Layout
17149 As with paragraph style
17152 \begin_inset CommandInset ref
17154 reference "sub:Estilos-de-párrafo"
17161 \begin_layout Description
17162 \begin_inset Flex Code
17165 \begin_layout Plain Layout
17171 Controlan la salida XHTML.
17173 \begin_inset CommandInset ref
17175 reference "sec:Etiquetas-para-XHTML"
17182 \begin_layout Description
17183 \begin_inset Flex Code
17186 \begin_layout Plain Layout
17193 \begin_inset Flex Code
17196 \begin_layout Plain Layout
17207 \begin_inset space \thinspace{}
17213 \begin_inset Flex Code
17216 \begin_layout Plain Layout
17222 ] Incluye o no el contenido de este inset en la cadena generada para el
17223 panel 'Navegador de contorno'.
17224 El no sería, por ejemplo, para que el contenido de una nota al pie en un
17225 encabezado de sección no aparezca en el índice que se despliega en el navegador
17226 de contorno, sin embargo, normalmente sí se incluiría el contenido de un
17227 estilo de carácter.
17228 Predeterminado es false: no incluir.
17231 \begin_layout Description
17232 \begin_inset Flex Code
17235 \begin_layout Plain Layout
17244 \begin_inset Flex Code
17247 \begin_layout Plain Layout
17260 \begin_inset space \thinspace{}
17266 \begin_inset Flex Code
17269 \begin_layout Plain Layout
17277 As with paragraph styles
17280 \begin_inset CommandInset ref
17282 reference "sub:Estilos-de-párrafo"
17289 \begin_layout Description
17290 \begin_inset Flex Code
17293 \begin_layout Plain Layout
17299 La tipografía para la etiqueta.
17301 \begin_inset CommandInset ref
17303 reference "sub:Tipografías"
17308 Anotar que esta definición nunca puede aparecer antes de
17309 \begin_inset Flex Code
17312 \begin_layout Plain Layout
17318 , para que sea efectiva.
17321 \begin_layout Description
17322 \begin_inset Flex Code
17325 \begin_layout Plain Layout
17332 \begin_inset Flex Code
17335 \begin_layout Plain Layout
17342 \begin_inset Quotes erd
17346 \begin_inset Quotes erd
17349 ] Lo que se mostrará sobre el botón u otra parte como etiqueta del recuadro.
17350 Algunos tipos de recuadro (
17351 \begin_inset Flex Code
17354 \begin_layout Plain Layout
17361 \begin_inset Flex Code
17364 \begin_layout Plain Layout
17370 ) modifican esta etiqueta sobre la marcha.
17373 \begin_layout Description
17374 \begin_inset Flex Code
17377 \begin_layout Plain Layout
17385 Language dependent preamble
17388 \begin_inset CommandInset ref
17390 reference "sub:I18n"
17397 \begin_layout Description
17398 \begin_inset Flex Code
17401 \begin_layout Plain Layout
17408 \begin_inset Flex Code
17411 \begin_layout Plain Layout
17417 ] El nombre LaTeX correspondiente al asunto.
17418 Cualquier nombre de entorno o de comando.
17421 \begin_layout Description
17422 \begin_inset Flex Code
17425 \begin_layout Plain Layout
17432 \begin_inset Flex Code
17435 \begin_layout Plain Layout
17441 ] El parámetro opcional para el correspondiente
17442 \begin_inset Flex Code
17445 \begin_layout Plain Layout
17451 , incluyendo posibles pares de corchetes,
17452 \begin_inset Flex Code
17455 \begin_layout Plain Layout
17462 Este parámetro no se puede cambiar desde dentro de LyX
17465 \begin_inset Flex Code
17468 \begin_layout Plain Layout
17476 for customizable parameters).
17477 It will be output as is after all LaTeX
17480 \begin_inset Flex Code
17483 \begin_layout Plain Layout
17492 \begin_layout Description
17493 \begin_inset Flex Code
17496 \begin_layout Plain Layout
17503 \begin_inset Flex Code
17506 \begin_layout Plain Layout
17507 Command, Environment, None
17514 How the style should be translated into LaTeX.
17518 \begin_layout Plain Layout
17521 \begin_inset Flex Code
17524 \begin_layout Plain Layout
17532 is perhaps a bit misleading, since these rules apply to SGML classes, too.
17533 Visit the SGML class files for specific examples.
17542 \begin_layout Description
17543 \begin_inset Flex Code
17546 \begin_layout Plain Layout
17554 means nothing special
17557 \begin_layout Description
17558 \begin_inset Flex Code
17561 \begin_layout Plain Layout
17570 \begin_inset Flex Code
17573 \begin_layout Plain Layout
17582 {\SpecialChar \ldots{}
17591 \begin_layout Description
17592 \begin_inset Flex Code
17595 \begin_layout Plain Layout
17604 \begin_inset Flex Code
17607 \begin_layout Plain Layout
17616 }\SpecialChar \ldots{}
17631 \begin_layout Description
17635 \begin_layout Standard
17638 Putting the last few things together, the LaTeX output will be either:
17641 \begin_layout LyX-Code
17644 LatexName[LatexParam]{\SpecialChar \ldots{}
17648 \begin_layout Standard
17652 \begin_layout LyX-Code
17655 begin{LatexName}[LatexParam] \SpecialChar \ldots{}
17661 \begin_layout Standard
17664 depending upon the LaTeX type.
17668 \begin_layout Description
17669 \begin_inset Flex Code
17672 \begin_layout Plain Layout
17679 \begin_inset Flex Code
17682 \begin_layout Plain Layout
17690 A string that is put at the beginning of the layout content.
17691 A line break in the output can be indicated by
17694 \begin_inset Flex Code
17697 \begin_layout Plain Layout
17706 \begin_layout Description
17707 \begin_inset Flex Code
17710 \begin_layout Plain Layout
17717 \begin_inset Flex Code
17720 \begin_layout Plain Layout
17727 \begin_inset Flex Code
17730 \begin_layout Plain Layout
17737 \begin_inset Flex Code
17740 \begin_layout Plain Layout
17747 \begin_inset Flex Code
17750 \begin_layout Plain Layout
17756 (indicando una definición ficticia que finaliza definiciones de estilos
17758 Esta entrada es requerida y solo es significativa para recuadros flexibles.
17759 Entre otras cosas, determina en qué menús aparecerá este recuadro.
17761 \begin_inset Flex Code
17764 \begin_layout Plain Layout
17771 \begin_inset Flex Code
17774 \begin_layout Plain Layout
17781 \begin_inset Flex Code
17784 \begin_layout Plain Layout
17792 \begin_inset Flex Code
17795 \begin_layout Plain Layout
17801 se puede poner como verdadero para recuadros de estilos
17802 \begin_inset Flex Code
17805 \begin_layout Plain Layout
17816 \begin_inset Flex Code
17819 \begin_layout Plain Layout
17828 \begin_layout Description
17829 \begin_inset Flex Code
17832 \begin_layout Plain Layout
17839 \begin_inset Flex Code
17842 \begin_layout Plain Layout
17853 \begin_inset space \thinspace{}
17859 \begin_inset Flex Code
17862 \begin_layout Plain Layout
17868 ] Indica si se permiten múltiples párrafos en este recuadro.
17869 Además establecerá para CustomPars el mismo valor y para ForcePlain el
17871 Estos pueden modificarse a otros valores si se usan
17878 \begin_layout Description
17879 \begin_inset Flex Code
17882 \begin_layout Plain Layout
17889 \begin_inset Flex Code
17892 \begin_layout Plain Layout
17903 \begin_inset space \thinspace{}
17909 \begin_inset Flex Code
17912 \begin_layout Plain Layout
17918 ] Si los comandos frágiles deben o no ser
17919 \begin_inset Flex Code
17922 \begin_layout Plain Layout
17930 'ed en este recuadro.
17935 si el comando mismo debe ser protegido
17940 \begin_layout Description
17941 \begin_inset Flex Code
17944 \begin_layout Plain Layout
17953 \begin_inset Flex Code
17956 \begin_layout Plain Layout
17964 ] Deletes an existing
17965 \begin_inset Flex Code
17968 \begin_layout Plain Layout
17979 \begin_layout Description
17980 \begin_inset Flex Code
17983 \begin_layout Plain Layout
17990 \begin_inset Flex Code
17993 \begin_layout Plain Layout
18004 \begin_inset space \thinspace{}
18010 \begin_inset Flex Code
18013 \begin_layout Plain Layout
18019 ] Igual que para estilos de párrafo, véase
18020 \begin_inset CommandInset ref
18022 reference "sub:Estilos-de-párrafo"
18027 Por omisión es falso.
18030 \begin_layout Description
18031 \begin_inset Flex Code
18034 \begin_layout Plain Layout
18043 \begin_inset Flex Code
18046 \begin_layout Plain Layout
18059 \begin_inset space \thinspace{}
18065 \begin_inset Flex Code
18068 \begin_layout Plain Layout
18074 ] Igual que para estilos de párrafo, véase
18075 \begin_inset CommandInset ref
18077 reference "sub:Estilos-de-párrafo"
18084 \begin_layout Description
18085 \begin_inset Flex Code
18088 \begin_layout Plain Layout
18094 Igual que para estilos de párrafo, véase
18095 \begin_inset CommandInset ref
18097 reference "sub:Estilos-de-párrafo"
18104 \begin_layout Description
18105 \begin_inset Flex Code
18108 \begin_layout Plain Layout
18115 \begin_inset Flex Code
18118 \begin_layout Plain Layout
18124 ] Prefijo a usar cuando se crean etiquetas que se refieren a recuadros de
18126 Esto permite el uso de referencias con formato.
18129 \begin_layout Description
18130 \begin_inset Flex Code
18133 \begin_layout Plain Layout
18140 \begin_inset Flex Code
18143 \begin_layout Plain Layout
18149 ] Igual que para estilos de párrafo, véase
18150 \begin_inset CommandInset ref
18152 reference "sub:Estilos-de-párrafo"
18159 \begin_layout Description
18160 \begin_inset Flex Code
18163 \begin_layout Plain Layout
18170 \begin_inset Flex Code
18173 \begin_layout Plain Layout
18182 \begin_inset space \thinspace{}
18186 \begin_inset Flex Code
18189 \begin_layout Plain Layout
18197 Resets the LaTeX arguments of this layout (as defined via the
18198 \begin_inset Flex Code
18201 \begin_layout Plain Layout
18210 This is useful if you have copied a style via
18211 \begin_inset Flex Code
18214 \begin_layout Plain Layout
18222 , but you do not want to inherit its (required and optional) arguments.
18225 \begin_layout Description
18226 \begin_inset Flex Code
18229 \begin_layout Plain Layout
18236 \begin_inset Flex Code
18239 \begin_layout Plain Layout
18248 \begin_inset space \thinspace{}
18254 \begin_inset Flex Code
18257 \begin_layout Plain Layout
18265 ] Si este recuadro debería usar la tipografía de su entorno o la suya propia.
18266 Por omisión es la tipografía de su entorno.
18269 \begin_layout Description
18270 \begin_inset Flex Code
18273 \begin_layout Plain Layout
18280 \begin_inset Flex Code
18283 \begin_layout Plain Layout
18291 A string that is put at the end of the layout content.
18292 A line break in the output can be indicated by
18295 \begin_inset Flex Code
18298 \begin_layout Plain Layout
18307 \begin_layout Description
18308 \begin_inset Flex Code
18311 \begin_layout Plain Layout
18318 \begin_inset Flex Code
18321 \begin_layout Plain Layout
18330 \begin_inset space \thinspace{}
18336 \begin_inset Flex Code
18339 \begin_layout Plain Layout
18347 ] Revisar la ortografía del contenido del recuadro.
18351 \begin_layout Subsection
18353 \begin_inset CommandInset label
18355 name "sub:Contadores"
18362 \begin_layout Standard
18363 Es necesario definir los contadores (
18364 \begin_inset Flex MenuItem
18367 \begin_layout Plain Layout
18374 \begin_inset Flex MenuItem
18377 \begin_layout Plain Layout
18383 , \SpecialChar \ldots{}
18384 ) en la propia clase de texto.
18385 Los contadores estándar están definidos en el archivo
18386 \begin_inset Flex Code
18389 \begin_layout Plain Layout
18395 , de modo que no tienes más que añadir
18398 \begin_layout LyX-Code
18399 Input stdcounters.inc
18402 \begin_layout Standard
18403 en el archivo de formato para que funcionen.
18404 Pero si quieres puedes definir contadores personalizados.
18405 La declaración de un contador debe comenzar con:
18408 \begin_layout LyX-Code
18412 \begin_layout Standard
18414 \begin_inset Flex Code
18417 \begin_layout Plain Layout
18423 es el nombre del contador.
18424 Hay que terminar con
18425 \begin_inset Flex Code
18428 \begin_layout Plain Layout
18437 \begin_layout Standard
18438 Se pueden usar además los parámetros siguientes:
18441 \begin_layout Description
18442 \begin_inset Flex Code
18445 \begin_layout Plain Layout
18452 \begin_inset Flex Code
18455 \begin_layout Plain Layout
18463 Sets the initial value for the counter, to which it will be reset whenever
18465 Normally, one will want the default, 1.
18468 \begin_layout Description
18469 \begin_inset Flex Code
18472 \begin_layout Plain Layout
18479 \begin_inset Flex Code
18482 \begin_layout Plain Layout
18488 =""] Si se define esta cadena, indica cómo se muestra el contador.
18489 Al establecer este valor también se da el mismo valor a
18490 \begin_inset Flex Code
18493 \begin_layout Plain Layout
18494 LabelStringAppendix
18500 Para los valores de 'string' se pueden usar las estructuras siguientes:
18504 \begin_layout Itemize
18505 \begin_inset Flex Code
18508 \begin_layout Plain Layout
18516 será reemplazado por la expansión de
18517 \begin_inset Flex Code
18520 \begin_layout Plain Layout
18527 \begin_inset Newline linebreak
18531 \begin_inset Flex Code
18534 \begin_layout Plain Layout
18535 LabelStringAppendix
18541 \begin_inset Flex Code
18544 \begin_layout Plain Layout
18554 \begin_layout Itemize
18555 los valores del contador pueden expresarse usando macros tipo LaTeX como
18557 \begin_inset Flex Code
18560 \begin_layout Plain Layout
18577 \begin_inset Flex Code
18580 \begin_layout Plain Layout
18589 \begin_inset Flex Code
18592 \begin_layout Plain Layout
18598 : 1, 2, 3,\SpecialChar \ldots{}
18600 \begin_inset Flex Code
18603 \begin_layout Plain Layout
18609 para minúsculas: a, b, c, \SpecialChar \ldots{}
18611 \begin_inset Flex Code
18614 \begin_layout Plain Layout
18620 para mayúsculas: A, B, C, \SpecialChar \ldots{}
18622 \begin_inset Flex Code
18625 \begin_layout Plain Layout
18631 números romanos en minúscula: i, ii, iii, \SpecialChar \ldots{}
18636 \begin_layout Plain Layout
18642 \begin_inset space \thinspace{}
18650 \begin_inset Flex Code
18653 \begin_layout Plain Layout
18668 \begin_inset Flex Code
18671 \begin_layout Plain Layout
18685 los transforma automáticamente en versalitas
18689 \SpecialChar \ldots{}
18690 , ya que los romanos en minúscula no se usan en español.
18697 \begin_inset Flex Code
18700 \begin_layout Plain Layout
18706 para romanos en mayúsculas: I, II, III.
18710 \begin_layout Standard
18712 \begin_inset Flex Code
18715 \begin_layout Plain Layout
18721 , se construye un valor por omisión así: si el contador tiene un contador
18723 \begin_inset Flex Code
18726 \begin_layout Plain Layout
18733 \begin_inset Flex Code
18736 \begin_layout Plain Layout
18742 ), se usa la cadena
18743 \begin_inset Flex Code
18746 \begin_layout Plain Layout
18756 ; si no, se usa la cadena
18757 \begin_inset Flex Code
18760 \begin_layout Plain Layout
18771 \begin_layout Description
18772 \begin_inset Flex Code
18775 \begin_layout Plain Layout
18776 LabelStringAppendix
18782 \begin_inset Flex Code
18785 \begin_layout Plain Layout
18792 \begin_inset Flex Code
18795 \begin_layout Plain Layout
18801 , pero para el apéndice.
18804 \begin_layout Description
18805 \begin_inset Flex Code
18808 \begin_layout Plain Layout
18815 \begin_inset Flex Code
18818 \begin_layout Plain Layout
18825 \begin_inset Quotes erd
18829 \begin_inset Quotes erd
18832 ] Un formato para usar con las referencias a este contador.
18833 Por ejemplo, podríamos querer las referencias a los números de sección
18835 \begin_inset Quotes fld
18839 \begin_inset space ~
18843 \begin_inset Quotes frd
18847 La cadena debería contener
18848 \begin_inset Quotes eld
18852 \begin_inset Quotes erd
18856 Esto será reemplazado por el número correspondiente del contador.
18857 Así pues, para secciones sería: Section ##.
18860 \begin_layout Description
18861 \begin_inset Flex Code
18864 \begin_layout Plain Layout
18871 \begin_inset Flex Code
18874 \begin_layout Plain Layout
18880 =""] Si esto se establece para el nombre de otro contador, el presente contador
18881 se reiniciará cada vez que el otro aumente.
18883 \begin_inset Flex Code
18886 \begin_layout Plain Layout
18892 se numera dentro de
18893 \begin_inset Flex Code
18896 \begin_layout Plain Layout
18905 \begin_layout Subsection
18906 Descripción de las tipografías
18907 \begin_inset CommandInset label
18909 name "sub:Tipografías"
18916 \begin_layout Standard
18917 Una descripción de una tipografía se ve como:
18920 \begin_layout LyX-Code
18934 \begin_layout LyX-Code
18938 \begin_layout LyX-Code
18942 \begin_layout Standard
18943 Están disponibles los comandos siguientes:
18946 \begin_layout Description
18947 \begin_inset Flex Code
18950 \begin_layout Plain Layout
18957 \begin_inset Flex Code
18960 \begin_layout Plain Layout
18969 \begin_inset Flex Code
18972 \begin_layout Plain Layout
18979 \begin_inset Flex Code
18982 \begin_layout Plain Layout
18989 \begin_inset Flex Code
18992 \begin_layout Plain Layout
18999 \begin_inset Flex Code
19002 \begin_layout Plain Layout
19009 \begin_inset Flex Code
19012 \begin_layout Plain Layout
19019 \begin_inset Flex Code
19022 \begin_layout Plain Layout
19029 \begin_inset Flex Code
19032 \begin_layout Plain Layout
19039 \begin_inset Flex Code
19042 \begin_layout Plain Layout
19051 \begin_layout Description
19052 \begin_inset Flex Code
19055 \begin_layout Plain Layout
19064 \begin_inset Flex Code
19067 \begin_layout Plain Layout
19078 \begin_inset Flex Code
19081 \begin_layout Plain Layout
19088 \begin_inset Flex Code
19091 \begin_layout Plain Layout
19100 \begin_layout Description
19101 \begin_inset Flex Code
19104 \begin_layout Plain Layout
19111 \begin_inset Flex Code
19114 \begin_layout Plain Layout
19120 ] Son argumentos válidos:
19121 \begin_inset Flex Code
19124 \begin_layout Plain Layout
19131 \begin_inset Flex Code
19134 \begin_layout Plain Layout
19141 \begin_inset Flex Code
19144 \begin_layout Plain Layout
19151 \begin_inset Flex Code
19154 \begin_layout Plain Layout
19161 \begin_inset Flex Code
19164 \begin_layout Plain Layout
19171 \begin_inset Flex Code
19174 \begin_layout Plain Layout
19181 \begin_inset Flex Code
19184 \begin_layout Plain Layout
19191 \begin_inset Flex Code
19194 \begin_layout Plain Layout
19201 \begin_inset Flex Code
19204 \begin_layout Plain Layout
19211 \begin_inset Flex Code
19214 \begin_layout Plain Layout
19221 \begin_inset Flex Code
19224 \begin_layout Plain Layout
19231 \begin_inset Flex Code
19234 \begin_layout Plain Layout
19241 Cada uno de ellos activa o desactiva el atributo correspondiente.
19243 \begin_inset Flex Code
19246 \begin_layout Plain Layout
19253 \begin_inset Flex Code
19256 \begin_layout Plain Layout
19263 \begin_inset Newline newline
19266 Si esto último parece superfluo, recordemos que la configuración de tipografías
19267 para el presente contexto se hereda generalmente del contexto circundante.
19269 \begin_inset Flex Code
19272 \begin_layout Plain Layout
19278 desactivaría el énfasis que estaba vigente, digamos, en un entorno teorema.
19281 \begin_layout Description
19282 \begin_inset Flex Code
19285 \begin_layout Plain Layout
19294 \begin_inset Flex Code
19297 \begin_layout Plain Layout
19308 \begin_inset Flex Code
19311 \begin_layout Plain Layout
19320 \begin_layout Description
19321 \begin_inset Flex Code
19324 \begin_layout Plain Layout
19333 \begin_inset Flex Code
19336 \begin_layout Plain Layout
19347 \begin_inset Flex Code
19350 \begin_layout Plain Layout
19357 \begin_inset Flex Code
19360 \begin_layout Plain Layout
19367 \begin_inset Flex Code
19370 \begin_layout Plain Layout
19379 \begin_layout Description
19380 \begin_inset Flex Code
19383 \begin_layout Plain Layout
19390 \begin_inset Flex Code
19393 \begin_layout Plain Layout
19400 \begin_inset Flex Code
19403 \begin_layout Plain Layout
19410 \begin_inset Flex Code
19413 \begin_layout Plain Layout
19422 \begin_inset Flex Code
19425 \begin_layout Plain Layout
19432 \begin_inset Flex Code
19435 \begin_layout Plain Layout
19442 \begin_inset Flex Code
19445 \begin_layout Plain Layout
19452 \begin_inset Flex Code
19455 \begin_layout Plain Layout
19462 \begin_inset Flex Code
19465 \begin_layout Plain Layout
19474 \begin_layout Subsection
19475 Descripción del formato de cita
19476 \begin_inset CommandInset label
19478 name "sub:Descripción-formato-cita"
19485 \begin_layout Standard
19487 \begin_inset Flex Code
19490 \begin_layout Plain Layout
19496 se usan para describir la forma en que debe mostrarse la información bibliográf
19497 ica, tanto en LyX (en el diálogo de citas y en las ayudas emergentes, por
19498 ejemplo) como en la salida XHTML.
19499 El aspecto de unode estos bloques podría ser este:
19502 \begin_layout LyX-Code
19506 \begin_layout LyX-Code
19510 \begin_layout LyX-Code
19514 \begin_layout LyX-Code
19518 \begin_layout Standard
19519 Las líneas definen cómo se va a mostrar la información bibliográfica asociada
19520 con un artículo o libro, respectivamente, y tales definiciones se pueden
19521 dar para cualquier `tipo de entrada' que pudiera estar presente en un archivo
19523 LyX define un formato por omsión en el código fuente que se usará si no
19524 se da una definición específica.
19525 LyX predefine varios formatos en el archivo
19526 \begin_inset Flex Code
19529 \begin_layout Plain Layout
19535 , que se incluye en la mayoría de las clases de documento de LyX.
19538 \begin_layout Standard
19539 Las definiciones usan un lenguaje simple que permite reemplazar las claves
19540 BibTeX por sus valores.
19541 Las claves deben encerrarse entre símbolos
19542 \begin_inset Flex Code
19545 \begin_layout Plain Layout
19552 \begin_inset space \thinspace{}
19556 \begin_inset Flex Code
19559 \begin_layout Plain Layout
19566 Así, una simple definición sería:
19569 \begin_layout LyX-Code
19571 \begin_inset Quotes eld
19575 \begin_inset Quotes erd
19581 \begin_layout Standard
19582 Esto imprimiría el autor, una coma, a continuación el título entre comillas
19583 y un punto para finalizar.
19586 \begin_layout Standard
19587 A veces querrás, por supuesto, imprimir una clave solo si existe.
19588 Esto puede hacerse mediante una construcción condicional tal como:
19589 \begin_inset Flex Code
19592 \begin_layout Plain Layout
19594 \begin_inset space ~
19602 , que quiere decir: si la clave
19603 \begin_inset Flex Code
19606 \begin_layout Plain Layout
19613 \begin_inset Quotes eld
19617 \begin_inset space ~
19621 \begin_inset Quotes erd
19624 seguido de la clave.
19625 También es posible tener una cláusula de otro modo en el condicional, como:
19626 \begin_inset Newline newline
19630 \begin_inset Flex Code
19633 \begin_layout Plain Layout
19634 {%author%[[%author%]][[%editor%, ed.]]}
19640 \begin_inset Newline newline
19644 \begin_inset Flex Code
19647 \begin_layout Plain Layout
19653 se imprime si existe; por otra parte, se imprime la clave
19654 \begin_inset Flex Code
19657 \begin_layout Plain Layout
19664 \begin_inset Quotes eld
19668 \begin_inset space ~
19672 \begin_inset Quotes erd
19676 Advierte que la clave se encierra entre signos
19677 \begin_inset Flex Code
19680 \begin_layout Plain Layout
19686 ; el condicional entero se encierra entre llaves; y las cláusulas condicional
19687 y por otra parte se ponen entre cobles corchetes,
19688 \begin_inset Quotes eld
19692 \begin_inset Flex Code
19695 \begin_layout Plain Layout
19702 \begin_inset Quotes eld
19706 \begin_inset Quotes eld
19710 \begin_inset Flex Code
19713 \begin_layout Plain Layout
19720 \begin_inset Quotes erd
19724 No debe haber espacios entre ninguno de ellos.
19727 \begin_layout Standard
19728 Hay otra pieza de sintaxis disponible en las definiciones, como esta:
19729 \begin_inset Flex Code
19732 \begin_layout Plain Layout
19739 Define una pieza de información para ser usada cuando creamos
19740 \begin_inset Quotes eld
19744 \begin_inset Quotes erd
19748 Obviamente, no queremos etiquetas HTML cuando escribimos texto sencillo,
19749 por tanto deben ponerse entre
19750 \begin_inset Quotes eld
19754 \begin_inset Quotes erd
19758 \begin_inset Quotes eld
19762 \begin_inset Quotes erd
19768 \begin_layout Standard
19769 Además, hay dos clases especiales de definiciones disponibles en un bloque
19771 \begin_inset Flex Code
19774 \begin_layout Plain Layout
19781 Un ejemplo de la primera sería:
19784 \begin_layout LyX-Code
19786 \begin_inset Quotes eld
19790 \begin_inset Quotes erd
19796 \begin_layout Standard
19797 Esto es una abreviación, o macro, y se puede usar tratándola como si fuera
19799 \begin_inset Flex Code
19802 \begin_layout Plain Layout
19810 \begin_inset Flex Code
19813 \begin_layout Plain Layout
19819 exactamente como trataría su definición.
19820 Por tanto, permítenos un
19828 \begin_layout LyX-Code
19832 \begin_layout Standard
19834 LyX no caería en un bucle infinito, pero sí en uno muy largo.
19837 \begin_layout Standard
19838 El segundo tipo especial de definición sería como:
19841 \begin_layout LyX-Code
19845 \begin_layout Standard
19846 Esto define un trozo de texto traducible, que permite traducir partes relevantes
19847 de la bibliografía.
19848 Puede incluirse en una definición tratándolo como una clave:
19849 \begin_inset Flex Code
19852 \begin_layout Plain Layout
19859 Varios de estos están predefinidos en
19860 \begin_inset Flex Code
19863 \begin_layout Plain Layout
19870 Advertiremos que no son macros en el sentido definido.
19874 \begin_layout Standard
19875 Aquí hay, pues, un ejemplo que usa todas estas características:
19876 \begin_inset VSpace defskip
19882 \begin_layout Standard
19886 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %_edtext%, ]]}]]}
19889 \begin_layout Standard
19890 \begin_inset VSpace defskip
19893 Así definimos una macro que imprime el autor seguido de coma, si la clave
19895 \begin_inset Flex Code
19898 \begin_layout Plain Layout
19904 está definida, o imprime el nombre del editor seguido por el texto
19905 \begin_inset Flex Code
19908 \begin_layout Plain Layout
19914 o su traducción (por omisión
19915 \begin_inset Quotes eld
19919 \begin_inset Quotes erd
19923 \begin_inset Flex Code
19926 \begin_layout Plain Layout
19933 De hecho, esto está definido en
19934 \begin_inset Flex Code
19937 \begin_layout Plain Layout
19943 , por tanto puedes usarlo en tus propias definiciones o redefiniciones,
19944 si cargas antes ese archivo.
19947 \begin_layout Section
19948 Etiquetas para la salida XHTML
19949 \begin_inset CommandInset label
19951 name "sec:Etiquetas-para-XHTML"
19958 \begin_layout Standard
19959 Como para LaTeX o DocBook, el formato de salida XHTML en LyX también se
19960 controla mediante la información contenida en archivos de formato.
19961 En general, LyX provee valores predefinidos sensatos y, como se mencionó
19962 anteriormente, incluso construirá reglas de estilo CSS a partir de las
19963 otras etiquetas de formato.
19964 Por ejemplo, LyX intentará usar la información proporcionada por la declaración
19966 \begin_inset Flex Code
19969 \begin_layout Plain Layout
19975 para el estilo Chapter para escribir CSS que formateará adecuadamente los
19976 encabezados de capítulo.
19979 \begin_layout Standard
19980 En muchos casos, por tanto, no tendrás que hacer nada para obtener una aceptable
19981 salida XHTML para tus propios entornos, recuadros personalizados y cosas
19983 Pero en ciertos casos querrás hacer cambios, y para eso LyX proporciona
19984 un número de etiquetas de formato que se pueden usar para personalizar
19985 los XHTML y CSS generados.
19988 \begin_layout Standard
19989 Advertimos que hay dos etiquetas,
19990 \begin_inset Flex Code
19993 \begin_layout Plain Layout
20000 \begin_inset Flex Code
20003 \begin_layout Plain Layout
20009 que pueden aparecer fuera de las declaraciones de estilos y recuadros.
20011 \begin_inset CommandInset ref
20013 reference "sub:Parámetros-generales-clases"
20017 para detalles sobre esto.
20020 \begin_layout Subsection
20022 \begin_inset CommandInset label
20024 name "sub:Estilos-de-párrafo-XHTML"
20031 \begin_layout Standard
20032 El tipo de XHTML que genera LyX para un párrafo depende de si se trata de
20033 un párrafo normal, de un comando o de un entorno, en los que esto se determina
20034 por el contenido de la correspondiente etiqueta
20035 \begin_inset Flex Code
20038 \begin_layout Plain Layout
20048 \begin_layout Standard
20049 Para un comando o párrafo, la salida XHTML tiene la forma siguiente:
20052 \begin_layout LyX-Code
20054 \begin_inset Quotes erd
20058 \begin_inset Quotes erd
20064 \begin_layout LyX-Code
20066 \begin_inset Quotes erd
20070 \begin_inset Quotes erd
20076 \begin_layout LyX-Code
20077 Contents of the paragraph.
20080 \begin_layout LyX-Code
20084 \begin_layout Standard
20085 Por supuesto, `label tags´ se omiten si el párrafo no tiene rótulo.
20088 \begin_layout Standard
20089 Para un entorno que no sea algún tipo de lista, XHTML toma la forma:
20092 \begin_layout LyX-Code
20094 \begin_inset Quotes erd
20098 \begin_inset Quotes erd
20104 \begin_layout LyX-Code
20106 \begin_inset Quotes erd
20110 \begin_inset Quotes erd
20114 \begin_inset Quotes erd
20118 \begin_inset Quotes erd
20121 >Environment Label</labeltag>First paragraph.</itemtag>
20124 \begin_layout LyX-Code
20125 <itemtag>Second paragraph.</itemtag>
20128 \begin_layout LyX-Code
20132 \begin_layout Standard
20133 El rótulo se genera solo para el primer párrafo, como debería ser, por ejemplo,
20138 \begin_layout Standard
20139 Para una lista disponemos de una de estas formas:
20142 \begin_layout LyX-Code
20144 \begin_inset Quotes erd
20148 \begin_inset Quotes erd
20154 \begin_layout LyX-Code
20156 \begin_inset Quotes erd
20160 \begin_inset Quotes erd
20164 \begin_inset Quotes erd
20168 \begin_inset Quotes erd
20171 >List Label</labeltag>First item.</itemtag>
20174 \begin_layout LyX-Code
20176 \begin_inset Quotes erd
20180 \begin_inset Quotes erd
20184 \begin_inset Quotes erd
20188 \begin_inset Quotes erd
20191 >List Label</labeltag>Second item.</itemtag>
20194 \begin_layout LyX-Code
20198 \begin_layout LyX-Code
20202 \begin_layout LyX-Code
20204 \begin_inset Quotes erd
20208 \begin_inset Quotes erd
20214 \begin_layout LyX-Code
20216 \begin_inset Quotes erd
20220 \begin_inset Quotes erd
20223 >List Label</labeltag><itemtag attr=
20224 \begin_inset Quotes erd
20228 \begin_inset Quotes erd
20231 >First item.</itemtag>
20234 \begin_layout LyX-Code
20236 \begin_inset Quotes erd
20240 \begin_inset Quotes erd
20243 >List Label</labeltag><itemtag attr=
20244 \begin_inset Quotes erd
20248 \begin_inset Quotes erd
20251 >Second item.</itemtag>
20254 \begin_layout LyX-Code
20258 \begin_layout Standard
20259 Observa los diferentes órdenes de
20260 \begin_inset Flex Code
20263 \begin_layout Plain Layout
20270 \begin_inset Flex Code
20273 \begin_layout Plain Layout
20280 El orden que obtenemos depende del ajuste de
20281 \begin_inset Flex Code
20284 \begin_layout Plain Layout
20291 \begin_inset Flex Code
20294 \begin_layout Plain Layout
20300 es falso (por omisión), se obtiene el primero de ellos, con el rótulo dentro
20301 del ítem; si verdadero, se obtiene el segundo, con el rótulo fuera del
20305 \begin_layout Standard
20306 Las etiquetas específicas y la salida de los atributos para cada tipo de
20307 párrafo puede ser controlado por medio de las etiquetas de formato que
20309 Como mencionamos antes, sin embargo, LyX usa predefinidos adecuados para
20310 muchos de estos valores, por lo que generalmente no necesitarás hacer nada
20311 para obtener una buena salida XHTML.
20312 Partiendo de las etiquetas ya disponibles puedes afinar lascosas a tu gusto.
20315 \begin_layout Description
20316 \begin_inset Flex Code
20319 \begin_layout Plain Layout
20326 \begin_inset Flex Code
20329 \begin_layout Plain Layout
20335 ] Especifica información de los atributos a entregar con la etiqueta principal.
20337 \begin_inset Quotes eld
20341 \begin_inset Flex Code
20344 \begin_layout Plain Layout
20351 \begin_inset Quotes erd
20355 Por omisión, LyX producirá
20356 \begin_inset Quotes eld
20360 \begin_inset Flex Code
20363 \begin_layout Plain Layout
20370 \begin_inset Quotes erd
20374 \begin_inset Flex Code
20377 \begin_layout Plain Layout
20383 es el nombre del formato en LyX, en minúsculas, por ejemplo: chapter.
20388 debería contener ninguna información de estilo.
20390 \begin_inset Flex Code
20393 \begin_layout Plain Layout
20399 para ese propósito.
20402 \begin_layout Description
20403 \begin_inset Flex Code
20406 \begin_layout Plain Layout
20413 \begin_inset Flex Code
20416 \begin_layout Plain Layout
20425 \begin_inset space \thinspace{}
20429 \begin_inset Flex Code
20432 \begin_layout Plain Layout
20438 ] Si producir la información CSS predeterminada que LyX genera para este
20439 formato, incluso si se proporciona explícitamente información adicional
20441 \begin_inset Flex Code
20444 \begin_layout Plain Layout
20452 \begin_inset Flex Code
20455 \begin_layout Plain Layout
20461 permite alterar o aumentar el CSS generado, no sobrescribirlo totalmente.
20463 \begin_inset Flex Code
20466 \begin_layout Plain Layout
20475 \begin_layout Description
20476 \begin_inset Flex Code
20479 \begin_layout Plain Layout
20486 \begin_inset Flex Code
20489 \begin_layout Plain Layout
20495 ] Etiqueta a usar para párrafos individuales de entornos, reemplazando
20496 \begin_inset Flex Code
20499 \begin_layout Plain Layout
20505 en los ejemplos de arriba.
20507 \begin_inset Flex Code
20510 \begin_layout Plain Layout
20519 \begin_layout Description
20520 \begin_inset Flex Code
20523 \begin_layout Plain Layout
20530 \begin_inset Flex Code
20533 \begin_layout Plain Layout
20539 ] Atributos para la etiqueta ítem.
20541 \begin_inset Quotes eld
20545 \begin_inset Flex Code
20548 \begin_layout Plain Layout
20549 class=`layoutname_item'
20555 \begin_inset Quotes erd
20563 debería contener ninguna información de estilo.
20565 \begin_inset Flex Code
20568 \begin_layout Plain Layout
20574 para ese propósito.
20577 \begin_layout Description
20578 \begin_inset Flex Code
20581 \begin_layout Plain Layout
20588 \begin_inset Flex Code
20591 \begin_layout Plain Layout
20597 ] Etiqueta a usar para rótulos de párrafos e ítems, reemplazando
20598 \begin_inset Flex Code
20601 \begin_layout Plain Layout
20607 en los ejemplos de arriba.
20609 \begin_inset Flex Code
20612 \begin_layout Plain Layout
20619 \begin_inset Flex Code
20622 \begin_layout Plain Layout
20629 \begin_inset Flex Code
20632 \begin_layout Plain Layout
20639 \begin_inset Flex Code
20642 \begin_layout Plain Layout
20643 Centered_Top_Environment
20648 , en cuyos casos es
20649 \begin_inset Flex Code
20652 \begin_layout Plain Layout
20661 \begin_layout Description
20662 \begin_inset Flex Code
20665 \begin_layout Plain Layout
20672 \begin_inset Flex Code
20675 \begin_layout Plain Layout
20681 ] Atributos para la etiqueta del rótulo.
20683 \begin_inset Quotes eld
20687 \begin_inset Flex Code
20690 \begin_layout Plain Layout
20691 class=`layoutname_label'
20697 \begin_inset Quotes erd
20705 debería contener ninguna información de estilo.
20707 \begin_inset Flex Code
20710 \begin_layout Plain Layout
20716 para ese propósito.
20719 \begin_layout Description
20720 \begin_inset Flex Code
20723 \begin_layout Plain Layout
20730 \begin_inset Flex Code
20733 \begin_layout Plain Layout
20742 \begin_inset space \thinspace{}
20746 \begin_inset Flex Code
20749 \begin_layout Plain Layout
20755 ] Solo es significativo para entornos tipo lista, esta etiqueta controla
20756 si la etiqueta de rótulo se genera antes o dentro de la etiqueta de ítem.
20757 Se usa, por ejemplo, en el entorno descripción, donde queremos `
20758 \begin_inset Flex Code
20761 \begin_layout Plain Layout
20762 <dt>\SpecialChar \ldots{}
20763 </dt><dd>\SpecialChar \ldots{}
20771 \begin_inset Flex Code
20774 \begin_layout Plain Layout
20780 : la etiqueta de rótulo se genera dentro de la etiqueta de ítem.
20783 \begin_layout Description
20784 \begin_inset Flex Code
20787 \begin_layout Plain Layout
20793 Información para generar en la sección
20794 \begin_inset Flex Code
20797 \begin_layout Plain Layout
20803 cuando se usa este estilo.
20804 Esto podría, por ejemplo, utilizarse para incluir un bloque
20805 \begin_inset Flex Code
20808 \begin_layout Plain Layout
20814 definiendo un controlador
20815 \begin_inset Flex Code
20818 \begin_layout Plain Layout
20827 \begin_layout Description
20828 \begin_inset Flex Code
20831 \begin_layout Plain Layout
20837 Información de estilo CSS a incluir cuando se usa este estilo.
20838 Advertimos que esto será automáticamente envuelto en un bloque
20839 \begin_inset Flex Code
20842 \begin_layout Plain Layout
20848 generado por el formato, por tanto solo es necesario incluir el propio
20855 \begin_inset Flex Code
20858 \begin_layout Plain Layout
20867 \begin_layout Description
20868 \begin_inset Flex Code
20871 \begin_layout Plain Layout
20878 \begin_inset Flex Code
20881 \begin_layout Plain Layout
20887 ] Etiqueta para el rótulo principal, reemplazando
20888 \begin_inset Flex Code
20891 \begin_layout Plain Layout
20897 en losejemplos de arriba.
20899 \begin_inset Flex Code
20902 \begin_layout Plain Layout
20911 \begin_layout Description
20912 \begin_inset Flex Code
20915 \begin_layout Plain Layout
20922 \begin_inset Flex Code
20925 \begin_layout Plain Layout
20934 \begin_inset space \thinspace{}
20938 \begin_inset Flex Code
20941 \begin_layout Plain Layout
20947 ] Marca este estilo como el que se va a usar para generar la etiqueta
20948 \begin_inset Flex Code
20951 \begin_layout Plain Layout
20957 para el archivo XHTML.
20958 Por omisión, es falso.
20960 \begin_inset Flex Code
20963 \begin_layout Plain Layout
20969 lo establece verdadero para el entorno
20970 \begin_inset Flex Code
20973 \begin_layout Plain Layout
20983 \begin_layout Subsection
20987 \begin_layout Standard
20988 La salida XHTML de los recuadros también se puede controlar por información
20989 en archivos 'layout'.
20993 \begin_layout Plain Layout
20994 Por ahora, esto solo es cierto para recuadros de
20995 \begin_inset Quotes eld
20999 \begin_inset Quotes erd
21002 (recuadros en los que puedes escribir) y no para recuadros de
21003 \begin_inset Quotes eld
21007 \begin_inset Quotes erd
21010 (recuadros asociados con cuadros de diálogo).
21015 También en este caso, LyX intenta proporcionar valores predefinidos adecuados,
21016 y construye reglas de estilo CSS, pero todo puede personalizarse.
21019 \begin_layout Standard
21020 Para los recuadros, LyX produce XHTML en la forma:
21023 \begin_layout LyX-Code
21025 \begin_inset Quotes erd
21029 \begin_inset Quotes erd
21035 \begin_layout LyX-Code
21036 <labeltag>Label</labeltag>
21039 \begin_layout LyX-Code
21041 \begin_inset Quotes erd
21045 \begin_inset Quotes erd
21048 >Contents of the inset.</innertag>
21051 \begin_layout LyX-Code
21055 \begin_layout Standard
21056 Si el recuadro permite párrafos múltiples ---o sea, si
21057 \begin_inset Flex Code
21060 \begin_layout Plain Layout
21066 es verdadero--- el contenido del recuadro se generará en forma de párrafos
21067 estructurados según los estilos usados para dichos párrafos (normal, cita,
21069 El rótulo de la etiqueta se omite si el párrafo no lo tiene y, por el momento,
21071 \begin_inset Flex Code
21074 \begin_layout Plain Layout
21081 La etiqueta interior es opcional y, por omisión, no aparece.
21084 \begin_layout Standard
21085 Las etiquetas y atributos específicos para cada recuadro se pueden controlar
21086 mediante las siguientes etiquetas de formato.
21089 \begin_layout Description
21090 \begin_inset Flex Code
21093 \begin_layout Plain Layout
21100 \begin_inset Flex Code
21103 \begin_layout Plain Layout
21109 ] Especifica información de atributos a generar con la etiqueta principal.
21111 \begin_inset Quotes eld
21115 \begin_inset Flex Code
21118 \begin_layout Plain Layout
21119 class=`myinset' onclick=`\SpecialChar \ldots{}
21126 \begin_inset Quotes erd
21130 Por omisión, LyX generará
21131 \begin_inset Quotes eld
21135 \begin_inset Flex Code
21138 \begin_layout Plain Layout
21145 \begin_inset Quotes erd
21149 \begin_inset Flex Code
21152 \begin_layout Plain Layout
21158 es el nombre del recuadro en LyX, en minúsculas y con los caracteres no
21159 alfanuméricos convertidos en guiones bajos, por ejemplo: footnote.
21162 \begin_layout Description
21163 \begin_inset Flex Code
21166 \begin_layout Plain Layout
21173 \begin_inset Flex Code
21176 \begin_layout Plain Layout
21185 \begin_inset space \thinspace{}
21189 \begin_inset Flex Code
21192 \begin_layout Plain Layout
21198 ] Si producir la información CSS predeterminadad que LyX genera para este
21199 formato, incluso si se da explícitamente información adicional con
21200 \begin_inset Flex Code
21203 \begin_layout Plain Layout
21211 \begin_inset Flex Code
21214 \begin_layout Plain Layout
21220 parmite alterar o aumentar el CSS generado, en vez de sobrescribirlo.
21224 \begin_layout Description
21225 \begin_inset Flex Code
21228 \begin_layout Plain Layout
21235 \begin_inset Flex Code
21238 \begin_layout Plain Layout
21244 ] Atributos para la etiqueta interna.
21246 \begin_inset Quotes eld
21250 \begin_inset Flex Code
21253 \begin_layout Plain Layout
21254 class=`insetname_inner'
21260 \begin_inset Quotes erd
21266 \begin_layout Description
21267 \begin_inset Flex Code
21270 \begin_layout Plain Layout
21277 \begin_inset Flex Code
21280 \begin_layout Plain Layout
21286 ] La etiqueta interna, reemplazando
21287 \begin_inset Flex Code
21290 \begin_layout Plain Layout
21296 en los ejemplos de arriba.
21297 Por omisión, ninguna.
21300 \begin_layout Description
21301 \begin_inset Flex Code
21304 \begin_layout Plain Layout
21311 \begin_inset Flex Code
21314 \begin_layout Plain Layout
21321 \begin_inset space \thinspace{}
21325 \begin_inset Flex Code
21328 \begin_layout Plain Layout
21336 ] Si este recuadro representa un bloque de texto independiente (como una
21337 nota al pie) o bien representa material que está incluido en el texto circundan
21338 te (como una rama).
21342 \begin_layout Description
21343 \begin_inset Flex Code
21346 \begin_layout Plain Layout
21353 \begin_inset Flex Code
21356 \begin_layout Plain Layout
21362 ] Un rótulo para este recuadro, posiblemente incluyendo una referencia a
21364 Por ejemplo, para notas al pie, podría ser:
21365 \begin_inset Flex Code
21368 \begin_layout Plain Layout
21377 Esto es opcional y no hay valor predeterminado.
21380 \begin_layout Description
21381 \begin_inset Flex Code
21384 \begin_layout Plain Layout
21390 Información que saldrá en la sección
21391 \begin_inset Flex Code
21394 \begin_layout Plain Layout
21400 cuando se usa este estilo.
21401 Esto podría usarse, por ejemplo, para incluir un bloque
21402 \begin_inset Flex Code
21405 \begin_layout Plain Layout
21411 que defina un controlador
21412 \begin_inset Flex Code
21415 \begin_layout Plain Layout
21424 \begin_layout Description
21425 \begin_inset Flex Code
21428 \begin_layout Plain Layout
21434 Información de estilo CSS a incluir cuando se usa este estilo.
21435 Esto será automáticamente envuelto en un bloque
21436 \begin_inset Flex Code
21439 \begin_layout Plain Layout
21445 generado por el formato, por lo que solo hay que incluir el propio CSS.
21448 \begin_layout Description
21449 \begin_inset Flex Code
21452 \begin_layout Plain Layout
21459 \begin_inset Flex Code
21462 \begin_layout Plain Layout
21468 ] La etiqueta a usar para el rótulo principal, reemplazando
21469 \begin_inset Flex Code
21472 \begin_layout Plain Layout
21478 en los ejemplos de arriba.
21479 El valor por omisión depende de
21480 \begin_inset Flex Code
21483 \begin_layout Plain Layout
21490 \begin_inset Flex Code
21493 \begin_layout Plain Layout
21500 \begin_inset Flex Code
21503 \begin_layout Plain Layout
21509 ; si es falso, el valor por omisión es
21510 \begin_inset Flex Code
21513 \begin_layout Plain Layout
21522 \begin_layout Subsection
21526 \begin_layout Standard
21527 La salida XHTML para flotantes también se puede controlar mediante información
21528 en archivos 'layout'.
21529 La salida tiene la forma:
21532 \begin_layout LyX-Code
21534 \begin_inset Quotes erd
21538 \begin_inset Quotes erd
21544 \begin_layout LyX-Code
21545 Contents of the float.
21548 \begin_layout LyX-Code
21552 \begin_layout Standard
21553 La leyenda, si la hay, es un recuadro separado y se generará como tal.
21554 Su aspecto puede controlarse con InsetLayout para recuadros de leyendas.
21558 \begin_layout Description
21559 \begin_inset Flex Code
21562 \begin_layout Plain Layout
21569 \begin_inset Flex Code
21572 \begin_layout Plain Layout
21578 ] Especifica información de los atributos a generar con la etiqueta principal,
21580 \begin_inset Quotes eld
21584 \begin_inset Flex Code
21587 \begin_layout Plain Layout
21588 class=`myfloat' onclick=`\SpecialChar \ldots{}
21595 \begin_inset Quotes erd
21599 Por omisión, LyX generará
21600 \begin_inset Quotes eld
21604 \begin_inset Flex Code
21607 \begin_layout Plain Layout
21608 class=`float float-floattype'
21614 \begin_inset Quotes erd
21618 \begin_inset Flex Code
21621 \begin_layout Plain Layout
21627 es el nombre en LyX para este tipo de flotante, como determina la declaración
21629 \begin_inset CommandInset ref
21631 reference "sub:Flotantes"
21635 ), aunque en minúsculas y con los caracteres no alfanuméricos sustituidos
21636 por guiones bajos, por ejemplo: float-table.
21639 \begin_layout Description
21640 \begin_inset Flex Code
21643 \begin_layout Plain Layout
21649 Información de estilo CSS a incluir cuando se usa este flotante.
21650 Esto será automáticamente envuelto en un bloque
21651 \begin_inset Flex Code
21654 \begin_layout Plain Layout
21660 generado por el formato, por lo que solo hay que incluir el propio CSS.
21663 \begin_layout Description
21664 \begin_inset Flex Code
21667 \begin_layout Plain Layout
21674 \begin_inset Flex Code
21677 \begin_layout Plain Layout
21683 ] La etiqueta a usar para este flotante, reemplazando "
21684 \begin_inset Flex Code
21687 \begin_layout Plain Layout
21693 " en el ejemplo de arriba.
21694 El valor por omisión es
21695 \begin_inset Flex Code
21698 \begin_layout Plain Layout
21704 y raramente habrá que cambiarlo.
21707 \begin_layout Subsection
21708 Formato de la Bibliografía
21711 \begin_layout Standard
21712 La bibliografía se puede formatear usando bloques
21713 \begin_inset Flex Code
21716 \begin_layout Plain Layout
21724 \begin_inset CommandInset ref
21726 reference "sub:Descripción-formato-cita"
21733 \begin_layout Subsection
21734 CSS generado por LyX
21737 \begin_layout Standard
21738 Hemos mencionado ya que LyX generará reglas de estilo CSS predeterminadas
21739 para recuadros y estilos de párrafo, basados en la información suministrada
21740 para otros formatos.
21741 En esta sección comentaremos qué información usa LyX y cómo la usa.
21744 \begin_layout Standard
21745 Actualmente, LyX auto-genera CSS solo para información sobre tipografías,
21747 \begin_inset Flex Code
21750 \begin_layout Plain Layout
21757 \begin_inset Flex Code
21760 \begin_layout Plain Layout
21767 \begin_inset Flex Code
21770 \begin_layout Plain Layout
21777 \begin_inset Flex Code
21780 \begin_layout Plain Layout
21786 especificados en la declaración
21787 \begin_inset Flex Code
21790 \begin_layout Plain Layout
21798 \begin_inset CommandInset ref
21800 reference "sub:Tipografías"
21804 .) La traducción es bastante sencilla y evidente.
21806 \begin_inset Quotes eld
21810 \begin_inset Flex Code
21813 \begin_layout Plain Layout
21820 \begin_inset Quotes erd
21824 \begin_inset Quotes eld
21828 \begin_inset Flex Code
21831 \begin_layout Plain Layout
21832 font-family: sans-serif;
21838 \begin_inset Quotes erd
21842 La correspondencia entre tamaños LyX y tamaños CSS es un poco menos obvia,
21843 pero intuitiva en todo caso.
21845 \begin_inset Flex Code
21848 \begin_layout Plain Layout
21855 \begin_inset Flex URL
21858 \begin_layout Plain Layout
21869 \begin_layout Chapter
21870 Inserción de material externo
21871 \begin_inset CommandInset label
21873 name "chap:Inserción-de-material"
21880 \begin_layout Standard
21881 \begin_inset Box Shadowbox
21891 height_special "totalheight"
21894 \begin_layout Plain Layout
21895 AVISO: Esta parte de la documentación no ha sido actualizada desde hace
21897 Esperamos que aún sea adecuada, pero no hay garantías.
21905 \begin_layout Standard
21906 El uso de material de procedencia externa a LyX se trata con detalle en
21912 En el presente documento se trata sobre lo que debe suceder entre bambalinas
21913 para incluir nuevas clases de material.
21916 \begin_layout Section
21920 \begin_layout Standard
21921 La característica material externo se basa en el concepto
21926 Una plantilla es una especificación de la forma en que LyX interactúa con
21927 ciertos tipos de material.
21928 De por sí, LyX incluye plantillas predefinidas para figuras Xfig, varios
21929 tipos de imágenes raster, diagramas de ajedrez y notación musical LilyPond.
21930 Puedes comprobar la lista actual en el menú
21931 \begin_inset Flex MenuItem
21934 \begin_layout Plain Layout
21935 Insertar\SpecialChar \menuseparator
21936 Archivo\SpecialChar \menuseparator
21943 Además, es posible construir plantillas propias para soportar determinado
21945 Más tarde describiremos con más detalle lo que esto implica, y esperamos
21946 que nos envíes tus plantillas para que se puedan incluir en próximas versiones
21950 \begin_layout Standard
21951 Otra idea básica de la característica material externo es distinguir entre
21952 el archivo original que sirve como base para el material final y el archivo
21953 generado que se incluye en el documento impreso o exportado.
21954 Por ejemplo, consideremos el caso de una figura hecha con
21955 \begin_inset Flex Code
21958 \begin_layout Plain Layout
21965 El programa Xfig en sí mismo trabaja sobre un archivo original con extensión
21967 \begin_inset Flex Code
21970 \begin_layout Plain Layout
21977 Dentro de Xfig, se crea o modifica una figura y se guarda como un archivo
21979 \begin_inset Flex Code
21982 \begin_layout Plain Layout
21989 Para incluir la figura en un documento, se ejecuta
21990 \begin_inset Flex Code
21993 \begin_layout Plain Layout
21999 con el fin de crear un archivo PostScript que puede incluirse fácilmente
22000 en el archivo LaTeX.
22001 En este caso, el archivo
22002 \begin_inset Flex Code
22005 \begin_layout Plain Layout
22011 es el original, y el archivo PostScript es el archivo generado.
22014 \begin_layout Standard
22015 Esta distinción es importante para permitir la actualización del material
22016 durante el proceso de escritura del documento.
22017 Además, provee la flexibilidad necesaria para soportar múltiples formatos
22019 Por ejemplo, en el caso de un archivo de texto sencillo, no es una brillante
22020 idea incluir la figura como PostScript puro.
22021 En vez de esto, es preferible incluir solo una referencia a la figura o
22022 bien probar algún convertidor de gráficos a Ascii para que el resultado
22023 final se parezca al gráfico real.
22024 La gestión de material externo de LyX permite hacer esto porque se basa
22025 en parámetros apropiados para los diferentes formatos de exportación soportados.
22028 \begin_layout Standard
22029 Además de soportar la generación de diferentes productos de acuerdo con
22030 el formato de exportación, existe una profunda integración con las aplicaciones
22031 de edición y visualización.
22032 En el caso de figuras Xfig, es posible editar el archivo original en Xfig
22033 con un simple clic derecho sobre el recuadro y también previsualizar el
22034 PostScript generado con ghostview.
22035 Se acabaron los enredos con la línea de comandos y/o el navegador de archivos
22036 para localizar y manipular los archivos originales o los generados.
22037 De esta manera, se pueden por fin aprovechar las ventajas de muy diversas
22038 aplicaciones importantes para la composición de los documentos, y por tanto
22039 aumentar el rendimiento.
22042 \begin_layout Section
22043 El archivo de configuración de plantillas externas
22046 \begin_layout Standard
22047 Es relativamente fácil añadir en LyX definiciones personalizadas de plantillas
22049 Sin embargo, hay que ser consciente de que hacer esto de manera descuidada
22050 generará muy probablemente un agujero de seguridad fácil de explotar.
22051 Así pues, antes de hacer esto, lee por favor la discusión sobre seguridad
22053 \begin_inset CommandInset ref
22055 reference "sec:Discusión-sobre-seguridad"
22062 \begin_layout Standard
22063 Una vez dicho esto, te animamos a que envíes cualquiera plantilla interesante
22067 \begin_layout Standard
22068 Las plantillas externas se definen en el archivo
22069 \begin_inset Flex Code
22072 \begin_layout Plain Layout
22073 LyXDir/lib/external_templates
22079 Puedes colocar tus versiones propias en
22080 \begin_inset Flex Code
22083 \begin_layout Plain Layout
22084 UserDir/external_templates
22092 \begin_layout Standard
22093 Una plantilla típica tiene un aspecto como este:
22096 \begin_layout LyX-Code
22100 \begin_layout LyX-Code
22101 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
22104 \begin_layout LyX-Code
22108 \begin_layout LyX-Code
22112 \begin_layout LyX-Code
22116 \begin_layout LyX-Code
22120 \begin_layout LyX-Code
22124 \begin_layout LyX-Code
22125 AutomaticProduction true
22128 \begin_layout LyX-Code
22132 \begin_layout LyX-Code
22136 \begin_layout LyX-Code
22140 \begin_layout LyX-Code
22141 TransformCommand Rotate RotationLatexCommand
22144 \begin_layout LyX-Code
22145 TransformCommand Resize ResizeLatexCommand
22148 \begin_layout LyX-Code
22149 Product "$$RotateFront$$ResizeFront
22152 \begin_layout LyX-Code
22157 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
22160 \begin_layout LyX-Code
22161 $$ResizeBack$$RotateBack"
22164 \begin_layout LyX-Code
22168 \begin_layout LyX-Code
22169 UpdateResult "$$AbsPath$$Basename.pstex_t"
22172 \begin_layout LyX-Code
22173 Requirement "graphicx"
22176 \begin_layout LyX-Code
22177 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
22180 \begin_layout LyX-Code
22181 ReferencedFile latex "$$AbsPath$$Basename.eps"
22184 \begin_layout LyX-Code
22185 ReferencedFile dvi "$$AbsPath$$Basename.eps"
22188 \begin_layout LyX-Code
22192 \begin_layout LyX-Code
22196 \begin_layout LyX-Code
22197 TransformCommand Rotate RotationLatexCommand
22200 \begin_layout LyX-Code
22201 TransformCommand Resize ResizeLatexCommand
22204 \begin_layout LyX-Code
22205 Product "$$RotateFront$$ResizeFront
22208 \begin_layout LyX-Code
22213 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
22216 \begin_layout LyX-Code
22217 $$ResizeBack$$RotateBack"
22220 \begin_layout LyX-Code
22221 UpdateFormat pdftex
22224 \begin_layout LyX-Code
22225 UpdateResult "$$AbsPath$$Basename.pdftex_t"
22228 \begin_layout LyX-Code
22229 Requirement "graphicx"
22232 \begin_layout LyX-Code
22233 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
22236 \begin_layout LyX-Code
22237 ReferencedFile latex "$$AbsPath$$Basename.pdf"
22240 \begin_layout LyX-Code
22244 \begin_layout LyX-Code
22248 \begin_layout LyX-Code
22249 Product "$$Contents(
22251 "$$AbsPath$$Basename.asc
22256 \begin_layout LyX-Code
22257 UpdateFormat asciixfig
22260 \begin_layout LyX-Code
22261 UpdateResult "$$AbsPath$$Basename.asc"
22264 \begin_layout LyX-Code
22268 \begin_layout LyX-Code
22272 \begin_layout LyX-Code
22273 Product "<graphic fileref=
22275 "$$AbsOrRelPathMaster$$Basename.eps
22280 \begin_layout LyX-Code
22284 \begin_layout LyX-Code
22288 \begin_layout LyX-Code
22289 UpdateResult "$$AbsPath$$Basename.eps"
22292 \begin_layout LyX-Code
22293 ReferencedFile docbook "$$AbsPath$$Basename.eps"
22296 \begin_layout LyX-Code
22297 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
22300 \begin_layout LyX-Code
22304 \begin_layout LyX-Code
22305 Product "[XFig: $$FName]"
22308 \begin_layout LyX-Code
22312 \begin_layout LyX-Code
22316 \begin_layout Standard
22317 Como puedes ver, la plantilla se incluye entre
22318 \begin_inset Flex Code
22321 \begin_layout Plain Layout
22327 \SpecialChar \ldots{}
22329 \begin_inset Flex Code
22332 \begin_layout Plain Layout
22339 Contiene una cabecera que especifica algunas configuraciones generales
22340 y, por cada formato de archivo de documento primario soportado, una sección
22342 \begin_inset Flex Code
22345 \begin_layout Plain Layout
22351 \SpecialChar \ldots{}
22353 \begin_inset Flex Code
22356 \begin_layout Plain Layout
22365 \begin_layout Subsection
22366 La cabecera de la plantilla
22369 \begin_layout Description
22370 \begin_inset Flex Code
22373 \begin_layout Plain Layout
22374 AutomaticProduction
22375 \begin_inset space ~
22383 Si el archivo representado por la plantilla debe ser generado por LyX.
22384 Este comando debe aparecer exactamente una vez.
22387 \begin_layout Description
22388 \begin_inset Flex Code
22391 \begin_layout Plain Layout
22393 \begin_inset space ~
22401 Un patrón global que se usa en el diálogo del archivo para filtrar los
22403 Si hay más de una posible extensión de archivo (p.
22404 \begin_inset space \thinspace{}
22408 \begin_inset space ~
22412 \begin_inset Flex Code
22415 \begin_layout Plain Layout
22422 \begin_inset Flex Code
22425 \begin_layout Plain Layout
22431 ), se pone algo como
22432 \begin_inset Flex Code
22435 \begin_layout Plain Layout
22442 Este comando debe aparecer exactamente una vez.
22445 \begin_layout Description
22446 \begin_inset Flex Code
22449 \begin_layout Plain Layout
22451 \begin_inset space ~
22459 El texto mostrado sobre el botón.
22460 Este comando debe aparecer exactamente una vez.
22463 \begin_layout Description
22464 \begin_inset Flex Code
22467 \begin_layout Plain Layout
22469 \begin_inset space ~
22473 \begin_inset space ~
22481 El texto de ayuda que se muestra en diálogo.
22482 Da suficiente información sobre lo que puede proporcionar la plantilla.
22483 Este comando debe aparecer exactamente una vez.
22486 \begin_layout Description
22487 \begin_inset Flex Code
22490 \begin_layout Plain Layout
22492 \begin_inset space ~
22500 El formato de archivo del original.
22501 Debe ser el nombre de un formato conocido por LyX (véase la
22502 \begin_inset CommandInset ref
22504 reference "sec:Formatos"
22510 \begin_inset Quotes fld
22514 \begin_inset Flex Code
22517 \begin_layout Plain Layout
22524 \begin_inset Quotes frd
22527 si la plantilla puede manejar archivos originales o más de un formato.
22528 En este caso, LyX intentará inspeccionar el archivo mismo para deducir
22530 Este comando debe aparecer exactamente una vez.
22533 \begin_layout Description
22534 \begin_inset Flex Code
22537 \begin_layout Plain Layout
22539 \begin_inset space ~
22547 Un nombre único para la plantilla.
22548 No debe contener macros de sustitución (véase abajo).
22551 \begin_layout Description
22552 \begin_inset Flex Code
22555 \begin_layout Plain Layout
22557 \begin_inset space ~
22560 Rotate|Resize|Clip|Extra
22565 Este comando especifica qué transformaciones son soportadas por esta plantilla.
22566 Puede aparecer ninguna o varias veces.
22567 Este comando facilita las correspondientes pestañas en el diálogo de material
22570 \begin_inset Flex Code
22573 \begin_layout Plain Layout
22579 debe tener el correspondiente
22580 \begin_inset Flex Code
22583 \begin_layout Plain Layout
22590 \begin_inset Flex Code
22593 \begin_layout Plain Layout
22600 \begin_inset Flex Code
22603 \begin_layout Plain Layout
22610 De lo contrario la transformación no será soportada por ese formato.
22614 \begin_layout Subsection
22618 \begin_layout Description
22619 \begin_inset Flex Code
22622 \begin_layout Plain Layout
22624 \begin_inset space ~
22627 LaTeX|PDFLaTeX|PlainText|DocBook
22632 El formato de archivo del documento primario para el que es esta definición
22634 No toda plantilla tiene una representación sensible en los formatos de
22635 archivo de todos los documentos.
22636 No obstante, es preferible definir una sección
22637 \begin_inset Flex Code
22640 \begin_layout Plain Layout
22646 para todos los formatos.
22647 Se usa un texto postizo si no hay representación disponible.
22648 Entonces, al menos, se puede ver una referencia al material externo en
22649 el documento exportado.
22652 \begin_layout Description
22653 \begin_inset Flex Code
22656 \begin_layout Plain Layout
22658 \begin_inset space ~
22662 \begin_inset space ~
22670 Este comando define una macro adicional,
22671 \begin_inset Flex Code
22674 \begin_layout Plain Layout
22680 , para sustitución en
22681 \begin_inset Flex Code
22684 \begin_layout Plain Layout
22692 \begin_inset Flex Code
22695 \begin_layout Plain Layout
22701 puede contener en sí mismo macros de sustitución.
22702 La ventaja sobre el uso de
22703 \begin_inset Flex Code
22706 \begin_layout Plain Layout
22713 \begin_inset Flex Code
22716 \begin_layout Plain Layout
22722 es que el valor sustituido de
22723 \begin_inset Flex Code
22726 \begin_layout Plain Layout
22732 está saneado así que es un argumento opcional válido en el formato del
22734 Este comando puede aparecer ninguna o más veces.
22737 \begin_layout Description
22738 \begin_inset Flex Code
22741 \begin_layout Plain Layout
22743 \begin_inset space ~
22751 El texto que se inserta en el documento exportado.
22752 Realmente este es el comando más importante y puede ser bastante complejo.
22753 Este comando debe aparecer exactamente una vez.
22756 \begin_layout Description
22757 \begin_inset Flex Code
22760 \begin_layout Plain Layout
22762 \begin_inset space ~
22770 Este comando especifica un fragmento de preámbulo que se incluirá en el
22772 Tiene que definirse usando
22773 \begin_inset Flex Code
22776 \begin_layout Plain Layout
22782 \SpecialChar \ldots{}
22784 \begin_inset Flex Code
22787 \begin_layout Plain Layout
22794 Este comando puede aparecer ninguna o más veces.
22797 \begin_layout Description
22798 \begin_inset Flex Code
22801 \begin_layout Plain Layout
22803 \begin_inset space ~
22807 \begin_inset space ~
22815 Este comando indica los archivos que se crean por el proceso de conversión
22816 y que son necesarios para un formato de exportación particular.
22817 Si el nombre del archivo es relativo, se interpreta como relativo al documento
22819 Este comando puede darse ninguna o más veces.
22822 \begin_layout Description
22823 \begin_inset Flex Code
22826 \begin_layout Plain Layout
22828 \begin_inset space ~
22836 El nombre de un paquete LaTeX requerido.
22837 El paquete se incuye mediante
22838 \begin_inset Flex Code
22841 \begin_layout Plain Layout
22849 en el preámbulo LaTeX.
22850 Este comando puede aparecer ninguna o más veces.
22853 \begin_layout Description
22854 \begin_inset Flex Code
22857 \begin_layout Plain Layout
22859 \begin_inset space ~
22863 \begin_inset space ~
22866 RotationLatexCommand
22871 Este comando especifica que el comando LaTeX incluido debería usarse para
22873 Este comando puede aparecer una vez o ninguna.
22876 \begin_layout Description
22877 \begin_inset Flex Code
22880 \begin_layout Plain Layout
22882 \begin_inset space ~
22886 \begin_inset space ~
22894 Este comando especifica que el comando LaTeX incluido debería usarse para
22896 Este comando puede aparecer una vez o ninguna.
22899 \begin_layout Description
22900 \begin_inset Flex Code
22903 \begin_layout Plain Layout
22905 \begin_inset space ~
22909 \begin_inset space ~
22912 RotationLatexOption
22917 Este comando especifica que la rotación se hace mediante un argumento opcional.
22918 Este comando puede aparecer una vez o ninguna.
22921 \begin_layout Description
22922 \begin_inset Flex Code
22925 \begin_layout Plain Layout
22927 \begin_inset space ~
22931 \begin_inset space ~
22939 Este comando especifica que el cambio de tamaño se hace mediante un argumento
22941 Este comando puede aparecer una vez o ninguna
22944 \begin_layout Description
22945 \begin_inset Flex Code
22948 \begin_layout Plain Layout
22950 \begin_inset space ~
22954 \begin_inset space ~
22962 Este comando especifica que el recorte se hace mediante un argumento opcional.
22963 Este comando puede aparecer una vez o ninguna.
22966 \begin_layout Description
22967 \begin_inset Flex Code
22970 \begin_layout Plain Layout
22972 \begin_inset space ~
22976 \begin_inset space ~
22984 Este comando especifica que se usa un argumento extra opcional.
22985 Este comando puede aparecer una vez o ninguna.
22989 \begin_layout Description
22990 \begin_inset Flex Code
22993 \begin_layout Plain Layout
22995 \begin_inset space ~
23003 El formato de archivo del archivo convertido.
23004 Debe ser el nombre de un formato conocido por LyX (véase
23005 \begin_inset Flex MenuItem
23008 \begin_layout Plain Layout
23015 \begin_inset Flex MenuItem
23018 \begin_layout Plain Layout
23019 Gestión de archivos
23025 \begin_inset Flex MenuItem
23028 \begin_layout Plain Layout
23029 Herramientas\SpecialChar \menuseparator
23036 Este comando debe aparecer exactamente una vez.
23039 If the resulting file format is PDF, you need to specify the format
23040 \begin_inset Flex Code
23043 \begin_layout Plain Layout
23052 This is the PDF format used for including graphics.
23053 The other defined PDF formats are for document export.
23056 \begin_layout Description
23057 \begin_inset Flex Code
23060 \begin_layout Plain Layout
23062 \begin_inset space ~
23070 El nombre de archivo del archivo convertido.
23071 El nombre de archivo debe ser absoluto.
23072 Este comando debe aparecer exactamente una vez.
23075 \begin_layout Subsection
23076 Definiciones de preámbulo
23079 \begin_layout Standard
23080 El archivo de configuración de plantillas externas puede contener definiciones
23081 de preámbulo adicionales encerradas entre
23082 \begin_inset Flex Code
23085 \begin_layout Plain Layout
23091 \SpecialChar \ldots{}
23093 \begin_inset Flex Code
23096 \begin_layout Plain Layout
23103 Se pueden usar por las plantillas en la sección
23104 \begin_inset Flex Code
23107 \begin_layout Plain Layout
23116 \begin_layout Section
23117 El mecanismo de sustitución
23120 \begin_layout Standard
23121 Cuando la función de material externo recurre a un programa externo, se
23122 hace sobre la base de un comando definido en el archivo de configuración
23124 Estos comandos pueden contener varias macros que se expanden antes de su
23126 La ejecución tiene lugar siempre en el directorio del documento.
23130 \begin_layout Standard
23131 Además, cada vez que el material externo se va a mostrar, el nombre será
23132 generado por el mecanismo de sustitución, y la mayoría de los demás comandos
23133 en la definición de la plantilla soportan también sustitución.
23137 \begin_layout Standard
23138 Las macros disponibles son las siguientes:
23141 \begin_layout Description
23142 \begin_inset Flex Code
23145 \begin_layout Plain Layout
23146 $$AbsOrRelPathMaster
23151 La ruta del archivo, absoluta o relativa al documento LyX maestro.
23154 \begin_layout Description
23155 \begin_inset Flex Code
23158 \begin_layout Plain Layout
23159 $$AbsOrRelPathParent
23164 La ruta del archivo, absoluta o relativa al documento LyX.
23167 \begin_layout Description
23168 \begin_inset Flex Code
23171 \begin_layout Plain Layout
23177 La ruta absoluta del archivo.
23180 \begin_layout Description
23181 \begin_inset Flex Code
23184 \begin_layout Plain Layout
23190 El nombre de archivo sin ruta y sin la extensión.
23193 \begin_layout Description
23194 \begin_inset Flex Code
23197 \begin_layout Plain Layout
23199 \begin_inset Quotes eld
23203 \begin_inset Quotes erd
23211 Esta macro expandirá los contenidos del archivo con el nombre
23212 \begin_inset Flex Code
23215 \begin_layout Plain Layout
23224 \begin_layout Description
23225 \begin_inset Flex Code
23228 \begin_layout Plain Layout
23234 La extensión de archivo (incluyendo el punto).
23237 \begin_layout Description
23238 \begin_inset Flex Code
23241 \begin_layout Plain Layout
23247 El nombre de archivo del archivo especificado en el diálogo de material
23249 Esto es bien un nombre absoluto, bien relativo al documento LyX.
23252 \begin_layout Description
23253 \begin_inset Flex Code
23256 \begin_layout Plain Layout
23262 La parte de la ruta de
23263 \begin_inset Flex Code
23266 \begin_layout Plain Layout
23272 (nombre absoluto o relativo al documento LyX).
23275 \begin_layout Description
23276 \begin_inset Flex Code
23279 \begin_layout Plain Layout
23285 La ruta del archivo, relativa al documento maestro LyX.
23288 \begin_layout Description
23289 \begin_inset Flex Code
23292 \begin_layout Plain Layout
23298 La ruta del archivo, relativa al documento LyX.
23301 \begin_layout Description
23302 \begin_inset Flex Code
23305 \begin_layout Plain Layout
23311 Esta macro expandirá a la ruta absoluta del directorio de sistema.
23312 Esto se usa habitualmente para apuntar a los varios guiones de ayuda que
23313 se empaquetan con LyX.
23316 \begin_layout Description
23317 \begin_inset Flex Code
23320 \begin_layout Plain Layout
23326 Un nombre y ruta completa a un directorio temporal que será borrado automáticam
23327 ente siempre que el documento se cierra, o se suprime la inserción de material
23331 \begin_layout Standard
23332 Todas las macros de ruta contienen un separador de rastreo del directorio,
23333 así se puede construir, p.
23334 \begin_inset space \thinspace{}
23337 e., el nombre de archivo absoluto con
23338 \begin_inset Flex Code
23341 \begin_layout Plain Layout
23342 $$AbsPath$$Basename$$Extension
23350 \begin_layout Standard
23351 Las macros anteriores son sustituidas en todos los comandos a menos que
23352 se indique lo contrario.
23354 \begin_inset Flex Code
23357 \begin_layout Plain Layout
23363 soporta adicionalmente las siguientes sustituciones si se habilitan por
23365 \begin_inset Flex Code
23368 \begin_layout Plain Layout
23375 \begin_inset Flex Code
23378 \begin_layout Plain Layout
23387 \begin_layout Description
23388 \begin_inset Flex Code
23391 \begin_layout Plain Layout
23397 La parte delantera del comando para cambiar el tamaño.
23400 \begin_layout Description
23401 \begin_inset Flex Code
23404 \begin_layout Plain Layout
23410 La parte trasera del comando para cambiar el tamaño.
23413 \begin_layout Description
23414 \begin_inset Flex Code
23417 \begin_layout Plain Layout
23423 La parte delantera del comando para la rotación.
23426 \begin_layout Description
23427 \begin_inset Flex Code
23430 \begin_layout Plain Layout
23436 La parte trasera del comando para la rotación.
23439 \begin_layout Standard
23440 La cadena de valor del comando
23441 \begin_inset Flex Code
23444 \begin_layout Plain Layout
23450 soporta adicionalmente las siguientes sustituciones si éstas se han habilitado
23452 \begin_inset Flex Code
23455 \begin_layout Plain Layout
23462 \begin_inset Flex Code
23465 \begin_layout Plain Layout
23474 \begin_layout Description
23475 \begin_inset Flex Code
23478 \begin_layout Plain Layout
23487 \begin_layout Description
23488 \begin_inset Flex Code
23491 \begin_layout Plain Layout
23500 \begin_layout Description
23501 \begin_inset Flex Code
23504 \begin_layout Plain Layout
23510 La opción cambio de tamaño.
23513 \begin_layout Description
23514 \begin_inset Flex Code
23517 \begin_layout Plain Layout
23523 La opción rotación.
23526 \begin_layout Standard
23527 Te puedes preguntar por qué hay tantas macros de ruta.
23528 Por dos razones, principalmente:
23531 \begin_layout Enumerate
23532 Los nombres de archivo relativo y absoluto deberían permanecer relativo
23533 o absoluto, respectivamente.
23534 Los usuarios pueden tener razones para preferir cualquiera de ambas formas.
23535 Los nombres relativos son útiles para documentos portables que deberían
23536 funcionar en máquinas diferentes, por ejemplo.
23537 Los nombres absolutos pueden ser requeridos por algunos programas.
23540 \begin_layout Enumerate
23541 LaTeX procesa los nombres de archivo relativos de manera diferente a LyX
23542 y otros programas en archivos anidados incluidos.
23543 Para LyX, un nombre de archivo relativo es siempre relativo al documento
23544 que contiene el nombre de archivo.
23545 Para LaTeX, es siempre relativo al documento maestro.
23546 Estas dos definiciones son idénticas si se tiene solo un documento, pero
23547 son distintas si se tiene un documento maestro que incluye documentos parciales.
23548 Esto quiere decir que los nombres de archivo relativos deben ser transformados
23549 cuando se presentan a LaTeX.
23550 Afortunadamente, LyX hace esto automáticamente si se eligen las macros
23554 \begin_layout Standard
23555 Así pues, ¿qué macros de ruta deberían emplearse en las definiciones de
23556 plantillas nuevas? La regla no es difícil:
23559 \begin_layout Itemize
23561 \begin_inset Flex Code
23564 \begin_layout Plain Layout
23570 si se requiere una ruta absoluta.
23573 \begin_layout Itemize
23575 \begin_inset Flex Code
23578 \begin_layout Plain Layout
23579 $$AbsOrRelPathMaster
23584 si la cadena sustituida es algún tipo de entrada LaTeX.
23587 \begin_layout Itemize
23589 \begin_inset Flex Code
23592 \begin_layout Plain Layout
23593 $$AbsOrRelPathParent
23598 con el fin de preservar la elección del usuario.
23601 \begin_layout Standard
23602 Hay casos especiales en los que esta regla no funciona y se necesitan, p.
23603 \begin_inset space \thinspace{}
23606 e., nombres relativos, pero normalmente funcionará bien.
23607 Un ejemplo de uno de estos casos es el comando
23608 \begin_inset Flex Code
23611 \begin_layout Plain Layout
23612 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
23617 en la plantilla XFig de arriba: no podemos usar el nombre absoluto porque
23618 el copiador para archivos
23619 \begin_inset Flex Code
23622 \begin_layout Plain Layout
23628 necesita el nombre relativo para reescribir el contenido del archivo.
23631 \begin_layout Section
23632 Discusión sobre seguridad
23633 \begin_inset CommandInset label
23635 name "sec:Discusión-sobre-seguridad"
23642 \begin_layout Standard
23643 La función material externo interactúa con muchos programas externos y lo
23644 hace de forma automática, así que hemos de tener en cuenta las implicaciones
23645 de seguridad que esto conlleva.
23646 En particular, puesto que tienes la opción de incluir tus propios archivos
23647 y/o cadenas de parámetros y estos se expanden en un comando, parece posible
23648 crear un documento malicioso que ejecute comandos arbitrarios cuando un
23649 usuario ve o imprime el documento.
23650 Esto es algo que definitivamente queremos evitar.
23654 \begin_layout Standard
23655 Sin embargo, dado que los comandos de material externo se especifican solo
23656 en el archivo de configuración de la plantilla, no hay problemas de seguridad
23657 si LyX está adecuadamente configurado solo con plantillas seguras.
23658 Esto es así porque los programas externos se invocan con la llamada al
23660 \begin_inset Flex Code
23663 \begin_layout Plain Layout
23669 más bien que con la llamada
23670 \begin_inset Flex Code
23673 \begin_layout Plain Layout
23679 , de modo que no es posible ejecutar comandos arbitrarios desde la sección
23680 del nombre de archivo o de parámetros mediante el shell.
23683 \begin_layout Standard
23684 Esto implica además que hay restricciones en las cadenas de comandos que
23685 puedes usar en las plantillas de material externo.
23686 En particular, las tuberías y la redirección no están fácilmente disponibles.
23687 Esto debe ser así para que LyX permanezca seguro.
23688 Si quieres usar algunas características de shell, deberías escribir un
23689 guión seguro para hacerlo de manera controlada, y después invocar el guión
23690 desde la cadena de comandos.
23693 \begin_layout Standard
23694 Es posible diseñar una plantilla que interactúe directamente con el shell,
23695 pero puesto que esto permitiría a un usuario malicioso ejecutar comandos
23696 arbitrarios escribiendo nombres de archivo y/o parámetros astutos, generalmente
23697 recomendamos usar solo guiones seguros que trabajen con la llamada
23698 \begin_inset Flex Code
23701 \begin_layout Plain Layout
23707 al sistema en forma controlada.
23708 Por supuesto, para usar en un entorno controlado, puede ser tentador caer
23709 en el uso de guiones de shell ordinarios.
23710 Si lo haces así, sé consciente de que vas a suministrar un agujero se seguridad
23711 fácilmente explotable en tu sistema.
23712 Evidentemente, es de razón que tales plantillas inseguras nunca serán incluidas
23713 en la distribución estándar de LyX, aunque alentamos a la gente a que,
23714 a la usanza del software libre, envíe nuevas plantillas.
23715 No obstante, LyX nunca tendrá plantillas inseguras tal y como se distribuye
23716 por los canales oficiales.
23719 \begin_layout Standard
23720 Incluir material externo suministra mucha potencia y has de ser cuidadoso
23721 en no introducir riesgos de seguridad a costa de esta potencia.
23722 Un sutil error en una simple línea en un guión aparentemente inocente puede
23723 abrir la puerta a graves problemas de seguridad.
23724 Así, si no comprendes totalmente estos asuntos, recomendamos consultar
23725 a un profesional entendido en seguridad o al equipo de desarrollo de LyX
23726 si tienes dudas acerca de si una plantilla dada es o no segura.
23727 Y hazlo antes de usarla en un entorno no controlado.
23730 \begin_layout Chapter
23734 List of functions to be used in layouts
23737 \begin_inset CommandInset label
23739 name "chap:List-of-functions"
23746 \begin_layout Standard
23748 \begin_inset Tabular
23749 <lyxtabular version="3" rows="11" columns="8">
23750 <features rotate="0" tabularvalignment="middle">
23751 <column alignment="left" valignment="top">
23752 <column alignment="left" valignment="top">
23753 <column alignment="left" valignment="top">
23754 <column alignment="left" valignment="top">
23755 <column alignment="left" valignment="top">
23756 <column alignment="left" valignment="top">
23757 <column alignment="left" valignment="top">
23758 <column alignment="left" valignment="top">
23760 <cell alignment="left" valignment="top" usebox="none">
23763 \begin_layout Plain Layout
23769 <cell alignment="left" valignment="top" usebox="none">
23772 \begin_layout Plain Layout
23778 <cell alignment="left" valignment="top" usebox="none">
23781 \begin_layout Plain Layout
23787 <cell alignment="left" valignment="top" usebox="none">
23790 \begin_layout Plain Layout
23796 <cell alignment="center" valignment="top" usebox="none">
23799 \begin_layout Plain Layout
23805 <cell alignment="center" valignment="top" usebox="none">
23808 \begin_layout Plain Layout
23814 <cell alignment="center" valignment="top" usebox="none">
23817 \begin_layout Plain Layout
23823 <cell alignment="center" valignment="top" usebox="none">
23826 \begin_layout Plain Layout
23834 <cell alignment="left" valignment="top" usebox="none">
23837 \begin_layout Plain Layout
23843 <cell alignment="left" valignment="top" usebox="none">
23846 \begin_layout Plain Layout
23852 <cell alignment="left" valignment="top" usebox="none">
23855 \begin_layout Plain Layout
23861 <cell alignment="left" valignment="top" usebox="none">
23864 \begin_layout Plain Layout
23870 <cell alignment="center" valignment="top" usebox="none">
23873 \begin_layout Plain Layout
23879 <cell alignment="center" valignment="top" usebox="none">
23882 \begin_layout Plain Layout
23888 <cell alignment="center" valignment="top" usebox="none">
23891 \begin_layout Plain Layout
23897 <cell alignment="center" valignment="top" usebox="none">
23900 \begin_layout Plain Layout
23908 <cell alignment="left" valignment="top" usebox="none">
23911 \begin_layout Plain Layout
23917 <cell alignment="left" valignment="top" usebox="none">
23920 \begin_layout Plain Layout
23926 <cell alignment="left" valignment="top" usebox="none">
23929 \begin_layout Plain Layout
23935 <cell alignment="left" valignment="top" usebox="none">
23938 \begin_layout Plain Layout
23944 <cell alignment="center" valignment="top" usebox="none">
23947 \begin_layout Plain Layout
23953 <cell alignment="center" valignment="top" usebox="none">
23956 \begin_layout Plain Layout
23962 <cell alignment="center" valignment="top" usebox="none">
23965 \begin_layout Plain Layout
23971 <cell alignment="center" valignment="top" usebox="none">
23974 \begin_layout Plain Layout
23982 <cell alignment="left" valignment="top" usebox="none">
23985 \begin_layout Plain Layout
23991 <cell alignment="left" valignment="top" usebox="none">
23994 \begin_layout Plain Layout
24000 <cell alignment="left" valignment="top" usebox="none">
24003 \begin_layout Plain Layout
24009 <cell alignment="left" valignment="top" usebox="none">
24012 \begin_layout Plain Layout
24018 <cell alignment="center" valignment="top" usebox="none">
24021 \begin_layout Plain Layout
24027 <cell alignment="center" valignment="top" usebox="none">
24030 \begin_layout Plain Layout
24036 <cell alignment="center" valignment="top" usebox="none">
24039 \begin_layout Plain Layout
24045 <cell alignment="center" valignment="top" usebox="none">
24048 \begin_layout Plain Layout
24056 <cell alignment="left" valignment="top" usebox="none">
24059 \begin_layout Plain Layout
24065 <cell alignment="left" valignment="top" usebox="none">
24068 \begin_layout Plain Layout
24074 <cell alignment="left" valignment="top" usebox="none">
24077 \begin_layout Plain Layout
24083 <cell alignment="left" valignment="top" usebox="none">
24086 \begin_layout Plain Layout
24092 <cell alignment="center" valignment="top" usebox="none">
24095 \begin_layout Plain Layout
24101 <cell alignment="center" valignment="top" usebox="none">
24104 \begin_layout Plain Layout
24110 <cell alignment="center" valignment="top" usebox="none">
24113 \begin_layout Plain Layout
24119 <cell alignment="center" valignment="top" usebox="none">
24122 \begin_layout Plain Layout
24130 <cell alignment="left" valignment="top" usebox="none">
24133 \begin_layout Plain Layout
24139 <cell alignment="left" valignment="top" usebox="none">
24142 \begin_layout Plain Layout
24148 <cell alignment="left" valignment="top" usebox="none">
24151 \begin_layout Plain Layout
24157 <cell alignment="left" valignment="top" usebox="none">
24160 \begin_layout Plain Layout
24166 <cell alignment="center" valignment="top" usebox="none">
24169 \begin_layout Plain Layout
24175 <cell alignment="center" valignment="top" usebox="none">
24178 \begin_layout Plain Layout
24184 <cell alignment="center" valignment="top" usebox="none">
24187 \begin_layout Plain Layout
24193 <cell alignment="center" valignment="top" usebox="none">
24196 \begin_layout Plain Layout
24204 <cell alignment="left" valignment="top" usebox="none">
24207 \begin_layout Plain Layout
24213 <cell alignment="left" valignment="top" usebox="none">
24216 \begin_layout Plain Layout
24222 <cell alignment="left" valignment="top" usebox="none">
24225 \begin_layout Plain Layout
24231 <cell alignment="left" valignment="top" usebox="none">
24234 \begin_layout Plain Layout
24240 <cell alignment="center" valignment="top" usebox="none">
24243 \begin_layout Plain Layout
24249 <cell alignment="center" valignment="top" usebox="none">
24252 \begin_layout Plain Layout
24258 <cell alignment="center" valignment="top" usebox="none">
24261 \begin_layout Plain Layout
24267 <cell alignment="center" valignment="top" usebox="none">
24270 \begin_layout Plain Layout
24278 <cell alignment="left" valignment="top" usebox="none">
24281 \begin_layout Plain Layout
24287 <cell alignment="left" valignment="top" usebox="none">
24290 \begin_layout Plain Layout
24296 <cell alignment="left" valignment="top" usebox="none">
24299 \begin_layout Plain Layout
24305 <cell alignment="left" valignment="top" usebox="none">
24308 \begin_layout Plain Layout
24314 <cell alignment="center" valignment="top" usebox="none">
24317 \begin_layout Plain Layout
24323 <cell alignment="center" valignment="top" usebox="none">
24326 \begin_layout Plain Layout
24332 <cell alignment="center" valignment="top" usebox="none">
24335 \begin_layout Plain Layout
24341 <cell alignment="center" valignment="top" usebox="none">
24344 \begin_layout Plain Layout
24352 <cell alignment="left" valignment="top" usebox="none">
24355 \begin_layout Plain Layout
24361 <cell alignment="left" valignment="top" usebox="none">
24364 \begin_layout Plain Layout
24370 <cell alignment="left" valignment="top" usebox="none">
24373 \begin_layout Plain Layout
24379 <cell alignment="left" valignment="top" usebox="none">
24382 \begin_layout Plain Layout
24388 <cell alignment="center" valignment="top" usebox="none">
24391 \begin_layout Plain Layout
24397 <cell alignment="center" valignment="top" usebox="none">
24400 \begin_layout Plain Layout
24406 <cell alignment="center" valignment="top" usebox="none">
24409 \begin_layout Plain Layout
24415 <cell alignment="center" valignment="top" usebox="none">
24418 \begin_layout Plain Layout
24426 <cell alignment="left" valignment="top" usebox="none">
24429 \begin_layout Plain Layout
24435 <cell alignment="left" valignment="top" usebox="none">
24438 \begin_layout Plain Layout
24444 <cell alignment="left" valignment="top" usebox="none">
24447 \begin_layout Plain Layout
24453 <cell alignment="left" valignment="top" usebox="none">
24456 \begin_layout Plain Layout
24462 <cell alignment="center" valignment="top" usebox="none">
24465 \begin_layout Plain Layout
24471 <cell alignment="center" valignment="top" usebox="none">
24474 \begin_layout Plain Layout
24480 <cell alignment="center" valignment="top" usebox="none">
24483 \begin_layout Plain Layout
24489 <cell alignment="center" valignment="top" usebox="none">
24492 \begin_layout Plain Layout
24500 <cell alignment="center" valignment="top" usebox="none">
24503 \begin_layout Plain Layout
24509 <cell alignment="center" valignment="top" usebox="none">
24512 \begin_layout Plain Layout
24518 <cell alignment="center" valignment="top" usebox="none">
24521 \begin_layout Plain Layout
24527 <cell alignment="center" valignment="top" usebox="none">
24530 \begin_layout Plain Layout
24536 <cell alignment="center" valignment="top" usebox="none">
24539 \begin_layout Plain Layout
24545 <cell alignment="center" valignment="top" usebox="none">
24548 \begin_layout Plain Layout
24554 <cell alignment="center" valignment="top" usebox="none">
24557 \begin_layout Plain Layout
24563 <cell alignment="center" valignment="top" usebox="none">
24566 \begin_layout Plain Layout
24580 \begin_layout Chapter
24583 Names of available colors to be used in layouts
24586 \begin_inset CommandInset label
24588 name "chap:Names-of-colors"
24595 \begin_layout Standard
24598 The colors listed here are the standard colors and the those that you can
24599 adjust in the LyX preferences.
24602 \begin_layout Description
24617 No particular color -- clear or default
24620 \begin_layout Description
24626 \begin_layout Description
24632 \begin_layout Description
24638 \begin_layout Description
24644 \begin_layout Description
24650 \begin_layout Description
24656 \begin_layout Description
24662 \begin_layout Description
24668 \begin_layout Description
24671 added_space Added space marker color
24674 \begin_layout Description
24677 addedtext Added text color
24680 \begin_layout Description
24683 appendix Appendix marker color
24686 \begin_layout Description
24689 background Background color
24692 \begin_layout Description
24695 bottomarea Bottom area color
24698 \begin_layout Description
24701 branchlabel Label color for branches
24704 \begin_layout Description
24707 buttonbg Color used for bottom background
24710 \begin_layout Description
24713 buttonhoverbg Color used for button background under focus
24716 \begin_layout Description
24719 buttonframe Color for inset button frames
24722 \begin_layout Description
24725 changebar Changebar color
24728 \begin_layout Description
24731 changedtextauthor1 Changed text color author 1
24734 \begin_layout Description
24737 changedtextauthor2 Changed text color author 2
24740 \begin_layout Description
24743 changedtextauthor3 Changed text color author 3
24746 \begin_layout Description
24749 changedtextauthor4 Changed text color author 4
24752 \begin_layout Description
24755 changedtextauthor5 Changed text color author 5
24758 \begin_layout Description
24761 collapsable_inset_frame Collapsable insets framecolor
24764 \begin_layout Description
24767 collapsable_inset_text Collapsable insets text color
24770 \begin_layout Description
24773 command Text color for command insets
24776 \begin_layout Description
24779 commandbg Background color for command insets
24782 \begin_layout Description
24785 commandframe Frame color for command insets
24788 \begin_layout Description
24791 comment color for comments
24794 \begin_layout Description
24797 commentbg Background color of comments
24800 \begin_layout Description
24803 cursor Cursor color
24806 \begin_layout Description
24809 deletedtext Deleted text color
24812 \begin_layout Description
24815 deletedtextmodifier Deleted text modifying color
24818 \begin_layout Description
24821 depthbar Color for the depth bars in the margin
24824 \begin_layout Description
24827 eolmarker End of line marker color
24830 \begin_layout Description
24833 error Color of the LaTeX error box
24836 \begin_layout Description
24839 footlabel Label color for footnotes
24842 \begin_layout Description
24845 graphicsbg Graphics inset background color
24848 \begin_layout Description
24851 greyedout Label color for greyedout insets
24854 \begin_layout Description
24857 greyedoutbg Background color of greyedout inset
24860 \begin_layout Description
24863 greyedouttext Color for greyedout inset text
24866 \begin_layout Description
24869 indexlabel Label color for index insets
24872 \begin_layout Description
24875 ignore The color is ignored
24878 \begin_layout Description
24881 inherit The color is inherited
24884 \begin_layout Description
24887 inlinecompletion Inline completion color
24890 \begin_layout Description
24893 insetbg Inset marker background color
24896 \begin_layout Description
24899 insetframe Inset marker frame color
24902 \begin_layout Description
24905 language Color for marking foreign language words
24908 \begin_layout Description
24911 latex Text color in LaTeX mode
24914 \begin_layout Description
24917 listingsbg Background color of listings inset
24920 \begin_layout Description
24923 marginlabel Label color for margin notes
24926 \begin_layout Description
24929 math Math inset text color
24932 \begin_layout Description
24935 mathbg Math inset background color
24938 \begin_layout Description
24941 mathcorners Math inset frame color not under focus
24944 \begin_layout Description
24947 mathframe Math inset frame color under focus
24950 \begin_layout Description
24953 mathline Math line color
24956 \begin_layout Description
24959 mathmacrobg Macro math inset background color
24962 \begin_layout Description
24965 mathmacroblend Macro math blended color
24968 \begin_layout Description
24971 mathmacroframe Macro math frame color
24974 \begin_layout Description
24977 mathmacrohoverbg Macro math inset background color hovered
24980 \begin_layout Description
24983 mathmacrolabel Macro math label color
24986 \begin_layout Description
24989 mathmacronewarg Macro template color for new parameters
24992 \begin_layout Description
24995 mathmacrooldarg Macro template color for old parameters
24998 \begin_layout Description
25001 newpage New page color
25004 \begin_layout Description
25007 nonunique_inlinecompletion Inline completion color for the non-unique part
25010 \begin_layout Description
25013 notebg Background color of notes
25016 \begin_layout Description
25019 notelabel Label color for notes
25022 \begin_layout Description
25025 pagebreak Page break/line break color
25028 \begin_layout Description
25031 paragraphmarker Color used for the pilcrow sign to mark the end of a paragraph
25034 \begin_layout Description
25037 phantomtext Text color for phantom insets
25040 \begin_layout Description
25043 preview The color used for previews
25046 \begin_layout Description
25049 previewframe Preview frame color
25052 \begin_layout Description
25055 regexpframe Color for regexp frame
25058 \begin_layout Description
25061 selection Background color of selected text
25064 \begin_layout Description
25067 selectiontext Foreground color of selected text
25070 \begin_layout Description
25073 shadedbg Background color of shaded box
25076 \begin_layout Description
25079 special Special chars text color
25082 \begin_layout Description
25085 tabularline Table line color
25088 \begin_layout Description
25091 tabularonoffline Table line color
25094 \begin_layout Description
25097 urllabel Label color for URL insets
25100 \begin_layout Description
25103 urltext Color for URL inset text