1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/es/
9 % DO NOT ALTER THIS PREAMBLE!!!
11 % This preamble is designed to ensure that the manual prints
12 % out as advertised. If you mess with this preamble,
13 % parts of 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 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 \use_dash_ligatures false
61 \default_output_format pdf2
63 \bibtex_command default
64 \index_command default
68 \pdf_title "Manual Personalización de LyX"
69 \pdf_author "Equipo LyX"
70 \pdf_subject "LyX-documentation Customization"
71 \pdf_keywords "LyX, documentation, customization"
73 \pdf_bookmarksnumbered true
74 \pdf_bookmarksopen true
75 \pdf_bookmarksopenlevel 1
80 \pdf_pdfusetitle false
81 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
84 \use_package amsmath 1
85 \use_package amssymb 1
88 \use_package mathdots 1
89 \use_package mathtools 1
91 \use_package stackrel 1
92 \use_package stmaryrd 1
93 \use_package undertilde 1
95 \cite_engine_type default
99 \paperorientation portrait
104 \notefontcolor #0000ff
116 \paragraph_separation indent
117 \paragraph_indentation default
119 \math_indentation default
120 \math_numbering_side default
125 \paperpagestyle headings
126 \tracking_changes false
127 \output_changes false
136 Personalizar \SpecialChar LyX
137 : Características para el usuario avanzado
141 por el equipo \SpecialChar LyX
146 \begin_layout Plain Layout
148 Si tienes correcciones o comentarios, envíalos, por favor, a la lista de
149 correo de Documentación de \SpecialChar LyX
151 \begin_inset CommandInset href
153 target "lyx-docs@lists.lyx.org"
161 \begin_inset Quotes cld
165 \begin_inset Quotes crd
168 en la cabecera de asunto, y envía una cc al actual mantenedor de este documento
169 , Richard Heck <rgheck@comcast.net>.
175 \begin_inset Newline newline
179 \begin_inset Newline newline
185 \begin_layout Standard
186 \begin_inset CommandInset toc
187 LatexCommand tableofcontents
194 \begin_layout Chapter
198 \begin_layout Standard
199 Este manual trata de las características de \SpecialChar LyX
200 que pueden ser modificadas
202 En él abordamos temas como atajos de teclado, opciones de vista previa
203 en pantalla, opciones de impresora, envío de comandos mediante \SpecialChar LyX
205 internacionalización, instalación de nuevas clases de \SpecialChar LaTeX
209 Seguro que no podemos aspirar a tratar todo lo que se puede cambiar, —nuestross
210 desarrolladores añaden características nuevas más deprisa de lo que las
211 podemos documentar— pero explicaremos las modificaciones más comunes y
212 y esperamos orientarte en la dirección correcta para algunas más desconocidas.
215 \begin_layout Standard
216 \begin_inset Branch OutDated
220 \begin_layout Standard
221 La rama OutDated contiene información de versiones anteriores de este documento
222 que ahora parece estar obsoleta.
223 Por omisión, esta información no aparece en la salida \SpecialChar LaTeX
232 \begin_layout Chapter
233 Archivos de configuración de \SpecialChar LyX
237 \begin_layout Standard
238 Este capítulo tiene por objetivo ayudarte a encontrar tu camino a través
239 de los archivos de configuración de \SpecialChar LyX
241 Antes de seguir leyendo deberías encontrar donde están los directorios
242 de bibliotecas y de usuario, consultando
243 \begin_inset Flex Noun
246 \begin_layout Plain Layout
247 Ayuda\SpecialChar menuseparator
248 Acerca de \SpecialChar LyX
255 El directorio de bibliotecas es el sitio en el que \SpecialChar LyX
257 de configuración de sistema; el directorio de usuario es donde puedes colocar
258 tus versiones modificadas.
259 En este documento, al primero lo denominaremos
260 \begin_inset Flex Code
263 \begin_layout Plain Layout
271 \begin_inset Flex Noun
274 \begin_layout Plain Layout
283 \begin_layout Section
285 \begin_inset Flex Code
288 \begin_layout Plain Layout
298 \begin_layout Standard
299 \begin_inset Flex Code
302 \begin_layout Plain Layout
309 y sus subdirectorios contienen archivos que pueden emplearse para personalizar
310 el comportamiento de \SpecialChar LyX
312 Puedes cambiar muchos de ellos desde dentro mismo de \SpecialChar LyX
315 \begin_inset Flex Noun
318 \begin_layout Plain Layout
319 Herramientas\SpecialChar menuseparator
326 La mayor parte de las adaptaciones personales que querrás hacer en \SpecialChar LyX
328 puede hacer en este diálogo.
329 Sin embargo, muchos otros aspectos internos de \SpecialChar LyX
330 pueden cambiarse modificando
332 \begin_inset Flex Code
335 \begin_layout Plain Layout
343 Estos archivos pertenecen a diversas categorías, descritas en las siguientes
347 \begin_layout Subsection
348 Archivos generados automáticamente
351 \begin_layout Standard
352 Los archivos que se encuentran en
353 \begin_inset Flex Noun
356 \begin_layout Plain Layout
362 se generan al configurar \SpecialChar LyX
364 Contienen varios valores predeterminados que se obtienen por inspección.
365 En general, no es buena idea modificarlos, puesto que podrían ser sobrescritos
366 en cualquier momento.
369 \begin_layout Labeling
370 \labelwidthstring 00.00.0000
371 \begin_inset Flex Code
374 \begin_layout Plain Layout
380 contiene valores predeterminados para varioscomandos.
383 \begin_layout Labeling
384 \labelwidthstring 00.00.0000
385 \begin_inset Flex Code
388 \begin_layout Plain Layout
394 contiene la lista de paquetes que han sido reconocidos por \SpecialChar LyX
396 No es utilizada por el propio \SpecialChar LyX
397 , pero la información extraida, y otras cosas
399 \begin_inset Flex Noun
402 \begin_layout Plain Layout
403 Ayuda\SpecialChar menuseparator
404 Configuración de \SpecialChar LaTeX
413 \begin_layout Labeling
414 \labelwidthstring 00.00.0000
415 \begin_inset Flex Code
418 \begin_layout Plain Layout
424 la lista de clases de textos encontradas en los directorios
425 \begin_inset Flex Code
428 \begin_layout Plain Layout
434 , junto con las clases de documentos \SpecialChar LaTeX
438 \begin_layout Labeling
439 \labelwidthstring 00.00.0000
440 \begin_inset Flex Code
443 \begin_layout Plain Layout
449 la lista de módulos de formato encontradas en los directorios
450 \begin_inset Flex Code
453 \begin_layout Plain Layout
462 \begin_layout Labeling
463 \labelwidthstring 00.00.0000
464 \begin_inset Flex Code
467 \begin_layout Plain Layout
473 lista de varios tipos de archivos relacionados con \SpecialChar LaTeX
474 encontrados en el sistema.
477 \begin_layout Labeling
478 \labelwidthstring 00.00.0000
479 \begin_inset Flex Code
482 \begin_layout Plain Layout
483 doc/\SpecialChar LaTeX
489 es generado automáticamente durante la configuración a partir del archivo
491 \begin_inset Flex Code
494 \begin_layout Plain Layout
502 Contiene información sobre la configuración de \SpecialChar LaTeX
506 \begin_layout Subsection
510 \begin_layout Standard
511 Estos directorios están duplicados en
512 \begin_inset Flex Code
515 \begin_layout Plain Layout
523 \begin_inset Flex Code
526 \begin_layout Plain Layout
533 Si determinado archivo existe en ambos sitios, se usará el de
534 \begin_inset Flex Code
537 \begin_layout Plain Layout
546 \begin_layout Labeling
547 \labelwidthstring 00.00.0000
548 \begin_inset Flex Code
551 \begin_layout Plain Layout
557 este directorio contiene archivos con la extensión
558 \begin_inset Flex Code
561 \begin_layout Plain Layout
567 que definen las combinaciones de teclas usadas en \SpecialChar LyX
569 Si ahí existe una versión nacional de un archivo bind llamado
570 \begin_inset Flex Code
573 \begin_layout Plain Layout
579 , ésta se usará en primer lugar.
582 \begin_layout Labeling
583 \labelwidthstring 00.00.0000
586 \begin_inset Flex Code
589 \begin_layout Plain Layout
597 contains files with the extension
598 \begin_inset Flex Code
601 \begin_layout Plain Layout
609 which define the diverse citation possibilities (natbib, biblatex etc.).
611 \begin_inset CommandInset ref
613 reference "subsec:Cite-Engine-Files"
623 \begin_layout Labeling
624 \labelwidthstring 00.00.0000
625 \begin_inset Flex Code
628 \begin_layout Plain Layout
634 contiene archivos gráficos que pueden ser incluidos en documentos.
638 \begin_layout Labeling
639 \labelwidthstring 00.00.0000
640 \begin_inset Flex Code
643 \begin_layout Plain Layout
649 contiene archivos de documentación de \SpecialChar LyX
650 (incluido éste que estás leyendo).
652 \begin_inset Flex Code
655 \begin_layout Plain Layout
662 merece atención especial, como se mencionó antes.
663 Si existe una versión nacional del documento de ayuda en el subdirectorio
665 \begin_inset Flex Code
668 \begin_layout Plain Layout
674 , éste se usará en primer lugar.
676 \begin_inset CommandInset ref
678 reference "cap:Internacionalización-de-LyX"
685 \begin_layout Labeling
686 \labelwidthstring 00.00.0000
687 \begin_inset Flex Code
690 \begin_layout Plain Layout
696 contiene archivos de ejemplo que describen el uso de algunas características.
697 Se puede acceder a ellos con el botón
698 \begin_inset Flex Noun
701 \begin_layout Plain Layout
707 en el buscador de archivos.
710 \begin_layout Labeling
711 \labelwidthstring 00.00.0000
712 \begin_inset Flex Code
715 \begin_layout Plain Layout
721 contiene archivos de imagen que se usan en el diálogo
722 \begin_inset Flex Noun
725 \begin_layout Plain Layout
726 Documento\SpecialChar menuseparator
733 Contiene además los iconos de las barras de herramientas y las enseñas
735 mostradas en su inicio.
738 \begin_layout Labeling
739 \labelwidthstring 00.00.0000
740 \begin_inset Flex Code
743 \begin_layout Plain Layout
749 contiene archivos de mapas de teclado.
751 \begin_inset CommandInset ref
753 reference "sec:keymap"
760 \begin_layout Labeling
761 \labelwidthstring 00.00.0000
762 \begin_inset Flex Code
765 \begin_layout Plain Layout
771 contiene las clases de textos y los archivos de los módulos descritos en
773 \begin_inset CommandInset ref
775 reference "cap:Instalación-de-nuevas"
782 \begin_layout Labeling
783 \labelwidthstring 00.00.0000
784 \begin_inset Flex Code
787 \begin_layout Plain Layout
793 contiene los guiones de Python
794 \begin_inset Flex Code
797 \begin_layout Plain Layout
803 para convertir entre versiones de \SpecialChar LyX
805 Pueden ejecutarse en línea de comandos si, digamos, quieres convertir ficheros
809 \begin_layout Labeling
810 \labelwidthstring 00.00.0000
811 \begin_inset Flex Code
814 \begin_layout Plain Layout
820 contiene algunos archivos que demuestran las capacidades de la característica
822 \begin_inset Flex Noun
825 \begin_layout Plain Layout
832 También contiene algunos guiones usados por el propio \SpecialChar LyX
836 \begin_layout Labeling
837 \labelwidthstring 00.00.0000
838 \begin_inset Flex Code
841 \begin_layout Plain Layout
847 contiene los archivos de plantillas estándar de \SpecialChar LyX
849 \begin_inset CommandInset ref
851 reference "subsec:Creación-de-plantillas"
858 \begin_layout Labeling
859 \labelwidthstring 00.00.0000
860 \begin_inset Flex Code
863 \begin_layout Plain Layout
869 contiene archivos con la extensión
870 \begin_inset Flex Code
873 \begin_layout Plain Layout
879 que definen la interfaz de usuario de \SpecialChar LyX
881 Esto es, archivos que definen qué ítems aparecen en qué menús y barras
887 \begin_layout Labeling
888 \labelwidthstring 00.00.0000
891 \begin_inset Flex Code
894 \begin_layout Plain Layout
902 contains files with the extension
903 \begin_inset Flex Code
906 \begin_layout Plain Layout
914 which define the templates for the insertion of external material to a
917 \begin_inset CommandInset ref
919 reference "chap:Including-External-Material"
926 \begin_layout Subsection
927 Archivos que no necesitan modificaciones
930 \begin_layout Standard
931 Estos archivos son utilizados internamente por \SpecialChar LyX
932 y generalmente no deben
933 ser modificados sino por los desarrolladores.
936 \begin_layout Labeling
937 \labelwidthstring 00.00.0000
938 \begin_inset Flex Code
941 \begin_layout Plain Layout
947 contiene la lista de desarrolladores de \SpecialChar LyX
949 Se muestra con el menú
950 \begin_inset Flex Noun
953 \begin_layout Plain Layout
954 Ayuda\SpecialChar menuseparator
955 Acerca de \SpecialChar LyX
964 \begin_layout Labeling
965 \labelwidthstring 00.00.0000
966 \begin_inset Flex Code
969 \begin_layout Plain Layout
975 es un guión de \SpecialChar LaTeX
976 usado durante el proceso de configuración.
977 No lo ejecutes directamente.
980 \begin_layout Labeling
981 \labelwidthstring 00.00.0000
982 \begin_inset Flex Code
985 \begin_layout Plain Layout
991 es el guión utilizado para la reconfiguración de \SpecialChar LyX
993 Genera los archivos de configuración en el directorio desde el que se ha
997 \begin_layout Subsection
998 Otros archivos en un par de líneas
1001 \begin_layout Labeling
1002 \labelwidthstring 00.00.0000
1003 \begin_inset Flex Code
1006 \begin_layout Plain Layout
1012 contiene tablas que describen cómo los distintos códigos de caracteres
1013 se transcriben a Unicode.
1016 \begin_layout Labeling
1017 \labelwidthstring 00.00.0000
1018 \begin_inset Flex Code
1021 \begin_layout Plain Layout
1027 contiene una lista de los idiomas actualmente soportados por \SpecialChar LyX
1031 \begin_layout Labeling
1032 \labelwidthstring 00.00.0000
1033 \begin_inset Flex Code
1036 \begin_layout Plain Layout
1042 contiene información sobre tipografías soportadas.
1045 \begin_layout Labeling
1046 \labelwidthstring 00.00.0000
1047 \begin_inset Flex Code
1050 \begin_layout Plain Layout
1056 contiene traducciones para entornos de párrafo (véase
1057 \begin_inset CommandInset ref
1059 reference "subsec:I18n"
1066 \begin_layout Labeling
1067 \labelwidthstring 00.00.0000
1068 \begin_inset Flex Code
1071 \begin_layout Plain Layout
1077 contiene información sobre glifos unicode y su soporte por \SpecialChar LyX
1078 vía \SpecialChar LaTeX
1082 \begin_layout Section
1083 Directorio de configuración personal
1086 \begin_layout Standard
1087 Aunque uses \SpecialChar LyX
1088 como usuario sin privilegios, puedes adaptar su configuración
1091 \begin_inset Flex Code
1094 \begin_layout Plain Layout
1100 contiene todos los archivos de configuración personal.
1101 Es el directorio especificado como
1102 \begin_inset Quotes cld
1105 Directorio del usuario
1106 \begin_inset Quotes crd
1110 \begin_inset Flex Noun
1113 \begin_layout Plain Layout
1114 Ayuda\SpecialChar menuseparator
1115 Acerca de \SpecialChar LyX
1122 Este directorio se usa como espejo de
1123 \begin_inset Flex Code
1126 \begin_layout Plain Layout
1133 , que quiere decir que cada archivo en
1134 \begin_inset Flex Code
1137 \begin_layout Plain Layout
1143 es un equivalente del correspondiente archivo en
1144 \begin_inset Flex Code
1147 \begin_layout Plain Layout
1155 Cualquiera de los archivos de configuración descritos en las secciones
1156 anteriores puede estar en el directorio global del sistema, en cuyo caso
1157 afectará a todos los usuarios, y en tu directorio local para tu propio
1161 \begin_layout Standard
1162 Para clarificar las cosas vamos a poner unos ejemplos:
1165 \begin_layout Itemize
1166 Las preferencias establecidas en el diálogo
1167 \begin_inset Flex Noun
1170 \begin_layout Plain Layout
1171 Herramientas\SpecialChar menuseparator
1177 se guardan en un archivo
1178 \begin_inset Flex Code
1181 \begin_layout Plain Layout
1188 \begin_inset Flex Code
1191 \begin_layout Plain Layout
1200 \begin_layout Itemize
1201 Si reconfiguras mediante
1202 \begin_inset Flex Noun
1205 \begin_layout Plain Layout
1206 Herramientas\SpecialChar menuseparator
1214 \begin_inset Newline linebreak
1218 \begin_inset Flex Code
1221 \begin_layout Plain Layout
1227 , y los archivos resultantes se escriben en tu directorio de usuario.
1228 Esto significa que cualquier archivo adicional de clase de texto que pudieras
1230 \begin_inset Flex Code
1233 \begin_layout Plain Layout
1239 se sumará a la lista de clases en el diálogo
1240 \begin_inset Flex Noun
1243 \begin_layout Plain Layout
1244 Documento\SpecialChar menuseparator
1253 \begin_layout Itemize
1254 Si consigues alguna documentación actualizada del sitio de \SpecialChar LyX
1256 instalarla porque no tienes permisos para administrar tu sistema, solo
1257 has de copiar los archivos en
1258 \begin_inset Flex Code
1261 \begin_layout Plain Layout
1267 ¡y las entradas del menú
1268 \begin_inset Flex Noun
1271 \begin_layout Plain Layout
1280 \begin_layout Section
1281 Ejecutar \SpecialChar LyX
1282 con múltiples configuraciones
1285 \begin_layout Standard
1286 La libertad de configuración del directorio local puede no ser suficiente
1287 si quieres tener a tu disposición más de una configuración.
1288 Por ejemplo, si quisieras usar diferentes combinaciones de teclas o configuraci
1289 ones de impresora en distintos momentos.
1290 Esto lo puedes conseguir teniendo varios de estos directorios.
1291 Después especificas qué directorio usar al arrancar.
1294 \begin_layout Standard
1295 Ejecutando \SpecialChar LyX
1296 con la opción de línea de comandos
1297 \begin_inset Flex Code
1300 \begin_layout Plain Layout
1310 hace que el programa lea la configuración de ese directorio y no del predetermi
1312 (Puedes determinar el directorio predeterminado ejecutando \SpecialChar LyX
1315 \begin_inset Flex Code
1318 \begin_layout Plain Layout
1325 Si el directorio especificado no existe, \SpecialChar LyX
1326 propone su creación, tal como
1327 hace con el directorio predeterminado la primera vez que se ejecuta el
1329 Puedes modificar las opciones de configuración en ese directorio personal
1330 adicional exactamente igual que para el directorio predeterminado.
1331 Estos directorios son completamente independientes (pero sigue leyendo).
1332 Ten presente que establecer algún valor para la variable de entorno
1333 \begin_inset Flex Code
1336 \begin_layout Plain Layout
1342 tiene exactamente el mismo efecto.
1345 \begin_layout Standard
1346 Tener varias configuraciones también requiere más mantenimiento: si quieres
1347 añadir un nuevo formato a
1348 \begin_inset Flex Code
1351 \begin_layout Plain Layout
1357 que esté disponible en todas tus configuraciones, debes añadirlo a cada
1358 directorio por separado.
1359 Puedes evitarlo con el siguiente truco: después de que \SpecialChar LyX
1361 adicional, la mayoría de los subdirectorios (véase arriba) están vacíos.
1362 Si quieres que la nueva configuración sea una réplica de una existente,
1363 reemplaza el subdirectorio vacío con un enlace simbólico que apunte al
1364 subdirectorio deseado.
1365 Ten precaución, no obstante, con el subdirectorio
1366 \begin_inset Flex Code
1369 \begin_layout Plain Layout
1375 , puesto que contiene un archivo escrito por el guión de configuración (también
1377 \begin_inset Flex Noun
1380 \begin_layout Plain Layout
1381 Herramientas\SpecialChar menuseparator
1387 ) que es específico de la configuración.
1390 \begin_layout Chapter
1391 El diálogo Preferencias
1394 \begin_layout Standard
1395 Todas las opciones del diálogo de preferencias se describen en el apéndice
1409 Ahí encontrarás más detalles sobre algunas opciones.
1412 \begin_layout Section
1414 \begin_inset CommandInset label
1423 \begin_layout Standard
1424 El primer paso es definir tus propios formatos de archivo si no lo están
1426 Para hacerlo abre el diálogo
1427 \begin_inset Flex Noun
1430 \begin_layout Plain Layout
1431 Herramientas\SpecialChar menuseparator
1439 \begin_inset Flex Noun
1442 \begin_layout Plain Layout
1443 Gestión de archivos\SpecialChar menuseparator
1450 \begin_inset Flex Noun
1453 \begin_layout Plain Layout
1454 Nuevo\SpecialChar ldots
1460 para definir el nuevo formato.
1462 \begin_inset Flex Noun
1465 \begin_layout Plain Layout
1471 es para el nombre que identificará el formato en la GUI (interfaz gráfica
1474 \begin_inset Flex Noun
1477 \begin_layout Plain Layout
1483 se usa para identificar el formato internamente.
1484 Además deberás introducir una extensión de archivo.
1485 Todos estos son imprescindibles.
1487 \begin_inset Flex Noun
1490 \begin_layout Plain Layout
1496 sirve para asociar una combinación de teclas en los menús.
1497 (Por ejemplo, teclear
1498 \begin_inset Flex Noun
1501 \begin_layout Plain Layout
1508 \begin_inset Flex Noun
1511 \begin_layout Plain Layout
1514 Documento\SpecialChar menuseparator
1517 \SpecialChar menuseparator
1525 \begin_inset Flex Noun
1528 \begin_layout Plain Layout
1537 \begin_layout Standard
1538 Un Formato puede tener un
1539 \begin_inset Flex Noun
1542 \begin_layout Plain Layout
1549 \begin_inset Flex Noun
1552 \begin_layout Plain Layout
1559 Por ejemplo, podrías usar
1560 \begin_inset Flex Noun
1563 \begin_layout Plain Layout
1569 para ver archivos PostScript.
1570 Puedes introducir el comando para iniciar el programa en el campo correspondien
1572 Al definir este comando puedes usar las cuatro variables listadas en la
1574 El visor se lanza cuando ves una imagen en \SpecialChar LyX
1576 \begin_inset Flex Noun
1579 \begin_layout Plain Layout
1582 Documento\SpecialChar menuseparator
1589 El editor se lanza cuando pulsas el botón
1590 \begin_inset Flex Noun
1593 \begin_layout Plain Layout
1599 que se muestra al hacer clic derecho en un gráfico o en un material externo,
1603 \begin_layout Standard
1605 \begin_inset Flex Noun
1608 \begin_layout Plain Layout
1614 de un formato es opcional, pero si se especifica, debe ser único para todos
1616 Se usa para detectar archivos de ese formato de los contenidos de archivo.
1617 Para algunos formatos de archivo importantes no hay tipo MIME oficialmente
1619 \begin_inset CommandInset href
1622 target "http://www.iana.org/assignments/media-types/"
1628 Por tanto \SpecialChar LyX
1629 usa la lista extensa de tipos MIME especificada por
1630 \begin_inset CommandInset href
1632 name "freedesktop.org"
1633 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1641 \begin_layout Standard
1643 \begin_inset Flex Noun
1646 \begin_layout Plain Layout
1647 Formato de documento
1652 indica a \SpecialChar LyX
1653 que ese formato es adecuado para exportar.
1654 Si esto está marcado y existe una ruta de conversión adecuada (véase
1655 \begin_inset CommandInset ref
1657 reference "sec:Convertidores"
1661 ), el formato aparecerá en el menú
1662 \begin_inset Flex Noun
1665 \begin_layout Plain Layout
1666 Archivo\SpecialChar menuseparator
1673 También aparecerá en el menú
1674 \begin_inset Flex Noun
1677 \begin_layout Plain Layout
1680 Documento\SpecialChar menuseparator
1686 si se ha especificado un visor para ese formato.
1687 Los formatos puros de imagen, como
1688 \begin_inset Flex Code
1691 \begin_layout Plain Layout
1697 , no deberían usar esta opción.
1698 Los formatos que pueden corresponder tanto a gráficos vectoriales como
1700 \begin_inset Flex Code
1703 \begin_layout Plain Layout
1709 , sí deberían usarla.
1712 \begin_layout Standard
1714 \begin_inset Flex Noun
1717 \begin_layout Plain Layout
1718 Formato de gráfico vectorial
1723 indica a \SpecialChar LyX
1724 que el formato puede contener gráficos vectoriales.
1725 Esta información se emplea para determinar el formato objetivo de los gráficos
1726 incluidos para la exportación
1727 \begin_inset Flex Noun
1730 \begin_layout Plain Layout
1737 Los gráficos incluidos pueden requerir conversión a
1738 \begin_inset Flex Noun
1741 \begin_layout Plain Layout
1748 \begin_inset Flex Noun
1751 \begin_layout Plain Layout
1758 \begin_inset Flex Noun
1761 \begin_layout Plain Layout
1768 \begin_inset Flex Noun
1771 \begin_layout Plain Layout
1777 no puede manejar otros formatos de imagen.
1778 Si un archivo incluido no está ya en formato
1779 \begin_inset Flex Noun
1782 \begin_layout Plain Layout
1789 \begin_inset Flex Noun
1792 \begin_layout Plain Layout
1799 \begin_inset Flex Noun
1802 \begin_layout Plain Layout
1809 \begin_inset Flex Noun
1812 \begin_layout Plain Layout
1818 si la opción de formato vectorial está marcada, y si no a
1819 \begin_inset Flex Noun
1822 \begin_layout Plain Layout
1832 \begin_layout Section
1836 \begin_layout Standard
1837 Puesto que todas las conversiones de un formato a otro tienen lugar en el
1838 archivo temporal de \SpecialChar LyX
1839 , a veces es necesario modificar un archivo antes de
1840 copiarlo en el directorio temporal para que la conversión se pueda realizar.
1844 \begin_layout Plain Layout
1845 Por ejemplo, el archivo puede hacer referencia a otros archivos —imágenes,
1846 por ejemplo— mediante nombres de archivo relativos, y estos pueden resultar
1847 inválidos cuando el archivo se copia en el directorio temporal.
1852 Esto lo hace un Copiador: copia un archivo a (o desde) el directorio temporal
1853 y puede modificarlo en el proceso.
1856 \begin_layout Standard
1857 Las definiciones de los copiadores pueden usar ocho variables:
1860 \begin_layout Labeling
1861 \labelwidthstring 00.00.0000
1862 \begin_inset Flex Code
1865 \begin_layout Plain Layout
1871 El directorio de sistema de \SpecialChar LyX
1873 \begin_inset space \thinspace{}
1877 \begin_inset space \space{}
1881 \begin_inset Flex Noun
1884 \begin_layout Plain Layout
1893 \begin_layout Labeling
1894 \labelwidthstring 00.00.0000
1895 \begin_inset Flex Code
1898 \begin_layout Plain Layout
1904 El archivo de entrada
1907 \begin_layout Labeling
1908 \labelwidthstring 00.00.0000
1909 \begin_inset Flex Code
1912 \begin_layout Plain Layout
1918 El archivo de salida
1921 \begin_layout Labeling
1922 \labelwidthstring 00.00.0000
1923 \begin_inset Flex Code
1926 \begin_layout Plain Layout
1932 Nombre base (sin extensión) en el directorio temporal de \SpecialChar LyX
1936 \begin_layout Labeling
1937 \labelwidthstring 00.00.0000
1938 \begin_inset Flex Code
1941 \begin_layout Plain Layout
1947 Ruta completa al directorio temporal de \SpecialChar LyX
1951 \begin_layout Labeling
1952 \labelwidthstring 00.00.0000
1953 \begin_inset Flex Code
1956 \begin_layout Plain Layout
1962 Ruta completa al archivo original \SpecialChar LyX
1966 \begin_layout Labeling
1967 \labelwidthstring 00.00.0000
1968 \begin_inset Flex Code
1971 \begin_layout Plain Layout
1977 Nombre del archivo \SpecialChar LyX
1978 (sin ruta de directorio)
1981 \begin_layout Labeling
1982 \labelwidthstring 00.00.0000
1983 \begin_inset Flex Code
1986 \begin_layout Plain Layout
1992 El `nombre \SpecialChar LaTeX
1996 \begin_layout Standard
1997 El último debería ser el nombre de archivo tal como debería ponerse en un
1998 comando \SpecialChar LaTeX
2006 Solo es pertinente cuando se exportan archivos adecuados para esa inclusión.
2009 \begin_layout Standard
2010 Los copiadores pueden emplearse para hacer casi cualquier cosa con archivos
2012 Por ejemplo, supongamos que quieres copiar archivos
2013 \begin_inset Flex Noun
2016 \begin_layout Plain Layout
2022 generados a un directorio especial,
2023 \begin_inset Flex Code
2026 \begin_layout Plain Layout
2033 En ese caso deberías escribir un guión para intérprete de comandos tal
2037 \begin_layout Standard
2038 \begin_inset listings
2042 \begin_layout Plain Layout
2047 \begin_layout Plain Layout
2052 \begin_layout Plain Layout
2054 TOFILE=`basename $2`
2057 \begin_layout Plain Layout
2059 cp $FROMFILE /home/you/pdf/$TOFILE
2064 Guárdalo en tu directorio local, —
2065 \begin_inset Flex Code
2068 \begin_layout Plain Layout
2069 /home/you/.lyx/scripts/pdfcopier.sh
2074 , supongamos— y hazlo ejecutable si ello es necesario en tu sistema.
2075 Después, en el diálogo
2076 \begin_inset Flex Noun
2079 \begin_layout Plain Layout
2080 Herramientas\SpecialChar menuseparator
2087 \begin_inset Flex Noun
2090 \begin_layout Plain Layout
2091 Gestión de archivos\SpecialChar menuseparator
2097 , selecciona el formato
2098 \begin_inset Flex Noun
2101 \begin_layout Plain Layout
2107 —u otro de los formatos pdf— e introduce
2108 \begin_inset Flex Code
2111 \begin_layout Plain Layout
2112 pdfcopier.sh $$i $$o
2118 \begin_inset Flex Noun
2121 \begin_layout Plain Layout
2130 \begin_layout Standard
2132 usa los copiadores en varias de sus propias conversiones.
2133 Por ejemplo, si se encuentran los programas apropiados, \SpecialChar LyX
2134 instalará copiadores
2136 \begin_inset Flex Noun
2139 \begin_layout Plain Layout
2146 \begin_inset Flex Noun
2149 \begin_layout Plain Layout
2151 \begin_inset space ~
2160 Cuando se exporta a estos formatos, el copiador se encarga de que se copien
2161 no solo el archivo HTML principal, sino también los diversos archivos asociados
2162 (estilos, imágenes, etc).
2163 Todos estos archivos se escriben en un subdirectorio del directorio en
2164 el que se encuentre el archivo original de \SpecialChar LyX
2169 \begin_layout Plain Layout
2170 Este copiador puede adaptarse.
2171 El argumento opcional
2172 \begin_inset Quotes cld
2176 \begin_inset Quotes crd
2179 acepta una lista, separada por comas, con las extensiones que deben copiarse;
2180 si se omite se copiarán todos los archivos.
2182 \begin_inset Quotes cld
2186 \begin_inset Quotes crd
2189 determina la extensión añadida al directorio generado.
2191 \begin_inset Quotes cld
2195 \begin_inset Flex Noun
2198 \begin_layout Plain Layout
2206 \begin_inset Quotes crd
2209 , así, el HTML generado a partir de
2210 \begin_inset Flex Noun
2213 \begin_layout Plain Layout
2220 \begin_inset Flex Noun
2223 \begin_layout Plain Layout
2224 /ruta/a/archivo.html.\SpecialChar LyX
2238 \begin_layout Section
2240 \begin_inset CommandInset label
2242 name "sec:Convertidores"
2249 \begin_layout Standard
2250 Puedes definir tus propios convertidores para convertir archivos entre distintos
2252 Se hace en el diálogo
2253 \begin_inset Flex Noun
2256 \begin_layout Plain Layout
2257 Herramientas\SpecialChar menuseparator
2258 Preferencias\SpecialChar menuseparator
2259 Gestión de archivos\SpecialChar menuseparator
2268 \begin_layout Standard
2269 Para definir un nuevo convertidor de un formato a otro, selecciónalos en
2270 las listas desplegables
2271 \begin_inset Flex Noun
2274 \begin_layout Plain Layout
2276 \begin_inset space ~
2285 \begin_inset Flex Noun
2288 \begin_layout Plain Layout
2290 \begin_inset space ~
2298 , introduce el comando necesario para la conversión y después pulsa el botón
2300 \begin_inset Flex Noun
2303 \begin_layout Plain Layout
2310 En la definición de convertidores se pueden usar distintas variables:
2313 \begin_layout Labeling
2314 \labelwidthstring 00.00.0000
2315 \begin_inset Flex Code
2318 \begin_layout Plain Layout
2324 El directorio de sistema de \SpecialChar LyX
2328 \begin_layout Labeling
2329 \labelwidthstring 00.00.0000
2330 \begin_inset Flex Code
2333 \begin_layout Plain Layout
2339 El archivo de entrada
2342 \begin_layout Labeling
2343 \labelwidthstring 00.00.0000
2344 \begin_inset Flex Code
2347 \begin_layout Plain Layout
2353 El archivo de salida
2356 \begin_layout Labeling
2357 \labelwidthstring 00.00.0000
2358 \begin_inset Flex Code
2361 \begin_layout Plain Layout
2367 El nombre del archivo base del archivo de entrada (sin la extensión)
2370 \begin_layout Labeling
2371 \labelwidthstring 00.00.0000
2372 \begin_inset Flex Code
2375 \begin_layout Plain Layout
2381 La ruta al archivo de entrada
2384 \begin_layout Labeling
2385 \labelwidthstring 00.00.0000
2386 \begin_inset Flex Code
2389 \begin_layout Plain Layout
2395 La ruta al archivo de entrada original (esto es diferente de $$p cuando
2396 se invoca una cadena de convertidores).
2399 \begin_layout Labeling
2400 \labelwidthstring 00.00.0000
2401 \begin_inset Flex Code
2404 \begin_layout Plain Layout
2410 El nombre iconv para la codificación del documento.
2413 \begin_layout Standard
2415 \begin_inset Flex Noun
2418 \begin_layout Plain Layout
2424 puedes introducir los siguientes, separados por comas:
2427 \begin_layout Labeling
2428 \labelwidthstring 00.00.0000
2429 \begin_inset Flex Code
2432 \begin_layout Plain Layout
2438 Este convertidor ejecuta alguna forma de \SpecialChar LaTeX
2440 Hará estar disponibles los registros de errores \SpecialChar LaTeX
2445 \begin_layout Labeling
2446 \labelwidthstring 00.00.0000
2447 \begin_inset Flex Code
2450 \begin_layout Plain Layout
2456 Necesita el archivo \SpecialChar LaTeX
2458 \begin_inset Flex Noun
2461 \begin_layout Plain Layout
2470 \begin_layout Labeling
2471 \labelwidthstring 00.00.0000
2472 \begin_inset Flex Code
2475 \begin_layout Plain Layout
2482 \begin_inset Quotes cld
2486 \begin_inset Quotes crd
2489 archivo del trastero, que en la práctica quiere decir un archivo \SpecialChar LaTeX
2491 el que queremos exportar, sin
2492 \begin_inset Flex Code
2495 \begin_layout Plain Layout
2504 \begin_layout Labeling
2505 \labelwidthstring 00.00.0000
2506 \begin_inset Flex Code
2509 \begin_layout Plain Layout
2518 \begin_layout Standard
2519 Las tres siguientes no son realmente indicadores porque aceptan un argumento
2521 \begin_inset Flex Noun
2524 \begin_layout Plain Layout
2526 \begin_inset space ~
2530 \begin_inset space ~
2541 \begin_layout Labeling
2542 \labelwidthstring 00.00.0000
2543 \begin_inset Flex Code
2546 \begin_layout Plain Layout
2552 Si se pone, el error estándar del convertidor se redirecciona a un archivo
2554 \begin_inset Flex Code
2557 \begin_layout Plain Layout
2563 , y el guión dado como argumento se ejecutará como:
2564 \begin_inset Flex Code
2567 \begin_layout Plain Layout
2568 script <infile.out >infile.log
2574 El argumento puede contener
2575 \begin_inset Flex Code
2578 \begin_layout Plain Layout
2587 \begin_layout Labeling
2588 \labelwidthstring 00.00.0000
2589 \begin_inset Flex Code
2592 \begin_layout Plain Layout
2598 El nombre del directorio en el que el convertidor descargará los archivos
2601 no creará ese directorio y no copia nada en él, aunque copiará este directorio
2603 El argumento puede contener
2604 \begin_inset Flex Code
2607 \begin_layout Plain Layout
2613 , que será reemplazado por el nombre base de los archivos de entrada y de
2614 salida, respectivamente, cuando se copia el directorio.
2615 \begin_inset Newline newline
2618 Ten en cuenta que resultdir y usetempdir no tienen sentido juntos.
2619 El último será ignorado si se da el primero.
2622 \begin_layout Labeling
2623 \labelwidthstring 00.00.0000
2624 \begin_inset Flex Code
2627 \begin_layout Plain Layout
2633 Determina el nombre del archivo de salida y puede contener
2634 \begin_inset Flex Code
2637 \begin_layout Plain Layout
2644 Solo es sensible con
2645 \begin_inset Flex Code
2648 \begin_layout Plain Layout
2654 y además es opcional; si no se da, por omisión es `index'.
2657 \begin_layout Standard
2658 Ninguno de estos tres últimos se usan actualmente en ninguno de los convertidore
2659 s que son instalados por \SpecialChar LyX
2663 \begin_layout Standard
2664 No tienes que definir convertidores entre todos los formatos que quieras
2666 Por ejemplo, observarás que no hay convertidor `\SpecialChar LyX
2667 a PostScript', sin embargo
2669 exporta a PostScript.
2670 Lo hace creando primero un archivo \SpecialChar LaTeX
2671 (no es necesario un convertidor para
2672 esto), que luego es convertido a DVI mediante el convertidor `\SpecialChar LaTeX
2674 y por último convierte el archivo DVI resultante a PostScript.
2676 encuentra automáticamente estas 'cadenas' de convertidores y siempre escogerá
2677 la cadena más corta posible.
2678 Sin embargo, aún puedes definir múltiples métodos de conversión entre formatos.
2679 Por ejemplo, la configuración estándar de \SpecialChar LyX
2680 provee cinco caminos para convertir
2685 \begin_layout Enumerate
2686 directamente, usando
2687 \begin_inset Flex Noun
2690 \begin_layout Plain Layout
2699 \begin_layout Enumerate
2700 mediante (DVI y) PostScript, usando
2701 \begin_inset Flex Noun
2704 \begin_layout Plain Layout
2713 \begin_layout Enumerate
2714 mediante DVI, usando
2715 \begin_inset Flex Noun
2718 \begin_layout Plain Layout
2727 \begin_layout Enumerate
2728 directamente, usando
2729 \begin_inset Flex Noun
2732 \begin_layout Plain Layout
2742 \begin_layout Enumerate
2743 directamente, usando
2744 \begin_inset Flex Noun
2747 \begin_layout Plain Layout
2757 \begin_layout Standard
2758 Para construir estas cadenas alternativas tienes que definir múltiples 'formatos
2759 de archivo' objetivo, como se describe en la sección
2760 \begin_inset space ~
2764 \begin_inset CommandInset ref
2766 reference "sec:Formatos"
2771 Por ejemplo, en la configuración estándar, se definen los formatos llamados
2773 \begin_inset Flex Noun
2776 \begin_layout Plain Layout
2783 \begin_inset Flex Noun
2786 \begin_layout Plain Layout
2793 \begin_inset Flex Noun
2796 \begin_layout Plain Layout
2803 \begin_inset Flex Noun
2806 \begin_layout Plain Layout
2813 \begin_inset Flex Noun
2816 \begin_layout Plain Layout
2823 \begin_inset Flex Noun
2826 \begin_layout Plain Layout
2833 \begin_inset Flex Noun
2836 \begin_layout Plain Layout
2843 \begin_inset Flex Noun
2846 \begin_layout Plain Layout
2854 \begin_inset Flex Noun
2857 \begin_layout Plain Layout
2864 \begin_inset Flex Noun
2867 \begin_layout Plain Layout
2874 ), todos ellos compartiendo la extensión
2875 \begin_inset Flex Noun
2878 \begin_layout Plain Layout
2884 , y que corresponden a los métodos de conversión antes mencionados.
2887 \begin_layout Chapter
2888 Internacionalización de \SpecialChar LyX
2890 \begin_inset CommandInset label
2892 name "cap:Internacionalización-de-LyX"
2899 \begin_layout Standard
2901 soporta el uso de una interfaz traducida.
2902 La última vez que lo comprobamos, \SpecialChar LyX
2903 suministraba textos en treinta idiomas.
2904 El idioma elegido se denomina
2909 (Para lecciones adicionales sobre configuración de idiomas, véase también
2911 \begin_inset Quotes cld
2915 \begin_inset Quotes crd
2918 del sistema operativo.
2919 En Linux, la página de manual de
2920 \begin_inset Flex Code
2923 \begin_layout Plain Layout
2929 es un buen punto de partida).
2933 \begin_layout Standard
2934 Hay que advertir que estas traducciones funcionarán pero tienen algunos
2936 En particular, todos los diálogos se han diseñado con el inglés en mente,
2937 lo que significa que algún texto traducido podría ser demasiado largo para
2938 ajustarse al espacio asignado.
2939 Esto solo es un problema de presentación en pantalla y no causará ningún
2941 Además, encontrarás que algunas traducciones no definen atajos de teclado
2943 A veces, simplemente no hay letras libres suficientes para ello.
2944 Otras veces, el traductor todavía no lo ha completado.
2945 Nuestro equipo de traducción, al que podrías unirte si quieres,
2949 \begin_layout Plain Layout
2950 Si usas con fluidez un idioma distinto del inglés, ¡unirse a estos equipos
2951 es una estupenda forma de corresponder a la comunidad \SpecialChar LyX
2957 intentará, por supuesto, corregir estas deficiencias en futuras versiones
2962 \begin_layout Section
2963 Traducción de \SpecialChar LyX
2967 \begin_layout Subsection
2968 Traducción de la interfaz gráfica de usuario (mensajes de texto)
2971 \begin_layout Standard
2973 utiliza la biblioteca GNU
2974 \begin_inset Flex Code
2977 \begin_layout Plain Layout
2983 para manejar la internacionalización de la interfaz.
2984 Para que \SpecialChar LyX
2985 hable tu idioma preferido en todos los menús y diálogos es necesario
2987 \begin_inset Flex Code
2990 \begin_layout Plain Layout
2997 Si está disponible, tendrás que generar a partir de él un archivo
2998 \begin_inset Flex Code
3001 \begin_layout Plain Layout
3008 El procedimiento para hacer todo esto se explica en la documentación de
3010 \begin_inset Flex Code
3013 \begin_layout Plain Layout
3020 Puedes hacer esto solo para ti, pero también podrías compartir el resultado
3021 de tu trabajo con el resto de la comunidad \SpecialChar LyX
3023 Envía un mensaje a la lista de desarrolladores de \SpecialChar LyX
3024 para más información
3025 sobre cómo proceder.
3028 \begin_layout Standard
3029 En resumen, esto es lo que deberías hacer (xx indica el código del idioma):
3032 \begin_layout Itemize
3033 Inspecciona el código fuente de \SpecialChar LyX
3036 \begin_inset CommandInset href
3038 name "información en la web"
3039 target "https://www.lyx.org/HowToUseGIT"
3047 \begin_layout Itemize
3049 \begin_inset Flex Code
3052 \begin_layout Plain Layout
3058 a la carpeta de los archivos
3059 \begin_inset Flex Code
3062 \begin_layout Plain Layout
3069 Después lo renombras como
3070 \begin_inset Flex Code
3073 \begin_layout Plain Layout
3081 \begin_inset Flex Code
3084 \begin_layout Plain Layout
3090 no está por ningún sitio, puede rehacerse con el comando de consola
3091 \begin_inset Flex Code
3094 \begin_layout Plain Layout
3100 en ese directorio, o puedes usar como muestra un archivo
3101 \begin_inset Flex Code
3104 \begin_layout Plain Layout
3110 de algún otro idioma).
3113 \begin_layout Itemize
3115 \begin_inset Flex Code
3118 \begin_layout Plain Layout
3128 \begin_layout Plain Layout
3129 Es un archivo de texto, se puede editar en cualquier editor de texto.
3130 Pero hay programas especializados para editar estos archivos, como
3134 (para todas las plataformas) o
3143 tiene un `modo' para editar archivos
3144 \begin_inset Flex Code
3147 \begin_layout Plain Layout
3154 \begin_inset Flex URL
3157 \begin_layout Plain Layout
3159 https://www.gnu.org/software/gettext/manual/html_node/PO-Mode.html
3171 Para algunos nombres de menú y otros artilugios hay además atajos de teclado
3172 que deberían traducirse.
3173 Dichas teclas se marcan con una `|' delante, y deberían traducirse de acuerdo
3174 con las palabras y frases del idioma.
3175 Además tendrías que rellenar la información al principio del nuevo archivo
3177 \begin_inset Flex Code
3180 \begin_layout Plain Layout
3186 , correo electrónico, etc., para que la gente sepa dónde enviarte sugerencias
3187 o divertidas diatribas.
3190 \begin_layout Standard
3191 Si estás haciendo esto solo para ti, entonces:
3194 \begin_layout Itemize
3196 \begin_inset Flex Code
3199 \begin_layout Plain Layout
3207 \begin_inset Flex Code
3210 \begin_layout Plain Layout
3211 msgfmt -o xx.mo < xx.po
3219 \begin_layout Itemize
3221 \begin_inset Flex Code
3224 \begin_layout Plain Layout
3230 a tu directorio local, en la carpeta apropiada para los mensajes de las
3231 aplicaciones en el idioma xx, con el nombre
3232 \begin_inset Flex Code
3235 \begin_layout Plain Layout
3242 \begin_inset space \thinspace{}
3246 \begin_inset space \space{}
3250 \begin_inset Flex Code
3253 \begin_layout Plain Layout
3254 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3264 \begin_layout Standard
3265 Sin embargo, ya se ha dicho, lo mejor sería poder añadir el nuevo archivo
3267 \begin_inset Flex Code
3270 \begin_layout Plain Layout
3276 a la distribución de \SpecialChar LyX
3277 , para que otros puedan usarlo.
3278 Esto requiere hacer cambios en \SpecialChar LyX
3279 , así que envía un correo a la lista de
3280 desarrolladores si estás interesado en hacerlo.
3283 \begin_layout Subsubsection
3287 \begin_layout Standard
3288 A veces resulta que un mensaje en inglés tiene diversas traducciones en
3290 Un ejemplo es la palabra
3291 \begin_inset Flex Code
3294 \begin_layout Plain Layout
3300 , que en alemán se puede traducir por Nach o Bis, según el sentido exacto
3302 \begin_inset Quotes cld
3306 \begin_inset Quotes crd
3311 \begin_inset Flex Code
3314 \begin_layout Plain Layout
3320 no maneja tales traducciones ambiguas.
3321 Por lo tanto, debes añadir alguna información contextual al mensaje: en
3323 \begin_inset Flex Code
3326 \begin_layout Plain Layout
3333 \begin_inset Flex Code
3336 \begin_layout Plain Layout
3337 To[[as in 'From format x to format y']]
3343 \begin_inset Flex Code
3346 \begin_layout Plain Layout
3347 To[[as in 'From page x to page y']]
3353 Ahora las dos apariciones de
3354 \begin_inset Flex Code
3357 \begin_layout Plain Layout
3364 \begin_inset Flex Code
3367 \begin_layout Plain Layout
3373 y pueden traducirse correctamente por Nach y Bis, respectivamente.
3376 \begin_layout Standard
3377 Por supuesto que la información contextual debe eliminarse del mensaje original
3378 si no se usa en la traducción.
3379 Por eso hay que ponerla entre dobles corchetes al final del mensaje (véase
3381 El mecanismo de traducción de \SpecialChar LyX
3382 asegura que todo lo que va entre corchetes
3383 al final de los mensajes se quita antes de mostrarlos.
3386 \begin_layout Subsection
3387 Traducción de la documentación
3390 \begin_layout Standard
3391 La documentación en línea (menú
3394 \begin_inset Flex Noun
3397 \begin_layout Plain Layout
3411 ) puede (¡debería!) traducirse.
3412 Si hay versiones traducidas de la documentación disponible
3416 \begin_layout Plain Layout
3417 Hasta marzo de 2008, al menos algunos de los documentos han sido traducidos
3418 a catorce idiomas, y el Tutorial está disponible en algunos más.
3424 \begin_inset Flex Code
3427 \begin_layout Plain Layout
3433 está adecuadamente configurado, \SpecialChar LyX
3435 \begin_inset Quotes cld
3439 \begin_inset Quotes crd
3444 busca las traducciones en
3447 \begin_inset Flex Code
3450 \begin_layout Plain Layout
3469 es el código para el idioma en uso actualmente.
3470 Si no hay versión traducida se presentará por omisión la versión inglesa
3472 Ten en cuenta que las versiones traducidas deben tener los mismos nombres
3477 de antes) que el original.
3478 Si te animas a traducir documentación (¡de paso, una excelente manera de
3479 leerla atentamente!), hay algunas cosas que deberías tener en cuenta:
3482 \begin_layout Itemize
3483 Consulta la web de traducción de la documentación en
3484 \begin_inset CommandInset href
3486 name "https://www.lyx.org/Translation"
3487 target "https://www.lyx.org/Translation"
3493 Así podrás comprobar el estado actual de traducción de documentos a tu
3495 También si hay alguien que esté coordinando la traducción a tu idioma.
3496 Si no hay nadie comunícanos, por favor, si estás interesado en ello.
3499 \begin_layout Standard
3500 Una vez que te has decidido a empezar, he aquí algunos consejos que te pueden
3501 ahorrar inconvenientes:
3504 \begin_layout Itemize
3505 ¡Únete al equipo de documentación! En
3508 \begin_inset Flex Noun
3511 \begin_layout Plain Layout
3512 Ayuda\SpecialChar menuseparator
3522 , que por cierto, es el primer documento que se debería traducir, hay informació
3523 n sobre cómo hacerlo.
3526 \begin_layout Itemize
3527 Infórmate sobre las normas tipográficas de tu idioma.
3528 La tipografía es un antiguo arte que ha desarrollado durante siglos una
3529 gran variedad de convenciones en diversas partes del mundo.
3530 Estudia también la terminología profesional de los tipógrafos en tu país.
3531 Inventar tu propia terminología sólo provocará confusión.
3534 (¡Cuidado! La tipografía es adictiva!)
3537 \begin_layout Itemize
3538 Haz una copia del documento para trabajar sobre ella.
3539 Puedes guardarla como archivo personal de traducción en tu directorio
3546 \begin_layout Itemize
3547 De vez en cuando el documento original (del equipo \SpecialChar LyX
3549 Usa el visor de fuentes en
3550 \begin_inset CommandInset href
3552 name "https://www.lyx.org/trac/timeline"
3553 target "https://www.lyx.org/trac/timeline"
3558 para ver los cambios realizados.
3559 De esta manera puedes ver fácilmente qué partes del documento traducido
3560 necesitan actualizarse.
3563 \begin_layout Standard
3564 Si encuentras un error en el documento original, ¡corríjelo y notifica los
3565 cambios al equipo de documentación! (¿No te has olvidado de contactar con
3566 el equipo de documentación, verdad?)
3569 \begin_layout Standard
3570 \begin_inset Branch OutDated
3574 \begin_layout Section
3575 International Keyboard Support
3578 \begin_layout Standard
3581 [Editor's Note: The following section is by
3589 It needs to be fixed to conform to the new Documentation Style sheet and
3590 to make use of the new v1.0 features.
3591 The whole thing also needs to be merged with the section following it.-jw
3592 It may also be badly out of date.-rh (2008)]
3595 \begin_layout Subsection
3596 Defining Own Keymaps: Keymap File Format
3599 \begin_layout Standard
3600 Let's look at a keyboard definition file a little closer.
3601 It is a plain text file defining
3604 \begin_layout Itemize
3605 key-to-key or key-to-string translations
3608 \begin_layout Itemize
3612 \begin_layout Itemize
3613 dead keys exceptions
3616 \begin_layout Standard
3617 To define key-to-key or key-to-string translation, use this command:
3620 \begin_layout Quotation
3621 \begin_inset Flex Code
3624 \begin_layout Plain Layout
3633 \begin_inset Flex Code
3636 \begin_layout Plain Layout
3645 \begin_layout Standard
3647 \begin_inset Flex Code
3650 \begin_layout Plain Layout
3656 is the key to be translated and
3657 \begin_inset Flex Code
3660 \begin_layout Plain Layout
3666 is the string to be inserted into the document.
3667 To define dead keys, use:
3670 \begin_layout Quotation
3671 \begin_inset Flex Code
3674 \begin_layout Plain Layout
3683 \begin_inset Flex Code
3686 \begin_layout Plain Layout
3695 \begin_layout Standard
3697 \begin_inset Flex Code
3700 \begin_layout Plain Layout
3706 is a keyboard key and
3707 \begin_inset Flex Code
3710 \begin_layout Plain Layout
3717 The following dead keys are supported (shortcut name is in parentheses):
3720 \begin_layout Quotation
3724 \begin_inset space \hfill{}
3730 \begin_layout Quotation
3732 \begin_inset space \hfill{}
3738 \begin_layout Quotation
3740 \begin_inset space \hfill{}
3746 \begin_layout Quotation
3748 \begin_inset space \hfill{}
3754 \begin_layout Quotation
3756 \begin_inset space \hfill{}
3762 \begin_layout Quotation
3764 \begin_inset space \hfill{}
3771 \begin_layout Plain Layout
3783 \begin_layout Quotation
3785 \begin_inset space \hfill{}
3791 \begin_layout Quotation
3793 \begin_inset space \hfill{}
3800 \begin_layout Plain Layout
3812 \begin_layout Quotation
3814 \begin_inset space \hfill{}
3820 \begin_layout Quotation
3822 \begin_inset space \hfill{}
3828 \begin_layout Quotation
3830 \begin_inset space \hfill{}
3837 \begin_layout Plain Layout
3849 \begin_layout Quotation
3851 \begin_inset space \hfill{}
3858 \begin_layout Plain Layout
3870 \begin_layout Quotation
3872 \begin_inset space \hfill{}
3878 \begin_layout Quotation
3879 hungarian umlaut (hug)
3880 \begin_inset space \hfill{}
3886 \begin_layout Quotation
3888 \begin_inset space \hfill{}
3894 \begin_layout Quotation
3896 \begin_inset space \hfill{}
3903 \begin_layout Plain Layout
3915 \begin_layout Standard
3916 Since in many international keyboards there are exceptions to what some
3917 dead keys should do, you can define them using
3920 \begin_layout Quotation
3921 \begin_inset Flex Code
3924 \begin_layout Plain Layout
3932 deadkey key outstring
3935 \begin_layout Standard
3936 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
3940 \begin_layout Quotation
3941 \begin_inset Flex Code
3944 \begin_layout Plain Layout
3957 \begin_layout Standard
3958 to make it work correctly.
3959 Also, you have to define as exceptions dead keys over i and j, to remove
3960 the dot from them before inserting an accent mark.
3961 I will change this when the time comes, but so far I haven't had time.
3964 \begin_layout Standard
3965 Oh, and about characters: backslash is escaped, so to enter it, you'll need
3968 \begin_inset Flex Code
3971 \begin_layout Plain Layout
3977 have different meaning.
3979 \begin_inset Flex Code
3982 \begin_layout Plain Layout
3988 marks comments, quotes start and end \SpecialChar LaTeX
3990 To enter quote, you'll need to use
3991 \begin_inset Flex Code
3994 \begin_layout Plain Layout
4003 \begin_inset Flex Code
4006 \begin_layout Plain Layout
4013 \begin_inset Flex Code
4016 \begin_layout Plain Layout
4027 \begin_layout Standard
4028 If you make a keyboard description file that works for your language, please
4029 mail it to me, so I can include it in the next keymap distribution.
4032 \begin_layout Standard
4033 More keywords will be supported in keymap configuration file in future,
4037 \begin_layout Itemize
4038 \begin_inset Flex Code
4041 \begin_layout Plain Layout
4052 \begin_inset space \hfill{}
4056 \begin_inset Flex Code
4059 \begin_layout Plain Layout
4068 \begin_layout Itemize
4069 \begin_inset Flex Code
4072 \begin_layout Plain Layout
4083 \begin_inset space \hfill{}
4087 \begin_inset Flex Code
4090 \begin_layout Plain Layout
4096 an external keymap translation program
4099 \begin_layout Standard
4100 Also, it should look into
4101 \begin_inset Flex Code
4104 \begin_layout Plain Layout
4110 file for defaults, too (for example, a
4111 \begin_inset Flex Code
4114 \begin_layout Plain Layout
4122 option to include default keyboard).
4130 \begin_layout Section
4131 \begin_inset CommandInset label
4137 Cosas sobre teclados internacionales
4140 \begin_layout Standard
4141 \begin_inset Note Note
4144 \begin_layout Plain Layout
4145 Al revisar este documento en marzo de 2008, no examiné este asunto porque
4147 Sería bueno que alguien pudiera hacerlo.
4156 \begin_layout Standard
4157 Las dos secciones siguientes describen con detalle la sintaxis de los archivos
4159 \begin_inset Flex Code
4162 \begin_layout Plain Layout
4171 \begin_inset Flex Code
4174 \begin_layout Plain Layout
4183 Deberían servir de ayuda para diseñar tus propios mapas de teclado si los
4184 suministrados no satisfacen tus necesidades.
4187 \begin_layout Subsection
4191 \begin_layout Standard
4193 \begin_inset Flex Code
4196 \begin_layout Plain Layout
4202 asocia pulsaciones de teclas con caracteres o secuencias de ellos.
4203 Como sugiere el nombre, sirve para trazar un mapa del teclado.
4204 En esta sección se describen las palabras clave
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_inset Flex Code
4244 \begin_layout Plain Layout
4253 \begin_inset Flex Code
4256 \begin_layout Plain Layout
4265 \begin_layout Labeling
4266 \labelwidthstring 00.00.0000
4267 \begin_inset Flex Code
4270 \begin_layout Plain Layout
4278 Asocia un carácter a una cadena
4281 \begin_layout LyX-Code
4296 \begin_layout Standard
4310 , la doble comilla (") y la barra invertida (
4312 ) deben escaparse con una barra (
4317 \begin_layout Standard
4318 Un ejemplo de una declaración de
4319 \begin_inset Flex Noun
4322 \begin_layout Plain Layout
4330 para hacer que el símbolo
4331 \begin_inset Flex Noun
4334 \begin_layout Plain Layout
4342 sea generado por la tecla
4343 \begin_inset Flex Noun
4346 \begin_layout Plain Layout
4357 \begin_layout LyX-Code
4363 \begin_layout Labeling
4364 \labelwidthstring 00.00.0000
4365 \begin_inset Flex Code
4368 \begin_layout Plain Layout
4376 Especifica un carácter acentuado
4379 \begin_layout LyX-Code
4388 \begin_layout Standard
4389 Esto hará que el carácter
4397 sobre el(los) carácter(es) permitido(s)
4402 Este es el mecanismo de tecla muerta
4406 \begin_layout Plain Layout
4416 se refiere a una tecla que no genera ningún carácter por sí mismo, pero
4417 seguida de otra tecla genera el carácter acentuado deseado.
4418 Por ejemplo, un caráter con diéresis, ü, se genera de esta manera.
4427 \begin_layout Standard
4432 y después una tecla que no está entre las permitidas (
4436 ), en la salida obtendrás el carácter
4440 seguido por el otro carácter, el no permitido.
4441 Hay que tener en cuenta que
4442 \begin_inset Flex Noun
4445 \begin_layout Plain Layout
4453 cancela una tecla muerta, de modo que si pulsas
4458 \begin_inset Flex Noun
4461 \begin_layout Plain Layout
4469 , el cursor no retrocede una posición sino que anula el efecto que
4473 hubiera tenido sobre la siguiente pulsación.
4476 \begin_layout Standard
4477 En el ejemplo siguiente, el carácter ' va a generar un acento agudo permitido
4478 sobre los caracteres a, e, i, o, u, A, E, I, O, U:
4481 \begin_layout LyX-Code
4484 kmod ' acute aeiouAEIOU
4487 \begin_layout Labeling
4488 \labelwidthstring 00.00.0000
4489 \begin_inset Flex Code
4492 \begin_layout Plain Layout
4498 Especifica una excepción para el carácter acentuado
4501 \begin_layout LyX-Code
4510 \begin_layout Standard
4511 Define una excepción para el
4524 debe haber sido asignado a una pulsación con una declaración previa de
4526 \begin_inset Flex Code
4529 \begin_layout Plain Layout
4545 no debe estar en el conjunto
4554 Si tecleas la secuencia
4563 Si dicha declaración no existe en el archivo
4564 \begin_inset Flex Code
4567 \begin_layout Plain Layout
4587 es el primer argumento de la declaración
4588 \begin_inset Flex Code
4591 \begin_layout Plain Layout
4604 \begin_layout Standard
4605 El comando siguiente generará äi cuando teclees agudo-i ('i):
4608 \begin_layout LyX-Code
4622 \begin_layout Labeling
4623 \labelwidthstring 00.00.0000
4624 \begin_inset Flex Code
4627 \begin_layout Plain Layout
4633 Combina dos caracteres acentos
4636 \begin_layout LyX-Code
4642 accent1 accent2 allowed
4645 \begin_layout Standard
4646 Esto es bastante esotérico.
4647 Permite combinar el efecto de
4655 (¡en ese orden!) sobre los caracteres permitidos
4668 deben haber sido declaradas con un comando
4669 \begin_inset Flex Code
4672 \begin_layout Plain Layout
4690 \begin_layout Standard
4691 Considera este ejemplo del archivo
4692 \begin_inset Flex Code
4695 \begin_layout Plain Layout
4706 \begin_layout LyX-Code
4709 kmod ; acute aeioyvhAEIOYVH
4713 kcomb acute umlaut iyIY
4716 \begin_layout Standard
4718 \begin_inset Flex Noun
4721 \begin_layout Plain Layout
4729 y obtener el efecto de
4730 \begin_inset Flex Code
4733 \begin_layout Plain Layout
4746 En este caso un retroceso cancela la última tecla muerta, así que si tecleas
4748 \begin_inset Flex Noun
4751 \begin_layout Plain Layout
4760 \begin_inset Flex Code
4763 \begin_layout Plain Layout
4776 \begin_layout Subsection
4780 \begin_layout Standard
4781 Después de realizados el mapa
4782 \begin_inset Flex Code
4785 \begin_layout Plain Layout
4794 \begin_inset Flex Code
4797 \begin_layout Plain Layout
4807 traza el mapa de las cadenas que los símbolos generan para los caracteres
4808 en la tipografía actual.
4809 La distribución de \SpecialChar LyX
4810 actualmente incluye al menos los archivos
4811 \begin_inset Flex Code
4814 \begin_layout Plain Layout
4823 \begin_inset Flex Code
4826 \begin_layout Plain Layout
4837 \begin_layout Standard
4838 En general el archivo
4839 \begin_inset Flex Code
4842 \begin_layout Plain Layout
4850 es una secuencia de declaraciones de la forma:
4853 \begin_layout LyX-Code
4866 \begin_layout Standard
4867 Por ejemplo, para asociar
4868 \begin_inset Flex Noun
4871 \begin_layout Plain Layout
4881 al correspondiente carácter en el conjunto iso-8859-1 (233), se usa:
4884 \begin_layout LyX-Code
4892 \begin_layout Standard
4894 \begin_inset Flex Code
4897 \begin_layout Plain Layout
4906 \begin_inset Flex Code
4909 \begin_layout Plain Layout
4920 Anotar que el mismo carácter puede aplicarse a más de una cadena.
4922 \begin_inset Flex Code
4925 \begin_layout Plain Layout
4936 \begin_layout LyX-Code
4948 \begin_inset Newline newline
4964 \begin_layout Standard
4966 no puede encontrar una declaración para la cadena por una tecla o una
4967 secuencia con tecla muerta, intentará si aparece como un carácter acentuado
4968 y probará a dibujar un acento sobre el carácter en la pantalla.
4971 \begin_layout Subsection
4975 \begin_layout Standard
4976 Hay una segunda manera de añadir soporte para caracteres internacionales
4977 mediante las denominadas teclas muertas.
4978 Una tecla muerta trabaja en combinación con una letra para generar un carácter
4980 Aquí explicaremos como crear una sencillísima tecla muerta para ilustrar
4984 \begin_layout Standard
4985 Supongamos que necesitas el carácter circunflejo
4986 \begin_inset Quotes cld
4990 \begin_inset Quotes crd
4994 Podrías asociar la tecla
4995 \begin_inset Flex Noun
4998 \begin_layout Plain Layout
5005 \begin_inset Flex Noun
5008 \begin_layout Plain Layout
5014 ) al comando \SpecialChar LyX
5016 \begin_inset Flex Code
5019 \begin_layout Plain Layout
5026 \begin_inset Flex Code
5029 \begin_layout Plain Layout
5036 Ahora, cuando pulses la tecla
5037 \begin_inset Flex Noun
5040 \begin_layout Plain Layout
5046 seguida de una letra, obtendrás esa letra con circunflejo sobre ella.
5047 Por ejemplo, la secuencia
5048 \begin_inset Quotes cld
5052 \begin_inset Flex Noun
5055 \begin_layout Plain Layout
5062 \begin_inset Quotes crd
5066 \begin_inset Quotes cld
5070 \begin_inset Quotes crd
5075 \begin_inset Quotes cld
5079 \begin_inset Flex Code
5082 \begin_layout Plain Layout
5089 \begin_inset Quotes crd
5092 , sin embargo, \SpecialChar LyX
5093 no imprime nada puesto que
5094 \begin_inset Flex Noun
5097 \begin_layout Plain Layout
5103 nunca lleva un circunflejo.
5105 \begin_inset Flex Noun
5108 \begin_layout Plain Layout
5114 tras una tecla muerta imprime el acento solo.
5115 ¡Advierte este último punto! Si asocias una tecla a una tecla muerta necesitará
5116 s reasociar el carácter de esa tecla a otra tecla.
5118 \begin_inset Flex Noun
5121 \begin_layout Plain Layout
5127 a una cedilla es una mala idea, puesto que solo obtendrás cedillas en lugar
5131 \begin_layout Standard
5132 Una forma habitual de asociar teclas muertas es usar
5133 \begin_inset Flex Noun
5136 \begin_layout Plain Layout
5143 \begin_inset Flex Noun
5146 \begin_layout Plain Layout
5153 \begin_inset Flex Noun
5156 \begin_layout Plain Layout
5162 en combinación con un acento, como
5163 \begin_inset Quotes cld
5167 \begin_inset Flex Noun
5170 \begin_layout Plain Layout
5177 \begin_inset Quotes crd
5181 \begin_inset Quotes cld
5185 \begin_inset Flex Noun
5188 \begin_layout Plain Layout
5195 \begin_inset Quotes crd
5199 \begin_inset Quotes cld
5203 \begin_inset Flex Noun
5206 \begin_layout Plain Layout
5213 \begin_inset Quotes crd
5217 Otra forma incluye el uso de
5218 \begin_inset Flex Code
5221 \begin_layout Plain Layout
5228 \begin_inset Flex Code
5231 \begin_layout Plain Layout
5237 para configurar la tecla especial
5238 \begin_inset Flex Code
5241 \begin_layout Plain Layout
5248 Esta tecla actúa de alguna forma como
5249 \begin_inset Flex Noun
5252 \begin_layout Plain Layout
5258 y permite teclas a caracteres acentuados.
5259 También puedes transformar teclas en muertas asociándolas a algo como
5260 \begin_inset Flex Code
5263 \begin_layout Plain Layout
5269 y después asociando esta tecla simbólica al correspondiente comando \SpecialChar LyX
5274 \begin_layout Plain Layout
5279 : Esto es exactamente lo que hago en mis archivos
5280 \begin_inset Flex Code
5283 \begin_layout Plain Layout
5290 \begin_inset Flex Code
5293 \begin_layout Plain Layout
5301 \begin_inset Flex Noun
5304 \begin_layout Plain Layout
5306 \begin_inset space ~
5315 \begin_inset Flex Code
5318 \begin_layout Plain Layout
5324 y unas cuantas de estas teclas simbólicas
5325 \begin_inset Quotes cld
5329 \begin_inset Flex Code
5332 \begin_layout Plain Layout
5339 \begin_inset Quotes crd
5342 asociadas a cosas como
5343 \begin_inset Flex Noun
5346 \begin_layout Plain Layout
5348 \begin_inset space ~
5357 \begin_inset Flex Noun
5360 \begin_layout Plain Layout
5362 \begin_inset space ~
5371 Así es como genero mis caracteres acentuados.
5376 Puedes hacer casi cualquier cosa con la tecla
5377 \begin_inset Flex Code
5380 \begin_layout Plain Layout
5387 \begin_inset Flex Noun
5390 \begin_layout Plain Layout
5396 , una tecla de función de reserva, etc.
5397 En cuanto a los comandos \SpecialChar LyX
5398 que generan acentos, consulta la entrada para
5400 \begin_inset Flex Code
5403 \begin_layout Plain Layout
5414 Ahí encontrarás la lista completa.
5417 \begin_layout Subsection
5418 Guardar la configuración de idioma
5421 \begin_layout Standard
5422 Puedes editar tus preferencias para que el entorno de idioma adecuado sea
5423 automáticamente configurado al iniciar \SpecialChar LyX
5425 \begin_inset Flex Noun
5428 \begin_layout Plain Layout
5429 Herramientas\SpecialChar menuseparator
5438 \begin_layout Chapter
5439 Instalación de nuevas clases de documento, formatos y plantillas
5440 \begin_inset CommandInset label
5442 name "cap:Instalación-de-nuevas"
5447 \begin_inset Argument 1
5450 \begin_layout Plain Layout
5451 Instalación de clases, formatos \SpecialChar ldots
5460 \begin_layout Standard
5461 En este capítulo describimos los procedimientos para crear e instalar nuevos
5462 archivos de plantillas y formatos de \SpecialChar LyX
5463 , así como repasar la instalación
5464 correcta de nuevas clases de documentos \SpecialChar LaTeX
5468 \begin_layout Standard
5469 En primer lugar, permite que digamos algo sobre la relación entre \SpecialChar LyX
5470 y \SpecialChar LaTeX
5472 Lo que hay que entender es que, en cierto sentido, \SpecialChar LyX
5473 no sabe nada de \SpecialChar LaTeX
5475 Desde el punto de vista de \SpecialChar LyX
5476 , \SpecialChar LaTeX
5477 solo es uno más de los varios
5478 \begin_inset Quotes cld
5482 \begin_inset Quotes crd
5485 en los que es capaz de generar salida.
5486 Otros son DocBook, texto sencillo y XHTML.
5488 es, por supuesto, un formato particularmente importante, pero muy poca
5489 de la información que \SpecialChar LyX
5490 tiene sobre \SpecialChar LaTeX
5491 está realmente contenida en el propio
5496 \begin_layout Plain Layout
5497 Algunos comandos son lo bastante complejos como para ser incluidos en el
5498 código de \SpecialChar LyX
5500 Pero en general los desarrolladores consideran esto una mala cosa.
5506 Esa información, incluso para las clases estándar como
5510 , está almacenada en 'archivos de formato (
5515 De igual manera \SpecialChar LyX
5516 no sabe gran cosa sobre DocBook o XHTML.
5517 Esa información está en los archivos de formato.
5520 \begin_layout Standard
5521 El archivo de formato para una determinada clase de documento se puede considera
5522 r como un manual de instrucciones para traducir las estructuras de \SpecialChar LyX
5524 y sus estilos, ciertos tipos de recuadros, etc.— a las estructuras correspondien
5525 tes de \SpecialChar LaTeX
5527 Por ejemplo, casi todo lo que \SpecialChar LyX
5529 \begin_inset Flex Code
5532 \begin_layout Plain Layout
5538 está contenido en el archivo
5539 \begin_inset Flex Code
5542 \begin_layout Plain Layout
5548 y en otros archivos incluidos en este.
5549 Por esta razón, quien intente escribir archivos de formato debería empezar
5550 por estudiar los archivos existentes.
5551 Un buen sitio para empezar es
5552 \begin_inset Flex Code
5555 \begin_layout Plain Layout
5561 , que está incluido en
5562 \begin_inset Flex Code
5565 \begin_layout Plain Layout
5572 \begin_inset Flex Code
5575 \begin_layout Plain Layout
5581 y muchos otros archivos de formato para clases de documento.
5582 En este archivo se definen las secciones y demás:
5583 \begin_inset Flex Code
5586 \begin_layout Plain Layout
5592 indica a \SpecialChar LyX
5593 como traducir los párrafos con estilos como Sección, Subsección,
5594 etc., a los comandos y etiquetas correspondientes en \SpecialChar LaTeX
5597 \begin_inset Flex Code
5600 \begin_layout Plain Layout
5606 solo incluye, básicamente, varios de estos archivos
5607 \begin_inset Flex Code
5610 \begin_layout Plain Layout
5619 \begin_layout Standard
5620 Pero definir la correspondencia \SpecialChar LyX
5622 no es lo único que hacen los archivos
5624 Su otra tarea es definir cómo aparecerán en pantalla las estructuras de
5627 El hecho de que los archivos de formato tengan estas dos tareas es a veces
5628 fuente de confusión, porque son totalmente independientes.
5629 Indicar a \SpecialChar LyX
5630 cómo traducir cierto estilo de párrafo a \SpecialChar LaTeX
5631 no le dice cómo mostrarlo
5632 en pantalla; a la inversa, indicar cómo mostrar en pantalla un estilo de
5633 párrafo no tiene nada que ver con su traducción a \SpecialChar LaTeX
5634 (solo permite indicar
5635 a \SpecialChar LaTeX
5637 Así pues, en general, cuando defines una nueva construcción en \SpecialChar LyX
5639 tienes que hacer dos cosas: 1) indicar la traducción a \SpecialChar LaTeX
5641 presentación en pantalla.
5644 \begin_layout Standard
5645 Gran parte de lo dicho es cierto, también, en relación con otros formatos
5646 de salida, aunque XHTML es un poco diferente porque en este caso \SpecialChar LyX
5651 , en cierta medida, de usar la información de la presentación de un párrafo
5652 en pantalla para generar la presentación (en forma de CSS) del párrafo
5654 Incluso en este caso, no obstante, la distinción entre lo que hace \SpecialChar LyX
5656 e y la forma en que las cosas se muestran externamente sigue en vigor, y
5657 ambas se pueden controlar separadamente.
5659 \begin_inset CommandInset ref
5661 reference "sec:Etiquetas-para-XHTML"
5668 \begin_layout Section
5669 Instalación de nuevos archivos \SpecialChar LaTeX
5673 \begin_layout Standard
5674 Algunas instalaciones quizá no incluyan un paquete \SpecialChar LaTeX
5675 que te gustaría usar
5678 Por ejemplo, podrías necesitar Foil\SpecialChar TeX
5679 , un paquete para preparar transparencias
5680 o diapositivas para proyectores.
5681 Las modernas distribuciones de \SpecialChar LaTeX
5682 como \SpecialChar TeX
5683 Live (2008 o posterior) o MiK\SpecialChar TeX
5685 una interfaz de usuario para eso.
5686 Por ejemplo, en MiK\SpecialChar TeX
5688 \begin_inset Quotes cld
5691 Administrador de paquetes
5692 \begin_inset Quotes crd
5695 para obtener una lista de los disponibles.
5696 Para instalar uno, haz clic derecho sobre él o usa el botón de la herramienta
5700 \begin_layout Standard
5701 Si tu distribución \SpecialChar LaTeX
5703 \begin_inset Quotes cld
5706 administrador de paquetes
5707 \begin_inset Quotes crd
5710 , o si el paquete no está disponible en ella, sigue los siguientes pasos
5711 para instalarlo manualmente:
5714 \begin_layout Enumerate
5715 Consigue el paquete de
5716 \begin_inset CommandInset href
5719 target "http://www.ctan.org/"
5727 \begin_layout Enumerate
5728 Si el paquete contiene un archivo con la extensión
5729 \begin_inset Quotes cld
5733 \begin_inset Flex Code
5736 \begin_layout Plain Layout
5743 \begin_inset Quotes crd
5746 (es el caso de Foil\SpecialChar TeX
5747 ) abre una consola, cambia a la carpeta del archivo
5748 y ejecuta el comando
5749 \begin_inset Flex Code
5752 \begin_layout Plain Layout
5759 Así desempaquetamos y disponemos de todos los archivos para instalar.
5760 La mayoría de paquetes \SpecialChar LaTeX
5761 no están empaquetados y podemos saltar este paso.
5764 \begin_layout Enumerate
5765 Tienes que decidir si el paquete estará disponible para todos los usuarios
5770 \begin_layout Enumerate
5771 En sistemas *nix (Linux, OSX, etc.), si el paquete va estar disponible para
5772 todos los usuarios del sistema, hay que instalarlo en el árbol 'local'
5774 , de lo contrario instálalo en tu directorio \SpecialChar TeX
5776 La ubicación de estos árboles, si no existen ya, depende del sistema.
5777 Para encontrarlos mira en el archivo
5778 \begin_inset Flex Code
5781 \begin_layout Plain Layout
5791 \begin_layout Plain Layout
5792 Usualmente es el directorio
5796 , aunque se puede ejecutar el comando
5797 \begin_inset Flex Code
5800 \begin_layout Plain Layout
5811 La ubicación del árbol `local' de \SpecialChar TeX
5812 está definida por la variable
5813 \begin_inset Flex Code
5816 \begin_layout Plain Layout
5822 ; generalmente algo como
5824 /usr/local/share/texmf/
5826 o /usr/local/texlive/XXXX donde XXXX es el año de la distribución \SpecialChar TeX
5829 La ubicación del árbol `user' de \SpecialChar TeX
5831 \begin_inset Flex Code
5834 \begin_layout Plain Layout
5845 \begin_inset Flex Code
5848 \begin_layout Plain Layout
5857 (Si estas variables no están predefinidas, debes hacerlo.) Probablemente
5858 necesites permiso de administrador para crear o modificar el árbol `local',
5859 pero no para el árbol `user'.
5860 \begin_inset Newline newline
5863 En general, es recomendable instalar en el árbol `user' porque no será modificad
5864 o o sobrescrito al actualizar el sistema.
5865 Además, se guardará copia de él cuando hagas copia de seguridad de tu directori
5866 o `home' (que debe ser lo habitual).
5869 \begin_layout Enumerate
5870 En Windows, para que el nuevo paquete esté disponible a todos los usuarios,
5871 cambia a la carpeta donde está instalado \SpecialChar LaTeX
5880 , (En MiK\SpecialChar TeX
5894 ) crea una nueva carpeta
5895 \begin_inset Flex Code
5898 \begin_layout Plain Layout
5904 y copia en ella todos los archivos del paquete.
5905 Para hacer el paquete disponible solo a un usuario o si no dispones de
5906 permisos, haz lo mismo pero en el directorio de \SpecialChar LaTeX
5908 \begin_inset space \thinspace{}
5911 ej., en MiK\SpecialChar TeX
5913 \begin_inset space ~
5917 \begin_inset Newline newline
5924 Documents and Settings
5931 \begin_inset Newline newline
5935 \begin_inset Phantom HPhantom
5938 \begin_layout Plain Layout
5956 \begin_inset Newline newline
5960 \begin_inset Newline newline
5988 \begin_layout Enumerate
5989 Ahora hay que decir a \SpecialChar LaTeX
5990 que hay archivos nuevos.
5991 Esto depende de la distribución de \SpecialChar LaTeX
5996 \begin_layout Enumerate
5997 Para \SpecialChar TeX
5998 Live ejecuta el comando
5999 \begin_inset Flex Code
6002 \begin_layout Plain Layout
6009 Si el paquete se instaló para todos los usuarios harán falta permisos de
6013 \begin_layout Enumerate
6014 Para MiK\SpecialChar TeX
6015 , si el paquete se instaló para todos los usuarios, inicia el programa
6017 \begin_inset Quotes eld
6021 \begin_inset space ~
6025 \begin_inset Quotes erd
6029 \begin_inset Quotes eld
6033 \begin_inset Quotes erd
6037 Si no, inicia el programa
6038 \begin_inset Quotes eld
6042 \begin_inset Quotes erd
6049 \begin_layout Enumerate
6050 Finalmente, hay que decir a \SpecialChar LyX
6051 que hay nuevos paquetes disponibles.
6053 \begin_inset Flex Noun
6056 \begin_layout Plain Layout
6057 Herramientas\SpecialChar menuseparator
6063 y reinicia \SpecialChar LyX
6067 \begin_layout Standard
6068 Ya está instalado el paquete.
6069 En nuestro ejemplo, la clase de documento
6070 \begin_inset Flex Code
6073 \begin_layout Plain Layout
6075 \begin_inset space ~
6083 estará ahora disponible en
6084 \begin_inset Flex Noun
6087 \begin_layout Plain Layout
6088 Documento\SpecialChar menuseparator
6089 Configuración\SpecialChar menuseparator
6091 \begin_inset space ~
6095 \begin_inset space ~
6107 \begin_layout Standard
6108 Si quieres usar una clase de documento \SpecialChar LaTeX
6109 que no aparece listada en
6110 \begin_inset Flex Noun
6113 \begin_layout Plain Layout
6114 Documento\SpecialChar menuseparator
6115 Configuración\SpecialChar menuseparator
6117 \begin_inset space ~
6121 \begin_inset space ~
6129 , debes crear un archivo de formato (`layout') para ella.
6130 Este es el tema de la sección siguiente.
6133 \begin_layout Section
6134 Tipos de archivos de formato
6137 \begin_layout Standard
6138 Esta sección describe los diversos tipos de arhivos de \SpecialChar LyX
6139 que contienen informació
6142 \begin_inset Flex Code
6145 \begin_layout Plain Layout
6151 describen estilos de párrafo y de carácter, y determinan cómo los debería
6152 presentar \SpecialChar LyX
6153 y cómo deberían traducirse a \SpecialChar LaTeX
6154 , DocBook, XHTML o cualquier otro
6155 formato de salida que se vaya a usar.
6159 \begin_layout Standard
6160 Intentaremos aquí dar una minuciosa descripción del proceso; sin embargo,
6161 hay tantos tipos diferentes de documentos soportados por clases de \SpecialChar LaTeX
6163 no podemos aspirar a tratar todas las distintas posibilidades o problemas
6164 que puedas encontrar.
6165 La lista de usuarios de \SpecialChar LyX
6166 es frecuentada por gente con mucha experiencia
6167 en el diseño de formatos deseosa de compartir sus conocimientos.
6170 \begin_layout Standard
6171 Cuando te pongas a escribir un nuevo formato, es de gran ayuda echar un
6172 vistazo a los formatos de ejemplo suministrados con \SpecialChar LyX
6174 Si escribes un `layout' de \SpecialChar LyX
6175 para una clase de documento \SpecialChar LaTeX
6177 podría ser útil también a otros, no dudes en compartir tu labor enviándola
6179 \begin_inset CommandInset href
6181 name "sección 'Layouts' en wiki LyX"
6182 target "https://wiki.lyx.org/Layouts/Layouts"
6187 o incluso a la lista de desarrolladores de \SpecialChar LyX
6188 para poderlo incluir en la
6193 \begin_layout Plain Layout
6194 Hay que advertir que \SpecialChar LyX
6195 se acoge a la licencia GPL, por tanto cualquier material
6196 aportado debe tener la misma licencia.
6204 \begin_layout Subsection
6206 \begin_inset CommandInset label
6208 name "subsec:Módulos-de-formato"
6215 \begin_layout Standard
6216 Hemos hablado hasta ahora de `archivos de formato'.
6217 Pero hay distintos tipos de archivos con información sobre formatos.
6218 Estrictamente, los archivos de formato tienen la extensión
6219 \begin_inset Flex Code
6222 \begin_layout Plain Layout
6228 y proporcionan a \SpecialChar LyX
6229 información sobre las clases de documento.
6230 Sin embargo, a partir de \SpecialChar LyX
6231 1.6, esta información puede proporcionarse también
6236 , que tienen la extensión
6237 \begin_inset Flex Code
6240 \begin_layout Plain Layout
6247 Los módulos son a los paquetes \SpecialChar LaTeX
6248 lo que los formatos a las clases \SpecialChar LaTeX
6250 módulos —como el módulo Notas finales— dan soporte específico a un paquete
6251 determinado —en este caso
6252 \begin_inset Flex Code
6255 \begin_layout Plain Layout
6262 En cierto sentido, los módulos de formato son similares a los `archivos
6267 \begin_layout Plain Layout
6268 Estos pueden tener cualquier extensión pero, por convenio, se usa la extensión
6270 \begin_inset Flex Code
6273 \begin_layout Plain Layout
6285 \begin_inset Flex Code
6288 \begin_layout Plain Layout
6294 —, ya que, como estos, los módulos no son específicos para una clase de
6295 documento dada, sino que se pueden usar con muchos formatos diferentes.
6296 La diferencia es que el uso de un archivo incluido con
6297 \begin_inset Flex Code
6300 \begin_layout Plain Layout
6306 requiere editar dicho archivo, mientras que los módulos se seleccionan
6308 \begin_inset Flex Noun
6311 \begin_layout Plain Layout
6312 Documento\SpecialChar menuseparator
6322 \begin_layout Standard
6323 La construcción de módulos es la forma más fácil de iniciarse en la edición
6324 del formato, puesto que puede ser tan sencillo como añadir un nuevo estilo
6325 de párrafo o un recuadro flexible.
6326 No obstante, los módulos pueden, en principio, contener cualquier cosa
6327 que pueda contener un archivo `layout'.
6330 \begin_layout Standard
6331 Después de crear un módulo nuevo y copiarlo en la carpeta
6332 \begin_inset Flex Code
6335 \begin_layout Plain Layout
6341 , tendrás que reconfigurar \SpecialChar LyX
6342 y reiniciar después para que el módulo aparezca
6344 Sin embargo, los cambios que hagas al módulo se verán inmediatamente si
6346 \begin_inset Flex Noun
6349 \begin_layout Plain Layout
6350 Documento\SpecialChar menuseparator
6356 , seleccionas lo que sea y después pulsas
6357 \begin_inset Quotes cld
6361 \begin_inset Quotes crd
6367 Es muy recomendable guardar el trabajo antes de hacer eso.
6372 es muy recomendable no intentar editar los módulos mientras se está trabajando
6373 simultáneamente en un documento
6376 Aunque los desarrolladores, por supuesto, se esfuerzan en mantener la estabilid
6377 ad de \SpecialChar LyX
6378 en estas situaciones, errores sintácticos y similares en el archivo
6379 del módulo podrían causar extraños comportamientos.
6382 \begin_layout Subsubsection
6386 \begin_layout Standard
6387 Los módulos son a \SpecialChar LyX
6388 lo que los paquetes a \SpecialChar LaTeX
6390 Sin embargo, a veces puede suceder que necesites un recuadro específico
6391 o un estilo de carácter solo para un documento, y escribir un módulo que
6392 estará disponible también para otros documentos tiene poco sentido.
6393 En estos casos, lo que necesitas es el
6394 \begin_inset Quotes cld
6398 \begin_inset Quotes crd
6405 \begin_layout Standard
6408 Documento\SpecialChar menuseparator
6409 Configuración\SpecialChar menuseparator
6413 El gran cuadro de texto permite introducir todo lo que podría incluirse
6414 en un archivo de formato o en un módulo.
6415 De hecho, el formato local de un documento se puede considerar como un
6416 módulo que le pertenece solo a él.
6417 Por tanto, en particular, hay que introducir una etiqueta
6418 \begin_inset Flex Code
6421 \begin_layout Plain Layout
6428 Cualquier formato es aceptable, pero debería usarse normalmente el actual
6430 (En \SpecialChar LyX
6431 2.2 el formato actual es 60).
6434 \begin_layout Standard
6435 Una vez introducido algo en el panel
6436 \begin_inset Flex Code
6439 \begin_layout Plain Layout
6447 \begin_inset Quotes cld
6451 \begin_inset Quotes crd
6455 Pulsando ese botón \SpecialChar LyX
6456 determinará si lo introducido es información válida
6457 para el formato elegido.
6459 informará del resultado pero, desafortunadamente, no indicará qué errores
6460 pudiera haber habido.
6461 Sin embargo, si \SpecialChar LyX
6462 se ha arrancado en una terminal se verán ahí los errores.
6463 El formato local no se podrá guardar hasta que se haya introducido algo
6467 \begin_layout Standard
6468 Las advertencias al final de la sección anterior se aplican también aquí.
6469 Es mejor no enredar con formato local mientras se está trabajando, especialment
6470 e si no se ha guardado el documento.
6471 Dicho esto, usar formato local en un documento de prueba puede ser una
6472 forma muy conveniente de probar ideas de formato, o incluso de empezar
6473 a desarrollar un módulo.
6476 \begin_layout Subsection
6477 Formato para archivos
6478 \begin_inset Flex Noun
6481 \begin_layout Plain Layout
6490 \begin_layout Standard
6491 Probablemente te vas a encontrar con dos situaciones a la hora de querer
6492 soportar una nueva clase de documento \SpecialChar LaTeX
6493 , según se trate de archivos de estilo
6495 \begin_inset Flex Code
6498 \begin_layout Plain Layout
6504 ) o de archivos de clases \SpecialChar LaTeX2e
6506 \begin_inset Flex Code
6509 \begin_layout Plain Layout
6516 Dar soporte a un nuevo estilo es bastante fácil.
6517 Dar soporte a una nueva clase es un poco más difícil.
6518 Trataremos el primer caso en esta sección y el otro en la siguiente.
6519 Lo mismo cabe decir, por supuesto, para el soporte de un nuevo DocBook
6523 \begin_layout Standard
6524 El caso más sencillo es aquel en el que la nueva clase de documento se suministr
6525 a como archivo de estilo que se usará conjuntamente con una clase ya soportada.
6526 Para nuestro ejemplo supondremos que el archivo de estilo se llama
6527 \begin_inset Flex Noun
6530 \begin_layout Plain Layout
6536 y que se usará conjuntamente con
6537 \begin_inset Flex Noun
6540 \begin_layout Plain Layout
6546 , que es una clase estándar.
6549 \begin_layout Standard
6550 Empieza por copiar el archivo `layout' existente en tu directorio local:
6554 \begin_layout Plain Layout
6555 Evidentemente, cuál es tu directorio local variará según la plataforma,
6556 y además \SpecialChar LyX
6557 permite especificarlo al inicio usando la opción
6558 \begin_inset Flex Code
6561 \begin_layout Plain Layout
6575 \begin_layout LyX-Code
6576 cp report.layout ~/.lyx/layouts/myclass.layout
6579 \begin_layout Standard
6581 \begin_inset Flex Code
6584 \begin_layout Plain Layout
6593 \begin_layout LyX-Code
6596 DeclareLaTeXClass{report}
6599 \begin_layout Standard
6603 \begin_layout LyX-Code
6606 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
6609 \begin_layout Standard
6613 \begin_layout LyX-Code
6615 \begin_inset Newline newline
6621 \begin_inset Newline newline
6627 \begin_layout Standard
6628 cerca del principio del archivo.
6631 \begin_layout Standard
6632 Inicia \SpecialChar LyX
6634 \begin_inset Flex Noun
6637 \begin_layout Plain Layout
6638 Herramientas\SpecialChar menuseparator
6645 Después reinicia \SpecialChar LyX
6646 y haz una prueba con un documento nuevo.
6648 \begin_inset Flex Noun
6651 \begin_layout Plain Layout
6652 Documento\SpecialChar menuseparator
6659 \begin_inset Quotes cld
6663 \begin_inset Flex Noun
6666 \begin_layout Plain Layout
6673 \begin_inset Quotes crd
6676 en la lista de clases de documento.
6677 Es probable que algunos de los comandos de secciones y demás en tu nueva
6678 clase funcionen de distinta manera a como lo hacen en la clase estándar
6680 \begin_inset Flex Code
6683 \begin_layout Plain Layout
6689 en este ejemplo—, de modo que si quieres, ahora puedes enredar un rato
6690 con los ajustes de las distintas secciones.
6691 La información del formato de las secciones se encuentra en
6692 \begin_inset Flex Code
6695 \begin_layout Plain Layout
6701 , pero no necesitas copiar ni cambiar este archivo.
6702 Simplemente añade tus cambios a tu archivo `layout' después de la línea
6704 \begin_inset Flex Code
6707 \begin_layout Plain Layout
6714 \begin_inset Flex Code
6717 \begin_layout Plain Layout
6724 Por ejemplo, podrías añadir estas líneas:
6727 \begin_layout LyX-Code
6731 \begin_layout LyX-Code
6735 \begin_layout LyX-Code
6739 \begin_layout LyX-Code
6743 \begin_layout LyX-Code
6747 \begin_layout Standard
6748 para cambiar la tipografía de los encabezados de capítulo a sans-serif.
6749 Esto sobrescribirá (o, en este caso, añadirá) la declaración para el estilo
6754 \begin_layout Standard
6755 Tu nuevo paquete puede proporcionar además comandos o entornos no presentes
6757 En este caso, los añadirás al archivo `layout'.
6759 \begin_inset space ~
6763 \begin_inset CommandInset ref
6765 reference "sec:Estructura-del-archivo-layout"
6769 para información sobre cómo hacerlo.
6772 \begin_layout Standard
6774 \begin_inset Flex Noun
6777 \begin_layout Plain Layout
6783 se puede usar con diferentes clases de documento, e incluso si no es así,
6784 lo más sencillo sería escribir un módulo que puedes cargar con la clase
6786 El módulo más simple posible podría ser:
6789 \begin_layout LyX-Code
6792 DeclareLyXModule{My Package}
6795 \begin_layout LyX-Code
6799 \begin_layout LyX-Code
6800 #Support for mypkg.sty.
6803 \begin_layout LyX-Code
6805 \begin_inset Newline newline
6811 \begin_layout LyX-Code
6813 \begin_inset Newline newline
6819 \begin_layout LyX-Code
6821 \begin_inset Newline newline
6827 \begin_inset Newline newline
6833 \begin_layout Standard
6834 Un módulo más complejo podría modificar el comportamiento de alguna estructura
6835 ya existente o definir algunas nuevas.
6836 De nuevo te remitimos a sección
6837 \begin_inset space ~
6841 \begin_inset CommandInset ref
6843 reference "sec:Estructura-del-archivo-layout"
6850 \begin_layout Subsection
6851 Formato para archivos
6852 \begin_inset Flex Noun
6855 \begin_layout Plain Layout
6864 \begin_layout Standard
6865 En este caso hay dos opciones.
6866 Una, que el archivo de clase esté él mismo basado en una clase de documento
6868 Por ejemplo, muchas clases de tesis están basadas en
6869 \begin_inset Flex Noun
6872 \begin_layout Plain Layout
6879 Para ver si el tuyo lo está, busca una línea parecida a
6882 \begin_layout LyX-Code
6888 \begin_layout Standard
6890 Si está, entonces puedes proceder en gran parte como en la sección anterior,
6891 aunque la línea Declare\SpecialChar LaTeX
6892 Class será diferente.
6893 Si tu nueva clase es tesis y está basada en book, la línea debería poner:
6897 \begin_layout Plain Layout
6898 Y será mucho más fácil si guardas el archivo como
6899 \begin_inset Flex Code
6902 \begin_layout Plain Layout
6909 supone que la clase de documento tiene el mismo nombre que el archivo
6919 \begin_layout LyX-Code
6922 DeclareLaTeXClass[thesis,book]{thesis}
6925 \begin_layout Standard
6926 Si, por el contrario, la nueva clase no está basada en una ya existente,
6927 probablemente tendrás que ir pensando en tu propio formato.
6928 Recomendamos firmemente copiar un archivo de formato existente que use
6929 una clase de \SpecialChar LaTeX
6930 parecida y modificarlo, si es posible.
6931 O al menos, usa un archivo existente como punto de partida para ver qué
6932 items son los que te deben preocupar.
6933 Los detalles se discuten a continuación.
6936 \begin_layout Subsection
6937 Creación de plantillas
6938 \begin_inset CommandInset label
6940 name "subsec:Creación-de-plantillas"
6947 \begin_layout Standard
6948 Una vez escrito un archivo de formato para una clase nueva de documento,
6949 podrías pensar en escribir además una
6954 Una plantilla funciona como una especie de tutorial para tu formato, mostrando
6955 cómo podría usarse, aunque sea con contenido irrelevante.
6956 Naturalmente, puedes echar un vistazo a las plantillas incluidas en \SpecialChar LyX
6961 \begin_layout Standard
6962 Las plantillas se crean exactamente igual que un documento normal: usando
6965 La única diferencia es que los documentos corrientes tienen todos los ajustes
6966 posibles, incluso el esquema de tipografías y el tamaño del papel.
6967 Generalmente, un usuario no desea que una plantilla sobrescriba sus ajustes
6968 preferidos para dichos parámetros.
6969 Por esta razón, el diseñador de una plantilla debería quitar comandos como
6971 \begin_inset Flex Code
6974 \begin_layout Plain Layout
6983 \begin_inset Flex Code
6986 \begin_layout Plain Layout
6994 de los archivos de plantillas de \SpecialChar LyX
6996 Esto se puede hacer con cualquier editor de texto sencillo, por ejemplo
6998 \begin_inset Flex Code
7001 \begin_layout Plain Layout
7008 \begin_inset Flex Code
7011 \begin_layout Plain Layout
7021 \begin_layout Standard
7022 Los archivos editados de plantillas que has creado se ubican en
7023 \begin_inset Flex Code
7026 \begin_layout Plain Layout
7032 , copia los que uses del directorio global de plantillas en
7033 \begin_inset Flex Code
7036 \begin_layout Plain Layout
7043 al mismo sitio y redefine la ruta a las plantillas en el diálogo
7044 \begin_inset Flex Noun
7047 \begin_layout Plain Layout
7048 Herramientas\SpecialChar menuseparator
7049 Preferencias\SpecialChar menuseparator
7058 \begin_layout Standard
7059 De paso advertiremos que hay una plantilla,
7060 \begin_inset Flex Code
7063 \begin_layout Plain Layout
7069 , que tiene un papel especial: esta plantilla se carga cada vez que abres
7070 un documento nuevo con
7071 \begin_inset Flex Noun
7074 \begin_layout Plain Layout
7075 Archivo\SpecialChar menuseparator
7081 , con el fin de proporcionar ajustes predeterminados por omisión.
7082 Para (re)crear esta plantilla desde dentro de \SpecialChar LyX
7083 , lo que debes hacer es abrir
7084 un documento, establecer los ajustes deseados y usar el botón
7085 \begin_inset Flex Noun
7088 \begin_layout Plain Layout
7089 Guardar como predeterminados
7097 \begin_layout Subsection
7098 Actualización de antiguos archivos de formato
7101 \begin_layout Standard
7102 El formato de los archivos de formato cambia con cada nueva versión de \SpecialChar LyX
7104 de modo que los antiguos archivos de formato deben ser convertidos.
7106 lee un archivo de formato con formato antiguo lanzará la herramienta
7108 \begin_inset Flex Code
7111 \begin_layout Plain Layout
7117 , que lo convierte a un archivo temporal con el formato actual.
7118 El archivo original se deja sin tocar.
7119 Si lo usas a menudo y lo quieres convertir permanentemente para evitar
7120 que \SpecialChar LyX
7121 tenga que hacerlo cada vez, ejecuta el convertidor a mano:
7124 \begin_layout Enumerate
7126 \begin_inset Flex Code
7129 \begin_layout Plain Layout
7136 \begin_inset Flex Code
7139 \begin_layout Plain Layout
7148 \begin_layout Enumerate
7150 \begin_inset Newline newline
7154 \begin_inset Flex Code
7157 \begin_layout Plain Layout
7158 python \SpecialChar LyX
7159 Dir/scripts/layout2layout.py myclass.old myclass.layout
7165 \begin_inset Newline newline
7169 \begin_inset Flex Code
7172 \begin_layout Plain Layout
7179 es el nombre de tu directorio \SpecialChar LyX
7183 \begin_layout Standard
7184 La conversión manual no puede manejar archivos incluidos, así que estos
7185 tendrán que convertirse separadamente.
7188 \begin_layout Subsection
7191 \begin_inset CommandInset label
7193 name "subsec:Cite-Engine-Files"
7200 \begin_layout Standard
7203 A specific form of layout files are the so-called
7204 \begin_inset Flex Code
7207 \begin_layout Plain Layout
7215 files that are located in the
7216 \begin_inset Flex Code
7219 \begin_layout Plain Layout
7228 Their purpose is to define the specifics of \SpecialChar LaTeX
7229 packages aimed at bibliography
7242 , but also the way how normal Bib\SpecialChar TeX
7243 citations (without additional packages)
7244 are handled in \SpecialChar LyX
7245 is defined in such a file.
7249 \begin_layout Standard
7252 More specifically, it is defined which packages \SpecialChar LyX
7253 needs to load, which citation
7254 commands are available, how these are to be displayed in \SpecialChar LyX
7256 the dialogs, the context menus) as well as in the XHTML and plain text
7258 Furthermore, the files specify available style variants (author-year, numerical
7259 , etc.) and their specifics.
7260 The cite engine files are also used to generate the options that are available
7263 Document\SpecialChar menuseparator
7264 Settings\SpecialChar menuseparator
7265 Bibliography\SpecialChar menuseparator
7271 \begin_layout Standard
7274 Even though a cite engine file is essentially a normal layout file that
7275 could theoretically include any layout information, it usually primarily
7276 includes some specific parameters such as
7277 \begin_inset Flex Code
7280 \begin_layout Plain Layout
7289 \begin_inset Flex Code
7292 \begin_layout Plain Layout
7301 \begin_inset Flex Code
7304 \begin_layout Plain Layout
7313 \begin_inset Flex Code
7316 \begin_layout Plain Layout
7325 The syntax of the latter two is described in
7328 \begin_inset CommandInset ref
7330 reference "subsec:Citation-engine-description"
7338 \begin_inset CommandInset ref
7340 reference "subsec:Descripción-formato-cita"
7346 as well as in the files themselves.
7349 \begin_layout Section
7350 Estructura del archivo `layout'
7351 \begin_inset CommandInset label
7353 name "sec:Estructura-del-archivo-layout"
7360 \begin_layout Standard
7361 Ha llegado por fin el momento de ponerte manos a la obra y crear o editar
7362 tu propio archivo de formato; las siguientes secciones describen aquello
7363 a lo que te vas a enfrentar.
7364 Nuestro consejo es ir despacito, probando y guardando a menudo.
7365 En realidad no es para tanto, pero la multitud de opciones puede llegar
7366 a abrumarte si intentas hacer muchas cosas a la vez.
7367 Resulta más sencillo usar formatos existentes de \SpecialChar LyX
7368 como ejemplo o referencia
7369 y modificarlos según tus necesidades.
7372 \begin_layout Standard
7373 Todos los rótulos o etiquetas en los archivos de formato son insensibles
7374 a las mayúsculas; esto significa que
7375 \begin_inset Flex Code
7378 \begin_layout Plain Layout
7385 \begin_inset Flex Code
7388 \begin_layout Plain Layout
7395 \begin_inset Flex Code
7398 \begin_layout Plain Layout
7404 son el mismo comando.
7405 Los valores posibles se imprimen entre corchetes detrás del nombre de la
7407 Si en una descripción de una clase de texto no se especifica una característica
7408 , el valor por omisión se escribe en estilo
7409 \begin_inset Flex Code
7412 \begin_layout Plain Layout
7421 Si el argumento tiene un tipo de dato como
7422 \begin_inset Quotes cld
7426 \begin_inset Quotes crd
7430 \begin_inset Quotes cld
7434 \begin_inset Quotes crd
7437 , el valor por omisión se muestra de esta manera:
7438 \begin_inset Flex Code
7441 \begin_layout Plain Layout
7452 \begin_layout Subsection
7453 Declaración de la clase de documento y clasificación
7456 \begin_layout Standard
7457 Las líneas de un archivo de formato que empiezan con
7458 \begin_inset Flex Code
7461 \begin_layout Plain Layout
7468 Hay una excepción a esta regla: todos los formatos deben comenzar con líneas
7472 \begin_layout LyX-Code
7475 #% Do not delete the line below; configure depends on this
7479 \begin_layout Plain Layout
7483 \begin_inset space \thinspace{}
7488 : No borrar la línea siguiente; la configuración depende de ella
7496 \begin_layout LyX-Code
7501 DeclareLaTeXClass{Article (Standard Class)}
7504 \begin_layout LyX-Code
7509 DeclareCategory{Articles}
7512 \begin_layout Standard
7513 La segunda y tercera líneas se usan en la (re)configuración de \SpecialChar LyX
7515 El archivo `layout' es leido por el guión de \SpecialChar LaTeX
7517 \begin_inset Flex Code
7520 \begin_layout Plain Layout
7526 de un modo especial tal que
7527 \begin_inset Flex Code
7530 \begin_layout Plain Layout
7537 La primera línea es solo un comentario, la segunda contiene la declaración
7538 obligatoria de la clase de texto y la tercera línea contiene la clasificación
7539 opcional de la clase.
7540 Si estas líneas aparecen en un archivo llamado
7541 \begin_inset Flex Code
7544 \begin_layout Plain Layout
7550 , entonces definen una clase de texto de nombre
7551 \begin_inset Flex Code
7554 \begin_layout Plain Layout
7560 (el nombre del archivo de formato) que usa la clase de documento \SpecialChar LaTeX
7562 \begin_inset Flex Code
7565 \begin_layout Plain Layout
7571 (por omisión se usa el mismo nombre para ambos).
7573 \begin_inset Quotes cld
7576 Article (Standard Class)
7577 \begin_inset Quotes crd
7580 se utiliza como descripción de la clase de texto y es la que aparece en
7582 \begin_inset Flex Noun
7585 \begin_layout Plain Layout
7586 Documento\SpecialChar menuseparator
7594 \begin_inset Quotes cld
7598 \begin_inset Quotes crd
7601 en el ejemplo) también se usa en el diálogo
7602 \begin_inset Flex Noun
7605 \begin_layout Plain Layout
7606 Documento\SpecialChar menuseparator
7612 : las clases de texto se agrupan por estas categorías (generalmente son
7613 géneros, así son categorías típicas
7614 \begin_inset Quotes cld
7618 \begin_inset Quotes crd
7622 \begin_inset Quotes cld
7626 \begin_inset Quotes crd
7630 \begin_inset Quotes cld
7634 \begin_inset Quotes crd
7638 \begin_inset Quotes cld
7642 \begin_inset Quotes crd
7646 \begin_inset Quotes cld
7650 \begin_inset Quotes crd
7654 \begin_inset Quotes cld
7658 \begin_inset Quotes crd
7662 Si no se ha declarado categoría la clase se pondrá en el grupo
7663 \begin_inset Quotes cld
7667 \begin_inset Quotes crd
7673 \begin_layout Standard
7674 Supongamos que has escrito tu propia clase de texto, que utiliza la clase
7676 \begin_inset Flex Code
7679 \begin_layout Plain Layout
7685 , pero en la que has cambiado el aspecto de los encabezados de sección.
7686 Si lo pones en un archivo
7687 \begin_inset Flex Code
7690 \begin_layout Plain Layout
7696 , la cabecera de este archivo debería ser:
7699 \begin_layout LyX-Code
7702 #% Do not delete the line below; configure depends on this
7705 \begin_layout LyX-Code
7710 DeclareLaTeXClass[article]{Article (con Mis Encabezados)}
7713 \begin_layout LyX-Code
7718 DeclareCategory{Articles}
7721 \begin_layout Standard
7722 Esto declara la clase de texto
7723 \begin_inset Flex Code
7726 \begin_layout Plain Layout
7732 , asociada con la clase de documento \SpecialChar LaTeX
7734 \begin_inset Flex Code
7737 \begin_layout Plain Layout
7743 , y cuya descripción es
7744 \begin_inset Quotes cld
7747 Article (con Mis Encabezados)
7748 \begin_inset Quotes crd
7752 Si la clase de texto depende de varios paquetes, puedes declararla así:
7755 \begin_layout LyX-Code
7758 #% Do not delete the line below; configure depends on this
7761 \begin_layout LyX-Code
7766 DeclareLaTeXClass[article,foo.sty]{Article (con Mis Encabezados)}
7769 \begin_layout LyX-Code
7774 DeclareCategory{Articles}
7777 \begin_layout Standard
7778 Esto indica que la clase de texto utiliza el paquete foo.sty.
7779 Finalmente, también es posible declarar clases para código DocBook.
7780 Una declaración típica podría ser:
7783 \begin_layout LyX-Code
7786 #% Do not delete the line below; configure depends on this
7789 \begin_layout LyX-Code
7794 DeclareDocBookClass[article]{SGML (DocBook Article)}
7797 \begin_layout LyX-Code
7802 DeclareCategory{Articles}
7805 \begin_layout Standard
7806 Anotar que estas declaraciones pueden llevar también un parámetro opcional
7807 que declare el nombre de la clase de documento (pero no una lista).
7810 \begin_layout Standard
7811 Así, para ser lo más explícito posible, la forma de la declaración del formato
7815 \begin_layout LyX-Code
7820 DeclareLaTeXClass[class,package.sty]{descripción del formato}
7823 \begin_layout LyX-Code
7828 DeclareCategory{category}
7831 \begin_layout Standard
7832 La clase solo debe especificarse si el nombre de archivo de la clase \SpecialChar LaTeX
7834 el nombre de archivo del formato son diferentes; si el nombre del archivo
7835 de clase no se especifica, \SpecialChar LyX
7836 simplemente supondrá que es el mismo que el
7837 del archivo de formato.
7840 \begin_layout Standard
7841 Cuando la clase de texto se ha modificado según tus necesidades, lo que
7842 debes hacer es copiarla a
7843 \begin_inset Flex Code
7846 \begin_layout Plain Layout
7854 \begin_inset Flex Code
7857 \begin_layout Plain Layout
7864 \begin_inset Flex Noun
7867 \begin_layout Plain Layout
7868 Herramientas\SpecialChar menuseparator
7874 , y reiniciar \SpecialChar LyX
7876 Ahora la nueva clase de texto debería estar disponible junto con las demás.
7879 \begin_layout Standard
7880 Una vez instalado el `layout', puedes editarlo y ver los cambios sin tener
7881 que reconfigurar ni reiniciar \SpecialChar LyX
7887 \begin_layout Plain Layout
7888 En versiones de \SpecialChar LyX
7889 anteriores a 1.6 no era así.
7890 Como resultado, la edición de archivos de formato podía llevar mucho tiempo,
7891 pues constantemente había que reconfigurar y reiniciar.
7896 Se puede forzar la recarga del formato en uso mediante la función \SpecialChar LyX
7898 \begin_inset Flex Noun
7901 \begin_layout Plain Layout
7908 No hay atajo predeterminado para esta función —aunque por supuesto, puedes
7909 asociarle tú mismo una secuencia de teclas—.
7910 Normalmente usarás esta función introduciéndola simplemente en el
7918 \begin_layout Standard
7923 : Esto es mucho más que una
7924 \begin_inset Quotes cld
7927 característica avanzada
7928 \begin_inset Quotes crd
7936 recomendable que no intentes editar tu formato mientras estés trabajando
7937 en un documento importante.
7938 Usa un documento de prueba.
7939 Los errores sintácticos y similares en tu archivo de formato podrían provocar
7940 comportamientos extraños.
7941 En particular, tales errores podrían provocar que \SpecialChar LyX
7942 vea el formato actual
7943 como inválido e intente cambiar a algún otro.
7947 \begin_layout Plain Layout
7948 En realidad, los errores en la sintaxis pueden causar incluso el cierre
7950 , porque ciertos tipos de error pueden hacer que \SpecialChar LyX
7956 información de formato.
7957 Por favor ten cuidado.
7962 El equipo \SpecialChar LyX
7963 procura que \SpecialChar LyX
7964 se mantenga estable en estos casos, pero es mejor
7969 \begin_layout Plain Layout
7970 De todos modos, haz copias de seguridad regularmente.
7971 Y sé bueno con mamá.
7980 \begin_layout Subsection
7981 Declaración de un módulo
7984 \begin_layout Standard
7985 Un módulo debe empezar con una línea como la siguiente:
7988 \begin_layout LyX-Code
7991 DeclareLyXModule[endnotes.sty]{Endnotes}
7994 \begin_layout Standard
7995 El argumento imprescindible es, entre llaves, el nombre del módulo tal como
7997 \begin_inset Flex Noun
8000 \begin_layout Plain Layout
8001 Documento\SpecialChar menuseparator
8002 Configuración\SpecialChar menuseparator
8009 El argumento entre corchetes es opcional: declara cualesquiera paquetes
8011 de los que depende el módulo.
8012 También es posible usar la forma
8013 \begin_inset Flex Noun
8016 \begin_layout Plain Layout
8022 como argumento opcional, que declara que el módulo solo puede usarse cuando
8023 existe una cadena de conversión entre los formatos `
8024 \begin_inset Flex Code
8027 \begin_layout Plain Layout
8034 \begin_inset Flex Code
8037 \begin_layout Plain Layout
8046 \begin_layout Standard
8047 La declaración del módulo debe proseguir con líneas como las siguientes:
8051 \begin_layout Plain Layout
8052 Preferiblemente en inglés si el módulo se va a publicar en \SpecialChar LyX
8054 Esta descripción aparecerá en la lista de mensajes para ser traducidos
8055 en la siguiente actualización de la interfaz.
8063 \begin_layout LyX-Code
8067 \begin_layout LyX-Code
8068 #Adds an endnote command, in addition to footnotes.
8072 \begin_layout LyX-Code
8073 #You will need to add
8075 theendnotes in \SpecialChar TeX
8079 \begin_layout LyX-Code
8080 #want the endnotes to appear.
8084 \begin_layout LyX-Code
8088 \begin_layout LyX-Code
8089 #Requires: somemodule | othermodule
8092 \begin_layout LyX-Code
8093 #Excludes: badmodule
8096 \begin_layout Standard
8097 La descripción se usa en
8098 \begin_inset Flex Noun
8101 \begin_layout Plain Layout
8102 Documento\SpecialChar menuseparator
8103 Configuración\SpecialChar menuseparator
8109 para proporcionar al usuario información sobre las acciones del módulo.
8111 \begin_inset Flex Code
8114 \begin_layout Plain Layout
8120 sirve para identificar otros módulos con los que se debe usar este; la
8122 \begin_inset Flex Code
8125 \begin_layout Plain Layout
8131 identifica los módulos con los que este no se puede usar.
8132 Ambas son opcionales, y, como se ve, varios módulos deben separarse con
8133 el símbolo tubería: |.
8134 Anotar que los módulos requeridos se tratan de forma disyuntiva: debe usarse
8139 de los módulos requeridos.
8145 Aquí, los módulos se identifican por sus nombres de archivo sin la extensión
8147 \begin_inset Flex Code
8150 \begin_layout Plain Layout
8158 \begin_inset Flex Code
8161 \begin_layout Plain Layout
8168 \begin_inset Flex Code
8171 \begin_layout Plain Layout
8180 \begin_layout Subsection
8183 The CiteEngine file declaration
8186 \begin_layout Standard
8189 A cite engine file must begin with a line like the following:
8192 \begin_layout LyX-Code
8197 DeclareLyXCiteEngineModule[biblatex.sty]{Biblatex}
8200 \begin_layout Standard
8203 The mandatory argument, in curly brackets, is the name of the module, as
8205 \begin_inset Flex Noun
8208 \begin_layout Plain Layout
8211 Document\SpecialChar menuseparator
8212 Settings\SpecialChar menuseparator
8219 The argument in square brackets is optional: It declares any \SpecialChar LaTeX
8221 on which the cite engine depends.
8224 \begin_layout Standard
8227 The cite engine declaration should then be followed by lines like the following:
8231 \begin_layout Plain Layout
8234 Preferably in English if the module should be published with \SpecialChar LyX
8236 This description will appear in the list of messages to be translated and
8237 will be thus translated with the next interface update.
8245 \begin_layout LyX-Code
8251 \begin_layout LyX-Code
8254 # Biblatex supports many author-year and numerical styles.
8257 \begin_layout LyX-Code
8260 # It is mainly aimed at the Humanities.
8264 \begin_layout LyX-Code
8267 # customizable, fully localized and provides many features
8270 \begin_layout LyX-Code
8273 # that are not possible with BibTeX.
8274 The use of 'biber' as
8277 \begin_layout LyX-Code
8280 # bibliography processor is advised.
8283 \begin_layout LyX-Code
8289 \begin_layout Standard
8292 The description is used in
8293 \begin_inset Flex Noun
8296 \begin_layout Plain Layout
8299 Document\SpecialChar menuseparator
8300 Settings\SpecialChar menuseparator
8306 to provide the user with information about the cite engine.
8309 \begin_layout Subsection
8313 \begin_layout Standard
8314 La primera línea no comentada de cualquier archivo `layout', `inc' o `module'
8319 contener el número de formato del archivo:
8322 \begin_layout Description
8323 \begin_inset Flex Code
8326 \begin_layout Plain Layout
8333 \begin_inset Flex Code
8336 \begin_layout Plain Layout
8342 ] El número de formato del archivo de formato (`layout').
8345 \begin_layout Standard
8346 Esta etiqueta se introdujo en \SpecialChar LyX
8348 \begin_inset space ~
8352 Los archivos anteriores no tienen un número explícito y se consideran como
8354 \begin_inset Flex Code
8357 \begin_layout Plain Layout
8359 \begin_inset space ~
8368 El número para la versión actual de \SpecialChar LyX
8370 Cada versión de \SpecialChar LyX
8371 es capaz de leer los formatos de versiones anteriores,
8372 de la misma forma que puede leer archivos producidos con versiones de \SpecialChar LyX
8375 Sin embargo, no está previsto convertir a formatos anteriores.
8378 \begin_layout Subsection
8379 Parámetros generales de clases de texto
8380 \begin_inset CommandInset label
8382 name "subsec:Parámetros-generales-clases"
8389 \begin_layout Standard
8390 Estos son los parámetros generales que describen completamente una clase
8396 significa que deban aparecer en archivos
8397 \begin_inset Flex Code
8400 \begin_layout Plain Layout
8406 en vez de en módulos.
8407 Un módulo puede contener cualquier etiqueta de formato).
8410 \begin_layout Description
8411 \begin_inset Flex Code
8414 \begin_layout Plain Layout
8420 Añade información para el bloque
8421 \begin_inset Flex Code
8424 \begin_layout Plain Layout
8430 cuando el documento se exporte a XHTML.
8431 Típicamente, debería usarse para exportar información de estilo CSS, aunque
8432 se puede usar para cualquier cosa que pueda aparecer en
8433 \begin_inset Flex Code
8436 \begin_layout Plain Layout
8444 \begin_inset Quotes eld
8448 \begin_inset Flex Code
8451 \begin_layout Plain Layout
8458 \begin_inset Quotes erd
8464 \begin_layout Description
8465 \begin_inset Flex Code
8468 \begin_layout Plain Layout
8474 Añade información al preámbulo del documento.
8476 \begin_inset Quotes cld
8480 \begin_inset Flex Code
8483 \begin_layout Plain Layout
8490 \begin_inset Quotes crd
8496 \begin_layout Description
8499 \begin_inset Flex Code
8502 \begin_layout Plain Layout
8510 Defines the possibilities for displaying citation references.
8512 \begin_inset CommandInset ref
8514 reference "subsec:Citation-engine-description"
8523 \begin_inset Quotes eld
8527 \begin_inset Flex Code
8530 \begin_layout Plain Layout
8539 \begin_inset Quotes erd
8543 Primarily used in cite engine files (see
8544 \begin_inset CommandInset ref
8546 reference "subsec:Cite-Engine-Files"
8556 \begin_layout Description
8557 \begin_inset Flex Code
8560 \begin_layout Plain Layout
8566 Define formatos a usar en la presentación de información bibliográfica.
8568 \begin_inset space ~
8572 \begin_inset CommandInset ref
8574 reference "subsec:Descripción-formato-cita"
8580 \begin_inset Quotes eld
8584 \begin_inset Flex Code
8587 \begin_layout Plain Layout
8594 \begin_inset Quotes erd
8600 Primarily used in cite engine files (see
8601 \begin_inset CommandInset ref
8603 reference "subsec:Cite-Engine-Files"
8613 \begin_layout Description
8616 \begin_inset Flex Code
8619 \begin_layout Plain Layout
8628 \begin_inset Flex Code
8631 \begin_layout Plain Layout
8641 \begin_inset Flex Code
8644 \begin_layout Plain Layout
8652 ] Determines whether
8656 or Bib\SpecialChar TeX
8657 is used to generate a Bibliography.
8658 Primarily used in cite engine files (see
8659 \begin_inset CommandInset ref
8661 reference "subsec:Cite-Engine-Files"
8671 \begin_layout Description
8672 \begin_inset Flex Code
8675 \begin_layout Plain Layout
8681 Describe varias opciones globales soportadas por la clase de documento.
8683 \begin_inset space ~
8687 \begin_inset CommandInset ref
8689 reference "subsec:ClassOptions"
8693 para una descripción.
8695 \begin_inset Quotes cld
8699 \begin_inset Flex Code
8702 \begin_layout Plain Layout
8709 \begin_inset Quotes crd
8715 \begin_layout Description
8716 \begin_inset Flex Code
8719 \begin_layout Plain Layout
8726 \begin_inset Flex Code
8729 \begin_layout Plain Layout
8738 \begin_inset space \thinspace{}
8742 \begin_inset Flex Code
8745 \begin_layout Plain Layout
8751 ] Establece el número de columnas por omisión.
8752 Se puede cambiar en el diálogo
8753 \begin_inset Flex Noun
8756 \begin_layout Plain Layout
8757 Documento\SpecialChar menuseparator
8766 \begin_layout Description
8767 \begin_inset Flex Code
8770 \begin_layout Plain Layout
8776 Esta secuencia define un nuevo contador.
8778 \begin_inset space ~
8782 \begin_inset CommandInset ref
8784 reference "subsec:Contadores"
8790 \begin_inset Quotes cld
8794 \begin_inset Flex Code
8797 \begin_layout Plain Layout
8804 \begin_inset Quotes crd
8810 \begin_layout Description
8811 \begin_inset Flex Code
8814 \begin_layout Plain Layout
8820 Establece la tipografía por omisión para presentar el documento.
8822 \begin_inset space ~
8826 \begin_inset CommandInset ref
8828 reference "subsec:Tipografía"
8832 para cómo declarar tipografías.
8834 \begin_inset Quotes cld
8838 \begin_inset Flex Code
8841 \begin_layout Plain Layout
8848 \begin_inset Quotes crd
8854 \begin_layout Description
8855 \begin_inset Flex Code
8858 \begin_layout Plain Layout
8865 \begin_inset Flex Code
8868 \begin_layout Plain Layout
8874 ] Especifica un módulo que se incluirá por omisión en esta clase de documento;
8875 deberá declararse por su nombre de archivo sin la extensión
8876 \begin_inset Flex Code
8879 \begin_layout Plain Layout
8886 El usuario puede, aún así, quitar el módulo, pero estará activo al principio.
8887 (Esto se aplica solo cuando se crean archivos nuevos, o si esta clase se
8888 elige para un documento existente.)
8891 \begin_layout Description
8892 \begin_inset Flex Code
8895 \begin_layout Plain Layout
8902 \begin_inset Flex Code
8905 \begin_layout Plain Layout
8911 ] Este es el estilo que será asignado a párrafos nuevos, generalmente
8912 \begin_inset Flex Noun
8915 \begin_layout Plain Layout
8922 Si no se especifica, se escogerá por omisión el primer estilo definido,
8923 pero es muy recomendable usar esta instrucción.
8926 \begin_layout Description
8927 \begin_inset Flex Code
8930 \begin_layout Plain Layout
8937 \begin_inset Flex Code
8940 \begin_layout Plain Layout
8946 ] Indica que el módulo en cuestión (que debería especificarse por el nombre
8947 de archivo sin la extensión
8948 \begin_inset Flex Code
8951 \begin_layout Plain Layout
8957 ) no puede utilizarse con esta clase de documento.
8958 Esto podría usarse en un archivo de formato específico de una publicación
8959 para, digamos, impedir el empleo del módulo
8960 \begin_inset Flex Code
8963 \begin_layout Plain Layout
8969 , que numera los teoremas y demás por secciones.
8974 puede utilizarse en un módulo.
8975 Los módulos tienen su propia forma de excluir otros módulos (véase
8976 \begin_inset space ~
8980 \begin_inset CommandInset ref
8982 reference "subsec:Módulos-de-formato"
8989 \begin_layout Description
8990 \begin_inset Flex Code
8993 \begin_layout Plain Layout
8999 Define un nuevo flotante.
9001 \begin_inset space ~
9005 \begin_inset CommandInset ref
9007 reference "subsec:Flotantes"
9013 \begin_inset Quotes cld
9017 \begin_inset Flex Code
9020 \begin_layout Plain Layout
9027 \begin_inset Quotes crd
9033 \begin_layout Description
9034 \begin_inset Flex Code
9037 \begin_layout Plain Layout
9043 Da información para el bloque
9044 \begin_inset Flex Code
9047 \begin_layout Plain Layout
9053 cuando esta clase de documento se exporte a XHTML.
9054 Advertir que esto sobrescribirá completamente cualquier declaración anterior
9056 \begin_inset Flex Code
9059 \begin_layout Plain Layout
9066 \begin_inset Flex Code
9069 \begin_layout Plain Layout
9077 \begin_inset Flex Code
9080 \begin_layout Plain Layout
9086 si solo quieres añadir material al preámbulo).
9088 \begin_inset Quotes eld
9092 \begin_inset Flex Code
9095 \begin_layout Plain Layout
9102 \begin_inset Quotes erd
9108 \begin_layout Description
9109 \begin_inset Flex Code
9112 \begin_layout Plain Layout
9119 \begin_inset Flex Code
9122 \begin_layout Plain Layout
9128 ] El estilo a usar para el índice general, bibliografía, etc., cuando el
9129 documento se exporte a HTML.
9130 Para article, normalmente será
9131 \begin_inset Flex Code
9134 \begin_layout Plain Layout
9141 \begin_inset Flex Code
9144 \begin_layout Plain Layout
9151 Si no se especifica, \SpecialChar LyX
9152 intentará deducir qué formato usar.
9155 \begin_layout Description
9156 \begin_inset Flex Code
9159 \begin_layout Plain Layout
9166 \begin_inset Flex Code
9169 \begin_layout Plain Layout
9175 ] Modifica las propiedades del contador dado.
9176 Si el contador no existe, esta sección se ignora.
9178 \begin_inset Quotes eld
9182 \begin_inset Flex Code
9185 \begin_layout Plain Layout
9192 \begin_inset Quotes erd
9196 \begin_inset Newline newline
9200 \begin_inset space ~
9204 \begin_inset CommandInset ref
9206 reference "subsec:Contadores"
9213 \begin_layout Description
9214 \begin_inset Flex Code
9217 \begin_layout Plain Layout
9224 \begin_inset Flex Code
9227 \begin_layout Plain Layout
9233 ] Permite incluir otro archivo de definición de formato en el tuyo con el
9234 fin de evitar la duplicación de comandos.
9235 Ejemplos habituales son los archivos de formatos estándar, como
9236 \begin_inset Flex Code
9239 \begin_layout Plain Layout
9245 , que contiene la mayoría de los diseños básicos.
9248 \begin_layout Description
9249 \begin_inset Flex Code
9252 \begin_layout Plain Layout
9259 \begin_inset Flex Code
9262 \begin_layout Plain Layout
9268 ] Esta sección (re)define el formato de un recuadro.
9269 Puede aplicarse a uno existente o a uno nuevo, definido por el usuario,
9271 \begin_inset space \thinspace{}
9274 e., un nuevo estilo de texto.
9276 \begin_inset space ~
9280 \begin_inset CommandInset ref
9282 reference "subsec:estilo-del-texto"
9286 para más información.
9288 \begin_inset Quotes cld
9292 \begin_inset Flex Code
9295 \begin_layout Plain Layout
9302 \begin_inset Quotes crd
9308 \begin_layout Description
9309 \begin_inset Flex Code
9312 \begin_layout Plain Layout
9319 \begin_inset Flex Code
9322 \begin_layout Plain Layout
9328 ] Una cadena que indica la anchura del margen izquierdo en la pantalla,
9330 \begin_inset Quotes cld
9334 \begin_inset Flex Code
9337 \begin_layout Plain Layout
9344 \begin_inset Quotes crd
9348 (Esto no es una `longitud', como
9349 \begin_inset Quotes cld
9353 \begin_inset Quotes crd
9359 \begin_layout Description
9362 \begin_inset Flex Code
9365 \begin_layout Plain Layout
9374 \begin_inset Flex Code
9377 \begin_layout Plain Layout
9385 ] An integer that determines the maximal number of names displayed in an
9386 author-year citation before the citation switches to
9387 \begin_inset Quotes eld
9391 \begin_inset Quotes erd
9395 Primarily used in cite engine files (see
9396 \begin_inset CommandInset ref
9398 reference "subsec:Cite-Engine-Files"
9408 \begin_layout Description
9409 \begin_inset Flex Code
9412 \begin_layout Plain Layout
9419 \begin_inset Flex Code
9422 \begin_layout Plain Layout
9428 ] Modifica las propiedades del estilo de párrafo dado.
9429 Si el estilo no existe, esta sección se ignora.
9431 \begin_inset Quotes eld
9435 \begin_inset Flex Code
9438 \begin_layout Plain Layout
9445 \begin_inset Quotes erd
9451 \begin_layout Description
9452 \begin_inset Flex Code
9455 \begin_layout Plain Layout
9462 \begin_inset Flex Code
9465 \begin_layout Plain Layout
9471 ] Este comando elimina un contador existente, generalmente uno definido
9472 en un archivo incluido.
9475 \begin_layout Description
9476 \begin_inset Flex Code
9479 \begin_layout Plain Layout
9486 \begin_inset Flex Code
9489 \begin_layout Plain Layout
9495 ] Este comando borra un flotante existente.
9496 Es particularmente útil si quieres suprimir un flotante que ha sido definido
9497 en un archivo de entrada.
9500 \begin_layout Description
9501 \begin_inset Flex Code
9504 \begin_layout Plain Layout
9511 \begin_inset Flex Code
9514 \begin_layout Plain Layout
9520 ] Este comando borra un estilo existente.
9523 \begin_layout Description
9524 \begin_inset Flex Code
9527 \begin_layout Plain Layout
9534 \begin_inset Flex Code
9537 \begin_layout Plain Layout
9543 ] El formato de archivo (tal como se define en las preferencias de \SpecialChar LyX
9546 Principalmente, es útil cuando
9547 \begin_inset Flex Code
9550 \begin_layout Plain Layout
9557 \begin_inset Flex Code
9560 \begin_layout Plain Layout
9566 y se quiere definir un nuevo tipo de documento `literate'.
9567 Esta cadena se redefine a
9568 \begin_inset Quotes cld
9572 \begin_inset Flex Code
9575 \begin_layout Plain Layout
9582 \begin_inset Quotes crd
9586 \begin_inset Quotes cld
9590 \begin_inset Flex Code
9593 \begin_layout Plain Layout
9600 \begin_inset Quotes crd
9603 si se encuentra el correspondiente parámetro
9604 \begin_inset Flex Code
9607 \begin_layout Plain Layout
9616 \begin_layout Description
9617 \begin_inset Flex Code
9620 \begin_layout Plain Layout
9627 \begin_inset Flex Code
9630 \begin_layout Plain Layout
9641 \begin_inset Flex Code
9644 \begin_layout Plain Layout
9651 \begin_inset Flex Code
9654 \begin_layout Plain Layout
9660 ] Indica qué clase de documentos de salida que usan esta clase se generarán.
9663 \begin_layout Description
9664 \begin_inset Flex Code
9667 \begin_layout Plain Layout
9674 \begin_inset Flex Code
9677 \begin_layout Plain Layout
9684 \begin_inset Flex Code
9687 \begin_layout Plain Layout
9693 ] Especifica opciones, dadas en el segundo
9697 , para el paquete nombrado en el primer
9703 \begin_inset Quotes cld
9707 \begin_inset Flex Code
9710 \begin_layout Plain Layout
9711 PackageOptions natbib square
9717 \begin_inset Quotes crd
9721 \begin_inset Flex Code
9724 \begin_layout Plain Layout
9730 se cargue con la opción
9731 \begin_inset Flex Code
9734 \begin_layout Plain Layout
9741 (Para \SpecialChar TeX
9742 pertos, esto hace que \SpecialChar LyX
9744 \begin_inset Flex Code
9747 \begin_layout Plain Layout
9750 PassOptionsToPackage{natbib}{square}
9756 \begin_inset Flex Code
9759 \begin_layout Plain Layout
9768 \begin_layout Description
9769 \begin_inset Flex Code
9772 \begin_layout Plain Layout
9779 \begin_inset Flex Code
9782 \begin_layout Plain Layout
9791 \begin_inset Flex Code
9794 \begin_layout Plain Layout
9801 \begin_inset Flex Code
9804 \begin_layout Plain Layout
9814 El estilo de página predeterminado de la clase.
9815 Puede cambiarse en el diálogo
9816 \begin_inset Flex Noun
9819 \begin_layout Plain Layout
9820 Documento\SpecialChar menuseparator
9829 \begin_layout Description
9830 \begin_inset Flex Code
9833 \begin_layout Plain Layout
9839 Establece el preámbulo \SpecialChar LaTeX
9841 Anotar que esto anulará completamente cualesquiera declaraciones
9842 \begin_inset Flex Code
9845 \begin_layout Plain Layout
9852 \begin_inset Flex Code
9855 \begin_layout Plain Layout
9863 \begin_inset Flex Code
9866 \begin_layout Plain Layout
9872 si solo quieres añadir material al preámbulo).
9874 \begin_inset Quotes cld
9878 \begin_inset Flex Code
9881 \begin_layout Plain Layout
9888 \begin_inset Quotes crd
9894 \begin_layout Description
9895 \begin_inset Flex Code
9898 \begin_layout Plain Layout
9905 \begin_inset Flex Code
9908 \begin_layout Plain Layout
9915 \begin_inset Flex Code
9918 \begin_layout Plain Layout
9927 \begin_inset Flex Code
9930 \begin_layout Plain Layout
9936 ] Si la clase ya proporciona, o no, la característica
9937 \begin_inset Flex Code
9940 \begin_layout Plain Layout
9947 Una característica es en general el nombre de un paquete (
9948 \begin_inset Flex Code
9951 \begin_layout Plain Layout
9958 \begin_inset Flex Code
9961 \begin_layout Plain Layout
9967 , \SpecialChar ldots
9969 \begin_inset Flex Code
9972 \begin_layout Plain Layout
9979 \begin_inset Flex Code
9982 \begin_layout Plain Layout
9990 Véase en el capítulo
9991 \begin_inset space ~
9995 \begin_inset CommandInset ref
9997 reference "cap:Lista-de-funciones"
10001 la lista de características.
10004 \begin_layout Description
10005 \begin_inset Flex Code
10008 \begin_layout Plain Layout
10015 \begin_inset Flex Code
10018 \begin_layout Plain Layout
10024 ] Indica que este formato proporciona la funcionalidad del módulo mencionado,
10025 que deberá especificarse con su nombre de archivo sin la extensión
10026 \begin_inset Flex Code
10029 \begin_layout Plain Layout
10036 Esto se usará típicamente si el formato incluye el módulo directamente,
10037 preferiblemente a usar la etiqueta
10038 \begin_inset Flex Code
10041 \begin_layout Plain Layout
10047 para indicar que debería utilizarse.
10048 Podría ser empleado en un módulo que provea una implementación alternativa
10049 de la misma funcionalidad.
10052 \begin_layout Description
10053 \begin_inset Flex Code
10056 \begin_layout Plain Layout
10063 \begin_inset Flex Code
10066 \begin_layout Plain Layout
10072 ] Crea un nuevo estilo (entorno) de párrafo si no existe.
10073 Si el estilo existe se ignora esta sección.
10075 \begin_inset Quotes eld
10079 \begin_inset Flex Code
10082 \begin_layout Plain Layout
10089 \begin_inset Quotes erd
10095 \begin_layout Description
10096 \begin_inset Flex Code
10099 \begin_layout Plain Layout
10106 \begin_inset Flex Code
10109 \begin_layout Plain Layout
10115 ] Si la clase requiere la característica
10116 \begin_inset Flex Code
10119 \begin_layout Plain Layout
10126 Múltiples características deben separarse con comas.
10127 Multiple features must be separated by commas.
10128 Anotar que solo se pueden demandar características soportadas.
10129 (Véase la lista en el capítulo
10130 \begin_inset space ~
10134 \begin_inset CommandInset ref
10136 reference "cap:Lista-de-funciones"
10141 Si necesitas un paquete con opciones específicas puedes usar además
10142 \begin_inset Flex Code
10145 \begin_layout Plain Layout
10154 \begin_layout Description
10155 \begin_inset Flex Code
10158 \begin_layout Plain Layout
10165 \begin_inset Flex Code
10168 \begin_layout Plain Layout
10174 ] Una cadena que indica la anchura del margen derecho en la pantalla, por
10176 \begin_inset Quotes cld
10180 \begin_inset Flex Code
10183 \begin_layout Plain Layout
10190 \begin_inset Quotes crd
10196 \begin_layout Description
10197 \begin_inset Flex Code
10200 \begin_layout Plain Layout
10207 \begin_inset Flex Code
10210 \begin_layout Plain Layout
10216 ] Establece qué divisiones se numeran.
10217 Corresponde al contador \SpecialChar LaTeX
10219 \begin_inset Flex Code
10222 \begin_layout Plain Layout
10231 \begin_layout Description
10232 \begin_inset Flex Code
10235 \begin_layout Plain Layout
10244 \begin_inset Flex Code
10247 \begin_layout Plain Layout
10256 \begin_inset space \thinspace{}
10260 \begin_inset Flex Code
10263 \begin_layout Plain Layout
10269 ] Si debe imprimirse en una o en ambas caras del papel.
10270 Se puede cambiar en el diálogo
10271 \begin_inset Flex Noun
10274 \begin_layout Plain Layout
10275 Documento\SpecialChar menuseparator
10284 \begin_layout Description
10285 \begin_inset Flex Code
10288 \begin_layout Plain Layout
10295 \begin_inset Flex Code
10298 \begin_layout Plain Layout
10304 ] Esta secuencia define un nuevo estilo de párrafo.
10305 Si el estilo ya existe, en ese caso se redefinirán algunos de los parámetros.
10307 \begin_inset space ~
10311 \begin_inset CommandInset ref
10313 reference "subsec:Estilos-de-párrafo"
10319 \begin_inset Quotes cld
10323 \begin_inset Flex Code
10326 \begin_layout Plain Layout
10333 \begin_inset Quotes crd
10339 \begin_layout Description
10340 \begin_inset Flex Code
10343 \begin_layout Plain Layout
10350 \begin_inset Flex Code
10353 \begin_layout Plain Layout
10359 ] El nombre del comando de entorno a usar con
10360 \begin_inset Flex Code
10363 \begin_layout Plain Layout
10372 \begin_layout Description
10373 \begin_inset Flex Code
10376 \begin_layout Plain Layout
10383 \begin_inset Flex Code
10386 \begin_layout Plain Layout
10395 \begin_inset Flex Code
10398 \begin_layout Plain Layout
10404 ] Indica qué clase de diseño se emplea para definir el título de un documento.
10406 \begin_inset Flex Code
10409 \begin_layout Plain Layout
10415 significa que la macro con nombre
10416 \begin_inset Flex Code
10419 \begin_layout Plain Layout
10425 se insertará después del último formato que tiene
10426 \begin_inset Quotes cld
10430 \begin_inset Flex Code
10433 \begin_layout Plain Layout
10435 \begin_inset space ~
10444 \begin_inset Quotes crd
10449 \begin_inset Flex Code
10452 \begin_layout Plain Layout
10458 corresponde al caso en que todos los formatos que tienen
10459 \begin_inset Quotes cld
10463 \begin_inset Flex Code
10466 \begin_layout Plain Layout
10468 \begin_inset space ~
10477 \begin_inset Quotes crd
10480 debería ser incluido en el entorno
10481 \begin_inset Flex Code
10484 \begin_layout Plain Layout
10493 \begin_layout Description
10494 \begin_inset Flex Code
10497 \begin_layout Plain Layout
10504 \begin_inset Flex Code
10507 \begin_layout Plain Layout
10513 ] Establece qué divisiones se incluyen en el índice general.
10514 Corresponde al contador \SpecialChar LaTeX
10516 \begin_inset Flex Code
10519 \begin_layout Plain Layout
10528 \begin_layout Subsection
10530 \begin_inset Flex Code
10533 \begin_layout Plain Layout
10540 \begin_inset CommandInset label
10542 name "subsec:ClassOptions"
10549 \begin_layout Standard
10551 \begin_inset Flex Code
10554 \begin_layout Plain Layout
10560 puede contener las siguientes entradas:
10563 \begin_layout Description
10564 \begin_inset Flex Code
10567 \begin_layout Plain Layout
10574 \begin_inset Flex Code
10577 \begin_layout Plain Layout
10583 ] La lista de los tamaños de carácter disponibles para la tipografía principal
10584 del documento, separados por
10585 \begin_inset Quotes cld
10589 \begin_inset Flex Code
10592 \begin_layout Plain Layout
10599 \begin_inset Quotes crd
10605 \begin_layout Description
10606 \begin_inset Flex Code
10609 \begin_layout Plain Layout
10615 Para establecer la línea DTD con las clases con salida basada en XML.
10617 \begin_inset space \thinspace{}
10621 \begin_inset Quotes cld
10624 -//OASIS//DTD DocBook V4.2//EN
10625 \begin_inset Quotes crd
10631 \begin_layout Description
10632 \begin_inset Flex Code
10635 \begin_layout Plain Layout
10642 \begin_inset Flex Code
10645 \begin_layout Plain Layout
10651 ] Algunas opciones de clase de documento, separadas por coma, que se añadirán
10652 a la parte opcional del comando
10653 \begin_inset Flex Code
10656 \begin_layout Plain Layout
10667 \begin_layout Description
10668 \begin_inset Flex Code
10671 \begin_layout Plain Layout
10678 \begin_inset Flex Code
10681 \begin_layout Plain Layout
10682 string="empty|plain|headings|fancy"
10687 ] Lista de los estilos de página disponibles, separados por
10688 \begin_inset Quotes cld
10692 \begin_inset Flex Code
10695 \begin_layout Plain Layout
10702 \begin_inset Quotes crd
10708 \begin_layout Standard
10710 \begin_inset Flex Code
10713 \begin_layout Plain Layout
10720 \begin_inset Quotes cld
10724 \begin_inset Flex Code
10727 \begin_layout Plain Layout
10734 \begin_inset Quotes crd
10740 \begin_layout Subsection
10742 \begin_inset CommandInset label
10744 name "subsec:Estilos-de-párrafo"
10751 \begin_layout Standard
10752 Una descripción de estilo de párrafo tiene una aspecto como éste:
10756 \begin_layout Plain Layout
10757 Anotar que esto definirá un nuevo diseño o modificará uno existente.
10765 \begin_layout LyX-Code
10772 \begin_layout LyX-Code
10776 \begin_layout LyX-Code
10780 \begin_layout Standard
10781 donde se permiten los comandos siguientes:
10784 \begin_layout Description
10787 \begin_inset Flex Code
10790 \begin_layout Plain Layout
10799 \begin_inset Flex Code
10802 \begin_layout Plain Layout
10810 =""] This paragraph will appear in the table of contents of the given type.
10811 An empty string disables.
10812 See also the OutlinerName and the IsTocCaption commands.
10816 \begin_layout Description
10817 \begin_inset Flex Code
10820 \begin_layout Plain Layout
10827 \begin_inset Flex Code
10830 \begin_layout Plain Layout
10835 , left, right, center
10840 ] Alineación del párrafo.
10843 \begin_layout Description
10844 \begin_inset Flex Code
10847 \begin_layout Plain Layout
10854 \begin_inset Flex Code
10857 \begin_layout Plain Layout
10862 , left, right, center
10867 ] Una lista separada con comas de alineaciones permitidas.
10868 (Algunos estilos de \SpecialChar LaTeX
10869 prohiben ciertos alineamientos, ya que no tendrían
10871 Por ejemplo una alineación a la derecha o al centro de una lista numerada
10875 \begin_layout Description
10876 \begin_inset Flex Code
10879 \begin_layout Plain Layout
10886 \begin_inset Flex Code
10889 \begin_layout Plain Layout
10895 ] Define el número de argumento de un comando o entorno asociado al estilo
10897 Es útil para cosas como encabezados de sección y solo tiene sentido con
10900 Cada argumento (opcional o requerido) de un comando o entorno —excepto
10901 para el argumento requerido que se asocia con el contenido del propio párrafo—
10902 tiene una definición separada, en la que el número especifica el orden
10904 La definición debe finalizar con
10905 \begin_inset Flex Code
10908 \begin_layout Plain Layout
10915 Así, un comando con dos argumentos opcionales tiene:
10919 \begin_layout Quote
10925 \begin_layout Quote
10931 \begin_layout Quote
10937 \begin_layout Quote
10943 \begin_layout Quote
10949 \begin_layout Quote
10955 \begin_layout Standard
10956 En la definición de
10957 \begin_inset Flex Code
10960 \begin_layout Plain Layout
10966 son posibles las siguientes especificaciones:
10969 \begin_layout Itemize
10970 \begin_inset Flex Code
10973 \begin_layout Plain Layout
10980 \begin_inset Flex Code
10983 \begin_layout Plain Layout
10989 Secuencia que aparecerá tanto en el menú (a insertar este argumento) como
10990 en el botón de inserción del argumento (a menos que especifiques también
10992 \begin_inset Flex Code
10995 \begin_layout Plain Layout
11002 Para el menú puedes definir un acelerador agregando el carácter respectivo
11003 a la secuencia, separado con
11004 \begin_inset Quotes cld
11008 \begin_inset Quotes crd
11012 \begin_inset space \thinspace{}
11016 \begin_inset space \space{}
11020 \begin_inset Quotes cld
11024 \begin_inset Flex Code
11027 \begin_layout Plain Layout
11034 \begin_inset Quotes crd
11040 \begin_layout Itemize
11041 \begin_inset Flex Code
11044 \begin_layout Plain Layout
11051 \begin_inset Flex Code
11054 \begin_layout Plain Layout
11060 Secuencia separada para el menú Puedes definir un acelerador agregando
11061 el carácter respectivo a la secuencia, separado con
11062 \begin_inset Quotes cld
11066 \begin_inset Quotes crd
11070 \begin_inset space \thinspace{}
11074 \begin_inset space \space{}
11078 \begin_inset Quotes cld
11082 \begin_inset Flex Code
11085 \begin_layout Plain Layout
11092 \begin_inset Quotes crd
11096 Esta especificación es opcional.
11097 Si no se da se usará
11098 \begin_inset Flex Code
11101 \begin_layout Plain Layout
11110 \begin_layout Itemize
11111 \begin_inset Flex Code
11114 \begin_layout Plain Layout
11121 \begin_inset Flex Code
11124 \begin_layout Plain Layout
11130 Texto explicativo que se muestra en un recuadro sugerencia al planear sobre
11131 el recuadro del argumento.
11134 \begin_layout Itemize
11135 \begin_inset Flex Code
11138 \begin_layout Plain Layout
11145 \begin_inset Flex Code
11148 \begin_layout Plain Layout
11157 \begin_inset space \thinspace{}
11161 \begin_inset Flex Code
11164 \begin_layout Plain Layout
11170 ] Declara si es argumento obligatorio (1) u opcional (0).
11171 Los argumentos obligatorios se emitirán vacíos si no se dan, mientras que
11172 los opcionales no serán emitidos.
11173 Por omisión, los argumentos obligatorios se delimitan con
11174 \begin_inset Flex Code
11177 \begin_layout Plain Layout
11183 y los opcionales con
11184 \begin_inset Flex Code
11187 \begin_layout Plain Layout
11196 \begin_layout Itemize
11197 \begin_inset Flex Code
11200 \begin_layout Plain Layout
11207 \begin_inset Flex Code
11210 \begin_layout Plain Layout
11216 define otro argumento (por su número) que este argumento requiere para
11217 emitirse si él mismo es emitido.
11219 \begin_inset space \thinspace{}
11222 e., en comandos \SpecialChar LaTeX
11223 , los argumentos opcionales requieren a menudo argumentos
11224 opcionales previos para ser emitidos (al menos vacíos), como en
11225 \begin_inset Newline newline
11229 \begin_inset Flex Code
11232 \begin_layout Plain Layout
11235 command[][argument]{text}
11241 Esto se puede conseguir con la declaración
11242 \begin_inset Flex Code
11245 \begin_layout Plain Layout
11252 \begin_inset Flex Code
11255 \begin_layout Plain Layout
11264 \begin_layout Itemize
11265 \begin_inset Flex Code
11268 \begin_layout Plain Layout
11275 \begin_inset Flex Code
11278 \begin_layout Plain Layout
11284 define un delimitador izquierdo personalizado (en vez de
11285 \begin_inset Flex Code
11288 \begin_layout Plain Layout
11295 \begin_inset Flex Code
11298 \begin_layout Plain Layout
11305 Un salto de línea en la salida se puede indicar con
11306 \begin_inset Flex Code
11309 \begin_layout Plain Layout
11318 \begin_layout Itemize
11319 \begin_inset Flex Code
11322 \begin_layout Plain Layout
11329 \begin_inset Flex Code
11332 \begin_layout Plain Layout
11338 define un delimitador derecho personalizado (en vez de
11339 \begin_inset Flex Code
11342 \begin_layout Plain Layout
11349 \begin_inset Flex Code
11352 \begin_layout Plain Layout
11359 Un salto de línea en la salida se puede indicar con
11360 \begin_inset Flex Code
11363 \begin_layout Plain Layout
11372 \begin_layout Itemize
11373 \begin_inset Flex Code
11376 \begin_layout Plain Layout
11383 \begin_inset Flex Code
11386 \begin_layout Plain Layout
11392 define un argumento que se inserta si y solo si no se han dado argumentos
11393 específicos del usuario, o sea, si no se ha insertado ningún recuadro de
11394 argumento (también un recuadro de argumento vacío omite DefaultArg).
11395 Múltiples argumentos deben separarse con comas.
11398 \begin_layout Itemize
11399 \begin_inset Flex Code
11402 \begin_layout Plain Layout
11409 \begin_inset Flex Code
11412 \begin_layout Plain Layout
11418 define un argumento que se inserta en cualquier caso (solo o añadido a
11419 argumentos especificados por el usuario).
11420 Múltiples argumentos deben separarse con comas.
11423 \begin_layout Itemize
11424 \begin_inset Flex Code
11427 \begin_layout Plain Layout
11433 Tipografía usada para el contenido del argumento, véase
11434 \begin_inset CommandInset ref
11436 reference "subsec:Tipografía"
11443 \begin_layout Itemize
11444 \begin_inset Flex Code
11447 \begin_layout Plain Layout
11453 Tipografía usada para la etiqueta, véase
11454 \begin_inset CommandInset ref
11456 reference "subsec:Tipografía"
11463 \begin_layout Itemize
11464 \begin_inset Flex Code
11467 \begin_layout Plain Layout
11474 \begin_inset Flex Code
11477 \begin_layout Plain Layout
11482 , Minimalistic, Conglomerate
11487 ] describe el estilo de representación para los botones y el marco del recuadro
11491 \begin_layout Itemize
11492 \begin_inset Flex Code
11495 \begin_layout Plain Layout
11502 \begin_inset Flex Code
11505 \begin_layout Plain Layout
11512 \begin_inset Flex Code
11515 \begin_layout Plain Layout
11521 , este argumento se inserta automáticamente cuando se selecciona el estilo
11523 Actualmente solo se puede insertar automaticamente un argumento por estilo\SpecialChar breakableslash
11528 \begin_layout Itemize
11529 \begin_inset Flex Code
11532 \begin_layout Plain Layout
11539 \begin_inset Flex Code
11542 \begin_layout Plain Layout
11549 \begin_inset Flex Code
11552 \begin_layout Plain Layout
11558 , este argumento se insertará con una copia del co-texto (texto seleccionado
11559 o párrafo completo) como contenido.
11562 \begin_layout Itemize
11565 \begin_inset Flex Code
11568 \begin_layout Plain Layout
11577 \begin_inset Flex Code
11580 \begin_layout Plain Layout
11591 ] Whether the contents of this argument should be output in raw form, meaning
11592 without special translations that \SpecialChar LaTeX
11595 \begin_inset Flex Code
11598 \begin_layout Plain Layout
11606 status is inherited by the inset or paragraph layout the argument belongs
11607 to, true and false change the status for the given argument only.
11610 \begin_layout Itemize
11611 \begin_inset Flex Code
11614 \begin_layout Plain Layout
11621 \begin_inset Flex Code
11624 \begin_layout Plain Layout
11625 string of characters
11634 Define caracteres individuales que deberían emitirse en bruto, es decir,
11635 sin traducciones especiales que podría requerir \SpecialChar LaTeX
11637 Al contrario que PassThru, esto debe ser explícitamente definido para argumento
11639 Esto es, los argumentos no heredan PassThruChars de su recuadro de inserción
11643 \begin_layout Itemize
11646 \begin_inset Flex Code
11649 \begin_layout Plain Layout
11658 \begin_inset Flex Code
11661 \begin_layout Plain Layout
11671 \begin_inset space \thinspace{}
11675 \begin_inset Flex Code
11678 \begin_layout Plain Layout
11686 ] If this is set to 1, the argument will output its content in the corresponding
11687 item in the table of contents.
11691 \begin_layout Standard
11692 Por omisión, el texto introducido en el área de trabajo de \SpecialChar LyX
11694 respectivo de formato es el último argumento (obligatorio) de un comando
11696 \begin_inset Flex Code
11699 \begin_layout Plain Layout
11706 \begin_inset Flex Code
11709 \begin_layout Plain Layout
11716 Sin embargo, los argumentos con el prefijo
11717 \begin_inset Flex Code
11720 \begin_layout Plain Layout
11726 se emiten después de este argumento de área de trabajo.
11727 La numeración de este post-argumento reinicia a 1, así que el primer argumento
11728 siguiente al del área de trabajo es
11729 \begin_inset Flex Code
11732 \begin_layout Plain Layout
11739 Los post-argumentos se ignoran en cualquier otro
11740 \begin_inset Flex Code
11743 \begin_layout Plain Layout
11750 \begin_inset Flex Code
11753 \begin_layout Plain Layout
11762 \begin_layout Standard
11763 Los argumentos para
11764 \begin_inset Flex Code
11767 \begin_layout Plain Layout
11775 s de lista (como en
11776 \begin_inset Flex Code
11779 \begin_layout Plain Layout
11787 ) tienen el prefijo
11788 \begin_inset Flex Code
11791 \begin_layout Plain Layout
11797 seguido por el número (p.
11798 \begin_inset space \thinspace{}
11802 \begin_inset space \space{}
11806 \begin_inset Flex Code
11809 \begin_layout Plain Layout
11819 \begin_layout Description
11820 \begin_inset Flex Code
11823 \begin_layout Plain Layout
11829 Esto sobrescribirá completamente cualquier anterior declaración
11830 \begin_inset Newline newline
11834 \begin_inset Flex Code
11837 \begin_layout Plain Layout
11845 \begin_inset Quotes eld
11849 \begin_inset Flex Code
11852 \begin_layout Plain Layout
11859 \begin_inset Quotes erd
11864 \begin_inset space ~
11868 \begin_inset CommandInset ref
11870 reference "subsec:I18n"
11874 para detalles sobre su uso.
11877 \begin_layout Description
11878 \begin_inset Flex Code
11881 \begin_layout Plain Layout
11888 \begin_inset Flex Code
11891 \begin_layout Plain Layout
11901 \begin_layout Plain Layout
11902 Anotar que aquí un 'float' es un número real, como: 1.5.
11907 El espacio vertical con el que el último de una cadena de párrafos con
11908 este estilo se separa del siguiente párrafo.
11909 Si el párrafo siguiente tiene otro estilo, las separaciones no son simplemente
11910 añadidas sino que se pone la máxima.
11913 \begin_layout Description
11914 \begin_inset Flex Code
11917 \begin_layout Plain Layout
11924 \begin_inset Flex Code
11927 \begin_layout Plain Layout
11933 La categoría para este estilo.
11934 Se usa para agrupar estilos relacionados en el recuadro de estilo en la
11935 barra de herramientas.
11936 Se puede poner cualquier cadena en 'string' pero mejor usar categorías
11937 existentes con tus propios estilos.
11940 \begin_layout Description
11941 \begin_inset Flex Code
11944 \begin_layout Plain Layout
11950 Profundidad del comando XML.
11951 Usado solo con formatos tipo XML.
11954 \begin_layout Description
11955 \begin_inset Flex Code
11958 \begin_layout Plain Layout
11965 \begin_inset Flex Code
11968 \begin_layout Plain Layout
11974 Copia todas las características de un estilo existente en el actual.
11978 \begin_layout Description
11979 \begin_inset Flex Code
11982 \begin_layout Plain Layout
11989 \begin_inset Flex Code
11992 \begin_layout Plain Layout
11998 ] El nombre de un estilo cuyo preámbulo debería salir
12003 Esto permite asegurar un orden de los retazos de preámbulo si las definiciones
12004 de macros dependen de otra.
12008 \begin_layout Plain Layout
12009 Anotar que, excepto esta funcionalidad, no hay forma de asegurar ningún
12010 orden de los preámbulos.
12011 El orden que se ve en una versión dada de \SpecialChar LyX
12012 puede cambiar sin previo aviso
12013 en versiones posteriores.
12021 \begin_layout Description
12022 \begin_inset Flex Code
12025 \begin_layout Plain Layout
12032 \begin_inset Flex Code
12035 \begin_layout Plain Layout
12040 , Box, Filled_Box, Static
12045 ] El tipo de etiqueta que se pone al final del párrafo (o secuencia de párrafos
12047 \begin_inset Flex Code
12050 \begin_layout Plain Layout
12057 \begin_inset Flex Code
12060 \begin_layout Plain Layout
12067 \begin_inset Flex Code
12070 \begin_layout Plain Layout
12077 \begin_inset Flex Code
12080 \begin_layout Plain Layout
12088 \begin_inset Flex Code
12091 \begin_layout Plain Layout
12098 \begin_inset Quotes cld
12102 \begin_inset Quotes crd
12106 \begin_inset Flex Code
12109 \begin_layout Plain Layout
12116 \begin_inset Flex Code
12119 \begin_layout Plain Layout
12120 \begin_inset space ~
12128 ) es un cuadrado blanco (resp.
12129 \begin_inset space ~
12132 negro) adecuado para marcas finales de demostraciones,
12133 \begin_inset Flex Code
12136 \begin_layout Plain Layout
12142 es una cadena de texto explícito.
12145 \begin_layout Description
12146 \begin_inset Flex Code
12149 \begin_layout Plain Layout
12156 \begin_inset Flex Code
12159 \begin_layout Plain Layout
12165 ] La secuencia usada para una etiqueta con un
12166 \begin_inset Flex Code
12169 \begin_layout Plain Layout
12176 \begin_inset Flex Code
12179 \begin_layout Plain Layout
12189 \begin_layout Description
12193 \begin_layout Plain Layout
12198 No estoy seguro de que estas configuraciones (Fill_Bottom, Fill_Top) tengan
12199 mucho uso, y probablemente se quitarán en próximas versiones.
12205 \begin_inset Note Note
12208 \begin_layout Plain Layout
12210 \begin_inset Quotes cld
12213 Espacio vertical encima
12214 \begin_inset Quotes crd
12218 \begin_inset Quotes cld
12221 Espacio vertical abajo
12222 \begin_inset Quotes erd
12225 en Editar\SpecialChar menuseparator
12226 Configuración de párrafo, esto parece obsoleto, como dice Jean-Marc
12237 \begin_layout Description
12238 \begin_inset Flex Code
12241 \begin_layout Plain Layout
12247 La tipografía usada para el cuerpo del texto
12253 \begin_inset space ~
12257 \begin_inset CommandInset ref
12259 reference "subsec:Tipografía"
12264 Anotar que al definir esta tipografía se define automáticamente la de la
12266 \begin_inset Flex Code
12269 \begin_layout Plain Layout
12276 Así que debería definirse primero ésta si se quiere definir también
12277 \begin_inset Flex Code
12280 \begin_layout Plain Layout
12289 \begin_layout Description
12290 \begin_inset Flex Code
12293 \begin_layout Plain Layout
12300 \begin_inset Flex Code
12303 \begin_layout Plain Layout
12309 ] Se usa para compatibilizar estilos nuevos a versiones estables de \SpecialChar LyX
12311 La primera versión estable que soporta esta etiqueta es \SpecialChar LyX
12313 El argumento es un número 0, -1 o cualquier valor mayor de cero.
12315 \begin_inset Flex Code
12318 \begin_layout Plain Layout
12324 de un estilo es mayor que cero, se escribirá siempre en la cabecera del
12326 Si un archivo .lyx es leido, las definiciones de estilo de la cabecera del
12327 documento se añaden a la clase de documento.
12328 Por eso, incluso versiones anteriores de \SpecialChar LyX
12329 pueden manejar el estilo.
12331 \begin_inset Flex Code
12334 \begin_layout Plain Layout
12340 es un número de versión: si el estilo es leido, y el número de versión
12341 es menor que el número de versión del estilo existente en la clase de documento
12342 , el nuevo se ignora.
12343 Si el número de versión es mayor, el estilo nuevo reemplaza al existente.
12344 -1 significa un número de versión infinito, o sea, el estilo se usa siempre.
12347 \begin_layout Description
12348 \begin_inset Flex Code
12351 \begin_layout Plain Layout
12360 \begin_inset Flex Code
12363 \begin_layout Plain Layout
12372 \begin_inset space \thinspace{}
12376 \begin_inset Flex Code
12379 \begin_layout Plain Layout
12385 ] Usualmente \SpecialChar LyX
12386 no permite insertar más de un espacio entre palabras, puesto
12387 que un espacio se considera como la separación entre dos palabras, no un
12388 carácter o símbolo por sí mismo.
12389 Esto es una buena cosa pero a veces puede ser molesta, por ejemplo, para
12390 escribir código de programas o de \SpecialChar LaTeX
12392 Por esta razón se puede habilitar
12393 \begin_inset Flex Code
12396 \begin_layout Plain Layout
12403 Anotar que \SpecialChar LyX
12404 creará espacios protegidos para los espacios adicionales en
12405 modos que no sean \SpecialChar LaTeX
12410 \begin_layout Description
12411 \begin_inset Flex Code
12414 \begin_layout Plain Layout
12420 Para la salida XHTML.
12422 \begin_inset CommandInset ref
12424 reference "subsec:Estilos-de-párrafo-XHTML"
12431 \begin_layout Description
12432 \begin_inset Flex Code
12435 \begin_layout Plain Layout
12441 [[FIXME]] (Usado solo con formatos tipo XML.)
12444 \begin_layout Description
12445 \begin_inset Flex Code
12448 \begin_layout Plain Layout
12457 \begin_inset Flex Code
12460 \begin_layout Plain Layout
12471 \begin_inset space \thinspace{}
12475 \begin_inset Flex Code
12478 \begin_layout Plain Layout
12485 \begin_inset Flex Code
12488 \begin_layout Plain Layout
12494 , marca el estilo para ser incluido en el preámbulo del documento en lugar
12495 de en el cuerpo del documento.
12496 Útil para clases de documento que piden informaciones tales como título
12497 y autor en el preámbulo.
12498 Esto solo funciona para estilos para los que
12499 \begin_inset Flex Code
12502 \begin_layout Plain Layout
12509 \begin_inset Flex Code
12512 \begin_layout Plain Layout
12519 \begin_inset Flex Code
12522 \begin_layout Plain Layout
12531 \begin_layout Description
12532 \begin_inset Flex Code
12535 \begin_layout Plain Layout
12544 \begin_inset Flex Code
12547 \begin_layout Plain Layout
12558 \begin_inset space \thinspace{}
12562 \begin_inset Flex Code
12565 \begin_layout Plain Layout
12572 \begin_inset Flex Code
12575 \begin_layout Plain Layout
12581 , marca el estilo como parte de un bloque de título (véanse también las
12583 \begin_inset Flex Code
12586 \begin_layout Plain Layout
12593 \begin_inset Flex Code
12596 \begin_layout Plain Layout
12605 \begin_layout Description
12608 \begin_inset Flex Code
12611 \begin_layout Plain Layout
12620 \begin_inset Flex Code
12623 \begin_layout Plain Layout
12633 \begin_inset space \thinspace{}
12637 \begin_inset Flex Code
12640 \begin_layout Plain Layout
12648 ] If this is set to 1 and AddToToc is enabled, the paragraph adds a summary
12649 of its contents in its item in the table of contents.
12650 Otherwise, only the label, if it exists, appears.
12653 \begin_layout Description
12654 \begin_inset Flex Code
12657 \begin_layout Plain Layout
12664 \begin_inset Flex Code
12667 \begin_layout Plain Layout
12673 ] La secuencia de comando \SpecialChar LaTeX
12674 que declara un ítem en una lista.
12675 El comando es para ser definido sin la barra invertida (por omisión es
12677 \begin_inset Quotes eld
12681 \begin_inset Quotes erd
12685 \begin_inset Flex Code
12688 \begin_layout Plain Layout
12696 en la salida \SpecialChar LaTeX
12700 \begin_layout Description
12701 \begin_inset Flex Code
12704 \begin_layout Plain Layout
12711 \begin_inset Flex Code
12714 \begin_layout Plain Layout
12720 ] Esto proporciona espacio extra entre párrafos que tienen el mismo formato.
12721 Si se ponen otros formatos en un entorno, cada uno es separado con el comando
12723 \begin_inset Flex Code
12726 \begin_layout Plain Layout
12733 Pero el conjunto de los ítems del entorno son separados adicionalmente
12735 \begin_inset Flex Code
12738 \begin_layout Plain Layout
12745 Anotar que esto es un
12750 \begin_layout Description
12751 \begin_inset Flex Code
12754 \begin_layout Plain Layout
12760 [[FIXME]] (Usado solo con formatos tipo XML.)
12763 \begin_layout Description
12764 \begin_inset Flex Code
12767 \begin_layout Plain Layout
12776 \begin_inset Flex Code
12779 \begin_layout Plain Layout
12790 \begin_inset space \thinspace{}
12794 \begin_inset Flex Code
12797 \begin_layout Plain Layout
12803 ] Habitualmente, \SpecialChar LyX
12804 no permite dejar un párrafo vacío, porque llevaría a una
12805 salida de \SpecialChar LaTeX
12807 Sin embargo, hay algunos casos donde podría ser útil: en una plantilla
12808 de carta, los campos requeridos pueden proporcionarse vacíos, así el usuario
12809 no los olvida; en algunos casos especiales, se puede usar un estilo que
12810 no contiene texto real como una especie de salto.
12813 \begin_layout Description
12814 \begin_inset Flex Code
12817 \begin_layout Plain Layout
12824 \begin_inset Flex Code
12827 \begin_layout Plain Layout
12833 ] El espacio vertical entre la etiqueta y el cuerpo del texto.
12834 Solo se usa para etiquetas que están sobre el cuerpo del texto (
12835 \begin_inset Flex Code
12838 \begin_layout Plain Layout
12845 \begin_inset Flex Code
12848 \begin_layout Plain Layout
12849 Centered_Top_Environment
12857 \begin_layout Description
12858 \begin_inset Flex Code
12861 \begin_layout Plain Layout
12868 \begin_inset Flex Code
12871 \begin_layout Plain Layout
12877 ] El nombre del contador para numeración automática.
12878 Con el fin de que el contador aparezca con su etiqueta, deberás referenciarla
12880 \begin_inset Flex Code
12883 \begin_layout Plain Layout
12890 Esto funcionará con
12891 \begin_inset Flex Code
12894 \begin_layout Plain Layout
12901 \begin_inset Flex Code
12904 \begin_layout Plain Layout
12911 \begin_inset Flex Code
12914 \begin_layout Plain Layout
12921 \begin_inset Flex Code
12924 \begin_layout Plain Layout
12931 \begin_inset Newline newline
12939 \begin_inset Flex Code
12942 \begin_layout Plain Layout
12949 \begin_inset Flex Code
12952 \begin_layout Plain Layout
12958 , aunque este caso es un poco complicado.
12959 Supongamos que declaras
12960 \begin_inset Quotes eld
12964 \begin_inset Flex Code
12967 \begin_layout Plain Layout
12968 LabelCounter myenum
12974 \begin_inset Quotes erd
12978 Entonces, los contadores reales usados son
12979 \begin_inset Flex Code
12982 \begin_layout Plain Layout
12989 \begin_inset Flex Code
12992 \begin_layout Plain Layout
12999 \begin_inset Flex Code
13002 \begin_layout Plain Layout
13009 \begin_inset Flex Code
13012 \begin_layout Plain Layout
13018 , como en \SpecialChar LaTeX
13020 Estos contadores deben declararse todos por separado.
13021 \begin_inset Newline newline
13025 \begin_inset CommandInset ref
13027 reference "subsec:Contadores"
13031 para detalles sobre contadores
13034 \begin_layout Description
13035 \begin_inset Flex Code
13038 \begin_layout Plain Layout
13044 La tipografía usada para la etiqueta.
13046 \begin_inset space ~
13050 \begin_inset CommandInset ref
13052 reference "subsec:Tipografía"
13059 \begin_layout Description
13060 \begin_inset Flex Code
13063 \begin_layout Plain Layout
13070 \begin_inset Flex Code
13073 \begin_layout Plain Layout
13079 ] Texto que indica cuánto se debe sangrar una etiqueta.
13082 \begin_layout Description
13083 \begin_inset Flex Code
13086 \begin_layout Plain Layout
13093 \begin_inset Flex Code
13096 \begin_layout Plain Layout
13102 ] Texto que indica el valor de espacio horizontal entre la etiqueta y el
13104 Solo se usa para etiquetas que no están sobre el cuerpo del texto.
13107 \begin_layout Description
13108 \begin_inset Flex Code
13111 \begin_layout Plain Layout
13118 \begin_inset Flex Code
13121 \begin_layout Plain Layout
13127 ] La cadena usada para una etiqueta del
13128 \begin_inset Flex Code
13131 \begin_layout Plain Layout
13138 \begin_inset Flex Code
13141 \begin_layout Plain Layout
13149 \begin_inset Flex Code
13152 \begin_layout Plain Layout
13158 está establecido, esta cadena puede contener los comandos especiales de
13159 formato descritos en la sección
13160 \begin_inset space ~
13164 \begin_inset CommandInset ref
13166 reference "subsec:Contadores"
13173 \begin_layout Description
13174 \begin_inset Flex Code
13177 \begin_layout Plain Layout
13178 LabelStringAppendix
13184 \begin_inset Flex Code
13187 \begin_layout Plain Layout
13193 ] Esta se usa en el apéndice en vez de
13194 \begin_inset Flex Code
13197 \begin_layout Plain Layout
13204 Anotar que toda declaración de
13205 \begin_inset Flex Code
13208 \begin_layout Plain Layout
13214 reconfigura también
13215 \begin_inset Newline newline
13219 \begin_inset Flex Code
13222 \begin_layout Plain Layout
13223 LabelStringAppendix
13231 \begin_layout Description
13232 \begin_inset Flex Code
13235 \begin_layout Plain Layout
13241 [FIXME] (Usado solo con formatos tipo XML.)
13244 \begin_layout Description
13245 \begin_inset Flex Code
13248 \begin_layout Plain Layout
13255 \begin_inset Flex Code
13258 \begin_layout Plain Layout
13263 , Manual, Static, Above,
13264 \begin_inset Newline newline
13267 Centered, Sensitive, Enumerate,
13268 \begin_inset Newline newline
13271 Itemize, Bibliography
13280 \begin_layout Description
13281 \begin_inset Flex Code
13284 \begin_layout Plain Layout
13290 significa que la etiqueta es la primera palabra (hasta elprimer espacio
13292 Usa espacios protegidos si quieres más de una palabra como etiqueta.
13296 \begin_layout Description
13297 \begin_inset Flex Code
13300 \begin_layout Plain Layout
13306 significa que la etiqueta es simplemente cualquier
13307 \begin_inset Flex Code
13310 \begin_layout Plain Layout
13316 declarado como tal.
13318 \begin_inset Quotes cld
13322 \begin_inset Quotes crd
13325 al comienzo del párrafo.
13327 \begin_inset Flex Code
13330 \begin_layout Plain Layout
13337 \begin_inset Flex Code
13340 \begin_layout Plain Layout
13346 , entonces se mostrará solo en el primer párrafo de cualquier secuencia
13347 de párrafos con el mismo
13348 \begin_inset Flex Code
13351 \begin_layout Plain Layout
13360 \begin_layout Description
13361 \begin_inset Flex Code
13364 \begin_layout Plain Layout
13371 \begin_inset space ~
13375 \begin_inset space ~
13379 \begin_inset Flex Code
13382 \begin_layout Plain Layout
13388 son casos especiales de
13389 \begin_inset Flex Code
13392 \begin_layout Plain Layout
13399 La etiqueta se imprimirá encima del párrafo, o al inicio de línea o centrado.
13403 \begin_layout Description
13404 \begin_inset Flex Code
13407 \begin_layout Plain Layout
13413 es un caso especial para las etiquetas de las leyendas de
13414 \begin_inset Quotes cld
13418 \begin_inset Quotes crd
13422 \begin_inset Quotes cld
13426 \begin_inset Quotes crd
13431 \begin_inset Flex Code
13434 \begin_layout Plain Layout
13440 quiere decir que la cadena (en código) de la etiqueta depende de la clase
13441 de flotante: Está codificado para ser `FloatType N', donde N es el valor
13442 del contador asociado al flotante.
13443 En el caso en que la leyenda se inserte adosada a un flotante
13444 \begin_inset Flex Code
13447 \begin_layout Plain Layout
13454 \begin_inset Quotes cld
13458 \begin_inset Quotes crd
13464 \begin_layout Description
13465 \begin_inset Flex Code
13468 \begin_layout Plain Layout
13474 produce los tipos habituales de etiquetas de enumeración.
13477 The number type needs to be set in the
13483 \begin_inset CommandInset ref
13485 reference "subsec:Contadores"
13492 \begin_layout Description
13493 \begin_inset Flex Code
13496 \begin_layout Plain Layout
13502 produce varias marcas para los distintos niveles.
13505 The bullet types displayed can be set via
13508 \begin_inset Flex Noun
13511 \begin_layout Plain Layout
13512 Documento\SpecialChar menuseparator
13513 Configuratción\SpecialChar menuseparator
13522 \begin_layout Description
13523 \begin_inset Flex Code
13526 \begin_layout Plain Layout
13532 solo debería emplearse con
13533 \begin_inset Flex Code
13536 \begin_layout Plain Layout
13537 LatexType BibEnvironment
13546 \begin_layout Description
13547 \begin_inset Flex Code
13550 \begin_layout Plain Layout
13556 Esto sobrescribirá completamente cualquier declaración anterior de
13557 \begin_inset Flex Code
13560 \begin_layout Plain Layout
13568 \begin_inset Quotes eld
13572 \begin_inset Flex Code
13575 \begin_layout Plain Layout
13582 \begin_inset Quotes erd
13587 \begin_inset CommandInset ref
13589 reference "subsec:I18n"
13593 para detallessobre su uso.
13596 \begin_layout Description
13597 \begin_inset Flex Code
13600 \begin_layout Plain Layout
13607 \begin_inset Flex Code
13610 \begin_layout Plain Layout
13616 ] El nombre correspondiente en \SpecialChar LaTeX
13617 , ya sea de un comando o de un entorno.
13620 \begin_layout Description
13621 \begin_inset Flex Code
13624 \begin_layout Plain Layout
13631 \begin_inset Flex Code
13634 \begin_layout Plain Layout
13640 ] Un parámetro opcional para el correspondiente
13641 \begin_inset Flex Code
13644 \begin_layout Plain Layout
13651 Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
13653 \begin_inset Flex Code
13656 \begin_layout Plain Layout
13662 para parámetros personalizables).
13663 Se emitirá como tal tras todos los
13664 \begin_inset Flex Code
13667 \begin_layout Plain Layout
13677 \begin_layout Description
13678 \begin_inset Flex Code
13681 \begin_layout Plain Layout
13688 \begin_inset Flex Code
13691 \begin_layout Plain Layout
13696 , Command, Environment, Item_Environment,
13697 \begin_inset Newline newline
13700 List_Environment, Bib_Environment
13705 ] Cómo debería traducirse el estilo a \SpecialChar LaTeX
13710 \begin_layout Plain Layout
13711 \begin_inset Flex Code
13714 \begin_layout Plain Layout
13720 es un poco engañoso porque estas reglas se aplican también a clases SGML.
13721 Consulta los archivos de clases SGML (archivos de nombre
13722 \begin_inset Flex Code
13725 \begin_layout Plain Layout
13731 ) para ejemplos concretos.
13740 \begin_layout Description
13741 \begin_inset Flex Code
13744 \begin_layout Plain Layout
13750 no significa nada especial.
13753 \begin_layout Description
13754 \begin_inset Flex Code
13757 \begin_layout Plain Layout
13764 \begin_inset Flex Code
13767 \begin_layout Plain Layout
13774 {\SpecialChar ldots
13783 \begin_layout Description
13784 \begin_inset Flex Code
13787 \begin_layout Plain Layout
13794 \begin_inset Flex Code
13797 \begin_layout Plain Layout
13804 }\SpecialChar ldots
13819 \begin_layout Description
13820 \begin_inset Flex Code
13823 \begin_layout Plain Layout
13830 \begin_inset Flex Code
13833 \begin_layout Plain Layout
13840 \begin_inset Flex Code
13843 \begin_layout Plain Layout
13851 se genera para cada párrafo de este entorno.
13854 \begin_layout Description
13855 \begin_inset Flex Code
13858 \begin_layout Plain Layout
13865 \begin_inset Flex Code
13868 \begin_layout Plain Layout
13875 \begin_inset Newline newline
13879 \begin_inset Flex Code
13882 \begin_layout Plain Layout
13888 se pasa como un argumento al entorno.
13889 \begin_inset Newline newline
13893 \begin_inset Flex Code
13896 \begin_layout Plain Layout
13902 puede definirse en el diálogo
13903 \begin_inset Flex Noun
13906 \begin_layout Plain Layout
13907 Editar\SpecialChar menuseparator
13908 Configuración de párrafos
13916 \begin_layout Description
13917 \begin_inset Flex Code
13920 \begin_layout Plain Layout
13927 \begin_inset Flex Code
13930 \begin_layout Plain Layout
13936 pero añade además el argumento obligatorio necesario (la etiqueta más larga)
13941 del entorno bibliografía:
13942 \begin_inset Newline newline
13946 \begin_inset Flex Code
13949 \begin_layout Plain Layout
13952 begin{thebibliography}{99}
13957 Por tanto solo es útil para entornos de bibliografía.
13958 La etiqueta más larga predeterminada
13959 \begin_inset Quotes cld
13963 \begin_inset Quotes crd
13966 puede cambiarla el usuario en la configuración de párrafo de un ítem bibliográf
13970 \begin_layout Standard
13971 Poniendo juntas las últimas cosas, la salida \SpecialChar LaTeX
13975 \begin_layout LyX-Code
13978 LatexName[LatexParam]{\SpecialChar ldots
13982 \begin_layout Standard
13986 \begin_layout LyX-Code
13989 begin{LatexName}[LatexParam] \SpecialChar ldots
13995 \begin_layout Standard
13996 dependiendo del tipo de \SpecialChar LaTeX
14001 \begin_layout Description
14002 \begin_inset Flex Code
14005 \begin_layout Plain Layout
14012 \begin_inset Flex Code
14015 \begin_layout Plain Layout
14021 ] Secuencia que se pone al inicio del contenido del estilo.
14022 Un salto de línea en la salida puede indicarse con
14023 \begin_inset Flex Code
14026 \begin_layout Plain Layout
14035 \begin_layout Description
14036 \begin_inset Flex Code
14039 \begin_layout Plain Layout
14046 \begin_inset Flex Code
14049 \begin_layout Plain Layout
14055 ] Si pones estilos en entornos, los
14056 \begin_inset Flex Code
14059 \begin_layout Plain Layout
14065 no son simplemente añadidos, sino aumentados en un factor
14066 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
14070 Anotar que este parámetro se usa también cuando
14071 \begin_inset Flex Code
14074 \begin_layout Plain Layout
14081 \begin_inset Flex Code
14084 \begin_layout Plain Layout
14091 \begin_inset Flex Code
14094 \begin_layout Plain Layout
14101 En ese caso se añade al margen manual o dinámico.
14102 \begin_inset Newline newline
14106 \begin_inset Quotes cld
14110 \begin_inset Flex Code
14113 \begin_layout Plain Layout
14120 \begin_inset Quotes crd
14123 significa que el párrafo se sangra con la anchura de
14124 \begin_inset Quotes cld
14128 \begin_inset Flex Code
14131 \begin_layout Plain Layout
14138 \begin_inset Quotes crd
14141 en la tipografía normal.
14142 Se puede obtener una anchura negativa anteponiendo
14143 \begin_inset Quotes cld
14147 \begin_inset Flex Code
14150 \begin_layout Plain Layout
14157 \begin_inset Quotes crd
14161 Se eligió este método para que el aspecto sea el mismo con cada una de
14162 las tipografías de pantalla usadas.
14165 \begin_layout Description
14166 \begin_inset Flex Code
14169 \begin_layout Plain Layout
14176 \begin_inset Flex Code
14179 \begin_layout Plain Layout
14184 , Manual, Dynamic, First_Dynamic, Right_Address_Box
14190 \begin_inset Newline newline
14193 El tipo de margen que el estilo tiene en el lado izquierdo.
14197 \begin_layout Description
14198 \begin_inset Flex Code
14201 \begin_layout Plain Layout
14207 significa un margen fijo.
14210 \begin_layout Description
14211 \begin_inset Flex Code
14214 \begin_layout Plain Layout
14220 significa que el margen izquierdo depende de la cadena introducida en el
14222 \begin_inset Flex Noun
14225 \begin_layout Plain Layout
14226 Editar\SpecialChar menuseparator
14227 Configuración del párrafo\SpecialChar ldots
14234 Esto se utiliza para componer bonitas listas sin tabuladores.
14237 \begin_layout Description
14238 \begin_inset Flex Code
14241 \begin_layout Plain Layout
14247 significa que el margen depende del tamaño de la etiqueta.
14248 Esto se usa para las cabeceras automáticas de las listas numeradas.
14249 Es obvio que la cabecera
14250 \begin_inset Quotes cld
14253 5.4.3.2.1 Cabecera muy larga
14254 \begin_inset Quotes crd
14257 debe tener un margen izquierdo más amplio (tan ancho como
14258 \begin_inset Quotes cld
14262 \begin_inset Quotes crd
14265 más el espacio) que
14266 \begin_inset Quotes cld
14269 3.2 Cabecera muy larga
14270 \begin_inset Quotes crd
14274 \begin_inset Quotes cld
14277 procesadores de texto
14278 \begin_inset Quotes crd
14281 corrientes no sean capaces de hacer esto.
14284 \begin_layout Description
14285 \begin_inset Flex Code
14288 \begin_layout Plain Layout
14294 es similar, pero solo la primera fila del párrafo es dinámica, mientras
14295 que las demás son estáticas; esto se emplea, por ejemplo, para descripciones.
14298 \begin_layout Description
14299 \begin_inset Flex Code
14302 \begin_layout Plain Layout
14308 significa que el margen se elige de manera que la fila más larga de este
14309 párrafo se adapte al margen derecho.
14310 Esto se emplea para componer una dirección en el lado derecho de la página.
14315 \begin_layout Description
14316 \begin_inset Flex Code
14319 \begin_layout Plain Layout
14326 \begin_inset Flex Code
14329 \begin_layout Plain Layout
14338 \begin_inset space \thinspace{}
14342 \begin_inset Flex Code
14345 \begin_layout Plain Layout
14351 ] Si los comandos frágiles en este estilo deberían ser protegidos,
14352 \begin_inset Flex Code
14355 \begin_layout Plain Layout
14368 si este comando debería él mismo ser protegido.)
14371 \begin_layout Description
14372 \begin_inset Flex Code
14375 \begin_layout Plain Layout
14382 \begin_inset Flex Code
14385 \begin_layout Plain Layout
14392 \begin_inset space \thinspace{}
14396 \begin_inset Flex Code
14399 \begin_layout Plain Layout
14407 ] Si las líneas nuevas se transforman en líneas nuevas \SpecialChar LaTeX
14409 \begin_inset Flex Code
14412 \begin_layout Plain Layout
14423 La transformación puede desactivarse para permitir una edición más confortable
14424 de \SpecialChar LaTeX
14425 en \SpecialChar LyX
14429 \begin_layout Description
14430 \begin_inset Flex Code
14433 \begin_layout Plain Layout
14440 \begin_inset Flex Code
14443 \begin_layout Plain Layout
14452 \begin_inset space \thinspace{}
14456 \begin_inset Flex Code
14459 \begin_layout Plain Layout
14465 ] Si se permite sangrar la primera fila del párrafo siguiente.
14467 \begin_inset Flex Code
14470 \begin_layout Plain Layout
14476 significa que no se permite hacerlo;
14477 \begin_inset Flex Code
14480 \begin_layout Plain Layout
14486 significa que puede hacerse si se desea.
14489 \begin_layout Description
14490 \begin_inset Flex Code
14493 \begin_layout Plain Layout
14500 \begin_inset Flex Code
14503 \begin_layout Plain Layout
14509 ] Nombre de un estilo que ha reemplazado este estilo.
14510 Esto se emplea para renombrar un estilo, mientras que se mantiene compatibilida
14514 \begin_layout Description
14515 \begin_inset Flex Code
14518 \begin_layout Plain Layout
14525 \begin_inset Flex Code
14528 \begin_layout Plain Layout
14535 \begin_inset space \thinspace{}
14539 \begin_inset Flex Code
14542 \begin_layout Plain Layout
14548 ] Determina si párrafos consecutivos del mismo tipo se tratan como si fueran
14550 Esto tiene el efecto de que
14551 \begin_inset Flex Code
14554 \begin_layout Plain Layout
14560 solo se imprime una vez delante de tal grupo.
14561 Por omisión, esto es así para
14562 \begin_inset Flex Code
14565 \begin_layout Plain Layout
14572 \begin_inset Flex Code
14575 \begin_layout Plain Layout
14582 \begin_inset Flex Code
14585 \begin_layout Plain Layout
14591 y no lo es para los demás tipos.
14594 \begin_layout Description
14595 \begin_inset Flex Code
14598 \begin_layout Plain Layout
14605 \begin_inset Flex Code
14608 \begin_layout Plain Layout
14617 \begin_inset space \thinspace{}
14621 \begin_inset Flex Code
14624 \begin_layout Plain Layout
14630 ] Indica que los párrafos no serán separados por una línea vacía en la salida
14632 , solo por un salto de línea; junto con
14633 \begin_inset Flex Code
14636 \begin_layout Plain Layout
14642 , esto permite emular un editor de texto simple (como un recuadro ERT).
14645 \begin_layout Description
14646 \begin_inset Flex Code
14649 \begin_layout Plain Layout
14656 \begin_inset Flex Code
14659 \begin_layout Plain Layout
14665 ] El sangrado de la primera línea de un párrafo.
14667 \begin_inset Flex Code
14670 \begin_layout Plain Layout
14676 estará fijado para un determinado estilo.
14677 La excepción es el estilo
14678 \begin_inset Flex Code
14681 \begin_layout Plain Layout
14687 , puesto que la sangría de un párrafo de estilo
14688 \begin_inset Flex Code
14691 \begin_layout Plain Layout
14697 puede prohibirse con
14698 \begin_inset Flex Code
14701 \begin_layout Plain Layout
14708 Además, los párrafos de estilo
14709 \begin_inset Flex Code
14712 \begin_layout Plain Layout
14718 dentro de entornos usan la sangría
14719 \begin_inset Flex Code
14722 \begin_layout Plain Layout
14728 del entorno, no su propio valor.
14729 Por ejemplo, los párrafos
14730 \begin_inset Flex Code
14733 \begin_layout Plain Layout
14739 en una enumeración no se sangran.
14742 \begin_layout Description
14743 \begin_inset Flex Code
14746 \begin_layout Plain Layout
14753 \begin_inset Flex Code
14756 \begin_layout Plain Layout
14762 ] El espacio vertical entre dos párrafos de este estilo.
14765 \begin_layout Description
14766 \begin_inset Flex Code
14769 \begin_layout Plain Layout
14776 \begin_inset Flex Code
14779 \begin_layout Plain Layout
14786 permite al usuario elegir entre
14787 \begin_inset Quotes cld
14791 \begin_inset Quotes crd
14795 \begin_inset Quotes cld
14799 \begin_inset Quotes crd
14802 para separar párrafos.
14804 \begin_inset Quotes cld
14808 \begin_inset Quotes crd
14811 , este valor es completamente ignorado.
14813 \begin_inset Quotes cld
14817 \begin_inset Quotes crd
14820 , el sangrado de un estilo tipo
14821 \begin_inset Quotes cld
14825 \begin_inset Quotes crd
14828 de \SpecialChar LaTeX
14829 se ignora y todos los párrafos son separados con este argumento
14830 \begin_inset Quotes cld
14834 \begin_inset Quotes crd
14838 El espacio vertical se calcula con
14839 \begin_inset Flex Code
14842 \begin_layout Plain Layout
14844 \begin_inset space ~
14853 \begin_inset Flex Code
14856 \begin_layout Plain Layout
14862 es la altura de una fila con la tipografía normal.
14863 De esta forma, el aspecto queda igual con diferentes tipografías de pantalla.
14866 \begin_layout Description
14867 \begin_inset Flex Code
14870 \begin_layout Plain Layout
14879 \begin_inset Flex Code
14882 \begin_layout Plain Layout
14893 \begin_inset space \thinspace{}
14897 \begin_inset Flex Code
14900 \begin_layout Plain Layout
14906 ] Si el contenido de este párrafo debería aparecer en la salida en forma
14907 cruda, es decir sin las traducciones especiales que \SpecialChar LaTeX
14911 \begin_layout Description
14912 \begin_inset Flex Code
14915 \begin_layout Plain Layout
14922 \begin_inset Flex Code
14925 \begin_layout Plain Layout
14935 Define caracteres individuales que deberían emitirse en bruto, o sea, sin
14936 traducciones especiales que \SpecialChar LaTeX
14940 \begin_layout Description
14941 \begin_inset Flex Code
14944 \begin_layout Plain Layout
14950 Información a incluir en el preámbulo \SpecialChar LaTeX
14951 cuando se usa este estilo.
14952 Utilizado para definir macros, paquetes a cargar, etc., requeridos por este
14953 estilo en particular.
14955 \begin_inset Quotes cld
14959 \begin_inset Flex Code
14962 \begin_layout Plain Layout
14969 \begin_inset Quotes crd
14975 \begin_layout Description
14976 \begin_inset Flex Code
14979 \begin_layout Plain Layout
14986 \begin_inset Flex Code
14989 \begin_layout Plain Layout
14995 ] El prefijo a usar cuando se crean etiquetas que se refieren a párrafos
14997 Esto permite el uso de referencias con formato.
15000 \begin_layout Description
15001 \begin_inset Flex Code
15004 \begin_layout Plain Layout
15013 \begin_inset Flex Code
15016 \begin_layout Plain Layout
15024 Si el estilo requiere la característica
15025 \begin_inset Flex Code
15028 \begin_layout Plain Layout
15035 \begin_inset CommandInset ref
15037 reference "cap:Lista-de-funciones"
15042 Si necesitas un paquete con opciones específicas puedes usar además
15043 \begin_inset Flex Code
15046 \begin_layout Plain Layout
15052 como un parámetro de clase de texto general (véase
15053 \begin_inset CommandInset ref
15055 reference "subsec:Parámetros-generales-clases"
15062 \begin_layout Description
15063 \begin_inset Flex Code
15066 \begin_layout Plain Layout
15073 \begin_inset Flex Code
15076 \begin_layout Plain Layout
15085 \begin_inset Flex Code
15088 \begin_layout Plain Layout
15094 ] Reinicia los argumentos de este estilo (como definido mediante la etiqueta
15096 \begin_inset Flex Code
15099 \begin_layout Plain Layout
15106 Es útil si has copiado un estilo mediante
15107 \begin_inset Flex Code
15110 \begin_layout Plain Layout
15116 , pero no quieres heredar sus argumentos (requerido y opcional).
15119 \begin_layout Description
15122 \begin_inset Flex Code
15125 \begin_layout Plain Layout
15134 \begin_inset Flex Code
15137 \begin_layout Plain Layout
15147 \begin_inset Flex Code
15150 \begin_layout Plain Layout
15158 ] Resumes a counter that is usually reset at each new sequence of layouts.
15159 This is currently only useful when
15160 \begin_inset Flex Code
15163 \begin_layout Plain Layout
15172 \begin_inset Flex Code
15175 \begin_layout Plain Layout
15186 \begin_layout Description
15187 \begin_inset Flex Code
15190 \begin_layout Plain Layout
15197 \begin_inset Flex Code
15200 \begin_layout Plain Layout
15206 ] Secuencia que se pone al final del contenido del formato.
15207 Un salto de línea en la salida se puede indicar con
15208 \begin_inset Flex Code
15211 \begin_layout Plain Layout
15220 \begin_layout Description
15221 \begin_inset Flex Code
15224 \begin_layout Plain Layout
15231 \begin_inset Flex Code
15234 \begin_layout Plain Layout
15241 \begin_inset Flex Code
15244 \begin_layout Plain Layout
15253 \begin_layout Description
15254 \begin_inset Flex Code
15257 \begin_layout Plain Layout
15264 \begin_inset Flex Code
15267 \begin_layout Plain Layout
15276 \begin_inset Flex Code
15279 \begin_layout Plain Layout
15286 \begin_inset Flex Code
15289 \begin_layout Plain Layout
15296 \begin_inset Flex Code
15299 \begin_layout Plain Layout
15301 \begin_inset space ~
15309 ] Esto define cuál debería ser el espacio predefinido en el estilo.
15311 \begin_inset Flex Code
15314 \begin_layout Plain Layout
15321 \begin_inset Flex Code
15324 \begin_layout Plain Layout
15331 \begin_inset Flex Code
15334 \begin_layout Plain Layout
15340 corresponden respectivamente a un multiplicador de 1, 1.25 y 1.667.
15341 Si se especifica el argumento
15342 \begin_inset Flex Code
15345 \begin_layout Plain Layout
15351 , entonces se debería proporcionar además un argumento numérico que será
15352 el valor real del multiplicador.
15353 Anotar que, al contrario que otros parámetros,
15354 \begin_inset Flex Code
15357 \begin_layout Plain Layout
15363 implica la generación de código \SpecialChar LaTeX
15364 específico, usando el paquete \SpecialChar LaTeX
15366 \begin_inset Flex Code
15369 \begin_layout Plain Layout
15378 \begin_layout Description
15379 \begin_inset Flex Code
15382 \begin_layout Plain Layout
15389 \begin_inset Flex Code
15392 \begin_layout Plain Layout
15401 \begin_inset space \thinspace{}
15407 \begin_inset Flex Code
15410 \begin_layout Plain Layout
15418 ] Corrección ortográfica de párrafos de este estilo.
15422 \begin_layout Description
15425 \begin_inset Flex Code
15428 \begin_layout Plain Layout
15437 \begin_inset Flex Code
15440 \begin_layout Plain Layout
15450 \begin_inset Flex Code
15453 \begin_layout Plain Layout
15461 ] Steps the master counter of a given counter at the beginning of a new
15462 sequence of layouts.
15463 This is currently only useful when
15464 \begin_inset Flex Code
15467 \begin_layout Plain Layout
15476 \begin_inset Flex Code
15479 \begin_layout Plain Layout
15490 \begin_layout Description
15491 \begin_inset Flex Code
15494 \begin_layout Plain Layout
15500 La tipografía para el cuerpo del texto.
15502 \begin_inset CommandInset ref
15504 reference "subsec:Tipografía"
15511 \begin_layout Description
15512 \begin_inset Flex Code
15515 \begin_layout Plain Layout
15522 \begin_inset Flex Code
15525 \begin_layout Plain Layout
15531 ] El nivel del estilo en el índice general.
15532 Esto se usa para la numeración automática de los encabezados de sección.
15535 \begin_layout Description
15536 \begin_inset Flex Code
15539 \begin_layout Plain Layout
15548 \begin_inset Flex Code
15551 \begin_layout Plain Layout
15560 \begin_inset Flex Code
15563 \begin_layout Plain Layout
15570 \begin_inset Flex Code
15573 \begin_layout Plain Layout
15579 ] Esta etiqueta determina si la sangría de primera línea de este párrafo
15580 puede conmutarse en el diálogo de configuración del párrafo.
15584 \begin_inset Flex Code
15587 \begin_layout Plain Layout
15597 , la sangría puede conmutarse si la configuración del documento usa estilo
15599 \begin_inset Quotes cld
15603 \begin_inset Quotes crd
15607 \begin_inset Flex Code
15610 \begin_layout Plain Layout
15616 , la sangría se puede conmutar siempre, no importa la configuración del
15618 \begin_inset Flex Code
15621 \begin_layout Plain Layout
15627 , la sangría nunca se puede conmutar.
15630 \begin_layout Description
15631 \begin_inset Flex Code
15634 \begin_layout Plain Layout
15641 \begin_inset Flex Code
15644 \begin_layout Plain Layout
15650 ] El espacio vertical con el que el primero de una cadena de párrafos con
15651 este estilo se separa del párrafo anterior.
15652 Si el párrafo anterior tiene otro estilo, la separación no es simplemente
15653 añadida, sino que se pone la máxima.
15656 \begin_layout Subsection
15657 Internacionalización de estilos de párrafo
15658 \begin_inset CommandInset label
15667 \begin_layout Standard
15669 ha soportado desde hace tiempo la internacionalización de la información
15670 de formato, pero, hasta la versión 2.0, esto se aplicaba solo a la interfaz
15671 de usuario y no a la salida, digamos, PDF.
15672 Así, por ej., autores franceses tenían que acudir a feos trucos para conseguir
15673 `Théorème 1' en vez de `Theorem 1'.
15674 Gracias a Georg Baum, este ya no es el caso.
15677 \begin_layout Standard
15679 \begin_inset Flex Code
15682 \begin_layout Plain Layout
15688 define texto que se mostrará en el documento exportado, puede usar
15689 \begin_inset Flex Code
15692 \begin_layout Plain Layout
15699 \begin_inset Flex Code
15702 \begin_layout Plain Layout
15708 para soportar correctamente documentos con idioma distinto del inglés e
15709 incluso documentos plurilingües.
15710 El siguiente extracto (del archivo
15711 \begin_inset Flex Code
15714 \begin_layout Plain Layout
15720 ) muestra cómo funciona:
15723 \begin_layout LyX-Code
15728 \begin_layout LyX-Code
15731 theoremstyle{remark}
15734 \begin_layout LyX-Code
15737 newtheorem{claim}[thm]{
15744 \begin_layout LyX-Code
15748 \begin_layout LyX-Code
15752 \begin_layout LyX-Code
15757 claimname}{_(Claim)}
15760 \begin_layout LyX-Code
15764 \begin_layout LyX-Code
15768 \begin_layout LyX-Code
15777 claimname}{_(Claim)}}
15780 \begin_layout LyX-Code
15785 \begin_layout Standard
15786 En principio, cualquier \SpecialChar LaTeX
15787 legal puede aparecer en las etiquetas
15788 \begin_inset Flex Code
15791 \begin_layout Plain Layout
15798 \begin_inset Flex Code
15801 \begin_layout Plain Layout
15807 , pero en la práctica el aspecto será generalmente como el mostrado aquí.
15808 La clave para una correcta traducción del texto impreso es la definición
15809 del comando \SpecialChar LaTeX
15811 \begin_inset Flex Code
15814 \begin_layout Plain Layout
15823 \begin_inset Flex Code
15826 \begin_layout Plain Layout
15838 \begin_layout Standard
15840 \begin_inset Flex Code
15843 \begin_layout Plain Layout
15849 proporciona internacionalización basada en el idioma global del documento.
15850 El contenido de la etiqueta se incluirá en el preámbulo, igual que con
15852 \begin_inset Flex Code
15855 \begin_layout Plain Layout
15862 Lo que la hace especial es el uso de la
15863 \begin_inset Quotes eld
15867 \begin_inset Quotes erd
15871 \begin_inset Flex Code
15874 \begin_layout Plain Layout
15880 , que será reemplazada, cuando \SpecialChar LyX
15881 genere la salida \SpecialChar LaTeX
15882 , por la traducción de
15883 su argumento al idioma del documento.
15886 \begin_layout Standard
15888 \begin_inset Flex Code
15891 \begin_layout Plain Layout
15897 es más compleja, puesto que está pensada para dar soporte a documentos
15898 plurilingües y ofrece una interfaz al paquete
15899 \begin_inset Flex Code
15902 \begin_layout Plain Layout
15909 Su contenido se añadirá al preámbulo una vez por cada idioma que aparezca
15911 En este caso, el argumento en
15912 \begin_inset Flex Code
15915 \begin_layout Plain Layout
15921 se reemplazará por su traducción al idioma en cuestión; la expresión
15922 \begin_inset Flex Code
15925 \begin_layout Plain Layout
15931 es reemplazada por el nombre del idioma (el usado por el paquete babel).
15934 \begin_layout Standard
15935 Un documento en alemán que también incluya una sección en francés tendría
15936 lo siguiente en el preámbulo:
15939 \begin_layout LyX-Code
15948 claimname}{Affirmation}}
15949 \begin_inset Newline newline
15960 claimname}{Behauptung}}
15961 \begin_inset Newline newline
15968 claimname}{Behauptung}
15971 \begin_layout Standard
15974 \begin_inset Flex Code
15977 \begin_layout Plain Layout
15983 conspirarán para producir el texto correcto en la salida.
15986 \begin_layout Standard
15987 Un punto importante a tener en cuenta aquí es que las traducciones son proporcio
15988 nadas por el propio \SpecialChar LyX
15989 , por medio del archivo
15990 \begin_inset Flex Code
15993 \begin_layout Plain Layout
16000 Esto quiere decir, en definitiva, que
16001 \begin_inset Flex Code
16004 \begin_layout Plain Layout
16011 \begin_inset Flex Code
16014 \begin_layout Plain Layout
16020 realmente solo son útiles en archivos de formato que son proporcionados
16021 por \SpecialChar LyX
16022 , puesto que el texto introducido en archivos de formato creados por
16023 el usuario no serán tenidos en cuenta por las rutinas de internacionalización
16024 de \SpecialChar LyX
16025 a menos que el archivo
16026 \begin_inset Flex Code
16029 \begin_layout Plain Layout
16035 se modifique como correponde.
16036 Sin embargo, cualquier formato creado con la intención de ser incluido
16037 en \SpecialChar LyX
16038 debería usar estas etiquetas en los lugares apropiados.
16039 Ten en cuenta que las traducciones de estilo de párrafo provistas por \SpecialChar LyX
16041 nunca cambian en actualizaciones menores (p.
16042 \begin_inset space \thinspace{}
16046 \begin_inset space \space{}
16049 de versión 2.1.x a 2.1.y).
16050 Sin embargo es muy probable que en actualizaciones mayores (p.
16051 \begin_inset space \thinspace{}
16055 \begin_inset space \space{}
16058 de 2.0.x a 2.1.y) se introduzcan nuevas traducciones o correcciones.
16061 \begin_layout Subsection
16063 \begin_inset CommandInset label
16065 name "subsec:Flotantes"
16072 \begin_layout Standard
16073 Es necesario definir los flotantes (
16074 \begin_inset Flex Noun
16077 \begin_layout Plain Layout
16084 \begin_inset Flex Noun
16087 \begin_layout Plain Layout
16093 , \SpecialChar ldots
16094 ) en la propia clase de texto.
16095 Los flotantes normales se incluyen en el archivo
16096 \begin_inset Flex Code
16099 \begin_layout Plain Layout
16105 , así que no tendrás más que añadir
16108 \begin_layout LyX-Code
16109 Input stdfloats.inc
16112 \begin_layout Standard
16113 en tu archivo de formato.
16114 Si quieres implementar una clase de texto que proponga algún otro tipo
16115 de flotante (como la clase AGU empaquetada con \SpecialChar LyX
16116 ), la información siguiente
16117 te servirá de ayuda:
16120 \begin_layout Description
16121 \begin_inset Flex Code
16124 \begin_layout Plain Layout
16131 \begin_inset Flex Code
16134 \begin_layout Plain Layout
16140 =!htbpH] Opciones de colocación permitidas para este tipo de flotante.
16141 El valor es una secuencia de caracteres:
16146 \begin_inset Quotes eld
16150 \begin_inset Quotes erd
16158 \begin_inset Quotes eld
16162 \begin_inset Quotes erd
16170 \begin_inset Quotes eld
16174 \begin_inset Quotes erd
16182 \begin_inset Quotes eld
16186 \begin_inset Quotes erd
16194 \begin_inset Quotes eld
16198 \begin_inset Quotes erd
16206 \begin_inset Quotes eld
16210 \begin_inset Quotes erd
16214 El orden no importa.
16215 Si las opciones de colocación no están permitidas usa string
16222 \begin_layout Description
16223 \begin_inset Flex Code
16226 \begin_layout Plain Layout
16233 \begin_inset Flex Code
16236 \begin_layout Plain Layout
16243 \begin_inset space \thinspace{}
16249 \begin_inset Flex Code
16252 \begin_layout Plain Layout
16260 ] Define si el flotante admite rotación mediante el paquete \SpecialChar LaTeX
16267 \begin_inset Flex Code
16270 \begin_layout Plain Layout
16276 si el flotante no soporta esta característica.
16279 \begin_layout Description
16280 \begin_inset Flex Code
16283 \begin_layout Plain Layout
16290 \begin_inset Flex Code
16293 \begin_layout Plain Layout
16300 \begin_inset space \thinspace{}
16306 \begin_inset Flex Code
16309 \begin_layout Plain Layout
16317 ] Define si el flotante tiene una variante asterisco que abarca columnas
16318 en un párrafo de dos columnas.
16320 \begin_inset Flex Code
16323 \begin_layout Plain Layout
16329 si el flotante no soporta esta característica.
16332 \begin_layout Description
16333 \begin_inset Flex Code
16336 \begin_layout Plain Layout
16343 \begin_inset Flex Code
16346 \begin_layout Plain Layout
16353 \begin_inset Quotes erd
16357 \begin_inset Quotes erd
16360 ] La extensión del nombre de un archivo auxiliar para la lista de figuras
16363 escribe las leyendas en este archivo.
16366 \begin_layout Description
16367 \begin_inset Flex Code
16370 \begin_layout Plain Layout
16377 \begin_inset Flex Code
16380 \begin_layout Plain Layout
16387 \begin_inset Quotes erd
16391 \begin_inset Quotes erd
16394 ] La cadena que se usará en los menús y también para la leyenda.
16395 Esto se traduce al idioma actual si se usa.
16398 \begin_layout Description
16399 \begin_inset Flex Code
16402 \begin_layout Plain Layout
16408 Controlan la salida XHTML.
16410 \begin_inset space ~
16414 \begin_inset CommandInset ref
16416 reference "sec:Etiquetas-para-XHTML"
16423 \begin_layout Description
16424 \begin_inset Flex Code
16427 \begin_layout Plain Layout
16436 \begin_inset Flex Code
16439 \begin_layout Plain Layout
16448 \begin_inset space \thinspace{}
16452 \begin_inset Flex Code
16455 \begin_layout Plain Layout
16461 ] Indica si el flotante está ya definido en la clase de documento o si necesitam
16462 os cargar el paquete \SpecialChar LaTeX
16464 \begin_inset Flex Code
16467 \begin_layout Plain Layout
16473 para definirlo sobre la marcha.
16475 \begin_inset Flex Code
16478 \begin_layout Plain Layout
16484 , que significa: usar
16485 \begin_inset Flex Code
16488 \begin_layout Plain Layout
16496 \begin_inset Flex Code
16499 \begin_layout Plain Layout
16505 si el flotante ya está definido por la clase de documento \SpecialChar LaTeX
16509 \begin_layout Description
16510 \begin_inset Flex Code
16513 \begin_layout Plain Layout
16520 \begin_inset Flex Code
16523 \begin_layout Plain Layout
16530 \begin_inset Quotes erd
16534 \begin_inset Quotes erd
16537 ] El comando usado para generar una lista de flotantes de este tipo; debe
16538 omitirse el precedente `
16546 \begin_inset Flex Code
16549 \begin_layout Plain Layout
16555 es `false', puesto que no hay una forma estándar de generar este comando.
16557 \begin_inset Flex Code
16560 \begin_layout Plain Layout
16566 es `true', porque en este caso sí hay una forma estándar de definir el
16570 \begin_layout Description
16571 \begin_inset Flex Code
16574 \begin_layout Plain Layout
16581 \begin_inset Flex Code
16584 \begin_layout Plain Layout
16591 \begin_inset Quotes erd
16595 \begin_inset Quotes erd
16598 ] Un título para una lista de flotantes de este tipo (índice de figuras,
16599 tablas o lo que sea).
16600 Se usa para el nombre del recuadro en \SpecialChar LyX
16601 ; se pasa a \SpecialChar LaTeX
16602 para usarlo como título
16603 allí; y se usa como título en la salida.
16604 Será traducido al idioma del documento.
16607 \begin_layout Description
16608 \begin_inset Flex Code
16611 \begin_layout Plain Layout
16618 \begin_inset Flex Code
16621 \begin_layout Plain Layout
16628 \begin_inset Quotes erd
16632 \begin_inset Quotes erd
16635 ] Este argumento (opcional) determina si los flotantes de esta clase serán
16636 numerados dentro de alguna unidad de sección del documento.
16638 \begin_inset Flex Code
16641 \begin_layout Plain Layout
16648 \begin_inset Quotes cld
16652 \begin_inset Flex Code
16655 \begin_layout Plain Layout
16662 \begin_inset Quotes crd
16665 , los flotantes serán numerados dentro de los capítulos.
16668 \begin_layout Description
16669 \begin_inset Flex Code
16672 \begin_layout Plain Layout
16679 \begin_inset Flex Code
16682 \begin_layout Plain Layout
16689 \begin_inset Quotes erd
16693 \begin_inset Quotes erd
16696 ] La colocación por omisión para la clase dada de flotantes.
16698 \begin_inset Flex Code
16701 \begin_layout Plain Layout
16707 deberá ser un estándar \SpecialChar LaTeX
16709 \begin_inset Flex Code
16712 \begin_layout Plain Layout
16719 \begin_inset Flex Code
16722 \begin_layout Plain Layout
16729 \begin_inset Flex Code
16732 \begin_layout Plain Layout
16739 \begin_inset Flex Code
16742 \begin_layout Plain Layout
16749 \begin_inset Quotes cld
16753 \begin_inset Quotes crd
16757 \begin_inset Quotes cld
16761 \begin_inset Quotes crd
16765 \begin_inset Quotes cld
16769 \begin_inset Quotes crd
16773 \begin_inset Quotes cld
16777 \begin_inset Quotes crd
16780 (aquí), respectivamente.
16784 \begin_layout Plain Layout
16785 Anotar que el orden de estas letras en la cadena es irrelevante, como en
16792 Por encima de éstos hay un nuevo tipo,
16793 \begin_inset Flex Code
16796 \begin_layout Plain Layout
16802 , que no corresponde realmente a un flotante, ya que se refiere a: ponerlo
16804 \begin_inset Quotes cld
16808 \begin_inset Quotes crd
16811 , y en ninguna otra parte.
16812 Anotar que, sin embargo, el colocador
16813 \begin_inset Flex Code
16816 \begin_layout Plain Layout
16822 es especial y, debido a detalles de implementación, no puede usarse en
16823 tipos de flotantes no empotrados.
16824 Si no comprendes lo que esto significa, usa solo
16825 \begin_inset Quotes cld
16829 \begin_inset Flex Code
16832 \begin_layout Plain Layout
16839 \begin_inset Quotes crd
16845 \begin_layout Description
16846 \begin_inset Flex Code
16849 \begin_layout Plain Layout
16856 \begin_inset Flex Code
16859 \begin_layout Plain Layout
16865 ] El prefijo a usar cuando se crean etiquetas referidas a flotantes de este
16867 Esto permite el uso de referencias con formato.
16868 Puedes quitar cualquier
16869 \begin_inset Flex Code
16872 \begin_layout Plain Layout
16878 puesto por un estilo copiado usando el valor especial
16879 \begin_inset Quotes eld
16883 \begin_inset Quotes erd
16886 , todas mayúsculas.
16889 \begin_layout Description
16890 \begin_inset Flex Code
16893 \begin_layout Plain Layout
16900 \begin_inset Flex Code
16903 \begin_layout Plain Layout
16910 \begin_inset Quotes erd
16914 \begin_inset Quotes erd
16917 ] El estilo usado cuando se define el flotante con
16918 \begin_inset Flex Code
16921 \begin_layout Plain Layout
16932 \begin_layout Description
16933 \begin_inset Flex Code
16936 \begin_layout Plain Layout
16943 \begin_inset Flex Code
16946 \begin_layout Plain Layout
16953 \begin_inset Quotes erd
16957 \begin_inset Quotes erd
16961 \begin_inset Quotes cld
16965 \begin_inset Quotes crd
16968 de la nueva clase de flotante, como programa o algoritmo.
16969 Después del apropiado
16970 \begin_inset Flex Code
16973 \begin_layout Plain Layout
16981 , comandos tales como
16982 \begin_inset Flex Code
16985 \begin_layout Plain Layout
16994 \begin_inset Flex Code
16997 \begin_layout Plain Layout
17005 estarán disponibles.
17008 \begin_layout Description
17009 \begin_inset Flex Code
17012 \begin_layout Plain Layout
17019 \begin_inset Flex Code
17022 \begin_layout Plain Layout
17029 \begin_inset space \thinspace{}
17033 \begin_inset Flex Code
17036 \begin_layout Plain Layout
17044 ] Nos dice si este flotante se define usando el paquete \SpecialChar LaTeX
17046 \begin_inset Flex Code
17049 \begin_layout Plain Layout
17055 , bien por el archivo de clase o por un paquete, o bien sobre la marcha
17056 por el propio \SpecialChar LyX
17060 \begin_layout Standard
17061 Anotar que al definir un flotante con tipo
17062 \begin_inset Flex Code
17065 \begin_layout Plain Layout
17073 automáticamente se define el correspondiente contador con nombre
17074 \begin_inset Flex Code
17077 \begin_layout Plain Layout
17088 \begin_layout Subsection
17089 Recuadros flexibles y formato del recuadro
17090 \begin_inset CommandInset label
17092 name "subsec:estilo-del-texto"
17099 \begin_layout Standard
17100 Los recuadros flexibles son de tres tipos:
17103 \begin_layout Itemize
17105 \begin_inset Flex Code
17108 \begin_layout Plain Layout
17114 ): estos definen diseños semánticos correspondientes a comandos \SpecialChar LaTeX
17116 \begin_inset Flex Code
17119 \begin_layout Plain Layout
17128 \begin_inset Flex Code
17131 \begin_layout Plain Layout
17142 \begin_layout Itemize
17143 definido por el usuario (
17144 \begin_inset Flex Code
17147 \begin_layout Plain Layout
17153 ): estos se pueden usar para definir recuadros plegables personalizados,
17154 del tipo de los de código \SpecialChar TeX
17155 , notas al pie y similares.
17156 Un ejemplo obvio es un recuadro de nota final, definido en el módulo del
17158 \begin_inset Flex Code
17161 \begin_layout Plain Layout
17170 \begin_layout Itemize
17172 \begin_inset Flex Code
17175 \begin_layout Plain Layout
17181 ): para usar con las clases DocBook.
17184 \begin_layout Standard
17185 Los recuadros flexibles se definen usando la etiqueta
17186 \begin_inset Flex Code
17189 \begin_layout Plain Layout
17195 , que se explicará en un momento.
17198 \begin_layout Standard
17200 \begin_inset Flex Code
17203 \begin_layout Plain Layout
17209 también sirve para otra función: puede utilizarse para personalizar el
17210 diseño general de muchos tipos diferentes de recuadros.
17212 \begin_inset Flex Code
17215 \begin_layout Plain Layout
17221 permite personalizar los parámetros de diseño de notas al pie, notas al
17222 margen, notas, recuadros de código \SpecialChar TeX
17223 (ERT), ramas, listados de programa,
17224 índices, cuadros, tablas, algoritmos, URL, y leyendas, así como para definir
17225 recuadros flexibles.
17228 \begin_layout Standard
17230 \begin_inset Flex Code
17233 \begin_layout Plain Layout
17239 debe comenzar con una línea de la forma:
17242 \begin_layout LyX-Code
17246 \begin_layout Standard
17248 \begin_inset Flex Code
17251 \begin_layout Plain Layout
17257 indica el recuadro cuyo formato se va a definir, y hay cuatro casos.
17260 \begin_layout Enumerate
17261 Se va a modificar el formato para un tipo de recuadro preexistente.
17263 \begin_inset Flex Code
17266 \begin_layout Plain Layout
17272 puede ser uno cualquiera de los siguientes:
17273 \begin_inset Flex Code
17276 \begin_layout Plain Layout
17283 \begin_inset Flex Code
17286 \begin_layout Plain Layout
17293 \begin_inset Flex Code
17296 \begin_layout Plain Layout
17303 \begin_inset Flex Code
17306 \begin_layout Plain Layout
17313 \begin_inset Flex Code
17316 \begin_layout Plain Layout
17323 \begin_inset Flex Code
17326 \begin_layout Plain Layout
17333 \begin_inset Flex Code
17336 \begin_layout Plain Layout
17343 \begin_inset Flex Code
17346 \begin_layout Plain Layout
17353 \begin_inset Flex Code
17356 \begin_layout Plain Layout
17363 \begin_inset Flex Code
17366 \begin_layout Plain Layout
17373 \begin_inset Flex Code
17376 \begin_layout Plain Layout
17383 \begin_inset Flex Code
17386 \begin_layout Plain Layout
17393 \begin_inset Flex Code
17396 \begin_layout Plain Layout
17403 \begin_inset Flex Code
17406 \begin_layout Plain Layout
17413 \begin_inset Flex Code
17416 \begin_layout Plain Layout
17423 \begin_inset Flex Code
17426 \begin_layout Plain Layout
17433 \begin_inset Flex Code
17436 \begin_layout Plain Layout
17443 \begin_inset Flex Code
17446 \begin_layout Plain Layout
17453 \begin_inset Flex Code
17456 \begin_layout Plain Layout
17463 \begin_inset Flex Code
17466 \begin_layout Plain Layout
17476 \begin_layout Enumerate
17477 Se va a definir el formato para un recuadro flexible.
17479 \begin_inset Flex Code
17482 \begin_layout Plain Layout
17489 \begin_inset Quotes cld
17493 \begin_inset Flex Code
17496 \begin_layout Plain Layout
17503 \begin_inset Quotes crd
17507 \begin_inset Flex Code
17510 \begin_layout Plain Layout
17516 ser cualquier identificador válido no utilizado por un recuadro preexistente.
17517 El identificador puede incluir espacios, pero en este caso debe ponerse
17518 todo entre comillas.
17519 Ten en cuenta que la definición de un flexible debe incluir
17524 \begin_inset Flex Code
17527 \begin_layout Plain Layout
17534 declarando qué tipo de recuadro define.
17537 \begin_layout Enumerate
17538 Se va a definir el formato para rama específica de usuario.
17540 \begin_inset Flex Code
17543 \begin_layout Plain Layout
17549 debe ser de la forma
17550 \begin_inset Quotes cld
17554 \begin_inset Flex Code
17557 \begin_layout Plain Layout
17564 \begin_inset Quotes crd
17568 \begin_inset Flex Code
17571 \begin_layout Plain Layout
17577 puede ser cualquier identificador válido de rama definido en el documento
17579 Este identificador puede incluir espacios, pero, en ese caso todo debe
17581 El propósito principal de esta característica es permitir a \SpecialChar LaTeX
17583 específicas como necesite el usuario.
17586 \begin_layout Enumerate
17587 Se va a definir el formato de una leyenda específica de usuario (o clase).
17589 \begin_inset Flex Code
17592 \begin_layout Plain Layout
17598 debe ser de la forma
17599 \begin_inset Quotes cld
17603 \begin_inset Flex Code
17606 \begin_layout Plain Layout
17613 \begin_inset Quotes crd
17617 \begin_inset Flex Code
17620 \begin_layout Plain Layout
17626 especifica el nombre de la leyenda como aparece en el menú.
17627 Repasa la leyenda estándar (
17628 \begin_inset Flex Code
17631 \begin_layout Plain Layout
17637 ), las leyendas específicas de las clases KOMA-Script (
17638 \begin_inset Flex Code
17641 \begin_layout Plain Layout
17648 \begin_inset Flex Code
17651 \begin_layout Plain Layout
17660 \begin_inset space ~
17666 \begin_inset Flex Code
17669 \begin_layout Plain Layout
17675 ) para aplicaciones.
17678 \begin_layout Standard
17680 \begin_inset Flex Code
17683 \begin_layout Plain Layout
17689 puede contener las siguientes entradas:
17692 \begin_layout Description
17695 \begin_inset Flex Code
17698 \begin_layout Plain Layout
17707 \begin_inset Flex Code
17710 \begin_layout Plain Layout
17718 =""] This inset will appear in the table of contents of the given type.
17719 An empty string disables.
17720 See also the OutlinerName and the IsTocCaption commands.
17721 This is only implemented for Flex insets.
17725 \begin_layout Description
17726 \begin_inset Flex Code
17729 \begin_layout Plain Layout
17736 \begin_inset Flex Code
17739 \begin_layout Plain Layout
17745 ] Define el número de argumento de un comando\SpecialChar breakableslash
17746 entorno asociado con el formato
17748 La definición debe terminar con
17749 \begin_inset Flex Code
17752 \begin_layout Plain Layout
17760 \begin_inset CommandInset ref
17762 reference "subsec:Estilos-de-párrafo"
17769 \begin_layout Description
17770 \begin_inset Flex Code
17773 \begin_layout Plain Layout
17779 Preámbulo para comandos de cambio de idioma; véase
17780 \begin_inset CommandInset ref
17782 reference "subsec:I18n"
17789 \begin_layout Description
17790 \begin_inset Flex Code
17793 \begin_layout Plain Layout
17800 \begin_inset Flex Code
17803 \begin_layout Plain Layout
17809 ] El color para el fondo del recuadro.
17810 Véase la lista de colores en
17811 \begin_inset CommandInset ref
17813 reference "cap:Nombres-de-colores"
17820 \begin_layout Description
17821 \begin_inset Flex Code
17824 \begin_layout Plain Layout
17831 \begin_inset Flex Code
17834 \begin_layout Plain Layout
17843 \begin_inset space \thinspace{}
17847 \begin_inset Flex Code
17850 \begin_layout Plain Layout
17856 ] Si usar no el contenido del recuadro como etiqueta del mismo cuando el
17857 recuadro se cierra.
17858 Por omisión, falso.
17861 \begin_layout Description
17862 \begin_inset Flex Code
17865 \begin_layout Plain Layout
17872 \begin_inset Flex Code
17875 \begin_layout Plain Layout
17881 ] Como los estilos de párrafo, véase
17882 \begin_inset CommandInset ref
17884 reference "subsec:Estilos-de-párrafo"
17889 Ten en cuenta que debes especificar el tipo completo, p.
17890 \begin_inset space \thinspace{}
17894 \begin_inset space ~
17898 \begin_inset Flex Code
17901 \begin_layout Plain Layout
17902 CopyStyle Flex:<name>
17910 \begin_layout Description
17911 \begin_inset Flex Code
17914 \begin_layout Plain Layout
17921 \begin_inset Flex Code
17924 \begin_layout Plain Layout
17933 \begin_inset space \thinspace{}
17937 \begin_inset Flex Code
17940 \begin_layout Plain Layout
17946 ] Indica si el usuario puede emplear el diálogo Configuración del párrafo
17947 para modificar el párrafo.
17950 \begin_layout Description
17951 \begin_inset Flex Code
17954 \begin_layout Plain Layout
17961 \begin_inset Flex Code
17964 \begin_layout Plain Layout
17971 \begin_inset Flex Code
17974 \begin_layout Plain Layout
17981 \begin_inset Flex Code
17984 \begin_layout Plain Layout
17990 , que describe el estilo de presentación para el marco y los botones del
17992 Las notas al pie usan generalmente
17993 \begin_inset Flex Code
17996 \begin_layout Plain Layout
18002 , los recuadros de código \SpecialChar TeX
18004 \begin_inset Flex Code
18007 \begin_layout Plain Layout
18013 , y los de estilos del texto
18014 \begin_inset Flex Code
18017 \begin_layout Plain Layout
18026 \begin_layout Description
18027 \begin_inset Flex Code
18030 \begin_layout Plain Layout
18037 \begin_inset Flex Code
18040 \begin_layout Plain Layout
18047 \begin_inset space \thinspace{}
18051 \begin_inset Flex Code
18054 \begin_layout Plain Layout
18063 \begin_inset Flex Code
18066 \begin_layout Plain Layout
18073 \begin_inset Flex Code
18076 \begin_layout Plain Layout
18083 Indica si el entorno se ubicará en su propio espacio en la salida o si
18084 aparecerá en línea con el texto circundante.
18085 Si se pone falso, se supone que el entorno \SpecialChar LaTeX
18086 ignora los espacios en blanco
18087 (incluyendo un carácter de línea nueva) después de las etiquetas
18088 \begin_inset Flex Code
18091 \begin_layout Plain Layout
18104 \begin_inset Flex Code
18107 \begin_layout Plain Layout
18120 Por omisión, verdadero.
18123 \begin_layout Description
18124 \begin_inset Flex Code
18127 \begin_layout Plain Layout
18133 Requerido al final de las declaraciones de formato del recuadro
18134 \begin_inset Flex Code
18137 \begin_layout Plain Layout
18146 \begin_layout Description
18147 \begin_inset Flex Code
18150 \begin_layout Plain Layout
18156 La tipografía usada tanto para el cuerpo del texto como para la etiqueta.
18158 \begin_inset CommandInset ref
18160 reference "subsec:Tipografía"
18165 Anotar que al definir esta tipografía se define automáticamente el mismo
18166 valor para la etiqueta,
18167 \begin_inset Flex Code
18170 \begin_layout Plain Layout
18176 , así que define aquella primero y después define
18177 \begin_inset Flex Code
18180 \begin_layout Plain Layout
18186 si las quieres diferentes.
18189 \begin_layout Description
18190 \begin_inset Flex Code
18193 \begin_layout Plain Layout
18194 FixedWidthPreambleEncoding
18200 \begin_inset Flex Code
18203 \begin_layout Plain Layout
18212 \begin_inset space \thinspace{}
18216 \begin_inset Flex Code
18219 \begin_layout Plain Layout
18225 ] Fuerza una codificación de ancho fijo para el contenido traducido del
18227 \begin_inset Flex Code
18230 \begin_layout Plain Layout
18237 \begin_inset Flex Code
18240 \begin_layout Plain Layout
18246 generado por este formato.
18247 Esto es necesario para paquetes especiales \SpecialChar LaTeX
18252 que no trabajan con codificaciones de ancho variable como
18257 Esta configuración se ignora si se usan soportes \SpecialChar LaTeX
18258 compatibles totalmente
18259 con Unicode como Xe\SpecialChar TeX
18260 o Lua\SpecialChar TeX
18264 \begin_layout Description
18265 \begin_inset Flex Code
18268 \begin_layout Plain Layout
18269 ForceLocalFontSwitch
18275 \begin_inset Flex Code
18278 \begin_layout Plain Layout
18287 \begin_inset space \thinspace{}
18291 \begin_inset Flex Code
18294 \begin_layout Plain Layout
18300 ] Cuando se usa babel, usar siempre un cambiador de fuente local (
18301 \begin_inset Flex Code
18304 \begin_layout Plain Layout
18312 ), nunca uno global (como
18313 \begin_inset Flex Code
18316 \begin_layout Plain Layout
18327 \begin_layout Description
18328 \begin_inset Flex Code
18331 \begin_layout Plain Layout
18338 \begin_inset Flex Code
18341 \begin_layout Plain Layout
18350 \begin_inset space \thinspace{}
18354 \begin_inset Flex Code
18357 \begin_layout Plain Layout
18364 \begin_inset Quotes cld
18368 \begin_inset Quotes crd
18371 que genera salida Izquierda-Derecha (latin), p.
18372 \begin_inset space \thinspace{}
18376 \begin_inset space \space{}
18379 en código \SpecialChar TeX
18384 \begin_layout Description
18385 \begin_inset Flex Code
18388 \begin_layout Plain Layout
18395 \begin_inset Flex Code
18398 \begin_layout Plain Layout
18407 \begin_inset space \thinspace{}
18411 \begin_inset Flex Code
18414 \begin_layout Plain Layout
18420 ] Fuerza un salto de línea en la salida \SpecialChar LaTeX
18421 antes de iniciarse el recuadro
18422 de inserción y después de finalizar.
18423 Esto asegura que el recuadro mismo se ubique en sus propias líneas, con
18427 \begin_layout Description
18428 \begin_inset Flex Code
18431 \begin_layout Plain Layout
18438 \begin_inset Flex Code
18441 \begin_layout Plain Layout
18450 \begin_inset space \thinspace{}
18454 \begin_inset Flex Code
18457 \begin_layout Plain Layout
18463 ] Indica si debería usarse
18464 \begin_inset Flex Code
18467 \begin_layout Plain Layout
18473 o, por el contrario el usuario puede cambiar el estilo de párrafo del recuadro.
18476 \begin_layout Description
18477 \begin_inset Flex Code
18480 \begin_layout Plain Layout
18489 \begin_inset Flex Code
18492 \begin_layout Plain Layout
18501 \begin_inset space \thinspace{}
18505 \begin_inset Flex Code
18508 \begin_layout Plain Layout
18514 ] Como en estilos de párrafo, véase
18515 \begin_inset CommandInset ref
18517 reference "subsec:Estilos-de-párrafo"
18524 \begin_layout Description
18525 \begin_inset Flex Code
18528 \begin_layout Plain Layout
18534 Controlan la salida XHTML.
18536 \begin_inset CommandInset ref
18538 reference "sec:Etiquetas-para-XHTML"
18545 \begin_layout Description
18546 \begin_inset Flex Code
18549 \begin_layout Plain Layout
18556 \begin_inset Flex Code
18559 \begin_layout Plain Layout
18568 \begin_inset space \thinspace{}
18572 \begin_inset Flex Code
18575 \begin_layout Plain Layout
18581 ] Incluye o no el contenido de este inset en la cadena generada para el
18582 panel 'Navegador de contorno'
18584 for all table of contents, regardless of the AddToToc setting
18587 El no sería, por ejemplo, para que el contenido de una nota al pie en un
18588 encabezado de sección no aparezca en el índice que se despliega en el navegador
18589 de contorno, sin embargo, normalmente sí se incluiría el contenido de un
18590 estilo de carácter.
18591 Predeterminado es false: no incluir.
18594 \begin_layout Description
18597 \begin_inset Flex Code
18600 \begin_layout Plain Layout
18609 \begin_inset Flex Code
18612 \begin_layout Plain Layout
18622 \begin_inset space \thinspace{}
18626 \begin_inset Flex Code
18629 \begin_layout Plain Layout
18637 ] If this is set to 1 and AddToToc is enabled, the inset adds a summary
18638 of its contents in its item in the table of contents.
18639 Otherwise, only the label appears.
18642 \begin_layout Description
18643 \begin_inset Flex Code
18646 \begin_layout Plain Layout
18655 \begin_inset Flex Code
18658 \begin_layout Plain Layout
18669 \begin_inset space \thinspace{}
18673 \begin_inset Flex Code
18676 \begin_layout Plain Layout
18682 ] Como en estilos de párrafo, véase
18683 \begin_inset CommandInset ref
18685 reference "subsec:Estilos-de-párrafo"
18692 \begin_layout Description
18693 \begin_inset Flex Code
18696 \begin_layout Plain Layout
18702 La tipografía para la etiqueta.
18704 \begin_inset CommandInset ref
18706 reference "subsec:Tipografía"
18711 Anotar que esta definición nunca puede aparecer antes de
18712 \begin_inset Flex Code
18715 \begin_layout Plain Layout
18721 , para que sea efectiva.
18724 \begin_layout Description
18725 \begin_inset Flex Code
18728 \begin_layout Plain Layout
18735 \begin_inset Flex Code
18738 \begin_layout Plain Layout
18745 \begin_inset Quotes erd
18749 \begin_inset Quotes erd
18752 ] Lo que se mostrará sobre el botón u otra parte como etiqueta del recuadro.
18753 Algunos tipos de recuadro (
18754 \begin_inset Flex Code
18757 \begin_layout Plain Layout
18758 código \SpecialChar TeX
18765 \begin_inset Flex Code
18768 \begin_layout Plain Layout
18774 ) modifican esta etiqueta sobre la marcha.
18777 \begin_layout Description
18778 \begin_inset Flex Code
18781 \begin_layout Plain Layout
18787 Preámbulo dependiente del idioma; véase
18788 \begin_inset CommandInset ref
18790 reference "subsec:I18n"
18797 \begin_layout Description
18798 \begin_inset Flex Code
18801 \begin_layout Plain Layout
18808 \begin_inset Flex Code
18811 \begin_layout Plain Layout
18817 ] El nombre \SpecialChar LaTeX
18818 correspondiente al asunto.
18819 Cualquier nombre de entorno o de comando.
18822 \begin_layout Description
18823 \begin_inset Flex Code
18826 \begin_layout Plain Layout
18833 \begin_inset Flex Code
18836 \begin_layout Plain Layout
18842 ] El parámetro opcional para el correspondiente
18843 \begin_inset Flex Code
18846 \begin_layout Plain Layout
18852 , incluyendo posibles pares de corchetes,
18853 \begin_inset Flex Code
18856 \begin_layout Plain Layout
18863 Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
18865 \begin_inset Flex Code
18868 \begin_layout Plain Layout
18874 para parámetros personalizables).
18875 Se emitirá como tal después de todos los
18876 \begin_inset Flex Code
18879 \begin_layout Plain Layout
18889 \begin_layout Description
18890 \begin_inset Flex Code
18893 \begin_layout Plain Layout
18900 \begin_inset Flex Code
18903 \begin_layout Plain Layout
18904 Command, Environment, None
18909 ] Cómo debería traducirse el estilo en \SpecialChar LaTeX
18914 \begin_layout Plain Layout
18915 \begin_inset Flex Code
18918 \begin_layout Plain Layout
18924 es quizás un poco confuso porque estas eglas se aplican también a clases.
18925 Mira los archivos de clase SGML para ejemplos concretos.
18934 \begin_layout Description
18935 \begin_inset Flex Code
18938 \begin_layout Plain Layout
18944 significa nada especial
18947 \begin_layout Description
18948 \begin_inset Flex Code
18951 \begin_layout Plain Layout
18958 \begin_inset Flex Code
18961 \begin_layout Plain Layout
18968 {\SpecialChar ldots
18977 \begin_layout Description
18978 \begin_inset Flex Code
18981 \begin_layout Plain Layout
18988 \begin_inset Flex Code
18991 \begin_layout Plain Layout
18998 }\SpecialChar ldots
19013 \begin_layout Standard
19014 Poniendo juntas las últimas cosas, la salida \SpecialChar LaTeX
19018 \begin_layout LyX-Code
19021 LatexName[LatexParam]{\SpecialChar ldots
19025 \begin_layout Standard
19029 \begin_layout LyX-Code
19032 begin{LatexName}[LatexParam] \SpecialChar ldots
19038 \begin_layout Standard
19039 dependiendo del tipo de \SpecialChar LaTeX
19044 \begin_layout Description
19045 \begin_inset Flex Code
19048 \begin_layout Plain Layout
19055 \begin_inset Flex Code
19058 \begin_layout Plain Layout
19064 ] Secuencia que se pone al comienzo del contenido del formato.
19065 Un salto de línea en la salida se indica con
19066 \begin_inset Flex Code
19069 \begin_layout Plain Layout
19078 \begin_layout Description
19079 \begin_inset Flex Code
19082 \begin_layout Plain Layout
19089 \begin_inset Flex Code
19092 \begin_layout Plain Layout
19099 \begin_inset Flex Code
19102 \begin_layout Plain Layout
19109 \begin_inset Flex Code
19112 \begin_layout Plain Layout
19119 \begin_inset Flex Code
19122 \begin_layout Plain Layout
19128 (indicando una definición ficticia que finaliza definiciones de estilos
19130 Esta entrada es requerida y solo es significativa para recuadros flexibles.
19131 Entre otras cosas, determina en qué menús aparecerá este recuadro.
19133 \begin_inset Flex Code
19136 \begin_layout Plain Layout
19143 \begin_inset Flex Code
19146 \begin_layout Plain Layout
19153 \begin_inset Flex Code
19156 \begin_layout Plain Layout
19163 \begin_inset Flex Code
19166 \begin_layout Plain Layout
19178 \begin_inset Flex Code
19181 \begin_layout Plain Layout
19187 se puede poner como verdadero, o
19188 \begin_inset Flex Code
19191 \begin_layout Plain Layout
19201 e, para recuadros de estilos
19202 \begin_inset Flex Code
19205 \begin_layout Plain Layout
19216 \begin_inset Flex Code
19219 \begin_layout Plain Layout
19228 \begin_layout Description
19229 \begin_inset Flex Code
19232 \begin_layout Plain Layout
19239 \begin_inset Flex Code
19242 \begin_layout Plain Layout
19251 \begin_inset space \thinspace{}
19255 \begin_inset Flex Code
19258 \begin_layout Plain Layout
19264 ] Indica si se permiten múltiples párrafos en este recuadro.
19265 Además establecerá para CustomPars el mismo valor y para ForcePlain el
19267 Estos pueden modificarse a otros valores si se usan
19274 \begin_layout Description
19275 \begin_inset Flex Code
19278 \begin_layout Plain Layout
19285 \begin_inset Flex Code
19288 \begin_layout Plain Layout
19297 \begin_inset space \thinspace{}
19301 \begin_inset Flex Code
19304 \begin_layout Plain Layout
19310 ] Si los comandos frágiles deben o no ser
19311 \begin_inset Flex Code
19314 \begin_layout Plain Layout
19322 'ed en este recuadro.
19327 si el comando mismo debe ser protegido
19332 \begin_layout Description
19333 \begin_inset Flex Code
19336 \begin_layout Plain Layout
19343 \begin_inset Flex Code
19346 \begin_layout Plain Layout
19353 \begin_inset Flex Code
19356 \begin_layout Plain Layout
19365 \begin_layout Description
19366 \begin_inset Flex Code
19369 \begin_layout Plain Layout
19376 \begin_inset Flex Code
19379 \begin_layout Plain Layout
19386 \begin_inset Flex Code
19389 \begin_layout Plain Layout
19395 que ha recolocado este
19396 \begin_inset Flex Code
19399 \begin_layout Plain Layout
19406 Se usa para renombrar un
19407 \begin_inset Flex Code
19410 \begin_layout Plain Layout
19416 , mientras se mantiene compatibilidad hacia atrás.
19419 \begin_layout Description
19420 \begin_inset Flex Code
19423 \begin_layout Plain Layout
19430 \begin_inset Flex Code
19433 \begin_layout Plain Layout
19442 \begin_inset space \thinspace{}
19446 \begin_inset Flex Code
19449 \begin_layout Plain Layout
19455 ] Igual que para estilos de párrafo, véase
19456 \begin_inset CommandInset ref
19458 reference "subsec:Estilos-de-párrafo"
19463 Por omisión es falso.
19466 \begin_layout Description
19467 \begin_inset Flex Code
19470 \begin_layout Plain Layout
19479 \begin_inset Flex Code
19482 \begin_layout Plain Layout
19493 \begin_inset space \thinspace{}
19497 \begin_inset Flex Code
19500 \begin_layout Plain Layout
19506 ] Igual que para estilos de párrafo, véase
19507 \begin_inset CommandInset ref
19509 reference "subsec:Estilos-de-párrafo"
19516 \begin_layout Description
19517 \begin_inset Flex Code
19520 \begin_layout Plain Layout
19526 Igual que para estilos de párrafo, véase
19527 \begin_inset CommandInset ref
19529 reference "subsec:Estilos-de-párrafo"
19536 \begin_layout Description
19537 \begin_inset Flex Code
19540 \begin_layout Plain Layout
19547 \begin_inset Flex Code
19550 \begin_layout Plain Layout
19556 ] Prefijo a usar cuando se crean etiquetas que se refieren a recuadros de
19558 Esto permite el uso de referencias con formato.
19561 \begin_layout Description
19562 \begin_inset Flex Code
19565 \begin_layout Plain Layout
19572 \begin_inset Flex Code
19575 \begin_layout Plain Layout
19581 ] Igual que para estilos de párrafo, véase
19582 \begin_inset CommandInset ref
19584 reference "subsec:Estilos-de-párrafo"
19591 \begin_layout Description
19592 \begin_inset Flex Code
19595 \begin_layout Plain Layout
19602 \begin_inset Flex Code
19605 \begin_layout Plain Layout
19614 \begin_inset space \thinspace{}
19618 \begin_inset Flex Code
19621 \begin_layout Plain Layout
19627 ] Reinicia los argumentos \SpecialChar LaTeX
19628 de este formato (como se definen con
19629 \begin_inset Flex Code
19632 \begin_layout Plain Layout
19639 Es útil si has copiado un estilo con
19640 \begin_inset Flex Code
19643 \begin_layout Plain Layout
19649 , pero no quieres heredar sus argumentos (requerido y opcional).
19652 \begin_layout Description
19653 \begin_inset Flex Code
19656 \begin_layout Plain Layout
19663 \begin_inset Flex Code
19666 \begin_layout Plain Layout
19673 \begin_inset space \thinspace{}
19677 \begin_inset Flex Code
19680 \begin_layout Plain Layout
19688 ] Si este recuadro debería usar la tipografía de su entorno o la suya propia.
19689 Por omisión es la tipografía de su entorno.
19692 \begin_layout Description
19693 \begin_inset Flex Code
19696 \begin_layout Plain Layout
19703 \begin_inset Flex Code
19706 \begin_layout Plain Layout
19712 ] Secuencia que se pone al final del contenido del formato.
19713 Un salto de línea en la salida se indica con
19714 \begin_inset Flex Code
19717 \begin_layout Plain Layout
19726 \begin_layout Description
19727 \begin_inset Flex Code
19730 \begin_layout Plain Layout
19737 \begin_inset Flex Code
19740 \begin_layout Plain Layout
19747 \begin_inset space \thinspace{}
19751 \begin_inset Flex Code
19754 \begin_layout Plain Layout
19762 ] Revisar la ortografía del contenido del recuadro.
19766 \begin_layout Subsection
19768 \begin_inset CommandInset label
19770 name "subsec:Contadores"
19777 \begin_layout Standard
19778 Es necesario definir los contadores (
19779 \begin_inset Flex Noun
19782 \begin_layout Plain Layout
19789 \begin_inset Flex Noun
19792 \begin_layout Plain Layout
19798 , \SpecialChar ldots
19799 ) en la propia clase de texto.
19800 Los contadores estándar están definidos en el archivo
19801 \begin_inset Flex Code
19804 \begin_layout Plain Layout
19810 , de modo que no tienes más que añadir
19813 \begin_layout LyX-Code
19814 Input stdcounters.inc
19817 \begin_layout Standard
19818 en el archivo de formato para que funcionen.
19819 Pero si quieres puedes definir contadores personalizados.
19820 La declaración de un contador debe comenzar con:
19823 \begin_layout LyX-Code
19827 \begin_layout Standard
19829 \begin_inset Flex Code
19832 \begin_layout Plain Layout
19838 es el nombre del contador.
19839 Hay que terminar con
19840 \begin_inset Flex Code
19843 \begin_layout Plain Layout
19852 \begin_layout Standard
19853 Se pueden usar además los parámetros siguientes:
19856 \begin_layout Description
19857 \begin_inset Flex Code
19860 \begin_layout Plain Layout
19867 \begin_inset Flex Code
19870 \begin_layout Plain Layout
19876 ] Establece el valor inicial para el contador, al cuál se reiniciará cada
19877 vez que suceda esto.
19878 Normalmente será 1.
19881 \begin_layout Description
19882 \begin_inset Flex Code
19885 \begin_layout Plain Layout
19892 \begin_inset Flex Code
19895 \begin_layout Plain Layout
19901 =""] Si se define esta cadena, indica cómo se muestra el contador.
19902 Al establecer este valor también se da el mismo valor a
19903 \begin_inset Flex Code
19906 \begin_layout Plain Layout
19907 LabelStringAppendix
19913 Para los valores de 'string' se pueden usar las estructuras siguientes:
19917 \begin_layout Itemize
19918 \begin_inset Flex Code
19921 \begin_layout Plain Layout
19929 será reemplazado por la expansión de
19930 \begin_inset Flex Code
19933 \begin_layout Plain Layout
19940 \begin_inset Newline newline
19944 \begin_inset Flex Code
19947 \begin_layout Plain Layout
19948 LabelStringAppendix
19954 \begin_inset Flex Code
19957 \begin_layout Plain Layout
19967 \begin_layout Itemize
19968 los valores del contador pueden expresarse usando macros tipo \SpecialChar LaTeX
19970 \begin_inset Flex Code
19973 \begin_layout Plain Layout
19990 \begin_inset Flex Code
19993 \begin_layout Plain Layout
20005 \begin_layout Plain Layout
20006 En realidad la cosa es un poco más compleja: cualquier
20010 distinto de los descritos a continuación generará números arábigos.
20011 No sería sorprendenta ver este cambio en el futuro.
20017 \begin_inset Flex Code
20020 \begin_layout Plain Layout
20026 : 1, 2, 3,\SpecialChar ldots
20028 \begin_inset Flex Code
20031 \begin_layout Plain Layout
20037 para minúsculas: a, b, c, \SpecialChar ldots
20039 \begin_inset Flex Code
20042 \begin_layout Plain Layout
20048 para mayúsculas: A, B, C, \SpecialChar ldots
20050 \begin_inset Flex Code
20053 \begin_layout Plain Layout
20059 números romanos en minúscula: i, ii, iii, \SpecialChar ldots
20064 \begin_layout Plain Layout
20070 \begin_inset space \thinspace{}
20078 \begin_inset Flex Code
20081 \begin_layout Plain Layout
20096 \begin_inset Flex Code
20099 \begin_layout Plain Layout
20113 los transforma automáticamente en versalitas
20118 , ya que los romanos en minúscula no se usan en español.
20125 \begin_inset Flex Code
20128 \begin_layout Plain Layout
20134 para romanos en mayúsculas: I, II, III\SpecialChar ldots
20136 \begin_inset Flex Code
20139 \begin_layout Plain Layout
20145 para números hebreos.
20149 \begin_layout Standard
20151 \begin_inset Flex Code
20154 \begin_layout Plain Layout
20160 , se construye un valor por omisión así: si el contador tiene un contador
20162 \begin_inset Flex Code
20165 \begin_layout Plain Layout
20172 \begin_inset Flex Code
20175 \begin_layout Plain Layout
20181 ), se usa la cadena
20182 \begin_inset Flex Code
20185 \begin_layout Plain Layout
20195 ; si no, se usa la cadena
20196 \begin_inset Flex Code
20199 \begin_layout Plain Layout
20210 \begin_layout Description
20211 \begin_inset Flex Code
20214 \begin_layout Plain Layout
20215 LabelStringAppendix
20221 \begin_inset Flex Code
20224 \begin_layout Plain Layout
20231 \begin_inset Flex Code
20234 \begin_layout Plain Layout
20240 , pero para el apéndice.
20243 \begin_layout Description
20244 \begin_inset Flex Code
20247 \begin_layout Plain Layout
20254 \begin_inset Flex Code
20257 \begin_layout Plain Layout
20264 \begin_inset Quotes erd
20268 \begin_inset Quotes erd
20271 ] Un formato para usar con las referencias a este contador.
20272 Por ejemplo, podríamos querer las referencias a los números de sección
20274 \begin_inset Quotes cld
20278 \begin_inset space ~
20282 \begin_inset Quotes crd
20286 La secuencia debería contener
20287 \begin_inset Quotes eld
20291 \begin_inset Quotes erd
20295 Esto será reemplazado por el número correspondiente del contador.
20296 Así pues, para secciones sería: Section ##.
20299 \begin_layout Description
20300 \begin_inset Flex Code
20303 \begin_layout Plain Layout
20310 \begin_inset Flex Code
20313 \begin_layout Plain Layout
20319 =""] Si esto se establece para el nombre de otro contador, el presente contador
20320 se reiniciará cada vez que el otro aumente.
20322 \begin_inset Flex Code
20325 \begin_layout Plain Layout
20331 se numera dentro de
20332 \begin_inset Flex Code
20335 \begin_layout Plain Layout
20344 \begin_layout Subsection
20345 Descripción de la tipografía
20346 \begin_inset CommandInset label
20348 name "subsec:Tipografía"
20355 \begin_layout Standard
20356 Una descripción de una tipografía se ve así:
20359 \begin_layout LyX-Code
20373 \begin_layout LyX-Code
20377 \begin_layout LyX-Code
20381 \begin_layout Standard
20382 Están disponibles los comandos siguientes:
20385 \begin_layout Description
20386 \begin_inset Flex Code
20389 \begin_layout Plain Layout
20396 \begin_inset Flex Code
20399 \begin_layout Plain Layout
20408 \begin_inset Flex Code
20411 \begin_layout Plain Layout
20418 \begin_inset Flex Code
20421 \begin_layout Plain Layout
20428 \begin_inset Flex Code
20431 \begin_layout Plain Layout
20438 \begin_inset Flex Code
20441 \begin_layout Plain Layout
20448 \begin_inset Flex Code
20451 \begin_layout Plain Layout
20458 \begin_inset Flex Code
20461 \begin_layout Plain Layout
20468 \begin_inset Flex Code
20471 \begin_layout Plain Layout
20478 \begin_inset Flex Code
20481 \begin_layout Plain Layout
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
20528 \begin_inset Flex Code
20531 \begin_layout Plain Layout
20538 \begin_inset Flex Code
20541 \begin_layout Plain Layout
20548 \begin_inset Flex Code
20551 \begin_layout Plain Layout
20558 \begin_inset Flex Code
20561 \begin_layout Plain Layout
20568 \begin_inset Flex Code
20571 \begin_layout Plain Layout
20578 \begin_inset Flex Code
20581 \begin_layout Plain Layout
20588 \begin_inset Flex Code
20591 \begin_layout Plain Layout
20600 \begin_layout Description
20601 \begin_inset Flex Code
20604 \begin_layout Plain Layout
20613 \begin_inset Flex Code
20616 \begin_layout Plain Layout
20627 \begin_inset Flex Code
20630 \begin_layout Plain Layout
20637 \begin_inset Flex Code
20640 \begin_layout Plain Layout
20649 \begin_layout Description
20650 \begin_inset Flex Code
20653 \begin_layout Plain Layout
20660 \begin_inset Flex Code
20663 \begin_layout Plain Layout
20669 ] Son argumentos válidos:
20670 \begin_inset Flex Code
20673 \begin_layout Plain Layout
20680 \begin_inset Flex Code
20683 \begin_layout Plain Layout
20690 \begin_inset Flex Code
20693 \begin_layout Plain Layout
20700 \begin_inset Flex Code
20703 \begin_layout Plain Layout
20710 \begin_inset Flex Code
20713 \begin_layout Plain Layout
20720 \begin_inset Flex Code
20723 \begin_layout Plain Layout
20730 \begin_inset Flex Code
20733 \begin_layout Plain Layout
20740 \begin_inset Flex Code
20743 \begin_layout Plain Layout
20750 \begin_inset Flex Code
20753 \begin_layout Plain Layout
20760 \begin_inset Flex Code
20763 \begin_layout Plain Layout
20770 \begin_inset Flex Code
20773 \begin_layout Plain Layout
20780 \begin_inset Flex Code
20783 \begin_layout Plain Layout
20790 Cada uno de ellos activa o desactiva el atributo correspondiente.
20792 \begin_inset Flex Code
20795 \begin_layout Plain Layout
20802 \begin_inset Flex Code
20805 \begin_layout Plain Layout
20812 \begin_inset Newline newline
20815 Si esto último parece superfluo, recordemos que la configuración de tipografías
20816 para el presente contexto se hereda generalmente del contexto circundante.
20818 \begin_inset Flex Code
20821 \begin_layout Plain Layout
20827 desactivaría el énfasis que estaba vigente, digamos, en un entorno teorema.
20830 \begin_layout Description
20831 \begin_inset Flex Code
20834 \begin_layout Plain Layout
20843 \begin_inset Flex Code
20846 \begin_layout Plain Layout
20857 \begin_inset Flex Code
20860 \begin_layout Plain Layout
20869 \begin_layout Description
20870 \begin_inset Flex Code
20873 \begin_layout Plain Layout
20882 \begin_inset Flex Code
20885 \begin_layout Plain Layout
20896 \begin_inset Flex Code
20899 \begin_layout Plain Layout
20906 \begin_inset Flex Code
20909 \begin_layout Plain Layout
20916 \begin_inset Flex Code
20919 \begin_layout Plain Layout
20928 \begin_layout Description
20929 \begin_inset Flex Code
20932 \begin_layout Plain Layout
20939 \begin_inset Flex Code
20942 \begin_layout Plain Layout
20949 \begin_inset Flex Code
20952 \begin_layout Plain Layout
20959 \begin_inset Flex Code
20962 \begin_layout Plain Layout
20971 \begin_inset Flex Code
20974 \begin_layout Plain Layout
20981 \begin_inset Flex Code
20984 \begin_layout Plain Layout
20991 \begin_inset Flex Code
20994 \begin_layout Plain Layout
21001 \begin_inset Flex Code
21004 \begin_layout Plain Layout
21011 \begin_inset Flex Code
21014 \begin_layout Plain Layout
21023 \begin_layout Subsection
21026 \begin_inset CommandInset label
21028 name "subsec:Citation-engine-description"
21032 Citation engine description
21035 \begin_layout Standard
21039 \begin_inset Flex Code
21042 \begin_layout Plain Layout
21050 blocks, as used mainly in cite engine files (see
21051 \begin_inset CommandInset ref
21053 reference "subsec:Cite-Engine-Files"
21060 ), define the citation commands provided by a specific
21061 \begin_inset Quotes eld
21065 \begin_inset Quotes erd
21069 A cite engine, in \SpecialChar LyX
21070 terms, is way specific way to format citations, using
21071 numbers, author names and/or years.
21072 Currently, \SpecialChar LyX
21073 supports three such engine types, namely:
21076 \begin_layout Enumerate
21079 \begin_inset Flex Code
21082 \begin_layout Plain Layout
21090 : the default Bib\SpecialChar TeX
21091 way to format citations, a simple numeric style (e.
21092 \begin_inset space \thinspace{}
21096 \begin_inset Quotes eld
21100 \begin_inset Quotes erd
21106 \begin_layout Enumerate
21109 \begin_inset Flex Code
21112 \begin_layout Plain Layout
21120 : Harvard-styled citations using author names and publication year (e.
21121 \begin_inset space \thinspace{}
21125 \begin_inset Quotes eld
21128 Smith and Miller (2017b)
21129 \begin_inset Quotes erd
21135 \begin_layout Enumerate
21138 \begin_inset Flex Code
21141 \begin_layout Plain Layout
21149 : extended numerical citations that also allow for author or title next
21151 \begin_inset space \thinspace{}
21155 \begin_inset Quotes eld
21158 Smith and Miller [1]
21159 \begin_inset Quotes erd
21165 \begin_layout Standard
21168 \begin_inset Flex Code
21171 \begin_layout Plain Layout
21179 blocks look like this:
21182 \begin_layout LyX-Code
21188 \begin_layout LyX-Code
21194 \begin_layout LyX-Code
21200 \begin_layout LyX-Code
21203 citeyearpar[][]=parencite*
21206 \begin_layout LyX-Code
21212 \begin_layout LyX-Code
21218 \begin_layout Standard
21222 \begin_inset Flex Code
21225 \begin_layout Plain Layout
21233 denotes the engine.
21234 The individual lines respectively define a cite command or cite command
21235 paradigm supported by this engine.
21236 The line can be as simple as a cite command that is used both to name the
21237 respective \SpecialChar LyX
21238 command and the \SpecialChar LaTeX
21239 output or more complex in order to differentiate
21241 The full syntax is:
21244 \begin_layout LyX-Code
21247 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
21250 \begin_layout Itemize
21253 \begin_inset Flex Code
21256 \begin_layout Plain Layout
21264 : The name as used in the
21265 \begin_inset Flex Code
21268 \begin_layout Plain Layout
21280 \begin_layout Standard
21283 For portability reasons, we try to use the same name for same-formatted
21284 commands in different cite packages (thus many names stem from natbib,
21285 and thus we need to differentiate a
21286 \begin_inset Flex Code
21289 \begin_layout Plain Layout
21297 sometimes, if the \SpecialChar LaTeX
21298 command names differ).
21302 \begin_layout Itemize
21305 \begin_inset Flex Code
21308 \begin_layout Plain Layout
21316 : a (comma-separated) list of commands that fall back to the given
21317 \begin_inset Flex Code
21320 \begin_layout Plain Layout
21328 in the current engine.
21329 This eases the switch of citation packages and engines.
21331 \begin_inset Flex Code
21334 \begin_layout Plain Layout
21343 \begin_inset Flex Code
21346 \begin_layout Plain Layout
21354 in layout definitions.
21357 \begin_layout Itemize
21360 \begin_inset Flex Code
21363 \begin_layout Plain Layout
21371 : The actual \SpecialChar LaTeX
21372 command that is output.
21376 \begin_layout Standard
21379 \begin_inset Flex Code
21382 \begin_layout Plain Layout
21391 \begin_inset Flex Code
21394 \begin_layout Plain Layout
21404 \begin_inset Flex Code
21407 \begin_layout Plain Layout
21416 \begin_inset Flex Code
21419 \begin_layout Plain Layout
21427 will be output to \SpecialChar LaTeX
21431 \begin_layout Standard
21437 \begin_layout Itemize
21440 Capitalization indicates that the command also has a capitalized form (
21441 \begin_inset Flex Code
21444 \begin_layout Plain Layout
21456 \begin_inset Flex Code
21459 \begin_layout Plain Layout
21470 These usually enforce up-casing of name prefixes (
21475 \begin_inset Formula $\Rightarrow$
21485 \begin_layout Itemize
21489 \begin_inset Flex Code
21492 \begin_layout Plain Layout
21500 indicate the number of optional arguments (there can be 0–2).
21503 \begin_layout Itemize
21507 \begin_inset Flex Code
21510 \begin_layout Plain Layout
21518 indicates there is a starred version of the command (
21519 \begin_inset Flex Code
21522 \begin_layout Plain Layout
21534 \begin_inset Flex Code
21537 \begin_layout Plain Layout
21552 \begin_layout Standard
21555 By default, the starred version means: Output all authors even if it should
21557 \begin_inset Quotes eld
21561 \begin_inset Quotes erd
21565 \begin_inset Flex Code
21568 \begin_layout Plain Layout
21579 \begin_layout Standard
21582 If the star has a different meaning for a given command, it can be specified
21584 \begin_inset Flex Code
21587 \begin_layout Plain Layout
21590 <!_stardesc!_stardesctooltip>
21596 Maximal two translatable macro keywords, marked by the prefix
21597 \begin_inset Flex Code
21600 \begin_layout Plain Layout
21609 The first points to the string that replaces the
21610 \begin_inset Quotes eld
21614 \begin_inset Quotes erd
21617 checkbox label in the citation dialog, the second one to an optional tool
21618 tip for this checkbox.
21622 \begin_layout Standard
21625 Note that these two macros have to be defined in a
21626 \begin_inset Flex Code
21629 \begin_layout Plain Layout
21637 (see next section), dropping the
21638 \begin_inset Flex Code
21641 \begin_layout Plain Layout
21649 from the prefix, like this:
21652 \begin_layout LyX-Code
21655 _stardesc Sta&rred command label
21658 \begin_layout LyX-Code
21661 _stardesctooltip Tooltip for the starred command checkbox.
21665 \begin_layout Itemize
21669 \begin_inset Flex Code
21672 \begin_layout Plain Layout
21680 indicates that this command features
21681 \begin_inset Quotes eld
21684 qualified citation lists
21685 \begin_inset Quotes erd
21693 -specific feature for multi-reference citations where an individual pre-
21694 and postnote can be given to each reference in the list.
21695 Please refer to the
21699 manual for details.
21702 \begin_layout Subsection
21703 \begin_inset CommandInset label
21705 name "subsec:Descripción-formato-cita"
21709 Descripción del formato de cita
21712 \begin_layout Standard
21714 \begin_inset Flex Code
21717 \begin_layout Plain Layout
21723 se usan para describir la forma en que debe mostrarse la información bibliográf
21724 ica, tanto en \SpecialChar LyX
21725 (en el diálogo de citas y en las ayudas emergentes, por ejemplo)
21726 como en la salida XHTML.
21727 El aspecto de unode estos bloques podría ser este:
21730 \begin_layout LyX-Code
21734 \begin_layout LyX-Code
21738 \begin_layout LyX-Code
21742 \begin_layout LyX-Code
21746 \begin_layout Standard
21752 \begin_layout LyX-Code
21758 \begin_layout LyX-Code
21764 \begin_layout LyX-Code
21770 \begin_layout LyX-Code
21776 \begin_layout Standard
21779 In the first case, the individual lines
21781 definen cómo se va a mostrar la información bibliográfica asociada con un
21782 artículo o libro, respectivamente, y tales definiciones se pueden dar para
21783 cualquier `tipo de entrada' que pudiera estar presente en un archivo Bib\SpecialChar TeX
21786 define un formato por omsión en el código fuente que se usará si no se
21787 da una definición específica.
21789 predefine varios formatos en el archivo
21790 \begin_inset Flex Code
21793 \begin_layout Plain Layout
21799 , que se incluye en la mayoría de las clases de documento de \SpecialChar LyX
21803 \begin_layout Standard
21806 In the second case, the lines define how a specific citation command (in
21808 \begin_inset Flex Code
21811 \begin_layout Plain Layout
21822 \begin_inset Flex Code
21825 \begin_layout Plain Layout
21835 ) is to be displayed on the citation inset label, in the citation dialog,
21836 menu or XHTML output.
21838 defines such formats for the citation style variants it supports via
21840 Document\SpecialChar menuseparator
21841 Setting\SpecialChar menuseparator
21842 Bibliography\SpecialChar ldots
21846 \begin_inset Flex Code
21849 \begin_layout Plain Layout
21857 files that are shipped with \SpecialChar LyX
21859 \begin_inset CommandInset ref
21861 reference "subsec:Cite-Engine-Files"
21871 \begin_layout Standard
21872 Las definiciones usan un lenguaje simple que permite reemplazar las claves
21873 Bib\SpecialChar TeX
21875 Las claves deben encerrarse entre símbolos
21876 \begin_inset Flex Code
21879 \begin_layout Plain Layout
21886 \begin_inset space \thinspace{}
21890 \begin_inset Flex Code
21893 \begin_layout Plain Layout
21900 Así, una simple definición sería:
21903 \begin_layout LyX-Code
21905 \begin_inset Quotes eld
21909 \begin_inset Quotes erd
21915 \begin_layout Standard
21916 Esto imprimiría el autor, una coma, a continuación el título entre comillas
21917 y un punto para finalizar.
21920 \begin_layout Standard
21921 A veces querrás, por supuesto, imprimir una clave solo si existe.
21922 Esto puede hacerse mediante una construcción condicional tal como:
21923 \begin_inset Flex Code
21926 \begin_layout Plain Layout
21928 \begin_inset space ~
21936 , que quiere decir: si la clave
21937 \begin_inset Flex Code
21940 \begin_layout Plain Layout
21947 \begin_inset Quotes eld
21951 \begin_inset space ~
21955 \begin_inset Quotes erd
21958 seguido de la clave.
21959 También es posible tener una cláusula de otro modo en el condicional, como:
21960 \begin_inset Newline newline
21964 \begin_inset Flex Code
21967 \begin_layout Plain Layout
21968 {%author%[[%author%]][[%editor%, ed.]]}
21974 \begin_inset Newline newline
21978 \begin_inset Flex Code
21981 \begin_layout Plain Layout
21987 se imprime si existe; por otra parte, se imprime la clave
21988 \begin_inset Flex Code
21991 \begin_layout Plain Layout
21998 \begin_inset Quotes eld
22002 \begin_inset space ~
22006 \begin_inset Quotes erd
22010 Advierte que la clave se encierra entre signos
22011 \begin_inset Flex Code
22014 \begin_layout Plain Layout
22020 ; el condicional entero se encierra entre llaves; y las cláusulas condicional
22021 y por otra parte se ponen entre cobles corchetes,
22022 \begin_inset Quotes eld
22026 \begin_inset Flex Code
22029 \begin_layout Plain Layout
22036 \begin_inset Quotes eld
22040 \begin_inset Quotes eld
22044 \begin_inset Flex Code
22047 \begin_layout Plain Layout
22054 \begin_inset Quotes erd
22058 No debe haber espacios entre ninguno de ellos.
22061 \begin_layout Standard
22064 Next to the entry keys, there are some special keys that can be used for
22065 these conditionals:
22068 \begin_layout Itemize
22071 \begin_inset Flex Code
22074 \begin_layout Plain Layout
22077 {%dialog%[[true]][[false]]}
22083 \begin_inset Quotes eld
22087 \begin_inset Quotes erd
22090 part for dialogs and menus, the
22091 \begin_inset Quotes eld
22095 \begin_inset Quotes erd
22098 part for other contexts (workarea, export)
22101 \begin_layout Itemize
22104 \begin_inset Flex Code
22107 \begin_layout Plain Layout
22110 {%export%[[true]][[false]]}
22116 \begin_inset Quotes eld
22120 \begin_inset Quotes erd
22123 part for export and menus, the
22124 \begin_inset Quotes eld
22128 \begin_inset Quotes erd
22131 part for other contexts (workarea, dialog)
22134 \begin_layout Itemize
22137 \begin_inset Flex Code
22140 \begin_layout Plain Layout
22149 \begin_inset Quotes eld
22153 \begin_inset Quotes erd
22156 part if another item follows (e.
22157 \begin_inset space \thinspace{}
22160 g., in a citation with multiple keys)
22163 \begin_layout Itemize
22166 \begin_inset Flex Code
22169 \begin_layout Plain Layout
22172 {%second%[[true]][[false]]}
22178 \begin_inset Quotes eld
22182 \begin_inset Quotes erd
22185 if this is the second of multiple items, else the
22186 \begin_inset Quotes eld
22190 \begin_inset Quotes erd
22196 \begin_layout Itemize
22199 \begin_inset Flex Code
22202 \begin_layout Plain Layout
22205 {%ifstar%[[true]][[false]]}
22211 \begin_inset Quotes eld
22215 \begin_inset Quotes erd
22218 part for starred citation commands (such as
22219 \begin_inset Flex Code
22222 \begin_layout Plain Layout
22232 ), the false part for unstarred
22235 \begin_layout Itemize
22238 \begin_inset Flex Code
22241 \begin_layout Plain Layout
22244 {%ifentrytype:<type>%[[true]][[false]]}
22250 \begin_inset Quotes eld
22254 \begin_inset Quotes erd
22257 if the current entry type matches
22258 \begin_inset Flex Code
22261 \begin_layout Plain Layout
22269 , else the false part (e.g., in a citation definition:
22270 \begin_inset Flex Code
22273 \begin_layout Plain Layout
22276 {%ifentrytype:book%[[this is a book]][[this is no book]]}
22284 \begin_layout Itemize
22287 \begin_inset Flex Code
22290 \begin_layout Plain Layout
22293 {%ifmultiple:<authortype>%[[true]][[false]]}
22299 \begin_inset Quotes eld
22303 \begin_inset Quotes erd
22306 if the current author type (author, editor etc.) has multiple authors, else
22307 the false part (e.g., in a bibliography definition:
22308 \begin_inset Flex Code
22311 \begin_layout Plain Layout
22314 {%ifmultiple:editor%[[eds.]][[ed.]]}
22322 \begin_layout Itemize
22325 \begin_inset Flex Code
22328 \begin_layout Plain Layout
22331 {%ifqualified%[[true]][[false]]}
22337 \begin_inset Quotes eld
22341 \begin_inset Quotes erd
22344 part if the current citation is a qualified citation list (a specific
22348 format for multi-reference citations), the false part if this is not the
22352 \begin_layout Standard
22356 \begin_inset Flex Code
22359 \begin_layout Plain Layout
22367 prints the author key as it is recorded in the bibliography file.
22368 This might not be what you want, since it will result in a string such
22370 \begin_inset Quotes eld
22373 Miller, Peter and Smith, Mary and White, Jane
22374 \begin_inset Quotes erd
22378 \begin_inset Quotes eld
22382 \begin_inset Quotes erd
22385 is used by Bib\SpecialChar TeX
22386 to delimit authors).
22388 therefore provides some methods to get properly formatted name lists (which
22389 will also get translated).
22390 The following keys are provided:
22393 \begin_layout Enumerate
22396 For name lists with pre- and surname, suitable for the main authors/editors
22397 of a bibliography item.
22399 \begin_inset Flex Code
22402 \begin_layout Plain Layout
22410 part denotes the kind of list that is requested (e.g.
22412 \begin_inset Flex Code
22415 \begin_layout Plain Layout
22427 \begin_layout Itemize
22430 \begin_inset Flex Code
22433 \begin_layout Plain Layout
22436 %abbrvnames:<nametype>%
22441 : Provides a name list which is abbreviated (with
22442 \begin_inset Quotes eld
22446 \begin_inset Quotes erd
22450 \begin_inset Flex Code
22453 \begin_layout Plain Layout
22464 \begin_layout Itemize
22467 \begin_inset Flex Code
22470 \begin_layout Plain Layout
22473 %fullnames:<nametype>%
22478 : Provides a full name list (never abbreviated with
22479 \begin_inset Quotes eld
22483 \begin_inset Quotes erd
22489 \begin_layout Itemize
22492 \begin_inset Flex Code
22495 \begin_layout Plain Layout
22498 %forceabbrvnames:<nametype>%
22503 : Provides a name list which is always abbreviated (with
22504 \begin_inset Quotes eld
22508 \begin_inset Quotes erd
22512 \begin_inset Flex Code
22515 \begin_layout Plain Layout
22527 \begin_layout Enumerate
22530 Alternative name lists with pre- and surname, if the order of pre- and surname
22531 inside the bibliography item differs (as in:
22532 \begin_inset Quotes eld
22535 Miller, John: Some text, in: Mary Smith, ed.: A volume
22536 \begin_inset Quotes erd
22543 \begin_layout Itemize
22546 \begin_inset Flex Code
22549 \begin_layout Plain Layout
22552 %abbrvbynames:<nametype>%
22557 : Provides a name list which is abbreviated (with
22558 \begin_inset Quotes eld
22562 \begin_inset Quotes erd
22566 \begin_inset Flex Code
22569 \begin_layout Plain Layout
22580 \begin_layout Itemize
22583 \begin_inset Flex Code
22586 \begin_layout Plain Layout
22589 %fullbynames:<nametype>%
22594 : Provides a full name list (never abbreviated with
22595 \begin_inset Quotes eld
22599 \begin_inset Quotes erd
22605 \begin_layout Itemize
22608 \begin_inset Flex Code
22611 \begin_layout Plain Layout
22614 %forceabbrvbynames:<nametype>%
22619 : Provides a name list which is always abbreviated (with
22620 \begin_inset Quotes eld
22624 \begin_inset Quotes erd
22628 \begin_inset Flex Code
22631 \begin_layout Plain Layout
22643 \begin_layout Enumerate
22646 And finally name lists which consist of family names only, as used in author-yea
22648 these do not take a
22649 \begin_inset Flex Code
22652 \begin_layout Plain Layout
22660 part, but always return either an author list or, if this does not exist,
22661 an editor list (as common in author-year labels):
22665 \begin_layout Itemize
22668 \begin_inset Flex Code
22671 \begin_layout Plain Layout
22679 : Provides a name list which is abbreviated (with
22680 \begin_inset Quotes eld
22684 \begin_inset Quotes erd
22688 \begin_inset Flex Code
22691 \begin_layout Plain Layout
22702 \begin_layout Itemize
22705 \begin_inset Flex Code
22708 \begin_layout Plain Layout
22716 : Provides a full name list (never abbreviated with
22717 \begin_inset Quotes eld
22721 \begin_inset Quotes erd
22727 \begin_layout Itemize
22730 \begin_inset Flex Code
22733 \begin_layout Plain Layout
22736 %forceabbrvciteauthor%
22741 : Provides a name list which is always abbreviated (with
22742 \begin_inset Quotes eld
22746 \begin_inset Quotes erd
22750 \begin_inset Flex Code
22753 \begin_layout Plain Layout
22765 \begin_layout Standard
22768 The order of pre- and surname in the former two lists can be adjusted by
22772 \begin_layout Itemize
22775 \begin_inset Flex Code
22778 \begin_layout Plain Layout
22781 !firstnameform %surname%, %prename%
22786 (first author in lists of type 1)
22789 \begin_layout Itemize
22792 \begin_inset Flex Code
22795 \begin_layout Plain Layout
22798 !othernameform %surname%, %prename%
22803 (other authors in lists of type 1)
22806 \begin_layout Itemize
22809 \begin_inset Flex Code
22812 \begin_layout Plain Layout
22815 !firstbynameform %prename% %surname%
22820 (first author in lists of type 2)
22823 \begin_layout Itemize
22826 \begin_inset Flex Code
22829 \begin_layout Plain Layout
22832 !otherbynameform %prename% %surname%
22837 (other authors in lists of type 2)
22840 \begin_layout Standard
22843 This allows you to configure namings like
22844 \begin_inset Quotes eld
22847 Miller, Peter and Mary Smith: \SpecialChar ldots
22848 , in: John Doe and Pat Green, eds.:\SpecialChar ldots
22850 \begin_inset Quotes erd
22856 \begin_layout Standard
22857 Hay otra pieza de sintaxis disponible en las definiciones, como esta:
22858 \begin_inset Flex Code
22861 \begin_layout Plain Layout
22868 Define una pieza de información para ser usada cuando creamos
22869 \begin_inset Quotes eld
22873 \begin_inset Quotes erd
22877 Obviamente, no queremos etiquetas HTML cuando escribimos texto sencillo,
22878 por tanto deben ponerse entre
22879 \begin_inset Quotes eld
22883 \begin_inset Quotes erd
22887 \begin_inset Quotes eld
22891 \begin_inset Quotes erd
22897 \begin_layout Standard
22898 Además, hay dos clases especiales de definiciones disponibles en un bloque
22900 \begin_inset Flex Code
22903 \begin_layout Plain Layout
22910 Un ejemplo de la primera sería:
22913 \begin_layout LyX-Code
22915 \begin_inset Quotes eld
22919 \begin_inset Quotes erd
22925 \begin_layout Standard
22926 Esto es una abreviación, o macro, y se puede usar tratándola como si fuera
22928 \begin_inset Flex Code
22931 \begin_layout Plain Layout
22940 \begin_inset Flex Code
22943 \begin_layout Plain Layout
22949 exactamente como trataría su definición.
22950 Por tanto, permítenos un
22958 \begin_layout LyX-Code
22962 \begin_layout Standard
22965 no caería en un bucle infinito, pero sí en uno muy largo.
22968 \begin_layout Standard
22969 El segundo tipo especial de definición sería como:
22972 \begin_layout LyX-Code
22976 \begin_layout Standard
22977 Esto define un trozo de texto traducible, que permite traducir partes relevantes
22983 Puede incluirse en una definición tratándolo como una clave:
22984 \begin_inset Flex Code
22987 \begin_layout Plain Layout
22994 Varios de estos están predefinidos en
22995 \begin_inset Flex Code
22998 \begin_layout Plain Layout
23007 \begin_inset Flex Code
23010 \begin_layout Plain Layout
23021 Advertiremos que no son macros en el sentido definido.
23025 \begin_layout Standard
23026 Aquí hay, pues, un ejemplo que usa todas estas características:
23027 \begin_inset VSpace defskip
23033 \begin_layout Standard
23037 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %_edtext%, ]]}]]}
23040 \begin_layout Standard
23041 \begin_inset VSpace defskip
23044 Así definimos una macro que imprime el autor seguido de coma, si la clave
23046 \begin_inset Flex Code
23049 \begin_layout Plain Layout
23055 está definida, o imprime el nombre del editor seguido por el texto
23056 \begin_inset Flex Code
23059 \begin_layout Plain Layout
23065 o su traducción (por omisión
23066 \begin_inset Quotes eld
23070 \begin_inset Quotes erd
23074 \begin_inset Flex Code
23077 \begin_layout Plain Layout
23084 De hecho, esto está definido en
23085 \begin_inset Flex Code
23088 \begin_layout Plain Layout
23094 , por tanto puedes usarlo en tus propias definiciones o redefiniciones,
23095 si cargas antes ese archivo.
23098 \begin_layout Section
23099 Etiquetas para la salida XHTML
23100 \begin_inset CommandInset label
23102 name "sec:Etiquetas-para-XHTML"
23109 \begin_layout Standard
23110 Como para \SpecialChar LaTeX
23111 o DocBook, el formato de salida XHTML en \SpecialChar LyX
23112 también se controla
23113 mediante la información contenida en archivos de formato.
23114 En general, \SpecialChar LyX
23115 provee valores predefinidos sensatos y, como se mencionó anteriorm
23116 ente, incluso construirá reglas de estilo CSS a partir de las otras etiquetas
23118 Por ejemplo, \SpecialChar LyX
23119 intentará usar la información proporcionada por la declaración
23121 \begin_inset Flex Code
23124 \begin_layout Plain Layout
23130 para el estilo Chapter para escribir CSS que formateará adecuadamente los
23131 encabezados de capítulo.
23134 \begin_layout Standard
23135 En muchos casos, por tanto, no tendrás que hacer nada para obtener una aceptable
23136 salida XHTML para tus propios entornos, recuadros personalizados y cosas
23138 Pero en ciertos casos querrás hacer cambios, y para eso \SpecialChar LyX
23140 número de etiquetas de formato que se pueden usar para personalizar los
23141 XHTML y CSS generados.
23144 \begin_layout Standard
23145 Advertimos que hay dos etiquetas,
23146 \begin_inset Flex Code
23149 \begin_layout Plain Layout
23156 \begin_inset Flex Code
23159 \begin_layout Plain Layout
23165 que pueden aparecer fuera de las declaraciones de estilos y recuadros.
23167 \begin_inset CommandInset ref
23169 reference "subsec:Parámetros-generales-clases"
23173 para detalles sobre esto.
23176 \begin_layout Subsection
23178 \begin_inset CommandInset label
23180 name "subsec:Estilos-de-párrafo-XHTML"
23187 \begin_layout Standard
23188 El tipo de XHTML que genera \SpecialChar LyX
23189 para un párrafo depende de si se trata de un
23190 párrafo normal, de un comando o de un entorno, en los que esto se determina
23191 por el contenido de la correspondiente etiqueta
23192 \begin_inset Flex Code
23195 \begin_layout Plain Layout
23206 \begin_layout Standard
23207 Para un comando o párrafo, la salida XHTML tiene la forma siguiente:
23210 \begin_layout LyX-Code
23214 \begin_inset Quotes erd
23218 \begin_inset Quotes erd
23224 \begin_layout LyX-Code
23228 \begin_inset Quotes erd
23232 \begin_inset Quotes erd
23238 \begin_layout LyX-Code
23241 Contents of the paragraph.
23244 \begin_layout LyX-Code
23250 \begin_layout Standard
23251 Por supuesto, `label tags´ se omiten si el párrafo no tiene etiqueta.
23254 \begin_layout Standard
23255 Para un entorno que no sea algún tipo de lista, XHTML toma la forma:
23258 \begin_layout LyX-Code
23262 \begin_inset Quotes erd
23266 \begin_inset Quotes erd
23272 \begin_layout LyX-Code
23276 \begin_inset Quotes erd
23280 \begin_inset Quotes erd
23284 \begin_inset Quotes erd
23288 \begin_inset Quotes erd
23291 >Environment Label</labeltag>First paragraph.</itemtag>
23294 \begin_layout LyX-Code
23297 <itemtag>Second paragraph.</itemtag>
23300 \begin_layout LyX-Code
23306 \begin_layout Standard
23307 La etiqueta se genera solo para el primer párrafo, como debería ser, por
23308 ejemplo, para un teorema.
23312 \begin_layout Standard
23313 Para una lista disponemos de una de estas formas:
23316 \begin_layout LyX-Code
23320 \begin_inset Quotes erd
23324 \begin_inset Quotes erd
23330 \begin_layout LyX-Code
23334 \begin_inset Quotes erd
23338 \begin_inset Quotes erd
23342 \begin_inset Quotes erd
23346 \begin_inset Quotes erd
23349 >List Label</labeltag>First item.</itemtag>
23352 \begin_layout LyX-Code
23356 \begin_inset Quotes erd
23360 \begin_inset Quotes erd
23364 \begin_inset Quotes erd
23368 \begin_inset Quotes erd
23371 >List Label</labeltag>Second item.</itemtag>
23374 \begin_layout LyX-Code
23380 \begin_layout LyX-Code
23384 \begin_layout LyX-Code
23388 \begin_inset Quotes erd
23392 \begin_inset Quotes erd
23398 \begin_layout LyX-Code
23402 \begin_inset Quotes erd
23406 \begin_inset Quotes erd
23409 >List Label</labeltag><itemtag attr=
23410 \begin_inset Quotes erd
23414 \begin_inset Quotes erd
23417 >First item.</itemtag>
23420 \begin_layout LyX-Code
23424 \begin_inset Quotes erd
23428 \begin_inset Quotes erd
23431 >List Label</labeltag><itemtag attr=
23432 \begin_inset Quotes erd
23436 \begin_inset Quotes erd
23439 >Second item.</itemtag>
23442 \begin_layout LyX-Code
23448 \begin_layout Standard
23449 Observa los diferentes órdenes de
23450 \begin_inset Flex Code
23453 \begin_layout Plain Layout
23460 \begin_inset Flex Code
23463 \begin_layout Plain Layout
23470 El orden que obtenemos depende del ajuste de
23471 \begin_inset Flex Code
23474 \begin_layout Plain Layout
23481 \begin_inset Flex Code
23484 \begin_layout Plain Layout
23490 es falso (por omisión), se obtiene el primero de ellos, con la etiqueta
23491 dentro del ítem; si verdadero, se obtiene el segundo, con la etiqueta fuera
23495 \begin_layout Standard
23496 Las etiquetas específicas y la salida de los atributos para cada tipo de
23497 párrafo puede ser controlado por medio de las etiquetas de formato que
23499 Como mencionamos antes, sin embargo, \SpecialChar LyX
23500 usa predefinidos adecuados para muchos
23501 de estos valores, por lo que generalmente no necesitarás hacer nada para
23502 obtener una buena salida XHTML.
23503 Partiendo de las etiquetas ya disponibles puedes afinar las cosas a tu
23507 \begin_layout Description
23508 \begin_inset Flex Code
23511 \begin_layout Plain Layout
23518 \begin_inset Flex Code
23521 \begin_layout Plain Layout
23527 ] Especifica información de los atributos a entregar con la etiqueta principal.
23529 \begin_inset Quotes eld
23533 \begin_inset Flex Code
23536 \begin_layout Plain Layout
23543 \begin_inset Quotes erd
23547 Por omisión, \SpecialChar LyX
23549 \begin_inset Quotes eld
23553 \begin_inset Flex Code
23556 \begin_layout Plain Layout
23563 \begin_inset Quotes erd
23567 \begin_inset Flex Code
23570 \begin_layout Plain Layout
23576 es el nombre del formato en \SpecialChar LyX
23577 , en minúsculas, por ejemplo: chapter.
23582 debería contener ninguna información de estilo.
23584 \begin_inset Flex Code
23587 \begin_layout Plain Layout
23593 para ese propósito.
23596 \begin_layout Description
23597 \begin_inset Flex Code
23600 \begin_layout Plain Layout
23607 \begin_inset Flex Code
23610 \begin_layout Plain Layout
23619 \begin_inset space \thinspace{}
23623 \begin_inset Flex Code
23626 \begin_layout Plain Layout
23632 ] Si producir la información CSS predeterminada que \SpecialChar LyX
23633 genera para este formato,
23634 incluso si se proporciona explícitamente información adicional mediante
23636 \begin_inset Flex Code
23639 \begin_layout Plain Layout
23647 \begin_inset Flex Code
23650 \begin_layout Plain Layout
23656 permite alterar o aumentar el CSS generado, no sobrescribirlo totalmente.
23658 \begin_inset Flex Code
23661 \begin_layout Plain Layout
23670 \begin_layout Description
23671 \begin_inset Flex Code
23674 \begin_layout Plain Layout
23681 \begin_inset Flex Code
23684 \begin_layout Plain Layout
23690 ] Etiqueta a usar para párrafos individuales de entornos, reemplazando
23691 \begin_inset Flex Code
23694 \begin_layout Plain Layout
23700 en los ejemplos de arriba.
23702 \begin_inset Flex Code
23705 \begin_layout Plain Layout
23714 \begin_layout Description
23715 \begin_inset Flex Code
23718 \begin_layout Plain Layout
23725 \begin_inset Flex Code
23728 \begin_layout Plain Layout
23734 ] Atributos para la etiqueta ítem.
23736 \begin_inset Newline newline
23740 \begin_inset Quotes eld
23744 \begin_inset Flex Code
23747 \begin_layout Plain Layout
23748 class=`layoutname_item'
23754 \begin_inset Quotes erd
23762 debería contener ninguna información de estilo.
23764 \begin_inset Flex Code
23767 \begin_layout Plain Layout
23773 para ese propósito.
23776 \begin_layout Description
23777 \begin_inset Flex Code
23780 \begin_layout Plain Layout
23787 \begin_inset Flex Code
23790 \begin_layout Plain Layout
23796 ] Etiqueta a usar para rótulos de párrafos e ítems, reemplazando
23797 \begin_inset Flex Code
23800 \begin_layout Plain Layout
23806 en los ejemplos de arriba.
23808 \begin_inset Flex Code
23811 \begin_layout Plain Layout
23818 \begin_inset Flex Code
23821 \begin_layout Plain Layout
23828 \begin_inset Flex Code
23831 \begin_layout Plain Layout
23838 \begin_inset Flex Code
23841 \begin_layout Plain Layout
23842 Centered_Top_Environment
23847 , en cuyos casos es
23848 \begin_inset Flex Code
23851 \begin_layout Plain Layout
23860 \begin_layout Description
23861 \begin_inset Flex Code
23864 \begin_layout Plain Layout
23871 \begin_inset Flex Code
23874 \begin_layout Plain Layout
23880 ] Atributos para la etiqueta del rótulo.
23882 \begin_inset Newline newline
23886 \begin_inset Quotes eld
23890 \begin_inset Flex Code
23893 \begin_layout Plain Layout
23894 class=`layoutname_label'
23900 \begin_inset Quotes erd
23908 debería contener ninguna información de estilo.
23910 \begin_inset Flex Code
23913 \begin_layout Plain Layout
23919 para ese propósito.
23922 \begin_layout Description
23923 \begin_inset Flex Code
23926 \begin_layout Plain Layout
23933 \begin_inset Flex Code
23936 \begin_layout Plain Layout
23945 \begin_inset space \thinspace{}
23949 \begin_inset Flex Code
23952 \begin_layout Plain Layout
23958 ] Solo es significativo para entornos tipo lista, esta etiqueta controla
23959 si la etiqueta de rótulo se genera antes o dentro de la etiqueta de ítem.
23960 Se usa, por ejemplo, en el entorno descripción, donde queremos `
23961 \begin_inset Flex Code
23964 \begin_layout Plain Layout
23965 <dt>\SpecialChar ldots
23966 </dt><dd>\SpecialChar ldots
23974 \begin_inset Flex Code
23977 \begin_layout Plain Layout
23983 : la etiqueta de rótulo se genera dentro de la etiqueta de ítem.
23986 \begin_layout Description
23987 \begin_inset Flex Code
23990 \begin_layout Plain Layout
23996 Información para generar en la sección
23997 \begin_inset Flex Code
24000 \begin_layout Plain Layout
24006 cuando se usa este estilo.
24007 Esto podría, por ejemplo, utilizarse para incluir un bloque
24008 \begin_inset Flex Code
24011 \begin_layout Plain Layout
24017 definiendo un controlador
24018 \begin_inset Flex Code
24021 \begin_layout Plain Layout
24030 \begin_layout Description
24031 \begin_inset Flex Code
24034 \begin_layout Plain Layout
24040 Información de estilo CSS a incluir cuando se usa este estilo.
24041 Advertimos que esto será automáticamente envuelto en un bloque
24042 \begin_inset Flex Code
24045 \begin_layout Plain Layout
24051 generado por el formato, por tanto solo es necesario incluir el propio
24054 \begin_inset Flex Code
24057 \begin_layout Plain Layout
24066 \begin_layout Description
24067 \begin_inset Flex Code
24070 \begin_layout Plain Layout
24077 \begin_inset Flex Code
24080 \begin_layout Plain Layout
24086 ] Etiqueta para el rótulo principal, reemplazando
24087 \begin_inset Flex Code
24090 \begin_layout Plain Layout
24096 en losejemplos de arriba.
24098 \begin_inset Flex Code
24101 \begin_layout Plain Layout
24110 \begin_layout Description
24111 \begin_inset Flex Code
24114 \begin_layout Plain Layout
24121 \begin_inset Flex Code
24124 \begin_layout Plain Layout
24133 \begin_inset space \thinspace{}
24137 \begin_inset Flex Code
24140 \begin_layout Plain Layout
24146 ] Marca este estilo como el que se va a usar para generar la etiqueta
24147 \begin_inset Flex Code
24150 \begin_layout Plain Layout
24156 para el archivo XHTML.
24157 Por omisión, es falso.
24159 \begin_inset Flex Code
24162 \begin_layout Plain Layout
24168 lo establece verdadero para el entorno
24169 \begin_inset Flex Code
24172 \begin_layout Plain Layout
24182 \begin_layout Subsection
24186 \begin_layout Standard
24187 La salida XHTML de los recuadros también se puede controlar por información
24188 en archivos 'layout'.
24192 \begin_layout Plain Layout
24193 Por ahora, esto solo es cierto para recuadros de
24194 \begin_inset Quotes eld
24198 \begin_inset Quotes erd
24201 (recuadros en los que puedes escribir) y no para recuadros de
24202 \begin_inset Quotes eld
24206 \begin_inset Quotes erd
24209 (recuadros asociados con cuadros de diálogo).
24214 También en este caso, \SpecialChar LyX
24215 intenta proporcionar valores predefinidos adecuados,
24216 y construye reglas de estilo CSS, pero todo puede personalizarse.
24219 \begin_layout Standard
24220 Para los recuadros, \SpecialChar LyX
24221 produce XHTML en la forma:
24224 \begin_layout LyX-Code
24226 \begin_inset Quotes erd
24230 \begin_inset Quotes erd
24236 \begin_layout LyX-Code
24237 <labeltag>Label</labeltag>
24240 \begin_layout LyX-Code
24242 \begin_inset Quotes erd
24246 \begin_inset Quotes erd
24249 >Contents of the inset.</innertag>
24252 \begin_layout LyX-Code
24256 \begin_layout Standard
24257 Si el recuadro permite párrafos múltiples —o sea, si
24258 \begin_inset Flex Code
24261 \begin_layout Plain Layout
24267 es verdadero— el contenido del recuadro se generará en forma de párrafos
24268 estructurados según los estilos usados para dichos párrafos (normal, cita,
24270 El rótulo de la etiqueta se omite si el párrafo no lo tiene y, por el momento,
24272 \begin_inset Flex Code
24275 \begin_layout Plain Layout
24282 La etiqueta interior es opcional y, por omisión, no aparece.
24285 \begin_layout Standard
24286 Las etiquetas y atributos específicos para cada recuadro se pueden controlar
24287 mediante las siguientes etiquetas de formato.
24290 \begin_layout Description
24291 \begin_inset Flex Code
24294 \begin_layout Plain Layout
24301 \begin_inset Flex Code
24304 \begin_layout Plain Layout
24310 ] Especifica información de atributos a generar con la etiqueta principal.
24312 \begin_inset Quotes eld
24316 \begin_inset Flex Code
24319 \begin_layout Plain Layout
24320 class=`myinset' onclick=`\SpecialChar ldots
24327 \begin_inset Quotes erd
24331 Por omisión, \SpecialChar LyX
24333 \begin_inset Quotes eld
24337 \begin_inset Flex Code
24340 \begin_layout Plain Layout
24347 \begin_inset Quotes erd
24351 \begin_inset Flex Code
24354 \begin_layout Plain Layout
24360 es el nombre del recuadro en \SpecialChar LyX
24361 , en minúsculas y con los caracteres no alfanuméri
24362 cos convertidos en guiones bajos, por ejemplo: footnote.
24365 \begin_layout Description
24366 \begin_inset Flex Code
24369 \begin_layout Plain Layout
24376 \begin_inset Flex Code
24379 \begin_layout Plain Layout
24388 \begin_inset space \thinspace{}
24392 \begin_inset Flex Code
24395 \begin_layout Plain Layout
24401 ] Si producir la información CSS predeterminadad que \SpecialChar LyX
24402 genera para este formato,
24403 incluso si se da explícitamente información adicional con
24404 \begin_inset Flex Code
24407 \begin_layout Plain Layout
24415 \begin_inset Flex Code
24418 \begin_layout Plain Layout
24424 parmite alterar o aumentar el CSS generado, en vez de sobrescribirlo.
24428 \begin_layout Description
24429 \begin_inset Flex Code
24432 \begin_layout Plain Layout
24439 \begin_inset Flex Code
24442 \begin_layout Plain Layout
24448 ] Atributos para la etiqueta interna.
24450 \begin_inset Newline newline
24454 \begin_inset Quotes eld
24458 \begin_inset Flex Code
24461 \begin_layout Plain Layout
24462 class=`insetname_inner'
24468 \begin_inset Quotes erd
24474 \begin_layout Description
24475 \begin_inset Flex Code
24478 \begin_layout Plain Layout
24485 \begin_inset Flex Code
24488 \begin_layout Plain Layout
24494 ] La etiqueta interna, reemplazando
24495 \begin_inset Flex Code
24498 \begin_layout Plain Layout
24504 en los ejemplos de arriba.
24505 Por omisión, ninguna.
24508 \begin_layout Description
24509 \begin_inset Flex Code
24512 \begin_layout Plain Layout
24519 \begin_inset Flex Code
24522 \begin_layout Plain Layout
24529 \begin_inset space \thinspace{}
24533 \begin_inset Flex Code
24536 \begin_layout Plain Layout
24544 ] Si este recuadro representa un bloque de texto independiente (como una
24545 nota al pie) o bien representa material que está incluido en el texto circundan
24546 te (como una rama).
24550 \begin_layout Description
24551 \begin_inset Flex Code
24554 \begin_layout Plain Layout
24561 \begin_inset Flex Code
24564 \begin_layout Plain Layout
24570 ] Un rótulo para este recuadro, posiblemente incluyendo una referencia a
24572 Por ejemplo, para notas al pie, podría ser:
24573 \begin_inset Flex Code
24576 \begin_layout Plain Layout
24585 Esto es opcional y no hay valor predeterminado.
24588 \begin_layout Description
24589 \begin_inset Flex Code
24592 \begin_layout Plain Layout
24598 Información que saldrá en la sección
24599 \begin_inset Flex Code
24602 \begin_layout Plain Layout
24608 cuando se usa este estilo.
24609 Esto podría usarse, por ejemplo, para incluir un bloque
24610 \begin_inset Flex Code
24613 \begin_layout Plain Layout
24619 que defina un controlador
24620 \begin_inset Flex Code
24623 \begin_layout Plain Layout
24632 \begin_layout Description
24633 \begin_inset Flex Code
24636 \begin_layout Plain Layout
24642 Información de estilo CSS a incluir cuando se usa este estilo.
24643 Esto será automáticamente envuelto en un bloque
24644 \begin_inset Flex Code
24647 \begin_layout Plain Layout
24653 generado por el formato, por lo que solo hay que incluir el propio CSS.
24656 \begin_layout Description
24657 \begin_inset Flex Code
24660 \begin_layout Plain Layout
24667 \begin_inset Flex Code
24670 \begin_layout Plain Layout
24676 ] La etiqueta a usar para el rótulo principal, reemplazando
24677 \begin_inset Flex Code
24680 \begin_layout Plain Layout
24686 en los ejemplos de arriba.
24687 El valor por omisión depende de
24688 \begin_inset Flex Code
24691 \begin_layout Plain Layout
24698 \begin_inset Flex Code
24701 \begin_layout Plain Layout
24708 \begin_inset Flex Code
24711 \begin_layout Plain Layout
24717 ; si es falso, el valor por omisión es
24718 \begin_inset Flex Code
24721 \begin_layout Plain Layout
24730 \begin_layout Subsection
24734 \begin_layout Standard
24735 La salida XHTML para flotantes también se puede controlar mediante información
24736 en archivos 'layout'.
24737 La salida tiene la forma:
24740 \begin_layout LyX-Code
24742 \begin_inset Quotes erd
24746 \begin_inset Quotes erd
24752 \begin_layout LyX-Code
24753 Contents of the float.
24756 \begin_layout LyX-Code
24760 \begin_layout Standard
24761 La leyenda, si la hay, es un recuadro separado y se generará como tal.
24762 Su aspecto puede controlarse con InsetLayout para recuadros de leyendas.
24766 \begin_layout Description
24767 \begin_inset Flex Code
24770 \begin_layout Plain Layout
24777 \begin_inset Flex Code
24780 \begin_layout Plain Layout
24786 ] Especifica información de los atributos a generar con la etiqueta principal,
24788 \begin_inset Quotes eld
24792 \begin_inset Flex Code
24795 \begin_layout Plain Layout
24796 class=`myfloat' onclick=`\SpecialChar ldots
24803 \begin_inset Quotes erd
24807 Por omisión, \SpecialChar LyX
24809 \begin_inset Quotes eld
24813 \begin_inset Flex Code
24816 \begin_layout Plain Layout
24817 class=`float float-floattype'
24823 \begin_inset Quotes erd
24827 \begin_inset Flex Code
24830 \begin_layout Plain Layout
24836 es el nombre en \SpecialChar LyX
24837 para este tipo de flotante, como determina la declaración
24839 \begin_inset CommandInset ref
24841 reference "subsec:Flotantes"
24845 ), aunque en minúsculas y con los caracteres no alfanuméricos sustituidos
24846 por guiones bajos, por ejemplo: float-table.
24849 \begin_layout Description
24850 \begin_inset Flex Code
24853 \begin_layout Plain Layout
24859 Información de estilo CSS a incluir cuando se usa este flotante.
24860 Esto será automáticamente envuelto en un bloque
24861 \begin_inset Flex Code
24864 \begin_layout Plain Layout
24870 generado por el formato, por lo que solo hay que incluir el propio CSS.
24873 \begin_layout Description
24874 \begin_inset Flex Code
24877 \begin_layout Plain Layout
24884 \begin_inset Flex Code
24887 \begin_layout Plain Layout
24893 ] La etiqueta a usar para este flotante, reemplazando "
24894 \begin_inset Flex Code
24897 \begin_layout Plain Layout
24903 " en el ejemplo de arriba.
24904 El valor por omisión es
24905 \begin_inset Flex Code
24908 \begin_layout Plain Layout
24914 y raramente habrá que cambiarlo.
24917 \begin_layout Subsection
24918 Formato de la Bibliografía
24921 \begin_layout Standard
24922 La bibliografía se puede formatear usando bloques
24923 \begin_inset Flex Code
24926 \begin_layout Plain Layout
24934 \begin_inset CommandInset ref
24936 reference "subsec:Descripción-formato-cita"
24943 \begin_layout Subsection
24944 CSS generado por \SpecialChar LyX
24948 \begin_layout Standard
24949 Hemos mencionado ya que \SpecialChar LyX
24950 generará reglas de estilo CSS predeterminadas para
24951 recuadros y estilos de párrafo, basados en la información suministrada
24952 para otros formatos.
24953 En esta sección comentaremos qué información usa \SpecialChar LyX
24957 \begin_layout Standard
24958 Actualmente, \SpecialChar LyX
24959 auto-genera CSS solo para información sobre tipografías, haciendo
24961 \begin_inset Flex Code
24964 \begin_layout Plain Layout
24971 \begin_inset Flex Code
24974 \begin_layout Plain Layout
24981 \begin_inset Flex Code
24984 \begin_layout Plain Layout
24991 \begin_inset Flex Code
24994 \begin_layout Plain Layout
25000 especificados en la declaración
25001 \begin_inset Flex Code
25004 \begin_layout Plain Layout
25012 \begin_inset CommandInset ref
25014 reference "subsec:Tipografía"
25018 .) La traducción es bastante sencilla y evidente.
25020 \begin_inset Quotes eld
25024 \begin_inset Flex Code
25027 \begin_layout Plain Layout
25034 \begin_inset Quotes erd
25038 \begin_inset Quotes eld
25042 \begin_inset Flex Code
25045 \begin_layout Plain Layout
25046 font-family: sans-serif;
25052 \begin_inset Quotes erd
25056 La correspondencia entre tamaños \SpecialChar LyX
25057 y tamaños CSS es un poco menos obvia,
25058 pero intuitiva en todo caso.
25060 \begin_inset Flex Code
25063 \begin_layout Plain Layout
25070 \begin_inset Flex URL
25073 \begin_layout Plain Layout
25084 \begin_layout Chapter
25085 Inserción de material externo
25086 \begin_inset CommandInset label
25088 name "cap:Inserción-de-material"
25095 \begin_layout Standard
25096 \begin_inset Box Shadowbox
25106 height_special "totalheight"
25111 backgroundcolor "none"
25114 \begin_layout Plain Layout
25115 AVISO: Esta parte de la documentación no ha sido actualizada desde hace
25117 Esperamos que aún sea adecuada, pero no hay garantías.
25125 \begin_layout Standard
25126 El uso de material de procedencia externa a \SpecialChar LyX
25127 se trata con detalle en el
25133 En el presente documento se trata sobre lo que debe suceder entre bambalinas
25134 para incluir nuevas clases de material.
25137 \begin_layout Section
25141 \begin_layout Standard
25142 La característica material externo se basa en el concepto
25147 Una plantilla es una especificación de la forma en que \SpecialChar LyX
25149 ciertos tipos de material.
25150 De por sí, \SpecialChar LyX
25151 incluye plantillas predefinidas para figuras Xfig, varios tipos
25152 de imágenes raster, diagramas de ajedrez y notación musical LilyPond.
25153 Puedes comprobar la lista actual en el menú
25154 \begin_inset Flex Noun
25157 \begin_layout Plain Layout
25158 Insertar\SpecialChar menuseparator
25159 Archivo\SpecialChar menuseparator
25166 Además, es posible construir plantillas propias para soportar determinado
25168 Más tarde describiremos con más detalle lo que esto implica, y esperamos
25169 que nos envíes tus plantillas para que se puedan incluir en próximas versiones
25170 de \SpecialChar LyX
25174 \begin_layout Standard
25175 Otra idea básica de la característica material externo es distinguir entre
25176 el archivo original que sirve como base para el material final y el archivo
25177 generado que se incluye en el documento impreso o exportado.
25178 Por ejemplo, consideremos el caso de una figura hecha con
25179 \begin_inset Flex Code
25182 \begin_layout Plain Layout
25189 El programa Xfig en sí mismo trabaja sobre un archivo original con extensión
25191 \begin_inset Flex Code
25194 \begin_layout Plain Layout
25201 Dentro de Xfig, se crea o modifica una figura y se guarda como un archivo
25203 \begin_inset Flex Code
25206 \begin_layout Plain Layout
25213 Para incluir la figura en un documento, se ejecuta
25214 \begin_inset Flex Code
25217 \begin_layout Plain Layout
25223 con el fin de crear un archivo PostScript que puede incluirse fácilmente
25224 en el archivo \SpecialChar LaTeX
25226 En este caso, el archivo
25227 \begin_inset Flex Code
25230 \begin_layout Plain Layout
25236 es el original, y el archivo PostScript es el archivo generado.
25239 \begin_layout Standard
25240 Esta distinción es importante para permitir la actualización del material
25241 durante el proceso de escritura del documento.
25242 Además, provee la flexibilidad necesaria para soportar múltiples formatos
25244 Por ejemplo, en el caso de un archivo de texto sencillo, no es una brillante
25245 idea incluir la figura como PostScript puro.
25246 En vez de esto, es preferible incluir solo una referencia a la figura o
25247 bien probar algún convertidor de gráficos a Ascii para que el resultado
25248 final se parezca al gráfico real.
25249 La gestión de material externo de \SpecialChar LyX
25250 permite hacer esto porque se basa en
25251 parámetros apropiados para los diferentes formatos de exportación soportados.
25254 \begin_layout Standard
25255 Además de soportar la generación de diferentes productos de acuerdo con
25256 el formato de exportación, existe una profunda integración con las aplicaciones
25257 de edición y visualización.
25258 En el caso de figuras Xfig, es posible editar el archivo original en Xfig
25259 con un simple clic derecho sobre el recuadro y también previsualizar el
25260 PostScript generado con ghostview.
25261 Se acabaron los enredos con la línea de comandos y/o el navegador de archivos
25262 para localizar y manipular los archivos originales o los generados.
25263 De esta manera, se pueden por fin aprovechar las ventajas de muy diversas
25264 aplicaciones importantes para la composición de los documentos, y por tanto
25265 aumentar el rendimiento.
25268 \begin_layout Section
25269 El archivo de configuración de plantillas externas
25272 \begin_layout Standard
25273 Es relativamente fácil añadir en \SpecialChar LyX
25274 definiciones personalizadas de plantillas
25276 Sin embargo, hay que ser consciente de que hacer esto de manera descuidada
25277 generará muy probablemente un agujero de seguridad fácil de explotar.
25278 Así pues, antes de hacer esto, lee por favor la discusión sobre seguridad
25280 \begin_inset CommandInset ref
25282 reference "sec:Discusión-sobre-seguridad"
25289 \begin_layout Standard
25290 Una vez dicho esto, te animamos a que envíes cualquiera plantilla interesante
25294 \begin_layout Standard
25295 Las plantillas externas se definen en el archivo
25298 \begin_inset Flex Code
25301 \begin_layout Plain Layout
25309 files that are stored in the
25310 \begin_inset Flex Code
25313 \begin_layout Plain Layout
25316 LyXDir/lib/xtemplates/
25322 Each template is defined in a file of its own.
25333 \begin_inset Flex Code
25336 \begin_layout Plain Layout
25339 UserDir/xtemplates/
25344 or copy existing templates to that directory in order to modify them.
25350 \begin_layout Standard
25351 Una plantilla típica tiene un aspecto como este:
25354 \begin_layout LyX-Code
25358 \begin_layout LyX-Code
25359 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
25362 \begin_layout LyX-Code
25366 \begin_layout LyX-Code
25370 \begin_layout LyX-Code
25374 \begin_layout LyX-Code
25378 \begin_layout LyX-Code
25382 \begin_layout LyX-Code
25383 AutomaticProduction true
25386 \begin_layout LyX-Code
25390 \begin_layout LyX-Code
25394 \begin_layout LyX-Code
25398 \begin_layout LyX-Code
25399 TransformCommand Rotate RotationLatexCommand
25402 \begin_layout LyX-Code
25403 TransformCommand Resize ResizeLatexCommand
25406 \begin_layout LyX-Code
25407 Product "$$RotateFront$$ResizeFront
25410 \begin_layout LyX-Code
25415 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
25418 \begin_layout LyX-Code
25419 $$ResizeBack$$RotateBack"
25422 \begin_layout LyX-Code
25426 \begin_layout LyX-Code
25427 UpdateResult "$$AbsPath$$Basename.pstex_t"
25430 \begin_layout LyX-Code
25431 Requirement "graphicx"
25434 \begin_layout LyX-Code
25435 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
25438 \begin_layout LyX-Code
25439 ReferencedFile latex "$$AbsPath$$Basename.eps"
25442 \begin_layout LyX-Code
25443 ReferencedFile dvi "$$AbsPath$$Basename.eps"
25446 \begin_layout LyX-Code
25450 \begin_layout LyX-Code
25454 \begin_layout LyX-Code
25455 TransformCommand Rotate RotationLatexCommand
25458 \begin_layout LyX-Code
25459 TransformCommand Resize ResizeLatexCommand
25462 \begin_layout LyX-Code
25463 Product "$$RotateFront$$ResizeFront
25466 \begin_layout LyX-Code
25471 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
25474 \begin_layout LyX-Code
25475 $$ResizeBack$$RotateBack"
25478 \begin_layout LyX-Code
25479 UpdateFormat pdftex
25482 \begin_layout LyX-Code
25483 UpdateResult "$$AbsPath$$Basename.pdftex_t"
25486 \begin_layout LyX-Code
25487 Requirement "graphicx"
25490 \begin_layout LyX-Code
25491 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
25494 \begin_layout LyX-Code
25495 ReferencedFile latex "$$AbsPath$$Basename.pdf"
25498 \begin_layout LyX-Code
25502 \begin_layout LyX-Code
25506 \begin_layout LyX-Code
25507 Product "$$Contents(
25509 "$$AbsPath$$Basename.asc
25514 \begin_layout LyX-Code
25515 UpdateFormat asciixfig
25518 \begin_layout LyX-Code
25519 UpdateResult "$$AbsPath$$Basename.asc"
25522 \begin_layout LyX-Code
25526 \begin_layout LyX-Code
25530 \begin_layout LyX-Code
25531 Product "<graphic fileref=
25533 "$$AbsOrRelPathMaster$$Basename.eps
25538 \begin_layout LyX-Code
25542 \begin_layout LyX-Code
25546 \begin_layout LyX-Code
25547 UpdateResult "$$AbsPath$$Basename.eps"
25550 \begin_layout LyX-Code
25551 ReferencedFile docbook "$$AbsPath$$Basename.eps"
25554 \begin_layout LyX-Code
25555 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
25558 \begin_layout LyX-Code
25562 \begin_layout LyX-Code
25563 Product "[XFig: $$FName]"
25566 \begin_layout LyX-Code
25570 \begin_layout LyX-Code
25574 \begin_layout Standard
25575 Como puedes ver, la plantilla se incluye entre
25576 \begin_inset Flex Code
25579 \begin_layout Plain Layout
25587 \begin_inset Flex Code
25590 \begin_layout Plain Layout
25597 Contiene una cabecera que especifica algunas configuraciones generales
25598 y, por cada formato de archivo de documento primario soportado, una sección
25600 \begin_inset Flex Code
25603 \begin_layout Plain Layout
25611 \begin_inset Flex Code
25614 \begin_layout Plain Layout
25623 \begin_layout Subsection
25624 La cabecera de la plantilla
25627 \begin_layout Description
25628 \begin_inset Flex Code
25631 \begin_layout Plain Layout
25632 AutomaticProduction
25633 \begin_inset space ~
25641 Si el archivo representado por la plantilla debe ser generado por \SpecialChar LyX
25643 Este comando debe aparecer exactamente una vez.
25646 \begin_layout Description
25647 \begin_inset Flex Code
25650 \begin_layout Plain Layout
25652 \begin_inset space ~
25660 Un patrón global que se usa en el diálogo del archivo para filtrar los
25662 Si hay más de una posible extensión de archivo (p.
25663 \begin_inset space \thinspace{}
25667 \begin_inset space ~
25671 \begin_inset Flex Code
25674 \begin_layout Plain Layout
25681 \begin_inset Flex Code
25684 \begin_layout Plain Layout
25690 ), se pone algo como
25691 \begin_inset Flex Code
25694 \begin_layout Plain Layout
25701 Este comando debe aparecer exactamente una vez.
25704 \begin_layout Description
25705 \begin_inset Flex Code
25708 \begin_layout Plain Layout
25710 \begin_inset space ~
25718 El texto mostrado sobre el botón.
25719 Este comando debe aparecer exactamente una vez.
25722 \begin_layout Description
25723 \begin_inset Flex Code
25726 \begin_layout Plain Layout
25728 \begin_inset space ~
25732 \begin_inset space ~
25740 El texto de ayuda que se muestra en diálogo.
25741 Da suficiente información sobre lo que puede proporcionar la plantilla.
25742 Este comando debe aparecer exactamente una vez.
25745 \begin_layout Description
25746 \begin_inset Flex Code
25749 \begin_layout Plain Layout
25751 \begin_inset space ~
25759 El formato de archivo del original.
25760 Debe ser el nombre de un formato conocido por \SpecialChar LyX
25762 \begin_inset CommandInset ref
25764 reference "sec:Formatos"
25770 \begin_inset Quotes cld
25774 \begin_inset Flex Code
25777 \begin_layout Plain Layout
25784 \begin_inset Quotes crd
25787 si la plantilla puede manejar archivos originales o más de un formato.
25788 En este caso, \SpecialChar LyX
25789 intentará inspeccionar el archivo mismo para deducir su
25791 Este comando debe aparecer exactamente una vez.
25794 \begin_layout Description
25795 \begin_inset Flex Code
25798 \begin_layout Plain Layout
25800 \begin_inset space ~
25808 Un nombre único para la plantilla.
25809 No debe contener macros de sustitución (véase abajo).
25812 \begin_layout Description
25813 \begin_inset Flex Code
25816 \begin_layout Plain Layout
25818 \begin_inset space ~
25821 Rotate|Resize|Clip|Extra
25826 Este comando especifica qué transformaciones son soportadas por esta plantilla.
25827 Puede aparecer ninguna o varias veces.
25828 Este comando facilita las correspondientes pestañas en el diálogo de material
25831 \begin_inset Flex Code
25834 \begin_layout Plain Layout
25840 debe tener el correspondiente
25841 \begin_inset Flex Code
25844 \begin_layout Plain Layout
25851 \begin_inset Flex Code
25854 \begin_layout Plain Layout
25861 \begin_inset Flex Code
25864 \begin_layout Plain Layout
25871 De lo contrario la transformación no será soportada por ese formato.
25875 \begin_layout Subsection
25879 \begin_layout Description
25880 \begin_inset Flex Code
25883 \begin_layout Plain Layout
25885 \begin_inset space ~
25888 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
25893 El formato de archivo del documento primario para el que es esta definición
25895 No toda plantilla tiene una representación sensible en los formatos de
25896 archivo de todos los documentos.
25897 No obstante, es preferible definir una sección
25898 \begin_inset Flex Code
25901 \begin_layout Plain Layout
25907 para todos los formatos.
25908 Se usa un texto postizo si no hay representación disponible.
25909 Entonces, al menos, se puede ver una referencia al material externo en
25910 el documento exportado.
25913 \begin_layout Description
25914 \begin_inset Flex Code
25917 \begin_layout Plain Layout
25919 \begin_inset space ~
25923 \begin_inset space ~
25931 Este comando define una macro adicional,
25932 \begin_inset Flex Code
25935 \begin_layout Plain Layout
25941 , para sustitución en
25942 \begin_inset Flex Code
25945 \begin_layout Plain Layout
25953 \begin_inset Flex Code
25956 \begin_layout Plain Layout
25962 puede contener en sí mismo macros de sustitución.
25963 La ventaja sobre el uso de
25964 \begin_inset Flex Code
25967 \begin_layout Plain Layout
25974 \begin_inset Flex Code
25977 \begin_layout Plain Layout
25983 es que el valor sustituido de
25984 \begin_inset Flex Code
25987 \begin_layout Plain Layout
25993 está saneado así que es un argumento opcional válido en el formato del
25995 Este comando puede aparecer ninguna o más veces.
25998 \begin_layout Description
25999 \begin_inset Flex Code
26002 \begin_layout Plain Layout
26004 \begin_inset space ~
26012 El texto que se inserta en el documento exportado.
26013 Realmente este es el comando más importante y puede ser bastante complejo.
26014 Este comando debe aparecer exactamente una vez.
26017 \begin_layout Description
26018 \begin_inset Flex Code
26021 \begin_layout Plain Layout
26023 \begin_inset space ~
26031 Este comando especifica un fragmento de preámbulo que se incluirá en el
26032 preámbulo \SpecialChar LaTeX
26034 Tiene que definirse usando
26035 \begin_inset Flex Code
26038 \begin_layout Plain Layout
26046 \begin_inset Flex Code
26049 \begin_layout Plain Layout
26056 Este comando puede aparecer ninguna o más veces.
26059 \begin_layout Description
26060 \begin_inset Flex Code
26063 \begin_layout Plain Layout
26065 \begin_inset space ~
26069 \begin_inset space ~
26077 Este comando indica los archivos que se crean por el proceso de conversión
26078 y que son necesarios para un formato de exportación particular.
26079 Si el nombre del archivo es relativo, se interpreta como relativo al documento
26081 Este comando puede darse ninguna o más veces.
26084 \begin_layout Description
26085 \begin_inset Flex Code
26088 \begin_layout Plain Layout
26090 \begin_inset space ~
26098 El nombre de un paquete \SpecialChar LaTeX
26100 El paquete se incuye mediante
26101 \begin_inset Flex Code
26104 \begin_layout Plain Layout
26112 en el preámbulo \SpecialChar LaTeX
26114 Este comando puede aparecer ninguna o más veces.
26117 \begin_layout Description
26118 \begin_inset Flex Code
26121 \begin_layout Plain Layout
26123 \begin_inset space ~
26127 \begin_inset space ~
26130 RotationLatexCommand
26135 Este comando especifica que el comando \SpecialChar LaTeX
26136 incluido debería usarse para la
26138 Este comando puede aparecer una vez o ninguna.
26141 \begin_layout Description
26142 \begin_inset Flex Code
26145 \begin_layout Plain Layout
26147 \begin_inset space ~
26151 \begin_inset space ~
26159 Este comando especifica que el comando \SpecialChar LaTeX
26160 incluido debería usarse para cambiar
26162 Este comando puede aparecer una vez o ninguna.
26165 \begin_layout Description
26166 \begin_inset Flex Code
26169 \begin_layout Plain Layout
26171 \begin_inset space ~
26175 \begin_inset space ~
26178 RotationLatexOption
26183 Este comando especifica que la rotación se hace mediante un argumento opcional.
26184 Este comando puede aparecer una vez o ninguna.
26187 \begin_layout Description
26188 \begin_inset Flex Code
26191 \begin_layout Plain Layout
26193 \begin_inset space ~
26197 \begin_inset space ~
26205 Este comando especifica que el cambio de tamaño se hace mediante un argumento
26207 Este comando puede aparecer una vez o ninguna
26210 \begin_layout Description
26211 \begin_inset Flex Code
26214 \begin_layout Plain Layout
26216 \begin_inset space ~
26220 \begin_inset space ~
26228 Este comando especifica que el recorte se hace mediante un argumento opcional.
26229 Este comando puede aparecer una vez o ninguna.
26232 \begin_layout Description
26233 \begin_inset Flex Code
26236 \begin_layout Plain Layout
26238 \begin_inset space ~
26242 \begin_inset space ~
26250 Este comando especifica que se usa un argumento extra opcional.
26251 Este comando puede aparecer una vez o ninguna.
26255 \begin_layout Description
26256 \begin_inset Flex Code
26259 \begin_layout Plain Layout
26261 \begin_inset space ~
26269 El formato de archivo del archivo convertido.
26270 Debe ser el nombre de un formato conocido por \SpecialChar LyX
26272 \begin_inset Flex Noun
26275 \begin_layout Plain Layout
26282 \begin_inset Flex Noun
26285 \begin_layout Plain Layout
26286 Gestión de archivos
26292 \begin_inset Flex Noun
26295 \begin_layout Plain Layout
26296 Herramientas\SpecialChar menuseparator
26303 Este comando debe aparecer exactamente una vez.
26304 Si el formato del archivo resultante es PDF, debes especificar el formato
26306 \begin_inset Flex Code
26309 \begin_layout Plain Layout
26316 Es el formato PDF usado para incluir gráficos.
26317 Los otros formatos PDF definidos son para exportación de documentos.
26320 \begin_layout Description
26321 \begin_inset Flex Code
26324 \begin_layout Plain Layout
26326 \begin_inset space ~
26334 El nombre de archivo del archivo convertido.
26335 El nombre de archivo debe ser absoluto.
26336 Este comando debe aparecer exactamente una vez.
26339 \begin_layout Subsection
26340 Definiciones de preámbulo
26343 \begin_layout Standard
26344 El archivo de configuración de plantillas externas puede contener definiciones
26345 de preámbulo adicionales encerradas entre
26346 \begin_inset Flex Code
26349 \begin_layout Plain Layout
26357 \begin_inset Flex Code
26360 \begin_layout Plain Layout
26367 Se pueden usar por las plantillas en la sección
26368 \begin_inset Flex Code
26371 \begin_layout Plain Layout
26380 \begin_layout Section
26381 El mecanismo de sustitución
26384 \begin_layout Standard
26385 Cuando la función de material externo recurre a un programa externo, se
26386 hace sobre la base de un comando definido en el archivo de configuración
26388 Estos comandos pueden contener varias macros que se expanden antes de su
26390 La ejecución tiene lugar siempre en el directorio del documento.
26394 \begin_layout Standard
26395 Además, cada vez que el material externo se va a mostrar, el nombre será
26396 generado por el mecanismo de sustitución, y la mayoría de los demás comandos
26397 en la definición de la plantilla soportan también sustitución.
26401 \begin_layout Standard
26402 Las macros disponibles son las siguientes:
26405 \begin_layout Description
26406 \begin_inset Flex Code
26409 \begin_layout Plain Layout
26410 $$AbsOrRelPathMaster
26415 La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
26419 \begin_layout Description
26420 \begin_inset Flex Code
26423 \begin_layout Plain Layout
26424 $$AbsOrRelPathParent
26429 La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
26433 \begin_layout Description
26434 \begin_inset Flex Code
26437 \begin_layout Plain Layout
26443 La ruta absoluta del archivo.
26446 \begin_layout Description
26447 \begin_inset Flex Code
26450 \begin_layout Plain Layout
26456 El nombre de archivo sin ruta y sin la extensión.
26459 \begin_layout Description
26460 \begin_inset Flex Code
26463 \begin_layout Plain Layout
26465 \begin_inset Quotes eld
26469 \begin_inset Quotes erd
26477 Esta macro expandirá los contenidos del archivo con el nombre
26478 \begin_inset Flex Code
26481 \begin_layout Plain Layout
26490 \begin_layout Description
26491 \begin_inset Flex Code
26494 \begin_layout Plain Layout
26500 La extensión de archivo (incluyendo el punto).
26503 \begin_layout Description
26504 \begin_inset Flex Code
26507 \begin_layout Plain Layout
26514 \begin_inset Quotes cld
26518 \begin_inset Quotes crd
26521 si el archivo está en formato JPEG, si no será
26522 \begin_inset Quotes eld
26526 \begin_inset Quotes erd
26530 Esto es útil para evitar conversiones innecesarias para formatos de salida
26531 que soporten tanto PNG como JPEG.
26532 La plantilla predefinida RasterImage usa esta macro para el formato de
26533 salida pdf\SpecialChar TeX
26537 \begin_layout Description
26538 \begin_inset Flex Code
26541 \begin_layout Plain Layout
26547 El nombre de archivo del archivo especificado en el diálogo de material
26549 Esto es bien un nombre absoluto, bien relativo al documento \SpecialChar LyX
26553 \begin_layout Description
26554 \begin_inset Flex Code
26557 \begin_layout Plain Layout
26563 La parte de la ruta de
26564 \begin_inset Flex Code
26567 \begin_layout Plain Layout
26573 (nombre absoluto o relativo al documento \SpecialChar LyX
26577 \begin_layout Description
26578 \begin_inset Flex Code
26581 \begin_layout Plain Layout
26587 La ruta del archivo, relativa al documento maestro \SpecialChar LyX
26591 \begin_layout Description
26592 \begin_inset Flex Code
26595 \begin_layout Plain Layout
26601 La ruta del archivo, relativa al documento \SpecialChar LyX
26605 \begin_layout Description
26606 \begin_inset Flex Code
26609 \begin_layout Plain Layout
26615 Esta macro expandirá a la ruta absoluta del directorio de sistema.
26616 Esto se usa habitualmente para apuntar a los varios guiones de ayuda que
26617 se empaquetan con \SpecialChar LyX
26621 \begin_layout Description
26622 \begin_inset Flex Code
26625 \begin_layout Plain Layout
26631 Un nombre y ruta completa a un directorio temporal que será borrado automáticam
26632 ente siempre que el documento se cierra, o se suprime la inserción de material
26636 \begin_layout Standard
26637 Todas las macros de ruta contienen un separador de rastreo del directorio,
26638 así se puede construir, p.
26639 \begin_inset space \thinspace{}
26642 e., el nombre de archivo absoluto con
26643 \begin_inset Flex Code
26646 \begin_layout Plain Layout
26647 $$AbsPath$$Basename$$Extension
26655 \begin_layout Standard
26656 Las macros anteriores son sustituidas en todos los comandos a menos que
26657 se indique lo contrario.
26659 \begin_inset Flex Code
26662 \begin_layout Plain Layout
26668 soporta adicionalmente las siguientes sustituciones si se habilitan por
26670 \begin_inset Flex Code
26673 \begin_layout Plain Layout
26680 \begin_inset Flex Code
26683 \begin_layout Plain Layout
26692 \begin_layout Description
26693 \begin_inset Flex Code
26696 \begin_layout Plain Layout
26702 La parte delantera del comando para cambiar el tamaño.
26705 \begin_layout Description
26706 \begin_inset Flex Code
26709 \begin_layout Plain Layout
26715 La parte trasera del comando para cambiar el tamaño.
26718 \begin_layout Description
26719 \begin_inset Flex Code
26722 \begin_layout Plain Layout
26728 La parte delantera del comando para la rotación.
26731 \begin_layout Description
26732 \begin_inset Flex Code
26735 \begin_layout Plain Layout
26741 La parte trasera del comando para la rotación.
26744 \begin_layout Standard
26745 La cadena de valor del comando
26746 \begin_inset Flex Code
26749 \begin_layout Plain Layout
26755 soporta adicionalmente las siguientes sustituciones si éstas se han habilitado
26757 \begin_inset Flex Code
26760 \begin_layout Plain Layout
26767 \begin_inset Flex Code
26770 \begin_layout Plain Layout
26779 \begin_layout Description
26780 \begin_inset Flex Code
26783 \begin_layout Plain Layout
26792 \begin_layout Description
26793 \begin_inset Flex Code
26796 \begin_layout Plain Layout
26805 \begin_layout Description
26806 \begin_inset Flex Code
26809 \begin_layout Plain Layout
26815 La opción cambio de tamaño.
26818 \begin_layout Description
26819 \begin_inset Flex Code
26822 \begin_layout Plain Layout
26828 La opción rotación.
26831 \begin_layout Standard
26832 Te puedes preguntar por qué hay tantas macros de ruta.
26833 Por dos razones, principalmente:
26836 \begin_layout Enumerate
26837 Los nombres de archivo relativo y absoluto deberían permanecer relativo
26838 o absoluto, respectivamente.
26839 Los usuarios pueden tener razones para preferir cualquiera de ambas formas.
26840 Los nombres relativos son útiles para documentos portables que deberían
26841 funcionar en máquinas diferentes, por ejemplo.
26842 Los nombres absolutos pueden ser requeridos por algunos programas.
26845 \begin_layout Enumerate
26847 procesa los nombres de archivo relativos de manera diferente a \SpecialChar LyX
26849 programas en archivos anidados incluidos.
26850 Para \SpecialChar LyX
26851 , un nombre de archivo relativo es siempre relativo al documento que
26852 contiene el nombre de archivo.
26853 Para \SpecialChar LaTeX
26854 , es siempre relativo al documento maestro.
26855 Estas dos definiciones son idénticas si se tiene solo un documento, pero
26856 son distintas si se tiene un documento maestro que incluye documentos parciales.
26857 Esto quiere decir que los nombres de archivo relativos deben ser transformados
26858 cuando se presentan a \SpecialChar LaTeX
26860 Afortunadamente, \SpecialChar LyX
26861 hace esto automáticamente si se eligen las macros correctas.
26864 \begin_layout Standard
26865 Así pues, ¿qué macros de ruta deberían emplearse en las definiciones de
26866 plantillas nuevas? La regla no es difícil:
26869 \begin_layout Itemize
26871 \begin_inset Flex Code
26874 \begin_layout Plain Layout
26880 si se requiere una ruta absoluta.
26883 \begin_layout Itemize
26885 \begin_inset Flex Code
26888 \begin_layout Plain Layout
26889 $$AbsOrRelPathMaster
26894 si la cadena sustituida es algún tipo de entrada \SpecialChar LaTeX
26898 \begin_layout Itemize
26900 \begin_inset Flex Code
26903 \begin_layout Plain Layout
26904 $$AbsOrRelPathParent
26909 con el fin de preservar la elección del usuario.
26912 \begin_layout Standard
26913 Hay casos especiales en los que esta regla no funciona y se necesitan, p.
26914 \begin_inset space \thinspace{}
26917 e., nombres relativos, pero normalmente funcionará bien.
26918 Un ejemplo de uno de estos casos es el comando
26919 \begin_inset Flex Code
26922 \begin_layout Plain Layout
26923 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
26928 en la plantilla XFig de arriba: no podemos usar el nombre absoluto porque
26929 el copiador para archivos
26930 \begin_inset Flex Code
26933 \begin_layout Plain Layout
26939 necesita el nombre relativo para reescribir el contenido del archivo.
26942 \begin_layout Section
26943 Discusión sobre seguridad
26944 \begin_inset CommandInset label
26946 name "sec:Discusión-sobre-seguridad"
26953 \begin_layout Standard
26954 La función material externo interactúa con muchos programas externos y lo
26955 hace de forma automática, así que hemos de tener en cuenta las implicaciones
26956 de seguridad que esto conlleva.
26957 En particular, puesto que tienes la opción de incluir tus propios archivos
26958 y/o cadenas de parámetros y estos se expanden en un comando, parece posible
26959 crear un documento malicioso que ejecute comandos arbitrarios cuando un
26960 usuario ve o imprime el documento.
26961 Esto es algo que definitivamente queremos evitar.
26965 \begin_layout Standard
26966 Sin embargo, dado que los comandos de material externo se especifican solo
26967 en el archivo de configuración de la plantilla, no hay problemas de seguridad
26968 si \SpecialChar LyX
26969 está adecuadamente configurado solo con plantillas seguras.
26970 Esto es así porque los programas externos se invocan con la llamada al
26972 \begin_inset Flex Code
26975 \begin_layout Plain Layout
26981 más bien que con la llamada
26982 \begin_inset Flex Code
26985 \begin_layout Plain Layout
26991 , de modo que no es posible ejecutar comandos arbitrarios desde la sección
26992 del nombre de archivo o de parámetros mediante el shell.
26995 \begin_layout Standard
26996 Esto implica además que hay restricciones en las cadenas de comandos que
26997 puedes usar en las plantillas de material externo.
26998 En particular, las tuberías y la redirección no están fácilmente disponibles.
26999 Esto debe ser así para que \SpecialChar LyX
27001 Si quieres usar algunas características de shell, deberías escribir un
27002 guión seguro para hacerlo de manera controlada, y después invocar el guión
27003 desde la cadena de comandos.
27006 \begin_layout Standard
27007 Es posible diseñar una plantilla que interactúe directamente con el shell,
27008 pero puesto que esto permitiría a un usuario malicioso ejecutar comandos
27009 arbitrarios escribiendo nombres de archivo y/o parámetros astutos, generalmente
27010 recomendamos usar solo guiones seguros que trabajen con la llamada
27011 \begin_inset Flex Code
27014 \begin_layout Plain Layout
27020 al sistema en forma controlada.
27021 Por supuesto, para usar en un entorno controlado, puede ser tentador caer
27022 en el uso de guiones de shell ordinarios.
27023 Si lo haces así, sé consciente de que vas a suministrar un agujero se seguridad
27024 fácilmente explotable en tu sistema.
27025 Evidentemente, es de razón que tales plantillas inseguras nunca serán incluidas
27026 en la distribución estándar de \SpecialChar LyX
27027 , aunque alentamos a la gente a que, a la
27028 usanza del software libre, envíe nuevas plantillas.
27029 No obstante, \SpecialChar LyX
27030 nunca tendrá plantillas inseguras tal y como se distribuye
27031 por los canales oficiales.
27034 \begin_layout Standard
27035 Incluir material externo suministra mucha potencia y has de ser cuidadoso
27036 en no introducir riesgos de seguridad a costa de esta potencia.
27037 Un sutil error en una simple línea en un guión aparentemente inocente puede
27038 abrir la puerta a graves problemas de seguridad.
27039 Así, si no comprendes totalmente estos asuntos, recomendamos consultar
27040 a un profesional entendido en seguridad o al equipo de desarrollo de \SpecialChar LyX
27042 tienes dudas acerca de si una plantilla dada es o no segura.
27043 Y hazlo antes de usarla en un entorno no controlado.
27046 \begin_layout Chapter
27048 Lista de funciones soportadas por \SpecialChar LyX
27049 en archivos de formato
27050 \begin_inset CommandInset label
27052 name "cap:Lista-de-funciones"
27059 \begin_layout Standard
27061 \begin_inset Tabular
27062 <lyxtabular version="3" rows="11" columns="8">
27063 <features tabularvalignment="middle">
27064 <column alignment="left" valignment="top">
27065 <column alignment="left" valignment="top">
27066 <column alignment="left" valignment="top">
27067 <column alignment="left" valignment="top">
27068 <column alignment="left" valignment="top">
27069 <column alignment="left" valignment="top">
27070 <column alignment="left" valignment="top">
27071 <column alignment="left" valignment="top">
27073 <cell alignment="left" valignment="top" usebox="none">
27076 \begin_layout Plain Layout
27082 <cell alignment="left" valignment="top" usebox="none">
27085 \begin_layout Plain Layout
27091 <cell alignment="left" valignment="top" usebox="none">
27094 \begin_layout Plain Layout
27100 <cell alignment="left" valignment="top" usebox="none">
27103 \begin_layout Plain Layout
27109 <cell alignment="center" valignment="top" usebox="none">
27112 \begin_layout Plain Layout
27118 <cell alignment="center" valignment="top" usebox="none">
27121 \begin_layout Plain Layout
27127 <cell alignment="center" valignment="top" usebox="none">
27130 \begin_layout Plain Layout
27136 <cell alignment="center" valignment="top" usebox="none">
27139 \begin_layout Plain Layout
27147 <cell alignment="left" valignment="top" usebox="none">
27150 \begin_layout Plain Layout
27156 <cell alignment="left" valignment="top" usebox="none">
27159 \begin_layout Plain Layout
27165 <cell alignment="left" valignment="top" usebox="none">
27168 \begin_layout Plain Layout
27174 <cell alignment="left" valignment="top" usebox="none">
27177 \begin_layout Plain Layout
27183 <cell alignment="center" valignment="top" usebox="none">
27186 \begin_layout Plain Layout
27192 <cell alignment="center" valignment="top" usebox="none">
27195 \begin_layout Plain Layout
27201 <cell alignment="center" valignment="top" usebox="none">
27204 \begin_layout Plain Layout
27210 <cell alignment="center" valignment="top" usebox="none">
27213 \begin_layout Plain Layout
27221 <cell alignment="left" valignment="top" usebox="none">
27224 \begin_layout Plain Layout
27230 <cell alignment="left" valignment="top" usebox="none">
27233 \begin_layout Plain Layout
27239 <cell alignment="left" valignment="top" usebox="none">
27242 \begin_layout Plain Layout
27248 <cell alignment="left" valignment="top" usebox="none">
27251 \begin_layout Plain Layout
27257 <cell alignment="center" valignment="top" usebox="none">
27260 \begin_layout Plain Layout
27266 <cell alignment="center" valignment="top" usebox="none">
27269 \begin_layout Plain Layout
27275 <cell alignment="center" valignment="top" usebox="none">
27278 \begin_layout Plain Layout
27284 <cell alignment="center" valignment="top" usebox="none">
27287 \begin_layout Plain Layout
27295 <cell alignment="left" valignment="top" usebox="none">
27298 \begin_layout Plain Layout
27304 <cell alignment="left" valignment="top" usebox="none">
27307 \begin_layout Plain Layout
27313 <cell alignment="left" valignment="top" usebox="none">
27316 \begin_layout Plain Layout
27322 <cell alignment="left" valignment="top" usebox="none">
27325 \begin_layout Plain Layout
27331 <cell alignment="center" valignment="top" usebox="none">
27334 \begin_layout Plain Layout
27340 <cell alignment="center" valignment="top" usebox="none">
27343 \begin_layout Plain Layout
27349 <cell alignment="center" valignment="top" usebox="none">
27352 \begin_layout Plain Layout
27358 <cell alignment="center" valignment="top" usebox="none">
27361 \begin_layout Plain Layout
27369 <cell alignment="left" valignment="top" usebox="none">
27372 \begin_layout Plain Layout
27378 <cell alignment="left" valignment="top" usebox="none">
27381 \begin_layout Plain Layout
27387 <cell alignment="left" valignment="top" usebox="none">
27390 \begin_layout Plain Layout
27396 <cell alignment="left" valignment="top" usebox="none">
27399 \begin_layout Plain Layout
27405 <cell alignment="center" valignment="top" usebox="none">
27408 \begin_layout Plain Layout
27414 <cell alignment="center" valignment="top" usebox="none">
27417 \begin_layout Plain Layout
27423 <cell alignment="center" valignment="top" usebox="none">
27426 \begin_layout Plain Layout
27432 <cell alignment="center" valignment="top" usebox="none">
27435 \begin_layout Plain Layout
27443 <cell alignment="left" valignment="top" usebox="none">
27446 \begin_layout Plain Layout
27452 <cell alignment="left" valignment="top" usebox="none">
27455 \begin_layout Plain Layout
27461 <cell alignment="left" valignment="top" usebox="none">
27464 \begin_layout Plain Layout
27470 <cell alignment="left" valignment="top" usebox="none">
27473 \begin_layout Plain Layout
27479 <cell alignment="center" valignment="top" usebox="none">
27482 \begin_layout Plain Layout
27488 <cell alignment="center" valignment="top" usebox="none">
27491 \begin_layout Plain Layout
27497 <cell alignment="center" valignment="top" usebox="none">
27500 \begin_layout Plain Layout
27506 <cell alignment="center" valignment="top" usebox="none">
27509 \begin_layout Plain Layout
27517 <cell alignment="left" valignment="top" usebox="none">
27520 \begin_layout Plain Layout
27526 <cell alignment="left" valignment="top" usebox="none">
27529 \begin_layout Plain Layout
27535 <cell alignment="left" valignment="top" usebox="none">
27538 \begin_layout Plain Layout
27544 <cell alignment="left" valignment="top" usebox="none">
27547 \begin_layout Plain Layout
27553 <cell alignment="center" valignment="top" usebox="none">
27556 \begin_layout Plain Layout
27562 <cell alignment="center" valignment="top" usebox="none">
27565 \begin_layout Plain Layout
27571 <cell alignment="center" valignment="top" usebox="none">
27574 \begin_layout Plain Layout
27580 <cell alignment="center" valignment="top" usebox="none">
27583 \begin_layout Plain Layout
27591 <cell alignment="left" valignment="top" usebox="none">
27594 \begin_layout Plain Layout
27600 <cell alignment="left" valignment="top" usebox="none">
27603 \begin_layout Plain Layout
27609 <cell alignment="left" valignment="top" usebox="none">
27612 \begin_layout Plain Layout
27618 <cell alignment="left" valignment="top" usebox="none">
27621 \begin_layout Plain Layout
27627 <cell alignment="center" valignment="top" usebox="none">
27630 \begin_layout Plain Layout
27636 <cell alignment="center" valignment="top" usebox="none">
27639 \begin_layout Plain Layout
27645 <cell alignment="center" valignment="top" usebox="none">
27648 \begin_layout Plain Layout
27654 <cell alignment="center" valignment="top" usebox="none">
27657 \begin_layout Plain Layout
27665 <cell alignment="left" valignment="top" usebox="none">
27668 \begin_layout Plain Layout
27674 <cell alignment="left" valignment="top" usebox="none">
27677 \begin_layout Plain Layout
27683 <cell alignment="left" valignment="top" usebox="none">
27686 \begin_layout Plain Layout
27692 <cell alignment="left" valignment="top" usebox="none">
27695 \begin_layout Plain Layout
27701 <cell alignment="center" valignment="top" usebox="none">
27704 \begin_layout Plain Layout
27710 <cell alignment="center" valignment="top" usebox="none">
27713 \begin_layout Plain Layout
27719 <cell alignment="center" valignment="top" usebox="none">
27722 \begin_layout Plain Layout
27728 <cell alignment="center" valignment="top" usebox="none">
27731 \begin_layout Plain Layout
27739 <cell alignment="left" valignment="top" usebox="none">
27742 \begin_layout Plain Layout
27748 <cell alignment="left" valignment="top" usebox="none">
27751 \begin_layout Plain Layout
27757 <cell alignment="left" valignment="top" usebox="none">
27760 \begin_layout Plain Layout
27766 <cell alignment="left" valignment="top" usebox="none">
27769 \begin_layout Plain Layout
27775 <cell alignment="center" valignment="top" usebox="none">
27778 \begin_layout Plain Layout
27784 <cell alignment="center" valignment="top" usebox="none">
27787 \begin_layout Plain Layout
27793 <cell alignment="center" valignment="top" usebox="none">
27796 \begin_layout Plain Layout
27802 <cell alignment="center" valignment="top" usebox="none">
27805 \begin_layout Plain Layout
27813 <cell alignment="center" valignment="top" usebox="none">
27816 \begin_layout Plain Layout
27822 <cell alignment="center" valignment="top" usebox="none">
27825 \begin_layout Plain Layout
27831 <cell alignment="center" valignment="top" usebox="none">
27834 \begin_layout Plain Layout
27840 <cell alignment="center" valignment="top" usebox="none">
27843 \begin_layout Plain Layout
27849 <cell alignment="center" valignment="top" usebox="none">
27852 \begin_layout Plain Layout
27858 <cell alignment="center" valignment="top" usebox="none">
27861 \begin_layout Plain Layout
27867 <cell alignment="center" valignment="top" usebox="none">
27870 \begin_layout Plain Layout
27876 <cell alignment="center" valignment="top" usebox="none">
27879 \begin_layout Plain Layout
27893 \begin_layout Chapter
27894 Nombres de colores disponibles para archivos de formato
27895 \begin_inset CommandInset label
27897 name "cap:Nombres-de-colores"
27904 \begin_layout Standard
27905 Los colores listados son los colores estándar y los que se pueden modificar
27906 en las preferencias de \SpecialChar LyX
27910 \begin_layout Section
27916 \begin_layout Standard
27919 The following are no real colors, but rather act on color definitions:
27922 \begin_layout Description
27923 ignore El color es ignorado
27926 \begin_layout Description
27927 inherit El color es heredado
27930 \begin_layout Description
27937 Ningún color en particular, transparente o ausente
27940 \begin_layout Section
27946 \begin_layout Standard
27949 These are fixed colors that cannot me customized:
27952 \begin_layout Description
27956 \begin_layout Description
27960 \begin_layout Description
27964 \begin_layout Description
27968 \begin_layout Description
27972 \begin_layout Description
27976 \begin_layout Description
27980 \begin_layout Description
27984 \begin_layout Description
27988 \begin_layout Description
27992 \begin_layout Description
27996 \begin_layout Description
28000 \begin_layout Description
28004 \begin_layout Description
28008 \begin_layout Description
28012 \begin_layout Description
28016 \begin_layout Description
28020 \begin_layout Description
28024 \begin_layout Description
28028 \begin_layout Section
28034 \begin_layout Standard
28037 These are the colors allocated to specific elements in
28040 \begin_inset Flex Noun
28043 \begin_layout Plain Layout
28044 Herramientas\SpecialChar menuseparator
28053 \begin_layout Description
28054 added_space Color espacio añadido
28057 \begin_layout Description
28058 addedtext Color texto añadido
28061 \begin_layout Description
28062 appendix Color marcador de apéndice
28065 \begin_layout Description
28066 background Color de fondo
28069 \begin_layout Description
28070 bottomarea Color área inferior
28073 \begin_layout Description
28074 branchlabel Color etiqueta de ramas
28077 \begin_layout Description
28078 buttonbg Color fondo de botón
28081 \begin_layout Description
28082 buttonframe Color para marcos de botones de recuadro
28085 \begin_layout Description
28086 buttonhoverbg Color fondo de botón en foco
28089 \begin_layout Description
28090 changebar Color barra de cambios
28093 \begin_layout Description
28094 changedtextauthor1 Color autor 1 de texto cambiado
28097 \begin_layout Description
28098 changedtextauthor2 Color autor 2 de texto cambiado
28101 \begin_layout Description
28102 changedtextauthor3 Color autor 3 de texto cambiado
28105 \begin_layout Description
28106 changedtextauthor4 Color autor 4 de texto cambiado
28109 \begin_layout Description
28110 changedtextauthor5 Color autor 5 de texto cambiado
28113 \begin_layout Description
28114 collapsibletext Color texto de recuadro plegable
28117 \begin_layout Description
28118 collapsibleframe Color marco de recuadro plegable
28121 \begin_layout Description
28122 command Color texto recuadros de comando
28125 \begin_layout Description
28126 commandbg Color fondo recuadros de comando
28129 \begin_layout Description
28130 commandframe Color marco recuadros de comando
28133 \begin_layout Description
28134 commentbg Color fondo de comentarios
28137 \begin_layout Description
28138 commentlabel Color etiqueta de comentarios
28141 \begin_layout Description
28142 cursor Color cursor
28145 \begin_layout Description
28146 deletedtext Color texto borrado
28149 \begin_layout Description
28150 deletedtextmodifier Color modificación de texto borrado
28153 \begin_layout Description
28154 depthbar Color barra de anidación en margen
28157 \begin_layout Description
28158 eolmarker Color marcador fin de línea
28161 \begin_layout Description
28162 error Color cuadro de error \SpecialChar LaTeX
28166 \begin_layout Description
28167 footlabel Color etiqueta de notas a pie de página
28170 \begin_layout Description
28176 \begin_layout Description
28177 graphicsbg Color fondo de recuadros de inserción de gráficos
28180 \begin_layout Description
28181 greyedoutbg Color fondo de recuadros de notas grises
28184 \begin_layout Description
28185 greyedoutlabel Color etiqueta de recuadros de notas grises
28188 \begin_layout Description
28189 greyedouttext Color texto de recuadros de notas grises
28192 \begin_layout Description
28193 indexlabel Color etiqueta de recuadros de índice
28196 \begin_layout Description
28197 inlinecompletion Color autofinalización en línea
28200 \begin_layout Description
28201 insetbg Color fondo de marcador de recuadro
28204 \begin_layout Description
28205 insetframe Color marco de marcador de recuadro
28208 \begin_layout Description
28209 language Color marcador de palabras en otros idiomas
28212 \begin_layout Description
28213 latex Color texto en modo \SpecialChar LaTeX
28217 \begin_layout Description
28218 listingsbg Color fondo de recuadro listado de código
28221 \begin_layout Description
28222 marginlabel Color etiqueta de notas al margen
28225 \begin_layout Description
28226 math Color texto de recuadro de ecuación
28229 \begin_layout Description
28230 mathbg Color fondo de recuadro de ecuación
28233 \begin_layout Description
28234 mathcorners Color marco de recuadro de ecuación fuera de foco
28237 \begin_layout Description
28238 mathframe Color marco de recuadro de ecuación en foco
28241 \begin_layout Description
28242 mathline Color línea de ecuación
28245 \begin_layout Description
28246 mathmacrobg Color fondo de recuadro de macro matemática
28249 \begin_layout Description
28250 mathmacroblend Color mezclado macro matemática
28253 \begin_layout Description
28254 mathmacroframe Color marco de macro matemática
28257 \begin_layout Description
28258 mathmacrohoverbg Color fondo de recuadro de macro matemática bajo el ratón
28261 \begin_layout Description
28262 mathmacrolabel Color etiqueta macro matemática
28265 \begin_layout Description
28266 mathmacronewarg Color plantilla de macro para nuevos parámetros
28269 \begin_layout Description
28270 mathmacrooldarg Color plantilla de macro para antiguos parámetros
28273 \begin_layout Description
28274 newpage Color página nueva
28277 \begin_layout Description
28278 nonunique_inlinecompletion Color autofinalización en línea parte no única
28281 \begin_layout Description
28282 notebg Color fondo de notas
28285 \begin_layout Description
28286 notelabel Color etiqueta de notas
28289 \begin_layout Description
28290 pagebreak Color salto de página/línea
28293 \begin_layout Description
28294 paragraphmarker Color símbolo marcador de fin de párrafo
28297 \begin_layout Description
28298 phantomtext Color texto de recuadro fantasma
28301 \begin_layout Description
28302 preview Color vista preliminar
28305 \begin_layout Description
28306 previewframe Color marco vista preliminar
28309 \begin_layout Description
28310 regexpframe Color marco regexp
28313 \begin_layout Description
28316 scroll Color that indicates when a row can be scrolled
28319 \begin_layout Description
28320 selection Color fondo de texto seleccionado
28323 \begin_layout Description
28324 selectiontext Color de texto seleccionado
28327 \begin_layout Description
28328 shadedbg Color fondo de marco coloreado
28331 \begin_layout Description
28332 special Color texto de caracteres especiales
28335 \begin_layout Description
28336 tabularline Color línea de cuadro/tabla
28339 \begin_layout Description
28340 tabularonoffline Color línea de cuadro/tabla on/off
28343 \begin_layout Description
28344 urllabel Color etiqueta de recuadros URL
28347 \begin_layout Description
28348 urltext Color texto de recuadros URL