1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/es/
9 % DO NOT ALTER THIS PREAMBLE!!!
11 % This preamble is designed to ensure that the manual prints
12 % out as advertised. If you mess with this preamble,
13 % parts of this document may not print out as expected. If you
14 % have problems LaTeXing this file, please contact
15 % the documentation team
16 % email: lyx-docs@lists.lyx.org
18 % the pages of the TOC is numbered roman
19 % and a pdf-bookmark for the TOC is added
20 \let\myTOC\tableofcontents
21 \renewcommand\tableofcontents{%
23 \pdfbookmark[1]{\contentsname}{}
27 \@ifpackageloaded{babel}{
28 % increase link area for cross-references and autoname them,
29 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
30 \addto\extrasspanish{%
31 \renewcommand*{\equationautorefname}[1]{}%
32 \renewcommand{\sectionautorefname}{sec.\negthinspace}%
33 \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
34 \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
38 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
39 \use_default_options false
43 \maintain_unincluded_children false
45 \language_package default
48 \font_roman "lmodern" "default"
49 \font_sans "lmss" "default"
50 \font_typewriter "lmtt" "default"
51 \font_math "auto" "auto"
52 \font_default_family default
53 \use_non_tex_fonts false
56 \font_sf_scale 100 100
57 \font_tt_scale 100 100
59 \default_output_format pdf2
61 \bibtex_command default
62 \index_command default
66 \pdf_title "Manual Personalización de LyX"
67 \pdf_author "Equipo LyX"
68 \pdf_subject "LyX-documentation Customization"
69 \pdf_keywords "LyX, documentation, customization"
71 \pdf_bookmarksnumbered true
72 \pdf_bookmarksopen true
73 \pdf_bookmarksopenlevel 1
78 \pdf_pdfusetitle false
79 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
82 \use_package amsmath 0
83 \use_package amssymb 0
86 \use_package mathdots 1
87 \use_package mathtools 0
89 \use_package stackrel 0
90 \use_package stmaryrd 0
91 \use_package undertilde 0
93 \cite_engine_type default
97 \paperorientation portrait
112 \paragraph_separation indent
113 \paragraph_indentation default
114 \quotes_language french
117 \paperpagestyle headings
118 \tracking_changes false
119 \output_changes false
128 Personalizar \SpecialChar LyX
129 : Características para el usuario avanzado
133 por el equipo \SpecialChar LyX
138 \begin_layout Plain Layout
140 Si tienes correcciones o comentarios, envíalos, por favor, a la lista de
141 correo de Documentación de \SpecialChar LyX
143 \begin_inset CommandInset href
145 target "lyx-docs@lists.lyx.org"
152 \begin_inset Quotes fld
156 \begin_inset Quotes frd
159 en la cabecera de asunto, y envía una cc al actual mantenedor de este documento
160 , Richard Heck <rgheck@comcast.net>.
166 \begin_inset Newline newline
170 \begin_inset Newline newline
176 \begin_layout Standard
177 \begin_inset CommandInset toc
178 LatexCommand tableofcontents
185 \begin_layout Chapter
189 \begin_layout Standard
190 Este manual trata de las características de \SpecialChar LyX
191 que pueden ser modificadas
193 En él abordamos temas como atajos de teclado, opciones de vista previa
194 en pantalla, opciones de impresora, envío de comandos mediante \SpecialChar LyX
196 internacionalización, instalación de nuevas clases de \SpecialChar LaTeX
200 Seguro que no podemos aspirar a tratar todo lo que se puede cambiar, —nuestross
201 desarrolladores añaden características nuevas más deprisa de lo que las
202 podemos documentar— pero explicaremos las modificaciones más comunes y
203 y esperamos orientarte en la dirección correcta para algunas más desconocidas.
206 \begin_layout Standard
207 \begin_inset Branch OutDated
210 \begin_layout Standard
211 La rama OutDated contiene información de versiones anteriores de este documento
212 que ahora parece estar obsoleta.
213 Por omisión, esta información no aparece en la salida \SpecialChar LaTeX
222 \begin_layout Chapter
223 Archivos de configuración de \SpecialChar LyX
227 \begin_layout Standard
228 Este capítulo tiene por objetivo ayudarte a encontrar tu camino a través
229 de los archivos de configuración de \SpecialChar LyX
231 Antes de seguir leyendo deberías encontrar donde están los directorios
232 de bibliotecas y de usuario, consultando
233 \begin_inset Flex Noun
236 \begin_layout Plain Layout
237 Ayuda\SpecialChar menuseparator
238 Acerca de \SpecialChar LyX
245 El directorio de bibliotecas es el sitio en el que \SpecialChar LyX
247 de configuración de sistema; el directorio de usuario es donde puedes colocar
248 tus versiones modificadas.
249 En este documento, al primero lo denominaremos
250 \begin_inset Flex Code
253 \begin_layout Plain Layout
261 \begin_inset Flex Noun
264 \begin_layout Plain Layout
273 \begin_layout Section
275 \begin_inset Flex Code
278 \begin_layout Plain Layout
288 \begin_layout Standard
289 \begin_inset Flex Code
292 \begin_layout Plain Layout
299 y sus subdirectorios contienen archivos que pueden emplearse para personalizar
300 el comportamiento de \SpecialChar LyX
302 Puedes cambiar muchos de ellos desde dentro mismo de \SpecialChar LyX
305 \begin_inset Flex Noun
308 \begin_layout Plain Layout
309 Herramientas\SpecialChar menuseparator
316 La mayor parte de las adaptaciones personales que querrás hacer en \SpecialChar LyX
318 puede hacer en este diálogo.
319 Sin embargo, muchos otros aspectos internos de \SpecialChar LyX
320 pueden cambiarse modificando
322 \begin_inset Flex Code
325 \begin_layout Plain Layout
333 Estos archivos pertenecen a diversas categorías, descritas en las siguientes
337 \begin_layout Subsection
338 Archivos generados automáticamente
341 \begin_layout Standard
342 Los archivos que se encuentran en
343 \begin_inset Flex Noun
346 \begin_layout Plain Layout
352 se generan al configurar \SpecialChar LyX
354 Contienen varios valores predeterminados que se obtienen por inspección.
355 En general, no es buena idea modificarlos, puesto que podrían ser sobrescritos
356 en cualquier momento.
359 \begin_layout Labeling
360 \labelwidthstring 00.00.0000
361 \begin_inset Flex Code
364 \begin_layout Plain Layout
370 contiene valores predeterminados para varioscomandos.
373 \begin_layout Labeling
374 \labelwidthstring 00.00.0000
375 \begin_inset Flex Code
378 \begin_layout Plain Layout
384 contiene la lista de paquetes que han sido reconocidos por \SpecialChar LyX
386 No es utilizada por el propio \SpecialChar LyX
387 , pero la información extraida, y otras cosas
389 \begin_inset Flex Noun
392 \begin_layout Plain Layout
393 Ayuda\SpecialChar menuseparator
394 Configuración de \SpecialChar LaTeX
403 \begin_layout Labeling
404 \labelwidthstring 00.00.0000
405 \begin_inset Flex Code
408 \begin_layout Plain Layout
414 la lista de clases de textos encontradas en los directorios
415 \begin_inset Flex Code
418 \begin_layout Plain Layout
424 , junto con las clases de documentos \SpecialChar LaTeX
428 \begin_layout Labeling
429 \labelwidthstring 00.00.0000
430 \begin_inset Flex Code
433 \begin_layout Plain Layout
439 la lista de módulos de formato encontradas en los directorios
440 \begin_inset Flex Code
443 \begin_layout Plain Layout
452 \begin_layout Labeling
453 \labelwidthstring 00.00.0000
454 \begin_inset Flex Code
457 \begin_layout Plain Layout
463 lista de varios tipos de archivos relacionados con \SpecialChar LaTeX
464 encontrados en el sistema.
467 \begin_layout Labeling
468 \labelwidthstring 00.00.0000
469 \begin_inset Flex Code
472 \begin_layout Plain Layout
473 doc/\SpecialChar LaTeX
479 es generado automáticamente durante la configuración a partir del archivo
481 \begin_inset Flex Code
484 \begin_layout Plain Layout
492 Contiene información sobre la configuración de \SpecialChar LaTeX
496 \begin_layout Subsection
500 \begin_layout Standard
501 Estos directorios están duplicados en
502 \begin_inset Flex Code
505 \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 \SpecialChar LyX
559 Si ahí existe una versión nacional de un archivo bind llamado
560 \begin_inset Flex Code
563 \begin_layout Plain Layout
569 , ésta se usará en primer lugar.
572 \begin_layout Labeling
573 \labelwidthstring 00.00.0000
574 \begin_inset Flex Code
577 \begin_layout Plain Layout
583 contiene archivos gráficos que pueden ser incluidos en documentos.
587 \begin_layout Labeling
588 \labelwidthstring 00.00.0000
589 \begin_inset Flex Code
592 \begin_layout Plain Layout
598 contiene archivos de documentación de \SpecialChar LyX
599 (incluido éste que estás leyendo).
601 \begin_inset Flex Code
604 \begin_layout Plain Layout
611 merece atención especial, como se mencionó antes.
612 Si existe una versión nacional del documento de ayuda en el subdirectorio
614 \begin_inset Flex Code
617 \begin_layout Plain Layout
623 , éste se usará en primer lugar.
625 \begin_inset CommandInset ref
627 reference "cap:Internacionalización-de-LyX"
634 \begin_layout Labeling
635 \labelwidthstring 00.00.0000
636 \begin_inset Flex Code
639 \begin_layout Plain Layout
645 contiene archivos de ejemplo que describen el uso de algunas características.
646 Se puede acceder a ellos con el botón
647 \begin_inset Flex Noun
650 \begin_layout Plain Layout
656 en el buscador de archivos.
659 \begin_layout Labeling
660 \labelwidthstring 00.00.0000
661 \begin_inset Flex Code
664 \begin_layout Plain Layout
670 contiene archivos de imagen que se usan en el diálogo
671 \begin_inset Flex Noun
674 \begin_layout Plain Layout
675 Documento\SpecialChar menuseparator
682 Contiene además los iconos de las barras de herramientas y las enseñas
684 mostradas en su inicio.
687 \begin_layout Labeling
688 \labelwidthstring 00.00.0000
689 \begin_inset Flex Code
692 \begin_layout Plain Layout
698 contiene archivos de mapas de teclado.
700 \begin_inset CommandInset ref
702 reference "sec:keymap"
709 \begin_layout Labeling
710 \labelwidthstring 00.00.0000
711 \begin_inset Flex Code
714 \begin_layout Plain Layout
720 contiene las clases de textos y los archivos de los módulos descritos en
722 \begin_inset CommandInset ref
724 reference "cap:Instalación-de-nuevas"
731 \begin_layout Labeling
732 \labelwidthstring 00.00.0000
733 \begin_inset Flex Code
736 \begin_layout Plain Layout
742 contiene los guiones de Python
743 \begin_inset Flex Code
746 \begin_layout Plain Layout
752 para convertir entre versiones de \SpecialChar LyX
754 Pueden ejecutarse en línea de comandos si, digamos, quieres convertir ficheros
758 \begin_layout Labeling
759 \labelwidthstring 00.00.0000
760 \begin_inset Flex Code
763 \begin_layout Plain Layout
769 contiene algunos archivos que demuestran las capacidades de la característica
771 \begin_inset Flex Noun
774 \begin_layout Plain Layout
781 También contiene algunos guiones usados por el propio \SpecialChar LyX
785 \begin_layout Labeling
786 \labelwidthstring 00.00.0000
787 \begin_inset Flex Code
790 \begin_layout Plain Layout
796 contiene los archivos de plantillas estándar de \SpecialChar LyX
798 \begin_inset CommandInset ref
800 reference "subsec:Creación-de-plantillas"
807 \begin_layout Labeling
808 \labelwidthstring 00.00.0000
809 \begin_inset Flex Code
812 \begin_layout Plain Layout
818 contiene archivos con la extensión
819 \begin_inset Flex Code
822 \begin_layout Plain Layout
828 que definen la interfaz de usuario de \SpecialChar LyX
830 Esto es, archivos que definen qué ítems aparecen en qué menús y barras
834 \begin_layout Subsection
835 Archivos que no necesitan modificaciones
838 \begin_layout Standard
839 Estos archivos son utilizados internamente por \SpecialChar LyX
840 y generalmente no deben
841 ser modificados sino por los desarrolladores.
844 \begin_layout Labeling
845 \labelwidthstring 00.00.0000
846 \begin_inset Flex Code
849 \begin_layout Plain Layout
855 contiene la lista de desarrolladores de \SpecialChar LyX
857 Se muestra con el menú
858 \begin_inset Flex Noun
861 \begin_layout Plain Layout
862 Ayuda\SpecialChar menuseparator
863 Acerca de \SpecialChar LyX
872 \begin_layout Labeling
873 \labelwidthstring 00.00.0000
874 \begin_inset Flex Code
877 \begin_layout Plain Layout
883 es un guión de \SpecialChar LaTeX
884 usado durante el proceso de configuración.
885 No lo ejecutes directamente.
888 \begin_layout Labeling
889 \labelwidthstring 00.00.0000
890 \begin_inset Flex Code
893 \begin_layout Plain Layout
899 es el guión utilizado para la reconfiguración de \SpecialChar LyX
901 Genera los archivos de configuración en el directorio desde el que se ha
905 \begin_layout Subsection
906 Otros archivos en un par de líneas
909 \begin_layout Labeling
910 \labelwidthstring 00.00.0000
911 \begin_inset Flex Code
914 \begin_layout Plain Layout
920 contiene tablas que describen cómo los distintos códigos de caracteres
921 se transcriben a Unicode.
924 \begin_layout Labeling
925 \labelwidthstring 00.00.0000
926 \begin_inset Flex Code
929 \begin_layout Plain Layout
935 contiene las plantillas disponibles para la característica
936 \begin_inset Flex Noun
939 \begin_layout Plain Layout
946 \begin_inset CommandInset ref
948 reference "chap:Inserción-de-material"
955 \begin_layout Labeling
956 \labelwidthstring 00.00.0000
957 \begin_inset Flex Code
960 \begin_layout Plain Layout
966 contiene una lista de los idiomas actualmente soportados por \SpecialChar LyX
970 \begin_layout Labeling
971 \labelwidthstring 00.00.0000
972 \begin_inset Flex Code
975 \begin_layout Plain Layout
983 contains information about the supported fonts.
986 \begin_layout Labeling
987 \labelwidthstring 00.00.0000
988 \begin_inset Flex Code
991 \begin_layout Plain Layout
999 this file contains translations for internationalized paragraph styles
1002 \begin_inset CommandInset ref
1004 reference "subsec:I18n"
1011 \begin_layout Labeling
1012 \labelwidthstring 00.00.0000
1013 \begin_inset Flex Code
1016 \begin_layout Plain Layout
1024 this file contains information about unicode-encoded glyphs and the way
1025 they are supported by \SpecialChar LyX
1026 via \SpecialChar LaTeX
1030 \begin_layout Section
1031 Directorio de configuración personal
1034 \begin_layout Standard
1035 Aunque uses \SpecialChar LyX
1036 como usuario sin privilegios, puedes adaptar su configuración
1039 \begin_inset Flex Code
1042 \begin_layout Plain Layout
1048 contiene todos los archivos de configuración personal.
1049 Es el directorio especificado como
1050 \begin_inset Quotes fld
1053 Directorio del usuario
1054 \begin_inset Quotes frd
1058 \begin_inset Flex Noun
1061 \begin_layout Plain Layout
1062 Ayuda\SpecialChar menuseparator
1063 Acerca de \SpecialChar LyX
1070 Este directorio se usa como espejo de
1071 \begin_inset Flex Code
1074 \begin_layout Plain Layout
1081 , que quiere decir que cada archivo en
1082 \begin_inset Flex Code
1085 \begin_layout Plain Layout
1091 es un equivalente del correspondiente archivo en
1092 \begin_inset Flex Code
1095 \begin_layout Plain Layout
1103 Cualquiera de los archivos de configuración descritos en las secciones
1104 anteriores puede estar en el directorio global del sistema, en cuyo caso
1105 afectará a todos los usuarios, y en tu directorio local para tu propio
1109 \begin_layout Standard
1110 Para clarificar las cosas vamos a poner unos ejemplos:
1113 \begin_layout Itemize
1114 Las preferencias establecidas en el diálogo
1115 \begin_inset Flex Noun
1118 \begin_layout Plain Layout
1119 Herramientas\SpecialChar menuseparator
1125 se guardan en un archivo
1126 \begin_inset Flex Code
1129 \begin_layout Plain Layout
1136 \begin_inset Flex Code
1139 \begin_layout Plain Layout
1148 \begin_layout Itemize
1149 Si reconfiguras mediante
1150 \begin_inset Flex Noun
1153 \begin_layout Plain Layout
1154 Herramientas\SpecialChar menuseparator
1162 \begin_inset Newline linebreak
1166 \begin_inset Flex Code
1169 \begin_layout Plain Layout
1175 , y los archivos resultantes se escriben en tu directorio de usuario.
1176 Esto significa que cualquier archivo adicional de clase de texto que pudieras
1178 \begin_inset Flex Code
1181 \begin_layout Plain Layout
1187 se sumará a la lista de clases en el diálogo
1188 \begin_inset Flex Noun
1191 \begin_layout Plain Layout
1192 Documento\SpecialChar menuseparator
1201 \begin_layout Itemize
1202 Si consigues alguna documentación actualizada del sitio de \SpecialChar LyX
1204 instalarla porque no tienes permisos para administrar tu sistema, solo
1205 has de copiar los archivos en
1206 \begin_inset Flex Code
1209 \begin_layout Plain Layout
1215 ¡y las entradas del menú
1216 \begin_inset Flex Noun
1219 \begin_layout Plain Layout
1228 \begin_layout Section
1229 Ejecutar \SpecialChar LyX
1230 con múltiples configuraciones
1233 \begin_layout Standard
1234 La libertad de configuración del directorio local puede no ser suficiente
1235 si quieres tener a tu disposición más de una configuración.
1236 Por ejemplo, si quisieras usar diferentes combinaciones de teclas o configuraci
1237 ones de impresora en distintos momentos.
1238 Esto lo puedes conseguir teniendo varios de estos directorios.
1239 Después especificas qué directorio usar al arrancar.
1242 \begin_layout Standard
1243 Ejecutando \SpecialChar LyX
1244 con la opción de línea de comandos
1245 \begin_inset Flex Code
1248 \begin_layout Plain Layout
1258 hace que el programa lea la configuración de ese directorio y no del predetermi
1260 (Puedes determinar el directorio predeterminado ejecutando \SpecialChar LyX
1263 \begin_inset Flex Code
1266 \begin_layout Plain Layout
1273 Si el directorio especificado no existe, \SpecialChar LyX
1274 propone su creación, tal como
1275 hace con el directorio predeterminado la primera vez que se ejecuta el
1277 Puedes modificar las opciones de configuración en ese directorio personal
1278 adicional exactamente igual que para el directorio predeterminado.
1279 Estos directorios son completamente independientes (pero sigue leyendo).
1280 Ten presente que establecer algún valor para la variable de entorno
1281 \begin_inset Flex Code
1284 \begin_layout Plain Layout
1290 tiene exactamente el mismo efecto.
1293 \begin_layout Standard
1294 Tener varias configuraciones también requiere más mantenimiento: si quieres
1295 añadir un nuevo formato a
1296 \begin_inset Flex Code
1299 \begin_layout Plain Layout
1305 que esté disponible en todas tus configuraciones, debes añadirlo a cada
1306 directorio por separado.
1307 Puedes evitarlo con el siguiente truco: después de que \SpecialChar LyX
1309 adicional, la mayoría de los subdirectorios (véase arriba) están vacíos.
1310 Si quieres que la nueva configuración sea una réplica de una existente,
1311 reemplaza el subdirectorio vacío con un enlace simbólico que apunte al
1312 subdirectorio deseado.
1313 Ten precaución, no obstante, con el subdirectorio
1314 \begin_inset Flex Code
1317 \begin_layout Plain Layout
1323 , puesto que contiene un archivo escrito por el guión de configuración (también
1325 \begin_inset Flex Noun
1328 \begin_layout Plain Layout
1329 Herramientas\SpecialChar menuseparator
1335 ) que es específico de la configuración.
1338 \begin_layout Chapter
1339 El diálogo Preferencias
1342 \begin_layout Standard
1343 Todas las opciones del diálogo de preferencias se describen en el apéndice
1357 Ahí encontrarás más detalles sobre algunas opciones.
1360 \begin_layout Section
1362 \begin_inset CommandInset label
1371 \begin_layout Standard
1372 El primer paso es definir tus propios formatos de archivo si no lo están
1374 Para hacerlo abre el diálogo
1375 \begin_inset Flex Noun
1378 \begin_layout Plain Layout
1379 Herramientas\SpecialChar menuseparator
1387 \begin_inset Flex Noun
1390 \begin_layout Plain Layout
1391 Gestión de archivos\SpecialChar menuseparator
1398 \begin_inset Flex Noun
1401 \begin_layout Plain Layout
1402 Nuevo\SpecialChar ldots
1408 para definir el nuevo formato.
1410 \begin_inset Flex Noun
1413 \begin_layout Plain Layout
1419 es para el nombre que identificará el formato en la GUI (interfaz gráfica
1422 \begin_inset Flex Noun
1425 \begin_layout Plain Layout
1431 se usa para identificar el formato internamente.
1432 Además deberás introducir una extensión de archivo.
1433 Todos estos son imprescindibles.
1435 \begin_inset Flex Noun
1438 \begin_layout Plain Layout
1444 sirve para asociar una combinación de teclas en los menús.
1445 (Por ejemplo, teclear
1446 \begin_inset Flex Noun
1449 \begin_layout Plain Layout
1456 \begin_inset Flex Noun
1459 \begin_layout Plain Layout
1462 Documento\SpecialChar menuseparator
1465 \SpecialChar menuseparator
1473 \begin_inset Flex Noun
1476 \begin_layout Plain Layout
1485 \begin_layout Standard
1486 Un Formato puede tener un
1487 \begin_inset Flex Noun
1490 \begin_layout Plain Layout
1497 \begin_inset Flex Noun
1500 \begin_layout Plain Layout
1507 Por ejemplo, podrías usar
1508 \begin_inset Flex Noun
1511 \begin_layout Plain Layout
1517 para ver archivos PostScript.
1518 Puedes introducir el comando para iniciar el programa en el campo correspondien
1520 Al definir este comando puedes usar las cuatro variables listadas en la
1522 El visor se lanza cuando ves una imagen en \SpecialChar LyX
1524 \begin_inset Flex Noun
1527 \begin_layout Plain Layout
1530 Documento\SpecialChar menuseparator
1537 El editor se lanza cuando pulsas el botón
1538 \begin_inset Flex Noun
1541 \begin_layout Plain Layout
1547 que se muestra al hacer clic derecho en un gráfico o en un material externo,
1551 \begin_layout Standard
1557 \begin_inset Flex Noun
1560 \begin_layout Plain Layout
1568 type of a format is optional, but if it is specified, it must be unique
1570 It is used to detect files of this format from the file contents.
1571 For some important file formats there is no MIME type officially registered
1575 \begin_inset CommandInset href
1578 target "http://www.iana.org/assignments/media-types/"
1585 Therefore \SpecialChar LyX
1586 uses the extended list of MIME types as specified by
1589 \begin_inset CommandInset href
1591 name "freedesktop.org"
1592 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1599 \begin_layout Standard
1601 \begin_inset Flex Noun
1604 \begin_layout Plain Layout
1605 Formato de documento
1610 indica a \SpecialChar LyX
1611 que ese formato es adecuado para exportar.
1612 Si esto está marcado y existe una ruta de conversión adecuada (véase
1613 \begin_inset CommandInset ref
1615 reference "sec:Convertidores"
1619 ), el formato aparecerá en el menú
1620 \begin_inset Flex Noun
1623 \begin_layout Plain Layout
1624 Archivo\SpecialChar menuseparator
1631 También aparecerá en el menú
1632 \begin_inset Flex Noun
1635 \begin_layout Plain Layout
1638 Documento\SpecialChar menuseparator
1644 si se ha especificado un visor para ese formato.
1645 Los formatos puros de imagen, como
1646 \begin_inset Flex Code
1649 \begin_layout Plain Layout
1655 , no deberían usar esta opción.
1656 Los formatos que pueden corresponder tanto a gráficos vectoriales como
1658 \begin_inset Flex Code
1661 \begin_layout Plain Layout
1667 , sí deberían usarla.
1670 \begin_layout Standard
1672 \begin_inset Flex Noun
1675 \begin_layout Plain Layout
1676 Formato de gráfico vectorial
1681 indica a \SpecialChar LyX
1682 que el formato puede contener gráficos vectoriales.
1683 Esta información se emplea para determinar el formato objetivo de los gráficos
1684 incluidos para la exportación
1685 \begin_inset Flex Noun
1688 \begin_layout Plain Layout
1695 Los gráficos incluidos pueden requerir conversión a
1696 \begin_inset Flex Noun
1699 \begin_layout Plain Layout
1706 \begin_inset Flex Noun
1709 \begin_layout Plain Layout
1716 \begin_inset Flex Noun
1719 \begin_layout Plain Layout
1726 \begin_inset Flex Noun
1729 \begin_layout Plain Layout
1735 no puede manejar otros formatos de imagen.
1736 Si un archivo incluido no está ya en formato
1737 \begin_inset Flex Noun
1740 \begin_layout Plain Layout
1747 \begin_inset Flex Noun
1750 \begin_layout Plain Layout
1757 \begin_inset Flex Noun
1760 \begin_layout Plain Layout
1767 \begin_inset Flex Noun
1770 \begin_layout Plain Layout
1776 si la opción de formato vectorial está marcada, y si no a
1777 \begin_inset Flex Noun
1780 \begin_layout Plain Layout
1790 \begin_layout Section
1794 \begin_layout Standard
1795 Puesto que todas las conversiones de un formato a otro tienen lugar en el
1796 archivo temporal de \SpecialChar LyX
1797 , a veces es necesario modificar un archivo antes de
1798 copiarlo en el directorio temporal para que la conversión se pueda realizar.
1802 \begin_layout Plain Layout
1803 Por ejemplo, el archivo puede hacer referencia a otros archivos —imágenes,
1804 por ejemplo— mediante nombres de archivo relativos, y estos pueden resultar
1805 inválidos cuando el archivo se copia en el directorio temporal.
1810 Esto lo hace un Copiador: copia un archivo a (o desde) el directorio temporal
1811 y puede modificarlo en el proceso.
1814 \begin_layout Standard
1815 Las definiciones de los copiadores pueden usar cuatro variables:
1818 \begin_layout Labeling
1819 \labelwidthstring 00.00.0000
1820 \begin_inset Flex Code
1823 \begin_layout Plain Layout
1829 El directorio de sistema de \SpecialChar LyX
1831 \begin_inset space \thinspace{}
1835 \begin_inset space \space{}
1839 \begin_inset Flex Noun
1842 \begin_layout Plain Layout
1851 \begin_layout Labeling
1852 \labelwidthstring 00.00.0000
1853 \begin_inset Flex Code
1856 \begin_layout Plain Layout
1862 El archivo de entrada
1865 \begin_layout Labeling
1866 \labelwidthstring 00.00.0000
1867 \begin_inset Flex Code
1870 \begin_layout Plain Layout
1876 El archivo de salida
1879 \begin_layout Labeling
1880 \labelwidthstring 00.00.0000
1881 \begin_inset Flex Code
1884 \begin_layout Plain Layout
1892 The base name (without filename extension) in the \SpecialChar LyX
1896 \begin_layout Labeling
1897 \labelwidthstring 00.00.0000
1898 \begin_inset Flex Code
1901 \begin_layout Plain Layout
1909 The full directory path of the \SpecialChar LyX
1913 \begin_layout Labeling
1914 \labelwidthstring 00.00.0000
1915 \begin_inset Flex Code
1918 \begin_layout Plain Layout
1926 The full pathname to the original \SpecialChar LyX
1927 file being processed
1930 \begin_layout Labeling
1931 \labelwidthstring 00.00.0000
1932 \begin_inset Flex Code
1935 \begin_layout Plain Layout
1943 The filename (without any directory path) of the \SpecialChar LyX
1947 \begin_layout Labeling
1948 \labelwidthstring 00.00.0000
1949 \begin_inset Flex Code
1952 \begin_layout Plain Layout
1958 El `nombre \SpecialChar LaTeX
1962 \begin_layout Standard
1963 El último debería ser el nombre de archivo tal como debería ponerse en un
1964 comando \SpecialChar LaTeX
1972 Solo es pertinente cuando se exportan archivos adecuados para esa inclusión.
1975 \begin_layout Standard
1976 Los copiadores pueden emplearse para hacer casi cualquier cosa con archivos
1978 Por ejemplo, supongamos que quieres copiar archivos
1979 \begin_inset Flex Noun
1982 \begin_layout Plain Layout
1988 generados a un directorio especial,
1989 \begin_inset Flex Code
1992 \begin_layout Plain Layout
1999 En ese caso deberías escribir un guión para intérprete de comandos tal
2003 \begin_layout Standard
2004 \begin_inset listings
2008 \begin_layout Plain Layout
2013 \begin_layout Plain Layout
2018 \begin_layout Plain Layout
2020 TOFILE=`basename $2`
2023 \begin_layout Plain Layout
2025 cp $FROMFILE /home/you/pdf/$TOFILE
2030 Guárdalo en tu directorio local, —
2031 \begin_inset Flex Code
2034 \begin_layout Plain Layout
2035 /home/you/.lyx/scripts/pdfcopier.sh
2040 , supongamos— y hazlo ejecutable si ello es necesario en tu sistema.
2041 Después, en el diálogo
2042 \begin_inset Flex Noun
2045 \begin_layout Plain Layout
2046 Herramientas\SpecialChar menuseparator
2053 \begin_inset Flex Noun
2056 \begin_layout Plain Layout
2057 Gestión de archivos\SpecialChar menuseparator
2063 , selecciona el formato
2064 \begin_inset Flex Noun
2067 \begin_layout Plain Layout
2073 —u otro de los formatos pdf— e introduce
2074 \begin_inset Flex Code
2077 \begin_layout Plain Layout
2078 pdfcopier.sh $$i $$o
2084 \begin_inset Flex Noun
2087 \begin_layout Plain Layout
2096 \begin_layout Standard
2098 usa los copiadores en varias de sus propias conversiones.
2099 Por ejemplo, si se encuentran los programas apropiados, \SpecialChar LyX
2100 instalará copiadores
2102 \begin_inset Flex Noun
2105 \begin_layout Plain Layout
2112 \begin_inset Flex Noun
2115 \begin_layout Plain Layout
2117 \begin_inset space ~
2126 Cuando se exporta a estos formatos, el copiador se encarga de que se copien
2127 no solo el archivo HTML principal, sino también los diversos archivos asociados
2128 (estilos, imágenes, etc).
2129 Todos estos archivos se escriben en un subdirectorio del directorio en
2130 el que se encuentre el archivo original de \SpecialChar LyX
2135 \begin_layout Plain Layout
2136 Este copiador puede adaptarse.
2137 El argumento opcional
2138 \begin_inset Quotes fld
2142 \begin_inset Quotes frd
2145 acepta una lista, separada por comas, con las extensiones que deben copiarse;
2146 si se omite se copiarán todos los archivos.
2148 \begin_inset Quotes fld
2152 \begin_inset Quotes frd
2155 determina la extensión añadida al directorio generado.
2157 \begin_inset Quotes fld
2161 \begin_inset Flex Noun
2164 \begin_layout Plain Layout
2172 \begin_inset Quotes frd
2175 , así, el HTML generado a partir de
2176 \begin_inset Flex Noun
2179 \begin_layout Plain Layout
2186 \begin_inset Flex Noun
2189 \begin_layout Plain Layout
2190 /ruta/a/archivo.html.\SpecialChar LyX
2204 \begin_layout Section
2206 \begin_inset CommandInset label
2208 name "sec:Convertidores"
2215 \begin_layout Standard
2216 Puedes definir tus propios convertidores para convertir archivos entre distintos
2218 Se hace en el diálogo
2219 \begin_inset Flex Noun
2222 \begin_layout Plain Layout
2223 Herramientas\SpecialChar menuseparator
2224 Preferencias\SpecialChar menuseparator
2225 Gestión de archivos\SpecialChar menuseparator
2234 \begin_layout Standard
2235 Para definir un nuevo convertidor de un formato a otro, selecciónalos en
2236 las listas desplegables
2237 \begin_inset Flex Noun
2240 \begin_layout Plain Layout
2242 \begin_inset space ~
2251 \begin_inset Flex Noun
2254 \begin_layout Plain Layout
2256 \begin_inset space ~
2264 , introduce el comando necesario para la conversión y después pulsa el botón
2266 \begin_inset Flex Noun
2269 \begin_layout Plain Layout
2276 En la definición de convertidores se pueden usar distintas variables:
2279 \begin_layout Labeling
2280 \labelwidthstring 00.00.0000
2281 \begin_inset Flex Code
2284 \begin_layout Plain Layout
2290 El directorio de sistema de \SpecialChar LyX
2294 \begin_layout Labeling
2295 \labelwidthstring 00.00.0000
2296 \begin_inset Flex Code
2299 \begin_layout Plain Layout
2305 El archivo de entrada
2308 \begin_layout Labeling
2309 \labelwidthstring 00.00.0000
2310 \begin_inset Flex Code
2313 \begin_layout Plain Layout
2319 El archivo de salida
2322 \begin_layout Labeling
2323 \labelwidthstring 00.00.0000
2324 \begin_inset Flex Code
2327 \begin_layout Plain Layout
2333 El nombre del archivo base del archivo de entrada (sin la extensión)
2336 \begin_layout Labeling
2337 \labelwidthstring 00.00.0000
2338 \begin_inset Flex Code
2341 \begin_layout Plain Layout
2347 La ruta al archivo de entrada
2350 \begin_layout Labeling
2351 \labelwidthstring 00.00.0000
2352 \begin_inset Flex Code
2355 \begin_layout Plain Layout
2361 La ruta al archivo de entrada original (esto es diferente de $$p cuando
2362 se invoca una cadena de convertidores).
2365 \begin_layout Labeling
2366 \labelwidthstring 00.00.0000
2367 \begin_inset Flex Code
2370 \begin_layout Plain Layout
2376 El nombre iconv para la codificación del documento.
2379 \begin_layout Standard
2381 \begin_inset Flex Noun
2384 \begin_layout Plain Layout
2390 puedes introducir los siguientes, separados por comas:
2393 \begin_layout Labeling
2394 \labelwidthstring 00.00.0000
2395 \begin_inset Flex Code
2398 \begin_layout Plain Layout
2404 Este convertidor ejecuta alguna forma de \SpecialChar LaTeX
2406 Hará estar disponibles los registros de errores \SpecialChar LaTeX
2411 \begin_layout Labeling
2412 \labelwidthstring 00.00.0000
2413 \begin_inset Flex Code
2416 \begin_layout Plain Layout
2422 Necesita el archivo \SpecialChar LaTeX
2424 \begin_inset Flex Noun
2427 \begin_layout Plain Layout
2436 \begin_layout Labeling
2437 \labelwidthstring 00.00.0000
2438 \begin_inset Flex Code
2441 \begin_layout Plain Layout
2450 \begin_inset Quotes fld
2454 \begin_inset Quotes frd
2457 file from the backend, which in practice means a \SpecialChar LaTeX
2458 file like the one we
2459 would export, without
2460 \begin_inset Flex Code
2463 \begin_layout Plain Layout
2474 \begin_layout Labeling
2475 \labelwidthstring 00.00.0000
2476 \begin_inset Flex Code
2479 \begin_layout Plain Layout
2488 \begin_layout Standard
2489 Las tres siguientes no son realmente opciones porque aceptan un argumento
2491 \begin_inset Flex Noun
2494 \begin_layout Plain Layout
2496 \begin_inset space ~
2500 \begin_inset space ~
2511 \begin_layout Labeling
2512 \labelwidthstring 00.00.0000
2513 \begin_inset Flex Code
2516 \begin_layout Plain Layout
2522 Si se pone, el error estándar del convertidor se redirecciona a un archivo
2524 \begin_inset Flex Code
2527 \begin_layout Plain Layout
2533 , y el guión dado como argumento se ejecutará como:
2534 \begin_inset Flex Code
2537 \begin_layout Plain Layout
2538 script <infile.out >infile.log
2544 El argumento puede contener
2545 \begin_inset Flex Code
2548 \begin_layout Plain Layout
2557 \begin_layout Labeling
2558 \labelwidthstring 00.00.0000
2559 \begin_inset Flex Code
2562 \begin_layout Plain Layout
2568 El nombre del directorio en el que el convertidor descargará los archivos
2571 no creará ese directorio y no copia nada en él, aunque copiará este directorio
2573 El argumento puede contener
2574 \begin_inset Flex Code
2577 \begin_layout Plain Layout
2583 , que será reemplazado por el nombre base de los archivos de entrada y de
2584 salida, respectivamente, cuando se copia el directorio.
2585 \begin_inset Newline newline
2588 Ten en cuenta que resultdir y usetempdir no tienen sentido juntos.
2589 El último será ignorado si se da el primero.
2592 \begin_layout Labeling
2593 \labelwidthstring 00.00.0000
2594 \begin_inset Flex Code
2597 \begin_layout Plain Layout
2603 Determina el nombre del archivo de salida y puede contener
2604 \begin_inset Flex Code
2607 \begin_layout Plain Layout
2614 Solo es sensible con
2615 \begin_inset Flex Code
2618 \begin_layout Plain Layout
2624 y además es opcional; si no se da, por omisión es `index'.
2627 \begin_layout Standard
2628 Ninguno de estos tres últimos se usan actualmente en ninguno de los convertidore
2629 s que son instalados por \SpecialChar LyX
2633 \begin_layout Standard
2634 No tienes que definir convertidores entre todos los formatos que quieras
2636 Por ejemplo, observarás que no hay convertidor `\SpecialChar LyX
2637 a PostScript', sin embargo
2639 exporta a PostScript.
2640 Lo hace creando primero un archivo \SpecialChar LaTeX
2641 (no es necesario un convertidor para
2642 esto), que luego es convertido a DVI mediante el convertidor `\SpecialChar LaTeX
2644 y por último convierte el archivo DVI resultante a PostScript.
2646 encuentra automáticamente estas 'cadenas' de convertidores y siempre escogerá
2647 la cadena más corta posible.
2648 Sin embargo, aún puedes definir múltiples métodos de conversión entre formatos.
2649 Por ejemplo, la configuración estándar de \SpecialChar LyX
2650 provee cinco caminos para convertir
2655 \begin_layout Enumerate
2656 directamente, usando
2657 \begin_inset Flex Noun
2660 \begin_layout Plain Layout
2669 \begin_layout Enumerate
2670 mediante (DVI y) PostScript, usando
2671 \begin_inset Flex Noun
2674 \begin_layout Plain Layout
2683 \begin_layout Enumerate
2684 mediante DVI, usando
2685 \begin_inset Flex Noun
2688 \begin_layout Plain Layout
2697 \begin_layout Enumerate
2698 directamente, usando
2703 \begin_inset Flex Noun
2706 \begin_layout Plain Layout
2716 \begin_layout Enumerate
2717 directamente, usando
2718 \begin_inset Flex Noun
2721 \begin_layout Plain Layout
2731 \begin_layout Standard
2732 Para construir estas cadenas alternativas tienes que definir múltiples 'formatos
2733 de archivo' objetivo, como se describe en la sección
2734 \begin_inset space ~
2738 \begin_inset CommandInset ref
2740 reference "sec:Formatos"
2745 Por ejemplo, en la configuración estándar, se definen los formatos llamados
2747 \begin_inset Flex Noun
2750 \begin_layout Plain Layout
2761 \begin_inset Flex Noun
2764 \begin_layout Plain Layout
2771 \begin_inset Flex Noun
2774 \begin_layout Plain Layout
2785 \begin_inset Flex Noun
2788 \begin_layout Plain Layout
2795 \begin_inset Flex Noun
2798 \begin_layout Plain Layout
2809 \begin_inset Flex Noun
2812 \begin_layout Plain Layout
2819 \begin_inset Flex Noun
2822 \begin_layout Plain Layout
2833 \begin_inset Flex Noun
2836 \begin_layout Plain Layout
2844 \begin_inset Flex Noun
2847 \begin_layout Plain Layout
2858 \begin_inset Flex Noun
2861 \begin_layout Plain Layout
2868 ), todos ellos compartiendo la extensión
2869 \begin_inset Flex Noun
2872 \begin_layout Plain Layout
2878 , y que corresponden a los métodos de conversión antes mencionados.
2881 \begin_layout Chapter
2882 Internacionalización de \SpecialChar LyX
2884 \begin_inset CommandInset label
2886 name "cap:Internacionalización-de-LyX"
2893 \begin_layout Standard
2895 soporta el uso de una interfaz traducida.
2896 La última vez que lo comprobamos, \SpecialChar LyX
2897 suministraba textos en treinta idiomas.
2898 El idioma elegido se denomina
2903 (Para lecciones adicionales sobre configuración de idiomas, véase también
2905 \begin_inset Quotes fld
2909 \begin_inset Quotes frd
2912 del sistema operativo.
2913 En Linux, la página de manual de
2914 \begin_inset Flex Code
2917 \begin_layout Plain Layout
2923 es un buen punto de partida).
2927 \begin_layout Standard
2928 Hay que advertir que estas traducciones funcionarán pero tienen algunos
2930 En particular, todos los diálogos se han diseñado con el inglés en mente,
2931 lo que significa que algún texto traducido podría ser demasiado largo para
2932 ajustarse al espacio asignado.
2933 Esto solo es un problema de presentación en pantalla y no causará ningún
2935 Además, encontrarás que algunas traducciones no definen atajos de teclado
2937 A veces, simplemente no hay letras libres suficientes para ello.
2938 Otras veces, el traductor todavía no lo ha completado.
2939 Nuestro equipo de traducción, al que podrías unirte si quieres,
2943 \begin_layout Plain Layout
2944 Si usas con fluidez un idioma distinto del inglés, ¡unirse a estos equipos
2945 es una estupenda forma de corresponder a la comunidad \SpecialChar LyX
2951 intentará, por supuesto, corregir estas deficiencias en futuras versiones
2956 \begin_layout Section
2957 Traducción de \SpecialChar LyX
2961 \begin_layout Subsection
2962 Traducción de la interfaz gráfica de usuario (mensajes de texto)
2965 \begin_layout Standard
2967 utiliza la biblioteca GNU
2968 \begin_inset Flex Code
2971 \begin_layout Plain Layout
2977 para manejar la internacionalización de la interfaz.
2978 Para que \SpecialChar LyX
2979 hable tu idioma preferido en todos los menús y diálogos es necesario
2981 \begin_inset Flex Code
2984 \begin_layout Plain Layout
2991 Si está disponible, tendrás que generar a partir de él un archivo
2992 \begin_inset Flex Code
2995 \begin_layout Plain Layout
3002 El procedimiento para hacer todo esto se explica en la documentación de
3004 \begin_inset Flex Code
3007 \begin_layout Plain Layout
3014 Puedes hacer esto solo para ti, pero también podrías compartir el resultado
3015 de tu trabajo con el resto de la comunidad \SpecialChar LyX
3017 Envía un mensaje a la lista de desarrolladores de \SpecialChar LyX
3018 para más información
3019 sobre cómo proceder.
3022 \begin_layout Standard
3023 En resumen, esto es lo que deberías hacer (xx indica el código del idioma):
3026 \begin_layout Itemize
3027 Inspecciona el código fuente de \SpecialChar LyX
3030 \begin_inset CommandInset href
3032 name "información en la web"
3033 target "http://www.lyx.org/devel/cvs.php"
3040 \begin_layout Itemize
3042 \begin_inset Flex Code
3045 \begin_layout Plain Layout
3051 a la carpeta de los archivos
3052 \begin_inset Flex Code
3055 \begin_layout Plain Layout
3062 Después lo renombras como
3063 \begin_inset Flex Code
3066 \begin_layout Plain Layout
3074 \begin_inset Flex Code
3077 \begin_layout Plain Layout
3083 no está por ningún sitio, puede rehacerse con el comando de consola
3084 \begin_inset Flex Code
3087 \begin_layout Plain Layout
3093 en ese directorio, o puedes usar como muestra un archivo
3094 \begin_inset Flex Code
3097 \begin_layout Plain Layout
3103 de algún otro idioma).
3106 \begin_layout Itemize
3108 \begin_inset Flex Code
3111 \begin_layout Plain Layout
3121 \begin_layout Plain Layout
3122 Es un archivo de texto, se puede editar en cualquier editor de texto.
3123 Pero hay programas especializados para editar estos archivos, como
3127 (para todas las plataformas) o
3136 tiene un `modo' para editar archivos
3137 \begin_inset Flex Code
3140 \begin_layout Plain Layout
3151 Para algunos nombres de menú y otros artilugios hay además atajos de teclado
3152 que deberían traducirse.
3153 Dichas teclas se marcan con una `|' delante, y deberían traducirse de acuerdo
3154 con las palabras y frases del idioma.
3155 Además tendrías que rellenar la información al principio del nuevo archivo
3157 \begin_inset Flex Code
3160 \begin_layout Plain Layout
3166 , correo electrónico, etc., para que la gente sepa dónde enviarte sugerencias
3167 o divertidas diatribas.
3170 \begin_layout Standard
3171 Si estás haciendo esto solo para ti, entonces:
3174 \begin_layout Itemize
3176 \begin_inset Flex Code
3179 \begin_layout Plain Layout
3187 \begin_inset Flex Code
3190 \begin_layout Plain Layout
3191 msgfmt -o xx.mo < xx.po
3199 \begin_layout Itemize
3201 \begin_inset Flex Code
3204 \begin_layout Plain Layout
3210 a tu directorio local, en la carpeta apropiada para los mensajes de las
3211 aplicaciones en el idioma xx, con el nombre
3212 \begin_inset Flex Code
3215 \begin_layout Plain Layout
3222 \begin_inset space \thinspace{}
3226 \begin_inset space \space{}
3230 \begin_inset Flex Code
3233 \begin_layout Plain Layout
3234 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3244 \begin_layout Standard
3245 Sin embargo, ya se ha dicho, lo mejor sería poder añadir el nuevo archivo
3247 \begin_inset Flex Code
3250 \begin_layout Plain Layout
3256 a la distribución de \SpecialChar LyX
3257 , para que otros puedan usarlo.
3258 Esto requiere hacer cambios en \SpecialChar LyX
3259 , así que envía un correo a la lista de
3260 desarrolladores si estás interesado en hacerlo.
3263 \begin_layout Subsubsection
3267 \begin_layout Standard
3268 A veces resulta que un mensaje en inglés tiene diversas traducciones en
3270 Un ejemplo es la palabra
3271 \begin_inset Flex Code
3274 \begin_layout Plain Layout
3280 , que en alemán se puede traducir por Nach o Bis, según el sentido exacto
3282 \begin_inset Quotes fld
3286 \begin_inset Quotes frd
3291 \begin_inset Flex Code
3294 \begin_layout Plain Layout
3300 no maneja tales traducciones ambiguas.
3301 Por lo tanto, debes añadir alguna información contextual al mensaje: en
3303 \begin_inset Flex Code
3306 \begin_layout Plain Layout
3313 \begin_inset Flex Code
3316 \begin_layout Plain Layout
3317 To[[as in 'From format x to format y']]
3323 \begin_inset Flex Code
3326 \begin_layout Plain Layout
3327 To[[as in 'From page x to page y']]
3333 Ahora las dos apariciones de
3334 \begin_inset Flex Code
3337 \begin_layout Plain Layout
3344 \begin_inset Flex Code
3347 \begin_layout Plain Layout
3353 y pueden traducirse correctamente por Nach y Bis, respectivamente.
3356 \begin_layout Standard
3357 Por supuesto que la información contextual debe eliminarse del mensaje original
3358 si no se usa en la traducción.
3359 Por eso hay que ponerla entre dobles corchetes al final del mensaje (véase
3361 El mecanismo de traducción de \SpecialChar LyX
3362 asegura que todo lo que va entre corchetes
3363 al final de los mensajes se quita antes de mostrarlos.
3366 \begin_layout Subsection
3367 Traducción de la documentación
3370 \begin_layout Standard
3371 La documentación en línea (menú
3374 \begin_inset Flex Noun
3377 \begin_layout Plain Layout
3391 ) puede (¡debería!) traducirse.
3392 Si hay versiones traducidas de la documentación disponible
3396 \begin_layout Plain Layout
3397 Hasta marzo de 2008, al menos algunos de los documentos han sido traducidos
3398 a catorce idiomas, y el Tutorial está disponible en algunos más.
3404 \begin_inset Flex Code
3407 \begin_layout Plain Layout
3413 está adecuadamente configurado, \SpecialChar LyX
3415 \begin_inset Quotes fld
3419 \begin_inset Quotes frd
3424 busca las traducciones en
3427 \begin_inset Flex Code
3430 \begin_layout Plain Layout
3449 es el código para el idioma en uso actualmente.
3450 Si no hay versión traducida se presentará por omisión la versión inglesa
3452 Ten en cuenta que las versiones traducidas deben tener los mismos nombres
3457 de antes) que el original.
3458 Si te animas a traducir documentación (¡de paso, una excelente manera de
3459 leerla atentamente!), hay algunas cosas que deberías tener en cuenta:
3462 \begin_layout Itemize
3463 Consulta la web de traducción de la documentación en
3464 \begin_inset CommandInset href
3466 name "http://www.lyx.org/Translation"
3467 target "http://www.lyx.org/Translation"
3472 Así podrás comprobar el estado actual de traducción de documentos a tu
3474 También si hay alguien que esté coordinando la traducción a tu idioma.
3475 Si no hay nadie comunícanos, por favor, si estás interesado en ello.
3478 \begin_layout Standard
3479 Una vez que te has decidido a empezar, he aquí algunos consejos que te pueden
3480 ahorrar inconvenientes:
3483 \begin_layout Itemize
3484 ¡Únete al equipo de documentación! En
3487 \begin_inset Flex Noun
3490 \begin_layout Plain Layout
3491 Ayuda\SpecialChar menuseparator
3501 , que por cierto, es el primer documento que se debería traducir, hay informació
3502 n sobre cómo hacerlo.
3505 \begin_layout Itemize
3506 Infórmate sobre las normas tipográficas de tu idioma.
3507 La tipografía es un antiguo arte que ha desarrollado durante siglos una
3508 gran variedad de convenciones en diversas partes del mundo.
3509 Estudia también la terminología profesional de los tipógrafos en tu país.
3510 Inventar tu propia terminología sólo provocará confusión.
3513 (¡Cuidado! La tipografía es adictiva!)
3516 \begin_layout Itemize
3517 Haz una copia del documento para trabajar sobre ella.
3518 Puedes guardarla como archivo personal de traducción en tu directorio
3525 \begin_layout Itemize
3526 De vez en cuando el documento original (del equipo \SpecialChar LyX
3528 Usa el visor de fuentes en
3529 \begin_inset CommandInset href
3531 name "http://www.lyx.org/trac/timeline"
3532 target "http://www.lyx.org/trac/timeline"
3536 para ver los cambios realizados.
3537 De esta manera puedes ver fácilmente qué partes del documento traducido
3538 necesitan actualizarse.
3541 \begin_layout Standard
3542 Si encuentras un error en el documento original, ¡corríjelo y notifica los
3543 cambios al equipo de documentación! (¿No te has olvidado de contactar con
3544 el equipo de documentación, verdad?)
3547 \begin_layout Standard
3548 \begin_inset Branch OutDated
3551 \begin_layout Section
3552 International Keyboard Support
3555 \begin_layout Standard
3558 [Editor's Note: The following section is by
3566 It needs to be fixed to conform to the new Documentation Style sheet and
3567 to make use of the new v1.0 features.
3568 The whole thing also needs to be merged with the section following it.-jw
3569 It may also be badly out of date.-rh (2008)]
3572 \begin_layout Subsection
3573 Defining Own Keymaps: Keymap File Format
3576 \begin_layout Standard
3577 Let's look at a keyboard definition file a little closer.
3578 It is a plain text file defining
3581 \begin_layout Itemize
3582 key-to-key or key-to-string translations
3585 \begin_layout Itemize
3589 \begin_layout Itemize
3590 dead keys exceptions
3593 \begin_layout Standard
3594 To define key-to-key or key-to-string translation, use this command:
3597 \begin_layout Quotation
3598 \begin_inset Flex Code
3601 \begin_layout Plain Layout
3610 \begin_inset Flex Code
3613 \begin_layout Plain Layout
3622 \begin_layout Standard
3624 \begin_inset Flex Code
3627 \begin_layout Plain Layout
3633 is the key to be translated and
3634 \begin_inset Flex Code
3637 \begin_layout Plain Layout
3643 is the string to be inserted into the document.
3644 To define dead keys, use:
3647 \begin_layout Quotation
3648 \begin_inset Flex Code
3651 \begin_layout Plain Layout
3660 \begin_inset Flex Code
3663 \begin_layout Plain Layout
3672 \begin_layout Standard
3674 \begin_inset Flex Code
3677 \begin_layout Plain Layout
3683 is a keyboard key and
3684 \begin_inset Flex Code
3687 \begin_layout Plain Layout
3694 The following dead keys are supported (shortcut name is in parentheses):
3697 \begin_layout Quotation
3701 \begin_inset space \hfill{}
3707 \begin_layout Quotation
3709 \begin_inset space \hfill{}
3715 \begin_layout Quotation
3717 \begin_inset space \hfill{}
3723 \begin_layout Quotation
3725 \begin_inset space \hfill{}
3731 \begin_layout Quotation
3733 \begin_inset space \hfill{}
3739 \begin_layout Quotation
3741 \begin_inset space \hfill{}
3748 \begin_layout Plain Layout
3760 \begin_layout Quotation
3762 \begin_inset space \hfill{}
3768 \begin_layout Quotation
3770 \begin_inset space \hfill{}
3777 \begin_layout Plain Layout
3789 \begin_layout Quotation
3791 \begin_inset space \hfill{}
3797 \begin_layout Quotation
3799 \begin_inset space \hfill{}
3805 \begin_layout Quotation
3807 \begin_inset space \hfill{}
3814 \begin_layout Plain Layout
3826 \begin_layout Quotation
3828 \begin_inset space \hfill{}
3835 \begin_layout Plain Layout
3847 \begin_layout Quotation
3849 \begin_inset space \hfill{}
3855 \begin_layout Quotation
3856 hungarian umlaut (hug)
3857 \begin_inset space \hfill{}
3863 \begin_layout Quotation
3865 \begin_inset space \hfill{}
3871 \begin_layout Quotation
3873 \begin_inset space \hfill{}
3880 \begin_layout Plain Layout
3892 \begin_layout Standard
3893 Since in many international keyboards there are exceptions to what some
3894 dead keys should do, you can define them using
3897 \begin_layout Quotation
3898 \begin_inset Flex Code
3901 \begin_layout Plain Layout
3909 deadkey key outstring
3912 \begin_layout Standard
3913 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
3917 \begin_layout Quotation
3918 \begin_inset Flex Code
3921 \begin_layout Plain Layout
3934 \begin_layout Standard
3935 to make it work correctly.
3936 Also, you have to define as exceptions dead keys over i and j, to remove
3937 the dot from them before inserting an accent mark.
3938 I will change this when the time comes, but so far I haven't had time.
3941 \begin_layout Standard
3942 Oh, and about characters: backslash is escaped, so to enter it, you'll need
3945 \begin_inset Flex Code
3948 \begin_layout Plain Layout
3954 have different meaning.
3956 \begin_inset Flex Code
3959 \begin_layout Plain Layout
3965 marks comments, quotes start and end \SpecialChar LaTeX
3967 To enter quote, you'll need to use
3968 \begin_inset Flex Code
3971 \begin_layout Plain Layout
3980 \begin_inset Flex Code
3983 \begin_layout Plain Layout
3990 \begin_inset Flex Code
3993 \begin_layout Plain Layout
4004 \begin_layout Standard
4005 If you make a keyboard description file that works for your language, please
4006 mail it to me, so I can include it in the next keymap distribution.
4009 \begin_layout Standard
4010 More keywords will be supported in keymap configuration file in future,
4014 \begin_layout Itemize
4015 \begin_inset Flex Code
4018 \begin_layout Plain Layout
4029 \begin_inset space \hfill{}
4033 \begin_inset Flex Code
4036 \begin_layout Plain Layout
4045 \begin_layout Itemize
4046 \begin_inset Flex Code
4049 \begin_layout Plain Layout
4060 \begin_inset space \hfill{}
4064 \begin_inset Flex Code
4067 \begin_layout Plain Layout
4073 an external keymap translation program
4076 \begin_layout Standard
4077 Also, it should look into
4078 \begin_inset Flex Code
4081 \begin_layout Plain Layout
4087 file for defaults, too (for example, a
4088 \begin_inset Flex Code
4091 \begin_layout Plain Layout
4099 option to include default keyboard).
4107 \begin_layout Section
4108 \begin_inset CommandInset label
4114 Cosas sobre teclados internacionales
4117 \begin_layout Standard
4118 \begin_inset Note Note
4121 \begin_layout Plain Layout
4122 Al revisar este documento en marzo de 2008, no examiné este asunto porque
4124 Sería bueno que alguien pudiera hacerlo.
4132 \begin_layout Standard
4133 Las dos secciones siguientes describen con detalle la sintaxis de los archivos
4135 \begin_inset Flex Code
4138 \begin_layout Plain Layout
4147 \begin_inset Flex Code
4150 \begin_layout Plain Layout
4159 Deberían servir de ayuda para diseñar tus propios mapas de teclado si los
4160 suministrados no satisfacen tus necesidades.
4163 \begin_layout Subsection
4167 \begin_layout Standard
4169 \begin_inset Flex Code
4172 \begin_layout Plain Layout
4178 asocia pulsaciones de teclas con caracteres o secuencias de ellos.
4179 Como sugiere el nombre, sirve para trazar un mapa del teclado.
4180 En esta sección se describen las palabras clave
4181 \begin_inset Flex Code
4184 \begin_layout Plain Layout
4193 \begin_inset Flex Code
4196 \begin_layout Plain Layout
4205 \begin_inset Flex Code
4208 \begin_layout Plain Layout
4217 \begin_inset Flex Code
4220 \begin_layout Plain Layout
4229 \begin_inset Flex Code
4232 \begin_layout Plain Layout
4241 \begin_layout Labeling
4242 \labelwidthstring 00.00.0000
4243 \begin_inset Flex Code
4246 \begin_layout Plain Layout
4254 Asocia un carácter a una cadena
4257 \begin_layout LyX-Code
4272 \begin_layout Standard
4286 , la doble comilla (") y la barra invertida (
4288 ) deben escaparse con una barra (
4293 \begin_layout Standard
4294 Un ejemplo de una declaración de
4295 \begin_inset Flex Noun
4298 \begin_layout Plain Layout
4306 para hacer que el símbolo
4307 \begin_inset Flex Noun
4310 \begin_layout Plain Layout
4318 sea generado por la tecla
4319 \begin_inset Flex Noun
4322 \begin_layout Plain Layout
4333 \begin_layout LyX-Code
4339 \begin_layout Labeling
4340 \labelwidthstring 00.00.0000
4341 \begin_inset Flex Code
4344 \begin_layout Plain Layout
4352 Especifica un carácter acentuado
4355 \begin_layout LyX-Code
4364 \begin_layout Standard
4365 Esto hará que el carácter
4373 sobre el(los) carácter(es) permitido(s)
4378 Este es el mecanismo de tecla muerta
4382 \begin_layout Plain Layout
4392 se refiere a una tecla que no genera ningún carácter por sí mismo, pero
4393 seguida de otra tecla genera el carácter acentuado deseado.
4394 Por ejemplo, un caráter con diéresis, ü, se genera de esta manera.
4403 \begin_layout Standard
4408 y después una tecla que no está entre las permitidas (
4412 ), en la salida obtendrás el carácter
4416 seguido por el otro carácter, el no permitido.
4417 Hay que tener en cuenta que
4418 \begin_inset Flex Noun
4421 \begin_layout Plain Layout
4429 cancela una tecla muerta, de modo que si pulsas
4434 \begin_inset Flex Noun
4437 \begin_layout Plain Layout
4445 , el cursor no retrocede una posición sino que anula el efecto que
4449 hubiera tenido sobre la siguiente pulsación.
4452 \begin_layout Standard
4453 En el ejemplo siguiente, el carácter ' va a generar un acento agudo permitido
4454 sobre los caracteres a, e, i, o, u, A, E, I, O, U:
4457 \begin_layout LyX-Code
4460 kmod ' acute aeiouAEIOU
4463 \begin_layout Labeling
4464 \labelwidthstring 00.00.0000
4465 \begin_inset Flex Code
4468 \begin_layout Plain Layout
4474 Especifica una excepción para el carácter acentuado
4477 \begin_layout LyX-Code
4486 \begin_layout Standard
4487 Define una excepción para el
4500 debe haber sido asignado a una pulsación con una declaración previa de
4502 \begin_inset Flex Code
4505 \begin_layout Plain Layout
4521 no debe estar en el conjunto
4530 Si tecleas la secuencia
4539 Si dicha declaración no existe en el archivo
4540 \begin_inset Flex Code
4543 \begin_layout Plain Layout
4563 es el primer argumento de la declaración
4564 \begin_inset Flex Code
4567 \begin_layout Plain Layout
4580 \begin_layout Standard
4581 El comando siguiente generará äi cuando teclees agudo-i ('i):
4584 \begin_layout LyX-Code
4598 \begin_layout Labeling
4599 \labelwidthstring 00.00.0000
4600 \begin_inset Flex Code
4603 \begin_layout Plain Layout
4609 Combina dos caracteres acentos
4612 \begin_layout LyX-Code
4618 accent1 accent2 allowed
4621 \begin_layout Standard
4622 Esto es bastante esotérico.
4623 Permite combinar el efecto de
4631 (¡en ese orden!) sobre los caracteres permitidos
4644 deben haber sido declaradas con un comando
4645 \begin_inset Flex Code
4648 \begin_layout Plain Layout
4666 \begin_layout Standard
4667 Considera este ejemplo del archivo
4668 \begin_inset Flex Code
4671 \begin_layout Plain Layout
4682 \begin_layout LyX-Code
4685 kmod ; acute aeioyvhAEIOYVH
4689 kcomb acute umlaut iyIY
4692 \begin_layout Standard
4694 \begin_inset Flex Noun
4697 \begin_layout Plain Layout
4705 y obtener el efecto de
4706 \begin_inset Flex Code
4709 \begin_layout Plain Layout
4722 En este caso un retroceso cancela la última tecla muerta, así que si tecleas
4724 \begin_inset Flex Noun
4727 \begin_layout Plain Layout
4736 \begin_inset Flex Code
4739 \begin_layout Plain Layout
4752 \begin_layout Subsection
4756 \begin_layout Standard
4757 Después de realizados el mapa
4758 \begin_inset Flex Code
4761 \begin_layout Plain Layout
4770 \begin_inset Flex Code
4773 \begin_layout Plain Layout
4783 traza el mapa de las cadenas que los símbolos generan para los caracteres
4784 en la tipografía actual.
4785 La distribución de \SpecialChar LyX
4786 actualmente incluye al menos los archivos
4787 \begin_inset Flex Code
4790 \begin_layout Plain Layout
4799 \begin_inset Flex Code
4802 \begin_layout Plain Layout
4813 \begin_layout Standard
4814 En general el archivo
4815 \begin_inset Flex Code
4818 \begin_layout Plain Layout
4826 es una secuencia de declaraciones de la forma:
4829 \begin_layout LyX-Code
4842 \begin_layout Standard
4843 Por ejemplo, para asociar
4844 \begin_inset Flex Noun
4847 \begin_layout Plain Layout
4857 al correspondiente carácter en el conjunto iso-8859-1 (233), se usa:
4860 \begin_layout LyX-Code
4868 \begin_layout Standard
4870 \begin_inset Flex Code
4873 \begin_layout Plain Layout
4882 \begin_inset Flex Code
4885 \begin_layout Plain Layout
4896 Anotar que el mismo carácter puede aplicarse a más de una cadena.
4898 \begin_inset Flex Code
4901 \begin_layout Plain Layout
4912 \begin_layout LyX-Code
4924 \begin_inset Newline newline
4940 \begin_layout Standard
4942 no puede encontrar una declaración para la cadena por una tecla o una
4943 secuencia con tecla muerta, intentará si aparece como un carácter acentuado
4944 y probará a dibujar un acento sobre el carácter en la pantalla.
4947 \begin_layout Subsection
4951 \begin_layout Standard
4952 Hay una segunda manera de añadir soporte para caracteres internacionales
4953 mediante las denominadas teclas muertas.
4954 Una tecla muerta trabaja en combinación con una letra para generar un carácter
4956 Aquí explicaremos como crear una sencillísima tecla muerta para ilustrar
4960 \begin_layout Standard
4961 Supongamos que necesitas el carácter circunflejo
4962 \begin_inset Quotes fld
4966 \begin_inset Quotes frd
4970 Podrías asociar la tecla
4971 \begin_inset Flex Noun
4974 \begin_layout Plain Layout
4981 \begin_inset Flex Noun
4984 \begin_layout Plain Layout
4990 ) al comando \SpecialChar LyX
4992 \begin_inset Flex Code
4995 \begin_layout Plain Layout
5002 \begin_inset Flex Code
5005 \begin_layout Plain Layout
5012 Ahora, cuando pulses la tecla
5013 \begin_inset Flex Noun
5016 \begin_layout Plain Layout
5022 seguida de una letra, obtendrás esa letra con circunflejo sobre ella.
5023 Por ejemplo, la secuencia
5024 \begin_inset Quotes fld
5028 \begin_inset Flex Noun
5031 \begin_layout Plain Layout
5038 \begin_inset Quotes frd
5042 \begin_inset Quotes fld
5046 \begin_inset Quotes frd
5051 \begin_inset Quotes fld
5055 \begin_inset Flex Code
5058 \begin_layout Plain Layout
5065 \begin_inset Quotes frd
5068 , sin embargo, \SpecialChar LyX
5069 no imprime nada puesto que
5070 \begin_inset Flex Noun
5073 \begin_layout Plain Layout
5079 nunca lleva un circunflejo.
5081 \begin_inset Flex Noun
5084 \begin_layout Plain Layout
5090 tras una tecla muerta imprime el acento solo.
5091 ¡Advierte este último punto! Si asocias una tecla a una tecla muerta necesitará
5092 s reasociar el carácter de esa tecla a otra tecla.
5094 \begin_inset Flex Noun
5097 \begin_layout Plain Layout
5103 a una cedilla es una mala idea, puesto que solo obtendrás cedillas en lugar
5107 \begin_layout Standard
5108 Una forma habitual de asociar teclas muertas es usar
5109 \begin_inset Flex Noun
5112 \begin_layout Plain Layout
5119 \begin_inset Flex Noun
5122 \begin_layout Plain Layout
5129 \begin_inset Flex Noun
5132 \begin_layout Plain Layout
5138 en combinación con un acento, como
5139 \begin_inset Quotes fld
5143 \begin_inset Flex Noun
5146 \begin_layout Plain Layout
5153 \begin_inset Quotes frd
5157 \begin_inset Quotes fld
5161 \begin_inset Flex Noun
5164 \begin_layout Plain Layout
5171 \begin_inset Quotes frd
5175 \begin_inset Quotes fld
5179 \begin_inset Flex Noun
5182 \begin_layout Plain Layout
5189 \begin_inset Quotes frd
5193 Otra forma incluye el uso de
5194 \begin_inset Flex Code
5197 \begin_layout Plain Layout
5204 \begin_inset Flex Code
5207 \begin_layout Plain Layout
5213 para configurar la tecla especial
5214 \begin_inset Flex Code
5217 \begin_layout Plain Layout
5224 Esta tecla actúa de alguna forma como
5225 \begin_inset Flex Noun
5228 \begin_layout Plain Layout
5234 y permite teclas a caracteres acentuados.
5235 También puedes transformar teclas en muertas asociándolas a algo como
5236 \begin_inset Flex Code
5239 \begin_layout Plain Layout
5245 y después asociando esta tecla simbólica al correspondiente comando \SpecialChar LyX
5250 \begin_layout Plain Layout
5255 : Esto es exactamente lo que hago en mis archivos
5256 \begin_inset Flex Code
5259 \begin_layout Plain Layout
5266 \begin_inset Flex Code
5269 \begin_layout Plain Layout
5277 \begin_inset Flex Noun
5280 \begin_layout Plain Layout
5282 \begin_inset space ~
5291 \begin_inset Flex Code
5294 \begin_layout Plain Layout
5300 y unas cuantas de estas teclas simbólicas
5301 \begin_inset Quotes fld
5305 \begin_inset Flex Code
5308 \begin_layout Plain Layout
5315 \begin_inset Quotes frd
5318 asociadas a cosas como
5319 \begin_inset Flex Noun
5322 \begin_layout Plain Layout
5324 \begin_inset space ~
5333 \begin_inset Flex Noun
5336 \begin_layout Plain Layout
5338 \begin_inset space ~
5347 Así es como genero mis caracteres acentuados.
5352 Puedes hacer casi cualquier cosa con la tecla
5353 \begin_inset Flex Code
5356 \begin_layout Plain Layout
5363 \begin_inset Flex Noun
5366 \begin_layout Plain Layout
5372 , una tecla de función de reserva, etc.
5373 En cuanto a los comandos \SpecialChar LyX
5374 que generan acentos, consulta la entrada para
5376 \begin_inset Flex Code
5379 \begin_layout Plain Layout
5390 Ahí encontrarás la lista completa.
5393 \begin_layout Subsection
5394 Guardar la configuración de idioma
5397 \begin_layout Standard
5398 Puedes editar tus preferencias para que el entorno de idioma adecuado sea
5399 automáticamente configurado al iniciar \SpecialChar LyX
5401 \begin_inset Flex Noun
5404 \begin_layout Plain Layout
5405 Herramientas\SpecialChar menuseparator
5414 \begin_layout Chapter
5415 Instalación de nuevas clases de documento, formatos y plantillas
5416 \begin_inset CommandInset label
5418 name "cap:Instalación-de-nuevas"
5423 \begin_inset Argument 1
5426 \begin_layout Plain Layout
5427 Instalación de clases, formatos \SpecialChar ldots
5436 \begin_layout Standard
5437 En este capítulo describimos los procedimientos para crear e instalar nuevos
5438 archivos de plantillas y formatos de \SpecialChar LyX
5439 , así como repasar la instalación
5440 correcta de nuevas clases de documentos \SpecialChar LaTeX
5444 \begin_layout Standard
5445 En primer lugar, permite que digamos algo sobre la relación entre \SpecialChar LyX
5446 y \SpecialChar LaTeX
5448 Lo que hay que entender es que, en cierto sentido, \SpecialChar LyX
5449 no sabe nada de \SpecialChar LaTeX
5451 Desde el punto de vista de \SpecialChar LyX
5452 , \SpecialChar LaTeX
5453 solo es uno más de los varios
5454 \begin_inset Quotes fld
5458 \begin_inset Quotes frd
5461 en los que es capaz de generar salida.
5462 Otros son DocBook, texto sencillo y XHTML.
5464 es, por supuesto, un formato particularmente importante, pero muy poca
5465 de la información que \SpecialChar LyX
5466 tiene sobre \SpecialChar LaTeX
5467 está realmente contenida en el propio
5472 \begin_layout Plain Layout
5473 Algunos comandos son lo bastante complejos como para ser incluidos en el
5474 código de \SpecialChar LyX
5476 Pero en general los desarrolladores consideran esto una mala cosa.
5482 Esa información, incluso para las clases estándar como
5486 , está almacenada en 'archivos de formato (
5491 De igual manera \SpecialChar LyX
5492 no sabe gran cosa sobre DocBook o XHTML.
5493 Esa información está en los archivos de formato.
5496 \begin_layout Standard
5497 El archivo de formato para una determinada clase de documento se puede considera
5498 r como un manual de instrucciones para traducir las estructuras de \SpecialChar LyX
5500 y sus estilos, ciertos tipos de recuadros, etc.— a las estructuras correspondien
5501 tes de \SpecialChar LaTeX
5503 Por ejemplo, casi todo lo que \SpecialChar LyX
5505 \begin_inset Flex Code
5508 \begin_layout Plain Layout
5514 está contenido en el archivo
5515 \begin_inset Flex Code
5518 \begin_layout Plain Layout
5524 y en otros archivos incluidos en este.
5525 Por esta razón, quien intente escribir archivos de formato debería empezar
5526 por estudiar los archivos existentes.
5527 Un buen sitio para empezar es
5528 \begin_inset Flex Code
5531 \begin_layout Plain Layout
5537 , que está incluido en
5538 \begin_inset Flex Code
5541 \begin_layout Plain Layout
5548 \begin_inset Flex Code
5551 \begin_layout Plain Layout
5557 y muchos otros archivos de formato para clases de documento.
5558 En este archivo se definen las secciones y demás:
5559 \begin_inset Flex Code
5562 \begin_layout Plain Layout
5568 indica a \SpecialChar LyX
5569 como traducir los párrafos con estilos como Sección, Subsección,
5570 etc., a los comandos y etiquetas correspondientes en \SpecialChar LaTeX
5573 \begin_inset Flex Code
5576 \begin_layout Plain Layout
5582 solo incluye, básicamente, varios de estos archivos
5583 \begin_inset Flex Code
5586 \begin_layout Plain Layout
5595 \begin_layout Standard
5596 Pero definir la correspondencia \SpecialChar LyX
5598 no es lo único que hacen los archivos
5600 Su otra tarea es definir cómo aparecerán en pantalla las estructuras de
5603 El hecho de que los archivos de formato tengan estas dos tareas es a veces
5604 fuente de confusión, porque son totalmente independientes.
5605 Indicar a \SpecialChar LyX
5606 cómo traducir cierto estilo de párrafo a \SpecialChar LaTeX
5607 no le dice cómo mostrarlo
5608 en pantalla; a la inversa, indicar cómo mostrar en pantalla un estilo de
5609 párrafo no tiene nada que ver con su traducción a \SpecialChar LaTeX
5610 (solo permite indicar
5611 a \SpecialChar LaTeX
5613 Así pues, en general, cuando defines una nueva construcción en \SpecialChar LyX
5615 tienes que hacer dos cosas: 1) indicar la traducción a \SpecialChar LaTeX
5617 presentación en pantalla.
5620 \begin_layout Standard
5621 Gran parte de lo dicho es cierto, también, en relación con otros formatos
5622 de salida, aunque XHTML es un poco diferente porque en este caso \SpecialChar LyX
5627 , en cierta medida, de usar la información de la presentación de un párrafo
5628 en pantalla para generar la presentación (en forma de CSS) del párrafo
5630 Incluso en este caso, no obstante, la distinción entre lo que hace \SpecialChar LyX
5632 e y la forma en que las cosas se muestran externamente sigue en vigor, y
5633 ambas se pueden controlar separadamente.
5635 \begin_inset CommandInset ref
5637 reference "sec:Etiquetas-para-XHTML"
5644 \begin_layout Section
5645 Instalación de nuevos archivos \SpecialChar LaTeX
5649 \begin_layout Standard
5650 Algunas instalaciones quizá no incluyan un paquete \SpecialChar LaTeX
5651 que te gustaría usar
5654 Por ejemplo, podrías necesitar Foil\SpecialChar TeX
5655 , un paquete para preparar transparencias
5656 o diapositivas para proyectores.
5657 Las modernas distribuciones de \SpecialChar LaTeX
5658 como \SpecialChar TeX
5659 Live (2008 o posterior) o MiK\SpecialChar TeX
5661 una interfaz de usuario para eso.
5662 Por ejemplo, en MiK\SpecialChar TeX
5664 \begin_inset Quotes fld
5667 Administrador de paquetes
5668 \begin_inset Quotes frd
5671 para obtener una lista de los disponibles.
5672 Para instalar uno, haz clic derecho sobre él o usa el botón de la herramienta
5676 \begin_layout Standard
5677 Si tu distribución \SpecialChar LaTeX
5679 \begin_inset Quotes fld
5682 administrador de paquetes
5683 \begin_inset Quotes frd
5686 , o si el paquete no está disponible en ella, sigue los siguientes pasos
5687 para instalarlo manualmente:
5690 \begin_layout Enumerate
5691 Consigue el paquete de
5692 \begin_inset CommandInset href
5695 target "http://www.ctan.org/"
5702 \begin_layout Enumerate
5703 Si el paquete contiene un archivo con la extensión
5704 \begin_inset Quotes fld
5708 \begin_inset Flex Code
5711 \begin_layout Plain Layout
5718 \begin_inset Quotes frd
5721 (es el caso de Foil\SpecialChar TeX
5722 ) abre una consola, cambia a la carpeta del archivo
5723 y ejecuta el comando
5724 \begin_inset Flex Code
5727 \begin_layout Plain Layout
5734 Así desempaquetamos y disponemos de todos los archivos para instalar.
5735 La mayoría de paquetes \SpecialChar LaTeX
5736 no están empaquetados y podemos saltar este paso.
5739 \begin_layout Enumerate
5740 Tienes que decidir si el paquete estará disponible para todos los usuarios
5742 \begin_inset Separator parbreak
5749 \begin_layout Enumerate
5750 En sistemas *nix (Linux, OSX, etc.), si el paquete va estar disponible para
5751 todos los usuarios del sistema, hay que instalarlo en el árbol 'local'
5753 , de lo contrario instálalo en tu directorio \SpecialChar TeX
5755 La ubicación de estos árboles, si no existen ya, depende del sistema.
5756 Para encontrarlos mira en el archivo
5757 \begin_inset Flex Code
5760 \begin_layout Plain Layout
5770 \begin_layout Plain Layout
5771 Usualmente es el directorio
5775 , aunque se puede ejecutar el comando
5776 \begin_inset Flex Code
5779 \begin_layout Plain Layout
5790 La ubicación del árbol `local' de \SpecialChar TeX
5791 está definida por la variable
5792 \begin_inset Flex Code
5795 \begin_layout Plain Layout
5801 ; generalmente algo como
5803 /usr/local/share/texmf/
5806 La ubicación del árbol `user' de \SpecialChar TeX
5808 \begin_inset Flex Code
5811 \begin_layout Plain Layout
5822 (Si estas variables no están predefinidas, debes hacerlo.) Probablemente
5823 necesites permiso de administrador para crear o modificar el árbol `local',
5824 pero no para el árbol `user'.
5825 \begin_inset Newline newline
5828 En general, es recomendable instalar en el árbol `user' porque no será modificad
5829 o o sobrescrito al actualizar el sistema.
5830 Además, se guardará copia de él cuando hagas copia de seguridad de tu directori
5831 o `home' (que debe ser lo habitual).
5834 \begin_layout Enumerate
5835 En Windows, para que el nuevo paquete esté disponible a todos los usuarios,
5836 cambia a la carpeta donde está instalado \SpecialChar LaTeX
5845 , (En MiK\SpecialChar TeX
5859 ) crea una nueva carpeta
5860 \begin_inset Flex Code
5863 \begin_layout Plain Layout
5869 y copia en ella todos los archivos del paquete.
5870 Para hacer el paquete disponible solo a un usuario o si no dispones de
5871 permisos, haz lo mismo pero en el directorio de \SpecialChar LaTeX
5873 \begin_inset space \thinspace{}
5876 ej.,en MiK\SpecialChar TeX
5878 \begin_inset space ~
5882 \begin_inset Newline newline
5889 Documents and Settings
5896 \begin_inset Newline newline
5900 \begin_inset Phantom HPhantom
5903 \begin_layout Plain Layout
5924 \begin_inset Newline newline
5928 \begin_inset Newline newline
5956 \begin_layout Enumerate
5957 Ahora hay que decir a \SpecialChar LaTeX
5958 que hay archivos nuevos.
5959 Esto depende de la distribución de \SpecialChar LaTeX
5961 \begin_inset Separator parbreak
5968 \begin_layout Enumerate
5969 Para \SpecialChar TeX
5970 Live ejecuta el comando
5971 \begin_inset Flex Code
5974 \begin_layout Plain Layout
5981 Si el paquete se instaló para todos los usuarios harán falta permisos de
5985 \begin_layout Enumerate
5986 Para MiK\SpecialChar TeX
5987 , si el paquete se instaló para todos los usuarios, inicia el programa
5989 \begin_inset Quotes eld
5993 \begin_inset space ~
5997 \begin_inset Quotes erd
6001 \begin_inset Quotes eld
6005 \begin_inset Quotes erd
6009 Si no, inicia el programa
6010 \begin_inset Quotes eld
6014 \begin_inset Quotes erd
6021 \begin_layout Enumerate
6022 Finalmente, hay que decir a \SpecialChar LyX
6023 que hay nuevos paquetes disponibles.
6025 \begin_inset Flex Noun
6028 \begin_layout Plain Layout
6029 Herramientas\SpecialChar menuseparator
6035 y reinicia \SpecialChar LyX
6039 \begin_layout Standard
6040 Ya está instalado el paquete.
6041 En nuestro ejemplo, la clase de documento
6042 \begin_inset Flex Code
6045 \begin_layout Plain Layout
6047 \begin_inset space ~
6054 \begin_layout Plain Layout
6066 estará ahora disponible en
6067 \begin_inset Flex Noun
6070 \begin_layout Plain Layout
6071 Documento\SpecialChar menuseparator
6072 Configuración\SpecialChar menuseparator
6074 \begin_inset space ~
6078 \begin_inset space ~
6090 \begin_layout Standard
6091 Si quieres usar una clase de documento \SpecialChar LaTeX
6092 que no aparece listada en
6093 \begin_inset Flex Noun
6096 \begin_layout Plain Layout
6097 Documento\SpecialChar menuseparator
6098 Configuración\SpecialChar menuseparator
6100 \begin_inset space ~
6104 \begin_inset space ~
6112 , debes crear un archivo de formato (`layout') para ella.
6113 Este es el tema de la sección siguiente.
6116 \begin_layout Section
6117 Tipos de archivos de formato
6120 \begin_layout Standard
6121 Esta sección describe los diversos tipos de arhivos de \SpecialChar LyX
6122 que contienen informació
6125 \begin_inset Flex Code
6128 \begin_layout Plain Layout
6134 describen estilos de párrafo y de carácter, y determinan cómo los debería
6135 presentar \SpecialChar LyX
6136 y cómo deberían traducirse a \SpecialChar LaTeX
6137 , DocBook, XHTML o cualquier otro
6138 formato de salida que se vaya a usar.
6142 \begin_layout Standard
6143 Intentaremos aquí dar una minuciosa descripción del proceso; sin embargo,
6144 hay tantos tipos diferentes de documentos soportados por clases de \SpecialChar LaTeX
6146 no podemos aspirar a tratar todas las distintas posibilidades o problemas
6147 que puedas encontrar.
6148 La lista de usuarios de \SpecialChar LyX
6149 es frecuentada por gente con mucha experiencia
6150 en el diseño de formatos deseosa de compartir sus conocimientos.
6153 \begin_layout Standard
6154 Cuando te pongas a escribir un nuevo formato, es de gran ayuda echar un
6155 vistazo a los formatos de ejemplo suministrados con \SpecialChar LyX
6157 Si escribes un `layout' de \SpecialChar LyX
6158 para una clase de documento \SpecialChar LaTeX
6160 podría ser útil también a otros, no dudes en compartir tu labor enviándola
6162 \begin_inset CommandInset href
6164 name "sección 'Layouts' en wiki LyX"
6165 target "http://wiki.lyx.org/Layouts/Layouts"
6169 o incluso a la lista de desarrolladores de \SpecialChar LyX
6170 para poderlo incluir en la
6175 \begin_layout Plain Layout
6176 Hay que advertir que \SpecialChar LyX
6177 se acoge a la licencia GPL, por tanto cualquier material
6178 aportado debe tener la misma licencia.
6186 \begin_layout Subsection
6188 \begin_inset CommandInset label
6190 name "subsec:Módulos-de-formato"
6197 \begin_layout Standard
6198 Hemos hablado hasta ahora de `archivos de formato'.
6199 Pero hay distintos tipos de archivos con información sobre formatos.
6200 Estrictamente, los archivos de formato tienen la extensión
6201 \begin_inset Flex Code
6204 \begin_layout Plain Layout
6210 y proporcionan a \SpecialChar LyX
6211 información sobre las clases de documento.
6212 Sin embargo, a partir de \SpecialChar LyX
6213 1.6, esta información puede proporcionarse también
6218 , que tienen la extensión
6219 \begin_inset Flex Code
6222 \begin_layout Plain Layout
6229 Los módulos son a los paquetes \SpecialChar LaTeX
6230 lo que los formatos a las clases \SpecialChar LaTeX
6232 módulos —como el módulo Notas finales— dan soporte específico a un paquete
6233 determinado —en este caso
6234 \begin_inset Flex Code
6237 \begin_layout Plain Layout
6244 En cierto sentido, los módulos de formato son similares a los `archivos
6249 \begin_layout Plain Layout
6250 Estos pueden tener cualquier extensión pero, por convenio, se usa la extensión
6252 \begin_inset Flex Code
6255 \begin_layout Plain Layout
6267 \begin_inset Flex Code
6270 \begin_layout Plain Layout
6276 —, ya que, como estos, los módulos no son específicos para una clase de
6277 documento dada, sino que se pueden usar con muchos formatos diferentes.
6278 La diferencia es que el uso de un archivo incluido con
6279 \begin_inset Flex Code
6282 \begin_layout Plain Layout
6288 requiere editar dicho archivo, mientras que los módulos se seleccionan
6290 \begin_inset Flex Noun
6293 \begin_layout Plain Layout
6294 Documento\SpecialChar menuseparator
6304 \begin_layout Standard
6305 La construcción de módulos es la forma más fácil de iniciarse en la edición
6306 del formato, puesto que puede ser tan sencillo como añadir un nuevo estilo
6307 de párrafo o un recuadro flexible.
6308 No obstante, los módulos pueden, en principio, contener cualquier cosa
6309 que pueda contener un archivo `layout'.
6312 \begin_layout Standard
6313 Después de crear un módulo nuevo y copiarlo en la carpeta
6314 \begin_inset Flex Code
6317 \begin_layout Plain Layout
6323 , tendrás que reconfigurar \SpecialChar LyX
6324 y reiniciar después para que el módulo aparezca
6326 Sin embargo, los cambios que hagas al módulo se verán inmediatamente si
6328 \begin_inset Flex Noun
6331 \begin_layout Plain Layout
6332 Documento\SpecialChar menuseparator
6338 , seleccionas lo que sea y después pulsas
6339 \begin_inset Quotes fld
6343 \begin_inset Quotes frd
6349 Es muy recomendable guardar el trabajo antes de hacer eso.
6354 es muy recomendable no intentar editar los módulos mientras se está trabajando
6355 simultáneamente en un documento
6358 Aunque los desarrolladores, por supuesto, se esfuerzan en mantener la estabilid
6359 ad de \SpecialChar LyX
6360 en estas situaciones, errores sintácticos y similares en el archivo
6361 del módulo podrían causar extraños comportamientos.
6364 \begin_layout Subsubsection
6368 \begin_layout Standard
6369 Los módulos son a \SpecialChar LyX
6370 lo que los paquetes a \SpecialChar LaTeX
6372 Sin embargo, a veces puede suceder que necesites un recuadro específico
6373 o un estilo de carácter solo para un documento, y escribir un módulo que
6374 estará disponible también para otros documentos tiene poco sentido.
6375 En estos casos, lo que necesitas es el
6376 \begin_inset Quotes fld
6380 \begin_inset Quotes frd
6387 \begin_layout Standard
6390 Documento\SpecialChar menuseparator
6391 Configuración\SpecialChar menuseparator
6395 El gran cuadro de texto permite introducir todo lo que podría incluirse
6396 en un archivo de formato o en un módulo.
6397 De hecho, el formato local de un documento se puede considerar como un
6398 módulo que le pertenece solo a él.
6399 Por tanto, en particular, hay que introducir una etiqueta
6400 \begin_inset Flex Code
6403 \begin_layout Plain Layout
6410 Cualquier formato es aceptable, pero debería usarse normalmente el actual
6412 (En \SpecialChar LyX
6413 2.1 el formato actual es 48).
6414 Debes tener en cuenta que el formato local no es soportado por versiones
6416 anteriores a 1.6, por tanto no deberías usarlo si quieres poder exportar
6417 el documento a \SpecialChar LyX
6418 1.5 o anteriores sin perder la información del formato local.
6419 Si quieres poder exportar a 1.6 —el formato local es soportado pero no hay
6420 IU par él—, deberías usar formato 11 y, por supuesto, usar solo estructuras
6421 que estuvieran disponibles en \SpecialChar LyX
6425 \begin_layout Standard
6426 Una vez introducido algo en el panel
6427 \begin_inset Flex Code
6430 \begin_layout Plain Layout
6438 \begin_inset Quotes fld
6442 \begin_inset Quotes frd
6446 Pulsando ese botón \SpecialChar LyX
6447 determinará si lo introducido es información válida
6448 para el formato elegido.
6450 informará del resultado pero, desafortunadamente, no indicará qué errores
6451 pudiera haber habido.
6452 Sin embargo, si \SpecialChar LyX
6453 se ha arrancado en una terminal se verán ahí los errores.
6454 El formato local no se podrá guardar hasta que se haya introducido algo
6458 \begin_layout Standard
6459 Las advertencias al final de la sección anterior se aplican también aquí.
6460 Es mejor no enredar con formato local mientras se está trabajando, especialment
6461 e si no se ha guardado el documento.
6462 Dicho esto, usar formato local en un documento de prueba puede ser una
6463 forma muy conveniente de probar ideas de formato, o incluso de empezar
6464 a desarrollar un módulo.
6467 \begin_layout Subsection
6468 Formato para archivos
6469 \begin_inset Flex Noun
6472 \begin_layout Plain Layout
6481 \begin_layout Standard
6482 Probablemente te vas a encontrar con dos situaciones a la hora de querer
6483 soportar una nueva clase de documento \SpecialChar LaTeX
6484 , según se trate de archivos de estilo
6486 \begin_inset Flex Code
6489 \begin_layout Plain Layout
6495 ) o de archivos de clases \SpecialChar LaTeX2e
6497 \begin_inset Flex Code
6500 \begin_layout Plain Layout
6507 Dar soporte a un nuevo estilo es bastante fácil.
6508 Dar soporte a una nueva clase es un poco más difícil.
6509 Trataremos el primer caso en esta sección y el otro en la siguiente.
6510 Lo mismo cabe decir, por supuesto, para el soporte de un nuevo DocBook
6514 \begin_layout Standard
6515 El caso más sencillo es aquel en el que la nueva clase de documento se suministr
6516 a como archivo de estilo que se usará conjuntamente con una clase ya soportada.
6517 Para nuestro ejemplo supondremos que el archivo de estilo se llama
6518 \begin_inset Flex Noun
6521 \begin_layout Plain Layout
6527 y que se usará conjuntamente con
6528 \begin_inset Flex Noun
6531 \begin_layout Plain Layout
6537 , que es una clase estándar.
6540 \begin_layout Standard
6541 Empieza por copiar el archivo `layout' existente en tu directorio local:
6545 \begin_layout Plain Layout
6546 Evidentemente, cuál es tu directorio local variará según la plataforma,
6547 y además \SpecialChar LyX
6548 permite especificarlo al inicio usando la opción
6549 \begin_inset Flex Code
6552 \begin_layout Plain Layout
6566 \begin_layout LyX-Code
6567 cp report.layout ~/.lyx/layouts/myclass.layout
6570 \begin_layout Standard
6572 \begin_inset Flex Code
6575 \begin_layout Plain Layout
6584 \begin_layout LyX-Code
6587 Declare\SpecialChar LaTeX
6591 \begin_layout Standard
6595 \begin_layout LyX-Code
6598 Declare\SpecialChar LaTeX
6599 Class[report, myclass.sty]{report (myclass)}
6602 \begin_layout Standard
6606 \begin_layout LyX-Code
6608 \begin_inset Newline newline
6614 \begin_inset Newline newline
6620 \begin_layout Standard
6621 cerca del principio del archivo.
6624 \begin_layout Standard
6625 Inicia \SpecialChar LyX
6627 \begin_inset Flex Noun
6630 \begin_layout Plain Layout
6631 Herramientas\SpecialChar menuseparator
6638 Después reinicia \SpecialChar LyX
6639 y haz una prueba con un documento nuevo.
6641 \begin_inset Flex Noun
6644 \begin_layout Plain Layout
6645 Documento\SpecialChar menuseparator
6652 \begin_inset Quotes fld
6656 \begin_inset Flex Noun
6659 \begin_layout Plain Layout
6666 \begin_inset Quotes frd
6669 en la lista de clases de documento.
6670 Es probable que algunos de los comandos de secciones y demás en tu nueva
6671 clase funcionen de distinta manera a como lo hacen en la clase estándar
6673 \begin_inset Flex Code
6676 \begin_layout Plain Layout
6682 en este ejemplo—, de modo que si quieres, ahora puedes enredar un rato
6683 con los ajustes de las distintas secciones.
6684 La información del formato de las secciones se encuentra en
6685 \begin_inset Flex Code
6688 \begin_layout Plain Layout
6694 , pero no necesitas copiar ni cambiar este archivo.
6695 Simplemente añade tus cambios a tu archivo `layout' después de la línea
6697 \begin_inset Flex Code
6700 \begin_layout Plain Layout
6707 \begin_inset Flex Code
6710 \begin_layout Plain Layout
6717 Por ejemplo, podrías añadir estas líneas:
6720 \begin_layout LyX-Code
6724 \begin_layout LyX-Code
6728 \begin_layout LyX-Code
6732 \begin_layout LyX-Code
6736 \begin_layout LyX-Code
6740 \begin_layout Standard
6741 para cambiar la tipografía de los encabezados de capítulo a sans-serif.
6742 Esto sobrescribirá (o, en este caso, añadirá) la declaración para el estilo
6747 \begin_layout Standard
6748 Tu nuevo paquete puede proporcionar además comandos o entornos no presentes
6750 En este caso, los añadirás al archivo `layout'.
6752 \begin_inset space ~
6756 \begin_inset CommandInset ref
6758 reference "sec:Estructura-del-archivo-layout"
6762 para información sobre cómo hacerlo.
6765 \begin_layout Standard
6767 \begin_inset Flex Noun
6770 \begin_layout Plain Layout
6776 se puede usar con diferentes clases de documento, e incluso si no es así,
6777 lo más sencillo sería escribir un módulo que puedes cargar con la clase
6779 El módulo más simple posible podría ser:
6782 \begin_layout LyX-Code
6785 Declare\SpecialChar LyX
6789 \begin_layout LyX-Code
6793 \begin_layout LyX-Code
6794 #Support for mypkg.sty.
6797 \begin_layout LyX-Code
6799 \begin_inset Newline newline
6805 \begin_layout LyX-Code
6807 \begin_inset Newline newline
6813 \begin_layout LyX-Code
6815 \begin_inset Newline newline
6821 \begin_inset Newline newline
6827 \begin_layout Standard
6828 Un módulo más complejo podría modificar el comportamiento de alguna estructura
6829 ya existente o definir algunas nuevas.
6830 De nuevo te remitimos a sección
6831 \begin_inset space ~
6835 \begin_inset CommandInset ref
6837 reference "sec:Estructura-del-archivo-layout"
6844 \begin_layout Subsection
6845 Formato para archivos
6846 \begin_inset Flex Noun
6849 \begin_layout Plain Layout
6858 \begin_layout Standard
6859 En este caso hay dos opciones.
6860 Una, que el archivo de clase esté él mismo basado en una clase de documento
6862 Por ejemplo, muchas clases de tesis están basadas en
6863 \begin_inset Flex Noun
6866 \begin_layout Plain Layout
6873 Para ver si el tuyo lo está, busca una línea parecida a
6876 \begin_layout LyX-Code
6882 \begin_layout Standard
6884 Si está, entonces puedes proceder en gran parte como en la sección anterior,
6885 aunque la línea Declare\SpecialChar LaTeX
6886 Class será diferente.
6887 Si tu nueva clase es tesis y está basada en book, la línea debería poner:
6891 \begin_layout Plain Layout
6892 Y será mucho más fácil si guardas el archivo como
6893 \begin_inset Flex Code
6896 \begin_layout Plain Layout
6903 supone que la clase de documento tiene el mismo nombre que el archivo
6913 \begin_layout LyX-Code
6916 Declare\SpecialChar LaTeX
6917 Class[thesis,book]{thesis}
6920 \begin_layout Standard
6921 Si, por el contrario, la nueva clase no está basada en una ya existente,
6922 probablemente tendrás que ir pensando en tu propio formato.
6923 Recomendamos firmemente copiar un archivo de formato existente que use
6924 una clase de \SpecialChar LaTeX
6925 parecida y modificarlo, si es posible.
6926 O al menos, usa un archivo existente como punto de partida para ver qué
6927 items son los que te deben preocupar.
6928 Los detalles se discuten a continuación.
6931 \begin_layout Subsection
6932 Creación de plantillas
6933 \begin_inset CommandInset label
6935 name "subsec:Creación-de-plantillas"
6942 \begin_layout Standard
6943 Una vez escrito un archivo de formato para una clase nueva de documento,
6944 podrías pensar en escribir además una
6949 Una plantilla funciona como una especie de tutorial para tu formato, mostrando
6950 cómo podría usarse, aunque sea con contenido irrelevante.
6951 Naturalmente, puedes echar un vistazo a las plantillas incluidas en \SpecialChar LyX
6956 \begin_layout Standard
6957 Las plantillas se crean exactamente igual que un documento normal: usando
6960 La única diferencia es que los documentos corrientes tienen todos los ajustes
6961 posibles, incluso el esquema de tipografías y el tamaño del papel.
6962 Generalmente, un usuario no desea que una plantilla sobrescriba sus ajustes
6963 preferidos para dichos parámetros.
6964 Por esta razón, el diseñador de una plantilla debería quitar comandos como
6966 \begin_inset Flex Code
6969 \begin_layout Plain Layout
6978 \begin_inset Flex Code
6981 \begin_layout Plain Layout
6989 de los archivos de plantillas de \SpecialChar LyX
6991 Esto se puede hacer con cualquier editor de texto sencillo, por ejemplo
6993 \begin_inset Flex Code
6996 \begin_layout Plain Layout
7003 \begin_inset Flex Code
7006 \begin_layout Plain Layout
7016 \begin_layout Standard
7017 Los archivos editados de plantillas que has creado se ubican en
7018 \begin_inset Flex Code
7021 \begin_layout Plain Layout
7027 , copia los que uses del directorio global de plantillas en
7028 \begin_inset Flex Code
7031 \begin_layout Plain Layout
7038 al mismo sitio y redefine la ruta a las plantillas en el diálogo
7039 \begin_inset Flex Noun
7042 \begin_layout Plain Layout
7043 Herramientas\SpecialChar menuseparator
7044 Preferencias\SpecialChar menuseparator
7053 \begin_layout Standard
7054 De paso advertiremos que hay una plantilla,
7055 \begin_inset Flex Code
7058 \begin_layout Plain Layout
7064 , que tiene un papel especial: esta plantilla se carga cada vez que abres
7065 un documento nuevo con
7066 \begin_inset Flex Noun
7069 \begin_layout Plain Layout
7070 Archivo\SpecialChar menuseparator
7076 , con el fin de proporcionar ajustes predeterminados por omisión.
7077 Para (re)crear esta plantilla desde dentro de \SpecialChar LyX
7078 , lo que debes hacer es abrir
7079 un documento, establecer los ajustes deseados y usar el botón
7080 \begin_inset Flex Noun
7083 \begin_layout Plain Layout
7084 Guardar como predeterminados
7092 \begin_layout Subsection
7093 Actualización de antiguos archivos de formato
7096 \begin_layout Standard
7097 El formato de los archivos de formato cambia con cada nueva versión de \SpecialChar LyX
7099 de modo que los antiguos archivos de formato deben ser convertidos.
7101 lee un archivo de formato con formato antiguo lanzará la herramienta
7103 \begin_inset Flex Code
7106 \begin_layout Plain Layout
7112 , que lo convierte a un archivo temporal con el formato actual.
7113 El archivo original se deja sin tocar.
7114 Si lo usas a menudo y lo quieres convertir permanentemente para evitar
7115 que \SpecialChar LyX
7116 tenga que hacerlo cada vez, ejecuta el convertidor a mano:
7119 \begin_layout Enumerate
7123 \begin_inset Flex Code
7126 \begin_layout Plain Layout
7135 \begin_inset Flex Code
7138 \begin_layout Plain Layout
7149 \begin_layout Enumerate
7155 \begin_inset Newline newline
7159 \begin_inset Flex Code
7162 \begin_layout Plain Layout
7163 python \SpecialChar LyX
7164 Dir/scripts/layout2layout.py myclass.old myclass.layout
7170 \begin_inset Newline newline
7176 \begin_inset Flex Code
7179 \begin_layout Plain Layout
7190 el nombre de tu directorio \SpecialChar LyX
7194 \begin_layout Standard
7195 La conversión manual no puede manejar archivos incluidos, así que estos
7196 tendrán que convertirse separadamente.
7199 \begin_layout Section
7200 Estructura del archivo `layout'
7201 \begin_inset CommandInset label
7203 name "sec:Estructura-del-archivo-layout"
7210 \begin_layout Standard
7211 Ha llegado por fin el momento de ponerte manos a la obra y crear o editar
7212 tu propio archivo de formato; las siguientes secciones describen aquello
7213 a lo que te vas a enfrentar.
7214 Nuestro consejo es ir despacito, probando y guardando a menudo.
7215 En realidad no es para tanto, pero la multitud de opciones puede llegar
7216 a abrumarte si intentas hacer muchas cosas a la vez.
7219 It becomes easier if you use existing layouts of \SpecialChar LyX
7220 as examples/reference
7221 or if you modify an existing layout to your needs.
7224 \begin_layout Standard
7225 Todos los rótulos o etiquetas en los archivos de formato son insensibles
7226 a las mayúsculas; esto significa que
7227 \begin_inset Flex Code
7230 \begin_layout Plain Layout
7237 \begin_inset Flex Code
7240 \begin_layout Plain Layout
7247 \begin_inset Flex Code
7250 \begin_layout Plain Layout
7256 son el mismo comando.
7257 Los valores posibles se imprimen entre corchetes detrás del nombre de la
7259 Si en una descripción de una clase de texto no se especifica una característica
7260 , el valor por omisión se escribe en estilo
7261 \begin_inset Flex Code
7264 \begin_layout Plain Layout
7273 Si el argumento tiene un tipo de dato como
7274 \begin_inset Quotes fld
7278 \begin_inset Quotes frd
7282 \begin_inset Quotes fld
7286 \begin_inset Quotes frd
7289 , el valor por omisión se muestra de esta manera:
7290 \begin_inset Flex Code
7293 \begin_layout Plain Layout
7304 \begin_layout Subsection
7305 Declaración de la clase de documento
7310 \begin_layout Standard
7311 Las líneas de un archivo de formato que empiezan con
7312 \begin_inset Flex Code
7315 \begin_layout Plain Layout
7322 Hay una excepción a esta regla: todos los formatos deben comenzar con líneas
7326 \begin_layout LyX-Code
7329 #% Do not delete the line below; configure depends on this
7333 \begin_layout Plain Layout
7337 \begin_inset space \thinspace{}
7342 : No borrar la línea siguiente; la configuración depende de ella
7350 \begin_layout LyX-Code
7361 \begin_layout Plain Layout
7370 eXClass{Article (Standard Class)}
7373 \begin_layout LyX-Code
7378 DeclareCategory{Articles}
7381 \begin_layout Standard
7386 línea se usan en la (re)configuración de \SpecialChar LyX
7388 El archivo `layout' es leido por el guión de \SpecialChar LaTeX
7390 \begin_inset Flex Code
7393 \begin_layout Plain Layout
7399 de un modo especial tal que
7400 \begin_inset Flex Code
7403 \begin_layout Plain Layout
7410 La primera línea es solo un comentario y la segunda contiene la declaración
7415 de la clase de texto
7417 and the third line contains the optional classification of the class
7420 Si estas líneas aparecen en un archivo llamado
7421 \begin_inset Flex Code
7424 \begin_layout Plain Layout
7430 , entonces definen una clase de texto de nombre
7431 \begin_inset Flex Code
7434 \begin_layout Plain Layout
7440 (el nombre del archivo de formato) que usa la clase de documento \SpecialChar LaTeX
7442 \begin_inset Flex Code
7445 \begin_layout Plain Layout
7451 (por omisión se usa el mismo nombre para ambos).
7453 \begin_inset Quotes fld
7456 Article (Standard Class)
7457 \begin_inset Quotes frd
7460 se utiliza como descripción de la clase de texto y es la que aparece en
7462 \begin_inset Flex Noun
7465 \begin_layout Plain Layout
7466 Documento\SpecialChar menuseparator
7476 \begin_inset Quotes eld
7480 \begin_inset Quotes erd
7483 in the example) is also used in the
7484 \begin_inset Flex Noun
7487 \begin_layout Plain Layout
7490 Document\SpecialChar menuseparator
7496 dialog: the text classes are grouped by these categories (which are usually
7497 genres, so typical categories are
7498 \begin_inset Quotes eld
7502 \begin_inset Quotes erd
7506 \begin_inset Quotes eld
7510 \begin_inset Quotes erd
7514 \begin_inset Quotes eld
7518 \begin_inset Quotes erd
7522 \begin_inset Quotes eld
7526 \begin_inset Quotes erd
7530 \begin_inset Quotes eld
7534 \begin_inset Quotes erd
7538 \begin_inset Quotes eld
7542 \begin_inset Quotes erd
7546 If no category has been declared, the class will be put in the
7547 \begin_inset Quotes eld
7551 \begin_inset Quotes erd
7557 \begin_layout Standard
7558 Supongamos que has escrito tu propia clase de texto, que utiliza la clase
7560 \begin_inset Flex Code
7563 \begin_layout Plain Layout
7569 , pero en la que has cambiado el aspecto de los encabezados de sección.
7570 Si lo pones en un archivo
7571 \begin_inset Flex Code
7574 \begin_layout Plain Layout
7580 , la cabecera de este archivo debería ser:
7583 \begin_layout LyX-Code
7586 #% Do not delete the line below; configure depends on this
7589 \begin_layout LyX-Code
7600 \begin_layout Plain Layout
7609 eXClass[article]{Article (con Mis Encabezados)}
7612 \begin_layout LyX-Code
7617 DeclareCategory{Articles}
7620 \begin_layout Standard
7621 Esto declara la clase de texto
7622 \begin_inset Flex Code
7625 \begin_layout Plain Layout
7631 , asociada con la clase de documento \SpecialChar LaTeX
7633 \begin_inset Flex Code
7636 \begin_layout Plain Layout
7642 , y cuya descripción es
7643 \begin_inset Quotes fld
7646 Article (con Mis Encabezados)
7647 \begin_inset Quotes frd
7651 Si la clase de texto depende de varios paquetes, puedes declararla así:
7654 \begin_layout LyX-Code
7657 #% Do not delete the line below; configure depends on this
7660 \begin_layout LyX-Code
7671 \begin_layout Plain Layout
7680 eXClass[article,foo.sty]{Article (con Mis Encabezados)}
7683 \begin_layout LyX-Code
7688 DeclareCategory{Articles}
7691 \begin_layout Standard
7692 Esto indica que la clase de texto utiliza el paquete foo.sty.
7693 Finalmente, también es posible declarar clases para código DocBook.
7694 Una declaración típica podría ser:
7697 \begin_layout LyX-Code
7700 #% Do not delete the line below; configure depends on this
7703 \begin_layout LyX-Code
7708 DeclareDocBookClass[article]{SGML (DocBook Article)}
7711 \begin_layout LyX-Code
7716 DeclareCategory{Articles}
7719 \begin_layout Standard
7720 Anotar que estas declaraciones pueden llevar también un parámetro opcional
7721 que declare el nombre de la clase de documento (pero no una lista).
7724 \begin_layout Standard
7725 Así, para ser lo más explícito posible, la forma de la declaración del formato
7729 \begin_layout LyX-Code
7740 \begin_layout Plain Layout
7749 eXClass[class,package.sty]{descripción del formato}
7752 \begin_layout LyX-Code
7764 \begin_layout Standard
7765 La clase solo debe especificarse si el nombre de archivo de la clase \SpecialChar LaTeX
7767 el nombre de archivo del formato son diferentes; si el nombre del archivo
7768 de clase no se especifica, \SpecialChar LyX
7769 simplemente supondrá que es el mismo que el
7770 del archivo de formato.
7773 \begin_layout Standard
7774 Cuando la clase de texto se ha modificado según tus necesidades, lo que
7775 debes hacer es copiarla a
7776 \begin_inset Flex Code
7779 \begin_layout Plain Layout
7787 \begin_inset Flex Code
7790 \begin_layout Plain Layout
7797 \begin_inset Flex Noun
7800 \begin_layout Plain Layout
7801 Herramientas\SpecialChar menuseparator
7807 , y reiniciar \SpecialChar LyX
7809 Ahora la nueva clase de texto debería estar disponible junto con las demás.
7812 \begin_layout Standard
7813 Una vez instalado el `layout', puedes editarlo y ver los cambios sin tener
7814 que reconfigurar ni reiniciar \SpecialChar LyX
7820 \begin_layout Plain Layout
7821 En versiones de \SpecialChar LyX
7822 anteriores a 1.6 no era así.
7823 Como resultado, la edición de archivos de formato podía llevar mucho tiempo,
7824 pues constantemente había que reconfigurar y reiniciar.
7829 Se puede forzar la recarga del formato en uso mediante la función \SpecialChar LyX
7831 \begin_inset Flex Noun
7834 \begin_layout Plain Layout
7841 No hay atajo predeterminado para esta función —aunque por supuesto, puedes
7842 asociarle tú mismo una secuencia de teclas—.
7843 Normalmente usarás esta función introduciéndola simplemente en el
7851 \begin_layout Standard
7856 : Esto es mucho más que una
7857 \begin_inset Quotes fld
7860 característica avanzada
7861 \begin_inset Quotes frd
7869 recomendable que no intentes editar tu formato mientras estés trabajando
7870 en un documento importante.
7871 Usa un documento de prueba.
7872 Los errores sintácticos y similares en tu archivo de formato podrían provocar
7873 comportamientos extraños.
7874 En particular, tales errores podrían provocar que \SpecialChar LyX
7875 vea el formato actual
7876 como inválido e intente cambiar a algún otro.
7880 \begin_layout Plain Layout
7881 En realidad, los errores en la sintaxis pueden causar incluso el cierre
7883 , porque ciertos tipos de error pueden hacer que \SpecialChar LyX
7889 información de formato.
7890 Por favor ten cuidado.
7895 El equipo \SpecialChar LyX
7896 procura que \SpecialChar LyX
7897 se mantenga estable en estos casos, pero es mejor
7902 \begin_layout Plain Layout
7903 De todos modos, haz copias de seguridad regularmente.
7904 Y sé bueno con mamá.
7913 \begin_layout Subsection
7914 Declaración de un módulo
7917 \begin_layout Standard
7918 Un módulo debe empezar con una línea como la siguiente:
7921 \begin_layout LyX-Code
7928 \begin_layout Plain Layout
7935 yXModule[endnotes.sty]{Endnotes}
7938 \begin_layout Standard
7939 El argumento imprescindible es, entre llaves, el nombre del módulo tal como
7941 \begin_inset Flex Noun
7944 \begin_layout Plain Layout
7945 Documento\SpecialChar menuseparator
7946 Configuración\SpecialChar menuseparator
7953 El argumento entre corchetes es opcional: declara cualesquiera paquetes
7955 de los que depende el módulo.
7956 También es posible usar la forma
7957 \begin_inset Flex Noun
7960 \begin_layout Plain Layout
7966 como argumento opcional, que declara que el módulo solo puede usarse cuando
7967 existe una cadena de conversión entre los formatos `
7968 \begin_inset Flex Code
7971 \begin_layout Plain Layout
7978 \begin_inset Flex Code
7981 \begin_layout Plain Layout
7990 \begin_layout Standard
7991 La declaración del módulo debe proseguir con líneas como las siguientes:
7995 \begin_layout Plain Layout
7996 Preferiblemente en inglés si el módulo se va a publicar en \SpecialChar LyX
7998 Esta descripción aparecerá en la lista de mensajes para ser traducidos
7999 en la siguiente actualización de la interfaz.
8007 \begin_layout LyX-Code
8011 \begin_layout LyX-Code
8012 #Adds an endnote command, in addition to footnotes.
8016 \begin_layout LyX-Code
8017 #You will need to add
8019 theendnotes in \SpecialChar TeX
8023 \begin_layout LyX-Code
8024 #want the endnotes to appear.
8028 \begin_layout LyX-Code
8032 \begin_layout LyX-Code
8033 #Requires: somemodule | othermodule
8036 \begin_layout LyX-Code
8037 #Excludes: badmodule
8040 \begin_layout Standard
8041 La descripción se usa en
8042 \begin_inset Flex Noun
8045 \begin_layout Plain Layout
8046 Documento\SpecialChar menuseparator
8047 Configuración\SpecialChar menuseparator
8053 para proporcionar al usuario información sobre las acciones del módulo.
8055 \begin_inset Flex Code
8058 \begin_layout Plain Layout
8064 sirve para identificar otros módulos con los que se debe usar este; la
8066 \begin_inset Flex Code
8069 \begin_layout Plain Layout
8075 identifica los módulos con los que este no se puede usar.
8076 Ambas son opcionales, y, como se ve, varios módulos deben separarse con
8077 el símbolo tubería: |.
8078 Anotar que los módulos requeridos se tratan de forma disyuntiva: debe usarse
8083 de los módulos requeridos.
8089 Aquí, los módulos se identifican por sus nombres de archivo sin la extensión
8091 \begin_inset Flex Code
8094 \begin_layout Plain Layout
8102 \begin_inset Flex Code
8105 \begin_layout Plain Layout
8112 \begin_inset Flex Code
8115 \begin_layout Plain Layout
8124 \begin_layout Subsection
8125 Número de formatoLa primera línea no comentada de cualquier archivo `layout',
8130 contener el número de formato del archivo:
8133 \begin_layout Description
8134 \begin_inset Flex Code
8137 \begin_layout Plain Layout
8144 \begin_inset Flex Code
8147 \begin_layout Plain Layout
8153 ] El número de formato del archivo `layout'.
8156 \begin_layout Standard
8157 Esta etiqueta se introdujo en \SpecialChar LyX
8159 \begin_inset space ~
8163 Los archivos de formato de \SpecialChar LyX
8165 \begin_inset space ~
8168 1.3.x y anteriores no tienen un número explícito y se considera de
8169 \begin_inset Flex Code
8172 \begin_layout Plain Layout
8174 \begin_inset space ~
8183 El número para la versión actual de \SpecialChar LyX
8185 Cada versión de \SpecialChar LyX
8186 es capaz de leer los formatos de versiones anteriores,
8187 de la misma forma que puede leer archivos producidos con versiones de \SpecialChar LyX
8190 Sin embargo, no está previsto convertir a formatos anteriores.
8193 \begin_layout Subsection
8194 Parámetros generales de clases de texto
8195 \begin_inset CommandInset label
8197 name "subsec:Parámetros-generales-clases"
8204 \begin_layout Standard
8205 Estos son los parámetros generales que describen completamente una clase
8211 significa que deban aparecer en archivos
8212 \begin_inset Flex Code
8215 \begin_layout Plain Layout
8221 en vez de en módulos.
8222 Un módulo puede contener cualquier etiqueta de formato).
8225 \begin_layout Description
8226 \begin_inset Flex Code
8229 \begin_layout Plain Layout
8235 Añade información para el bloque
8236 \begin_inset Flex Code
8239 \begin_layout Plain Layout
8245 cuando el documento se exporte a XHTML.
8246 Típicamente, debería usarse para exportar información de estilo CSS, aunque
8247 se puede usar para cualquier cosa que pueda aparecer en
8248 \begin_inset Flex Code
8251 \begin_layout Plain Layout
8259 \begin_inset Quotes eld
8263 \begin_inset Flex Code
8266 \begin_layout Plain Layout
8273 \begin_inset Quotes erd
8279 \begin_layout Description
8280 \begin_inset Flex Code
8283 \begin_layout Plain Layout
8289 Añade información al preámbulo del documento.
8291 \begin_inset Quotes fld
8295 \begin_inset Flex Code
8298 \begin_layout Plain Layout
8305 \begin_inset Quotes frd
8311 \begin_layout Description
8312 \begin_inset Flex Code
8315 \begin_layout Plain Layout
8321 Define formatos a usar en la presentación de información bibliográfica.
8323 \begin_inset space ~
8327 \begin_inset CommandInset ref
8329 reference "subsec:Descripción-formato-cita"
8335 \begin_inset Quotes eld
8339 \begin_inset Flex Code
8342 \begin_layout Plain Layout
8349 \begin_inset Quotes erd
8355 \begin_layout Description
8356 \begin_inset Flex Code
8359 \begin_layout Plain Layout
8365 Describe varias opciones globales soportadas por la clase de documento.
8367 \begin_inset space ~
8371 \begin_inset CommandInset ref
8373 reference "subsec:ClassOptions"
8377 para una descripción.
8379 \begin_inset Quotes fld
8383 \begin_inset Flex Code
8386 \begin_layout Plain Layout
8393 \begin_inset Quotes frd
8399 \begin_layout Description
8400 \begin_inset Flex Code
8403 \begin_layout Plain Layout
8410 \begin_inset Flex Code
8413 \begin_layout Plain Layout
8422 \begin_inset space \thinspace{}
8426 \begin_inset Flex Code
8429 \begin_layout Plain Layout
8435 ] Establece el número de columnas por omisión.
8436 Se puede cambiar en el diálogo
8437 \begin_inset Flex Noun
8440 \begin_layout Plain Layout
8441 Documento\SpecialChar menuseparator
8450 \begin_layout Description
8451 \begin_inset Flex Code
8454 \begin_layout Plain Layout
8460 Esta secuencia define un nuevo contador.
8462 \begin_inset space ~
8466 \begin_inset CommandInset ref
8468 reference "subsec:Contadores"
8474 \begin_inset Quotes fld
8478 \begin_inset Flex Code
8481 \begin_layout Plain Layout
8488 \begin_inset Quotes frd
8494 \begin_layout Description
8495 \begin_inset Flex Code
8498 \begin_layout Plain Layout
8504 Establece la tipografía por omisión para presentar el documento.
8506 \begin_inset space ~
8510 \begin_inset CommandInset ref
8512 reference "subsec:Tipografías"
8516 para cómo declarar tipografías.
8518 \begin_inset Quotes fld
8522 \begin_inset Flex Code
8525 \begin_layout Plain Layout
8532 \begin_inset Quotes frd
8538 \begin_layout Description
8539 \begin_inset Flex Code
8542 \begin_layout Plain Layout
8549 \begin_inset Flex Code
8552 \begin_layout Plain Layout
8558 ] Especifica un módulo que se incluirá por omisión en esta clase de documento;
8559 deberá declararse por su nombre de archivo sin la extensión
8560 \begin_inset Flex Code
8563 \begin_layout Plain Layout
8570 El usuario puede, aún así, quitar el módulo, pero estará activo al principio.
8571 (Esto se aplica solo cuando se crean archivos nuevos, o si esta clase se
8572 elige para un documento existente.)
8575 \begin_layout Description
8576 \begin_inset Flex Code
8579 \begin_layout Plain Layout
8586 \begin_inset Flex Code
8589 \begin_layout Plain Layout
8595 ] Este es el estilo que será asignado a párrafos nuevos, generalmente
8596 \begin_inset Flex Noun
8599 \begin_layout Plain Layout
8606 Si no se especifica, se escogerá por omisión el primer estilo definido,
8607 pero es muy recomendable usar esta instrucción.
8610 \begin_layout Description
8611 \begin_inset Flex Code
8614 \begin_layout Plain Layout
8621 \begin_inset Flex Code
8624 \begin_layout Plain Layout
8630 ] Indica que el módulo en cuestión (que debería especificarse por el nombre
8631 de archivo sin la extensión
8632 \begin_inset Flex Code
8635 \begin_layout Plain Layout
8641 ) no puede utilizarse con esta clase de documento.
8642 Esto podría usarse en un archivo de formato específico de una publicación
8643 para, digamos, impedir el empleo del módulo
8644 \begin_inset Flex Code
8647 \begin_layout Plain Layout
8653 , que numera los teoremas y demás por secciones.
8658 puede utilizarse en un módulo.
8659 Los módulos tienen su propia forma de excluir otros módulos (véase
8660 \begin_inset space ~
8664 \begin_inset CommandInset ref
8666 reference "subsec:Módulos-de-formato"
8673 \begin_layout Description
8674 \begin_inset Flex Code
8677 \begin_layout Plain Layout
8683 Define un nuevo flotante.
8685 \begin_inset space ~
8689 \begin_inset CommandInset ref
8691 reference "subsec:Flotantes"
8697 \begin_inset Quotes fld
8701 \begin_inset Flex Code
8704 \begin_layout Plain Layout
8711 \begin_inset Quotes frd
8717 \begin_layout Description
8718 \begin_inset Flex Code
8721 \begin_layout Plain Layout
8727 Da información para el bloque
8728 \begin_inset Flex Code
8731 \begin_layout Plain Layout
8737 cuando esta clase de documento se exporte a XHTML.
8738 Advertir que esto sobrescribirá completamente cualquier declaración anterior
8740 \begin_inset Flex Code
8743 \begin_layout Plain Layout
8750 \begin_inset Flex Code
8753 \begin_layout Plain Layout
8761 \begin_inset Flex Code
8764 \begin_layout Plain Layout
8770 si solo quieres añadir material al preámbulo).
8772 \begin_inset Quotes eld
8776 \begin_inset Flex Code
8779 \begin_layout Plain Layout
8786 \begin_inset Quotes erd
8792 \begin_layout Description
8793 \begin_inset Flex Code
8796 \begin_layout Plain Layout
8803 \begin_inset Flex Code
8806 \begin_layout Plain Layout
8814 The style to use for the
8816 índice general, bibliografía, etc., cuando el documento se exporte a HTML.
8817 Para article, normalmente será
8818 \begin_inset Flex Code
8821 \begin_layout Plain Layout
8828 \begin_inset Flex Code
8831 \begin_layout Plain Layout
8838 Si no se especifica, \SpecialChar LyX
8839 intentará deducir qué formato usar.
8842 \begin_layout Description
8843 \begin_inset Flex Code
8846 \begin_layout Plain Layout
8853 \begin_inset Flex Code
8856 \begin_layout Plain Layout
8862 ] Modifica las propiedades del contador dado.
8863 Si el contador no existe, esta sección se ignora.
8865 \begin_inset Quotes eld
8869 \begin_inset Flex Code
8872 \begin_layout Plain Layout
8879 \begin_inset Quotes erd
8883 \begin_inset Newline newline
8887 \begin_inset space ~
8891 \begin_inset CommandInset ref
8893 reference "subsec:Contadores"
8900 \begin_layout Description
8901 \begin_inset Flex Code
8904 \begin_layout Plain Layout
8911 \begin_inset Flex Code
8914 \begin_layout Plain Layout
8920 ] Permite incluir otro archivo de definición de formato en el tuyo con el
8921 fin de evitar la duplicación de comandos.
8922 Ejemplos habituales son los archivos de formatos estándar, como
8923 \begin_inset Flex Code
8926 \begin_layout Plain Layout
8932 , que contiene la mayoría de los diseños básicos.
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 ] Esta sección (re)define el formato de un recuadro.
8956 Puede aplicarse a uno existente o a uno nuevo, definido por el usuario,
8958 \begin_inset space \thinspace{}
8961 e., un nuevo estilo de texto.
8963 \begin_inset space ~
8967 \begin_inset CommandInset ref
8969 reference "subsec:estilo-del-texto"
8973 para más información.
8975 \begin_inset Quotes fld
8979 \begin_inset Flex Code
8982 \begin_layout Plain Layout
8989 \begin_inset Quotes frd
8995 \begin_layout Description
8996 \begin_inset Flex Code
8999 \begin_layout Plain Layout
9006 \begin_inset Flex Code
9009 \begin_layout Plain Layout
9015 ] Una cadena que indica la anchura del margen izquierdo en la pantalla,
9017 \begin_inset Quotes fld
9021 \begin_inset Flex Code
9024 \begin_layout Plain Layout
9031 \begin_inset Quotes frd
9035 (Esto no es una `longitud', como
9036 \begin_inset Quotes fld
9040 \begin_inset Quotes frd
9046 \begin_layout Description
9047 \begin_inset Flex Code
9050 \begin_layout Plain Layout
9057 \begin_inset Flex Code
9060 \begin_layout Plain Layout
9066 ] Modifica las propiedades del estilo de párrafo dado.
9067 Si el estilo no existe, esta sección se ignora.
9069 \begin_inset Quotes eld
9073 \begin_inset Flex Code
9076 \begin_layout Plain Layout
9083 \begin_inset Quotes erd
9089 \begin_layout Description
9090 \begin_inset Flex Code
9093 \begin_layout Plain Layout
9100 \begin_inset Flex Code
9103 \begin_layout Plain Layout
9109 ] Este comando elimina un contador existente, generalmente uno definido
9110 en un archivo incluido.
9113 \begin_layout Description
9114 \begin_inset Flex Code
9117 \begin_layout Plain Layout
9124 \begin_inset Flex Code
9127 \begin_layout Plain Layout
9133 ] Este comando borra un flotante existente.
9134 Es particularmente útil si quieres suprimir un flotante que ha sido definido
9135 en un archivo de entrada.
9138 \begin_layout Description
9139 \begin_inset Flex Code
9142 \begin_layout Plain Layout
9149 \begin_inset Flex Code
9152 \begin_layout Plain Layout
9158 ] Este comando borra un estilo existente.
9161 \begin_layout Description
9162 \begin_inset Flex Code
9165 \begin_layout Plain Layout
9172 \begin_inset Flex Code
9175 \begin_layout Plain Layout
9181 ] El formato de archivo (tal como se define en las preferencias de \SpecialChar LyX
9184 Principalmente, es útil cuando
9185 \begin_inset Flex Code
9188 \begin_layout Plain Layout
9195 \begin_inset Flex Code
9198 \begin_layout Plain Layout
9204 y se quiere definir un nuevo tipo de documento `literate'.
9205 Esta cadena se redefine a
9206 \begin_inset Quotes fld
9210 \begin_inset Flex Code
9213 \begin_layout Plain Layout
9220 \begin_inset Quotes frd
9224 \begin_inset Quotes fld
9228 \begin_inset Flex Code
9231 \begin_layout Plain Layout
9238 \begin_inset Quotes frd
9241 si se encuentra el correspondiente parámetro
9242 \begin_inset Flex Code
9245 \begin_layout Plain Layout
9254 \begin_layout Description
9255 \begin_inset Flex Code
9258 \begin_layout Plain Layout
9265 \begin_inset Flex Code
9268 \begin_layout Plain Layout
9279 \begin_inset Flex Code
9282 \begin_layout Plain Layout
9289 \begin_inset Flex Code
9292 \begin_layout Plain Layout
9298 ] Indica qué clase de documentos de salida que usan esta clase se generarán.
9301 \begin_layout Description
9302 \begin_inset Flex Code
9305 \begin_layout Plain Layout
9312 \begin_inset Flex Code
9315 \begin_layout Plain Layout
9322 \begin_inset Flex Code
9325 \begin_layout Plain Layout
9333 Specifies options, given in the second string, for the package named by
9338 \begin_inset Quotes fld
9342 \begin_inset Flex Code
9345 \begin_layout Plain Layout
9346 PackageOptions natbib square
9352 \begin_inset Quotes frd
9358 \begin_inset Flex Code
9361 \begin_layout Plain Layout
9369 to be loaded with the
9370 \begin_inset Flex Code
9373 \begin_layout Plain Layout
9382 (For \SpecialChar TeX
9383 perts, this causes \SpecialChar LyX
9387 \begin_inset Flex Code
9390 \begin_layout Plain Layout
9393 PassOptionsToPackage{natbib}{square}
9403 \begin_inset Flex Code
9406 \begin_layout Plain Layout
9415 \begin_layout Description
9416 \begin_inset Flex Code
9419 \begin_layout Plain Layout
9426 \begin_inset Flex Code
9429 \begin_layout Plain Layout
9438 \begin_inset Flex Code
9441 \begin_layout Plain Layout
9448 \begin_inset Flex Code
9451 \begin_layout Plain Layout
9461 El estilo de página predeterminado de la clase.
9462 Puede cambiarse en el diálogo
9463 \begin_inset Flex Noun
9466 \begin_layout Plain Layout
9467 Documento\SpecialChar menuseparator
9476 \begin_layout Description
9477 \begin_inset Flex Code
9480 \begin_layout Plain Layout
9486 Establece el preámbulo \SpecialChar LaTeX
9488 Anotar que esto anulará completamente cualesquiera declaraciones
9489 \begin_inset Flex Code
9492 \begin_layout Plain Layout
9499 \begin_inset Flex Code
9502 \begin_layout Plain Layout
9510 \begin_inset Flex Code
9513 \begin_layout Plain Layout
9519 si solo quieres añadir material al preámbulo).
9521 \begin_inset Quotes fld
9525 \begin_inset Flex Code
9528 \begin_layout Plain Layout
9535 \begin_inset Quotes frd
9541 \begin_layout Description
9542 \begin_inset Flex Code
9545 \begin_layout Plain Layout
9552 \begin_inset Flex Code
9555 \begin_layout Plain Layout
9562 \begin_inset Flex Code
9565 \begin_layout Plain Layout
9574 \begin_inset Flex Code
9577 \begin_layout Plain Layout
9583 ] Si la clase ya proporciona, o no, la característica
9584 \begin_inset Flex Code
9587 \begin_layout Plain Layout
9594 Una característica es en general el nombre de un paquete (
9595 \begin_inset Flex Code
9598 \begin_layout Plain Layout
9605 \begin_inset Flex Code
9608 \begin_layout Plain Layout
9614 , \SpecialChar ldots
9616 \begin_inset Flex Code
9619 \begin_layout Plain Layout
9626 \begin_inset Flex Code
9629 \begin_layout Plain Layout
9639 \begin_inset space ~
9643 \begin_inset CommandInset ref
9645 reference "chap:List-of-functions"
9649 for the list of features.
9652 \begin_layout Description
9653 \begin_inset Flex Code
9656 \begin_layout Plain Layout
9663 \begin_inset Flex Code
9666 \begin_layout Plain Layout
9672 ] Indica que este formato proporciona la funcionalidad del módulo mencionado,
9673 que deberá especificarse con su nombre de archivo sin la extensión
9674 \begin_inset Flex Code
9677 \begin_layout Plain Layout
9684 Esto se usará típicamente si el formato incluye el módulo directamente,
9685 preferiblemente a usar la etiqueta
9686 \begin_inset Flex Code
9689 \begin_layout Plain Layout
9695 para indicar que debería utilizarse.
9696 Podría ser empleado en un módulo que provea una implementación alternativa
9697 de la misma funcionalidad.
9700 \begin_layout Description
9701 \begin_inset Flex Code
9704 \begin_layout Plain Layout
9711 \begin_inset Flex Code
9714 \begin_layout Plain Layout
9722 Creates a new paragraph style if it does not already exist.
9723 If the style does exist, this section is ignored.
9727 \begin_inset Quotes eld
9731 \begin_inset Flex Code
9734 \begin_layout Plain Layout
9741 \begin_inset Quotes erd
9747 \begin_layout Description
9748 \begin_inset Flex Code
9751 \begin_layout Plain Layout
9758 \begin_inset Flex Code
9761 \begin_layout Plain Layout
9767 ] Si la clase requiere la característica
9768 \begin_inset Flex Code
9771 \begin_layout Plain Layout
9778 Múltiples características deben separarse con comas.
9779 Multiple features must be separated by commas.
9780 Anotar que solo se pueden demandar características soportadas.
9784 \begin_inset space ~
9788 \begin_inset CommandInset ref
9790 reference "chap:List-of-functions"
9794 for the list of features
9798 If you require a package with specific options, you can additionally use
9800 \begin_inset Flex Code
9803 \begin_layout Plain Layout
9814 \begin_layout Description
9815 \begin_inset Flex Code
9818 \begin_layout Plain Layout
9825 \begin_inset Flex Code
9828 \begin_layout Plain Layout
9834 ] Una cadena que indica la anchura del margen derecho en la pantalla, por
9836 \begin_inset Quotes fld
9840 \begin_inset Flex Code
9843 \begin_layout Plain Layout
9850 \begin_inset Quotes frd
9856 \begin_layout Description
9857 \begin_inset Flex Code
9860 \begin_layout Plain Layout
9867 \begin_inset Flex Code
9870 \begin_layout Plain Layout
9876 ] Establece qué divisiones se numeran.
9877 Corresponde al contador \SpecialChar LaTeX
9879 \begin_inset Flex Code
9882 \begin_layout Plain Layout
9891 \begin_layout Description
9892 \begin_inset Flex Code
9895 \begin_layout Plain Layout
9904 \begin_inset Flex Code
9907 \begin_layout Plain Layout
9916 \begin_inset space \thinspace{}
9920 \begin_inset Flex Code
9923 \begin_layout Plain Layout
9929 ] Si debe imprimirse en una o en ambas caras del papel.
9930 Se puede cambiar en el diálogo
9931 \begin_inset Flex Noun
9934 \begin_layout Plain Layout
9935 Documento\SpecialChar menuseparator
9944 \begin_layout Description
9945 \begin_inset Flex Code
9948 \begin_layout Plain Layout
9955 \begin_inset Flex Code
9958 \begin_layout Plain Layout
9964 ] Esta secuencia define un nuevo estilo de párrafo.
9965 Si el estilo ya existe, en ese caso se redefinirán algunos de los parámetros.
9967 \begin_inset space ~
9971 \begin_inset CommandInset ref
9973 reference "subsec:Estilos-de-párrafo"
9979 \begin_inset Quotes fld
9983 \begin_inset Flex Code
9986 \begin_layout Plain Layout
9993 \begin_inset Quotes frd
9999 \begin_layout Description
10000 \begin_inset Flex Code
10003 \begin_layout Plain Layout
10010 \begin_inset Flex Code
10013 \begin_layout Plain Layout
10019 ] El nombre del comando de entorno a usar con
10020 \begin_inset Flex Code
10023 \begin_layout Plain Layout
10032 \begin_layout Description
10033 \begin_inset Flex Code
10036 \begin_layout Plain Layout
10043 \begin_inset Flex Code
10046 \begin_layout Plain Layout
10055 \begin_inset Flex Code
10058 \begin_layout Plain Layout
10064 ] Indica qué clase de diseño se emplea para definir el título de un documento.
10066 \begin_inset Flex Code
10069 \begin_layout Plain Layout
10075 significa que la macro con nombre
10076 \begin_inset Flex Code
10079 \begin_layout Plain Layout
10085 se insertará después del último formato que tiene
10086 \begin_inset Quotes fld
10090 \begin_inset Flex Code
10093 \begin_layout Plain Layout
10095 \begin_inset space ~
10104 \begin_inset Quotes frd
10109 \begin_inset Flex Code
10112 \begin_layout Plain Layout
10118 corresponde al caso en que todos los formatos que tienen
10119 \begin_inset Quotes fld
10123 \begin_inset Flex Code
10126 \begin_layout Plain Layout
10128 \begin_inset space ~
10137 \begin_inset Quotes frd
10140 debería ser incluido en el entorno
10141 \begin_inset Flex Code
10144 \begin_layout Plain Layout
10153 \begin_layout Description
10154 \begin_inset Flex Code
10157 \begin_layout Plain Layout
10164 \begin_inset Flex Code
10167 \begin_layout Plain Layout
10173 ] Establece qué divisiones se incluyen en el índice general.
10174 Corresponde al contador \SpecialChar LaTeX
10176 \begin_inset Flex Code
10179 \begin_layout Plain Layout
10188 \begin_layout Subsection
10190 \begin_inset Flex Code
10193 \begin_layout Plain Layout
10200 \begin_inset CommandInset label
10202 name "subsec:ClassOptions"
10209 \begin_layout Standard
10211 \begin_inset Flex Code
10214 \begin_layout Plain Layout
10220 puede contener las siguientes entradas:
10223 \begin_layout Description
10224 \begin_inset Flex Code
10227 \begin_layout Plain Layout
10234 \begin_inset Flex Code
10237 \begin_layout Plain Layout
10243 ] La lista de los tamaños de carácter disponibles para la tipografía principal
10244 del documento, separados por
10245 \begin_inset Quotes fld
10249 \begin_inset Flex Code
10252 \begin_layout Plain Layout
10259 \begin_inset Quotes frd
10265 \begin_layout Description
10266 \begin_inset Flex Code
10269 \begin_layout Plain Layout
10275 Para establecer la línea DTD con las clases con salida basada en XML.
10277 \begin_inset space \thinspace{}
10281 \begin_inset Quotes fld
10284 -//OASIS//DTD DocBook V4.2//EN
10285 \begin_inset Quotes frd
10291 \begin_layout Description
10292 \begin_inset Flex Code
10295 \begin_layout Plain Layout
10302 \begin_inset Flex Code
10305 \begin_layout Plain Layout
10311 ] Algunas opciones de clase de documento, separadas por coma, que se añadirán
10312 a la parte opcional del comando
10313 \begin_inset Flex Code
10316 \begin_layout Plain Layout
10327 \begin_layout Description
10328 \begin_inset Flex Code
10331 \begin_layout Plain Layout
10338 \begin_inset Flex Code
10341 \begin_layout Plain Layout
10342 string="empty|plain|headings|fancy"
10347 ] Lista de los estilos de página disponibles, separados por
10348 \begin_inset Quotes fld
10352 \begin_inset Flex Code
10355 \begin_layout Plain Layout
10362 \begin_inset Quotes frd
10368 \begin_layout Standard
10370 \begin_inset Flex Code
10373 \begin_layout Plain Layout
10380 \begin_inset Quotes fld
10384 \begin_inset Flex Code
10387 \begin_layout Plain Layout
10394 \begin_inset Quotes frd
10400 \begin_layout Subsection
10402 \begin_inset CommandInset label
10404 name "subsec:Estilos-de-párrafo"
10411 \begin_layout Standard
10412 Una descripción de estilo de párrafo tiene una aspecto como éste:
10416 \begin_layout Plain Layout
10417 Anotar que esto definirá un nuevo diseño o modificará uno existente.
10425 \begin_layout LyX-Code
10432 \begin_layout LyX-Code
10436 \begin_layout LyX-Code
10440 \begin_layout Standard
10441 donde se permiten los comandos siguientes:
10444 \begin_layout Description
10445 \begin_inset Flex Code
10448 \begin_layout Plain Layout
10455 \begin_inset Flex Code
10458 \begin_layout Plain Layout
10463 , left, right, center
10468 ] Alineación del párrafo.
10471 \begin_layout Description
10472 \begin_inset Flex Code
10475 \begin_layout Plain Layout
10482 \begin_inset Flex Code
10485 \begin_layout Plain Layout
10490 , left, right, center
10495 ] Una lista separada con comas de alineaciones permitidas.
10496 (Algunos estilos de \SpecialChar LaTeX
10497 prohiben ciertos alineamientos, ya que no tendrían
10499 Por ejemplo una alineación a la derecha o al centro de una lista numerada
10503 \begin_layout Description
10504 \begin_inset Flex Code
10507 \begin_layout Plain Layout
10514 \begin_inset Flex Code
10517 \begin_layout Plain Layout
10525 Defines argument number <int> of a command\SpecialChar breakableslash
10526 environment associated with the
10528 This is useful for things like section headings, and only makes sense with
10531 Every (optional or required) argument of a command or environment – except
10532 for the required argument that is associated with the content of the paragraph
10533 itself – has a separate definition, where the number specifies the order
10535 The definition must end with
10536 \begin_inset Flex Code
10539 \begin_layout Plain Layout
10548 So a command with two optional arguments has:
10549 \begin_inset Separator parbreak
10556 \begin_layout Quote
10562 \begin_layout Quote
10568 \begin_layout Quote
10574 \begin_layout Quote
10580 \begin_layout Quote
10586 \begin_layout Quote
10592 \begin_layout Standard
10596 \begin_inset Flex Code
10599 \begin_layout Plain Layout
10607 definition, the following specifications are possible:
10610 \begin_layout Itemize
10611 \begin_inset Flex Code
10614 \begin_layout Plain Layout
10621 \begin_inset Flex Code
10624 \begin_layout Plain Layout
10632 The string that will appear both in the menu (to insert this argument) and
10633 on the argument inset button (unless you also specify a separate
10634 \begin_inset Flex Code
10637 \begin_layout Plain Layout
10646 For the menu, you can define an accelerator by appending the respective
10647 character to the string, divided by
10648 \begin_inset Quotes fld
10652 \begin_inset Quotes frd
10656 \begin_inset space \thinspace{}
10660 \begin_inset space \space{}
10664 \begin_inset Quotes fld
10668 \begin_inset Flex Code
10671 \begin_layout Plain Layout
10680 \begin_inset Quotes frd
10686 \begin_layout Itemize
10687 \begin_inset Flex Code
10690 \begin_layout Plain Layout
10697 \begin_inset Flex Code
10700 \begin_layout Plain Layout
10708 A separate string for the menu.
10709 You can define an accelerator by appending the respective character to
10710 the string, divided by
10711 \begin_inset Quotes fld
10715 \begin_inset Quotes frd
10719 \begin_inset space \thinspace{}
10723 \begin_inset space \space{}
10727 \begin_inset Quotes fld
10731 \begin_inset Flex Code
10734 \begin_layout Plain Layout
10743 \begin_inset Quotes frd
10747 This specification is optional.
10748 If it is not given the
10749 \begin_inset Flex Code
10752 \begin_layout Plain Layout
10760 will be used instead for the menu.
10763 \begin_layout Itemize
10764 \begin_inset Flex Code
10767 \begin_layout Plain Layout
10774 \begin_inset Flex Code
10777 \begin_layout Plain Layout
10785 A longer explanatory text that appears in the tooltip when hovering over
10786 the argument inset.
10789 \begin_layout Itemize
10790 \begin_inset Flex Code
10793 \begin_layout Plain Layout
10800 \begin_inset Flex Code
10803 \begin_layout Plain Layout
10812 \begin_inset space \thinspace{}
10816 \begin_inset Flex Code
10819 \begin_layout Plain Layout
10827 Declare if this is a mandatory (1) or an optional (0) argument.
10828 Mandatory arguments will be output empty if not given, while optional arguments
10829 will not be output at all.
10830 By default, mandatory arguments are delimited by
10831 \begin_inset Flex Code
10834 \begin_layout Plain Layout
10842 , while optional arguments are delimited by
10843 \begin_inset Flex Code
10846 \begin_layout Plain Layout
10857 \begin_layout Itemize
10858 \begin_inset Flex Code
10861 \begin_layout Plain Layout
10868 \begin_inset Flex Code
10871 \begin_layout Plain Layout
10879 defines another argument (by its number) which this argument requires to
10880 be output if it is itself output.
10882 \begin_inset space \thinspace{}
10885 g., in \SpecialChar LaTeX
10886 commands, optional arguments often require previous optional arguments
10887 to be output (at least empty), as in
10888 \begin_inset Flex Code
10891 \begin_layout Plain Layout
10896 command[][argument]{text}
10902 This can be achieved by the statement
10903 \begin_inset Flex Code
10906 \begin_layout Plain Layout
10917 \begin_inset Flex Code
10920 \begin_layout Plain Layout
10929 \begin_layout Itemize
10930 \begin_inset Flex Code
10933 \begin_layout Plain Layout
10940 \begin_inset Flex Code
10943 \begin_layout Plain Layout
10951 defines a custom left delimiter (instead of
10952 \begin_inset Flex Code
10955 \begin_layout Plain Layout
10964 \begin_inset Flex Code
10967 \begin_layout Plain Layout
10976 A line break in the output can be indicated by
10979 \begin_inset Flex Code
10982 \begin_layout Plain Layout
10991 \begin_layout Itemize
10992 \begin_inset Flex Code
10995 \begin_layout Plain Layout
11002 \begin_inset Flex Code
11005 \begin_layout Plain Layout
11013 defines a custom right delimiter (instead of
11014 \begin_inset Flex Code
11017 \begin_layout Plain Layout
11026 \begin_inset Flex Code
11029 \begin_layout Plain Layout
11038 A line break in the output can be indicated by
11041 \begin_inset Flex Code
11044 \begin_layout Plain Layout
11053 \begin_layout Itemize
11054 \begin_inset Flex Code
11057 \begin_layout Plain Layout
11064 \begin_inset Flex Code
11067 \begin_layout Plain Layout
11075 defines an argument that is inserted if and only if no user-specified arguments
11077 \begin_inset space \thinspace{}
11081 \begin_inset space \space{}
11084 if no argument inset has been inserted (note that also an empty argument
11085 inset omits the DefaultArg).
11086 Multiple arguments need to be separated by comma.
11089 \begin_layout Itemize
11090 \begin_inset Flex Code
11093 \begin_layout Plain Layout
11100 \begin_inset Flex Code
11103 \begin_layout Plain Layout
11111 defines an argument that is inserted in any case (alone or in addition to
11112 user-specified arguments).
11113 Multiple arguments need to be separated by comma.
11116 \begin_layout Itemize
11117 \begin_inset Flex Code
11120 \begin_layout Plain Layout
11128 The font used for the argument content, see
11131 \begin_inset CommandInset ref
11133 reference "subsec:Tipografías"
11140 \begin_layout Itemize
11141 \begin_inset Flex Code
11144 \begin_layout Plain Layout
11152 The font used for the label; see
11155 \begin_inset CommandInset ref
11157 reference "subsec:Tipografías"
11164 \begin_layout Itemize
11165 \begin_inset Flex Code
11168 \begin_layout Plain Layout
11175 \begin_inset Flex Code
11178 \begin_layout Plain Layout
11183 , Minimalistic, Conglomerate
11190 describes the rendering style used for the inset's frame and buttons.
11193 \begin_layout Itemize
11194 \begin_inset Flex Code
11197 \begin_layout Plain Layout
11204 \begin_inset Flex Code
11207 \begin_layout Plain Layout
11216 \begin_inset Flex Code
11219 \begin_layout Plain Layout
11227 , this argument is automatically inserted when the respective style is selected.
11228 Currently, only one argument per style\SpecialChar breakableslash
11229 layout can be automatically inserted.
11232 \begin_layout Itemize
11235 \begin_inset Flex Code
11238 \begin_layout Plain Layout
11247 \begin_inset Flex Code
11250 \begin_layout Plain Layout
11259 \begin_inset Flex Code
11262 \begin_layout Plain Layout
11270 , this argument will be inserted with a copy of the co-text (either selected
11271 text or the whole paragraph) as content.
11274 \begin_layout Itemize
11277 \begin_inset Flex Code
11280 \begin_layout Plain Layout
11289 \begin_inset Flex Code
11292 \begin_layout Plain Layout
11295 string of characters
11304 Defines individual characters that should be output in raw form, meaning
11305 without special translations that \SpecialChar LaTeX
11307 Note that, contrary to PassThru, this needs to be explicitly defined for
11309 That is, arguments do not inherit PassThruChars from their parent inset
11313 \begin_layout Standard
11316 By default, the text entered in the \SpecialChar LyX
11317 workarea in the respective layout is
11318 the last (mandatory) argument of a command if the
11319 \begin_inset Flex Code
11322 \begin_layout Plain Layout
11331 \begin_inset Flex Code
11334 \begin_layout Plain Layout
11343 However, arguments with the prefix
11344 \begin_inset Flex Code
11347 \begin_layout Plain Layout
11355 are output after this workarea argument.
11356 Note that post-argument numbering restarts at 1, so the first argument
11357 following the workarea argument is
11358 \begin_inset Flex Code
11361 \begin_layout Plain Layout
11370 Post-arguments are ignored in any other
11371 \begin_inset Flex Code
11374 \begin_layout Plain Layout
11383 \begin_inset Flex Code
11386 \begin_layout Plain Layout
11397 \begin_layout Standard
11401 \begin_inset Flex Code
11404 \begin_layout Plain Layout
11415 \begin_inset Flex Code
11418 \begin_layout Plain Layout
11429 \begin_inset Flex Code
11432 \begin_layout Plain Layout
11440 followed by the number (e.
11441 \begin_inset space \thinspace{}
11445 \begin_inset space \space{}
11449 \begin_inset Flex Code
11452 \begin_layout Plain Layout
11464 \begin_layout Description
11465 \begin_inset Flex Code
11468 \begin_layout Plain Layout
11474 Esto sobrescribirá completamente cualquier anterior declaración
11475 \begin_inset Newline newline
11479 \begin_inset Flex Code
11482 \begin_layout Plain Layout
11490 \begin_inset Quotes eld
11494 \begin_inset Flex Code
11497 \begin_layout Plain Layout
11504 \begin_inset Quotes erd
11509 \begin_inset space ~
11513 \begin_inset CommandInset ref
11515 reference "subsec:I18n"
11519 para detalles sobre su uso.
11522 \begin_layout Description
11523 \begin_inset Flex Code
11526 \begin_layout Plain Layout
11533 \begin_inset Flex Code
11536 \begin_layout Plain Layout
11546 \begin_layout Plain Layout
11547 Anotar que aquí un 'float' es un número real, como: 1.5.
11552 El espacio vertical con el que el último de una cadena de párrafos con
11553 este estilo se separa del siguiente párrafo.
11554 Si el párrafo siguiente tiene otro estilo, las separaciones no son simplemente
11555 añadidas sino que se pone la máxima.
11558 \begin_layout Description
11559 \begin_inset Flex Code
11562 \begin_layout Plain Layout
11569 \begin_inset Flex Code
11572 \begin_layout Plain Layout
11578 La categoría para este estilo.
11579 Se usa para agrupar estilos relacionados en el recuadro de estilo en la
11580 barra de herramientas.
11581 Se puede poner cualquier cadena en 'string' pero mejor usar categorías
11582 existentes con tus propios estilos.
11585 \begin_layout Description
11586 \begin_inset Flex Code
11589 \begin_layout Plain Layout
11595 Profundidad del comando XML.
11596 Usado solo con formatos tipo XML.
11599 \begin_layout Description
11600 \begin_inset Flex Code
11603 \begin_layout Plain Layout
11610 \begin_inset Flex Code
11613 \begin_layout Plain Layout
11619 Copia todas las características de un estilo existente en el actual.
11623 \begin_layout Description
11624 \begin_inset Flex Code
11627 \begin_layout Plain Layout
11634 \begin_inset Flex Code
11637 \begin_layout Plain Layout
11643 ] El nombre de un estilo cuyo preámbulo debería salir
11648 Esto permite asegurar un orden de los retazos de preámbulo si las definiciones
11649 de macros dependen de otra.
11653 \begin_layout Plain Layout
11654 Anotar que, excepto esta funcionalidad, no hay forma de asegurar ningún
11655 orden de los preámbulos.
11656 El orden que se ve en una versión dada de \SpecialChar LyX
11657 puede cambiar sin previo aviso
11658 en versiones posteriores.
11666 \begin_layout Description
11667 \begin_inset Flex Code
11670 \begin_layout Plain Layout
11677 \begin_inset Flex Code
11680 \begin_layout Plain Layout
11685 , Box, Filled_Box, Static
11690 ] El tipo de etiqueta que se pone al final del párrafo (o secuencia de párrafos
11692 \begin_inset Flex Code
11695 \begin_layout Plain Layout
11702 \begin_inset Flex Code
11705 \begin_layout Plain Layout
11712 \begin_inset Flex Code
11715 \begin_layout Plain Layout
11722 \begin_inset Flex Code
11725 \begin_layout Plain Layout
11733 \begin_inset Flex Code
11736 \begin_layout Plain Layout
11743 \begin_inset Quotes fld
11747 \begin_inset Quotes frd
11751 \begin_inset Flex Code
11754 \begin_layout Plain Layout
11761 \begin_inset Flex Code
11764 \begin_layout Plain Layout
11765 \begin_inset space ~
11773 ) es un cuadrado blanco (resp.
11774 \begin_inset space ~
11777 negro) adecuado para marcas finales de demostraciones,
11778 \begin_inset Flex Code
11781 \begin_layout Plain Layout
11787 es una cadena de texto explícito.
11790 \begin_layout Description
11791 \begin_inset Flex Code
11794 \begin_layout Plain Layout
11801 \begin_inset Flex Code
11804 \begin_layout Plain Layout
11810 ] La cadena usada para una etiqueta con un
11811 \begin_inset Flex Code
11814 \begin_layout Plain Layout
11821 \begin_inset Flex Code
11824 \begin_layout Plain Layout
11834 \begin_layout Description
11838 \begin_layout Plain Layout
11843 No estoy seguro de que estas configuraciones (Fill_Bottom, Fill_Top) tengan
11844 mucho uso, y probablemente se quitarán en próximas versiones.
11850 \begin_inset Note Note
11853 \begin_layout Plain Layout
11855 \begin_inset Quotes fld
11858 Espacio vertical encima
11859 \begin_inset Quotes frd
11863 \begin_inset Quotes fld
11866 Espacio vertical abajo
11867 \begin_inset Quotes erd
11870 en Editar\SpecialChar menuseparator
11871 Configuración de párrafo, esto parece obsoleto, como dice Jean-Marc
11882 \begin_layout Description
11883 \begin_inset Flex Code
11886 \begin_layout Plain Layout
11892 La tipografía usada para el cuerpo del texto
11898 \begin_inset space ~
11902 \begin_inset CommandInset ref
11904 reference "subsec:Tipografías"
11909 Anotar que al definir esta tipografía se define automáticamente la de la
11911 \begin_inset Flex Code
11914 \begin_layout Plain Layout
11921 Así que debería definirse primero ésta si se quiere definir también
11922 \begin_inset Flex Code
11925 \begin_layout Plain Layout
11934 \begin_layout Description
11935 \begin_inset Flex Code
11938 \begin_layout Plain Layout
11945 \begin_inset Flex Code
11948 \begin_layout Plain Layout
11956 Used for backporting new styles to stable \SpecialChar LyX
11958 The first stable version that supports this tag is \SpecialChar LyX
11960 The argment is a number which may either be 0, -1 or any value greater
11963 \begin_inset Flex Code
11966 \begin_layout Plain Layout
11974 flag of a style is greater than zero, it will always be written to the
11976 If a .lyx file is read, the style definitions from the document header are
11977 added to the document class.
11978 Therefore even older \SpecialChar LyX
11979 versions can handle the style.
11981 \begin_inset Flex Code
11984 \begin_layout Plain Layout
11992 is a version number: If the style is read, and the version number is less
11993 than the version number of the already existing style in the document class,
11994 the new style is ignored.
11995 If the version number is greater, the new style replaces the existing style.
11996 A value of -1 means an infinite version number, i.
11997 \begin_inset space \thinspace{}
12001 \begin_inset space \space{}
12004 the style is always used.
12007 \begin_layout Description
12008 \begin_inset Flex Code
12011 \begin_layout Plain Layout
12020 \begin_inset Flex Code
12023 \begin_layout Plain Layout
12032 \begin_inset space \thinspace{}
12036 \begin_inset Flex Code
12039 \begin_layout Plain Layout
12045 ] Usualmente \SpecialChar LyX
12046 no permite insertar más de un espacio entre palabras, puesto
12047 que un espacio se considera como la separación entre dos palabras, no un
12048 carácter o símbolo por sí mismo.
12049 Esto es una buena cosa pero a veces puede ser molesta, por ejemplo, para
12050 escribir código de programas o de \SpecialChar LaTeX
12052 Por esta razón se puede habilitar
12053 \begin_inset Flex Code
12056 \begin_layout Plain Layout
12063 Anotar que \SpecialChar LyX
12064 creará espacios protegidos para los espacios adicionales en
12065 modos que no sean \SpecialChar LaTeX
12070 \begin_layout Description
12071 \begin_inset Flex Code
12074 \begin_layout Plain Layout
12080 Para la salida XHTML.
12082 \begin_inset CommandInset ref
12084 reference "subsec:Estilos-de-párrafo-XHTML"
12091 \begin_layout Description
12092 \begin_inset Flex Code
12095 \begin_layout Plain Layout
12101 [[FIXME]] (Usado solo con formatos tipo XML.)
12104 \begin_layout Description
12105 \begin_inset Flex Code
12108 \begin_layout Plain Layout
12117 \begin_inset Flex Code
12120 \begin_layout Plain Layout
12131 \begin_inset space \thinspace{}
12135 \begin_inset Flex Code
12138 \begin_layout Plain Layout
12145 \begin_inset Flex Code
12148 \begin_layout Plain Layout
12154 , marca el estilo para ser incluido en el preámbulo del documento en lugar
12155 de en el cuerpo del documento.
12156 Útil para clases de documento que piden informaciones tales como título
12157 y autor en el preámbulo.
12158 Esto solo funciona para estilos para los que
12159 \begin_inset Flex Code
12162 \begin_layout Plain Layout
12169 \begin_inset Flex Code
12172 \begin_layout Plain Layout
12179 \begin_inset Flex Code
12182 \begin_layout Plain Layout
12191 \begin_layout Description
12192 \begin_inset Flex Code
12195 \begin_layout Plain Layout
12204 \begin_inset Flex Code
12207 \begin_layout Plain Layout
12218 \begin_inset space \thinspace{}
12222 \begin_inset Flex Code
12225 \begin_layout Plain Layout
12232 \begin_inset Flex Code
12235 \begin_layout Plain Layout
12241 , marca el estilo como parte de un bloque de título (véanse también las
12243 \begin_inset Flex Code
12246 \begin_layout Plain Layout
12253 \begin_inset Flex Code
12256 \begin_layout Plain Layout
12265 \begin_layout Description
12266 \begin_inset Flex Code
12269 \begin_layout Plain Layout
12276 \begin_inset Flex Code
12279 \begin_layout Plain Layout
12287 The \SpecialChar LaTeX
12288 command sequence declaring an item in a list.
12289 The command is to be defined without the preceding backslash (the default
12293 \begin_inset Quotes eld
12297 \begin_inset Quotes erd
12305 \begin_inset Flex Code
12308 \begin_layout Plain Layout
12318 in the \SpecialChar LaTeX
12322 \begin_layout Description
12323 \begin_inset Flex Code
12326 \begin_layout Plain Layout
12333 \begin_inset Flex Code
12336 \begin_layout Plain Layout
12342 ] Esto proporciona espacio extra entre párrafos que tienen el mismo formato.
12343 Si se ponen otros formatos en un entorno, cada uno es separado con el comando
12345 \begin_inset Flex Code
12348 \begin_layout Plain Layout
12355 Pero el conjunto de los ítems del entorno son separados adicionalmente
12357 \begin_inset Flex Code
12360 \begin_layout Plain Layout
12367 Anotar que esto es un
12372 \begin_layout Description
12373 \begin_inset Flex Code
12376 \begin_layout Plain Layout
12382 [[FIXME]] (Usado solo con formatos tipo XML.)
12385 \begin_layout Description
12386 \begin_inset Flex Code
12389 \begin_layout Plain Layout
12398 \begin_inset Flex Code
12401 \begin_layout Plain Layout
12412 \begin_inset space \thinspace{}
12416 \begin_inset Flex Code
12419 \begin_layout Plain Layout
12425 ] Habitualmente, \SpecialChar LyX
12426 no permite dejar un párrafo vacío, porque llevaría a una
12427 salida de \SpecialChar LaTeX
12429 Sin embargo, hay algunos casos donde podría ser útil: en una plantilla
12430 de carta, los campos requeridos pueden proporcionarse vacíos, así el usuario
12431 no los olvida; en algunos casos especiales, se puede usar un estilo que
12432 no contiene texto real como una especie de salto.
12435 \begin_layout Description
12436 \begin_inset Flex Code
12439 \begin_layout Plain Layout
12446 \begin_inset Flex Code
12449 \begin_layout Plain Layout
12455 ] El espacio vertical entre la etiqueta y el cuerpo del texto.
12456 Solo se usa para etiquetas que están sobre el cuerpo del texto (
12457 \begin_inset Flex Code
12460 \begin_layout Plain Layout
12467 \begin_inset Flex Code
12470 \begin_layout Plain Layout
12471 Centered_Top_Environment
12479 \begin_layout Description
12480 \begin_inset Flex Code
12483 \begin_layout Plain Layout
12494 \begin_inset Flex Code
12497 \begin_layout Plain Layout
12503 ] El nombre del contador para numeración automática.
12506 In order to have the counter appear with your label, you will need to reference
12508 \begin_inset Flex Code
12511 \begin_layout Plain Layout
12521 This will work with
12522 \begin_inset Flex Code
12525 \begin_layout Plain Layout
12534 \begin_inset Flex Code
12537 \begin_layout Plain Layout
12546 \begin_inset Flex Code
12549 \begin_layout Plain Layout
12558 \begin_inset Flex Code
12561 \begin_layout Plain Layout
12572 \begin_inset Newline newline
12580 \begin_inset Flex Code
12583 \begin_layout Plain Layout
12590 \begin_inset Flex Code
12593 \begin_layout Plain Layout
12599 , aunque este caso es un poco complicado.
12600 Supongamos que declaras
12601 \begin_inset Quotes eld
12605 \begin_inset Flex Code
12608 \begin_layout Plain Layout
12609 LabelCounter myenum
12615 \begin_inset Quotes erd
12619 Entonces, los contadores reales usados son
12620 \begin_inset Flex Code
12623 \begin_layout Plain Layout
12630 \begin_inset Flex Code
12633 \begin_layout Plain Layout
12640 \begin_inset Flex Code
12643 \begin_layout Plain Layout
12650 \begin_inset Flex Code
12653 \begin_layout Plain Layout
12659 , como en \SpecialChar LaTeX
12661 Estos contadores deben declararse todos por separado.
12662 \begin_inset Newline newline
12666 \begin_inset CommandInset ref
12668 reference "subsec:Contadores"
12672 para detalles sobre contadores
12673 \begin_inset Flex Code
12676 \begin_layout Plain Layout
12682 La tipografía usada para la etiqueta.
12684 \begin_inset space ~
12688 \begin_inset CommandInset ref
12690 reference "subsec:Tipografías"
12697 \begin_layout Description
12698 \begin_inset Flex Code
12701 \begin_layout Plain Layout
12708 \begin_inset Flex Code
12711 \begin_layout Plain Layout
12717 ] Texto que indica cuánto se debe sangrar una etiqueta.
12720 \begin_layout Description
12721 \begin_inset Flex Code
12724 \begin_layout Plain Layout
12731 \begin_inset Flex Code
12734 \begin_layout Plain Layout
12740 ] Texto que indica el valor de espacio horizontal entre la etiqueta y el
12742 Solo se usa para etiquetas que no están sobre el cuerpo del texto.
12745 \begin_layout Description
12746 \begin_inset Flex Code
12749 \begin_layout Plain Layout
12756 \begin_inset Flex Code
12759 \begin_layout Plain Layout
12765 ] La cadena usada para una etiqueta del
12766 \begin_inset Flex Code
12769 \begin_layout Plain Layout
12776 \begin_inset Flex Code
12779 \begin_layout Plain Layout
12787 \begin_inset Flex Code
12790 \begin_layout Plain Layout
12796 está establecido, esta cadena puede contener los comandos especiales de
12797 formato descritos en la sección
12798 \begin_inset space ~
12802 \begin_inset CommandInset ref
12804 reference "subsec:Contadores"
12811 \begin_layout Description
12812 \begin_inset Flex Code
12815 \begin_layout Plain Layout
12816 LabelStringAppendix
12822 \begin_inset Flex Code
12825 \begin_layout Plain Layout
12831 ] Esta se usa en el apéndice en vez de
12832 \begin_inset Flex Code
12835 \begin_layout Plain Layout
12842 Anotar que toda declaración de
12843 \begin_inset Flex Code
12846 \begin_layout Plain Layout
12852 reconfigura también
12853 \begin_inset Newline newline
12857 \begin_inset Flex Code
12860 \begin_layout Plain Layout
12861 LabelStringAppendix
12869 \begin_layout Description
12870 \begin_inset Flex Code
12873 \begin_layout Plain Layout
12879 [FIXME] (Usado solo con formatos tipo XML.)
12882 \begin_layout Description
12883 \begin_inset Flex Code
12886 \begin_layout Plain Layout
12897 \begin_inset Flex Code
12900 \begin_layout Plain Layout
12905 , Manual, Static, Above,
12906 \begin_inset Newline newline
12909 Centered, Sensitive, Enumerate,
12910 \begin_inset Newline newline
12913 Itemize, Bibliography
12919 \begin_inset Separator parbreak
12926 \begin_layout Description
12927 \begin_inset Flex Code
12930 \begin_layout Plain Layout
12936 significa que la etiqueta es la primera palabra (hasta elprimer espacio
12938 Usa espacios protegidos si quieres más de una palabra como etiqueta.
12942 \begin_layout Description
12943 \begin_inset Flex Code
12946 \begin_layout Plain Layout
12952 significa que la etiqueta es simplemente cualquier
12953 \begin_inset Flex Code
12956 \begin_layout Plain Layout
12962 declarado como tal.
12965 This will be displayed
12966 \begin_inset Quotes fld
12970 \begin_inset Quotes frd
12973 , at the beginning of the paragraph.
12975 \begin_inset Flex Code
12978 \begin_layout Plain Layout
12987 \begin_inset Flex Code
12990 \begin_layout Plain Layout
12998 , then it will be displayed only in the first paragraph of any sequence
12999 of paragraphs with the same
13002 \begin_inset Flex Code
13005 \begin_layout Plain Layout
13014 \begin_layout Description
13015 \begin_inset Flex Code
13018 \begin_layout Plain Layout
13025 \begin_inset space ~
13029 \begin_inset space ~
13033 \begin_inset Flex Code
13036 \begin_layout Plain Layout
13042 son casos especiales de
13043 \begin_inset Flex Code
13046 \begin_layout Plain Layout
13053 La etiqueta se imprimirá encima del párrafo,
13055 either at the beginning of the line or centered
13060 \begin_layout Description
13061 \begin_inset Flex Code
13064 \begin_layout Plain Layout
13070 es un caso especial para las etiquetas de las leyendas de
13071 \begin_inset Quotes fld
13075 \begin_inset Quotes frd
13079 \begin_inset Quotes fld
13083 \begin_inset Quotes frd
13088 \begin_inset Flex Code
13091 \begin_layout Plain Layout
13097 quiere decir que la cadena (en código) de la etiqueta depende de la clase
13098 de flotante: Está codificado para ser `FloatType N', donde N es el valor
13099 del contador asociado al flotante.
13102 For the case that a caption is inserted outside of a float the
13103 \begin_inset Flex Code
13106 \begin_layout Plain Layout
13115 \begin_inset Quotes fld
13121 \begin_inset Quotes frd
13127 \begin_layout Description
13128 \begin_inset Flex Code
13131 \begin_layout Plain Layout
13137 produce los tipos habituales de etiquetas de enumeración.
13138 Por ahora está codificado para usar números arábigos, minúsculas, números
13139 romanos en minúsculas y mayúsculas, respectivamente, para los cuatro niveles
13140 de profundidad posibles.
13143 \begin_layout Description
13144 \begin_inset Flex Code
13147 \begin_layout Plain Layout
13153 produce varias marcas para los distintos niveles.
13154 También está codificado.
13157 \begin_layout Description
13158 \begin_inset Flex Code
13161 \begin_layout Plain Layout
13167 solo debería emplearse con
13168 \begin_inset Flex Code
13171 \begin_layout Plain Layout
13172 LatexType BibEnvironment
13181 \begin_layout Description
13182 \begin_inset Flex Code
13185 \begin_layout Plain Layout
13191 Esto sobrescribirá completamente cualquier declaración anterior de
13192 \begin_inset Flex Code
13195 \begin_layout Plain Layout
13203 \begin_inset Quotes eld
13207 \begin_inset Flex Code
13210 \begin_layout Plain Layout
13217 \begin_inset Quotes erd
13222 \begin_inset CommandInset ref
13224 reference "subsec:I18n"
13228 para detallessobre su uso.
13231 \begin_layout Description
13232 \begin_inset Flex Code
13235 \begin_layout Plain Layout
13242 \begin_inset Flex Code
13245 \begin_layout Plain Layout
13251 ] El nombre correspondiente en \SpecialChar LaTeX
13252 , ya sea de un comando o de un entorno.
13255 \begin_layout Description
13256 \begin_inset Flex Code
13259 \begin_layout Plain Layout
13266 \begin_inset Flex Code
13269 \begin_layout Plain Layout
13275 ] Un parámetro opcional para el correspondiente
13276 \begin_inset Flex Code
13279 \begin_layout Plain Layout
13286 Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
13290 \begin_inset Flex Code
13293 \begin_layout Plain Layout
13301 for customizable parameters).
13302 This will be output as is after all \SpecialChar LaTeX
13306 \begin_inset Flex Code
13309 \begin_layout Plain Layout
13318 \begin_layout Description
13319 \begin_inset Flex Code
13322 \begin_layout Plain Layout
13329 \begin_inset Flex Code
13332 \begin_layout Plain Layout
13337 , Command, Environment, Item_Environment,
13338 \begin_inset Newline newline
13341 List_Environment, Bib_Environment
13346 ] Cómo debería traducirse el estilo a \SpecialChar LaTeX
13351 \begin_layout Plain Layout
13352 \begin_inset Flex Code
13355 \begin_layout Plain Layout
13361 es un poco engañoso porque estas reglas se aplican también a clases SGML.
13362 Consulta los archivos de clases SGML
13365 \begin_inset Flex Code
13368 \begin_layout Plain Layout
13378 para ejemplos concretos.
13384 \begin_inset Separator parbreak
13391 \begin_layout Description
13392 \begin_inset Flex Code
13395 \begin_layout Plain Layout
13401 no significa nada especial.
13404 \begin_layout Description
13405 \begin_inset Flex Code
13408 \begin_layout Plain Layout
13415 \begin_inset Flex Code
13418 \begin_layout Plain Layout
13425 {\SpecialChar ldots
13434 \begin_layout Description
13435 \begin_inset Flex Code
13438 \begin_layout Plain Layout
13445 \begin_inset Flex Code
13448 \begin_layout Plain Layout
13455 }\SpecialChar ldots
13470 \begin_layout Description
13471 \begin_inset Flex Code
13474 \begin_layout Plain Layout
13481 \begin_inset Flex Code
13484 \begin_layout Plain Layout
13491 \begin_inset Flex Code
13494 \begin_layout Plain Layout
13502 se genera para cada párrafo de este entorno.
13505 \begin_layout Description
13506 \begin_inset Flex Code
13509 \begin_layout Plain Layout
13516 \begin_inset Flex Code
13519 \begin_layout Plain Layout
13526 \begin_inset Newline newline
13530 \begin_inset Flex Code
13533 \begin_layout Plain Layout
13539 se pasa como un argumento al entorno.
13540 \begin_inset Newline newline
13544 \begin_inset Flex Code
13547 \begin_layout Plain Layout
13553 puede definirse en el diálogo
13554 \begin_inset Flex Noun
13557 \begin_layout Plain Layout
13558 Editar\SpecialChar menuseparator
13560 \begin_inset space ~
13564 \begin_inset space ~
13575 \begin_layout Description
13578 \begin_inset Flex Code
13581 \begin_layout Plain Layout
13590 \begin_inset Flex Code
13593 \begin_layout Plain Layout
13601 but adds additionally the necessary mandatory argument (the longest label)
13602 to the begin statement of the bibliography environment:
13603 \begin_inset Newline newline
13607 \begin_inset Flex Code
13610 \begin_layout Plain Layout
13615 begin{thebibliography}{99}
13620 It is therefore only useful for bibliography environments.
13621 The default longest label
13622 \begin_inset Quotes eld
13626 \begin_inset Quotes erd
13629 can be changed by the user in the paragraph settings of a bibliography
13633 \begin_layout Standard
13634 Poniendo juntas las últimas cosas, la salida \SpecialChar LaTeX
13638 \begin_layout LyX-Code
13641 LatexName[LatexParam]{\SpecialChar ldots
13645 \begin_layout Standard
13649 \begin_layout LyX-Code
13652 begin{LatexName}[LatexParam] \SpecialChar ldots
13658 \begin_layout Standard
13659 dependiendo del tipo de \SpecialChar LaTeX
13664 \begin_layout Description
13665 \begin_inset Flex Code
13668 \begin_layout Plain Layout
13675 \begin_inset Flex Code
13678 \begin_layout Plain Layout
13686 A string that is put at the beginning of the style content.
13687 A line break in the output can be indicated by
13690 \begin_inset Flex Code
13693 \begin_layout Plain Layout
13702 \begin_layout Description
13703 \begin_inset Flex Code
13706 \begin_layout Plain Layout
13713 \begin_inset Flex Code
13716 \begin_layout Plain Layout
13722 ] Si pones estilos en entornos, los
13723 \begin_inset Flex Code
13726 \begin_layout Plain Layout
13732 no son simplemente añadidos, sino aumentados en un factor
13733 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
13737 Anotar que este parámetro se usa también cuando
13738 \begin_inset Flex Code
13741 \begin_layout Plain Layout
13748 \begin_inset Flex Code
13751 \begin_layout Plain Layout
13758 \begin_inset Flex Code
13761 \begin_layout Plain Layout
13768 En ese caso se añade al margen manual o dinámico.
13769 \begin_inset Newline newline
13773 \begin_inset Quotes fld
13777 \begin_inset Flex Code
13780 \begin_layout Plain Layout
13787 \begin_inset Quotes frd
13790 significa que el párrafo se sangra con la anchura de
13791 \begin_inset Quotes fld
13795 \begin_inset Flex Code
13798 \begin_layout Plain Layout
13805 \begin_inset Quotes frd
13808 en la tipografía normal.
13809 Se puede obtener una anchura negativa anteponiendo
13810 \begin_inset Quotes fld
13814 \begin_inset Flex Code
13817 \begin_layout Plain Layout
13824 \begin_inset Quotes frd
13828 Se eligió este método para que el aspecto sea el mismo con cada una de
13829 las tipografías de pantalla usadas.
13832 \begin_layout Description
13833 \begin_inset Flex Code
13836 \begin_layout Plain Layout
13843 \begin_inset Flex Code
13846 \begin_layout Plain Layout
13851 , Manual, Dynamic, First_Dynamic, Right_Address_Box
13857 \begin_inset Newline newline
13860 El tipo de margen que el estilo tiene en el lado izquierdo.
13861 \begin_inset Separator parbreak
13868 \begin_layout Description
13869 \begin_inset Flex Code
13872 \begin_layout Plain Layout
13878 significa un margen fijo.
13881 \begin_layout Description
13882 \begin_inset Flex Code
13885 \begin_layout Plain Layout
13891 significa que el margen izquierdo depende de la cadena introducida en el
13893 \begin_inset Flex Noun
13896 \begin_layout Plain Layout
13897 Editar\SpecialChar menuseparator
13898 Configuración del párrafo\SpecialChar ldots
13905 Esto se utiliza para componer bonitas listas sin tabuladores.
13908 \begin_layout Description
13909 \begin_inset Flex Code
13912 \begin_layout Plain Layout
13918 significa que el margen depende del tamaño de la etiqueta.
13919 Esto se usa para las cabeceras automáticas de las listas numeradas.
13920 Es obvio que la cabecera
13921 \begin_inset Quotes fld
13924 5.4.3.2.1 Cabecera muy larga
13925 \begin_inset Quotes frd
13928 debe tener un margen izquierdo más amplio (tan ancho como
13929 \begin_inset Quotes fld
13933 \begin_inset Quotes frd
13936 más el espacio) que
13937 \begin_inset Quotes fld
13940 3.2 Cabecera muy larga
13941 \begin_inset Quotes frd
13945 \begin_inset Quotes fld
13948 procesadores de texto
13949 \begin_inset Quotes frd
13952 corrientes no sean capaces de hacer esto.
13955 \begin_layout Description
13956 \begin_inset Flex Code
13959 \begin_layout Plain Layout
13965 es similar, pero solo la primera fila del párrafo es dinámica, mientras
13966 que las demás son estáticas; esto se emplea, por ejemplo, para descripciones.
13969 \begin_layout Description
13970 \begin_inset Flex Code
13973 \begin_layout Plain Layout
13979 significa que el margen se elige de manera que la fila más larga de este
13980 párrafo se adapte al margen derecho.
13981 Esto se emplea para componer una dirección en el lado derecho de la página.
13986 \begin_layout Description
13987 \begin_inset Flex Code
13990 \begin_layout Plain Layout
13997 \begin_inset Flex Code
14000 \begin_layout Plain Layout
14009 \begin_inset space \thinspace{}
14013 \begin_inset Flex Code
14016 \begin_layout Plain Layout
14022 ] Si los comandos frágiles en este estilo deberían ser protegidos,
14023 \begin_inset Flex Code
14026 \begin_layout Plain Layout
14039 si este comando debería él mismo ser protegido.)
14042 \begin_layout Description
14043 \begin_inset Flex Code
14046 \begin_layout Plain Layout
14053 \begin_inset Flex Code
14056 \begin_layout Plain Layout
14063 \begin_inset space \thinspace{}
14067 \begin_inset Flex Code
14070 \begin_layout Plain Layout
14078 ] Si las líneas nuevas se transforman en líneas nuevas \SpecialChar LaTeX
14080 \begin_inset Flex Code
14083 \begin_layout Plain Layout
14094 La transformación puede desactivarse para permitir una edición más confortable
14095 de \SpecialChar LaTeX
14096 en \SpecialChar LyX
14100 \begin_layout Description
14101 \begin_inset Flex Code
14104 \begin_layout Plain Layout
14111 \begin_inset Flex Code
14114 \begin_layout Plain Layout
14123 \begin_inset space \thinspace{}
14127 \begin_inset Flex Code
14130 \begin_layout Plain Layout
14136 ] Si se permite sangrar la primera fila del párrafo siguiente.
14138 \begin_inset Flex Code
14141 \begin_layout Plain Layout
14147 significa que no se permite hacerlo;
14148 \begin_inset Flex Code
14151 \begin_layout Plain Layout
14157 significa que puede hacerse si se desea.
14160 \begin_layout Description
14161 \begin_inset Flex Code
14164 \begin_layout Plain Layout
14171 \begin_inset Flex Code
14174 \begin_layout Plain Layout
14180 ] Nombre de un estilo que ha reemplazado este estilo.
14181 Esto se emplea para renombrar un estilo, mientras que se mantiene compatibilida
14185 \begin_layout Description
14186 \begin_inset Flex Code
14189 \begin_layout Plain Layout
14196 \begin_inset Flex Code
14199 \begin_layout Plain Layout
14206 \begin_inset space \thinspace{}
14210 \begin_inset Flex Code
14213 \begin_layout Plain Layout
14221 Determines whether consecutive pragraphs of the same type are treated as
14222 belonging together.
14223 This has the effect that the
14224 \begin_inset Flex Code
14227 \begin_layout Plain Layout
14235 is only printed once before such a group.
14236 By default, this is true for
14237 \begin_inset Flex Code
14240 \begin_layout Plain Layout
14249 \begin_inset Flex Code
14252 \begin_layout Plain Layout
14261 \begin_inset Flex Code
14264 \begin_layout Plain Layout
14272 and false for all other types.
14275 \begin_layout Description
14276 \begin_inset Flex Code
14279 \begin_layout Plain Layout
14286 \begin_inset Flex Code
14289 \begin_layout Plain Layout
14298 \begin_inset space \thinspace{}
14302 \begin_inset Flex Code
14305 \begin_layout Plain Layout
14311 ] Indica que los párrafos no serán separados por una línea vacía en la salida
14313 , solo por un salto de línea; junto con
14314 \begin_inset Flex Code
14317 \begin_layout Plain Layout
14323 , esto permite emular un editor de texto simple (como un recuadro ERT).
14326 \begin_layout Description
14327 \begin_inset Flex Code
14330 \begin_layout Plain Layout
14337 \begin_inset Flex Code
14340 \begin_layout Plain Layout
14346 ] El sangrado de la primera línea de un párrafo.
14348 \begin_inset Flex Code
14351 \begin_layout Plain Layout
14357 estará fijado para un determinado estilo.
14358 La excepción es el estilo
14359 \begin_inset Flex Code
14362 \begin_layout Plain Layout
14368 , puesto que la sangría de un párrafo de estilo
14369 \begin_inset Flex Code
14372 \begin_layout Plain Layout
14378 puede prohibirse con
14379 \begin_inset Flex Code
14382 \begin_layout Plain Layout
14389 Además, los párrafos de estilo
14390 \begin_inset Flex Code
14393 \begin_layout Plain Layout
14399 dentro de entornos usan la sangría
14400 \begin_inset Flex Code
14403 \begin_layout Plain Layout
14409 del entorno, no su propio valor.
14410 Por ejemplo, los párrafos
14411 \begin_inset Flex Code
14414 \begin_layout Plain Layout
14420 en una enumeración no se sangran.
14423 \begin_layout Description
14424 \begin_inset Flex Code
14427 \begin_layout Plain Layout
14434 \begin_inset Flex Code
14437 \begin_layout Plain Layout
14443 ] El espacio vertical entre dos párrafos de este estilo.
14446 \begin_layout Description
14447 \begin_inset Flex Code
14450 \begin_layout Plain Layout
14457 \begin_inset Flex Code
14460 \begin_layout Plain Layout
14467 permite al usuario elegir entre
14468 \begin_inset Quotes fld
14472 \begin_inset Quotes frd
14476 \begin_inset Quotes fld
14480 \begin_inset Quotes frd
14485 separate paragraphs
14489 \begin_inset Quotes fld
14493 \begin_inset Quotes frd
14496 , este valor es completamente ignorado.
14498 \begin_inset Quotes fld
14502 \begin_inset Quotes frd
14505 , el sangrado de un estilo tipo
14506 \begin_inset Quotes fld
14510 \begin_inset Quotes frd
14513 de \SpecialChar LaTeX
14514 se ignora y todos los párrafos son separados con este argumento
14515 \begin_inset Quotes fld
14519 \begin_inset Quotes frd
14523 El espacio vertical se calcula con
14524 \begin_inset Flex Code
14527 \begin_layout Plain Layout
14529 \begin_inset space ~
14538 \begin_inset Flex Code
14541 \begin_layout Plain Layout
14547 es la altura de una fila con la tipografía normal.
14548 De esta forma, el aspecto queda igual con diferentes tipografías de pantalla.
14551 \begin_layout Description
14552 \begin_inset Flex Code
14555 \begin_layout Plain Layout
14564 \begin_inset Flex Code
14567 \begin_layout Plain Layout
14578 \begin_inset space \thinspace{}
14582 \begin_inset Flex Code
14585 \begin_layout Plain Layout
14591 ] Si el contenido de este párrafo debería aparecer en la salida en forma
14592 cruda, es decir sin las traducciones especiales que \SpecialChar LaTeX
14596 \begin_layout Description
14597 \begin_inset Flex Code
14600 \begin_layout Plain Layout
14607 \begin_inset Flex Code
14610 \begin_layout Plain Layout
14621 Defines individual characters that should be output in raw form, meaning
14622 without special translations that \SpecialChar LaTeX
14626 \begin_layout Description
14627 \begin_inset Flex Code
14630 \begin_layout Plain Layout
14636 Información a incluir en el preámbulo \SpecialChar LaTeX
14637 cuando se usa este estilo.
14638 Utilizado para definir macros, paquetes a cargar, etc., requeridos por este
14639 estilo en particular.
14641 \begin_inset Quotes fld
14645 \begin_inset Flex Code
14648 \begin_layout Plain Layout
14655 \begin_inset Quotes frd
14661 \begin_layout Description
14662 \begin_inset Flex Code
14665 \begin_layout Plain Layout
14672 \begin_inset Flex Code
14675 \begin_layout Plain Layout
14681 ] El prefijo a usar cuando se crean etiquetas que se refieren a párrafos
14683 Esto permite el uso de referencias con formato.
14686 \begin_layout Description
14687 \begin_inset Flex Code
14690 \begin_layout Plain Layout
14699 \begin_inset Flex Code
14702 \begin_layout Plain Layout
14710 Si el estilo requiere la característica
14711 \begin_inset Flex Code
14714 \begin_layout Plain Layout
14721 \begin_inset CommandInset ref
14723 reference "chap:List-of-functions"
14729 for the list of features).
14730 If you require a package with specific options, you can additionally use
14732 \begin_inset Flex Code
14735 \begin_layout Plain Layout
14743 as a general text class parameter
14746 \begin_inset CommandInset ref
14748 reference "subsec:Parámetros-generales-clases"
14755 \begin_layout Description
14756 \begin_inset Flex Code
14759 \begin_layout Plain Layout
14766 \begin_inset Flex Code
14769 \begin_layout Plain Layout
14778 \begin_inset Flex Code
14781 \begin_layout Plain Layout
14789 Resets the \SpecialChar LaTeX
14790 arguments of this style (as defined via the
14791 \begin_inset Flex Code
14794 \begin_layout Plain Layout
14803 This is useful if you have copied a style via
14804 \begin_inset Flex Code
14807 \begin_layout Plain Layout
14815 , but you do not want to inherit its (required and optional) arguments.
14818 \begin_layout Description
14819 \begin_inset Flex Code
14822 \begin_layout Plain Layout
14829 \begin_inset Flex Code
14832 \begin_layout Plain Layout
14840 A string that is put at the end of the layout content.
14841 A line break in the output can be indicated by
14844 \begin_inset Flex Code
14847 \begin_layout Plain Layout
14856 \begin_layout Description
14857 \begin_inset Flex Code
14860 \begin_layout Plain Layout
14867 \begin_inset Flex Code
14870 \begin_layout Plain Layout
14877 \begin_inset Flex Code
14880 \begin_layout Plain Layout
14889 \begin_layout Description
14890 \begin_inset Flex Code
14893 \begin_layout Plain Layout
14900 \begin_inset Flex Code
14903 \begin_layout Plain Layout
14912 \begin_inset Flex Code
14915 \begin_layout Plain Layout
14922 \begin_inset Flex Code
14925 \begin_layout Plain Layout
14932 \begin_inset Flex Code
14935 \begin_layout Plain Layout
14937 \begin_inset space ~
14945 ] Esto define cuál debería ser el espacio predefinido en el estilo.
14947 \begin_inset Flex Code
14950 \begin_layout Plain Layout
14957 \begin_inset Flex Code
14960 \begin_layout Plain Layout
14967 \begin_inset Flex Code
14970 \begin_layout Plain Layout
14976 corresponden respectivamente a un multiplicador de 1, 1.25 y 1.667.
14977 Si se especifica el argumento
14978 \begin_inset Flex Code
14981 \begin_layout Plain Layout
14987 , entonces se debería proporcionar además un argumento numérico que será
14988 el valor real del multiplicador.
14989 Anotar que, al contrario que otros parámetros,
14990 \begin_inset Flex Code
14993 \begin_layout Plain Layout
14999 implica la generación de código \SpecialChar LaTeX
15000 específico, usando el paquete \SpecialChar LaTeX
15002 \begin_inset Flex Code
15005 \begin_layout Plain Layout
15014 \begin_layout Description
15015 \begin_inset Flex Code
15018 \begin_layout Plain Layout
15025 \begin_inset Flex Code
15028 \begin_layout Plain Layout
15037 \begin_inset space \thinspace{}
15043 \begin_inset Flex Code
15046 \begin_layout Plain Layout
15054 ] Corrección ortográfica de párrafos de este estilo.
15058 \begin_layout Description
15059 \begin_inset Flex Code
15062 \begin_layout Plain Layout
15068 La tipografía para el cuerpo del texto.
15070 \begin_inset CommandInset ref
15072 reference "subsec:Tipografías"
15079 \begin_layout Description
15080 \begin_inset Flex Code
15083 \begin_layout Plain Layout
15090 \begin_inset Flex Code
15093 \begin_layout Plain Layout
15099 ] El nivel del estilo en el índice general.
15100 Esto se usa para la numeración automática de los encabezados de sección.
15103 \begin_layout Description
15104 \begin_inset Flex Code
15107 \begin_layout Plain Layout
15116 \begin_inset Flex Code
15119 \begin_layout Plain Layout
15128 \begin_inset Flex Code
15131 \begin_layout Plain Layout
15138 \begin_inset Flex Code
15141 \begin_layout Plain Layout
15149 This tag determines whether the first line indentation of this paragraph
15150 can be toggled via the Paragraph settings dialog.
15154 \begin_inset Flex Code
15157 \begin_layout Plain Layout
15168 is set, indentation can be toggled if the document settings use
15169 \begin_inset Quotes eld
15173 \begin_inset Quotes erd
15176 paragraph style, with
15177 \begin_inset Flex Code
15180 \begin_layout Plain Layout
15188 , indentation can always be toggled, notwithstanding the document settings,
15190 \begin_inset Flex Code
15193 \begin_layout Plain Layout
15201 , indentation can never be toggled.
15204 \begin_layout Description
15205 \begin_inset Flex Code
15208 \begin_layout Plain Layout
15215 \begin_inset Flex Code
15218 \begin_layout Plain Layout
15224 ] El espacio vertical con el que el primero de una cadena de párrafos con
15225 este estilo se separa del párrafo anterior.
15226 Si el párrafo anterior tiene otro estilo, la separación no es simplemente
15227 añadida, sino que se pone la máxima.
15230 \begin_layout Subsection
15231 Internacionalización de estilos de párrafo
15232 \begin_inset CommandInset label
15241 \begin_layout Standard
15243 ha soportado desde hace tiempo la internacionalización de la información
15244 de formato, pero, hasta la versión 2.0, esto se aplicaba solo a la interfaz
15245 de usuario y no a la salida, digamos, PDF.
15246 Así, por ej., autores franceses tenían que acudir a feos trucos para conseguir
15247 `Théorème 1' en vez de `Theorem 1'.
15248 Gracias a Georg Baum, este ya no es el caso.
15251 \begin_layout Standard
15253 \begin_inset Flex Code
15256 \begin_layout Plain Layout
15262 define texto que se mostrará en el documento exportado, puede usar
15263 \begin_inset Flex Code
15266 \begin_layout Plain Layout
15273 \begin_inset Flex Code
15276 \begin_layout Plain Layout
15282 para soportar correctamente documentos con idioma distinto del inglés e
15283 incluso documentos plurilingües.
15284 El siguiente extracto (del archivo
15285 \begin_inset Flex Code
15288 \begin_layout Plain Layout
15294 ) muestra cómo funciona:
15297 \begin_layout LyX-Code
15299 \begin_inset Separator parbreak
15306 \begin_layout LyX-Code
15309 theoremstyle{remark}
15312 \begin_layout LyX-Code
15315 newtheorem{claim}[thm]{
15322 \begin_layout LyX-Code
15326 \begin_layout LyX-Code
15330 \begin_layout LyX-Code
15335 claimname}{_(Claim)}
15338 \begin_layout LyX-Code
15342 \begin_layout LyX-Code
15346 \begin_layout LyX-Code
15355 claimname}{_(Claim)}}
15358 \begin_layout LyX-Code
15363 \begin_layout Standard
15364 En principio, cualquier \SpecialChar LaTeX
15365 legal puede aparecer en las etiquetas
15366 \begin_inset Flex Code
15369 \begin_layout Plain Layout
15376 \begin_inset Flex Code
15379 \begin_layout Plain Layout
15385 , pero en la práctica el aspecto será generalmente como el mostrado aquí.
15386 La clave para una correcta traducción del texto impreso es la definición
15387 del comando \SpecialChar LaTeX
15389 \begin_inset Flex Code
15392 \begin_layout Plain Layout
15401 \begin_inset Flex Code
15404 \begin_layout Plain Layout
15416 \begin_layout Standard
15418 \begin_inset Flex Code
15421 \begin_layout Plain Layout
15427 proporciona internacionalización basada en el idioma global del documento.
15428 El contenido de la etiqueta se incluirá en el preámbulo, igual que con
15430 \begin_inset Flex Code
15433 \begin_layout Plain Layout
15440 Lo que la hace especial es el uso de la
15441 \begin_inset Quotes eld
15445 \begin_inset Quotes erd
15449 \begin_inset Flex Code
15452 \begin_layout Plain Layout
15458 , que será reemplazada, cuando \SpecialChar LyX
15459 genere la salida \SpecialChar LaTeX
15460 , por la traducción de
15461 su argumento al idioma del documento.
15464 \begin_layout Standard
15466 \begin_inset Flex Code
15469 \begin_layout Plain Layout
15475 es más compleja, puesto que está pensada para dar soporte a documentos
15476 plurilingües y ofrece una interfaz al paquete
15477 \begin_inset Flex Code
15480 \begin_layout Plain Layout
15487 Su contenido se añadirá al preámbulo una vez por cada idioma que aparezca
15489 En este caso, el argumento en
15490 \begin_inset Flex Code
15493 \begin_layout Plain Layout
15499 se reemplazará por su traducción al idioma en cuestión; la expresión
15500 \begin_inset Flex Code
15503 \begin_layout Plain Layout
15509 es reemplazada por el nombre del idioma (el usado por el paquete babel).
15512 \begin_layout Standard
15513 Un documento en alemán que también incluya una sección en francés tendría
15514 lo siguiente en el preámbulo:
15517 \begin_layout LyX-Code
15526 claimname}{Affirmation}}
15527 \begin_inset Newline newline
15538 claimname}{Behauptung}}
15539 \begin_inset Newline newline
15546 claimname}{Behauptung}
15549 \begin_layout Standard
15552 \begin_inset Flex Code
15555 \begin_layout Plain Layout
15561 conspirarán para producir el texto correcto en la salida.
15564 \begin_layout Standard
15565 Un punto importante a tener en cuenta aquí es que las traducciones son proporcio
15566 nadas por el propio \SpecialChar LyX
15572 \begin_inset Flex Code
15575 \begin_layout Plain Layout
15582 Esto quiere decir, en definitiva, que
15583 \begin_inset Flex Code
15586 \begin_layout Plain Layout
15593 \begin_inset Flex Code
15596 \begin_layout Plain Layout
15602 realmente solo son útiles en archivos de formato que son proporcionados
15603 por \SpecialChar LyX
15604 , puesto que el texto introducido en archivos de formato creados por
15605 el usuario no serán tenidos en cuenta por las rutinas de internacionalización
15606 de \SpecialChar LyX
15610 \begin_inset Flex Code
15613 \begin_layout Plain Layout
15621 file is modified accordingly
15624 Sin embargo, cualquier formato creado con la intención de ser incluido
15625 en \SpecialChar LyX
15626 debería usar estas etiquetas en los lugares apropiados.
15629 Please note that the paragraph style translations provided by \SpecialChar LyX
15631 change with a minor update (e.
15632 \begin_inset space \thinspace{}
15636 \begin_inset space \space{}
15639 from version 2.1.x to 2.1.y).
15640 It is however quite likely that a major update (e.
15641 \begin_inset space \thinspace{}
15645 \begin_inset space \space{}
15648 from 2.0.x to 2.1.y) will introduce new translations or corrections.
15651 \begin_layout Subsection
15653 \begin_inset CommandInset label
15655 name "subsec:Flotantes"
15662 \begin_layout Standard
15663 Es necesario definir los flotantes (
15664 \begin_inset Flex Noun
15667 \begin_layout Plain Layout
15674 \begin_inset Flex Noun
15677 \begin_layout Plain Layout
15683 , \SpecialChar ldots
15684 ) en la propia clase de texto.
15685 Los flotantes normales se incluyen en el archivo
15686 \begin_inset Flex Code
15689 \begin_layout Plain Layout
15695 , así que no tendrás más que añadir
15698 \begin_layout LyX-Code
15699 Input stdfloats.inc
15702 \begin_layout Standard
15703 en tu archivo de formato.
15704 Si quieres implementar una clase de texto que proponga algún otro tipo
15705 de flotante (como la clase AGU empaquetada con \SpecialChar LyX
15706 ), la información siguiente
15707 te servirá de ayuda:
15710 \begin_layout Description
15711 \begin_inset Flex Code
15714 \begin_layout Plain Layout
15721 \begin_inset Flex Code
15724 \begin_layout Plain Layout
15732 Allowed placement options for this float type.
15733 The value is a string of placement characters.
15734 Possible characters include:
15739 \begin_inset Quotes eld
15743 \begin_inset Quotes erd
15751 \begin_inset Quotes eld
15755 \begin_inset Quotes erd
15763 \begin_inset Quotes eld
15767 \begin_inset Quotes erd
15775 \begin_inset Quotes eld
15779 \begin_inset Quotes erd
15787 \begin_inset Quotes eld
15791 \begin_inset Quotes erd
15799 \begin_inset Quotes eld
15803 \begin_inset Quotes erd
15807 The order of the characters in the string does not matter.
15808 If no placement options are allowed, use the string
15815 \begin_layout Description
15816 \begin_inset Flex Code
15819 \begin_layout Plain Layout
15826 \begin_inset Flex Code
15829 \begin_layout Plain Layout
15836 \begin_inset space \thinspace{}
15842 \begin_inset Flex Code
15845 \begin_layout Plain Layout
15855 Defines whether the float allows to be rotated via the \SpecialChar LaTeX
15862 \begin_inset Flex Code
15865 \begin_layout Plain Layout
15873 if the float does not support this feature.
15876 \begin_layout Description
15877 \begin_inset Flex Code
15880 \begin_layout Plain Layout
15887 \begin_inset Flex Code
15890 \begin_layout Plain Layout
15897 \begin_inset space \thinspace{}
15903 \begin_inset Flex Code
15906 \begin_layout Plain Layout
15916 Defines whether the float has a starred variant that spans columns in a
15917 two column paragraph.
15919 \begin_inset Flex Code
15922 \begin_layout Plain Layout
15930 if the float does not support this feature.
15933 \begin_layout Description
15934 \begin_inset Flex Code
15937 \begin_layout Plain Layout
15944 \begin_inset Flex Code
15947 \begin_layout Plain Layout
15954 \begin_inset Quotes erd
15958 \begin_inset Quotes erd
15961 ] La extensión del nombre de un archivo auxiliar para la lista de figuras
15964 escribe las leyendas en este archivo.
15967 \begin_layout Description
15968 \begin_inset Flex Code
15971 \begin_layout Plain Layout
15978 \begin_inset Flex Code
15981 \begin_layout Plain Layout
15988 \begin_inset Quotes erd
15992 \begin_inset Quotes erd
15995 ] La cadena que se usará en los menús y también para la leyenda.
15996 Esto se traduce al idioma actual si se usa.
15999 \begin_layout Description
16000 \begin_inset Flex Code
16003 \begin_layout Plain Layout
16009 Controlan la salida XHTML.
16011 \begin_inset space ~
16015 \begin_inset CommandInset ref
16017 reference "sec:Etiquetas-para-XHTML"
16024 \begin_layout Description
16025 \begin_inset Flex Code
16028 \begin_layout Plain Layout
16037 \begin_inset Flex Code
16040 \begin_layout Plain Layout
16049 \begin_inset space \thinspace{}
16053 \begin_inset Flex Code
16056 \begin_layout Plain Layout
16062 ] Indica si el flotante está ya definido en la clase de documento o si necesitam
16063 os cargar el paquete \SpecialChar LaTeX
16065 \begin_inset Flex Code
16068 \begin_layout Plain Layout
16074 para definirlo sobre la marcha.
16076 \begin_inset Flex Code
16079 \begin_layout Plain Layout
16085 , que significa: usar
16086 \begin_inset Flex Code
16089 \begin_layout Plain Layout
16097 \begin_inset Flex Code
16100 \begin_layout Plain Layout
16106 si el flotante ya está definido por la clase de documento \SpecialChar LaTeX
16110 \begin_layout Description
16111 \begin_inset Flex Code
16114 \begin_layout Plain Layout
16121 \begin_inset Flex Code
16124 \begin_layout Plain Layout
16131 \begin_inset Quotes erd
16135 \begin_inset Quotes erd
16138 ] El comando usado para generar una lista de flotantes de este tipo; debe
16139 omitirse el precedente `
16147 \begin_inset Flex Code
16150 \begin_layout Plain Layout
16156 es `false', puesto que no hay una forma estándar de generar este comando.
16158 \begin_inset Flex Code
16161 \begin_layout Plain Layout
16167 es `true', porque en este caso sí hay una forma estándar de definir el
16171 \begin_layout Description
16172 \begin_inset Flex Code
16175 \begin_layout Plain Layout
16182 \begin_inset Flex Code
16185 \begin_layout Plain Layout
16192 \begin_inset Quotes erd
16196 \begin_inset Quotes erd
16199 ] Un título para una lista de flotantes de este tipo (índice de figuras,
16200 tablas o lo que sea).
16201 Se usa para el nombre del recuadro en \SpecialChar LyX
16202 ; se pasa a \SpecialChar LaTeX
16203 para usarlo como título
16204 allí; y se usa como título en la salida.
16205 Será traducido al idioma del documento.
16208 \begin_layout Description
16209 \begin_inset Flex Code
16212 \begin_layout Plain Layout
16219 \begin_inset Flex Code
16222 \begin_layout Plain Layout
16229 \begin_inset Quotes erd
16233 \begin_inset Quotes erd
16236 ] Este argumento (opcional) determina si los flotantes de esta clase serán
16237 numerados dentro de alguna unidad de sección del documento.
16239 \begin_inset Flex Code
16242 \begin_layout Plain Layout
16249 \begin_inset Quotes fld
16253 \begin_inset Flex Code
16256 \begin_layout Plain Layout
16263 \begin_inset Quotes frd
16266 , los flotantes serán numerados dentro de los capítulos.
16269 \begin_layout Description
16270 \begin_inset Flex Code
16273 \begin_layout Plain Layout
16280 \begin_inset Flex Code
16283 \begin_layout Plain Layout
16290 \begin_inset Quotes erd
16294 \begin_inset Quotes erd
16297 ] La colocación por omisión para la clase dada de flotantes.
16299 \begin_inset Flex Code
16302 \begin_layout Plain Layout
16308 deberá ser un estándar \SpecialChar LaTeX
16310 \begin_inset Flex Code
16313 \begin_layout Plain Layout
16320 \begin_inset Flex Code
16323 \begin_layout Plain Layout
16330 \begin_inset Flex Code
16333 \begin_layout Plain Layout
16340 \begin_inset Flex Code
16343 \begin_layout Plain Layout
16350 \begin_inset Quotes fld
16354 \begin_inset Quotes frd
16358 \begin_inset Quotes fld
16362 \begin_inset Quotes frd
16366 \begin_inset Quotes fld
16370 \begin_inset Quotes frd
16374 \begin_inset Quotes fld
16378 \begin_inset Quotes frd
16381 (aquí), respectivamente.
16385 \begin_layout Plain Layout
16386 Anotar que el orden de estas letras en la cadena es irrelevante, como en
16393 Por encima de éstos hay un nuevo tipo,
16394 \begin_inset Flex Code
16397 \begin_layout Plain Layout
16403 , que no corresponde realmente a un flotante, ya que se refiere a: ponerlo
16405 \begin_inset Quotes fld
16409 \begin_inset Quotes frd
16412 , y en ninguna otra parte.
16413 Anotar que, sin embargo, el colocador
16414 \begin_inset Flex Code
16417 \begin_layout Plain Layout
16423 es especial y, debido a detalles de implementación, no puede usarse en
16424 tipos de flotantes no empotrados.
16425 Si no comprendes lo que esto significa, usa solo
16426 \begin_inset Quotes fld
16430 \begin_inset Flex Code
16433 \begin_layout Plain Layout
16440 \begin_inset Quotes frd
16446 \begin_layout Description
16447 \begin_inset Flex Code
16450 \begin_layout Plain Layout
16457 \begin_inset Flex Code
16460 \begin_layout Plain Layout
16466 ] El prefijo a usar cuando se crean etiquetas referidas a flotantes de este
16468 Esto permite el uso de referencias con formato.
16469 Puedes quitar cualquier
16470 \begin_inset Flex Code
16473 \begin_layout Plain Layout
16479 puesto por un estilo copiado usando el valor especial
16480 \begin_inset Quotes eld
16484 \begin_inset Quotes erd
16487 , todas mayúsculas.
16490 \begin_layout Description
16491 \begin_inset Flex Code
16494 \begin_layout Plain Layout
16501 \begin_inset Flex Code
16504 \begin_layout Plain Layout
16511 \begin_inset Quotes erd
16515 \begin_inset Quotes erd
16518 ] El estilo usado cuando se define el flotante con
16519 \begin_inset Flex Code
16522 \begin_layout Plain Layout
16533 \begin_layout Description
16534 \begin_inset Flex Code
16537 \begin_layout Plain Layout
16544 \begin_inset Flex Code
16547 \begin_layout Plain Layout
16554 \begin_inset Quotes erd
16558 \begin_inset Quotes erd
16562 \begin_inset Quotes fld
16566 \begin_inset Quotes frd
16569 de la nueva clase de flotante, como programa o algoritmo.
16570 Después del apropiado
16571 \begin_inset Flex Code
16574 \begin_layout Plain Layout
16582 , comandos tales como
16583 \begin_inset Flex Code
16586 \begin_layout Plain Layout
16595 \begin_inset Flex Code
16598 \begin_layout Plain Layout
16606 estarán disponibles.
16609 \begin_layout Description
16610 \begin_inset Flex Code
16613 \begin_layout Plain Layout
16620 \begin_inset Flex Code
16623 \begin_layout Plain Layout
16630 \begin_inset space \thinspace{}
16634 \begin_inset Flex Code
16637 \begin_layout Plain Layout
16645 ] Nos dice si este flotante se define usando el paquete \SpecialChar LaTeX
16647 \begin_inset Flex Code
16650 \begin_layout Plain Layout
16656 , bien por el archivo de clase o por un paquete, o bien sobre la marcha
16657 por el propio \SpecialChar LyX
16661 \begin_layout Standard
16662 Anotar que al definir un flotante con tipo
16663 \begin_inset Flex Code
16666 \begin_layout Plain Layout
16674 automáticamente se define el correspondiente contador con nombre
16675 \begin_inset Flex Code
16678 \begin_layout Plain Layout
16689 \begin_layout Subsection
16690 Recuadros flexibles y formato del recuadro
16691 \begin_inset CommandInset label
16693 name "subsec:estilo-del-texto"
16700 \begin_layout Standard
16701 Los recuadros flexibles son de tres tipos:
16704 \begin_layout Itemize
16706 \begin_inset Flex Code
16709 \begin_layout Plain Layout
16715 ): estos definen diseños semánticos correspondientes a comandos \SpecialChar LaTeX
16717 \begin_inset Flex Code
16720 \begin_layout Plain Layout
16729 \begin_inset Flex Code
16732 \begin_layout Plain Layout
16743 \begin_layout Itemize
16744 definido por el usuario (
16745 \begin_inset Flex Code
16748 \begin_layout Plain Layout
16754 ): estos se pueden usar para definir recuadros plegables personalizados,
16755 del tipo de los de código \SpecialChar TeX
16756 , notas al pie y similares.
16757 Un ejemplo obvio es un recuadro de nota final, definido en el módulo del
16759 \begin_inset Flex Code
16762 \begin_layout Plain Layout
16771 \begin_layout Itemize
16773 \begin_inset Flex Code
16776 \begin_layout Plain Layout
16782 ): para usar con las clases DocBook.
16785 \begin_layout Standard
16786 Los recuadros flexibles se definen usando la etiqueta
16787 \begin_inset Flex Code
16790 \begin_layout Plain Layout
16796 , que se explicará en un momento.
16799 \begin_layout Standard
16801 \begin_inset Flex Code
16804 \begin_layout Plain Layout
16810 también sirve para otra función: puede utilizarse para personalizar el
16811 diseño general de muchos tipos diferentes de recuadros.
16813 \begin_inset Flex Code
16816 \begin_layout Plain Layout
16822 permite personalizar los parámetros de diseño de notas al pie, notas al
16823 margen, notas, recuadros de código \SpecialChar TeX
16824 (ERT), ramas, listados de programa,
16825 índices, cuadros, tablas, algoritmos, URL, y
16829 , así como para definir recuadros flexibles.
16832 \begin_layout Standard
16834 \begin_inset Flex Code
16837 \begin_layout Plain Layout
16843 debe comenzar con una línea de la forma:
16846 \begin_layout LyX-Code
16850 \begin_layout Standard
16852 \begin_inset Flex Code
16855 \begin_layout Plain Layout
16861 indica el recuadro cuyo formato se va a definir, y hay quatros casos.
16864 \begin_layout Enumerate
16865 Se va a modificar el formato para un tipo de recuadro preexistente.
16867 \begin_inset Flex Code
16870 \begin_layout Plain Layout
16876 puede ser uno cualquiera de los siguientes:
16877 \begin_inset Flex Code
16880 \begin_layout Plain Layout
16887 \begin_inset Flex Code
16890 \begin_layout Plain Layout
16897 \begin_inset Flex Code
16900 \begin_layout Plain Layout
16907 \begin_inset Flex Code
16910 \begin_layout Plain Layout
16917 \begin_inset Flex Code
16920 \begin_layout Plain Layout
16927 \begin_inset Flex Code
16930 \begin_layout Plain Layout
16937 \begin_inset Flex Code
16940 \begin_layout Plain Layout
16947 \begin_inset Flex Code
16950 \begin_layout Plain Layout
16957 \begin_inset Flex Code
16960 \begin_layout Plain Layout
16967 \begin_inset Flex Code
16970 \begin_layout Plain Layout
16977 \begin_inset Flex Code
16980 \begin_layout Plain Layout
16987 \begin_inset Flex Code
16990 \begin_layout Plain Layout
16997 \begin_inset Flex Code
17000 \begin_layout Plain Layout
17007 \begin_inset Flex Code
17010 \begin_layout Plain Layout
17017 \begin_inset Flex Code
17020 \begin_layout Plain Layout
17027 \begin_inset Flex Code
17030 \begin_layout Plain Layout
17037 \begin_inset Flex Code
17040 \begin_layout Plain Layout
17047 \begin_inset Flex Code
17050 \begin_layout Plain Layout
17057 \begin_inset Flex Code
17060 \begin_layout Plain Layout
17067 \begin_inset Flex Code
17070 \begin_layout Plain Layout
17080 \begin_layout Enumerate
17081 Se va a definir el formato para un recuadro flexible.
17083 \begin_inset Flex Code
17086 \begin_layout Plain Layout
17092 puede ser cualquier identificador válido no utilizado por un recuadro preexiste
17094 El identificador puede incluir espacios, pero en este caso debe ponerse
17095 todo entre comillas.
17096 Puede además incluir un identificador de nombre del espacio, precedido
17097 de dos puntos, como
17098 \begin_inset Quotes eld
17102 \begin_inset Flex Code
17105 \begin_layout Plain Layout
17112 \begin_inset Quotes erd
17116 Anotar que la definición de un flexible debe incluir
17121 \begin_inset Flex Code
17124 \begin_layout Plain Layout
17134 \begin_layout Enumerate
17137 The layout for user specific branch is being defined.
17141 \begin_inset Flex Code
17144 \begin_layout Plain Layout
17152 must be of the form
17155 \begin_inset Quotes fld
17159 \begin_inset Flex Code
17162 \begin_layout Plain Layout
17169 \begin_inset Quotes frd
17177 \begin_inset Flex Code
17180 \begin_layout Plain Layout
17188 may be be any valid identifier of branch defined in user's document.
17189 The identifier may include spaces, but in that case the whole thing must
17190 be wrapped in quotes.
17191 The main purpose of this feature is to allow \SpecialChar LaTeX
17192 wrapping around specific
17193 branches as user needs.
17196 \begin_layout Enumerate
17199 The layout of a user (or class) specific caption is being defined.
17203 \begin_inset Flex Code
17206 \begin_layout Plain Layout
17214 must be of the form
17217 \begin_inset Quotes fld
17221 \begin_inset Flex Code
17224 \begin_layout Plain Layout
17231 \begin_inset Quotes frd
17239 \begin_inset Flex Code
17242 \begin_layout Plain Layout
17250 specifies the name of the caption as it appears in the menu.
17251 Have a look at the standard caption
17254 \begin_inset Flex Code
17257 \begin_layout Plain Layout
17265 the specific captions of the KOMA-Script classes (
17266 \begin_inset Flex Code
17269 \begin_layout Plain Layout
17278 \begin_inset Flex Code
17281 \begin_layout Plain Layout
17292 \begin_inset space ~
17299 \begin_inset Flex Code
17302 \begin_layout Plain Layout
17313 \begin_layout Standard
17315 \begin_inset Flex Code
17318 \begin_layout Plain Layout
17324 puede contener las siguientes entradas:
17327 \begin_layout Description
17328 \begin_inset Flex Code
17331 \begin_layout Plain Layout
17338 \begin_inset Flex Code
17341 \begin_layout Plain Layout
17349 Defines argument number of a command\SpecialChar breakableslash
17350 environment associated with the current
17352 The definition must end with
17353 \begin_inset Flex Code
17356 \begin_layout Plain Layout
17368 \begin_inset CommandInset ref
17370 reference "subsec:Estilos-de-párrafo"
17379 \begin_layout Description
17380 \begin_inset Flex Code
17383 \begin_layout Plain Layout
17391 Preamble for changing language commands
17394 \begin_inset CommandInset ref
17396 reference "subsec:I18n"
17403 \begin_layout Description
17404 \begin_inset Flex Code
17407 \begin_layout Plain Layout
17414 \begin_inset Flex Code
17417 \begin_layout Plain Layout
17423 ] El color para el fondo del recuadro.
17425 \begin_inset CommandInset ref
17427 reference "chap:Names-of-colors"
17433 for a list of the available color names.
17436 \begin_layout Description
17437 \begin_inset Flex Code
17440 \begin_layout Plain Layout
17447 \begin_inset Flex Code
17450 \begin_layout Plain Layout
17461 \begin_inset space \thinspace{}
17467 \begin_inset Flex Code
17470 \begin_layout Plain Layout
17476 ] Si usar no el contenido del recuadro como etiqueta del mismo cuando el
17477 recuadro se cierra.
17478 Por omisión, falso.
17481 \begin_layout Description
17482 \begin_inset Flex Code
17485 \begin_layout Plain Layout
17492 \begin_inset Flex Code
17495 \begin_layout Plain Layout
17503 As with paragraph styles
17506 \begin_inset CommandInset ref
17508 reference "subsec:Estilos-de-párrafo"
17515 Note that you need to specify the complete type, e.
17516 \begin_inset space \thinspace{}
17522 \begin_inset space ~
17526 \begin_inset Flex Code
17529 \begin_layout Plain Layout
17530 CopyStyle Flex:<nombre>
17538 \begin_layout Description
17539 \begin_inset Flex Code
17542 \begin_layout Plain Layout
17549 \begin_inset Flex Code
17552 \begin_layout Plain Layout
17563 \begin_inset space \thinspace{}
17569 \begin_inset Flex Code
17572 \begin_layout Plain Layout
17578 ] Indica si el usuario puede emplear el diálogo Configuración del párrafo
17579 para modificar el párrafo.
17582 \begin_layout Description
17583 \begin_inset Flex Code
17586 \begin_layout Plain Layout
17593 \begin_inset Flex Code
17596 \begin_layout Plain Layout
17603 \begin_inset Flex Code
17606 \begin_layout Plain Layout
17613 \begin_inset Flex Code
17616 \begin_layout Plain Layout
17622 , que describe el estilo de presentación para el marco y los botones del
17624 Las notas al pie usan generalmente
17625 \begin_inset Flex Code
17628 \begin_layout Plain Layout
17634 , los recuadros de código \SpecialChar TeX
17636 \begin_inset Flex Code
17639 \begin_layout Plain Layout
17645 , y los de estilos del texto
17646 \begin_inset Flex Code
17649 \begin_layout Plain Layout
17658 \begin_layout Description
17659 \begin_inset Flex Code
17662 \begin_layout Plain Layout
17669 \begin_inset Flex Code
17672 \begin_layout Plain Layout
17681 \begin_inset space \thinspace{}
17687 \begin_inset Flex Code
17690 \begin_layout Plain Layout
17699 \begin_inset Flex Code
17702 \begin_layout Plain Layout
17709 \begin_inset Flex Code
17712 \begin_layout Plain Layout
17719 Indica si el entorno se ubicará en su propio espacio en la salida o si
17720 aparecerá en línea con el texto circundante.
17721 Si se pone falso, se supone que el entorno \SpecialChar LaTeX
17722 ignora los espacios en blanco
17723 (incluyendo un carácter de línea nueva) después de las etiquetas
17724 \begin_inset Flex Code
17727 \begin_layout Plain Layout
17740 \begin_inset Flex Code
17743 \begin_layout Plain Layout
17756 Por omisión, verdadero.
17759 \begin_layout Description
17760 \begin_inset Flex Code
17763 \begin_layout Plain Layout
17769 Requerido al final de las declaraciones de formato del recuadro
17770 \begin_inset Flex Code
17773 \begin_layout Plain Layout
17782 \begin_layout Description
17783 \begin_inset Flex Code
17786 \begin_layout Plain Layout
17792 La tipografía usada tanto para el cuerpo del texto como para la etiqueta.
17794 \begin_inset CommandInset ref
17796 reference "subsec:Tipografías"
17801 Anotar que al definir esta tipografía se define automáticamente el mismo
17802 valor para la etiqueta,
17803 \begin_inset Flex Code
17806 \begin_layout Plain Layout
17812 , así que define aquella primero y después define
17813 \begin_inset Flex Code
17816 \begin_layout Plain Layout
17822 si las quieres diferentes.
17825 \begin_layout Description
17826 \begin_inset Flex Code
17829 \begin_layout Plain Layout
17830 FixedWidthPreambleEncoding
17836 \begin_inset Flex Code
17839 \begin_layout Plain Layout
17848 \begin_inset space \thinspace{}
17852 \begin_inset Flex Code
17855 \begin_layout Plain Layout
17863 Force a fixed width encoding for the translated contents of
17864 \begin_inset Flex Code
17867 \begin_layout Plain Layout
17876 \begin_inset Flex Code
17879 \begin_layout Plain Layout
17887 code generated by this layout.
17888 This is needed for special \SpecialChar LaTeX
17893 that do not work with variable width encodings such as
17898 This setting is ignored if fully Unicode aware \SpecialChar LaTeX
17902 or Lua\SpecialChar TeX
17908 \begin_layout Description
17909 \begin_inset Flex Code
17912 \begin_layout Plain Layout
17913 ForceLocalFontSwitch
17919 \begin_inset Flex Code
17922 \begin_layout Plain Layout
17931 \begin_inset space \thinspace{}
17935 \begin_inset Flex Code
17938 \begin_layout Plain Layout
17946 When using babel, always use a local font switch (
17947 \begin_inset Flex Code
17950 \begin_layout Plain Layout
17960 ), never a global one (such as
17963 \begin_inset Flex Code
17966 \begin_layout Plain Layout
17977 \begin_layout Description
17978 \begin_inset Flex Code
17981 \begin_layout Plain Layout
17988 \begin_inset Flex Code
17991 \begin_layout Plain Layout
18002 \begin_inset space \thinspace{}
18008 \begin_inset Flex Code
18011 \begin_layout Plain Layout
18018 \begin_inset Quotes fld
18022 \begin_inset Quotes frd
18025 que genera salida Izquierda-Derecha (latin), p.
18026 \begin_inset space \thinspace{}
18030 \begin_inset space \space{}
18033 en código \SpecialChar TeX
18038 \begin_layout Description
18039 \begin_inset Flex Code
18042 \begin_layout Plain Layout
18049 \begin_inset Flex Code
18052 \begin_layout Plain Layout
18061 \begin_inset space \thinspace{}
18065 \begin_inset Flex Code
18068 \begin_layout Plain Layout
18076 Force a a line break in the \SpecialChar LaTeX
18077 output before the inset starts and after the
18079 This assures the inset itself is output on its own lines, for parsing purposes.
18082 \begin_layout Description
18083 \begin_inset Flex Code
18086 \begin_layout Plain Layout
18093 \begin_inset Flex Code
18096 \begin_layout Plain Layout
18107 \begin_inset space \thinspace{}
18113 \begin_inset Flex Code
18116 \begin_layout Plain Layout
18122 ] Indica si debería usarse
18123 \begin_inset Flex Code
18126 \begin_layout Plain Layout
18132 o, por el contrario el usuario puede cambiar el estilo de párrafo del recuadro.
18135 \begin_layout Description
18136 \begin_inset Flex Code
18139 \begin_layout Plain Layout
18148 \begin_inset Flex Code
18151 \begin_layout Plain Layout
18162 \begin_inset space \thinspace{}
18168 \begin_inset Flex Code
18171 \begin_layout Plain Layout
18179 As with paragraph style
18182 \begin_inset CommandInset ref
18184 reference "subsec:Estilos-de-párrafo"
18191 \begin_layout Description
18192 \begin_inset Flex Code
18195 \begin_layout Plain Layout
18201 Controlan la salida XHTML.
18203 \begin_inset CommandInset ref
18205 reference "sec:Etiquetas-para-XHTML"
18212 \begin_layout Description
18213 \begin_inset Flex Code
18216 \begin_layout Plain Layout
18223 \begin_inset Flex Code
18226 \begin_layout Plain Layout
18237 \begin_inset space \thinspace{}
18243 \begin_inset Flex Code
18246 \begin_layout Plain Layout
18252 ] Incluye o no el contenido de este inset en la cadena generada para el
18253 panel 'Navegador de contorno'.
18254 El no sería, por ejemplo, para que el contenido de una nota al pie en un
18255 encabezado de sección no aparezca en el índice que se despliega en el navegador
18256 de contorno, sin embargo, normalmente sí se incluiría el contenido de un
18257 estilo de carácter.
18258 Predeterminado es false: no incluir.
18261 \begin_layout Description
18262 \begin_inset Flex Code
18265 \begin_layout Plain Layout
18274 \begin_inset Flex Code
18277 \begin_layout Plain Layout
18290 \begin_inset space \thinspace{}
18296 \begin_inset Flex Code
18299 \begin_layout Plain Layout
18307 As with paragraph styles
18310 \begin_inset CommandInset ref
18312 reference "subsec:Estilos-de-párrafo"
18319 \begin_layout Description
18320 \begin_inset Flex Code
18323 \begin_layout Plain Layout
18329 La tipografía para la etiqueta.
18331 \begin_inset CommandInset ref
18333 reference "subsec:Tipografías"
18338 Anotar que esta definición nunca puede aparecer antes de
18339 \begin_inset Flex Code
18342 \begin_layout Plain Layout
18348 , para que sea efectiva.
18351 \begin_layout Description
18352 \begin_inset Flex Code
18355 \begin_layout Plain Layout
18362 \begin_inset Flex Code
18365 \begin_layout Plain Layout
18372 \begin_inset Quotes erd
18376 \begin_inset Quotes erd
18379 ] Lo que se mostrará sobre el botón u otra parte como etiqueta del recuadro.
18380 Algunos tipos de recuadro (
18381 \begin_inset Flex Code
18384 \begin_layout Plain Layout
18385 código \SpecialChar TeX
18392 \begin_inset Flex Code
18395 \begin_layout Plain Layout
18401 ) modifican esta etiqueta sobre la marcha.
18404 \begin_layout Description
18405 \begin_inset Flex Code
18408 \begin_layout Plain Layout
18416 Language dependent preamble
18419 \begin_inset CommandInset ref
18421 reference "subsec:I18n"
18428 \begin_layout Description
18429 \begin_inset Flex Code
18432 \begin_layout Plain Layout
18439 \begin_inset Flex Code
18442 \begin_layout Plain Layout
18448 ] El nombre \SpecialChar LaTeX
18449 correspondiente al asunto.
18450 Cualquier nombre de entorno o de comando.
18453 \begin_layout Description
18454 \begin_inset Flex Code
18457 \begin_layout Plain Layout
18464 \begin_inset Flex Code
18467 \begin_layout Plain Layout
18473 ] El parámetro opcional para el correspondiente
18474 \begin_inset Flex Code
18477 \begin_layout Plain Layout
18483 , incluyendo posibles pares de corchetes,
18484 \begin_inset Flex Code
18487 \begin_layout Plain Layout
18494 Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
18498 \begin_inset Flex Code
18501 \begin_layout Plain Layout
18509 for customizable parameters).
18510 It will be output as is after all \SpecialChar LaTeX
18514 \begin_inset Flex Code
18517 \begin_layout Plain Layout
18526 \begin_layout Description
18527 \begin_inset Flex Code
18530 \begin_layout Plain Layout
18537 \begin_inset Flex Code
18540 \begin_layout Plain Layout
18541 Command, Environment, None
18548 How the style should be translated into \SpecialChar LaTeX
18553 \begin_layout Plain Layout
18556 \begin_inset Flex Code
18559 \begin_layout Plain Layout
18567 is perhaps a bit misleading, since these rules apply to SGML classes, too.
18568 Visit the SGML class files for specific examples.
18574 \begin_inset Separator parbreak
18581 \begin_layout Description
18582 \begin_inset Flex Code
18585 \begin_layout Plain Layout
18593 means nothing special
18596 \begin_layout Description
18597 \begin_inset Flex Code
18600 \begin_layout Plain Layout
18609 \begin_inset Flex Code
18612 \begin_layout Plain Layout
18621 {\SpecialChar ldots
18630 \begin_layout Description
18631 \begin_inset Flex Code
18634 \begin_layout Plain Layout
18643 \begin_inset Flex Code
18646 \begin_layout Plain Layout
18655 }\SpecialChar ldots
18670 \begin_layout Description
18674 \begin_layout Standard
18677 Putting the last few things together, the \SpecialChar LaTeX
18678 output will be either:
18681 \begin_layout LyX-Code
18684 LatexName[LatexParam]{\SpecialChar ldots
18688 \begin_layout Standard
18692 \begin_layout LyX-Code
18695 begin{LatexName}[LatexParam] \SpecialChar ldots
18701 \begin_layout Standard
18704 depending upon the \SpecialChar LaTeX
18709 \begin_layout Description
18710 \begin_inset Flex Code
18713 \begin_layout Plain Layout
18720 \begin_inset Flex Code
18723 \begin_layout Plain Layout
18731 A string that is put at the beginning of the layout content.
18732 A line break in the output can be indicated by
18735 \begin_inset Flex Code
18738 \begin_layout Plain Layout
18747 \begin_layout Description
18748 \begin_inset Flex Code
18751 \begin_layout Plain Layout
18758 \begin_inset Flex Code
18761 \begin_layout Plain Layout
18768 \begin_inset Flex Code
18771 \begin_layout Plain Layout
18778 \begin_inset Flex Code
18781 \begin_layout Plain Layout
18788 \begin_inset Flex Code
18791 \begin_layout Plain Layout
18797 (indicando una definición ficticia que finaliza definiciones de estilos
18799 Esta entrada es requerida y solo es significativa para recuadros flexibles.
18800 Entre otras cosas, determina en qué menús aparecerá este recuadro.
18802 \begin_inset Flex Code
18805 \begin_layout Plain Layout
18813 \begin_inset Flex Code
18816 \begin_layout Plain Layout
18823 \begin_inset Flex Code
18826 \begin_layout Plain Layout
18834 \begin_inset Flex Code
18837 \begin_layout Plain Layout
18843 se puede poner como verdadero para recuadros de estilos
18844 \begin_inset Flex Code
18847 \begin_layout Plain Layout
18858 \begin_inset Flex Code
18861 \begin_layout Plain Layout
18871 \begin_layout Description
18872 \begin_inset Flex Code
18875 \begin_layout Plain Layout
18882 \begin_inset Flex Code
18885 \begin_layout Plain Layout
18896 \begin_inset space \thinspace{}
18902 \begin_inset Flex Code
18905 \begin_layout Plain Layout
18911 ] Indica si se permiten múltiples párrafos en este recuadro.
18912 Además establecerá para CustomPars el mismo valor y para ForcePlain el
18914 Estos pueden modificarse a otros valores si se usan
18921 \begin_layout Description
18922 \begin_inset Flex Code
18925 \begin_layout Plain Layout
18932 \begin_inset Flex Code
18935 \begin_layout Plain Layout
18946 \begin_inset space \thinspace{}
18952 \begin_inset Flex Code
18955 \begin_layout Plain Layout
18961 ] Si los comandos frágiles deben o no ser
18962 \begin_inset Flex Code
18965 \begin_layout Plain Layout
18973 'ed en este recuadro.
18978 si el comando mismo debe ser protegido
18983 \begin_layout Description
18984 \begin_inset Flex Code
18987 \begin_layout Plain Layout
18994 \begin_inset Flex Code
18997 \begin_layout Plain Layout
19005 Deletes an existing
19006 \begin_inset Flex Code
19009 \begin_layout Plain Layout
19020 \begin_layout Description
19021 \begin_inset Flex Code
19024 \begin_layout Plain Layout
19031 \begin_inset Flex Code
19034 \begin_layout Plain Layout
19043 \begin_inset Flex Code
19046 \begin_layout Plain Layout
19054 that has replaced this
19055 \begin_inset Flex Code
19058 \begin_layout Plain Layout
19067 This is used to rename an
19068 \begin_inset Flex Code
19071 \begin_layout Plain Layout
19079 , while keeping backward compatibility.
19082 \begin_layout Description
19083 \begin_inset Flex Code
19086 \begin_layout Plain Layout
19093 \begin_inset Flex Code
19096 \begin_layout Plain Layout
19107 \begin_inset space \thinspace{}
19113 \begin_inset Flex Code
19116 \begin_layout Plain Layout
19122 ] Igual que para estilos de párrafo, véase
19123 \begin_inset CommandInset ref
19125 reference "subsec:Estilos-de-párrafo"
19130 Por omisión es falso.
19133 \begin_layout Description
19134 \begin_inset Flex Code
19137 \begin_layout Plain Layout
19146 \begin_inset Flex Code
19149 \begin_layout Plain Layout
19162 \begin_inset space \thinspace{}
19168 \begin_inset Flex Code
19171 \begin_layout Plain Layout
19177 ] Igual que para estilos de párrafo, véase
19178 \begin_inset CommandInset ref
19180 reference "subsec:Estilos-de-párrafo"
19187 \begin_layout Description
19188 \begin_inset Flex Code
19191 \begin_layout Plain Layout
19197 Igual que para estilos de párrafo, véase
19198 \begin_inset CommandInset ref
19200 reference "subsec:Estilos-de-párrafo"
19207 \begin_layout Description
19208 \begin_inset Flex Code
19211 \begin_layout Plain Layout
19218 \begin_inset Flex Code
19221 \begin_layout Plain Layout
19227 ] Prefijo a usar cuando se crean etiquetas que se refieren a recuadros de
19229 Esto permite el uso de referencias con formato.
19232 \begin_layout Description
19233 \begin_inset Flex Code
19236 \begin_layout Plain Layout
19243 \begin_inset Flex Code
19246 \begin_layout Plain Layout
19252 ] Igual que para estilos de párrafo, véase
19253 \begin_inset CommandInset ref
19255 reference "subsec:Estilos-de-párrafo"
19262 \begin_layout Description
19263 \begin_inset Flex Code
19266 \begin_layout Plain Layout
19273 \begin_inset Flex Code
19276 \begin_layout Plain Layout
19285 \begin_inset space \thinspace{}
19289 \begin_inset Flex Code
19292 \begin_layout Plain Layout
19300 Resets the \SpecialChar LaTeX
19301 arguments of this layout (as defined via the
19302 \begin_inset Flex Code
19305 \begin_layout Plain Layout
19314 This is useful if you have copied a style via
19315 \begin_inset Flex Code
19318 \begin_layout Plain Layout
19326 , but you do not want to inherit its (required and optional) arguments.
19329 \begin_layout Description
19330 \begin_inset Flex Code
19333 \begin_layout Plain Layout
19340 \begin_inset Flex Code
19343 \begin_layout Plain Layout
19352 \begin_inset space \thinspace{}
19358 \begin_inset Flex Code
19361 \begin_layout Plain Layout
19369 ] Si este recuadro debería usar la tipografía de su entorno o la suya propia.
19370 Por omisión es la tipografía de su entorno.
19373 \begin_layout Description
19374 \begin_inset Flex Code
19377 \begin_layout Plain Layout
19384 \begin_inset Flex Code
19387 \begin_layout Plain Layout
19395 A string that is put at the end of the layout content.
19396 A line break in the output can be indicated by
19399 \begin_inset Flex Code
19402 \begin_layout Plain Layout
19411 \begin_layout Description
19412 \begin_inset Flex Code
19415 \begin_layout Plain Layout
19422 \begin_inset Flex Code
19425 \begin_layout Plain Layout
19434 \begin_inset space \thinspace{}
19440 \begin_inset Flex Code
19443 \begin_layout Plain Layout
19451 ] Revisar la ortografía del contenido del recuadro.
19455 \begin_layout Subsection
19457 \begin_inset CommandInset label
19459 name "subsec:Contadores"
19466 \begin_layout Standard
19467 Es necesario definir los contadores (
19468 \begin_inset Flex Noun
19471 \begin_layout Plain Layout
19478 \begin_inset Flex Noun
19481 \begin_layout Plain Layout
19487 , \SpecialChar ldots
19488 ) en la propia clase de texto.
19489 Los contadores estándar están definidos en el archivo
19490 \begin_inset Flex Code
19493 \begin_layout Plain Layout
19499 , de modo que no tienes más que añadir
19502 \begin_layout LyX-Code
19503 Input stdcounters.inc
19506 \begin_layout Standard
19507 en el archivo de formato para que funcionen.
19508 Pero si quieres puedes definir contadores personalizados.
19509 La declaración de un contador debe comenzar con:
19512 \begin_layout LyX-Code
19516 \begin_layout Standard
19518 \begin_inset Flex Code
19521 \begin_layout Plain Layout
19527 es el nombre del contador.
19528 Hay que terminar con
19529 \begin_inset Flex Code
19532 \begin_layout Plain Layout
19541 \begin_layout Standard
19542 Se pueden usar además los parámetros siguientes:
19545 \begin_layout Description
19546 \begin_inset Flex Code
19549 \begin_layout Plain Layout
19556 \begin_inset Flex Code
19559 \begin_layout Plain Layout
19567 Sets the initial value for the counter, to which it will be reset whenever
19569 Normally, one will want the default, 1.
19572 \begin_layout Description
19573 \begin_inset Flex Code
19576 \begin_layout Plain Layout
19583 \begin_inset Flex Code
19586 \begin_layout Plain Layout
19592 =""] Si se define esta cadena, indica cómo se muestra el contador.
19593 Al establecer este valor también se da el mismo valor a
19594 \begin_inset Flex Code
19597 \begin_layout Plain Layout
19598 LabelStringAppendix
19604 Para los valores de 'string' se pueden usar las estructuras siguientes:
19605 \begin_inset Separator parbreak
19612 \begin_layout Itemize
19613 \begin_inset Flex Code
19616 \begin_layout Plain Layout
19624 será reemplazado por la expansión de
19625 \begin_inset Flex Code
19628 \begin_layout Plain Layout
19635 \begin_inset Newline linebreak
19639 \begin_inset Flex Code
19642 \begin_layout Plain Layout
19643 LabelStringAppendix
19649 \begin_inset Flex Code
19652 \begin_layout Plain Layout
19662 \begin_layout Itemize
19663 los valores del contador pueden expresarse usando macros tipo \SpecialChar LaTeX
19665 \begin_inset Flex Code
19668 \begin_layout Plain Layout
19685 \begin_inset Flex Code
19688 \begin_layout Plain Layout
19697 \begin_inset Flex Code
19700 \begin_layout Plain Layout
19706 : 1, 2, 3,\SpecialChar ldots
19708 \begin_inset Flex Code
19711 \begin_layout Plain Layout
19717 para minúsculas: a, b, c, \SpecialChar ldots
19719 \begin_inset Flex Code
19722 \begin_layout Plain Layout
19728 para mayúsculas: A, B, C, \SpecialChar ldots
19730 \begin_inset Flex Code
19733 \begin_layout Plain Layout
19739 números romanos en minúscula: i, ii, iii, \SpecialChar ldots
19744 \begin_layout Plain Layout
19750 \begin_inset space \thinspace{}
19758 \begin_inset Flex Code
19761 \begin_layout Plain Layout
19776 \begin_inset Flex Code
19779 \begin_layout Plain Layout
19793 los transforma automáticamente en versalitas
19798 , ya que los romanos en minúscula no se usan en español.
19805 \begin_inset Flex Code
19808 \begin_layout Plain Layout
19814 para romanos en mayúsculas: I, II, III.
19818 \begin_layout Standard
19820 \begin_inset Flex Code
19823 \begin_layout Plain Layout
19829 , se construye un valor por omisión así: si el contador tiene un contador
19831 \begin_inset Flex Code
19834 \begin_layout Plain Layout
19841 \begin_inset Flex Code
19844 \begin_layout Plain Layout
19850 ), se usa la cadena
19851 \begin_inset Flex Code
19854 \begin_layout Plain Layout
19864 ; si no, se usa la cadena
19865 \begin_inset Flex Code
19868 \begin_layout Plain Layout
19879 \begin_layout Description
19880 \begin_inset Flex Code
19883 \begin_layout Plain Layout
19884 LabelStringAppendix
19890 \begin_inset Flex Code
19893 \begin_layout Plain Layout
19900 \begin_inset Flex Code
19903 \begin_layout Plain Layout
19909 , pero para el apéndice.
19912 \begin_layout Description
19913 \begin_inset Flex Code
19916 \begin_layout Plain Layout
19923 \begin_inset Flex Code
19926 \begin_layout Plain Layout
19933 \begin_inset Quotes erd
19937 \begin_inset Quotes erd
19940 ] Un formato para usar con las referencias a este contador.
19941 Por ejemplo, podríamos querer las referencias a los números de sección
19943 \begin_inset Quotes fld
19947 \begin_inset space ~
19951 \begin_inset Quotes frd
19955 La cadena debería contener
19956 \begin_inset Quotes eld
19960 \begin_inset Quotes erd
19964 Esto será reemplazado por el número correspondiente del contador.
19965 Así pues, para secciones sería: Section ##.
19968 \begin_layout Description
19969 \begin_inset Flex Code
19972 \begin_layout Plain Layout
19979 \begin_inset Flex Code
19982 \begin_layout Plain Layout
19988 =""] Si esto se establece para el nombre de otro contador, el presente contador
19989 se reiniciará cada vez que el otro aumente.
19991 \begin_inset Flex Code
19994 \begin_layout Plain Layout
20000 se numera dentro de
20001 \begin_inset Flex Code
20004 \begin_layout Plain Layout
20013 \begin_layout Subsection
20014 Descripción de las tipografías
20015 \begin_inset CommandInset label
20017 name "subsec:Tipografías"
20024 \begin_layout Standard
20025 Una descripción de una tipografía se ve como:
20028 \begin_layout LyX-Code
20042 \begin_layout LyX-Code
20046 \begin_layout LyX-Code
20050 \begin_layout Standard
20051 Están disponibles los comandos siguientes:
20054 \begin_layout Description
20055 \begin_inset Flex Code
20058 \begin_layout Plain Layout
20065 \begin_inset Flex Code
20068 \begin_layout Plain Layout
20077 \begin_inset Flex Code
20080 \begin_layout Plain Layout
20087 \begin_inset Flex Code
20090 \begin_layout Plain Layout
20097 \begin_inset Flex Code
20100 \begin_layout Plain Layout
20107 \begin_inset Flex Code
20110 \begin_layout Plain Layout
20117 \begin_inset Flex Code
20120 \begin_layout Plain Layout
20127 \begin_inset Flex Code
20130 \begin_layout Plain Layout
20137 \begin_inset Flex Code
20140 \begin_layout Plain Layout
20147 \begin_inset Flex Code
20150 \begin_layout Plain Layout
20159 \begin_layout Description
20160 \begin_inset Flex Code
20163 \begin_layout Plain Layout
20172 \begin_inset Flex Code
20175 \begin_layout Plain Layout
20186 \begin_inset Flex Code
20189 \begin_layout Plain Layout
20196 \begin_inset Flex Code
20199 \begin_layout Plain Layout
20208 \begin_layout Description
20209 \begin_inset Flex Code
20212 \begin_layout Plain Layout
20219 \begin_inset Flex Code
20222 \begin_layout Plain Layout
20228 ] Son argumentos válidos:
20229 \begin_inset Flex Code
20232 \begin_layout Plain Layout
20239 \begin_inset Flex Code
20242 \begin_layout Plain Layout
20249 \begin_inset Flex Code
20252 \begin_layout Plain Layout
20259 \begin_inset Flex Code
20262 \begin_layout Plain Layout
20269 \begin_inset Flex Code
20272 \begin_layout Plain Layout
20279 \begin_inset Flex Code
20282 \begin_layout Plain Layout
20289 \begin_inset Flex Code
20292 \begin_layout Plain Layout
20299 \begin_inset Flex Code
20302 \begin_layout Plain Layout
20309 \begin_inset Flex Code
20312 \begin_layout Plain Layout
20319 \begin_inset Flex Code
20322 \begin_layout Plain Layout
20329 \begin_inset Flex Code
20332 \begin_layout Plain Layout
20339 \begin_inset Flex Code
20342 \begin_layout Plain Layout
20349 Cada uno de ellos activa o desactiva el atributo correspondiente.
20351 \begin_inset Flex Code
20354 \begin_layout Plain Layout
20361 \begin_inset Flex Code
20364 \begin_layout Plain Layout
20371 \begin_inset Newline newline
20374 Si esto último parece superfluo, recordemos que la configuración de tipografías
20375 para el presente contexto se hereda generalmente del contexto circundante.
20377 \begin_inset Flex Code
20380 \begin_layout Plain Layout
20386 desactivaría el énfasis que estaba vigente, digamos, en un entorno teorema.
20389 \begin_layout Description
20390 \begin_inset Flex Code
20393 \begin_layout Plain Layout
20402 \begin_inset Flex Code
20405 \begin_layout Plain Layout
20416 \begin_inset Flex Code
20419 \begin_layout Plain Layout
20428 \begin_layout Description
20429 \begin_inset Flex Code
20432 \begin_layout Plain Layout
20441 \begin_inset Flex Code
20444 \begin_layout Plain Layout
20455 \begin_inset Flex Code
20458 \begin_layout Plain Layout
20465 \begin_inset Flex Code
20468 \begin_layout Plain Layout
20475 \begin_inset Flex Code
20478 \begin_layout Plain Layout
20487 \begin_layout Description
20488 \begin_inset Flex Code
20491 \begin_layout Plain Layout
20498 \begin_inset Flex Code
20501 \begin_layout Plain Layout
20508 \begin_inset Flex Code
20511 \begin_layout Plain Layout
20518 \begin_inset Flex Code
20521 \begin_layout Plain Layout
20530 \begin_inset Flex Code
20533 \begin_layout Plain Layout
20540 \begin_inset Flex Code
20543 \begin_layout Plain Layout
20550 \begin_inset Flex Code
20553 \begin_layout Plain Layout
20560 \begin_inset Flex Code
20563 \begin_layout Plain Layout
20570 \begin_inset Flex Code
20573 \begin_layout Plain Layout
20582 \begin_layout Subsection
20583 Descripción del formato de cita
20584 \begin_inset CommandInset label
20586 name "subsec:Descripción-formato-cita"
20593 \begin_layout Standard
20595 \begin_inset Flex Code
20598 \begin_layout Plain Layout
20604 se usan para describir la forma en que debe mostrarse la información bibliográf
20605 ica, tanto en \SpecialChar LyX
20606 (en el diálogo de citas y en las ayudas emergentes, por ejemplo)
20607 como en la salida XHTML.
20608 El aspecto de unode estos bloques podría ser este:
20611 \begin_layout LyX-Code
20615 \begin_layout LyX-Code
20619 \begin_layout LyX-Code
20623 \begin_layout LyX-Code
20627 \begin_layout Standard
20628 Las líneas definen cómo se va a mostrar la información bibliográfica asociada
20629 con un artículo o libro, respectivamente, y tales definiciones se pueden
20630 dar para cualquier `tipo de entrada' que pudiera estar presente en un archivo
20631 Bib\SpecialChar TeX
20634 define un formato por omsión en el código fuente que se usará si no se
20635 da una definición específica.
20637 predefine varios formatos en el archivo
20638 \begin_inset Flex Code
20641 \begin_layout Plain Layout
20647 , que se incluye en la mayoría de las clases de documento de \SpecialChar LyX
20651 \begin_layout Standard
20652 Las definiciones usan un lenguaje simple que permite reemplazar las claves
20653 Bib\SpecialChar TeX
20655 Las claves deben encerrarse entre símbolos
20656 \begin_inset Flex Code
20659 \begin_layout Plain Layout
20666 \begin_inset space \thinspace{}
20670 \begin_inset Flex Code
20673 \begin_layout Plain Layout
20680 Así, una simple definición sería:
20683 \begin_layout LyX-Code
20685 \begin_inset Quotes eld
20689 \begin_inset Quotes erd
20695 \begin_layout Standard
20696 Esto imprimiría el autor, una coma, a continuación el título entre comillas
20697 y un punto para finalizar.
20700 \begin_layout Standard
20701 A veces querrás, por supuesto, imprimir una clave solo si existe.
20702 Esto puede hacerse mediante una construcción condicional tal como:
20703 \begin_inset Flex Code
20706 \begin_layout Plain Layout
20708 \begin_inset space ~
20716 , que quiere decir: si la clave
20717 \begin_inset Flex Code
20720 \begin_layout Plain Layout
20727 \begin_inset Quotes eld
20731 \begin_inset space ~
20735 \begin_inset Quotes erd
20738 seguido de la clave.
20739 También es posible tener una cláusula de otro modo en el condicional, como:
20740 \begin_inset Newline newline
20744 \begin_inset Flex Code
20747 \begin_layout Plain Layout
20748 {%author%[[%author%]][[%editor%, ed.]]}
20754 \begin_inset Newline newline
20758 \begin_inset Flex Code
20761 \begin_layout Plain Layout
20767 se imprime si existe; por otra parte, se imprime la clave
20768 \begin_inset Flex Code
20771 \begin_layout Plain Layout
20778 \begin_inset Quotes eld
20782 \begin_inset space ~
20786 \begin_inset Quotes erd
20790 Advierte que la clave se encierra entre signos
20791 \begin_inset Flex Code
20794 \begin_layout Plain Layout
20800 ; el condicional entero se encierra entre llaves; y las cláusulas condicional
20801 y por otra parte se ponen entre cobles corchetes,
20802 \begin_inset Quotes eld
20806 \begin_inset Flex Code
20809 \begin_layout Plain Layout
20816 \begin_inset Quotes eld
20820 \begin_inset Quotes eld
20824 \begin_inset Flex Code
20827 \begin_layout Plain Layout
20834 \begin_inset Quotes erd
20838 No debe haber espacios entre ninguno de ellos.
20841 \begin_layout Standard
20842 Hay otra pieza de sintaxis disponible en las definiciones, como esta:
20843 \begin_inset Flex Code
20846 \begin_layout Plain Layout
20853 Define una pieza de información para ser usada cuando creamos
20854 \begin_inset Quotes eld
20858 \begin_inset Quotes erd
20862 Obviamente, no queremos etiquetas HTML cuando escribimos texto sencillo,
20863 por tanto deben ponerse entre
20864 \begin_inset Quotes eld
20868 \begin_inset Quotes erd
20872 \begin_inset Quotes eld
20876 \begin_inset Quotes erd
20882 \begin_layout Standard
20883 Además, hay dos clases especiales de definiciones disponibles en un bloque
20885 \begin_inset Flex Code
20888 \begin_layout Plain Layout
20895 Un ejemplo de la primera sería:
20898 \begin_layout LyX-Code
20900 \begin_inset Quotes eld
20904 \begin_inset Quotes erd
20910 \begin_layout Standard
20911 Esto es una abreviación, o macro, y se puede usar tratándola como si fuera
20913 \begin_inset Flex Code
20916 \begin_layout Plain Layout
20925 \begin_inset Flex Code
20928 \begin_layout Plain Layout
20934 exactamente como trataría su definición.
20935 Por tanto, permítenos un
20943 \begin_layout LyX-Code
20947 \begin_layout Standard
20950 no caería en un bucle infinito, pero sí en uno muy largo.
20953 \begin_layout Standard
20954 El segundo tipo especial de definición sería como:
20957 \begin_layout LyX-Code
20961 \begin_layout Standard
20962 Esto define un trozo de texto traducible, que permite traducir partes relevantes
20963 de la bibliografía.
20964 Puede incluirse en una definición tratándolo como una clave:
20965 \begin_inset Flex Code
20968 \begin_layout Plain Layout
20975 Varios de estos están predefinidos en
20976 \begin_inset Flex Code
20979 \begin_layout Plain Layout
20986 Advertiremos que no son macros en el sentido definido.
20990 \begin_layout Standard
20991 Aquí hay, pues, un ejemplo que usa todas estas características:
20992 \begin_inset VSpace defskip
20998 \begin_layout Standard
21002 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %_edtext%, ]]}]]}
21005 \begin_layout Standard
21006 \begin_inset VSpace defskip
21009 Así definimos una macro que imprime el autor seguido de coma, si la clave
21011 \begin_inset Flex Code
21014 \begin_layout Plain Layout
21020 está definida, o imprime el nombre del editor seguido por el texto
21021 \begin_inset Flex Code
21024 \begin_layout Plain Layout
21030 o su traducción (por omisión
21031 \begin_inset Quotes eld
21035 \begin_inset Quotes erd
21039 \begin_inset Flex Code
21042 \begin_layout Plain Layout
21049 De hecho, esto está definido en
21050 \begin_inset Flex Code
21053 \begin_layout Plain Layout
21059 , por tanto puedes usarlo en tus propias definiciones o redefiniciones,
21060 si cargas antes ese archivo.
21063 \begin_layout Section
21064 Etiquetas para la salida XHTML
21065 \begin_inset CommandInset label
21067 name "sec:Etiquetas-para-XHTML"
21074 \begin_layout Standard
21075 Como para \SpecialChar LaTeX
21076 o DocBook, el formato de salida XHTML en \SpecialChar LyX
21077 también se controla
21078 mediante la información contenida en archivos de formato.
21079 En general, \SpecialChar LyX
21080 provee valores predefinidos sensatos y, como se mencionó anteriorm
21081 ente, incluso construirá reglas de estilo CSS a partir de las otras etiquetas
21083 Por ejemplo, \SpecialChar LyX
21084 intentará usar la información proporcionada por la declaración
21086 \begin_inset Flex Code
21089 \begin_layout Plain Layout
21095 para el estilo Chapter para escribir CSS que formateará adecuadamente los
21096 encabezados de capítulo.
21099 \begin_layout Standard
21100 En muchos casos, por tanto, no tendrás que hacer nada para obtener una aceptable
21101 salida XHTML para tus propios entornos, recuadros personalizados y cosas
21103 Pero en ciertos casos querrás hacer cambios, y para eso \SpecialChar LyX
21105 número de etiquetas de formato que se pueden usar para personalizar los
21106 XHTML y CSS generados.
21109 \begin_layout Standard
21110 Advertimos que hay dos etiquetas,
21111 \begin_inset Flex Code
21114 \begin_layout Plain Layout
21121 \begin_inset Flex Code
21124 \begin_layout Plain Layout
21130 que pueden aparecer fuera de las declaraciones de estilos y recuadros.
21132 \begin_inset CommandInset ref
21134 reference "subsec:Parámetros-generales-clases"
21138 para detalles sobre esto.
21141 \begin_layout Subsection
21143 \begin_inset CommandInset label
21145 name "subsec:Estilos-de-párrafo-XHTML"
21152 \begin_layout Standard
21153 El tipo de XHTML que genera \SpecialChar LyX
21154 para un párrafo depende de si se trata de un
21155 párrafo normal, de un comando o de un entorno, en los que esto se determina
21156 por el contenido de la correspondiente etiqueta
21157 \begin_inset Flex Code
21160 \begin_layout Plain Layout
21171 \begin_layout Standard
21172 Para un comando o párrafo, la salida XHTML tiene la forma siguiente:
21175 \begin_layout LyX-Code
21177 \begin_inset Quotes erd
21181 \begin_inset Quotes erd
21187 \begin_layout LyX-Code
21189 \begin_inset Quotes erd
21193 \begin_inset Quotes erd
21199 \begin_layout LyX-Code
21200 Contents of the paragraph.
21203 \begin_layout LyX-Code
21207 \begin_layout Standard
21208 Por supuesto, `label tags´ se omiten si el párrafo no tiene rótulo.
21211 \begin_layout Standard
21212 Para un entorno que no sea algún tipo de lista, XHTML toma la forma:
21215 \begin_layout LyX-Code
21217 \begin_inset Quotes erd
21221 \begin_inset Quotes erd
21227 \begin_layout LyX-Code
21229 \begin_inset Quotes erd
21233 \begin_inset Quotes erd
21237 \begin_inset Quotes erd
21241 \begin_inset Quotes erd
21244 >Environment Label</labeltag>First paragraph.</itemtag>
21247 \begin_layout LyX-Code
21248 <itemtag>Second paragraph.</itemtag>
21251 \begin_layout LyX-Code
21255 \begin_layout Standard
21256 El rótulo se genera solo para el primer párrafo, como debería ser, por ejemplo,
21261 \begin_layout Standard
21262 Para una lista disponemos de una de estas formas:
21265 \begin_layout LyX-Code
21267 \begin_inset Quotes erd
21271 \begin_inset Quotes erd
21277 \begin_layout LyX-Code
21279 \begin_inset Quotes erd
21283 \begin_inset Quotes erd
21287 \begin_inset Quotes erd
21291 \begin_inset Quotes erd
21294 >List Label</labeltag>First item.</itemtag>
21297 \begin_layout LyX-Code
21299 \begin_inset Quotes erd
21303 \begin_inset Quotes erd
21307 \begin_inset Quotes erd
21311 \begin_inset Quotes erd
21314 >List Label</labeltag>Second item.</itemtag>
21317 \begin_layout LyX-Code
21321 \begin_layout LyX-Code
21325 \begin_layout LyX-Code
21327 \begin_inset Quotes erd
21331 \begin_inset Quotes erd
21337 \begin_layout LyX-Code
21339 \begin_inset Quotes erd
21343 \begin_inset Quotes erd
21346 >List Label</labeltag><itemtag attr=
21347 \begin_inset Quotes erd
21351 \begin_inset Quotes erd
21354 >First item.</itemtag>
21357 \begin_layout LyX-Code
21359 \begin_inset Quotes erd
21363 \begin_inset Quotes erd
21366 >List Label</labeltag><itemtag attr=
21367 \begin_inset Quotes erd
21371 \begin_inset Quotes erd
21374 >Second item.</itemtag>
21377 \begin_layout LyX-Code
21381 \begin_layout Standard
21382 Observa los diferentes órdenes de
21383 \begin_inset Flex Code
21386 \begin_layout Plain Layout
21393 \begin_inset Flex Code
21396 \begin_layout Plain Layout
21403 El orden que obtenemos depende del ajuste de
21404 \begin_inset Flex Code
21407 \begin_layout Plain Layout
21414 \begin_inset Flex Code
21417 \begin_layout Plain Layout
21423 es falso (por omisión), se obtiene el primero de ellos, con el rótulo dentro
21424 del ítem; si verdadero, se obtiene el segundo, con el rótulo fuera del
21428 \begin_layout Standard
21429 Las etiquetas específicas y la salida de los atributos para cada tipo de
21430 párrafo puede ser controlado por medio de las etiquetas de formato que
21432 Como mencionamos antes, sin embargo, \SpecialChar LyX
21433 usa predefinidos adecuados para muchos
21434 de estos valores, por lo que generalmente no necesitarás hacer nada para
21435 obtener una buena salida XHTML.
21436 Partiendo de las etiquetas ya disponibles puedes afinar lascosas a tu gusto.
21439 \begin_layout Description
21440 \begin_inset Flex Code
21443 \begin_layout Plain Layout
21450 \begin_inset Flex Code
21453 \begin_layout Plain Layout
21459 ] Especifica información de los atributos a entregar con la etiqueta principal.
21461 \begin_inset Quotes eld
21465 \begin_inset Flex Code
21468 \begin_layout Plain Layout
21475 \begin_inset Quotes erd
21479 Por omisión, \SpecialChar LyX
21481 \begin_inset Quotes eld
21485 \begin_inset Flex Code
21488 \begin_layout Plain Layout
21495 \begin_inset Quotes erd
21499 \begin_inset Flex Code
21502 \begin_layout Plain Layout
21508 es el nombre del formato en \SpecialChar LyX
21509 , en minúsculas, por ejemplo: chapter.
21514 debería contener ninguna información de estilo.
21516 \begin_inset Flex Code
21519 \begin_layout Plain Layout
21525 para ese propósito.
21528 \begin_layout Description
21529 \begin_inset Flex Code
21532 \begin_layout Plain Layout
21539 \begin_inset Flex Code
21542 \begin_layout Plain Layout
21551 \begin_inset space \thinspace{}
21555 \begin_inset Flex Code
21558 \begin_layout Plain Layout
21564 ] Si producir la información CSS predeterminada que \SpecialChar LyX
21565 genera para este formato,
21566 incluso si se proporciona explícitamente información adicional mediante
21568 \begin_inset Flex Code
21571 \begin_layout Plain Layout
21579 \begin_inset Flex Code
21582 \begin_layout Plain Layout
21588 permite alterar o aumentar el CSS generado, no sobrescribirlo totalmente.
21590 \begin_inset Flex Code
21593 \begin_layout Plain Layout
21602 \begin_layout Description
21603 \begin_inset Flex Code
21606 \begin_layout Plain Layout
21613 \begin_inset Flex Code
21616 \begin_layout Plain Layout
21622 ] Etiqueta a usar para párrafos individuales de entornos, reemplazando
21623 \begin_inset Flex Code
21626 \begin_layout Plain Layout
21632 en los ejemplos de arriba.
21634 \begin_inset Flex Code
21637 \begin_layout Plain Layout
21646 \begin_layout Description
21647 \begin_inset Flex Code
21650 \begin_layout Plain Layout
21657 \begin_inset Flex Code
21660 \begin_layout Plain Layout
21666 ] Atributos para la etiqueta ítem.
21668 \begin_inset Quotes eld
21672 \begin_inset Flex Code
21675 \begin_layout Plain Layout
21676 class=`layoutname_item'
21682 \begin_inset Quotes erd
21690 debería contener ninguna información de estilo.
21692 \begin_inset Flex Code
21695 \begin_layout Plain Layout
21701 para ese propósito.
21704 \begin_layout Description
21705 \begin_inset Flex Code
21708 \begin_layout Plain Layout
21715 \begin_inset Flex Code
21718 \begin_layout Plain Layout
21724 ] Etiqueta a usar para rótulos de párrafos e ítems, reemplazando
21725 \begin_inset Flex Code
21728 \begin_layout Plain Layout
21734 en los ejemplos de arriba.
21736 \begin_inset Flex Code
21739 \begin_layout Plain Layout
21746 \begin_inset Flex Code
21749 \begin_layout Plain Layout
21756 \begin_inset Flex Code
21759 \begin_layout Plain Layout
21766 \begin_inset Flex Code
21769 \begin_layout Plain Layout
21770 Centered_Top_Environment
21775 , en cuyos casos es
21776 \begin_inset Flex Code
21779 \begin_layout Plain Layout
21788 \begin_layout Description
21789 \begin_inset Flex Code
21792 \begin_layout Plain Layout
21799 \begin_inset Flex Code
21802 \begin_layout Plain Layout
21808 ] Atributos para la etiqueta del rótulo.
21810 \begin_inset Quotes eld
21814 \begin_inset Flex Code
21817 \begin_layout Plain Layout
21818 class=`layoutname_label'
21824 \begin_inset Quotes erd
21832 debería contener ninguna información de estilo.
21834 \begin_inset Flex Code
21837 \begin_layout Plain Layout
21843 para ese propósito.
21846 \begin_layout Description
21847 \begin_inset Flex Code
21850 \begin_layout Plain Layout
21857 \begin_inset Flex Code
21860 \begin_layout Plain Layout
21869 \begin_inset space \thinspace{}
21873 \begin_inset Flex Code
21876 \begin_layout Plain Layout
21882 ] Solo es significativo para entornos tipo lista, esta etiqueta controla
21883 si la etiqueta de rótulo se genera antes o dentro de la etiqueta de ítem.
21884 Se usa, por ejemplo, en el entorno descripción, donde queremos `
21885 \begin_inset Flex Code
21888 \begin_layout Plain Layout
21889 <dt>\SpecialChar ldots
21890 </dt><dd>\SpecialChar ldots
21898 \begin_inset Flex Code
21901 \begin_layout Plain Layout
21907 : la etiqueta de rótulo se genera dentro de la etiqueta de ítem.
21910 \begin_layout Description
21911 \begin_inset Flex Code
21914 \begin_layout Plain Layout
21920 Información para generar en la sección
21921 \begin_inset Flex Code
21924 \begin_layout Plain Layout
21930 cuando se usa este estilo.
21931 Esto podría, por ejemplo, utilizarse para incluir un bloque
21932 \begin_inset Flex Code
21935 \begin_layout Plain Layout
21941 definiendo un controlador
21942 \begin_inset Flex Code
21945 \begin_layout Plain Layout
21954 \begin_layout Description
21955 \begin_inset Flex Code
21958 \begin_layout Plain Layout
21964 Información de estilo CSS a incluir cuando se usa este estilo.
21965 Advertimos que esto será automáticamente envuelto en un bloque
21966 \begin_inset Flex Code
21969 \begin_layout Plain Layout
21975 generado por el formato, por tanto solo es necesario incluir el propio
21982 \begin_inset Flex Code
21985 \begin_layout Plain Layout
21994 \begin_layout Description
21995 \begin_inset Flex Code
21998 \begin_layout Plain Layout
22005 \begin_inset Flex Code
22008 \begin_layout Plain Layout
22014 ] Etiqueta para el rótulo principal, reemplazando
22015 \begin_inset Flex Code
22018 \begin_layout Plain Layout
22024 en losejemplos de arriba.
22026 \begin_inset Flex Code
22029 \begin_layout Plain Layout
22038 \begin_layout Description
22039 \begin_inset Flex Code
22042 \begin_layout Plain Layout
22049 \begin_inset Flex Code
22052 \begin_layout Plain Layout
22061 \begin_inset space \thinspace{}
22065 \begin_inset Flex Code
22068 \begin_layout Plain Layout
22074 ] Marca este estilo como el que se va a usar para generar la etiqueta
22075 \begin_inset Flex Code
22078 \begin_layout Plain Layout
22084 para el archivo XHTML.
22085 Por omisión, es falso.
22087 \begin_inset Flex Code
22090 \begin_layout Plain Layout
22096 lo establece verdadero para el entorno
22097 \begin_inset Flex Code
22100 \begin_layout Plain Layout
22110 \begin_layout Subsection
22114 \begin_layout Standard
22115 La salida XHTML de los recuadros también se puede controlar por información
22116 en archivos 'layout'.
22120 \begin_layout Plain Layout
22121 Por ahora, esto solo es cierto para recuadros de
22122 \begin_inset Quotes eld
22126 \begin_inset Quotes erd
22129 (recuadros en los que puedes escribir) y no para recuadros de
22130 \begin_inset Quotes eld
22134 \begin_inset Quotes erd
22137 (recuadros asociados con cuadros de diálogo).
22142 También en este caso, \SpecialChar LyX
22143 intenta proporcionar valores predefinidos adecuados,
22144 y construye reglas de estilo CSS, pero todo puede personalizarse.
22147 \begin_layout Standard
22148 Para los recuadros, \SpecialChar LyX
22149 produce XHTML en la forma:
22152 \begin_layout LyX-Code
22154 \begin_inset Quotes erd
22158 \begin_inset Quotes erd
22164 \begin_layout LyX-Code
22165 <labeltag>Label</labeltag>
22168 \begin_layout LyX-Code
22170 \begin_inset Quotes erd
22174 \begin_inset Quotes erd
22177 >Contents of the inset.</innertag>
22180 \begin_layout LyX-Code
22184 \begin_layout Standard
22185 Si el recuadro permite párrafos múltiples —o sea, si
22186 \begin_inset Flex Code
22189 \begin_layout Plain Layout
22195 es verdadero— el contenido del recuadro se generará en forma de párrafos
22196 estructurados según los estilos usados para dichos párrafos (normal, cita,
22198 El rótulo de la etiqueta se omite si el párrafo no lo tiene y, por el momento,
22200 \begin_inset Flex Code
22203 \begin_layout Plain Layout
22210 La etiqueta interior es opcional y, por omisión, no aparece.
22213 \begin_layout Standard
22214 Las etiquetas y atributos específicos para cada recuadro se pueden controlar
22215 mediante las siguientes etiquetas de formato.
22218 \begin_layout Description
22219 \begin_inset Flex Code
22222 \begin_layout Plain Layout
22229 \begin_inset Flex Code
22232 \begin_layout Plain Layout
22238 ] Especifica información de atributos a generar con la etiqueta principal.
22240 \begin_inset Quotes eld
22244 \begin_inset Flex Code
22247 \begin_layout Plain Layout
22248 class=`myinset' onclick=`\SpecialChar ldots
22255 \begin_inset Quotes erd
22259 Por omisión, \SpecialChar LyX
22261 \begin_inset Quotes eld
22265 \begin_inset Flex Code
22268 \begin_layout Plain Layout
22275 \begin_inset Quotes erd
22279 \begin_inset Flex Code
22282 \begin_layout Plain Layout
22288 es el nombre del recuadro en \SpecialChar LyX
22289 , en minúsculas y con los caracteres no alfanuméri
22290 cos convertidos en guiones bajos, por ejemplo: footnote.
22293 \begin_layout Description
22294 \begin_inset Flex Code
22297 \begin_layout Plain Layout
22304 \begin_inset Flex Code
22307 \begin_layout Plain Layout
22316 \begin_inset space \thinspace{}
22320 \begin_inset Flex Code
22323 \begin_layout Plain Layout
22329 ] Si producir la información CSS predeterminadad que \SpecialChar LyX
22330 genera para este formato,
22331 incluso si se da explícitamente información adicional con
22332 \begin_inset Flex Code
22335 \begin_layout Plain Layout
22343 \begin_inset Flex Code
22346 \begin_layout Plain Layout
22352 parmite alterar o aumentar el CSS generado, en vez de sobrescribirlo.
22356 \begin_layout Description
22357 \begin_inset Flex Code
22360 \begin_layout Plain Layout
22367 \begin_inset Flex Code
22370 \begin_layout Plain Layout
22376 ] Atributos para la etiqueta interna.
22378 \begin_inset Quotes eld
22382 \begin_inset Flex Code
22385 \begin_layout Plain Layout
22386 class=`insetname_inner'
22392 \begin_inset Quotes erd
22398 \begin_layout Description
22399 \begin_inset Flex Code
22402 \begin_layout Plain Layout
22409 \begin_inset Flex Code
22412 \begin_layout Plain Layout
22418 ] La etiqueta interna, reemplazando
22419 \begin_inset Flex Code
22422 \begin_layout Plain Layout
22428 en los ejemplos de arriba.
22429 Por omisión, ninguna.
22432 \begin_layout Description
22433 \begin_inset Flex Code
22436 \begin_layout Plain Layout
22443 \begin_inset Flex Code
22446 \begin_layout Plain Layout
22453 \begin_inset space \thinspace{}
22457 \begin_inset Flex Code
22460 \begin_layout Plain Layout
22468 ] Si este recuadro representa un bloque de texto independiente (como una
22469 nota al pie) o bien representa material que está incluido en el texto circundan
22470 te (como una rama).
22474 \begin_layout Description
22475 \begin_inset Flex Code
22478 \begin_layout Plain Layout
22485 \begin_inset Flex Code
22488 \begin_layout Plain Layout
22494 ] Un rótulo para este recuadro, posiblemente incluyendo una referencia a
22496 Por ejemplo, para notas al pie, podría ser:
22497 \begin_inset Flex Code
22500 \begin_layout Plain Layout
22509 Esto es opcional y no hay valor predeterminado.
22512 \begin_layout Description
22513 \begin_inset Flex Code
22516 \begin_layout Plain Layout
22522 Información que saldrá en la sección
22523 \begin_inset Flex Code
22526 \begin_layout Plain Layout
22532 cuando se usa este estilo.
22533 Esto podría usarse, por ejemplo, para incluir un bloque
22534 \begin_inset Flex Code
22537 \begin_layout Plain Layout
22543 que defina un controlador
22544 \begin_inset Flex Code
22547 \begin_layout Plain Layout
22556 \begin_layout Description
22557 \begin_inset Flex Code
22560 \begin_layout Plain Layout
22566 Información de estilo CSS a incluir cuando se usa este estilo.
22567 Esto será automáticamente envuelto en un bloque
22568 \begin_inset Flex Code
22571 \begin_layout Plain Layout
22577 generado por el formato, por lo que solo hay que incluir el propio CSS.
22580 \begin_layout Description
22581 \begin_inset Flex Code
22584 \begin_layout Plain Layout
22591 \begin_inset Flex Code
22594 \begin_layout Plain Layout
22600 ] La etiqueta a usar para el rótulo principal, reemplazando
22601 \begin_inset Flex Code
22604 \begin_layout Plain Layout
22610 en los ejemplos de arriba.
22611 El valor por omisión depende de
22612 \begin_inset Flex Code
22615 \begin_layout Plain Layout
22622 \begin_inset Flex Code
22625 \begin_layout Plain Layout
22632 \begin_inset Flex Code
22635 \begin_layout Plain Layout
22641 ; si es falso, el valor por omisión es
22642 \begin_inset Flex Code
22645 \begin_layout Plain Layout
22654 \begin_layout Subsection
22658 \begin_layout Standard
22659 La salida XHTML para flotantes también se puede controlar mediante información
22660 en archivos 'layout'.
22661 La salida tiene la forma:
22664 \begin_layout LyX-Code
22666 \begin_inset Quotes erd
22670 \begin_inset Quotes erd
22676 \begin_layout LyX-Code
22677 Contents of the float.
22680 \begin_layout LyX-Code
22684 \begin_layout Standard
22685 La leyenda, si la hay, es un recuadro separado y se generará como tal.
22686 Su aspecto puede controlarse con InsetLayout para recuadros de leyendas.
22690 \begin_layout Description
22691 \begin_inset Flex Code
22694 \begin_layout Plain Layout
22701 \begin_inset Flex Code
22704 \begin_layout Plain Layout
22710 ] Especifica información de los atributos a generar con la etiqueta principal,
22712 \begin_inset Quotes eld
22716 \begin_inset Flex Code
22719 \begin_layout Plain Layout
22720 class=`myfloat' onclick=`\SpecialChar ldots
22727 \begin_inset Quotes erd
22731 Por omisión, \SpecialChar LyX
22733 \begin_inset Quotes eld
22737 \begin_inset Flex Code
22740 \begin_layout Plain Layout
22741 class=`float float-floattype'
22747 \begin_inset Quotes erd
22751 \begin_inset Flex Code
22754 \begin_layout Plain Layout
22760 es el nombre en \SpecialChar LyX
22761 para este tipo de flotante, como determina la declaración
22763 \begin_inset CommandInset ref
22765 reference "subsec:Flotantes"
22769 ), aunque en minúsculas y con los caracteres no alfanuméricos sustituidos
22770 por guiones bajos, por ejemplo: float-table.
22773 \begin_layout Description
22774 \begin_inset Flex Code
22777 \begin_layout Plain Layout
22783 Información de estilo CSS a incluir cuando se usa este flotante.
22784 Esto será automáticamente envuelto en un bloque
22785 \begin_inset Flex Code
22788 \begin_layout Plain Layout
22794 generado por el formato, por lo que solo hay que incluir el propio CSS.
22797 \begin_layout Description
22798 \begin_inset Flex Code
22801 \begin_layout Plain Layout
22808 \begin_inset Flex Code
22811 \begin_layout Plain Layout
22817 ] La etiqueta a usar para este flotante, reemplazando "
22818 \begin_inset Flex Code
22821 \begin_layout Plain Layout
22827 " en el ejemplo de arriba.
22828 El valor por omisión es
22829 \begin_inset Flex Code
22832 \begin_layout Plain Layout
22838 y raramente habrá que cambiarlo.
22841 \begin_layout Subsection
22842 Formato de la Bibliografía
22845 \begin_layout Standard
22846 La bibliografía se puede formatear usando bloques
22847 \begin_inset Flex Code
22850 \begin_layout Plain Layout
22858 \begin_inset CommandInset ref
22860 reference "subsec:Descripción-formato-cita"
22867 \begin_layout Subsection
22868 CSS generado por \SpecialChar LyX
22872 \begin_layout Standard
22873 Hemos mencionado ya que \SpecialChar LyX
22874 generará reglas de estilo CSS predeterminadas para
22875 recuadros y estilos de párrafo, basados en la información suministrada
22876 para otros formatos.
22877 En esta sección comentaremos qué información usa \SpecialChar LyX
22881 \begin_layout Standard
22882 Actualmente, \SpecialChar LyX
22883 auto-genera CSS solo para información sobre tipografías, haciendo
22885 \begin_inset Flex Code
22888 \begin_layout Plain Layout
22895 \begin_inset Flex Code
22898 \begin_layout Plain Layout
22905 \begin_inset Flex Code
22908 \begin_layout Plain Layout
22915 \begin_inset Flex Code
22918 \begin_layout Plain Layout
22924 especificados en la declaración
22925 \begin_inset Flex Code
22928 \begin_layout Plain Layout
22936 \begin_inset CommandInset ref
22938 reference "subsec:Tipografías"
22942 .) La traducción es bastante sencilla y evidente.
22944 \begin_inset Quotes eld
22948 \begin_inset Flex Code
22951 \begin_layout Plain Layout
22958 \begin_inset Quotes erd
22962 \begin_inset Quotes eld
22966 \begin_inset Flex Code
22969 \begin_layout Plain Layout
22970 font-family: sans-serif;
22976 \begin_inset Quotes erd
22980 La correspondencia entre tamaños \SpecialChar LyX
22981 y tamaños CSS es un poco menos obvia,
22982 pero intuitiva en todo caso.
22984 \begin_inset Flex Code
22987 \begin_layout Plain Layout
22994 \begin_inset Flex URL
22997 \begin_layout Plain Layout
23008 \begin_layout Chapter
23009 Inserción de material externo
23010 \begin_inset CommandInset label
23012 name "chap:Inserción-de-material"
23019 \begin_layout Standard
23020 \begin_inset Box Shadowbox
23030 height_special "totalheight"
23035 backgroundcolor "none"
23038 \begin_layout Plain Layout
23039 AVISO: Esta parte de la documentación no ha sido actualizada desde hace
23041 Esperamos que aún sea adecuada, pero no hay garantías.
23049 \begin_layout Standard
23050 El uso de material de procedencia externa a \SpecialChar LyX
23051 se trata con detalle en el
23057 En el presente documento se trata sobre lo que debe suceder entre bambalinas
23058 para incluir nuevas clases de material.
23061 \begin_layout Section
23065 \begin_layout Standard
23066 La característica material externo se basa en el concepto
23071 Una plantilla es una especificación de la forma en que \SpecialChar LyX
23073 ciertos tipos de material.
23074 De por sí, \SpecialChar LyX
23075 incluye plantillas predefinidas para figuras Xfig, varios tipos
23076 de imágenes raster, diagramas de ajedrez y notación musical LilyPond.
23077 Puedes comprobar la lista actual en el menú
23078 \begin_inset Flex Noun
23081 \begin_layout Plain Layout
23082 Insertar\SpecialChar menuseparator
23083 Archivo\SpecialChar menuseparator
23090 Además, es posible construir plantillas propias para soportar determinado
23092 Más tarde describiremos con más detalle lo que esto implica, y esperamos
23093 que nos envíes tus plantillas para que se puedan incluir en próximas versiones
23094 de \SpecialChar LyX
23098 \begin_layout Standard
23099 Otra idea básica de la característica material externo es distinguir entre
23100 el archivo original que sirve como base para el material final y el archivo
23101 generado que se incluye en el documento impreso o exportado.
23102 Por ejemplo, consideremos el caso de una figura hecha con
23103 \begin_inset Flex Code
23106 \begin_layout Plain Layout
23113 El programa Xfig en sí mismo trabaja sobre un archivo original con extensión
23115 \begin_inset Flex Code
23118 \begin_layout Plain Layout
23125 Dentro de Xfig, se crea o modifica una figura y se guarda como un archivo
23127 \begin_inset Flex Code
23130 \begin_layout Plain Layout
23137 Para incluir la figura en un documento, se ejecuta
23138 \begin_inset Flex Code
23141 \begin_layout Plain Layout
23147 con el fin de crear un archivo PostScript que puede incluirse fácilmente
23148 en el archivo \SpecialChar LaTeX
23150 En este caso, el archivo
23151 \begin_inset Flex Code
23154 \begin_layout Plain Layout
23160 es el original, y el archivo PostScript es el archivo generado.
23163 \begin_layout Standard
23164 Esta distinción es importante para permitir la actualización del material
23165 durante el proceso de escritura del documento.
23166 Además, provee la flexibilidad necesaria para soportar múltiples formatos
23168 Por ejemplo, en el caso de un archivo de texto sencillo, no es una brillante
23169 idea incluir la figura como PostScript puro.
23170 En vez de esto, es preferible incluir solo una referencia a la figura o
23171 bien probar algún convertidor de gráficos a Ascii para que el resultado
23172 final se parezca al gráfico real.
23173 La gestión de material externo de \SpecialChar LyX
23174 permite hacer esto porque se basa en
23175 parámetros apropiados para los diferentes formatos de exportación soportados.
23178 \begin_layout Standard
23179 Además de soportar la generación de diferentes productos de acuerdo con
23180 el formato de exportación, existe una profunda integración con las aplicaciones
23181 de edición y visualización.
23182 En el caso de figuras Xfig, es posible editar el archivo original en Xfig
23183 con un simple clic derecho sobre el recuadro y también previsualizar el
23184 PostScript generado con ghostview.
23185 Se acabaron los enredos con la línea de comandos y/o el navegador de archivos
23186 para localizar y manipular los archivos originales o los generados.
23187 De esta manera, se pueden por fin aprovechar las ventajas de muy diversas
23188 aplicaciones importantes para la composición de los documentos, y por tanto
23189 aumentar el rendimiento.
23192 \begin_layout Section
23193 El archivo de configuración de plantillas externas
23196 \begin_layout Standard
23197 Es relativamente fácil añadir en \SpecialChar LyX
23198 definiciones personalizadas de plantillas
23200 Sin embargo, hay que ser consciente de que hacer esto de manera descuidada
23201 generará muy probablemente un agujero de seguridad fácil de explotar.
23202 Así pues, antes de hacer esto, lee por favor la discusión sobre seguridad
23204 \begin_inset CommandInset ref
23206 reference "sec:Discusión-sobre-seguridad"
23213 \begin_layout Standard
23214 Una vez dicho esto, te animamos a que envíes cualquiera plantilla interesante
23218 \begin_layout Standard
23219 Las plantillas externas se definen en el archivo
23220 \begin_inset Flex Code
23223 \begin_layout Plain Layout
23225 Dir/lib/external_templates
23231 Puedes colocar tus versiones propias en
23232 \begin_inset Flex Code
23235 \begin_layout Plain Layout
23236 UserDir/external_templates
23244 \begin_layout Standard
23245 Una plantilla típica tiene un aspecto como este:
23248 \begin_layout LyX-Code
23252 \begin_layout LyX-Code
23253 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
23256 \begin_layout LyX-Code
23260 \begin_layout LyX-Code
23264 \begin_layout LyX-Code
23268 \begin_layout LyX-Code
23272 \begin_layout LyX-Code
23276 \begin_layout LyX-Code
23277 AutomaticProduction true
23280 \begin_layout LyX-Code
23284 \begin_layout LyX-Code
23288 \begin_layout LyX-Code
23289 Format \SpecialChar LaTeX
23293 \begin_layout LyX-Code
23294 TransformCommand Rotate RotationLatexCommand
23297 \begin_layout LyX-Code
23298 TransformCommand Resize ResizeLatexCommand
23301 \begin_layout LyX-Code
23302 Product "$$RotateFront$$ResizeFront
23305 \begin_layout LyX-Code
23310 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
23313 \begin_layout LyX-Code
23314 $$ResizeBack$$RotateBack"
23317 \begin_layout LyX-Code
23321 \begin_layout LyX-Code
23322 UpdateResult "$$AbsPath$$Basename.pstex_t"
23325 \begin_layout LyX-Code
23326 Requirement "graphicx"
23329 \begin_layout LyX-Code
23330 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
23333 \begin_layout LyX-Code
23334 ReferencedFile latex "$$AbsPath$$Basename.eps"
23337 \begin_layout LyX-Code
23338 ReferencedFile dvi "$$AbsPath$$Basename.eps"
23341 \begin_layout LyX-Code
23345 \begin_layout LyX-Code
23346 Format PDF\SpecialChar LaTeX
23350 \begin_layout LyX-Code
23351 TransformCommand Rotate RotationLatexCommand
23354 \begin_layout LyX-Code
23355 TransformCommand Resize ResizeLatexCommand
23358 \begin_layout LyX-Code
23359 Product "$$RotateFront$$ResizeFront
23362 \begin_layout LyX-Code
23367 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
23370 \begin_layout LyX-Code
23371 $$ResizeBack$$RotateBack"
23374 \begin_layout LyX-Code
23375 UpdateFormat pdftex
23378 \begin_layout LyX-Code
23379 UpdateResult "$$AbsPath$$Basename.pdftex_t"
23382 \begin_layout LyX-Code
23383 Requirement "graphicx"
23386 \begin_layout LyX-Code
23387 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
23390 \begin_layout LyX-Code
23391 ReferencedFile latex "$$AbsPath$$Basename.pdf"
23394 \begin_layout LyX-Code
23398 \begin_layout LyX-Code
23402 \begin_layout LyX-Code
23403 Product "$$Contents(
23405 "$$AbsPath$$Basename.asc
23410 \begin_layout LyX-Code
23411 UpdateFormat asciixfig
23414 \begin_layout LyX-Code
23415 UpdateResult "$$AbsPath$$Basename.asc"
23418 \begin_layout LyX-Code
23422 \begin_layout LyX-Code
23426 \begin_layout LyX-Code
23427 Product "<graphic fileref=
23429 "$$AbsOrRelPathMaster$$Basename.eps
23434 \begin_layout LyX-Code
23438 \begin_layout LyX-Code
23442 \begin_layout LyX-Code
23443 UpdateResult "$$AbsPath$$Basename.eps"
23446 \begin_layout LyX-Code
23447 ReferencedFile docbook "$$AbsPath$$Basename.eps"
23450 \begin_layout LyX-Code
23451 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
23454 \begin_layout LyX-Code
23458 \begin_layout LyX-Code
23459 Product "[XFig: $$FName]"
23462 \begin_layout LyX-Code
23466 \begin_layout LyX-Code
23470 \begin_layout Standard
23471 Como puedes ver, la plantilla se incluye entre
23472 \begin_inset Flex Code
23475 \begin_layout Plain Layout
23483 \begin_inset Flex Code
23486 \begin_layout Plain Layout
23493 Contiene una cabecera que especifica algunas configuraciones generales
23494 y, por cada formato de archivo de documento primario soportado, una sección
23496 \begin_inset Flex Code
23499 \begin_layout Plain Layout
23507 \begin_inset Flex Code
23510 \begin_layout Plain Layout
23519 \begin_layout Subsection
23520 La cabecera de la plantilla
23523 \begin_layout Description
23524 \begin_inset Flex Code
23527 \begin_layout Plain Layout
23528 AutomaticProduction
23529 \begin_inset space ~
23537 Si el archivo representado por la plantilla debe ser generado por \SpecialChar LyX
23539 Este comando debe aparecer exactamente una vez.
23542 \begin_layout Description
23543 \begin_inset Flex Code
23546 \begin_layout Plain Layout
23548 \begin_inset space ~
23556 Un patrón global que se usa en el diálogo del archivo para filtrar los
23558 Si hay más de una posible extensión de archivo (p.
23559 \begin_inset space \thinspace{}
23563 \begin_inset space ~
23567 \begin_inset Flex Code
23570 \begin_layout Plain Layout
23577 \begin_inset Flex Code
23580 \begin_layout Plain Layout
23586 ), se pone algo como
23587 \begin_inset Flex Code
23590 \begin_layout Plain Layout
23597 Este comando debe aparecer exactamente una vez.
23600 \begin_layout Description
23601 \begin_inset Flex Code
23604 \begin_layout Plain Layout
23606 \begin_inset space ~
23614 El texto mostrado sobre el botón.
23615 Este comando debe aparecer exactamente una vez.
23618 \begin_layout Description
23619 \begin_inset Flex Code
23622 \begin_layout Plain Layout
23624 \begin_inset space ~
23628 \begin_inset space ~
23636 El texto de ayuda que se muestra en diálogo.
23637 Da suficiente información sobre lo que puede proporcionar la plantilla.
23638 Este comando debe aparecer exactamente una vez.
23641 \begin_layout Description
23642 \begin_inset Flex Code
23645 \begin_layout Plain Layout
23647 \begin_inset space ~
23655 El formato de archivo del original.
23656 Debe ser el nombre de un formato conocido por \SpecialChar LyX
23658 \begin_inset CommandInset ref
23660 reference "sec:Formatos"
23666 \begin_inset Quotes fld
23670 \begin_inset Flex Code
23673 \begin_layout Plain Layout
23680 \begin_inset Quotes frd
23683 si la plantilla puede manejar archivos originales o más de un formato.
23684 En este caso, \SpecialChar LyX
23685 intentará inspeccionar el archivo mismo para deducir su
23687 Este comando debe aparecer exactamente una vez.
23690 \begin_layout Description
23691 \begin_inset Flex Code
23694 \begin_layout Plain Layout
23696 \begin_inset space ~
23704 Un nombre único para la plantilla.
23705 No debe contener macros de sustitución (véase abajo).
23708 \begin_layout Description
23709 \begin_inset Flex Code
23712 \begin_layout Plain Layout
23714 \begin_inset space ~
23717 Rotate|Resize|Clip|Extra
23722 Este comando especifica qué transformaciones son soportadas por esta plantilla.
23723 Puede aparecer ninguna o varias veces.
23724 Este comando facilita las correspondientes pestañas en el diálogo de material
23727 \begin_inset Flex Code
23730 \begin_layout Plain Layout
23736 debe tener el correspondiente
23737 \begin_inset Flex Code
23740 \begin_layout Plain Layout
23747 \begin_inset Flex Code
23750 \begin_layout Plain Layout
23757 \begin_inset Flex Code
23760 \begin_layout Plain Layout
23767 De lo contrario la transformación no será soportada por ese formato.
23771 \begin_layout Subsection
23775 \begin_layout Description
23776 \begin_inset Flex Code
23779 \begin_layout Plain Layout
23781 \begin_inset space ~
23785 |PDF\SpecialChar LaTeX
23791 El formato de archivo del documento primario para el que es esta definición
23793 No toda plantilla tiene una representación sensible en los formatos de
23794 archivo de todos los documentos.
23795 No obstante, es preferible definir una sección
23796 \begin_inset Flex Code
23799 \begin_layout Plain Layout
23805 para todos los formatos.
23806 Se usa un texto postizo si no hay representación disponible.
23807 Entonces, al menos, se puede ver una referencia al material externo en
23808 el documento exportado.
23811 \begin_layout Description
23812 \begin_inset Flex Code
23815 \begin_layout Plain Layout
23817 \begin_inset space ~
23821 \begin_inset space ~
23829 Este comando define una macro adicional,
23830 \begin_inset Flex Code
23833 \begin_layout Plain Layout
23839 , para sustitución en
23840 \begin_inset Flex Code
23843 \begin_layout Plain Layout
23851 \begin_inset Flex Code
23854 \begin_layout Plain Layout
23860 puede contener en sí mismo macros de sustitución.
23861 La ventaja sobre el uso de
23862 \begin_inset Flex Code
23865 \begin_layout Plain Layout
23872 \begin_inset Flex Code
23875 \begin_layout Plain Layout
23881 es que el valor sustituido de
23882 \begin_inset Flex Code
23885 \begin_layout Plain Layout
23891 está saneado así que es un argumento opcional válido en el formato del
23893 Este comando puede aparecer ninguna o más veces.
23896 \begin_layout Description
23897 \begin_inset Flex Code
23900 \begin_layout Plain Layout
23902 \begin_inset space ~
23910 El texto que se inserta en el documento exportado.
23911 Realmente este es el comando más importante y puede ser bastante complejo.
23912 Este comando debe aparecer exactamente una vez.
23915 \begin_layout Description
23916 \begin_inset Flex Code
23919 \begin_layout Plain Layout
23921 \begin_inset space ~
23929 Este comando especifica un fragmento de preámbulo que se incluirá en el
23930 preámbulo \SpecialChar LaTeX
23932 Tiene que definirse usando
23933 \begin_inset Flex Code
23936 \begin_layout Plain Layout
23944 \begin_inset Flex Code
23947 \begin_layout Plain Layout
23954 Este comando puede aparecer ninguna o más veces.
23957 \begin_layout Description
23958 \begin_inset Flex Code
23961 \begin_layout Plain Layout
23963 \begin_inset space ~
23967 \begin_inset space ~
23975 Este comando indica los archivos que se crean por el proceso de conversión
23976 y que son necesarios para un formato de exportación particular.
23977 Si el nombre del archivo es relativo, se interpreta como relativo al documento
23979 Este comando puede darse ninguna o más veces.
23982 \begin_layout Description
23983 \begin_inset Flex Code
23986 \begin_layout Plain Layout
23988 \begin_inset space ~
23996 El nombre de un paquete \SpecialChar LaTeX
23998 El paquete se incuye mediante
23999 \begin_inset Flex Code
24002 \begin_layout Plain Layout
24010 en el preámbulo \SpecialChar LaTeX
24012 Este comando puede aparecer ninguna o más veces.
24015 \begin_layout Description
24016 \begin_inset Flex Code
24019 \begin_layout Plain Layout
24021 \begin_inset space ~
24025 \begin_inset space ~
24028 RotationLatexCommand
24033 Este comando especifica que el comando \SpecialChar LaTeX
24034 incluido debería usarse para la
24036 Este comando puede aparecer una vez o ninguna.
24039 \begin_layout Description
24040 \begin_inset Flex Code
24043 \begin_layout Plain Layout
24045 \begin_inset space ~
24049 \begin_inset space ~
24057 Este comando especifica que el comando \SpecialChar LaTeX
24058 incluido debería usarse para cambiar
24060 Este comando puede aparecer una vez o ninguna.
24063 \begin_layout Description
24064 \begin_inset Flex Code
24067 \begin_layout Plain Layout
24069 \begin_inset space ~
24073 \begin_inset space ~
24076 RotationLatexOption
24081 Este comando especifica que la rotación se hace mediante un argumento opcional.
24082 Este comando puede aparecer una vez o ninguna.
24085 \begin_layout Description
24086 \begin_inset Flex Code
24089 \begin_layout Plain Layout
24091 \begin_inset space ~
24095 \begin_inset space ~
24103 Este comando especifica que el cambio de tamaño se hace mediante un argumento
24105 Este comando puede aparecer una vez o ninguna
24108 \begin_layout Description
24109 \begin_inset Flex Code
24112 \begin_layout Plain Layout
24114 \begin_inset space ~
24118 \begin_inset space ~
24126 Este comando especifica que el recorte se hace mediante un argumento opcional.
24127 Este comando puede aparecer una vez o ninguna.
24130 \begin_layout Description
24131 \begin_inset Flex Code
24134 \begin_layout Plain Layout
24136 \begin_inset space ~
24140 \begin_inset space ~
24148 Este comando especifica que se usa un argumento extra opcional.
24149 Este comando puede aparecer una vez o ninguna.
24153 \begin_layout Description
24154 \begin_inset Flex Code
24157 \begin_layout Plain Layout
24159 \begin_inset space ~
24167 El formato de archivo del archivo convertido.
24168 Debe ser el nombre de un formato conocido por \SpecialChar LyX
24170 \begin_inset Flex Noun
24173 \begin_layout Plain Layout
24180 \begin_inset Flex Noun
24183 \begin_layout Plain Layout
24184 Gestión de archivos
24190 \begin_inset Flex Noun
24193 \begin_layout Plain Layout
24194 Herramientas\SpecialChar menuseparator
24201 Este comando debe aparecer exactamente una vez.
24204 If the resulting file format is PDF, you need to specify the format
24205 \begin_inset Flex Code
24208 \begin_layout Plain Layout
24217 This is the PDF format used for including graphics.
24218 The other defined PDF formats are for document export.
24221 \begin_layout Description
24222 \begin_inset Flex Code
24225 \begin_layout Plain Layout
24227 \begin_inset space ~
24235 El nombre de archivo del archivo convertido.
24236 El nombre de archivo debe ser absoluto.
24237 Este comando debe aparecer exactamente una vez.
24240 \begin_layout Subsection
24241 Definiciones de preámbulo
24244 \begin_layout Standard
24245 El archivo de configuración de plantillas externas puede contener definiciones
24246 de preámbulo adicionales encerradas entre
24247 \begin_inset Flex Code
24250 \begin_layout Plain Layout
24258 \begin_inset Flex Code
24261 \begin_layout Plain Layout
24268 Se pueden usar por las plantillas en la sección
24269 \begin_inset Flex Code
24272 \begin_layout Plain Layout
24281 \begin_layout Section
24282 El mecanismo de sustitución
24285 \begin_layout Standard
24286 Cuando la función de material externo recurre a un programa externo, se
24287 hace sobre la base de un comando definido en el archivo de configuración
24289 Estos comandos pueden contener varias macros que se expanden antes de su
24291 La ejecución tiene lugar siempre en el directorio del documento.
24295 \begin_layout Standard
24296 Además, cada vez que el material externo se va a mostrar, el nombre será
24297 generado por el mecanismo de sustitución, y la mayoría de los demás comandos
24298 en la definición de la plantilla soportan también sustitución.
24302 \begin_layout Standard
24303 Las macros disponibles son las siguientes:
24306 \begin_layout Description
24307 \begin_inset Flex Code
24310 \begin_layout Plain Layout
24311 $$AbsOrRelPathMaster
24316 La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
24320 \begin_layout Description
24321 \begin_inset Flex Code
24324 \begin_layout Plain Layout
24325 $$AbsOrRelPathParent
24330 La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
24334 \begin_layout Description
24335 \begin_inset Flex Code
24338 \begin_layout Plain Layout
24344 La ruta absoluta del archivo.
24347 \begin_layout Description
24348 \begin_inset Flex Code
24351 \begin_layout Plain Layout
24357 El nombre de archivo sin ruta y sin la extensión.
24360 \begin_layout Description
24361 \begin_inset Flex Code
24364 \begin_layout Plain Layout
24366 \begin_inset Quotes eld
24370 \begin_inset Quotes erd
24378 Esta macro expandirá los contenidos del archivo con el nombre
24379 \begin_inset Flex Code
24382 \begin_layout Plain Layout
24391 \begin_layout Description
24392 \begin_inset Flex Code
24395 \begin_layout Plain Layout
24401 La extensión de archivo (incluyendo el punto).
24404 \begin_layout Description
24405 \begin_inset Flex Code
24408 \begin_layout Plain Layout
24416 This will be the string
24417 \begin_inset Quotes eld
24421 \begin_inset Quotes erd
24424 if the file is in JPEG format, otherwise it will be the string
24425 \begin_inset Quotes eld
24429 \begin_inset Quotes erd
24433 This is useful to avoid uneeded conversions for output formats that support
24434 both PNG and JPEG fomats.
24435 The predefined RasterImage template uses this macro for the pdf\SpecialChar TeX
24440 \begin_layout Description
24441 \begin_inset Flex Code
24444 \begin_layout Plain Layout
24450 El nombre de archivo del archivo especificado en el diálogo de material
24452 Esto es bien un nombre absoluto, bien relativo al documento \SpecialChar LyX
24456 \begin_layout Description
24457 \begin_inset Flex Code
24460 \begin_layout Plain Layout
24466 La parte de la ruta de
24467 \begin_inset Flex Code
24470 \begin_layout Plain Layout
24476 (nombre absoluto o relativo al documento \SpecialChar LyX
24480 \begin_layout Description
24481 \begin_inset Flex Code
24484 \begin_layout Plain Layout
24490 La ruta del archivo, relativa al documento maestro \SpecialChar LyX
24494 \begin_layout Description
24495 \begin_inset Flex Code
24498 \begin_layout Plain Layout
24504 La ruta del archivo, relativa al documento \SpecialChar LyX
24508 \begin_layout Description
24509 \begin_inset Flex Code
24512 \begin_layout Plain Layout
24518 Esta macro expandirá a la ruta absoluta del directorio de sistema.
24519 Esto se usa habitualmente para apuntar a los varios guiones de ayuda que
24520 se empaquetan con \SpecialChar LyX
24524 \begin_layout Description
24525 \begin_inset Flex Code
24528 \begin_layout Plain Layout
24534 Un nombre y ruta completa a un directorio temporal que será borrado automáticam
24535 ente siempre que el documento se cierra, o se suprime la inserción de material
24539 \begin_layout Standard
24540 Todas las macros de ruta contienen un separador de rastreo del directorio,
24541 así se puede construir, p.
24542 \begin_inset space \thinspace{}
24545 e., el nombre de archivo absoluto con
24546 \begin_inset Flex Code
24549 \begin_layout Plain Layout
24550 $$AbsPath$$Basename$$Extension
24558 \begin_layout Standard
24559 Las macros anteriores son sustituidas en todos los comandos a menos que
24560 se indique lo contrario.
24562 \begin_inset Flex Code
24565 \begin_layout Plain Layout
24571 soporta adicionalmente las siguientes sustituciones si se habilitan por
24573 \begin_inset Flex Code
24576 \begin_layout Plain Layout
24583 \begin_inset Flex Code
24586 \begin_layout Plain Layout
24595 \begin_layout Description
24596 \begin_inset Flex Code
24599 \begin_layout Plain Layout
24605 La parte delantera del comando para cambiar el tamaño.
24608 \begin_layout Description
24609 \begin_inset Flex Code
24612 \begin_layout Plain Layout
24618 La parte trasera del comando para cambiar el tamaño.
24621 \begin_layout Description
24622 \begin_inset Flex Code
24625 \begin_layout Plain Layout
24631 La parte delantera del comando para la rotación.
24634 \begin_layout Description
24635 \begin_inset Flex Code
24638 \begin_layout Plain Layout
24644 La parte trasera del comando para la rotación.
24647 \begin_layout Standard
24648 La cadena de valor del comando
24649 \begin_inset Flex Code
24652 \begin_layout Plain Layout
24658 soporta adicionalmente las siguientes sustituciones si éstas se han habilitado
24660 \begin_inset Flex Code
24663 \begin_layout Plain Layout
24670 \begin_inset Flex Code
24673 \begin_layout Plain Layout
24682 \begin_layout Description
24683 \begin_inset Flex Code
24686 \begin_layout Plain Layout
24695 \begin_layout Description
24696 \begin_inset Flex Code
24699 \begin_layout Plain Layout
24708 \begin_layout Description
24709 \begin_inset Flex Code
24712 \begin_layout Plain Layout
24718 La opción cambio de tamaño.
24721 \begin_layout Description
24722 \begin_inset Flex Code
24725 \begin_layout Plain Layout
24731 La opción rotación.
24734 \begin_layout Standard
24735 Te puedes preguntar por qué hay tantas macros de ruta.
24736 Por dos razones, principalmente:
24739 \begin_layout Enumerate
24740 Los nombres de archivo relativo y absoluto deberían permanecer relativo
24741 o absoluto, respectivamente.
24742 Los usuarios pueden tener razones para preferir cualquiera de ambas formas.
24743 Los nombres relativos son útiles para documentos portables que deberían
24744 funcionar en máquinas diferentes, por ejemplo.
24745 Los nombres absolutos pueden ser requeridos por algunos programas.
24748 \begin_layout Enumerate
24750 procesa los nombres de archivo relativos de manera diferente a \SpecialChar LyX
24752 programas en archivos anidados incluidos.
24753 Para \SpecialChar LyX
24754 , un nombre de archivo relativo es siempre relativo al documento que
24755 contiene el nombre de archivo.
24756 Para \SpecialChar LaTeX
24757 , es siempre relativo al documento maestro.
24758 Estas dos definiciones son idénticas si se tiene solo un documento, pero
24759 son distintas si se tiene un documento maestro que incluye documentos parciales.
24760 Esto quiere decir que los nombres de archivo relativos deben ser transformados
24761 cuando se presentan a \SpecialChar LaTeX
24763 Afortunadamente, \SpecialChar LyX
24764 hace esto automáticamente si se eligen las macros correctas.
24767 \begin_layout Standard
24768 Así pues, ¿qué macros de ruta deberían emplearse en las definiciones de
24769 plantillas nuevas? La regla no es difícil:
24772 \begin_layout Itemize
24774 \begin_inset Flex Code
24777 \begin_layout Plain Layout
24783 si se requiere una ruta absoluta.
24786 \begin_layout Itemize
24788 \begin_inset Flex Code
24791 \begin_layout Plain Layout
24792 $$AbsOrRelPathMaster
24797 si la cadena sustituida es algún tipo de entrada \SpecialChar LaTeX
24801 \begin_layout Itemize
24803 \begin_inset Flex Code
24806 \begin_layout Plain Layout
24807 $$AbsOrRelPathParent
24812 con el fin de preservar la elección del usuario.
24815 \begin_layout Standard
24816 Hay casos especiales en los que esta regla no funciona y se necesitan, p.
24817 \begin_inset space \thinspace{}
24820 e., nombres relativos, pero normalmente funcionará bien.
24821 Un ejemplo de uno de estos casos es el comando
24822 \begin_inset Flex Code
24825 \begin_layout Plain Layout
24826 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
24831 en la plantilla XFig de arriba: no podemos usar el nombre absoluto porque
24832 el copiador para archivos
24833 \begin_inset Flex Code
24836 \begin_layout Plain Layout
24842 necesita el nombre relativo para reescribir el contenido del archivo.
24845 \begin_layout Section
24846 Discusión sobre seguridad
24847 \begin_inset CommandInset label
24849 name "sec:Discusión-sobre-seguridad"
24856 \begin_layout Standard
24857 La función material externo interactúa con muchos programas externos y lo
24858 hace de forma automática, así que hemos de tener en cuenta las implicaciones
24859 de seguridad que esto conlleva.
24860 En particular, puesto que tienes la opción de incluir tus propios archivos
24861 y/o cadenas de parámetros y estos se expanden en un comando, parece posible
24862 crear un documento malicioso que ejecute comandos arbitrarios cuando un
24863 usuario ve o imprime el documento.
24864 Esto es algo que definitivamente queremos evitar.
24868 \begin_layout Standard
24869 Sin embargo, dado que los comandos de material externo se especifican solo
24870 en el archivo de configuración de la plantilla, no hay problemas de seguridad
24871 si \SpecialChar LyX
24872 está adecuadamente configurado solo con plantillas seguras.
24873 Esto es así porque los programas externos se invocan con la llamada al
24875 \begin_inset Flex Code
24878 \begin_layout Plain Layout
24884 más bien que con la llamada
24885 \begin_inset Flex Code
24888 \begin_layout Plain Layout
24894 , de modo que no es posible ejecutar comandos arbitrarios desde la sección
24895 del nombre de archivo o de parámetros mediante el shell.
24898 \begin_layout Standard
24899 Esto implica además que hay restricciones en las cadenas de comandos que
24900 puedes usar en las plantillas de material externo.
24901 En particular, las tuberías y la redirección no están fácilmente disponibles.
24902 Esto debe ser así para que \SpecialChar LyX
24904 Si quieres usar algunas características de shell, deberías escribir un
24905 guión seguro para hacerlo de manera controlada, y después invocar el guión
24906 desde la cadena de comandos.
24909 \begin_layout Standard
24910 Es posible diseñar una plantilla que interactúe directamente con el shell,
24911 pero puesto que esto permitiría a un usuario malicioso ejecutar comandos
24912 arbitrarios escribiendo nombres de archivo y/o parámetros astutos, generalmente
24913 recomendamos usar solo guiones seguros que trabajen con la llamada
24914 \begin_inset Flex Code
24917 \begin_layout Plain Layout
24923 al sistema en forma controlada.
24924 Por supuesto, para usar en un entorno controlado, puede ser tentador caer
24925 en el uso de guiones de shell ordinarios.
24926 Si lo haces así, sé consciente de que vas a suministrar un agujero se seguridad
24927 fácilmente explotable en tu sistema.
24928 Evidentemente, es de razón que tales plantillas inseguras nunca serán incluidas
24929 en la distribución estándar de \SpecialChar LyX
24930 , aunque alentamos a la gente a que, a la
24931 usanza del software libre, envíe nuevas plantillas.
24932 No obstante, \SpecialChar LyX
24933 nunca tendrá plantillas inseguras tal y como se distribuye
24934 por los canales oficiales.
24937 \begin_layout Standard
24938 Incluir material externo suministra mucha potencia y has de ser cuidadoso
24939 en no introducir riesgos de seguridad a costa de esta potencia.
24940 Un sutil error en una simple línea en un guión aparentemente inocente puede
24941 abrir la puerta a graves problemas de seguridad.
24942 Así, si no comprendes totalmente estos asuntos, recomendamos consultar
24943 a un profesional entendido en seguridad o al equipo de desarrollo de \SpecialChar LyX
24945 tienes dudas acerca de si una plantilla dada es o no segura.
24946 Y hazlo antes de usarla en un entorno no controlado.
24949 \begin_layout Chapter
24953 List of functions to be used in layouts
24956 \begin_inset CommandInset label
24958 name "chap:List-of-functions"
24965 \begin_layout Standard
24967 \begin_inset Tabular
24968 <lyxtabular version="3" rows="11" columns="8">
24969 <features tabularvalignment="middle">
24970 <column alignment="left" valignment="top">
24971 <column alignment="left" valignment="top">
24972 <column alignment="left" valignment="top">
24973 <column alignment="left" valignment="top">
24974 <column alignment="left" valignment="top">
24975 <column alignment="left" valignment="top">
24976 <column alignment="left" valignment="top">
24977 <column alignment="left" valignment="top">
24979 <cell alignment="left" valignment="top" usebox="none">
24982 \begin_layout Plain Layout
24988 <cell alignment="left" valignment="top" usebox="none">
24991 \begin_layout Plain Layout
24997 <cell alignment="left" valignment="top" usebox="none">
25000 \begin_layout Plain Layout
25006 <cell alignment="left" valignment="top" usebox="none">
25009 \begin_layout Plain Layout
25015 <cell alignment="center" valignment="top" usebox="none">
25018 \begin_layout Plain Layout
25024 <cell alignment="center" valignment="top" usebox="none">
25027 \begin_layout Plain Layout
25033 <cell alignment="center" valignment="top" usebox="none">
25036 \begin_layout Plain Layout
25042 <cell alignment="center" valignment="top" usebox="none">
25045 \begin_layout Plain Layout
25053 <cell alignment="left" valignment="top" usebox="none">
25056 \begin_layout Plain Layout
25062 <cell alignment="left" valignment="top" usebox="none">
25065 \begin_layout Plain Layout
25071 <cell alignment="left" valignment="top" usebox="none">
25074 \begin_layout Plain Layout
25080 <cell alignment="left" valignment="top" usebox="none">
25083 \begin_layout Plain Layout
25089 <cell alignment="center" valignment="top" usebox="none">
25092 \begin_layout Plain Layout
25098 <cell alignment="center" valignment="top" usebox="none">
25101 \begin_layout Plain Layout
25107 <cell alignment="center" valignment="top" usebox="none">
25110 \begin_layout Plain Layout
25116 <cell alignment="center" valignment="top" usebox="none">
25119 \begin_layout Plain Layout
25127 <cell alignment="left" valignment="top" usebox="none">
25130 \begin_layout Plain Layout
25136 <cell alignment="left" valignment="top" usebox="none">
25139 \begin_layout Plain Layout
25145 <cell alignment="left" valignment="top" usebox="none">
25148 \begin_layout Plain Layout
25154 <cell alignment="left" valignment="top" usebox="none">
25157 \begin_layout Plain Layout
25163 <cell alignment="center" valignment="top" usebox="none">
25166 \begin_layout Plain Layout
25172 <cell alignment="center" valignment="top" usebox="none">
25175 \begin_layout Plain Layout
25181 <cell alignment="center" valignment="top" usebox="none">
25184 \begin_layout Plain Layout
25190 <cell alignment="center" valignment="top" usebox="none">
25193 \begin_layout Plain Layout
25201 <cell alignment="left" valignment="top" usebox="none">
25204 \begin_layout Plain Layout
25210 <cell alignment="left" valignment="top" usebox="none">
25213 \begin_layout Plain Layout
25219 <cell alignment="left" valignment="top" usebox="none">
25222 \begin_layout Plain Layout
25228 <cell alignment="left" valignment="top" usebox="none">
25231 \begin_layout Plain Layout
25237 <cell alignment="center" valignment="top" usebox="none">
25240 \begin_layout Plain Layout
25246 <cell alignment="center" valignment="top" usebox="none">
25249 \begin_layout Plain Layout
25255 <cell alignment="center" valignment="top" usebox="none">
25258 \begin_layout Plain Layout
25264 <cell alignment="center" valignment="top" usebox="none">
25267 \begin_layout Plain Layout
25275 <cell alignment="left" valignment="top" usebox="none">
25278 \begin_layout Plain Layout
25284 <cell alignment="left" valignment="top" usebox="none">
25287 \begin_layout Plain Layout
25293 <cell alignment="left" valignment="top" usebox="none">
25296 \begin_layout Plain Layout
25302 <cell alignment="left" valignment="top" usebox="none">
25305 \begin_layout Plain Layout
25311 <cell alignment="center" valignment="top" usebox="none">
25314 \begin_layout Plain Layout
25320 <cell alignment="center" valignment="top" usebox="none">
25323 \begin_layout Plain Layout
25329 <cell alignment="center" valignment="top" usebox="none">
25332 \begin_layout Plain Layout
25338 <cell alignment="center" valignment="top" usebox="none">
25341 \begin_layout Plain Layout
25349 <cell alignment="left" valignment="top" usebox="none">
25352 \begin_layout Plain Layout
25358 <cell alignment="left" valignment="top" usebox="none">
25361 \begin_layout Plain Layout
25367 <cell alignment="left" valignment="top" usebox="none">
25370 \begin_layout Plain Layout
25376 <cell alignment="left" valignment="top" usebox="none">
25379 \begin_layout Plain Layout
25385 <cell alignment="center" valignment="top" usebox="none">
25388 \begin_layout Plain Layout
25394 <cell alignment="center" valignment="top" usebox="none">
25397 \begin_layout Plain Layout
25403 <cell alignment="center" valignment="top" usebox="none">
25406 \begin_layout Plain Layout
25412 <cell alignment="center" valignment="top" usebox="none">
25415 \begin_layout Plain Layout
25423 <cell alignment="left" valignment="top" usebox="none">
25426 \begin_layout Plain Layout
25432 <cell alignment="left" valignment="top" usebox="none">
25435 \begin_layout Plain Layout
25441 <cell alignment="left" valignment="top" usebox="none">
25444 \begin_layout Plain Layout
25450 <cell alignment="left" valignment="top" usebox="none">
25453 \begin_layout Plain Layout
25459 <cell alignment="center" valignment="top" usebox="none">
25462 \begin_layout Plain Layout
25468 <cell alignment="center" valignment="top" usebox="none">
25471 \begin_layout Plain Layout
25477 <cell alignment="center" valignment="top" usebox="none">
25480 \begin_layout Plain Layout
25486 <cell alignment="center" valignment="top" usebox="none">
25489 \begin_layout Plain Layout
25497 <cell alignment="left" valignment="top" usebox="none">
25500 \begin_layout Plain Layout
25506 <cell alignment="left" valignment="top" usebox="none">
25509 \begin_layout Plain Layout
25515 <cell alignment="left" valignment="top" usebox="none">
25518 \begin_layout Plain Layout
25524 <cell alignment="left" valignment="top" usebox="none">
25527 \begin_layout Plain Layout
25533 <cell alignment="center" valignment="top" usebox="none">
25536 \begin_layout Plain Layout
25542 <cell alignment="center" valignment="top" usebox="none">
25545 \begin_layout Plain Layout
25551 <cell alignment="center" valignment="top" usebox="none">
25554 \begin_layout Plain Layout
25560 <cell alignment="center" valignment="top" usebox="none">
25563 \begin_layout Plain Layout
25571 <cell alignment="left" valignment="top" usebox="none">
25574 \begin_layout Plain Layout
25580 <cell alignment="left" valignment="top" usebox="none">
25583 \begin_layout Plain Layout
25589 <cell alignment="left" valignment="top" usebox="none">
25592 \begin_layout Plain Layout
25598 <cell alignment="left" valignment="top" usebox="none">
25601 \begin_layout Plain Layout
25607 <cell alignment="center" valignment="top" usebox="none">
25610 \begin_layout Plain Layout
25616 <cell alignment="center" valignment="top" usebox="none">
25619 \begin_layout Plain Layout
25625 <cell alignment="center" valignment="top" usebox="none">
25628 \begin_layout Plain Layout
25634 <cell alignment="center" valignment="top" usebox="none">
25637 \begin_layout Plain Layout
25645 <cell alignment="left" valignment="top" usebox="none">
25648 \begin_layout Plain Layout
25654 <cell alignment="left" valignment="top" usebox="none">
25657 \begin_layout Plain Layout
25663 <cell alignment="left" valignment="top" usebox="none">
25666 \begin_layout Plain Layout
25672 <cell alignment="left" valignment="top" usebox="none">
25675 \begin_layout Plain Layout
25681 <cell alignment="center" valignment="top" usebox="none">
25684 \begin_layout Plain Layout
25690 <cell alignment="center" valignment="top" usebox="none">
25693 \begin_layout Plain Layout
25699 <cell alignment="center" valignment="top" usebox="none">
25702 \begin_layout Plain Layout
25708 <cell alignment="center" valignment="top" usebox="none">
25711 \begin_layout Plain Layout
25719 <cell alignment="center" valignment="top" usebox="none">
25722 \begin_layout Plain Layout
25728 <cell alignment="center" valignment="top" usebox="none">
25731 \begin_layout Plain Layout
25737 <cell alignment="center" valignment="top" usebox="none">
25740 \begin_layout Plain Layout
25746 <cell alignment="center" valignment="top" usebox="none">
25749 \begin_layout Plain Layout
25755 <cell alignment="center" valignment="top" usebox="none">
25758 \begin_layout Plain Layout
25764 <cell alignment="center" valignment="top" usebox="none">
25767 \begin_layout Plain Layout
25773 <cell alignment="center" valignment="top" usebox="none">
25776 \begin_layout Plain Layout
25782 <cell alignment="center" valignment="top" usebox="none">
25785 \begin_layout Plain Layout
25799 \begin_layout Chapter
25802 Names of available colors to be used in layouts
25805 \begin_inset CommandInset label
25807 name "chap:Names-of-colors"
25814 \begin_layout Standard
25817 The colors listed here are the standard colors and the those that you can
25818 adjust in the \SpecialChar LyX
25822 \begin_layout Description
25837 No particular color – clear or default
25840 \begin_layout Description
25846 \begin_layout Description
25852 \begin_layout Description
25858 \begin_layout Description
25864 \begin_layout Description
25870 \begin_layout Description
25876 \begin_layout Description
25882 \begin_layout Description
25888 \begin_layout Description
25891 added_space Added space marker color
25894 \begin_layout Description
25897 addedtext Added text color
25900 \begin_layout Description
25903 appendix Appendix marker color
25906 \begin_layout Description
25909 background Background color
25912 \begin_layout Description
25915 bottomarea Bottom area color
25918 \begin_layout Description
25921 branchlabel Label color for branches
25924 \begin_layout Description
25927 buttonbg Color used for bottom background
25930 \begin_layout Description
25933 buttonhoverbg Color used for button background under focus
25936 \begin_layout Description
25939 buttonframe Color for inset button frames
25942 \begin_layout Description
25945 changebar Changebar color
25948 \begin_layout Description
25951 changedtextauthor1 Changed text color author 1
25954 \begin_layout Description
25957 changedtextauthor2 Changed text color author 2
25960 \begin_layout Description
25963 changedtextauthor3 Changed text color author 3
25966 \begin_layout Description
25969 changedtextauthor4 Changed text color author 4
25972 \begin_layout Description
25975 changedtextauthor5 Changed text color author 5
25978 \begin_layout Description
25981 collapsable_inset_frame Collapsable insets framecolor
25984 \begin_layout Description
25987 collapsable_inset_text Collapsable insets text color
25990 \begin_layout Description
25993 command Text color for command insets
25996 \begin_layout Description
25999 commandbg Background color for command insets
26002 \begin_layout Description
26005 commandframe Frame color for command insets
26008 \begin_layout Description
26011 comment color for comments
26014 \begin_layout Description
26017 commentbg Background color of comments
26020 \begin_layout Description
26023 cursor Cursor color
26026 \begin_layout Description
26029 deletedtext Deleted text color
26032 \begin_layout Description
26035 deletedtextmodifier Deleted text modifying color
26038 \begin_layout Description
26041 depthbar Color for the depth bars in the margin
26044 \begin_layout Description
26047 eolmarker End of line marker color
26050 \begin_layout Description
26053 error Color of the \SpecialChar LaTeX
26057 \begin_layout Description
26060 footlabel Label color for footnotes
26063 \begin_layout Description
26066 graphicsbg Graphics inset background color
26069 \begin_layout Description
26072 greyedout Label color for greyedout insets
26075 \begin_layout Description
26078 greyedoutbg Background color of greyedout inset
26081 \begin_layout Description
26084 greyedouttext Color for greyedout inset text
26087 \begin_layout Description
26090 indexlabel Label color for index insets
26093 \begin_layout Description
26096 ignore The color is ignored
26099 \begin_layout Description
26102 inherit The color is inherited
26105 \begin_layout Description
26108 inlinecompletion Inline completion color
26111 \begin_layout Description
26114 insetbg Inset marker background color
26117 \begin_layout Description
26120 insetframe Inset marker frame color
26123 \begin_layout Description
26126 language Color for marking foreign language words
26129 \begin_layout Description
26132 latex Text color in \SpecialChar LaTeX
26136 \begin_layout Description
26139 listingsbg Background color of listings inset
26142 \begin_layout Description
26145 marginlabel Label color for margin notes
26148 \begin_layout Description
26151 math Math inset text color
26154 \begin_layout Description
26157 mathbg Math inset background color
26160 \begin_layout Description
26163 mathcorners Math inset frame color not under focus
26166 \begin_layout Description
26169 mathframe Math inset frame color under focus
26172 \begin_layout Description
26175 mathline Math line color
26178 \begin_layout Description
26181 mathmacrobg Macro math inset background color
26184 \begin_layout Description
26187 mathmacroblend Macro math blended color
26190 \begin_layout Description
26193 mathmacroframe Macro math frame color
26196 \begin_layout Description
26199 mathmacrohoverbg Macro math inset background color hovered
26202 \begin_layout Description
26205 mathmacrolabel Macro math label color
26208 \begin_layout Description
26211 mathmacronewarg Macro template color for new parameters
26214 \begin_layout Description
26217 mathmacrooldarg Macro template color for old parameters
26220 \begin_layout Description
26223 newpage New page color
26226 \begin_layout Description
26229 nonunique_inlinecompletion Inline completion color for the non-unique part
26232 \begin_layout Description
26235 notebg Background color of notes
26238 \begin_layout Description
26241 notelabel Label color for notes
26244 \begin_layout Description
26247 pagebreak Page break/line break color
26250 \begin_layout Description
26253 paragraphmarker Color used for the pilcrow sign to mark the end of a paragraph
26256 \begin_layout Description
26259 phantomtext Text color for phantom insets
26262 \begin_layout Description
26265 preview The color used for previews
26268 \begin_layout Description
26271 previewframe Preview frame color
26274 \begin_layout Description
26277 regexpframe Color for regexp frame
26280 \begin_layout Description
26283 selection Background color of selected text
26286 \begin_layout Description
26289 selectiontext Foreground color of selected text
26292 \begin_layout Description
26295 shadedbg Background color of shaded box
26298 \begin_layout Description
26301 special Special chars text color
26304 \begin_layout Description
26307 tabularline Table line color
26310 \begin_layout Description
26313 tabularonoffline Table line color
26316 \begin_layout Description
26319 urllabel Label color for URL insets
26322 \begin_layout Description
26325 urltext Color for URL inset text