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 "http://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 "http://www.lyx.org/Translation"
3487 target "http://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 "http://www.lyx.org/trac/timeline"
3553 target "http://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 "http://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 Flex Code
11228 \begin_layout Plain Layout
11231 command[][argument]{text}
11237 Esto se puede conseguir con la declaración
11238 \begin_inset Flex Code
11241 \begin_layout Plain Layout
11248 \begin_inset Flex Code
11251 \begin_layout Plain Layout
11260 \begin_layout Itemize
11261 \begin_inset Flex Code
11264 \begin_layout Plain Layout
11271 \begin_inset Flex Code
11274 \begin_layout Plain Layout
11280 define un delimitador izquierdo personalizado (en vez de
11281 \begin_inset Flex Code
11284 \begin_layout Plain Layout
11291 \begin_inset Flex Code
11294 \begin_layout Plain Layout
11301 Un salto de línea en la salida se puede indicar con
11302 \begin_inset Flex Code
11305 \begin_layout Plain Layout
11314 \begin_layout Itemize
11315 \begin_inset Flex Code
11318 \begin_layout Plain Layout
11325 \begin_inset Flex Code
11328 \begin_layout Plain Layout
11334 define un delimitador derecho personalizado (en vez de
11335 \begin_inset Flex Code
11338 \begin_layout Plain Layout
11345 \begin_inset Flex Code
11348 \begin_layout Plain Layout
11355 Un salto de línea en la salida se puede indicar con
11356 \begin_inset Flex Code
11359 \begin_layout Plain Layout
11368 \begin_layout Itemize
11369 \begin_inset Flex Code
11372 \begin_layout Plain Layout
11379 \begin_inset Flex Code
11382 \begin_layout Plain Layout
11388 define un argumento que se inserta si y solo si no se han dado argumentos
11389 específicos del usuario, o sea, si no se ha insertado ningún recuadro de
11390 argumento (también un recuadro de argumento vacío omite DefaultArg).
11391 Múltiples argumentos deben separarse con comas.
11394 \begin_layout Itemize
11395 \begin_inset Flex Code
11398 \begin_layout Plain Layout
11405 \begin_inset Flex Code
11408 \begin_layout Plain Layout
11414 define un argumento que se inserta en cualquier caso (solo o añadido a
11415 argumentos especificados por el usuario).
11416 Múltiples argumentos deben separarse con comas.
11419 \begin_layout Itemize
11420 \begin_inset Flex Code
11423 \begin_layout Plain Layout
11429 Tipografía usada para el contenido del argumento, véase
11430 \begin_inset CommandInset ref
11432 reference "subsec:Tipografía"
11439 \begin_layout Itemize
11440 \begin_inset Flex Code
11443 \begin_layout Plain Layout
11449 Tipografía usada para la etiqueta, véase
11450 \begin_inset CommandInset ref
11452 reference "subsec:Tipografía"
11459 \begin_layout Itemize
11460 \begin_inset Flex Code
11463 \begin_layout Plain Layout
11470 \begin_inset Flex Code
11473 \begin_layout Plain Layout
11478 , Minimalistic, Conglomerate
11483 ] describe el estilo de representación para los botones y el marco del recuadro
11487 \begin_layout Itemize
11488 \begin_inset Flex Code
11491 \begin_layout Plain Layout
11498 \begin_inset Flex Code
11501 \begin_layout Plain Layout
11508 \begin_inset Flex Code
11511 \begin_layout Plain Layout
11517 , este argumento se inserta automáticamente cuando se selecciona el estilo
11519 Actualmente solo se puede insertar automaticamente un argumento por estilo\SpecialChar breakableslash
11524 \begin_layout Itemize
11525 \begin_inset Flex Code
11528 \begin_layout Plain Layout
11535 \begin_inset Flex Code
11538 \begin_layout Plain Layout
11545 \begin_inset Flex Code
11548 \begin_layout Plain Layout
11554 , este argumento se insertará con una copia del co-texto (texto seleccionado
11555 o párrafo completo) como contenido.
11558 \begin_layout Itemize
11561 \begin_inset Flex Code
11564 \begin_layout Plain Layout
11573 \begin_inset Flex Code
11576 \begin_layout Plain Layout
11587 ] Whether the contents of this argument should be output in raw form, meaning
11588 without special translations that \SpecialChar LaTeX
11591 \begin_inset Flex Code
11594 \begin_layout Plain Layout
11602 status is inherited by the inset or paragraph layout the argument belongs
11603 to, true and false change the status for the given argument only.
11606 \begin_layout Itemize
11607 \begin_inset Flex Code
11610 \begin_layout Plain Layout
11617 \begin_inset Flex Code
11620 \begin_layout Plain Layout
11621 string of characters
11630 Define caracteres individuales que deberían emitirse en bruto, es decir,
11631 sin traducciones especiales que podría requerir \SpecialChar LaTeX
11633 Al contrario que PassThru, esto debe ser explícitamente definido para argumento
11635 Esto es, los argumentos no heredan PassThruChars de su recuadro de inserción
11639 \begin_layout Itemize
11642 \begin_inset Flex Code
11645 \begin_layout Plain Layout
11654 \begin_inset Flex Code
11657 \begin_layout Plain Layout
11667 \begin_inset space \thinspace{}
11671 \begin_inset Flex Code
11674 \begin_layout Plain Layout
11682 ] If this is set to 1, the argument will output its content in the corresponding
11683 item in the table of contents.
11687 \begin_layout Standard
11688 Por omisión, el texto introducido en el área de trabajo de \SpecialChar LyX
11690 respectivo de formato es el último argumento (obligatorio) de un comando
11692 \begin_inset Flex Code
11695 \begin_layout Plain Layout
11702 \begin_inset Flex Code
11705 \begin_layout Plain Layout
11712 Sin embargo, los argumentos con el prefijo
11713 \begin_inset Flex Code
11716 \begin_layout Plain Layout
11722 se emiten después de este argumento de área de trabajo.
11723 La numeración de este post-argumento reinicia a 1, así que el primer argumento
11724 siguiente al del área de trabajo es
11725 \begin_inset Flex Code
11728 \begin_layout Plain Layout
11735 Los post-argumentos se ignoran en cualquier otro
11736 \begin_inset Flex Code
11739 \begin_layout Plain Layout
11746 \begin_inset Flex Code
11749 \begin_layout Plain Layout
11758 \begin_layout Standard
11759 Los argumentos para
11760 \begin_inset Flex Code
11763 \begin_layout Plain Layout
11771 s de lista (como en
11772 \begin_inset Flex Code
11775 \begin_layout Plain Layout
11783 ) tienen el prefijo
11784 \begin_inset Flex Code
11787 \begin_layout Plain Layout
11793 seguido por el número (p.
11794 \begin_inset space \thinspace{}
11798 \begin_inset space \space{}
11802 \begin_inset Flex Code
11805 \begin_layout Plain Layout
11815 \begin_layout Description
11816 \begin_inset Flex Code
11819 \begin_layout Plain Layout
11825 Esto sobrescribirá completamente cualquier anterior declaración
11826 \begin_inset Flex Code
11829 \begin_layout Plain Layout
11837 \begin_inset Quotes eld
11841 \begin_inset Flex Code
11844 \begin_layout Plain Layout
11851 \begin_inset Quotes erd
11856 \begin_inset space ~
11860 \begin_inset CommandInset ref
11862 reference "subsec:I18n"
11866 para detalles sobre su uso.
11869 \begin_layout Description
11870 \begin_inset Flex Code
11873 \begin_layout Plain Layout
11880 \begin_inset Flex Code
11883 \begin_layout Plain Layout
11893 \begin_layout Plain Layout
11894 Anotar que aquí un 'float' es un número real, como: 1.5.
11899 El espacio vertical con el que el último de una cadena de párrafos con
11900 este estilo se separa del siguiente párrafo.
11901 Si el párrafo siguiente tiene otro estilo, las separaciones no son simplemente
11902 añadidas sino que se pone la máxima.
11905 \begin_layout Description
11906 \begin_inset Flex Code
11909 \begin_layout Plain Layout
11916 \begin_inset Flex Code
11919 \begin_layout Plain Layout
11925 La categoría para este estilo.
11926 Se usa para agrupar estilos relacionados en el recuadro de estilo en la
11927 barra de herramientas.
11928 Se puede poner cualquier cadena en 'string' pero mejor usar categorías
11929 existentes con tus propios estilos.
11932 \begin_layout Description
11933 \begin_inset Flex Code
11936 \begin_layout Plain Layout
11942 Profundidad del comando XML.
11943 Usado solo con formatos tipo XML.
11946 \begin_layout Description
11947 \begin_inset Flex Code
11950 \begin_layout Plain Layout
11957 \begin_inset Flex Code
11960 \begin_layout Plain Layout
11966 Copia todas las características de un estilo existente en el actual.
11970 \begin_layout Description
11971 \begin_inset Flex Code
11974 \begin_layout Plain Layout
11981 \begin_inset Flex Code
11984 \begin_layout Plain Layout
11990 ] El nombre de un estilo cuyo preámbulo debería salir
11995 Esto permite asegurar un orden de los retazos de preámbulo si las definiciones
11996 de macros dependen de otra.
12000 \begin_layout Plain Layout
12001 Anotar que, excepto esta funcionalidad, no hay forma de asegurar ningún
12002 orden de los preámbulos.
12003 El orden que se ve en una versión dada de \SpecialChar LyX
12004 puede cambiar sin previo aviso
12005 en versiones posteriores.
12013 \begin_layout Description
12014 \begin_inset Flex Code
12017 \begin_layout Plain Layout
12024 \begin_inset Flex Code
12027 \begin_layout Plain Layout
12032 , Box, Filled_Box, Static
12037 ] El tipo de etiqueta que se pone al final del párrafo (o secuencia de párrafos
12039 \begin_inset Flex Code
12042 \begin_layout Plain Layout
12049 \begin_inset Flex Code
12052 \begin_layout Plain Layout
12059 \begin_inset Flex Code
12062 \begin_layout Plain Layout
12069 \begin_inset Flex Code
12072 \begin_layout Plain Layout
12080 \begin_inset Flex Code
12083 \begin_layout Plain Layout
12090 \begin_inset Quotes cld
12094 \begin_inset Quotes crd
12098 \begin_inset Flex Code
12101 \begin_layout Plain Layout
12108 \begin_inset Flex Code
12111 \begin_layout Plain Layout
12112 \begin_inset space ~
12120 ) es un cuadrado blanco (resp.
12121 \begin_inset space ~
12124 negro) adecuado para marcas finales de demostraciones,
12125 \begin_inset Flex Code
12128 \begin_layout Plain Layout
12134 es una cadena de texto explícito.
12137 \begin_layout Description
12138 \begin_inset Flex Code
12141 \begin_layout Plain Layout
12148 \begin_inset Flex Code
12151 \begin_layout Plain Layout
12157 ] La secuencia usada para una etiqueta con un
12158 \begin_inset Flex Code
12161 \begin_layout Plain Layout
12168 \begin_inset Flex Code
12171 \begin_layout Plain Layout
12181 \begin_layout Description
12185 \begin_layout Plain Layout
12190 No estoy seguro de que estas configuraciones (Fill_Bottom, Fill_Top) tengan
12191 mucho uso, y probablemente se quitarán en próximas versiones.
12197 \begin_inset Note Note
12200 \begin_layout Plain Layout
12202 \begin_inset Quotes cld
12205 Espacio vertical encima
12206 \begin_inset Quotes crd
12210 \begin_inset Quotes cld
12213 Espacio vertical abajo
12214 \begin_inset Quotes erd
12217 en Editar\SpecialChar menuseparator
12218 Configuración de párrafo, esto parece obsoleto, como dice Jean-Marc
12229 \begin_layout Description
12230 \begin_inset Flex Code
12233 \begin_layout Plain Layout
12239 La tipografía usada para el cuerpo del texto
12245 \begin_inset space ~
12249 \begin_inset CommandInset ref
12251 reference "subsec:Tipografía"
12256 Anotar que al definir esta tipografía se define automáticamente la de la
12258 \begin_inset Flex Code
12261 \begin_layout Plain Layout
12268 Así que debería definirse primero ésta si se quiere definir también
12269 \begin_inset Flex Code
12272 \begin_layout Plain Layout
12281 \begin_layout Description
12282 \begin_inset Flex Code
12285 \begin_layout Plain Layout
12292 \begin_inset Flex Code
12295 \begin_layout Plain Layout
12301 ] Se usa para compatibilizar estilos nuevos a versiones estables de \SpecialChar LyX
12303 La primera versión estable que soporta esta etiqueta es \SpecialChar LyX
12305 El argumento es un número 0, -1 o cualquier valor mayor de cero.
12307 \begin_inset Flex Code
12310 \begin_layout Plain Layout
12316 de un estilo es mayor que cero, se escribirá siempre en la cabecera del
12318 Si un archivo .lyx es leido, las definiciones de estilo de la cabecera del
12319 documento se añaden a la clase de documento.
12320 Por eso, incluso versiones anteriores de \SpecialChar LyX
12321 pueden manejar el estilo.
12323 \begin_inset Flex Code
12326 \begin_layout Plain Layout
12332 es un número de versión: si el estilo es leido, y el número de versión
12333 es menor que el número de versión del estilo existente en la clase de documento
12334 , el nuevo se ignora.
12335 Si el número de versión es mayor, el estilo nuevo reemplaza al existente.
12336 -1 significa un número de versión infinito, o sea, el estilo se usa siempre.
12339 \begin_layout Description
12340 \begin_inset Flex Code
12343 \begin_layout Plain Layout
12352 \begin_inset Flex Code
12355 \begin_layout Plain Layout
12364 \begin_inset space \thinspace{}
12368 \begin_inset Flex Code
12371 \begin_layout Plain Layout
12377 ] Usualmente \SpecialChar LyX
12378 no permite insertar más de un espacio entre palabras, puesto
12379 que un espacio se considera como la separación entre dos palabras, no un
12380 carácter o símbolo por sí mismo.
12381 Esto es una buena cosa pero a veces puede ser molesta, por ejemplo, para
12382 escribir código de programas o de \SpecialChar LaTeX
12384 Por esta razón se puede habilitar
12385 \begin_inset Flex Code
12388 \begin_layout Plain Layout
12395 Anotar que \SpecialChar LyX
12396 creará espacios protegidos para los espacios adicionales en
12397 modos que no sean \SpecialChar LaTeX
12402 \begin_layout Description
12403 \begin_inset Flex Code
12406 \begin_layout Plain Layout
12412 Para la salida XHTML.
12414 \begin_inset CommandInset ref
12416 reference "subsec:Estilos-de-párrafo-XHTML"
12423 \begin_layout Description
12424 \begin_inset Flex Code
12427 \begin_layout Plain Layout
12433 [[FIXME]] (Usado solo con formatos tipo XML.)
12436 \begin_layout Description
12437 \begin_inset Flex Code
12440 \begin_layout Plain Layout
12449 \begin_inset Flex Code
12452 \begin_layout Plain Layout
12463 \begin_inset space \thinspace{}
12467 \begin_inset Flex Code
12470 \begin_layout Plain Layout
12477 \begin_inset Flex Code
12480 \begin_layout Plain Layout
12486 , marca el estilo para ser incluido en el preámbulo del documento en lugar
12487 de en el cuerpo del documento.
12488 Útil para clases de documento que piden informaciones tales como título
12489 y autor en el preámbulo.
12490 Esto solo funciona para estilos para los que
12491 \begin_inset Flex Code
12494 \begin_layout Plain Layout
12501 \begin_inset Flex Code
12504 \begin_layout Plain Layout
12511 \begin_inset Flex Code
12514 \begin_layout Plain Layout
12523 \begin_layout Description
12524 \begin_inset Flex Code
12527 \begin_layout Plain Layout
12536 \begin_inset Flex Code
12539 \begin_layout Plain Layout
12550 \begin_inset space \thinspace{}
12554 \begin_inset Flex Code
12557 \begin_layout Plain Layout
12564 \begin_inset Flex Code
12567 \begin_layout Plain Layout
12573 , marca el estilo como parte de un bloque de título (véanse también las
12575 \begin_inset Flex Code
12578 \begin_layout Plain Layout
12585 \begin_inset Flex Code
12588 \begin_layout Plain Layout
12597 \begin_layout Description
12600 \begin_inset Flex Code
12603 \begin_layout Plain Layout
12612 \begin_inset Flex Code
12615 \begin_layout Plain Layout
12625 \begin_inset space \thinspace{}
12629 \begin_inset Flex Code
12632 \begin_layout Plain Layout
12640 ] If this is set to 1 and AddToToc is enabled, the paragraph adds a summary
12641 of its contents in its item in the table of contents.
12642 Otherwise, only the label, if it exists, appears.
12645 \begin_layout Description
12646 \begin_inset Flex Code
12649 \begin_layout Plain Layout
12656 \begin_inset Flex Code
12659 \begin_layout Plain Layout
12665 ] La secuencia de comando \SpecialChar LaTeX
12666 que declara un ítem en una lista.
12667 El comando es para ser definido sin la barra invertida (por omisión es
12669 \begin_inset Quotes eld
12673 \begin_inset Quotes erd
12677 \begin_inset Flex Code
12680 \begin_layout Plain Layout
12688 en la salida \SpecialChar LaTeX
12692 \begin_layout Description
12693 \begin_inset Flex Code
12696 \begin_layout Plain Layout
12703 \begin_inset Flex Code
12706 \begin_layout Plain Layout
12712 ] Esto proporciona espacio extra entre párrafos que tienen el mismo formato.
12713 Si se ponen otros formatos en un entorno, cada uno es separado con el comando
12715 \begin_inset Flex Code
12718 \begin_layout Plain Layout
12725 Pero el conjunto de los ítems del entorno son separados adicionalmente
12727 \begin_inset Flex Code
12730 \begin_layout Plain Layout
12737 Anotar que esto es un
12742 \begin_layout Description
12743 \begin_inset Flex Code
12746 \begin_layout Plain Layout
12752 [[FIXME]] (Usado solo con formatos tipo XML.)
12755 \begin_layout Description
12756 \begin_inset Flex Code
12759 \begin_layout Plain Layout
12768 \begin_inset Flex Code
12771 \begin_layout Plain Layout
12782 \begin_inset space \thinspace{}
12786 \begin_inset Flex Code
12789 \begin_layout Plain Layout
12795 ] Habitualmente, \SpecialChar LyX
12796 no permite dejar un párrafo vacío, porque llevaría a una
12797 salida de \SpecialChar LaTeX
12799 Sin embargo, hay algunos casos donde podría ser útil: en una plantilla
12800 de carta, los campos requeridos pueden proporcionarse vacíos, así el usuario
12801 no los olvida; en algunos casos especiales, se puede usar un estilo que
12802 no contiene texto real como una especie de salto.
12805 \begin_layout Description
12806 \begin_inset Flex Code
12809 \begin_layout Plain Layout
12816 \begin_inset Flex Code
12819 \begin_layout Plain Layout
12825 ] El espacio vertical entre la etiqueta y el cuerpo del texto.
12826 Solo se usa para etiquetas que están sobre el cuerpo del texto (
12827 \begin_inset Flex Code
12830 \begin_layout Plain Layout
12837 \begin_inset Flex Code
12840 \begin_layout Plain Layout
12841 Centered_Top_Environment
12849 \begin_layout Description
12850 \begin_inset Flex Code
12853 \begin_layout Plain Layout
12860 \begin_inset Flex Code
12863 \begin_layout Plain Layout
12869 ] El nombre del contador para numeración automática.
12870 Con el fin de que el contador aparezca con su etiqueta, deberás referenciarla
12872 \begin_inset Flex Code
12875 \begin_layout Plain Layout
12882 Esto funcionará con
12883 \begin_inset Flex Code
12886 \begin_layout Plain Layout
12893 \begin_inset Flex Code
12896 \begin_layout Plain Layout
12903 \begin_inset Flex Code
12906 \begin_layout Plain Layout
12913 \begin_inset Flex Code
12916 \begin_layout Plain Layout
12923 \begin_inset Newline newline
12931 \begin_inset Flex Code
12934 \begin_layout Plain Layout
12941 \begin_inset Flex Code
12944 \begin_layout Plain Layout
12950 , aunque este caso es un poco complicado.
12951 Supongamos que declaras
12952 \begin_inset Quotes eld
12956 \begin_inset Flex Code
12959 \begin_layout Plain Layout
12960 LabelCounter myenum
12966 \begin_inset Quotes erd
12970 Entonces, los contadores reales usados son
12971 \begin_inset Flex Code
12974 \begin_layout Plain Layout
12981 \begin_inset Flex Code
12984 \begin_layout Plain Layout
12991 \begin_inset Flex Code
12994 \begin_layout Plain Layout
13001 \begin_inset Flex Code
13004 \begin_layout Plain Layout
13010 , como en \SpecialChar LaTeX
13012 Estos contadores deben declararse todos por separado.
13013 \begin_inset Newline newline
13017 \begin_inset CommandInset ref
13019 reference "subsec:Contadores"
13023 para detalles sobre contadores
13026 \begin_layout Description
13027 \begin_inset Flex Code
13030 \begin_layout Plain Layout
13036 La tipografía usada para la etiqueta.
13038 \begin_inset space ~
13042 \begin_inset CommandInset ref
13044 reference "subsec:Tipografía"
13051 \begin_layout Description
13052 \begin_inset Flex Code
13055 \begin_layout Plain Layout
13062 \begin_inset Flex Code
13065 \begin_layout Plain Layout
13071 ] Texto que indica cuánto se debe sangrar una etiqueta.
13074 \begin_layout Description
13075 \begin_inset Flex Code
13078 \begin_layout Plain Layout
13085 \begin_inset Flex Code
13088 \begin_layout Plain Layout
13094 ] Texto que indica el valor de espacio horizontal entre la etiqueta y el
13096 Solo se usa para etiquetas que no están sobre el cuerpo del texto.
13099 \begin_layout Description
13100 \begin_inset Flex Code
13103 \begin_layout Plain Layout
13110 \begin_inset Flex Code
13113 \begin_layout Plain Layout
13119 ] La cadena usada para una etiqueta del
13120 \begin_inset Flex Code
13123 \begin_layout Plain Layout
13130 \begin_inset Flex Code
13133 \begin_layout Plain Layout
13141 \begin_inset Flex Code
13144 \begin_layout Plain Layout
13150 está establecido, esta cadena puede contener los comandos especiales de
13151 formato descritos en la sección
13152 \begin_inset space ~
13156 \begin_inset CommandInset ref
13158 reference "subsec:Contadores"
13165 \begin_layout Description
13166 \begin_inset Flex Code
13169 \begin_layout Plain Layout
13170 LabelStringAppendix
13176 \begin_inset Flex Code
13179 \begin_layout Plain Layout
13185 ] Esta se usa en el apéndice en vez de
13186 \begin_inset Flex Code
13189 \begin_layout Plain Layout
13196 Anotar que toda declaración de
13197 \begin_inset Flex Code
13200 \begin_layout Plain Layout
13206 reconfigura también
13207 \begin_inset Newline newline
13211 \begin_inset Flex Code
13214 \begin_layout Plain Layout
13215 LabelStringAppendix
13223 \begin_layout Description
13224 \begin_inset Flex Code
13227 \begin_layout Plain Layout
13233 [FIXME] (Usado solo con formatos tipo XML.)
13236 \begin_layout Description
13237 \begin_inset Flex Code
13240 \begin_layout Plain Layout
13247 \begin_inset Flex Code
13250 \begin_layout Plain Layout
13255 , Manual, Static, Above,
13256 \begin_inset Newline newline
13259 Centered, Sensitive, Enumerate,
13260 \begin_inset Newline newline
13263 Itemize, Bibliography
13272 \begin_layout Description
13273 \begin_inset Flex Code
13276 \begin_layout Plain Layout
13282 significa que la etiqueta es la primera palabra (hasta elprimer espacio
13284 Usa espacios protegidos si quieres más de una palabra como etiqueta.
13288 \begin_layout Description
13289 \begin_inset Flex Code
13292 \begin_layout Plain Layout
13298 significa que la etiqueta es simplemente cualquier
13299 \begin_inset Flex Code
13302 \begin_layout Plain Layout
13308 declarado como tal.
13310 \begin_inset Quotes cld
13314 \begin_inset Quotes crd
13317 al comienzo del párrafo.
13319 \begin_inset Flex Code
13322 \begin_layout Plain Layout
13329 \begin_inset Flex Code
13332 \begin_layout Plain Layout
13338 , entonces se mostrará solo en el primer párrafo de cualquier secuencia
13339 de párrafos con el mismo
13340 \begin_inset Flex Code
13343 \begin_layout Plain Layout
13352 \begin_layout Description
13353 \begin_inset Flex Code
13356 \begin_layout Plain Layout
13363 \begin_inset space ~
13367 \begin_inset space ~
13371 \begin_inset Flex Code
13374 \begin_layout Plain Layout
13380 son casos especiales de
13381 \begin_inset Flex Code
13384 \begin_layout Plain Layout
13391 La etiqueta se imprimirá encima del párrafo, o al inicio de línea o centrado.
13395 \begin_layout Description
13396 \begin_inset Flex Code
13399 \begin_layout Plain Layout
13405 es un caso especial para las etiquetas de las leyendas de
13406 \begin_inset Quotes cld
13410 \begin_inset Quotes crd
13414 \begin_inset Quotes cld
13418 \begin_inset Quotes crd
13423 \begin_inset Flex Code
13426 \begin_layout Plain Layout
13432 quiere decir que la cadena (en código) de la etiqueta depende de la clase
13433 de flotante: Está codificado para ser `FloatType N', donde N es el valor
13434 del contador asociado al flotante.
13435 En el caso en que la leyenda se inserte adosada a un flotante
13436 \begin_inset Flex Code
13439 \begin_layout Plain Layout
13446 \begin_inset Quotes cld
13450 \begin_inset Quotes crd
13456 \begin_layout Description
13457 \begin_inset Flex Code
13460 \begin_layout Plain Layout
13466 produce los tipos habituales de etiquetas de enumeración.
13467 Por ahora está codificado para usar números arábigos, minúsculas, números
13468 romanos en minúsculas y mayúsculas, respectivamente, para los cuatro niveles
13469 de profundidad posibles.
13472 \begin_layout Description
13473 \begin_inset Flex Code
13476 \begin_layout Plain Layout
13482 produce varias marcas para los distintos niveles.
13483 También está codificado.
13486 \begin_layout Description
13487 \begin_inset Flex Code
13490 \begin_layout Plain Layout
13496 solo debería emplearse con
13497 \begin_inset Flex Code
13500 \begin_layout Plain Layout
13501 LatexType BibEnvironment
13510 \begin_layout Description
13511 \begin_inset Flex Code
13514 \begin_layout Plain Layout
13520 Esto sobrescribirá completamente cualquier declaración anterior de
13521 \begin_inset Flex Code
13524 \begin_layout Plain Layout
13532 \begin_inset Quotes eld
13536 \begin_inset Flex Code
13539 \begin_layout Plain Layout
13546 \begin_inset Quotes erd
13551 \begin_inset CommandInset ref
13553 reference "subsec:I18n"
13557 para detallessobre su uso.
13560 \begin_layout Description
13561 \begin_inset Flex Code
13564 \begin_layout Plain Layout
13571 \begin_inset Flex Code
13574 \begin_layout Plain Layout
13580 ] El nombre correspondiente en \SpecialChar LaTeX
13581 , ya sea de un comando o de un entorno.
13584 \begin_layout Description
13585 \begin_inset Flex Code
13588 \begin_layout Plain Layout
13595 \begin_inset Flex Code
13598 \begin_layout Plain Layout
13604 ] Un parámetro opcional para el correspondiente
13605 \begin_inset Flex Code
13608 \begin_layout Plain Layout
13615 Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
13617 \begin_inset Flex Code
13620 \begin_layout Plain Layout
13626 para parámetros personalizables).
13627 Se emitirá como tal tras todos los
13628 \begin_inset Flex Code
13631 \begin_layout Plain Layout
13641 \begin_layout Description
13642 \begin_inset Flex Code
13645 \begin_layout Plain Layout
13652 \begin_inset Flex Code
13655 \begin_layout Plain Layout
13660 , Command, Environment, Item_Environment,
13661 \begin_inset Newline newline
13664 List_Environment, Bib_Environment
13669 ] Cómo debería traducirse el estilo a \SpecialChar LaTeX
13674 \begin_layout Plain Layout
13675 \begin_inset Flex Code
13678 \begin_layout Plain Layout
13684 es un poco engañoso porque estas reglas se aplican también a clases SGML.
13685 Consulta los archivos de clases SGML (archivos de nombre
13686 \begin_inset Flex Code
13689 \begin_layout Plain Layout
13695 ) para ejemplos concretos.
13704 \begin_layout Description
13705 \begin_inset Flex Code
13708 \begin_layout Plain Layout
13714 no significa nada especial.
13717 \begin_layout Description
13718 \begin_inset Flex Code
13721 \begin_layout Plain Layout
13728 \begin_inset Flex Code
13731 \begin_layout Plain Layout
13738 {\SpecialChar ldots
13747 \begin_layout Description
13748 \begin_inset Flex Code
13751 \begin_layout Plain Layout
13758 \begin_inset Flex Code
13761 \begin_layout Plain Layout
13768 }\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 \begin_inset Flex Code
13807 \begin_layout Plain Layout
13815 se genera para cada párrafo de este entorno.
13818 \begin_layout Description
13819 \begin_inset Flex Code
13822 \begin_layout Plain Layout
13829 \begin_inset Flex Code
13832 \begin_layout Plain Layout
13839 \begin_inset Newline newline
13843 \begin_inset Flex Code
13846 \begin_layout Plain Layout
13852 se pasa como un argumento al entorno.
13853 \begin_inset Newline newline
13857 \begin_inset Flex Code
13860 \begin_layout Plain Layout
13866 puede definirse en el diálogo
13867 \begin_inset Flex Noun
13870 \begin_layout Plain Layout
13871 Editar\SpecialChar menuseparator
13873 \begin_inset space ~
13877 \begin_inset space ~
13888 \begin_layout Description
13889 \begin_inset Flex Code
13892 \begin_layout Plain Layout
13899 \begin_inset Flex Code
13902 \begin_layout Plain Layout
13908 pero añade además el argumento obligatorio necesario (la etiqueta más larga)
13913 del entorno bibliografía:
13914 \begin_inset Newline newline
13918 \begin_inset Flex Code
13921 \begin_layout Plain Layout
13924 begin{thebibliography}{99}
13929 Por tanto solo es útil para entornos de bibliografía.
13930 La etiqueta más larga predeterminada
13931 \begin_inset Quotes cld
13935 \begin_inset Quotes crd
13938 puede cambiarla el usuario en la configuración de párrafo de un ítem bibliográf
13942 \begin_layout Standard
13943 Poniendo juntas las últimas cosas, la salida \SpecialChar LaTeX
13947 \begin_layout LyX-Code
13950 LatexName[LatexParam]{\SpecialChar ldots
13954 \begin_layout Standard
13958 \begin_layout LyX-Code
13961 begin{LatexName}[LatexParam] \SpecialChar ldots
13967 \begin_layout Standard
13968 dependiendo del tipo de \SpecialChar LaTeX
13973 \begin_layout Description
13974 \begin_inset Flex Code
13977 \begin_layout Plain Layout
13984 \begin_inset Flex Code
13987 \begin_layout Plain Layout
13993 ] Secuencia que se pone al inicio del contenido del estilo.
13994 Un salto de línea en la salida puede indicarse con
13995 \begin_inset Flex Code
13998 \begin_layout Plain Layout
14007 \begin_layout Description
14008 \begin_inset Flex Code
14011 \begin_layout Plain Layout
14018 \begin_inset Flex Code
14021 \begin_layout Plain Layout
14027 ] Si pones estilos en entornos, los
14028 \begin_inset Flex Code
14031 \begin_layout Plain Layout
14037 no son simplemente añadidos, sino aumentados en un factor
14038 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
14042 Anotar que este parámetro se usa también cuando
14043 \begin_inset Flex Code
14046 \begin_layout Plain Layout
14053 \begin_inset Flex Code
14056 \begin_layout Plain Layout
14063 \begin_inset Flex Code
14066 \begin_layout Plain Layout
14073 En ese caso se añade al margen manual o dinámico.
14074 \begin_inset Newline newline
14078 \begin_inset Quotes cld
14082 \begin_inset Flex Code
14085 \begin_layout Plain Layout
14092 \begin_inset Quotes crd
14095 significa que el párrafo se sangra con la anchura de
14096 \begin_inset Quotes cld
14100 \begin_inset Flex Code
14103 \begin_layout Plain Layout
14110 \begin_inset Quotes crd
14113 en la tipografía normal.
14114 Se puede obtener una anchura negativa anteponiendo
14115 \begin_inset Quotes cld
14119 \begin_inset Flex Code
14122 \begin_layout Plain Layout
14129 \begin_inset Quotes crd
14133 Se eligió este método para que el aspecto sea el mismo con cada una de
14134 las tipografías de pantalla usadas.
14137 \begin_layout Description
14138 \begin_inset Flex Code
14141 \begin_layout Plain Layout
14148 \begin_inset Flex Code
14151 \begin_layout Plain Layout
14156 , Manual, Dynamic, First_Dynamic, Right_Address_Box
14162 \begin_inset Newline newline
14165 El tipo de margen que el estilo tiene en el lado izquierdo.
14169 \begin_layout Description
14170 \begin_inset Flex Code
14173 \begin_layout Plain Layout
14179 significa un margen fijo.
14182 \begin_layout Description
14183 \begin_inset Flex Code
14186 \begin_layout Plain Layout
14192 significa que el margen izquierdo depende de la cadena introducida en el
14194 \begin_inset Flex Noun
14197 \begin_layout Plain Layout
14198 Editar\SpecialChar menuseparator
14199 Configuración del párrafo\SpecialChar ldots
14206 Esto se utiliza para componer bonitas listas sin tabuladores.
14209 \begin_layout Description
14210 \begin_inset Flex Code
14213 \begin_layout Plain Layout
14219 significa que el margen depende del tamaño de la etiqueta.
14220 Esto se usa para las cabeceras automáticas de las listas numeradas.
14221 Es obvio que la cabecera
14222 \begin_inset Quotes cld
14225 5.4.3.2.1 Cabecera muy larga
14226 \begin_inset Quotes crd
14229 debe tener un margen izquierdo más amplio (tan ancho como
14230 \begin_inset Quotes cld
14234 \begin_inset Quotes crd
14237 más el espacio) que
14238 \begin_inset Quotes cld
14241 3.2 Cabecera muy larga
14242 \begin_inset Quotes crd
14246 \begin_inset Quotes cld
14249 procesadores de texto
14250 \begin_inset Quotes crd
14253 corrientes no sean capaces de hacer esto.
14256 \begin_layout Description
14257 \begin_inset Flex Code
14260 \begin_layout Plain Layout
14266 es similar, pero solo la primera fila del párrafo es dinámica, mientras
14267 que las demás son estáticas; esto se emplea, por ejemplo, para descripciones.
14270 \begin_layout Description
14271 \begin_inset Flex Code
14274 \begin_layout Plain Layout
14280 significa que el margen se elige de manera que la fila más larga de este
14281 párrafo se adapte al margen derecho.
14282 Esto se emplea para componer una dirección en el lado derecho de la página.
14287 \begin_layout Description
14288 \begin_inset Flex Code
14291 \begin_layout Plain Layout
14298 \begin_inset Flex Code
14301 \begin_layout Plain Layout
14310 \begin_inset space \thinspace{}
14314 \begin_inset Flex Code
14317 \begin_layout Plain Layout
14323 ] Si los comandos frágiles en este estilo deberían ser protegidos,
14324 \begin_inset Flex Code
14327 \begin_layout Plain Layout
14340 si este comando debería él mismo ser protegido.)
14343 \begin_layout Description
14344 \begin_inset Flex Code
14347 \begin_layout Plain Layout
14354 \begin_inset Flex Code
14357 \begin_layout Plain Layout
14364 \begin_inset space \thinspace{}
14368 \begin_inset Flex Code
14371 \begin_layout Plain Layout
14379 ] Si las líneas nuevas se transforman en líneas nuevas \SpecialChar LaTeX
14381 \begin_inset Flex Code
14384 \begin_layout Plain Layout
14395 La transformación puede desactivarse para permitir una edición más confortable
14396 de \SpecialChar LaTeX
14397 en \SpecialChar LyX
14401 \begin_layout Description
14402 \begin_inset Flex Code
14405 \begin_layout Plain Layout
14412 \begin_inset Flex Code
14415 \begin_layout Plain Layout
14424 \begin_inset space \thinspace{}
14428 \begin_inset Flex Code
14431 \begin_layout Plain Layout
14437 ] Si se permite sangrar la primera fila del párrafo siguiente.
14439 \begin_inset Flex Code
14442 \begin_layout Plain Layout
14448 significa que no se permite hacerlo;
14449 \begin_inset Flex Code
14452 \begin_layout Plain Layout
14458 significa que puede hacerse si se desea.
14461 \begin_layout Description
14462 \begin_inset Flex Code
14465 \begin_layout Plain Layout
14472 \begin_inset Flex Code
14475 \begin_layout Plain Layout
14481 ] Nombre de un estilo que ha reemplazado este estilo.
14482 Esto se emplea para renombrar un estilo, mientras que se mantiene compatibilida
14486 \begin_layout Description
14487 \begin_inset Flex Code
14490 \begin_layout Plain Layout
14497 \begin_inset Flex Code
14500 \begin_layout Plain Layout
14507 \begin_inset space \thinspace{}
14511 \begin_inset Flex Code
14514 \begin_layout Plain Layout
14520 ] Determina si párrafos consecutivos del mismo tipo se tratan como si fueran
14522 Esto tiene el efecto de que
14523 \begin_inset Flex Code
14526 \begin_layout Plain Layout
14532 solo se imprime una vez delante de tal grupo.
14533 Por omisión, esto es así para
14534 \begin_inset Flex Code
14537 \begin_layout Plain Layout
14544 \begin_inset Flex Code
14547 \begin_layout Plain Layout
14554 \begin_inset Flex Code
14557 \begin_layout Plain Layout
14563 y no lo es para los demás tipos.
14566 \begin_layout Description
14567 \begin_inset Flex Code
14570 \begin_layout Plain Layout
14577 \begin_inset Flex Code
14580 \begin_layout Plain Layout
14589 \begin_inset space \thinspace{}
14593 \begin_inset Flex Code
14596 \begin_layout Plain Layout
14602 ] Indica que los párrafos no serán separados por una línea vacía en la salida
14604 , solo por un salto de línea; junto con
14605 \begin_inset Flex Code
14608 \begin_layout Plain Layout
14614 , esto permite emular un editor de texto simple (como un recuadro ERT).
14617 \begin_layout Description
14618 \begin_inset Flex Code
14621 \begin_layout Plain Layout
14628 \begin_inset Flex Code
14631 \begin_layout Plain Layout
14637 ] El sangrado de la primera línea de un párrafo.
14639 \begin_inset Flex Code
14642 \begin_layout Plain Layout
14648 estará fijado para un determinado estilo.
14649 La excepción es el estilo
14650 \begin_inset Flex Code
14653 \begin_layout Plain Layout
14659 , puesto que la sangría de un párrafo de estilo
14660 \begin_inset Flex Code
14663 \begin_layout Plain Layout
14669 puede prohibirse con
14670 \begin_inset Flex Code
14673 \begin_layout Plain Layout
14680 Además, los párrafos de estilo
14681 \begin_inset Flex Code
14684 \begin_layout Plain Layout
14690 dentro de entornos usan la sangría
14691 \begin_inset Flex Code
14694 \begin_layout Plain Layout
14700 del entorno, no su propio valor.
14701 Por ejemplo, los párrafos
14702 \begin_inset Flex Code
14705 \begin_layout Plain Layout
14711 en una enumeración no se sangran.
14714 \begin_layout Description
14715 \begin_inset Flex Code
14718 \begin_layout Plain Layout
14725 \begin_inset Flex Code
14728 \begin_layout Plain Layout
14734 ] El espacio vertical entre dos párrafos de este estilo.
14737 \begin_layout Description
14738 \begin_inset Flex Code
14741 \begin_layout Plain Layout
14748 \begin_inset Flex Code
14751 \begin_layout Plain Layout
14758 permite al usuario elegir entre
14759 \begin_inset Quotes cld
14763 \begin_inset Quotes crd
14767 \begin_inset Quotes cld
14771 \begin_inset Quotes crd
14774 para separar párrafos.
14776 \begin_inset Quotes cld
14780 \begin_inset Quotes crd
14783 , este valor es completamente ignorado.
14785 \begin_inset Quotes cld
14789 \begin_inset Quotes crd
14792 , el sangrado de un estilo tipo
14793 \begin_inset Quotes cld
14797 \begin_inset Quotes crd
14800 de \SpecialChar LaTeX
14801 se ignora y todos los párrafos son separados con este argumento
14802 \begin_inset Quotes cld
14806 \begin_inset Quotes crd
14810 El espacio vertical se calcula con
14811 \begin_inset Flex Code
14814 \begin_layout Plain Layout
14816 \begin_inset space ~
14825 \begin_inset Flex Code
14828 \begin_layout Plain Layout
14834 es la altura de una fila con la tipografía normal.
14835 De esta forma, el aspecto queda igual con diferentes tipografías de pantalla.
14838 \begin_layout Description
14839 \begin_inset Flex Code
14842 \begin_layout Plain Layout
14851 \begin_inset Flex Code
14854 \begin_layout Plain Layout
14865 \begin_inset space \thinspace{}
14869 \begin_inset Flex Code
14872 \begin_layout Plain Layout
14878 ] Si el contenido de este párrafo debería aparecer en la salida en forma
14879 cruda, es decir sin las traducciones especiales que \SpecialChar LaTeX
14883 \begin_layout Description
14884 \begin_inset Flex Code
14887 \begin_layout Plain Layout
14894 \begin_inset Flex Code
14897 \begin_layout Plain Layout
14907 Define caracteres individuales que deberían emitirse en bruto, o sea, sin
14908 traducciones especiales que \SpecialChar LaTeX
14912 \begin_layout Description
14913 \begin_inset Flex Code
14916 \begin_layout Plain Layout
14922 Información a incluir en el preámbulo \SpecialChar LaTeX
14923 cuando se usa este estilo.
14924 Utilizado para definir macros, paquetes a cargar, etc., requeridos por este
14925 estilo en particular.
14927 \begin_inset Quotes cld
14931 \begin_inset Flex Code
14934 \begin_layout Plain Layout
14941 \begin_inset Quotes crd
14947 \begin_layout Description
14948 \begin_inset Flex Code
14951 \begin_layout Plain Layout
14958 \begin_inset Flex Code
14961 \begin_layout Plain Layout
14967 ] El prefijo a usar cuando se crean etiquetas que se refieren a párrafos
14969 Esto permite el uso de referencias con formato.
14972 \begin_layout Description
14973 \begin_inset Flex Code
14976 \begin_layout Plain Layout
14985 \begin_inset Flex Code
14988 \begin_layout Plain Layout
14996 Si el estilo requiere la característica
14997 \begin_inset Flex Code
15000 \begin_layout Plain Layout
15007 \begin_inset CommandInset ref
15009 reference "cap:Lista-de-funciones"
15014 Si necesitas un paquete con opciones específicas puedes usar además
15015 \begin_inset Flex Code
15018 \begin_layout Plain Layout
15024 como un parámetro de clase de texto general (véase
15025 \begin_inset CommandInset ref
15027 reference "subsec:Parámetros-generales-clases"
15034 \begin_layout Description
15035 \begin_inset Flex Code
15038 \begin_layout Plain Layout
15045 \begin_inset Flex Code
15048 \begin_layout Plain Layout
15057 \begin_inset Flex Code
15060 \begin_layout Plain Layout
15066 ] Reinicia los argumentos de este estilo (como definido mediante la etiqueta
15068 \begin_inset Flex Code
15071 \begin_layout Plain Layout
15078 Es útil si has copiado un estilo mediante
15079 \begin_inset Flex Code
15082 \begin_layout Plain Layout
15088 , pero no quieres heredar sus argumentos (requerido y opcional).
15091 \begin_layout Description
15094 \begin_inset Flex Code
15097 \begin_layout Plain Layout
15106 \begin_inset Flex Code
15109 \begin_layout Plain Layout
15119 \begin_inset Flex Code
15122 \begin_layout Plain Layout
15130 ] Resumes a counter that is usually reset at each new sequence of layouts.
15131 This is currently only useful when
15132 \begin_inset Flex Code
15135 \begin_layout Plain Layout
15144 \begin_inset Flex Code
15147 \begin_layout Plain Layout
15158 \begin_layout Description
15159 \begin_inset Flex Code
15162 \begin_layout Plain Layout
15169 \begin_inset Flex Code
15172 \begin_layout Plain Layout
15178 ] Secuencia que se pone al final del contenido del formato.
15179 Un salto de línea en la salida se puede indicar con
15180 \begin_inset Flex Code
15183 \begin_layout Plain Layout
15192 \begin_layout Description
15193 \begin_inset Flex Code
15196 \begin_layout Plain Layout
15203 \begin_inset Flex Code
15206 \begin_layout Plain Layout
15213 \begin_inset Flex Code
15216 \begin_layout Plain Layout
15225 \begin_layout Description
15226 \begin_inset Flex Code
15229 \begin_layout Plain Layout
15236 \begin_inset Flex Code
15239 \begin_layout Plain Layout
15248 \begin_inset Flex Code
15251 \begin_layout Plain Layout
15258 \begin_inset Flex Code
15261 \begin_layout Plain Layout
15268 \begin_inset Flex Code
15271 \begin_layout Plain Layout
15273 \begin_inset space ~
15281 ] Esto define cuál debería ser el espacio predefinido en el estilo.
15283 \begin_inset Flex Code
15286 \begin_layout Plain Layout
15293 \begin_inset Flex Code
15296 \begin_layout Plain Layout
15303 \begin_inset Flex Code
15306 \begin_layout Plain Layout
15312 corresponden respectivamente a un multiplicador de 1, 1.25 y 1.667.
15313 Si se especifica el argumento
15314 \begin_inset Flex Code
15317 \begin_layout Plain Layout
15323 , entonces se debería proporcionar además un argumento numérico que será
15324 el valor real del multiplicador.
15325 Anotar que, al contrario que otros parámetros,
15326 \begin_inset Flex Code
15329 \begin_layout Plain Layout
15335 implica la generación de código \SpecialChar LaTeX
15336 específico, usando el paquete \SpecialChar LaTeX
15338 \begin_inset Flex Code
15341 \begin_layout Plain Layout
15350 \begin_layout Description
15351 \begin_inset Flex Code
15354 \begin_layout Plain Layout
15361 \begin_inset Flex Code
15364 \begin_layout Plain Layout
15373 \begin_inset space \thinspace{}
15379 \begin_inset Flex Code
15382 \begin_layout Plain Layout
15390 ] Corrección ortográfica de párrafos de este estilo.
15394 \begin_layout Description
15397 \begin_inset Flex Code
15400 \begin_layout Plain Layout
15409 \begin_inset Flex Code
15412 \begin_layout Plain Layout
15422 \begin_inset Flex Code
15425 \begin_layout Plain Layout
15433 ] Steps the master counter of a given counter at the beginning of a new
15434 sequence of layouts.
15435 This is currently only useful when
15436 \begin_inset Flex Code
15439 \begin_layout Plain Layout
15448 \begin_inset Flex Code
15451 \begin_layout Plain Layout
15462 \begin_layout Description
15463 \begin_inset Flex Code
15466 \begin_layout Plain Layout
15472 La tipografía para el cuerpo del texto.
15474 \begin_inset CommandInset ref
15476 reference "subsec:Tipografía"
15483 \begin_layout Description
15484 \begin_inset Flex Code
15487 \begin_layout Plain Layout
15494 \begin_inset Flex Code
15497 \begin_layout Plain Layout
15503 ] El nivel del estilo en el índice general.
15504 Esto se usa para la numeración automática de los encabezados de sección.
15507 \begin_layout Description
15508 \begin_inset Flex Code
15511 \begin_layout Plain Layout
15520 \begin_inset Flex Code
15523 \begin_layout Plain Layout
15532 \begin_inset Flex Code
15535 \begin_layout Plain Layout
15542 \begin_inset Flex Code
15545 \begin_layout Plain Layout
15551 ] Esta etiqueta determina si la sangría de primera línea de este párrafo
15552 puede conmutarse en el diálogo de configuración del párrafo.
15556 \begin_inset Flex Code
15559 \begin_layout Plain Layout
15569 , la sangría puede conmutarse si la configuración del documento usa estilo
15571 \begin_inset Quotes cld
15575 \begin_inset Quotes crd
15579 \begin_inset Flex Code
15582 \begin_layout Plain Layout
15588 , la sangría se puede conmutar siempre, no importa la configuración del
15590 \begin_inset Flex Code
15593 \begin_layout Plain Layout
15599 , la sangría nunca se puede conmutar.
15602 \begin_layout Description
15603 \begin_inset Flex Code
15606 \begin_layout Plain Layout
15613 \begin_inset Flex Code
15616 \begin_layout Plain Layout
15622 ] El espacio vertical con el que el primero de una cadena de párrafos con
15623 este estilo se separa del párrafo anterior.
15624 Si el párrafo anterior tiene otro estilo, la separación no es simplemente
15625 añadida, sino que se pone la máxima.
15628 \begin_layout Subsection
15629 Internacionalización de estilos de párrafo
15630 \begin_inset CommandInset label
15639 \begin_layout Standard
15641 ha soportado desde hace tiempo la internacionalización de la información
15642 de formato, pero, hasta la versión 2.0, esto se aplicaba solo a la interfaz
15643 de usuario y no a la salida, digamos, PDF.
15644 Así, por ej., autores franceses tenían que acudir a feos trucos para conseguir
15645 `Théorème 1' en vez de `Theorem 1'.
15646 Gracias a Georg Baum, este ya no es el caso.
15649 \begin_layout Standard
15651 \begin_inset Flex Code
15654 \begin_layout Plain Layout
15660 define texto que se mostrará en el documento exportado, puede usar
15661 \begin_inset Flex Code
15664 \begin_layout Plain Layout
15671 \begin_inset Flex Code
15674 \begin_layout Plain Layout
15680 para soportar correctamente documentos con idioma distinto del inglés e
15681 incluso documentos plurilingües.
15682 El siguiente extracto (del archivo
15683 \begin_inset Flex Code
15686 \begin_layout Plain Layout
15692 ) muestra cómo funciona:
15695 \begin_layout LyX-Code
15700 \begin_layout LyX-Code
15703 theoremstyle{remark}
15706 \begin_layout LyX-Code
15709 newtheorem{claim}[thm]{
15716 \begin_layout LyX-Code
15720 \begin_layout LyX-Code
15724 \begin_layout LyX-Code
15729 claimname}{_(Claim)}
15732 \begin_layout LyX-Code
15736 \begin_layout LyX-Code
15740 \begin_layout LyX-Code
15749 claimname}{_(Claim)}}
15752 \begin_layout LyX-Code
15757 \begin_layout Standard
15758 En principio, cualquier \SpecialChar LaTeX
15759 legal puede aparecer en las etiquetas
15760 \begin_inset Flex Code
15763 \begin_layout Plain Layout
15770 \begin_inset Flex Code
15773 \begin_layout Plain Layout
15779 , pero en la práctica el aspecto será generalmente como el mostrado aquí.
15780 La clave para una correcta traducción del texto impreso es la definición
15781 del comando \SpecialChar LaTeX
15783 \begin_inset Flex Code
15786 \begin_layout Plain Layout
15795 \begin_inset Flex Code
15798 \begin_layout Plain Layout
15810 \begin_layout Standard
15812 \begin_inset Flex Code
15815 \begin_layout Plain Layout
15821 proporciona internacionalización basada en el idioma global del documento.
15822 El contenido de la etiqueta se incluirá en el preámbulo, igual que con
15824 \begin_inset Flex Code
15827 \begin_layout Plain Layout
15834 Lo que la hace especial es el uso de la
15835 \begin_inset Quotes eld
15839 \begin_inset Quotes erd
15843 \begin_inset Flex Code
15846 \begin_layout Plain Layout
15852 , que será reemplazada, cuando \SpecialChar LyX
15853 genere la salida \SpecialChar LaTeX
15854 , por la traducción de
15855 su argumento al idioma del documento.
15858 \begin_layout Standard
15860 \begin_inset Flex Code
15863 \begin_layout Plain Layout
15869 es más compleja, puesto que está pensada para dar soporte a documentos
15870 plurilingües y ofrece una interfaz al paquete
15871 \begin_inset Flex Code
15874 \begin_layout Plain Layout
15881 Su contenido se añadirá al preámbulo una vez por cada idioma que aparezca
15883 En este caso, el argumento en
15884 \begin_inset Flex Code
15887 \begin_layout Plain Layout
15893 se reemplazará por su traducción al idioma en cuestión; la expresión
15894 \begin_inset Flex Code
15897 \begin_layout Plain Layout
15903 es reemplazada por el nombre del idioma (el usado por el paquete babel).
15906 \begin_layout Standard
15907 Un documento en alemán que también incluya una sección en francés tendría
15908 lo siguiente en el preámbulo:
15911 \begin_layout LyX-Code
15920 claimname}{Affirmation}}
15921 \begin_inset Newline newline
15932 claimname}{Behauptung}}
15933 \begin_inset Newline newline
15940 claimname}{Behauptung}
15943 \begin_layout Standard
15946 \begin_inset Flex Code
15949 \begin_layout Plain Layout
15955 conspirarán para producir el texto correcto en la salida.
15958 \begin_layout Standard
15959 Un punto importante a tener en cuenta aquí es que las traducciones son proporcio
15960 nadas por el propio \SpecialChar LyX
15961 , por medio del archivo
15962 \begin_inset Flex Code
15965 \begin_layout Plain Layout
15972 Esto quiere decir, en definitiva, que
15973 \begin_inset Flex Code
15976 \begin_layout Plain Layout
15983 \begin_inset Flex Code
15986 \begin_layout Plain Layout
15992 realmente solo son útiles en archivos de formato que son proporcionados
15993 por \SpecialChar LyX
15994 , puesto que el texto introducido en archivos de formato creados por
15995 el usuario no serán tenidos en cuenta por las rutinas de internacionalización
15996 de \SpecialChar LyX
15997 a menos que el archivo
15998 \begin_inset Flex Code
16001 \begin_layout Plain Layout
16007 se modifique como correponde.
16008 Sin embargo, cualquier formato creado con la intención de ser incluido
16009 en \SpecialChar LyX
16010 debería usar estas etiquetas en los lugares apropiados.
16011 Ten en cuenta que las traducciones de estilo de párrafo provistas por \SpecialChar LyX
16013 nunca cambian en actualizaciones menores (p.
16014 \begin_inset space \thinspace{}
16018 \begin_inset space \space{}
16021 de versión 2.1.x a 2.1.y).
16022 Sin embargo es muy probable que en actualizaciones mayores (p.
16023 \begin_inset space \thinspace{}
16027 \begin_inset space \space{}
16030 de 2.0.x a 2.1.y) se introduzcan nuevas traducciones o correcciones.
16033 \begin_layout Subsection
16035 \begin_inset CommandInset label
16037 name "subsec:Flotantes"
16044 \begin_layout Standard
16045 Es necesario definir los flotantes (
16046 \begin_inset Flex Noun
16049 \begin_layout Plain Layout
16056 \begin_inset Flex Noun
16059 \begin_layout Plain Layout
16065 , \SpecialChar ldots
16066 ) en la propia clase de texto.
16067 Los flotantes normales se incluyen en el archivo
16068 \begin_inset Flex Code
16071 \begin_layout Plain Layout
16077 , así que no tendrás más que añadir
16080 \begin_layout LyX-Code
16081 Input stdfloats.inc
16084 \begin_layout Standard
16085 en tu archivo de formato.
16086 Si quieres implementar una clase de texto que proponga algún otro tipo
16087 de flotante (como la clase AGU empaquetada con \SpecialChar LyX
16088 ), la información siguiente
16089 te servirá de ayuda:
16092 \begin_layout Description
16093 \begin_inset Flex Code
16096 \begin_layout Plain Layout
16103 \begin_inset Flex Code
16106 \begin_layout Plain Layout
16112 =!htbpH] Opciones de colocación permitidas para este tipo de flotante.
16113 El valor es una secuencia de caracteres:
16118 \begin_inset Quotes eld
16122 \begin_inset Quotes erd
16130 \begin_inset Quotes eld
16134 \begin_inset Quotes erd
16142 \begin_inset Quotes eld
16146 \begin_inset Quotes erd
16154 \begin_inset Quotes eld
16158 \begin_inset Quotes erd
16166 \begin_inset Quotes eld
16170 \begin_inset Quotes erd
16178 \begin_inset Quotes eld
16182 \begin_inset Quotes erd
16186 El orden no importa.
16187 Si las opciones de colocación no están permitidas usa string
16194 \begin_layout Description
16195 \begin_inset Flex Code
16198 \begin_layout Plain Layout
16205 \begin_inset Flex Code
16208 \begin_layout Plain Layout
16215 \begin_inset space \thinspace{}
16221 \begin_inset Flex Code
16224 \begin_layout Plain Layout
16232 ] Define si el flotante admite rotación mediante el paquete \SpecialChar LaTeX
16239 \begin_inset Flex Code
16242 \begin_layout Plain Layout
16248 si el flotante no soporta esta característica.
16251 \begin_layout Description
16252 \begin_inset Flex Code
16255 \begin_layout Plain Layout
16262 \begin_inset Flex Code
16265 \begin_layout Plain Layout
16272 \begin_inset space \thinspace{}
16278 \begin_inset Flex Code
16281 \begin_layout Plain Layout
16289 ] Define si el flotante tiene una variante asterisco que abarca columnas
16290 en un párrafo de dos columnas.
16292 \begin_inset Flex Code
16295 \begin_layout Plain Layout
16301 si el flotante no soporta esta característica.
16304 \begin_layout Description
16305 \begin_inset Flex Code
16308 \begin_layout Plain Layout
16315 \begin_inset Flex Code
16318 \begin_layout Plain Layout
16325 \begin_inset Quotes erd
16329 \begin_inset Quotes erd
16332 ] La extensión del nombre de un archivo auxiliar para la lista de figuras
16335 escribe las leyendas en este archivo.
16338 \begin_layout Description
16339 \begin_inset Flex Code
16342 \begin_layout Plain Layout
16349 \begin_inset Flex Code
16352 \begin_layout Plain Layout
16359 \begin_inset Quotes erd
16363 \begin_inset Quotes erd
16366 ] La cadena que se usará en los menús y también para la leyenda.
16367 Esto se traduce al idioma actual si se usa.
16370 \begin_layout Description
16371 \begin_inset Flex Code
16374 \begin_layout Plain Layout
16380 Controlan la salida XHTML.
16382 \begin_inset space ~
16386 \begin_inset CommandInset ref
16388 reference "sec:Etiquetas-para-XHTML"
16395 \begin_layout Description
16396 \begin_inset Flex Code
16399 \begin_layout Plain Layout
16408 \begin_inset Flex Code
16411 \begin_layout Plain Layout
16420 \begin_inset space \thinspace{}
16424 \begin_inset Flex Code
16427 \begin_layout Plain Layout
16433 ] Indica si el flotante está ya definido en la clase de documento o si necesitam
16434 os cargar el paquete \SpecialChar LaTeX
16436 \begin_inset Flex Code
16439 \begin_layout Plain Layout
16445 para definirlo sobre la marcha.
16447 \begin_inset Flex Code
16450 \begin_layout Plain Layout
16456 , que significa: usar
16457 \begin_inset Flex Code
16460 \begin_layout Plain Layout
16468 \begin_inset Flex Code
16471 \begin_layout Plain Layout
16477 si el flotante ya está definido por la clase de documento \SpecialChar LaTeX
16481 \begin_layout Description
16482 \begin_inset Flex Code
16485 \begin_layout Plain Layout
16492 \begin_inset Flex Code
16495 \begin_layout Plain Layout
16502 \begin_inset Quotes erd
16506 \begin_inset Quotes erd
16509 ] El comando usado para generar una lista de flotantes de este tipo; debe
16510 omitirse el precedente `
16518 \begin_inset Flex Code
16521 \begin_layout Plain Layout
16527 es `false', puesto que no hay una forma estándar de generar este comando.
16529 \begin_inset Flex Code
16532 \begin_layout Plain Layout
16538 es `true', porque en este caso sí hay una forma estándar de definir el
16542 \begin_layout Description
16543 \begin_inset Flex Code
16546 \begin_layout Plain Layout
16553 \begin_inset Flex Code
16556 \begin_layout Plain Layout
16563 \begin_inset Quotes erd
16567 \begin_inset Quotes erd
16570 ] Un título para una lista de flotantes de este tipo (índice de figuras,
16571 tablas o lo que sea).
16572 Se usa para el nombre del recuadro en \SpecialChar LyX
16573 ; se pasa a \SpecialChar LaTeX
16574 para usarlo como título
16575 allí; y se usa como título en la salida.
16576 Será traducido al idioma del documento.
16579 \begin_layout Description
16580 \begin_inset Flex Code
16583 \begin_layout Plain Layout
16590 \begin_inset Flex Code
16593 \begin_layout Plain Layout
16600 \begin_inset Quotes erd
16604 \begin_inset Quotes erd
16607 ] Este argumento (opcional) determina si los flotantes de esta clase serán
16608 numerados dentro de alguna unidad de sección del documento.
16610 \begin_inset Flex Code
16613 \begin_layout Plain Layout
16620 \begin_inset Quotes cld
16624 \begin_inset Flex Code
16627 \begin_layout Plain Layout
16634 \begin_inset Quotes crd
16637 , los flotantes serán numerados dentro de los capítulos.
16640 \begin_layout Description
16641 \begin_inset Flex Code
16644 \begin_layout Plain Layout
16651 \begin_inset Flex Code
16654 \begin_layout Plain Layout
16661 \begin_inset Quotes erd
16665 \begin_inset Quotes erd
16668 ] La colocación por omisión para la clase dada de flotantes.
16670 \begin_inset Flex Code
16673 \begin_layout Plain Layout
16679 deberá ser un estándar \SpecialChar LaTeX
16681 \begin_inset Flex Code
16684 \begin_layout Plain Layout
16691 \begin_inset Flex Code
16694 \begin_layout Plain Layout
16701 \begin_inset Flex Code
16704 \begin_layout Plain Layout
16711 \begin_inset Flex Code
16714 \begin_layout Plain Layout
16721 \begin_inset Quotes cld
16725 \begin_inset Quotes crd
16729 \begin_inset Quotes cld
16733 \begin_inset Quotes crd
16737 \begin_inset Quotes cld
16741 \begin_inset Quotes crd
16745 \begin_inset Quotes cld
16749 \begin_inset Quotes crd
16752 (aquí), respectivamente.
16756 \begin_layout Plain Layout
16757 Anotar que el orden de estas letras en la cadena es irrelevante, como en
16764 Por encima de éstos hay un nuevo tipo,
16765 \begin_inset Flex Code
16768 \begin_layout Plain Layout
16774 , que no corresponde realmente a un flotante, ya que se refiere a: ponerlo
16776 \begin_inset Quotes cld
16780 \begin_inset Quotes crd
16783 , y en ninguna otra parte.
16784 Anotar que, sin embargo, el colocador
16785 \begin_inset Flex Code
16788 \begin_layout Plain Layout
16794 es especial y, debido a detalles de implementación, no puede usarse en
16795 tipos de flotantes no empotrados.
16796 Si no comprendes lo que esto significa, usa solo
16797 \begin_inset Quotes cld
16801 \begin_inset Flex Code
16804 \begin_layout Plain Layout
16811 \begin_inset Quotes crd
16817 \begin_layout Description
16818 \begin_inset Flex Code
16821 \begin_layout Plain Layout
16828 \begin_inset Flex Code
16831 \begin_layout Plain Layout
16837 ] El prefijo a usar cuando se crean etiquetas referidas a flotantes de este
16839 Esto permite el uso de referencias con formato.
16840 Puedes quitar cualquier
16841 \begin_inset Flex Code
16844 \begin_layout Plain Layout
16850 puesto por un estilo copiado usando el valor especial
16851 \begin_inset Quotes eld
16855 \begin_inset Quotes erd
16858 , todas mayúsculas.
16861 \begin_layout Description
16862 \begin_inset Flex Code
16865 \begin_layout Plain Layout
16872 \begin_inset Flex Code
16875 \begin_layout Plain Layout
16882 \begin_inset Quotes erd
16886 \begin_inset Quotes erd
16889 ] El estilo usado cuando se define el flotante con
16890 \begin_inset Flex Code
16893 \begin_layout Plain Layout
16904 \begin_layout Description
16905 \begin_inset Flex Code
16908 \begin_layout Plain Layout
16915 \begin_inset Flex Code
16918 \begin_layout Plain Layout
16925 \begin_inset Quotes erd
16929 \begin_inset Quotes erd
16933 \begin_inset Quotes cld
16937 \begin_inset Quotes crd
16940 de la nueva clase de flotante, como programa o algoritmo.
16941 Después del apropiado
16942 \begin_inset Flex Code
16945 \begin_layout Plain Layout
16953 , comandos tales como
16954 \begin_inset Flex Code
16957 \begin_layout Plain Layout
16966 \begin_inset Flex Code
16969 \begin_layout Plain Layout
16977 estarán disponibles.
16980 \begin_layout Description
16981 \begin_inset Flex Code
16984 \begin_layout Plain Layout
16991 \begin_inset Flex Code
16994 \begin_layout Plain Layout
17001 \begin_inset space \thinspace{}
17005 \begin_inset Flex Code
17008 \begin_layout Plain Layout
17016 ] Nos dice si este flotante se define usando el paquete \SpecialChar LaTeX
17018 \begin_inset Flex Code
17021 \begin_layout Plain Layout
17027 , bien por el archivo de clase o por un paquete, o bien sobre la marcha
17028 por el propio \SpecialChar LyX
17032 \begin_layout Standard
17033 Anotar que al definir un flotante con tipo
17034 \begin_inset Flex Code
17037 \begin_layout Plain Layout
17045 automáticamente se define el correspondiente contador con nombre
17046 \begin_inset Flex Code
17049 \begin_layout Plain Layout
17060 \begin_layout Subsection
17061 Recuadros flexibles y formato del recuadro
17062 \begin_inset CommandInset label
17064 name "subsec:estilo-del-texto"
17071 \begin_layout Standard
17072 Los recuadros flexibles son de tres tipos:
17075 \begin_layout Itemize
17077 \begin_inset Flex Code
17080 \begin_layout Plain Layout
17086 ): estos definen diseños semánticos correspondientes a comandos \SpecialChar LaTeX
17088 \begin_inset Flex Code
17091 \begin_layout Plain Layout
17100 \begin_inset Flex Code
17103 \begin_layout Plain Layout
17114 \begin_layout Itemize
17115 definido por el usuario (
17116 \begin_inset Flex Code
17119 \begin_layout Plain Layout
17125 ): estos se pueden usar para definir recuadros plegables personalizados,
17126 del tipo de los de código \SpecialChar TeX
17127 , notas al pie y similares.
17128 Un ejemplo obvio es un recuadro de nota final, definido en el módulo del
17130 \begin_inset Flex Code
17133 \begin_layout Plain Layout
17142 \begin_layout Itemize
17144 \begin_inset Flex Code
17147 \begin_layout Plain Layout
17153 ): para usar con las clases DocBook.
17156 \begin_layout Standard
17157 Los recuadros flexibles se definen usando la etiqueta
17158 \begin_inset Flex Code
17161 \begin_layout Plain Layout
17167 , que se explicará en un momento.
17170 \begin_layout Standard
17172 \begin_inset Flex Code
17175 \begin_layout Plain Layout
17181 también sirve para otra función: puede utilizarse para personalizar el
17182 diseño general de muchos tipos diferentes de recuadros.
17184 \begin_inset Flex Code
17187 \begin_layout Plain Layout
17193 permite personalizar los parámetros de diseño de notas al pie, notas al
17194 margen, notas, recuadros de código \SpecialChar TeX
17195 (ERT), ramas, listados de programa,
17196 índices, cuadros, tablas, algoritmos, URL, y leyendas, así como para definir
17197 recuadros flexibles.
17200 \begin_layout Standard
17202 \begin_inset Flex Code
17205 \begin_layout Plain Layout
17211 debe comenzar con una línea de la forma:
17214 \begin_layout LyX-Code
17218 \begin_layout Standard
17220 \begin_inset Flex Code
17223 \begin_layout Plain Layout
17229 indica el recuadro cuyo formato se va a definir, y hay cuatro casos.
17232 \begin_layout Enumerate
17233 Se va a modificar el formato para un tipo de recuadro preexistente.
17235 \begin_inset Flex Code
17238 \begin_layout Plain Layout
17244 puede ser uno cualquiera de los siguientes:
17245 \begin_inset Flex Code
17248 \begin_layout Plain Layout
17255 \begin_inset Flex Code
17258 \begin_layout Plain Layout
17265 \begin_inset Flex Code
17268 \begin_layout Plain Layout
17275 \begin_inset Flex Code
17278 \begin_layout Plain Layout
17285 \begin_inset Flex Code
17288 \begin_layout Plain Layout
17295 \begin_inset Flex Code
17298 \begin_layout Plain Layout
17305 \begin_inset Flex Code
17308 \begin_layout Plain Layout
17315 \begin_inset Flex Code
17318 \begin_layout Plain Layout
17325 \begin_inset Flex Code
17328 \begin_layout Plain Layout
17335 \begin_inset Flex Code
17338 \begin_layout Plain Layout
17345 \begin_inset Flex Code
17348 \begin_layout Plain Layout
17355 \begin_inset Flex Code
17358 \begin_layout Plain Layout
17365 \begin_inset Flex Code
17368 \begin_layout Plain Layout
17375 \begin_inset Flex Code
17378 \begin_layout Plain Layout
17385 \begin_inset Flex Code
17388 \begin_layout Plain Layout
17395 \begin_inset Flex Code
17398 \begin_layout Plain Layout
17405 \begin_inset Flex Code
17408 \begin_layout Plain Layout
17415 \begin_inset Flex Code
17418 \begin_layout Plain Layout
17425 \begin_inset Flex Code
17428 \begin_layout Plain Layout
17435 \begin_inset Flex Code
17438 \begin_layout Plain Layout
17448 \begin_layout Enumerate
17449 Se va a definir el formato para un recuadro flexible.
17451 \begin_inset Flex Code
17454 \begin_layout Plain Layout
17461 \begin_inset Quotes cld
17465 \begin_inset Flex Code
17468 \begin_layout Plain Layout
17475 \begin_inset Quotes crd
17479 \begin_inset Flex Code
17482 \begin_layout Plain Layout
17488 ser cualquier identificador válido no utilizado por un recuadro preexistente.
17489 El identificador puede incluir espacios, pero en este caso debe ponerse
17490 todo entre comillas.
17491 Ten en cuenta que la definición de un flexible debe incluir
17496 \begin_inset Flex Code
17499 \begin_layout Plain Layout
17506 declarando qué tipo de recuadro define.
17509 \begin_layout Enumerate
17510 Se va a definir el formato para rama específica de usuario.
17512 \begin_inset Flex Code
17515 \begin_layout Plain Layout
17521 debe ser de la forma
17522 \begin_inset Quotes cld
17526 \begin_inset Flex Code
17529 \begin_layout Plain Layout
17536 \begin_inset Quotes crd
17540 \begin_inset Flex Code
17543 \begin_layout Plain Layout
17549 puede ser cualquier identificador válido de rama definido en el documento
17551 Este identificador puede incluir espacios, pero, en ese caso todo debe
17553 El propósito principal de esta característica es permitir a \SpecialChar LaTeX
17555 específicas como necesite el usuario.
17558 \begin_layout Enumerate
17559 Se va a definir el formato de una leyenda específica de usuario (o clase).
17561 \begin_inset Flex Code
17564 \begin_layout Plain Layout
17570 debe ser de la forma
17571 \begin_inset Quotes cld
17575 \begin_inset Flex Code
17578 \begin_layout Plain Layout
17585 \begin_inset Quotes crd
17589 \begin_inset Flex Code
17592 \begin_layout Plain Layout
17598 especifica el nombre de la leyenda como aparece en el menú.
17599 Repasa la leyenda estándar (
17600 \begin_inset Flex Code
17603 \begin_layout Plain Layout
17609 ), las leyendas específicas de las clases KOMA-Script (
17610 \begin_inset Flex Code
17613 \begin_layout Plain Layout
17620 \begin_inset Flex Code
17623 \begin_layout Plain Layout
17632 \begin_inset space ~
17638 \begin_inset Flex Code
17641 \begin_layout Plain Layout
17647 ) para aplicaciones.
17650 \begin_layout Standard
17652 \begin_inset Flex Code
17655 \begin_layout Plain Layout
17661 puede contener las siguientes entradas:
17664 \begin_layout Description
17667 \begin_inset Flex Code
17670 \begin_layout Plain Layout
17679 \begin_inset Flex Code
17682 \begin_layout Plain Layout
17690 =""] This inset will appear in the table of contents of the given type.
17691 An empty string disables.
17692 See also the OutlinerName and the IsTocCaption commands.
17693 This is only implemented for Flex insets.
17697 \begin_layout Description
17698 \begin_inset Flex Code
17701 \begin_layout Plain Layout
17708 \begin_inset Flex Code
17711 \begin_layout Plain Layout
17717 ] Define el número de argumento de un comando\SpecialChar breakableslash
17718 entorno asociado con el formato
17720 La definición debe terminar con
17721 \begin_inset Flex Code
17724 \begin_layout Plain Layout
17732 \begin_inset CommandInset ref
17734 reference "subsec:Estilos-de-párrafo"
17741 \begin_layout Description
17742 \begin_inset Flex Code
17745 \begin_layout Plain Layout
17751 Preámbulo para comandos de cambio de idioma; véase
17752 \begin_inset CommandInset ref
17754 reference "subsec:I18n"
17761 \begin_layout Description
17762 \begin_inset Flex Code
17765 \begin_layout Plain Layout
17772 \begin_inset Flex Code
17775 \begin_layout Plain Layout
17781 ] El color para el fondo del recuadro.
17782 Véase la lista de colores en
17783 \begin_inset CommandInset ref
17785 reference "cap:Nombres-de-colores"
17792 \begin_layout Description
17793 \begin_inset Flex Code
17796 \begin_layout Plain Layout
17803 \begin_inset Flex Code
17806 \begin_layout Plain Layout
17815 \begin_inset space \thinspace{}
17819 \begin_inset Flex Code
17822 \begin_layout Plain Layout
17828 ] Si usar no el contenido del recuadro como etiqueta del mismo cuando el
17829 recuadro se cierra.
17830 Por omisión, falso.
17833 \begin_layout Description
17834 \begin_inset Flex Code
17837 \begin_layout Plain Layout
17844 \begin_inset Flex Code
17847 \begin_layout Plain Layout
17853 ] Como los estilos de párrafo, véase
17854 \begin_inset CommandInset ref
17856 reference "subsec:Estilos-de-párrafo"
17861 Ten en cuenta que debes especificar el tipo completo, p.
17862 \begin_inset space \thinspace{}
17866 \begin_inset space ~
17870 \begin_inset Flex Code
17873 \begin_layout Plain Layout
17874 CopyStyle Flex:<name>
17882 \begin_layout Description
17883 \begin_inset Flex Code
17886 \begin_layout Plain Layout
17893 \begin_inset Flex Code
17896 \begin_layout Plain Layout
17905 \begin_inset space \thinspace{}
17909 \begin_inset Flex Code
17912 \begin_layout Plain Layout
17918 ] Indica si el usuario puede emplear el diálogo Configuración del párrafo
17919 para modificar el párrafo.
17922 \begin_layout Description
17923 \begin_inset Flex Code
17926 \begin_layout Plain Layout
17933 \begin_inset Flex Code
17936 \begin_layout Plain Layout
17943 \begin_inset Flex Code
17946 \begin_layout Plain Layout
17953 \begin_inset Flex Code
17956 \begin_layout Plain Layout
17962 , que describe el estilo de presentación para el marco y los botones del
17964 Las notas al pie usan generalmente
17965 \begin_inset Flex Code
17968 \begin_layout Plain Layout
17974 , los recuadros de código \SpecialChar TeX
17976 \begin_inset Flex Code
17979 \begin_layout Plain Layout
17985 , y los de estilos del texto
17986 \begin_inset Flex Code
17989 \begin_layout Plain Layout
17998 \begin_layout Description
17999 \begin_inset Flex Code
18002 \begin_layout Plain Layout
18009 \begin_inset Flex Code
18012 \begin_layout Plain Layout
18019 \begin_inset space \thinspace{}
18023 \begin_inset Flex Code
18026 \begin_layout Plain Layout
18035 \begin_inset Flex Code
18038 \begin_layout Plain Layout
18045 \begin_inset Flex Code
18048 \begin_layout Plain Layout
18055 Indica si el entorno se ubicará en su propio espacio en la salida o si
18056 aparecerá en línea con el texto circundante.
18057 Si se pone falso, se supone que el entorno \SpecialChar LaTeX
18058 ignora los espacios en blanco
18059 (incluyendo un carácter de línea nueva) después de las etiquetas
18060 \begin_inset Flex Code
18063 \begin_layout Plain Layout
18076 \begin_inset Flex Code
18079 \begin_layout Plain Layout
18092 Por omisión, verdadero.
18095 \begin_layout Description
18096 \begin_inset Flex Code
18099 \begin_layout Plain Layout
18105 Requerido al final de las declaraciones de formato del recuadro
18106 \begin_inset Flex Code
18109 \begin_layout Plain Layout
18118 \begin_layout Description
18119 \begin_inset Flex Code
18122 \begin_layout Plain Layout
18128 La tipografía usada tanto para el cuerpo del texto como para la etiqueta.
18130 \begin_inset CommandInset ref
18132 reference "subsec:Tipografía"
18137 Anotar que al definir esta tipografía se define automáticamente el mismo
18138 valor para la etiqueta,
18139 \begin_inset Flex Code
18142 \begin_layout Plain Layout
18148 , así que define aquella primero y después define
18149 \begin_inset Flex Code
18152 \begin_layout Plain Layout
18158 si las quieres diferentes.
18161 \begin_layout Description
18162 \begin_inset Flex Code
18165 \begin_layout Plain Layout
18166 FixedWidthPreambleEncoding
18172 \begin_inset Flex Code
18175 \begin_layout Plain Layout
18184 \begin_inset space \thinspace{}
18188 \begin_inset Flex Code
18191 \begin_layout Plain Layout
18197 ] Fuerza una codificación de ancho fijo para el contenido traducido del
18199 \begin_inset Flex Code
18202 \begin_layout Plain Layout
18209 \begin_inset Flex Code
18212 \begin_layout Plain Layout
18218 generado por este formato.
18219 Esto es necesario para paquetes especiales \SpecialChar LaTeX
18224 que no trabajan con codificaciones de ancho variable como
18229 Esta configuración se ignora si se usan soportes \SpecialChar LaTeX
18230 compatibles totalmente
18231 con Unicode como Xe\SpecialChar TeX
18232 o Lua\SpecialChar TeX
18236 \begin_layout Description
18237 \begin_inset Flex Code
18240 \begin_layout Plain Layout
18241 ForceLocalFontSwitch
18247 \begin_inset Flex Code
18250 \begin_layout Plain Layout
18259 \begin_inset space \thinspace{}
18263 \begin_inset Flex Code
18266 \begin_layout Plain Layout
18272 ] Cuando se usa babel, usar siempre un cambiador de fuente local (
18273 \begin_inset Flex Code
18276 \begin_layout Plain Layout
18284 ), nunca uno global (como
18285 \begin_inset Flex Code
18288 \begin_layout Plain Layout
18299 \begin_layout Description
18300 \begin_inset Flex Code
18303 \begin_layout Plain Layout
18310 \begin_inset Flex Code
18313 \begin_layout Plain Layout
18322 \begin_inset space \thinspace{}
18326 \begin_inset Flex Code
18329 \begin_layout Plain Layout
18336 \begin_inset Quotes cld
18340 \begin_inset Quotes crd
18343 que genera salida Izquierda-Derecha (latin), p.
18344 \begin_inset space \thinspace{}
18348 \begin_inset space \space{}
18351 en código \SpecialChar TeX
18356 \begin_layout Description
18357 \begin_inset Flex Code
18360 \begin_layout Plain Layout
18367 \begin_inset Flex Code
18370 \begin_layout Plain Layout
18379 \begin_inset space \thinspace{}
18383 \begin_inset Flex Code
18386 \begin_layout Plain Layout
18392 ] Fuerza un salto de línea en la salida \SpecialChar LaTeX
18393 antes de iniciarse el recuadro
18394 de inserción y después de finalizar.
18395 Esto asegura que el recuadro mismo se ubique en sus propias líneas, con
18399 \begin_layout Description
18400 \begin_inset Flex Code
18403 \begin_layout Plain Layout
18410 \begin_inset Flex Code
18413 \begin_layout Plain Layout
18422 \begin_inset space \thinspace{}
18426 \begin_inset Flex Code
18429 \begin_layout Plain Layout
18435 ] Indica si debería usarse
18436 \begin_inset Flex Code
18439 \begin_layout Plain Layout
18445 o, por el contrario el usuario puede cambiar el estilo de párrafo del recuadro.
18448 \begin_layout Description
18449 \begin_inset Flex Code
18452 \begin_layout Plain Layout
18461 \begin_inset Flex Code
18464 \begin_layout Plain Layout
18473 \begin_inset space \thinspace{}
18477 \begin_inset Flex Code
18480 \begin_layout Plain Layout
18486 ] Como en estilos de párrafo, véase
18487 \begin_inset CommandInset ref
18489 reference "subsec:Estilos-de-párrafo"
18496 \begin_layout Description
18497 \begin_inset Flex Code
18500 \begin_layout Plain Layout
18506 Controlan la salida XHTML.
18508 \begin_inset CommandInset ref
18510 reference "sec:Etiquetas-para-XHTML"
18517 \begin_layout Description
18518 \begin_inset Flex Code
18521 \begin_layout Plain Layout
18528 \begin_inset Flex Code
18531 \begin_layout Plain Layout
18540 \begin_inset space \thinspace{}
18544 \begin_inset Flex Code
18547 \begin_layout Plain Layout
18553 ] Incluye o no el contenido de este inset en la cadena generada para el
18554 panel 'Navegador de contorno'
18556 for all table of contents, regardless of the AddToToc setting
18559 El no sería, por ejemplo, para que el contenido de una nota al pie en un
18560 encabezado de sección no aparezca en el índice que se despliega en el navegador
18561 de contorno, sin embargo, normalmente sí se incluiría el contenido de un
18562 estilo de carácter.
18563 Predeterminado es false: no incluir.
18566 \begin_layout Description
18569 \begin_inset Flex Code
18572 \begin_layout Plain Layout
18581 \begin_inset Flex Code
18584 \begin_layout Plain Layout
18594 \begin_inset space \thinspace{}
18598 \begin_inset Flex Code
18601 \begin_layout Plain Layout
18609 ] If this is set to 1 and AddToToc is enabled, the inset adds a summary
18610 of its contents in its item in the table of contents.
18611 Otherwise, only the label appears.
18614 \begin_layout Description
18615 \begin_inset Flex Code
18618 \begin_layout Plain Layout
18627 \begin_inset Flex Code
18630 \begin_layout Plain Layout
18641 \begin_inset space \thinspace{}
18645 \begin_inset Flex Code
18648 \begin_layout Plain Layout
18654 ] Como en estilos de párrafo, véase
18655 \begin_inset CommandInset ref
18657 reference "subsec:Estilos-de-párrafo"
18664 \begin_layout Description
18665 \begin_inset Flex Code
18668 \begin_layout Plain Layout
18674 La tipografía para la etiqueta.
18676 \begin_inset CommandInset ref
18678 reference "subsec:Tipografía"
18683 Anotar que esta definición nunca puede aparecer antes de
18684 \begin_inset Flex Code
18687 \begin_layout Plain Layout
18693 , para que sea efectiva.
18696 \begin_layout Description
18697 \begin_inset Flex Code
18700 \begin_layout Plain Layout
18707 \begin_inset Flex Code
18710 \begin_layout Plain Layout
18717 \begin_inset Quotes erd
18721 \begin_inset Quotes erd
18724 ] Lo que se mostrará sobre el botón u otra parte como etiqueta del recuadro.
18725 Algunos tipos de recuadro (
18726 \begin_inset Flex Code
18729 \begin_layout Plain Layout
18730 código \SpecialChar TeX
18737 \begin_inset Flex Code
18740 \begin_layout Plain Layout
18746 ) modifican esta etiqueta sobre la marcha.
18749 \begin_layout Description
18750 \begin_inset Flex Code
18753 \begin_layout Plain Layout
18759 Preámbulo dependiente del idioma; véase
18760 \begin_inset CommandInset ref
18762 reference "subsec:I18n"
18769 \begin_layout Description
18770 \begin_inset Flex Code
18773 \begin_layout Plain Layout
18780 \begin_inset Flex Code
18783 \begin_layout Plain Layout
18789 ] El nombre \SpecialChar LaTeX
18790 correspondiente al asunto.
18791 Cualquier nombre de entorno o de comando.
18794 \begin_layout Description
18795 \begin_inset Flex Code
18798 \begin_layout Plain Layout
18805 \begin_inset Flex Code
18808 \begin_layout Plain Layout
18814 ] El parámetro opcional para el correspondiente
18815 \begin_inset Flex Code
18818 \begin_layout Plain Layout
18824 , incluyendo posibles pares de corchetes,
18825 \begin_inset Flex Code
18828 \begin_layout Plain Layout
18835 Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
18837 \begin_inset Flex Code
18840 \begin_layout Plain Layout
18846 para parámetros personalizables).
18847 Se emitirá como tal después de todos los
18848 \begin_inset Flex Code
18851 \begin_layout Plain Layout
18861 \begin_layout Description
18862 \begin_inset Flex Code
18865 \begin_layout Plain Layout
18872 \begin_inset Flex Code
18875 \begin_layout Plain Layout
18876 Command, Environment, None
18881 ] Cómo debería traducirse el estilo en \SpecialChar LaTeX
18886 \begin_layout Plain Layout
18887 \begin_inset Flex Code
18890 \begin_layout Plain Layout
18896 es quizás un poco confuso porque estas eglas se aplican también a clases.
18897 Mira los archivos de clase SGML para ejemplos concretos.
18906 \begin_layout Description
18907 \begin_inset Flex Code
18910 \begin_layout Plain Layout
18916 significa nada especial
18919 \begin_layout Description
18920 \begin_inset Flex Code
18923 \begin_layout Plain Layout
18930 \begin_inset Flex Code
18933 \begin_layout Plain Layout
18940 {\SpecialChar ldots
18949 \begin_layout Description
18950 \begin_inset Flex Code
18953 \begin_layout Plain Layout
18960 \begin_inset Flex Code
18963 \begin_layout Plain Layout
18970 }\SpecialChar ldots
18985 \begin_layout Standard
18986 Poniendo juntas las últimas cosas, la salida \SpecialChar LaTeX
18990 \begin_layout LyX-Code
18993 LatexName[LatexParam]{\SpecialChar ldots
18997 \begin_layout Standard
19001 \begin_layout LyX-Code
19004 begin{LatexName}[LatexParam] \SpecialChar ldots
19010 \begin_layout Standard
19011 dependiendo del tipo de \SpecialChar LaTeX
19016 \begin_layout Description
19017 \begin_inset Flex Code
19020 \begin_layout Plain Layout
19027 \begin_inset Flex Code
19030 \begin_layout Plain Layout
19036 ] Secuencia que se pone al comienzo del contenido del formato.
19037 Un salto de línea en la salida se indica con
19038 \begin_inset Flex Code
19041 \begin_layout Plain Layout
19050 \begin_layout Description
19051 \begin_inset Flex Code
19054 \begin_layout Plain Layout
19061 \begin_inset Flex Code
19064 \begin_layout Plain Layout
19071 \begin_inset Flex Code
19074 \begin_layout Plain Layout
19081 \begin_inset Flex Code
19084 \begin_layout Plain Layout
19091 \begin_inset Flex Code
19094 \begin_layout Plain Layout
19100 (indicando una definición ficticia que finaliza definiciones de estilos
19102 Esta entrada es requerida y solo es significativa para recuadros flexibles.
19103 Entre otras cosas, determina en qué menús aparecerá este recuadro.
19105 \begin_inset Flex Code
19108 \begin_layout Plain Layout
19115 \begin_inset Flex Code
19118 \begin_layout Plain Layout
19125 \begin_inset Flex Code
19128 \begin_layout Plain Layout
19135 \begin_inset Flex Code
19138 \begin_layout Plain Layout
19150 \begin_inset Flex Code
19153 \begin_layout Plain Layout
19159 se puede poner como verdadero, o
19160 \begin_inset Flex Code
19163 \begin_layout Plain Layout
19173 e, para recuadros de estilos
19174 \begin_inset Flex Code
19177 \begin_layout Plain Layout
19188 \begin_inset Flex Code
19191 \begin_layout Plain Layout
19200 \begin_layout Description
19201 \begin_inset Flex Code
19204 \begin_layout Plain Layout
19211 \begin_inset Flex Code
19214 \begin_layout Plain Layout
19223 \begin_inset space \thinspace{}
19227 \begin_inset Flex Code
19230 \begin_layout Plain Layout
19236 ] Indica si se permiten múltiples párrafos en este recuadro.
19237 Además establecerá para CustomPars el mismo valor y para ForcePlain el
19239 Estos pueden modificarse a otros valores si se usan
19246 \begin_layout Description
19247 \begin_inset Flex Code
19250 \begin_layout Plain Layout
19257 \begin_inset Flex Code
19260 \begin_layout Plain Layout
19269 \begin_inset space \thinspace{}
19273 \begin_inset Flex Code
19276 \begin_layout Plain Layout
19282 ] Si los comandos frágiles deben o no ser
19283 \begin_inset Flex Code
19286 \begin_layout Plain Layout
19294 'ed en este recuadro.
19299 si el comando mismo debe ser protegido
19304 \begin_layout Description
19305 \begin_inset Flex Code
19308 \begin_layout Plain Layout
19315 \begin_inset Flex Code
19318 \begin_layout Plain Layout
19325 \begin_inset Flex Code
19328 \begin_layout Plain Layout
19337 \begin_layout Description
19338 \begin_inset Flex Code
19341 \begin_layout Plain Layout
19348 \begin_inset Flex Code
19351 \begin_layout Plain Layout
19358 \begin_inset Flex Code
19361 \begin_layout Plain Layout
19367 que ha recolocado este
19368 \begin_inset Flex Code
19371 \begin_layout Plain Layout
19378 Se usa para renombrar un
19379 \begin_inset Flex Code
19382 \begin_layout Plain Layout
19388 , mientras se mantiene compatibilidad hacia atrás.
19391 \begin_layout Description
19392 \begin_inset Flex Code
19395 \begin_layout Plain Layout
19402 \begin_inset Flex Code
19405 \begin_layout Plain Layout
19414 \begin_inset space \thinspace{}
19418 \begin_inset Flex Code
19421 \begin_layout Plain Layout
19427 ] Igual que para estilos de párrafo, véase
19428 \begin_inset CommandInset ref
19430 reference "subsec:Estilos-de-párrafo"
19435 Por omisión es falso.
19438 \begin_layout Description
19439 \begin_inset Flex Code
19442 \begin_layout Plain Layout
19451 \begin_inset Flex Code
19454 \begin_layout Plain Layout
19465 \begin_inset space \thinspace{}
19469 \begin_inset Flex Code
19472 \begin_layout Plain Layout
19478 ] Igual que para estilos de párrafo, véase
19479 \begin_inset CommandInset ref
19481 reference "subsec:Estilos-de-párrafo"
19488 \begin_layout Description
19489 \begin_inset Flex Code
19492 \begin_layout Plain Layout
19498 Igual que para estilos de párrafo, véase
19499 \begin_inset CommandInset ref
19501 reference "subsec:Estilos-de-párrafo"
19508 \begin_layout Description
19509 \begin_inset Flex Code
19512 \begin_layout Plain Layout
19519 \begin_inset Flex Code
19522 \begin_layout Plain Layout
19528 ] Prefijo a usar cuando se crean etiquetas que se refieren a recuadros de
19530 Esto permite el uso de referencias con formato.
19533 \begin_layout Description
19534 \begin_inset Flex Code
19537 \begin_layout Plain Layout
19544 \begin_inset Flex Code
19547 \begin_layout Plain Layout
19553 ] Igual que para estilos de párrafo, véase
19554 \begin_inset CommandInset ref
19556 reference "subsec:Estilos-de-párrafo"
19563 \begin_layout Description
19564 \begin_inset Flex Code
19567 \begin_layout Plain Layout
19574 \begin_inset Flex Code
19577 \begin_layout Plain Layout
19586 \begin_inset space \thinspace{}
19590 \begin_inset Flex Code
19593 \begin_layout Plain Layout
19599 ] Reinicia los argumentos \SpecialChar LaTeX
19600 de este formato (como se definen con
19601 \begin_inset Flex Code
19604 \begin_layout Plain Layout
19611 Es útil si has copiado un estilo con
19612 \begin_inset Flex Code
19615 \begin_layout Plain Layout
19621 , pero no quieres heredar sus argumentos (requerido y opcional).
19624 \begin_layout Description
19625 \begin_inset Flex Code
19628 \begin_layout Plain Layout
19635 \begin_inset Flex Code
19638 \begin_layout Plain Layout
19645 \begin_inset space \thinspace{}
19649 \begin_inset Flex Code
19652 \begin_layout Plain Layout
19660 ] Si este recuadro debería usar la tipografía de su entorno o la suya propia.
19661 Por omisión es la tipografía de su entorno.
19664 \begin_layout Description
19665 \begin_inset Flex Code
19668 \begin_layout Plain Layout
19675 \begin_inset Flex Code
19678 \begin_layout Plain Layout
19684 ] Secuencia que se pone al final del contenido del formato.
19685 Un salto de línea en la salida se indica con
19686 \begin_inset Flex Code
19689 \begin_layout Plain Layout
19698 \begin_layout Description
19699 \begin_inset Flex Code
19702 \begin_layout Plain Layout
19709 \begin_inset Flex Code
19712 \begin_layout Plain Layout
19719 \begin_inset space \thinspace{}
19723 \begin_inset Flex Code
19726 \begin_layout Plain Layout
19734 ] Revisar la ortografía del contenido del recuadro.
19738 \begin_layout Subsection
19740 \begin_inset CommandInset label
19742 name "subsec:Contadores"
19749 \begin_layout Standard
19750 Es necesario definir los contadores (
19751 \begin_inset Flex Noun
19754 \begin_layout Plain Layout
19761 \begin_inset Flex Noun
19764 \begin_layout Plain Layout
19770 , \SpecialChar ldots
19771 ) en la propia clase de texto.
19772 Los contadores estándar están definidos en el archivo
19773 \begin_inset Flex Code
19776 \begin_layout Plain Layout
19782 , de modo que no tienes más que añadir
19785 \begin_layout LyX-Code
19786 Input stdcounters.inc
19789 \begin_layout Standard
19790 en el archivo de formato para que funcionen.
19791 Pero si quieres puedes definir contadores personalizados.
19792 La declaración de un contador debe comenzar con:
19795 \begin_layout LyX-Code
19799 \begin_layout Standard
19801 \begin_inset Flex Code
19804 \begin_layout Plain Layout
19810 es el nombre del contador.
19811 Hay que terminar con
19812 \begin_inset Flex Code
19815 \begin_layout Plain Layout
19824 \begin_layout Standard
19825 Se pueden usar además los parámetros siguientes:
19828 \begin_layout Description
19829 \begin_inset Flex Code
19832 \begin_layout Plain Layout
19839 \begin_inset Flex Code
19842 \begin_layout Plain Layout
19848 ] Establece el valor inicial para el contador, al cuál se reiniciará cada
19849 vez que suceda esto.
19850 Normalmente será 1.
19853 \begin_layout Description
19854 \begin_inset Flex Code
19857 \begin_layout Plain Layout
19864 \begin_inset Flex Code
19867 \begin_layout Plain Layout
19873 =""] Si se define esta cadena, indica cómo se muestra el contador.
19874 Al establecer este valor también se da el mismo valor a
19875 \begin_inset Flex Code
19878 \begin_layout Plain Layout
19879 LabelStringAppendix
19885 Para los valores de 'string' se pueden usar las estructuras siguientes:
19889 \begin_layout Itemize
19890 \begin_inset Flex Code
19893 \begin_layout Plain Layout
19901 será reemplazado por la expansión de
19902 \begin_inset Flex Code
19905 \begin_layout Plain Layout
19912 \begin_inset Flex Code
19915 \begin_layout Plain Layout
19916 LabelStringAppendix
19922 \begin_inset Flex Code
19925 \begin_layout Plain Layout
19935 \begin_layout Itemize
19936 los valores del contador pueden expresarse usando macros tipo \SpecialChar LaTeX
19938 \begin_inset Flex Code
19941 \begin_layout Plain Layout
19958 \begin_inset Flex Code
19961 \begin_layout Plain Layout
19973 \begin_layout Plain Layout
19974 En realidad la cosa es un poco más compleja: cualquier
19978 distinto de los descritos a continuación generará números arábigos.
19979 No sería sorprendenta ver este cambio en el futuro.
19985 \begin_inset Flex Code
19988 \begin_layout Plain Layout
19994 : 1, 2, 3,\SpecialChar ldots
19996 \begin_inset Flex Code
19999 \begin_layout Plain Layout
20005 para minúsculas: a, b, c, \SpecialChar ldots
20007 \begin_inset Flex Code
20010 \begin_layout Plain Layout
20016 para mayúsculas: A, B, C, \SpecialChar ldots
20018 \begin_inset Flex Code
20021 \begin_layout Plain Layout
20027 números romanos en minúscula: i, ii, iii, \SpecialChar ldots
20032 \begin_layout Plain Layout
20038 \begin_inset space \thinspace{}
20046 \begin_inset Flex Code
20049 \begin_layout Plain Layout
20064 \begin_inset Flex Code
20067 \begin_layout Plain Layout
20081 los transforma automáticamente en versalitas
20086 , ya que los romanos en minúscula no se usan en español.
20093 \begin_inset Flex Code
20096 \begin_layout Plain Layout
20102 para romanos en mayúsculas: I, II, III\SpecialChar ldots
20104 \begin_inset Flex Code
20107 \begin_layout Plain Layout
20113 para números hebreos.
20117 \begin_layout Standard
20119 \begin_inset Flex Code
20122 \begin_layout Plain Layout
20128 , se construye un valor por omisión así: si el contador tiene un contador
20130 \begin_inset Flex Code
20133 \begin_layout Plain Layout
20140 \begin_inset Flex Code
20143 \begin_layout Plain Layout
20149 ), se usa la cadena
20150 \begin_inset Flex Code
20153 \begin_layout Plain Layout
20163 ; si no, se usa la cadena
20164 \begin_inset Flex Code
20167 \begin_layout Plain Layout
20178 \begin_layout Description
20179 \begin_inset Flex Code
20182 \begin_layout Plain Layout
20183 LabelStringAppendix
20189 \begin_inset Flex Code
20192 \begin_layout Plain Layout
20199 \begin_inset Flex Code
20202 \begin_layout Plain Layout
20208 , pero para el apéndice.
20211 \begin_layout Description
20212 \begin_inset Flex Code
20215 \begin_layout Plain Layout
20222 \begin_inset Flex Code
20225 \begin_layout Plain Layout
20232 \begin_inset Quotes erd
20236 \begin_inset Quotes erd
20239 ] Un formato para usar con las referencias a este contador.
20240 Por ejemplo, podríamos querer las referencias a los números de sección
20242 \begin_inset Quotes cld
20246 \begin_inset space ~
20250 \begin_inset Quotes crd
20254 La secuencia debería contener
20255 \begin_inset Quotes eld
20259 \begin_inset Quotes erd
20263 Esto será reemplazado por el número correspondiente del contador.
20264 Así pues, para secciones sería: Section ##.
20267 \begin_layout Description
20268 \begin_inset Flex Code
20271 \begin_layout Plain Layout
20278 \begin_inset Flex Code
20281 \begin_layout Plain Layout
20287 =""] Si esto se establece para el nombre de otro contador, el presente contador
20288 se reiniciará cada vez que el otro aumente.
20290 \begin_inset Flex Code
20293 \begin_layout Plain Layout
20299 se numera dentro de
20300 \begin_inset Flex Code
20303 \begin_layout Plain Layout
20312 \begin_layout Subsection
20313 Descripción de la tipografía
20314 \begin_inset CommandInset label
20316 name "subsec:Tipografía"
20323 \begin_layout Standard
20324 Una descripción de una tipografía se ve así:
20327 \begin_layout LyX-Code
20341 \begin_layout LyX-Code
20345 \begin_layout LyX-Code
20349 \begin_layout Standard
20350 Están disponibles los comandos siguientes:
20353 \begin_layout Description
20354 \begin_inset Flex Code
20357 \begin_layout Plain Layout
20364 \begin_inset Flex Code
20367 \begin_layout Plain Layout
20376 \begin_inset Flex Code
20379 \begin_layout Plain Layout
20386 \begin_inset Flex Code
20389 \begin_layout Plain Layout
20396 \begin_inset Flex Code
20399 \begin_layout Plain Layout
20406 \begin_inset Flex Code
20409 \begin_layout Plain Layout
20416 \begin_inset Flex Code
20419 \begin_layout Plain Layout
20426 \begin_inset Flex Code
20429 \begin_layout Plain Layout
20436 \begin_inset Flex Code
20439 \begin_layout Plain Layout
20446 \begin_inset Flex Code
20449 \begin_layout Plain Layout
20456 \begin_inset Flex Code
20459 \begin_layout Plain Layout
20466 \begin_inset Flex Code
20469 \begin_layout Plain Layout
20476 \begin_inset Flex Code
20479 \begin_layout Plain Layout
20486 \begin_inset Flex Code
20489 \begin_layout Plain Layout
20496 \begin_inset Flex Code
20499 \begin_layout Plain Layout
20506 \begin_inset Flex Code
20509 \begin_layout Plain Layout
20516 \begin_inset Flex Code
20519 \begin_layout Plain Layout
20526 \begin_inset Flex Code
20529 \begin_layout Plain Layout
20536 \begin_inset Flex Code
20539 \begin_layout Plain Layout
20546 \begin_inset Flex Code
20549 \begin_layout Plain Layout
20556 \begin_inset Flex Code
20559 \begin_layout Plain Layout
20568 \begin_layout Description
20569 \begin_inset Flex Code
20572 \begin_layout Plain Layout
20581 \begin_inset Flex Code
20584 \begin_layout Plain Layout
20595 \begin_inset Flex Code
20598 \begin_layout Plain Layout
20605 \begin_inset Flex Code
20608 \begin_layout Plain Layout
20617 \begin_layout Description
20618 \begin_inset Flex Code
20621 \begin_layout Plain Layout
20628 \begin_inset Flex Code
20631 \begin_layout Plain Layout
20637 ] Son argumentos válidos:
20638 \begin_inset Flex Code
20641 \begin_layout Plain Layout
20648 \begin_inset Flex Code
20651 \begin_layout Plain Layout
20658 \begin_inset Flex Code
20661 \begin_layout Plain Layout
20668 \begin_inset Flex Code
20671 \begin_layout Plain Layout
20678 \begin_inset Flex Code
20681 \begin_layout Plain Layout
20688 \begin_inset Flex Code
20691 \begin_layout Plain Layout
20698 \begin_inset Flex Code
20701 \begin_layout Plain Layout
20708 \begin_inset Flex Code
20711 \begin_layout Plain Layout
20718 \begin_inset Flex Code
20721 \begin_layout Plain Layout
20728 \begin_inset Flex Code
20731 \begin_layout Plain Layout
20738 \begin_inset Flex Code
20741 \begin_layout Plain Layout
20748 \begin_inset Flex Code
20751 \begin_layout Plain Layout
20758 Cada uno de ellos activa o desactiva el atributo correspondiente.
20760 \begin_inset Flex Code
20763 \begin_layout Plain Layout
20770 \begin_inset Flex Code
20773 \begin_layout Plain Layout
20780 \begin_inset Newline newline
20783 Si esto último parece superfluo, recordemos que la configuración de tipografías
20784 para el presente contexto se hereda generalmente del contexto circundante.
20786 \begin_inset Flex Code
20789 \begin_layout Plain Layout
20795 desactivaría el énfasis que estaba vigente, digamos, en un entorno teorema.
20798 \begin_layout Description
20799 \begin_inset Flex Code
20802 \begin_layout Plain Layout
20811 \begin_inset Flex Code
20814 \begin_layout Plain Layout
20825 \begin_inset Flex Code
20828 \begin_layout Plain Layout
20837 \begin_layout Description
20838 \begin_inset Flex Code
20841 \begin_layout Plain Layout
20850 \begin_inset Flex Code
20853 \begin_layout Plain Layout
20864 \begin_inset Flex Code
20867 \begin_layout Plain Layout
20874 \begin_inset Flex Code
20877 \begin_layout Plain Layout
20884 \begin_inset Flex Code
20887 \begin_layout Plain Layout
20896 \begin_layout Description
20897 \begin_inset Flex Code
20900 \begin_layout Plain Layout
20907 \begin_inset Flex Code
20910 \begin_layout Plain Layout
20917 \begin_inset Flex Code
20920 \begin_layout Plain Layout
20927 \begin_inset Flex Code
20930 \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
20969 \begin_inset Flex Code
20972 \begin_layout Plain Layout
20979 \begin_inset Flex Code
20982 \begin_layout Plain Layout
20991 \begin_layout Subsection
20994 \begin_inset CommandInset label
20996 name "subsec:Citation-engine-description"
21000 Citation engine description
21003 \begin_layout Standard
21007 \begin_inset Flex Code
21010 \begin_layout Plain Layout
21018 blocks, as used mainly in cite engine files (see
21019 \begin_inset CommandInset ref
21021 reference "subsec:Cite-Engine-Files"
21028 ), define the citation commands provided by a specific
21029 \begin_inset Quotes eld
21033 \begin_inset Quotes erd
21037 A cite engine, in \SpecialChar LyX
21038 terms, is way specific way to format citations, using
21039 numbers, author names and/or years.
21040 Currently, \SpecialChar LyX
21041 supports three such engine types, namely:
21044 \begin_layout Enumerate
21047 \begin_inset Flex Code
21050 \begin_layout Plain Layout
21058 : the default Bib\SpecialChar TeX
21059 way to format citations, a simple numeric style (e.
21060 \begin_inset space \thinspace{}
21064 \begin_inset Quotes eld
21068 \begin_inset Quotes erd
21074 \begin_layout Enumerate
21077 \begin_inset Flex Code
21080 \begin_layout Plain Layout
21088 : Harvard-styled citations using author names and publication year (e.
21089 \begin_inset space \thinspace{}
21093 \begin_inset Quotes eld
21096 Smith and Miller (2017b)
21097 \begin_inset Quotes erd
21103 \begin_layout Enumerate
21106 \begin_inset Flex Code
21109 \begin_layout Plain Layout
21117 : extended numerical citations that also allow for author or title next
21119 \begin_inset space \thinspace{}
21123 \begin_inset Quotes eld
21126 Smith and Miller [1]
21127 \begin_inset Quotes erd
21133 \begin_layout Standard
21136 \begin_inset Flex Code
21139 \begin_layout Plain Layout
21147 blocks look like this:
21150 \begin_layout LyX-Code
21156 \begin_layout LyX-Code
21162 \begin_layout LyX-Code
21168 \begin_layout LyX-Code
21171 citeyearpar[][]=parencite*
21174 \begin_layout LyX-Code
21180 \begin_layout LyX-Code
21186 \begin_layout Standard
21190 \begin_inset Flex Code
21193 \begin_layout Plain Layout
21201 denotes the engine.
21202 The individual lines respectively define a cite command or cite command
21203 paradigm supported by this engine.
21204 The line can be as simple as a cite command that is used both to name the
21205 respective \SpecialChar LyX
21206 command and the \SpecialChar LaTeX
21207 output or more complex in order to differentiate
21209 The full syntax is:
21212 \begin_layout LyX-Code
21215 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
21218 \begin_layout Itemize
21221 \begin_inset Flex Code
21224 \begin_layout Plain Layout
21232 : The name as used in the
21233 \begin_inset Flex Code
21236 \begin_layout Plain Layout
21248 \begin_layout Standard
21251 For portability reasons, we try to use the same name for same-formatted
21252 commands in different cite packages (thus many names stem from natbib,
21253 and thus we need to differentiate a
21254 \begin_inset Flex Code
21257 \begin_layout Plain Layout
21265 sometimes, if the \SpecialChar LaTeX
21266 command names differ).
21270 \begin_layout Itemize
21273 \begin_inset Flex Code
21276 \begin_layout Plain Layout
21284 : a (comma-separated) list of commands that fall back to the given
21285 \begin_inset Flex Code
21288 \begin_layout Plain Layout
21296 in the current engine.
21297 This eases the switch of citation packages and engines.
21299 \begin_inset Flex Code
21302 \begin_layout Plain Layout
21311 \begin_inset Flex Code
21314 \begin_layout Plain Layout
21322 in layout definitions.
21325 \begin_layout Itemize
21328 \begin_inset Flex Code
21331 \begin_layout Plain Layout
21339 : The actual \SpecialChar LaTeX
21340 command that is output.
21344 \begin_layout Standard
21347 \begin_inset Flex Code
21350 \begin_layout Plain Layout
21359 \begin_inset Flex Code
21362 \begin_layout Plain Layout
21372 \begin_inset Flex Code
21375 \begin_layout Plain Layout
21384 \begin_inset Flex Code
21387 \begin_layout Plain Layout
21395 will be output to \SpecialChar LaTeX
21399 \begin_layout Standard
21405 \begin_layout Itemize
21408 Capitalization indicates that the command also has a capitalized form (
21409 \begin_inset Flex Code
21412 \begin_layout Plain Layout
21424 \begin_inset Flex Code
21427 \begin_layout Plain Layout
21438 These usually enforce up-casing of name prefixes (
21443 \begin_inset Formula $\Rightarrow$
21453 \begin_layout Itemize
21457 \begin_inset Flex Code
21460 \begin_layout Plain Layout
21468 indicate the number of optional arguments (there can be 0–2).
21471 \begin_layout Itemize
21475 \begin_inset Flex Code
21478 \begin_layout Plain Layout
21486 indicates there is a starred version of the command (
21487 \begin_inset Flex Code
21490 \begin_layout Plain Layout
21502 \begin_inset Flex Code
21505 \begin_layout Plain Layout
21520 \begin_layout Standard
21523 By default, the starred version means: Output all authors even if it should
21525 \begin_inset Quotes eld
21529 \begin_inset Quotes erd
21533 \begin_inset Flex Code
21536 \begin_layout Plain Layout
21547 \begin_layout Standard
21550 If the star has a different meaning for a given command, it can be specified
21552 \begin_inset Flex Code
21555 \begin_layout Plain Layout
21558 <!_stardesc!_stardesctooltip>
21564 Maximal two translatable macro keywords, marked by the prefix
21565 \begin_inset Flex Code
21568 \begin_layout Plain Layout
21577 The first points to the string that replaces the
21578 \begin_inset Quotes eld
21582 \begin_inset Quotes erd
21585 checkbox label in the citation dialog, the second one to an optional tool
21586 tip for this checkbox.
21590 \begin_layout Standard
21593 Note that these two macros have to be defined in a
21594 \begin_inset Flex Code
21597 \begin_layout Plain Layout
21605 (see next section), dropping the
21606 \begin_inset Flex Code
21609 \begin_layout Plain Layout
21617 from the prefix, like this:
21620 \begin_layout LyX-Code
21623 _stardesc Sta&rred command label
21626 \begin_layout LyX-Code
21629 _stardesctooltip Tooltip for the starred command checkbox.
21633 \begin_layout Itemize
21637 \begin_inset Flex Code
21640 \begin_layout Plain Layout
21648 indicates that this command features
21649 \begin_inset Quotes eld
21652 qualified citation lists
21653 \begin_inset Quotes erd
21661 -specific feature for multi-reference citations where an individual pre-
21662 and postnote can be given to each reference in the list.
21663 Please refer to the
21667 manual for details.
21670 \begin_layout Subsection
21671 \begin_inset CommandInset label
21673 name "subsec:Descripción-formato-cita"
21677 Descripción del formato de cita
21680 \begin_layout Standard
21682 \begin_inset Flex Code
21685 \begin_layout Plain Layout
21691 se usan para describir la forma en que debe mostrarse la información bibliográf
21692 ica, tanto en \SpecialChar LyX
21693 (en el diálogo de citas y en las ayudas emergentes, por ejemplo)
21694 como en la salida XHTML.
21695 El aspecto de unode estos bloques podría ser este:
21698 \begin_layout LyX-Code
21702 \begin_layout LyX-Code
21706 \begin_layout LyX-Code
21710 \begin_layout LyX-Code
21714 \begin_layout Standard
21720 \begin_layout LyX-Code
21726 \begin_layout LyX-Code
21732 \begin_layout LyX-Code
21738 \begin_layout LyX-Code
21744 \begin_layout Standard
21747 In the first case, the individual lines
21749 definen cómo se va a mostrar la información bibliográfica asociada con un
21750 artículo o libro, respectivamente, y tales definiciones se pueden dar para
21751 cualquier `tipo de entrada' que pudiera estar presente en un archivo Bib\SpecialChar TeX
21754 define un formato por omsión en el código fuente que se usará si no se
21755 da una definición específica.
21757 predefine varios formatos en el archivo
21758 \begin_inset Flex Code
21761 \begin_layout Plain Layout
21767 , que se incluye en la mayoría de las clases de documento de \SpecialChar LyX
21771 \begin_layout Standard
21774 In the second case, the lines define how a specific citation command (in
21776 \begin_inset Flex Code
21779 \begin_layout Plain Layout
21790 \begin_inset Flex Code
21793 \begin_layout Plain Layout
21803 ) is to be displayed on the citation inset label, in the citation dialog,
21804 menu or XHTML output.
21806 defines such formats for the citation style variants it supports via
21808 Document\SpecialChar menuseparator
21809 Setting\SpecialChar menuseparator
21810 Bibliography\SpecialChar ldots
21814 \begin_inset Flex Code
21817 \begin_layout Plain Layout
21825 files that are shipped with \SpecialChar LyX
21827 \begin_inset CommandInset ref
21829 reference "subsec:Cite-Engine-Files"
21839 \begin_layout Standard
21840 Las definiciones usan un lenguaje simple que permite reemplazar las claves
21841 Bib\SpecialChar TeX
21843 Las claves deben encerrarse entre símbolos
21844 \begin_inset Flex Code
21847 \begin_layout Plain Layout
21854 \begin_inset space \thinspace{}
21858 \begin_inset Flex Code
21861 \begin_layout Plain Layout
21868 Así, una simple definición sería:
21871 \begin_layout LyX-Code
21873 \begin_inset Quotes eld
21877 \begin_inset Quotes erd
21883 \begin_layout Standard
21884 Esto imprimiría el autor, una coma, a continuación el título entre comillas
21885 y un punto para finalizar.
21888 \begin_layout Standard
21889 A veces querrás, por supuesto, imprimir una clave solo si existe.
21890 Esto puede hacerse mediante una construcción condicional tal como:
21891 \begin_inset Flex Code
21894 \begin_layout Plain Layout
21896 \begin_inset space ~
21904 , que quiere decir: si la clave
21905 \begin_inset Flex Code
21908 \begin_layout Plain Layout
21915 \begin_inset Quotes eld
21919 \begin_inset space ~
21923 \begin_inset Quotes erd
21926 seguido de la clave.
21927 También es posible tener una cláusula de otro modo en el condicional, como:
21928 \begin_inset Newline newline
21932 \begin_inset Flex Code
21935 \begin_layout Plain Layout
21936 {%author%[[%author%]][[%editor%, ed.]]}
21942 \begin_inset Newline newline
21946 \begin_inset Flex Code
21949 \begin_layout Plain Layout
21955 se imprime si existe; por otra parte, se imprime la clave
21956 \begin_inset Flex Code
21959 \begin_layout Plain Layout
21966 \begin_inset Quotes eld
21970 \begin_inset space ~
21974 \begin_inset Quotes erd
21978 Advierte que la clave se encierra entre signos
21979 \begin_inset Flex Code
21982 \begin_layout Plain Layout
21988 ; el condicional entero se encierra entre llaves; y las cláusulas condicional
21989 y por otra parte se ponen entre cobles corchetes,
21990 \begin_inset Quotes eld
21994 \begin_inset Flex Code
21997 \begin_layout Plain Layout
22004 \begin_inset Quotes eld
22008 \begin_inset Quotes eld
22012 \begin_inset Flex Code
22015 \begin_layout Plain Layout
22022 \begin_inset Quotes erd
22026 No debe haber espacios entre ninguno de ellos.
22029 \begin_layout Standard
22032 Next to the entry keys, there are some special keys that can be used for
22033 these conditionals:
22036 \begin_layout Itemize
22039 \begin_inset Flex Code
22042 \begin_layout Plain Layout
22045 {%dialog%[[true]][[false]]}
22051 \begin_inset Quotes eld
22055 \begin_inset Quotes erd
22058 part for dialogs and menus, the
22059 \begin_inset Quotes eld
22063 \begin_inset Quotes erd
22066 part for other contexts (workarea, export)
22069 \begin_layout Itemize
22072 \begin_inset Flex Code
22075 \begin_layout Plain Layout
22078 {%export%[[true]][[false]]}
22084 \begin_inset Quotes eld
22088 \begin_inset Quotes erd
22091 part for export and menus, the
22092 \begin_inset Quotes eld
22096 \begin_inset Quotes erd
22099 part for other contexts (workarea, dialog)
22102 \begin_layout Itemize
22105 \begin_inset Flex Code
22108 \begin_layout Plain Layout
22117 \begin_inset Quotes eld
22121 \begin_inset Quotes erd
22124 part if another item follows (e.
22125 \begin_inset space \thinspace{}
22128 g., in a citation with multiple keys)
22131 \begin_layout Itemize
22134 \begin_inset Flex Code
22137 \begin_layout Plain Layout
22140 {%second%[[true]][[false]]}
22146 \begin_inset Quotes eld
22150 \begin_inset Quotes erd
22153 if this is the second of multiple items, else the
22154 \begin_inset Quotes eld
22158 \begin_inset Quotes erd
22164 \begin_layout Itemize
22167 \begin_inset Flex Code
22170 \begin_layout Plain Layout
22173 {%ifstar%[[true]][[false]]}
22179 \begin_inset Quotes eld
22183 \begin_inset Quotes erd
22186 part for starred citation commands (such as
22187 \begin_inset Flex Code
22190 \begin_layout Plain Layout
22200 ), the false part for unstarred
22203 \begin_layout Itemize
22206 \begin_inset Flex Code
22209 \begin_layout Plain Layout
22212 {%ifentrytype:<type>%[[true]][[false]]}
22218 \begin_inset Quotes eld
22222 \begin_inset Quotes erd
22225 if the current entry type matches
22226 \begin_inset Flex Code
22229 \begin_layout Plain Layout
22237 , else the false part (e.g., in a citation definition:
22238 \begin_inset Flex Code
22241 \begin_layout Plain Layout
22244 {%ifentrytype:book%[[this is a book]][[this is no book]]}
22252 \begin_layout Itemize
22255 \begin_inset Flex Code
22258 \begin_layout Plain Layout
22261 {%ifmultiple:<authortype>%[[true]][[false]]}
22267 \begin_inset Quotes eld
22271 \begin_inset Quotes erd
22274 if the current author type (author, editor etc.) has multiple authors, else
22275 the false part (e.g., in a bibliography definition:
22276 \begin_inset Flex Code
22279 \begin_layout Plain Layout
22282 {%ifmultiple:editor%[[eds.]][[ed.]]}
22290 \begin_layout Itemize
22293 \begin_inset Flex Code
22296 \begin_layout Plain Layout
22299 {%ifqualified%[[true]][[false]]}
22305 \begin_inset Quotes eld
22309 \begin_inset Quotes erd
22312 part if the current citation is a qualified citation list (a specific
22316 format for multi-reference citations), the false part if this is not the
22320 \begin_layout Standard
22324 \begin_inset Flex Code
22327 \begin_layout Plain Layout
22335 prints the author key as it is recorded in the bibliography file.
22336 This might not be what you want, since it will result in a string such
22338 \begin_inset Quotes eld
22341 Miller, Peter and Smith, Mary and White, Jane
22342 \begin_inset Quotes erd
22346 \begin_inset Quotes eld
22350 \begin_inset Quotes erd
22353 is used by Bib\SpecialChar TeX
22354 to delimit authors).
22356 therefore provides some methods to get properly formatted name lists (which
22357 will also get translated).
22358 The following keys are provided:
22361 \begin_layout Enumerate
22364 For name lists with pre- and surname, suitable for the main authors/editors
22365 of a bibliography item.
22367 \begin_inset Flex Code
22370 \begin_layout Plain Layout
22378 part denotes the kind of list that is requested (e.g.
22380 \begin_inset Flex Code
22383 \begin_layout Plain Layout
22395 \begin_layout Itemize
22398 \begin_inset Flex Code
22401 \begin_layout Plain Layout
22404 %abbrvnames:<nametype>%
22409 : Provides a name list which is abbreviated (with
22410 \begin_inset Quotes eld
22414 \begin_inset Quotes erd
22418 \begin_inset Flex Code
22421 \begin_layout Plain Layout
22432 \begin_layout Itemize
22435 \begin_inset Flex Code
22438 \begin_layout Plain Layout
22441 %fullnames:<nametype>%
22446 : Provides a full name list (never abbreviated with
22447 \begin_inset Quotes eld
22451 \begin_inset Quotes erd
22457 \begin_layout Itemize
22460 \begin_inset Flex Code
22463 \begin_layout Plain Layout
22466 %forceabbrvnames:<nametype>%
22471 : Provides a name list which is always abbreviated (with
22472 \begin_inset Quotes eld
22476 \begin_inset Quotes erd
22480 \begin_inset Flex Code
22483 \begin_layout Plain Layout
22495 \begin_layout Enumerate
22498 Alternative name lists with pre- and surname, if the order of pre- and surname
22499 inside the bibliography item differs (as in:
22500 \begin_inset Quotes eld
22503 Miller, John: Some text, in: Mary Smith, ed.: A volume
22504 \begin_inset Quotes erd
22511 \begin_layout Itemize
22514 \begin_inset Flex Code
22517 \begin_layout Plain Layout
22520 %abbrvbynames:<nametype>%
22525 : Provides a name list which is abbreviated (with
22526 \begin_inset Quotes eld
22530 \begin_inset Quotes erd
22534 \begin_inset Flex Code
22537 \begin_layout Plain Layout
22548 \begin_layout Itemize
22551 \begin_inset Flex Code
22554 \begin_layout Plain Layout
22557 %fullbynames:<nametype>%
22562 : Provides a full name list (never abbreviated with
22563 \begin_inset Quotes eld
22567 \begin_inset Quotes erd
22573 \begin_layout Itemize
22576 \begin_inset Flex Code
22579 \begin_layout Plain Layout
22582 %forceabbrvbynames:<nametype>%
22587 : Provides a name list which is always abbreviated (with
22588 \begin_inset Quotes eld
22592 \begin_inset Quotes erd
22596 \begin_inset Flex Code
22599 \begin_layout Plain Layout
22611 \begin_layout Enumerate
22614 And finally name lists which consist of family names only, as used in author-yea
22616 these do not take a
22617 \begin_inset Flex Code
22620 \begin_layout Plain Layout
22628 part, but always return either an author list or, if this does not exist,
22629 an editor list (as common in author-year labels):
22633 \begin_layout Itemize
22636 \begin_inset Flex Code
22639 \begin_layout Plain Layout
22647 : Provides a name list which is abbreviated (with
22648 \begin_inset Quotes eld
22652 \begin_inset Quotes erd
22656 \begin_inset Flex Code
22659 \begin_layout Plain Layout
22670 \begin_layout Itemize
22673 \begin_inset Flex Code
22676 \begin_layout Plain Layout
22684 : Provides a full name list (never abbreviated with
22685 \begin_inset Quotes eld
22689 \begin_inset Quotes erd
22695 \begin_layout Itemize
22698 \begin_inset Flex Code
22701 \begin_layout Plain Layout
22704 %forceabbrvciteauthor%
22709 : Provides a name list which is always abbreviated (with
22710 \begin_inset Quotes eld
22714 \begin_inset Quotes erd
22718 \begin_inset Flex Code
22721 \begin_layout Plain Layout
22733 \begin_layout Standard
22736 The order of pre- and surname in the former two lists can be adjusted by
22740 \begin_layout Itemize
22743 \begin_inset Flex Code
22746 \begin_layout Plain Layout
22749 !firstnameform %surname%, %prename%
22754 (first author in lists of type 1)
22757 \begin_layout Itemize
22760 \begin_inset Flex Code
22763 \begin_layout Plain Layout
22766 !othernameform %surname%, %prename%
22771 (other authors in lists of type 1)
22774 \begin_layout Itemize
22777 \begin_inset Flex Code
22780 \begin_layout Plain Layout
22783 !firstbynameform %prename% %surname%
22788 (first author in lists of type 2)
22791 \begin_layout Itemize
22794 \begin_inset Flex Code
22797 \begin_layout Plain Layout
22800 !otherbynameform %prename% %surname%
22805 (other authors in lists of type 2)
22808 \begin_layout Standard
22811 This allows you to configure namings like
22812 \begin_inset Quotes eld
22815 Miller, Peter and Mary Smith: \SpecialChar ldots
22816 , in: John Doe and Pat Green, eds.:\SpecialChar ldots
22818 \begin_inset Quotes erd
22824 \begin_layout Standard
22825 Hay otra pieza de sintaxis disponible en las definiciones, como esta:
22826 \begin_inset Flex Code
22829 \begin_layout Plain Layout
22836 Define una pieza de información para ser usada cuando creamos
22837 \begin_inset Quotes eld
22841 \begin_inset Quotes erd
22845 Obviamente, no queremos etiquetas HTML cuando escribimos texto sencillo,
22846 por tanto deben ponerse entre
22847 \begin_inset Quotes eld
22851 \begin_inset Quotes erd
22855 \begin_inset Quotes eld
22859 \begin_inset Quotes erd
22865 \begin_layout Standard
22866 Además, hay dos clases especiales de definiciones disponibles en un bloque
22868 \begin_inset Flex Code
22871 \begin_layout Plain Layout
22878 Un ejemplo de la primera sería:
22881 \begin_layout LyX-Code
22883 \begin_inset Quotes eld
22887 \begin_inset Quotes erd
22893 \begin_layout Standard
22894 Esto es una abreviación, o macro, y se puede usar tratándola como si fuera
22896 \begin_inset Flex Code
22899 \begin_layout Plain Layout
22908 \begin_inset Flex Code
22911 \begin_layout Plain Layout
22917 exactamente como trataría su definición.
22918 Por tanto, permítenos un
22926 \begin_layout LyX-Code
22930 \begin_layout Standard
22933 no caería en un bucle infinito, pero sí en uno muy largo.
22936 \begin_layout Standard
22937 El segundo tipo especial de definición sería como:
22940 \begin_layout LyX-Code
22944 \begin_layout Standard
22945 Esto define un trozo de texto traducible, que permite traducir partes relevantes
22951 Puede incluirse en una definición tratándolo como una clave:
22952 \begin_inset Flex Code
22955 \begin_layout Plain Layout
22962 Varios de estos están predefinidos en
22963 \begin_inset Flex Code
22966 \begin_layout Plain Layout
22975 \begin_inset Flex Code
22978 \begin_layout Plain Layout
22989 Advertiremos que no son macros en el sentido definido.
22993 \begin_layout Standard
22994 Aquí hay, pues, un ejemplo que usa todas estas características:
22995 \begin_inset VSpace defskip
23001 \begin_layout Standard
23005 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %_edtext%, ]]}]]}
23008 \begin_layout Standard
23009 \begin_inset VSpace defskip
23012 Así definimos una macro que imprime el autor seguido de coma, si la clave
23014 \begin_inset Flex Code
23017 \begin_layout Plain Layout
23023 está definida, o imprime el nombre del editor seguido por el texto
23024 \begin_inset Flex Code
23027 \begin_layout Plain Layout
23033 o su traducción (por omisión
23034 \begin_inset Quotes eld
23038 \begin_inset Quotes erd
23042 \begin_inset Flex Code
23045 \begin_layout Plain Layout
23052 De hecho, esto está definido en
23053 \begin_inset Flex Code
23056 \begin_layout Plain Layout
23062 , por tanto puedes usarlo en tus propias definiciones o redefiniciones,
23063 si cargas antes ese archivo.
23066 \begin_layout Section
23067 Etiquetas para la salida XHTML
23068 \begin_inset CommandInset label
23070 name "sec:Etiquetas-para-XHTML"
23077 \begin_layout Standard
23078 Como para \SpecialChar LaTeX
23079 o DocBook, el formato de salida XHTML en \SpecialChar LyX
23080 también se controla
23081 mediante la información contenida en archivos de formato.
23082 En general, \SpecialChar LyX
23083 provee valores predefinidos sensatos y, como se mencionó anteriorm
23084 ente, incluso construirá reglas de estilo CSS a partir de las otras etiquetas
23086 Por ejemplo, \SpecialChar LyX
23087 intentará usar la información proporcionada por la declaración
23089 \begin_inset Flex Code
23092 \begin_layout Plain Layout
23098 para el estilo Chapter para escribir CSS que formateará adecuadamente los
23099 encabezados de capítulo.
23102 \begin_layout Standard
23103 En muchos casos, por tanto, no tendrás que hacer nada para obtener una aceptable
23104 salida XHTML para tus propios entornos, recuadros personalizados y cosas
23106 Pero en ciertos casos querrás hacer cambios, y para eso \SpecialChar LyX
23108 número de etiquetas de formato que se pueden usar para personalizar los
23109 XHTML y CSS generados.
23112 \begin_layout Standard
23113 Advertimos que hay dos etiquetas,
23114 \begin_inset Flex Code
23117 \begin_layout Plain Layout
23124 \begin_inset Flex Code
23127 \begin_layout Plain Layout
23133 que pueden aparecer fuera de las declaraciones de estilos y recuadros.
23135 \begin_inset CommandInset ref
23137 reference "subsec:Parámetros-generales-clases"
23141 para detalles sobre esto.
23144 \begin_layout Subsection
23146 \begin_inset CommandInset label
23148 name "subsec:Estilos-de-párrafo-XHTML"
23155 \begin_layout Standard
23156 El tipo de XHTML que genera \SpecialChar LyX
23157 para un párrafo depende de si se trata de un
23158 párrafo normal, de un comando o de un entorno, en los que esto se determina
23159 por el contenido de la correspondiente etiqueta
23160 \begin_inset Flex Code
23163 \begin_layout Plain Layout
23174 \begin_layout Standard
23175 Para un comando o párrafo, la salida XHTML tiene la forma siguiente:
23178 \begin_layout LyX-Code
23180 \begin_inset Quotes erd
23184 \begin_inset Quotes erd
23190 \begin_layout LyX-Code
23192 \begin_inset Quotes erd
23196 \begin_inset Quotes erd
23202 \begin_layout LyX-Code
23203 Contents of the paragraph.
23206 \begin_layout LyX-Code
23210 \begin_layout Standard
23211 Por supuesto, `label tags´ se omiten si el párrafo no tiene etiqueta.
23214 \begin_layout Standard
23215 Para un entorno que no sea algún tipo de lista, XHTML toma la forma:
23218 \begin_layout LyX-Code
23220 \begin_inset Quotes erd
23224 \begin_inset Quotes erd
23230 \begin_layout LyX-Code
23232 \begin_inset Quotes erd
23236 \begin_inset Quotes erd
23240 \begin_inset Quotes erd
23244 \begin_inset Quotes erd
23247 >Environment Label</labeltag>First paragraph.</itemtag>
23250 \begin_layout LyX-Code
23251 <itemtag>Second paragraph.</itemtag>
23254 \begin_layout LyX-Code
23258 \begin_layout Standard
23259 La etiqueta se genera solo para el primer párrafo, como debería ser, por
23260 ejemplo, para un teorema.
23264 \begin_layout Standard
23265 Para una lista disponemos de una de estas formas:
23268 \begin_layout LyX-Code
23270 \begin_inset Quotes erd
23274 \begin_inset Quotes erd
23280 \begin_layout LyX-Code
23282 \begin_inset Quotes erd
23286 \begin_inset Quotes erd
23290 \begin_inset Quotes erd
23294 \begin_inset Quotes erd
23297 >List Label</labeltag>First item.</itemtag>
23300 \begin_layout LyX-Code
23302 \begin_inset Quotes erd
23306 \begin_inset Quotes erd
23310 \begin_inset Quotes erd
23314 \begin_inset Quotes erd
23317 >List Label</labeltag>Second item.</itemtag>
23320 \begin_layout LyX-Code
23324 \begin_layout LyX-Code
23328 \begin_layout LyX-Code
23330 \begin_inset Quotes erd
23334 \begin_inset Quotes erd
23340 \begin_layout LyX-Code
23342 \begin_inset Quotes erd
23346 \begin_inset Quotes erd
23349 >List Label</labeltag><itemtag attr=
23350 \begin_inset Quotes erd
23354 \begin_inset Quotes erd
23357 >First item.</itemtag>
23360 \begin_layout LyX-Code
23362 \begin_inset Quotes erd
23366 \begin_inset Quotes erd
23369 >List Label</labeltag><itemtag attr=
23370 \begin_inset Quotes erd
23374 \begin_inset Quotes erd
23377 >Second item.</itemtag>
23380 \begin_layout LyX-Code
23384 \begin_layout Standard
23385 Observa los diferentes órdenes de
23386 \begin_inset Flex Code
23389 \begin_layout Plain Layout
23396 \begin_inset Flex Code
23399 \begin_layout Plain Layout
23406 El orden que obtenemos depende del ajuste de
23407 \begin_inset Flex Code
23410 \begin_layout Plain Layout
23417 \begin_inset Flex Code
23420 \begin_layout Plain Layout
23426 es falso (por omisión), se obtiene el primero de ellos, con la etiqueta
23427 dentro del ítem; si verdadero, se obtiene el segundo, con la etiqueta fuera
23431 \begin_layout Standard
23432 Las etiquetas específicas y la salida de los atributos para cada tipo de
23433 párrafo puede ser controlado por medio de las etiquetas de formato que
23435 Como mencionamos antes, sin embargo, \SpecialChar LyX
23436 usa predefinidos adecuados para muchos
23437 de estos valores, por lo que generalmente no necesitarás hacer nada para
23438 obtener una buena salida XHTML.
23439 Partiendo de las etiquetas ya disponibles puedes afinar las cosas a tu
23443 \begin_layout Description
23444 \begin_inset Flex Code
23447 \begin_layout Plain Layout
23454 \begin_inset Flex Code
23457 \begin_layout Plain Layout
23463 ] Especifica información de los atributos a entregar con la etiqueta principal.
23465 \begin_inset Quotes eld
23469 \begin_inset Flex Code
23472 \begin_layout Plain Layout
23479 \begin_inset Quotes erd
23483 Por omisión, \SpecialChar LyX
23485 \begin_inset Quotes eld
23489 \begin_inset Flex Code
23492 \begin_layout Plain Layout
23499 \begin_inset Quotes erd
23503 \begin_inset Flex Code
23506 \begin_layout Plain Layout
23512 es el nombre del formato en \SpecialChar LyX
23513 , en minúsculas, por ejemplo: chapter.
23518 debería contener ninguna información de estilo.
23520 \begin_inset Flex Code
23523 \begin_layout Plain Layout
23529 para ese propósito.
23532 \begin_layout Description
23533 \begin_inset Flex Code
23536 \begin_layout Plain Layout
23543 \begin_inset Flex Code
23546 \begin_layout Plain Layout
23555 \begin_inset space \thinspace{}
23559 \begin_inset Flex Code
23562 \begin_layout Plain Layout
23568 ] Si producir la información CSS predeterminada que \SpecialChar LyX
23569 genera para este formato,
23570 incluso si se proporciona explícitamente información adicional mediante
23572 \begin_inset Flex Code
23575 \begin_layout Plain Layout
23583 \begin_inset Flex Code
23586 \begin_layout Plain Layout
23592 permite alterar o aumentar el CSS generado, no sobrescribirlo totalmente.
23594 \begin_inset Flex Code
23597 \begin_layout Plain Layout
23606 \begin_layout Description
23607 \begin_inset Flex Code
23610 \begin_layout Plain Layout
23617 \begin_inset Flex Code
23620 \begin_layout Plain Layout
23626 ] Etiqueta a usar para párrafos individuales de entornos, reemplazando
23627 \begin_inset Flex Code
23630 \begin_layout Plain Layout
23636 en los ejemplos de arriba.
23638 \begin_inset Flex Code
23641 \begin_layout Plain Layout
23650 \begin_layout Description
23651 \begin_inset Flex Code
23654 \begin_layout Plain Layout
23661 \begin_inset Flex Code
23664 \begin_layout Plain Layout
23670 ] Atributos para la etiqueta ítem.
23672 \begin_inset Quotes eld
23676 \begin_inset Flex Code
23679 \begin_layout Plain Layout
23680 class=`layoutname_item'
23686 \begin_inset Quotes erd
23694 debería contener ninguna información de estilo.
23696 \begin_inset Flex Code
23699 \begin_layout Plain Layout
23705 para ese propósito.
23708 \begin_layout Description
23709 \begin_inset Flex Code
23712 \begin_layout Plain Layout
23719 \begin_inset Flex Code
23722 \begin_layout Plain Layout
23728 ] Etiqueta a usar para rótulos de párrafos e ítems, reemplazando
23729 \begin_inset Flex Code
23732 \begin_layout Plain Layout
23738 en los ejemplos de arriba.
23740 \begin_inset Flex Code
23743 \begin_layout Plain Layout
23750 \begin_inset Flex Code
23753 \begin_layout Plain Layout
23760 \begin_inset Flex Code
23763 \begin_layout Plain Layout
23770 \begin_inset Flex Code
23773 \begin_layout Plain Layout
23774 Centered_Top_Environment
23779 , en cuyos casos es
23780 \begin_inset Flex Code
23783 \begin_layout Plain Layout
23792 \begin_layout Description
23793 \begin_inset Flex Code
23796 \begin_layout Plain Layout
23803 \begin_inset Flex Code
23806 \begin_layout Plain Layout
23812 ] Atributos para la etiqueta del rótulo.
23814 \begin_inset Quotes eld
23818 \begin_inset Flex Code
23821 \begin_layout Plain Layout
23822 class=`layoutname_label'
23828 \begin_inset Quotes erd
23836 debería contener ninguna información de estilo.
23838 \begin_inset Flex Code
23841 \begin_layout Plain Layout
23847 para ese propósito.
23850 \begin_layout Description
23851 \begin_inset Flex Code
23854 \begin_layout Plain Layout
23861 \begin_inset Flex Code
23864 \begin_layout Plain Layout
23873 \begin_inset space \thinspace{}
23877 \begin_inset Flex Code
23880 \begin_layout Plain Layout
23886 ] Solo es significativo para entornos tipo lista, esta etiqueta controla
23887 si la etiqueta de rótulo se genera antes o dentro de la etiqueta de ítem.
23888 Se usa, por ejemplo, en el entorno descripción, donde queremos `
23889 \begin_inset Flex Code
23892 \begin_layout Plain Layout
23893 <dt>\SpecialChar ldots
23894 </dt><dd>\SpecialChar ldots
23902 \begin_inset Flex Code
23905 \begin_layout Plain Layout
23911 : la etiqueta de rótulo se genera dentro de la etiqueta de ítem.
23914 \begin_layout Description
23915 \begin_inset Flex Code
23918 \begin_layout Plain Layout
23924 Información para generar en la sección
23925 \begin_inset Flex Code
23928 \begin_layout Plain Layout
23934 cuando se usa este estilo.
23935 Esto podría, por ejemplo, utilizarse para incluir un bloque
23936 \begin_inset Flex Code
23939 \begin_layout Plain Layout
23945 definiendo un controlador
23946 \begin_inset Flex Code
23949 \begin_layout Plain Layout
23958 \begin_layout Description
23959 \begin_inset Flex Code
23962 \begin_layout Plain Layout
23968 Información de estilo CSS a incluir cuando se usa este estilo.
23969 Advertimos que esto será automáticamente envuelto en un bloque
23970 \begin_inset Flex Code
23973 \begin_layout Plain Layout
23979 generado por el formato, por tanto solo es necesario incluir el propio
23982 \begin_inset Flex Code
23985 \begin_layout Plain Layout
23994 \begin_layout Description
23995 \begin_inset Flex Code
23998 \begin_layout Plain Layout
24005 \begin_inset Flex Code
24008 \begin_layout Plain Layout
24014 ] Etiqueta para el rótulo principal, reemplazando
24015 \begin_inset Flex Code
24018 \begin_layout Plain Layout
24024 en losejemplos de arriba.
24026 \begin_inset Flex Code
24029 \begin_layout Plain Layout
24038 \begin_layout Description
24039 \begin_inset Flex Code
24042 \begin_layout Plain Layout
24049 \begin_inset Flex Code
24052 \begin_layout Plain Layout
24061 \begin_inset space \thinspace{}
24065 \begin_inset Flex Code
24068 \begin_layout Plain Layout
24074 ] Marca este estilo como el que se va a usar para generar la etiqueta
24075 \begin_inset Flex Code
24078 \begin_layout Plain Layout
24084 para el archivo XHTML.
24085 Por omisión, es falso.
24087 \begin_inset Flex Code
24090 \begin_layout Plain Layout
24096 lo establece verdadero para el entorno
24097 \begin_inset Flex Code
24100 \begin_layout Plain Layout
24110 \begin_layout Subsection
24114 \begin_layout Standard
24115 La salida XHTML de los recuadros también se puede controlar por información
24116 en archivos 'layout'.
24120 \begin_layout Plain Layout
24121 Por ahora, esto solo es cierto para recuadros de
24122 \begin_inset Quotes eld
24126 \begin_inset Quotes erd
24129 (recuadros en los que puedes escribir) y no para recuadros de
24130 \begin_inset Quotes eld
24134 \begin_inset Quotes erd
24137 (recuadros asociados con cuadros de diálogo).
24142 También en este caso, \SpecialChar LyX
24143 intenta proporcionar valores predefinidos adecuados,
24144 y construye reglas de estilo CSS, pero todo puede personalizarse.
24147 \begin_layout Standard
24148 Para los recuadros, \SpecialChar LyX
24149 produce XHTML en la forma:
24152 \begin_layout LyX-Code
24154 \begin_inset Quotes erd
24158 \begin_inset Quotes erd
24164 \begin_layout LyX-Code
24165 <labeltag>Label</labeltag>
24168 \begin_layout LyX-Code
24170 \begin_inset Quotes erd
24174 \begin_inset Quotes erd
24177 >Contents of the inset.</innertag>
24180 \begin_layout LyX-Code
24184 \begin_layout Standard
24185 Si el recuadro permite párrafos múltiples —o sea, si
24186 \begin_inset Flex Code
24189 \begin_layout Plain Layout
24195 es verdadero— el contenido del recuadro se generará en forma de párrafos
24196 estructurados según los estilos usados para dichos párrafos (normal, cita,
24198 El rótulo de la etiqueta se omite si el párrafo no lo tiene y, por el momento,
24200 \begin_inset Flex Code
24203 \begin_layout Plain Layout
24210 La etiqueta interior es opcional y, por omisión, no aparece.
24213 \begin_layout Standard
24214 Las etiquetas y atributos específicos para cada recuadro se pueden controlar
24215 mediante las siguientes etiquetas de formato.
24218 \begin_layout Description
24219 \begin_inset Flex Code
24222 \begin_layout Plain Layout
24229 \begin_inset Flex Code
24232 \begin_layout Plain Layout
24238 ] Especifica información de atributos a generar con la etiqueta principal.
24240 \begin_inset Quotes eld
24244 \begin_inset Flex Code
24247 \begin_layout Plain Layout
24248 class=`myinset' onclick=`\SpecialChar ldots
24255 \begin_inset Quotes erd
24259 Por omisión, \SpecialChar LyX
24261 \begin_inset Quotes eld
24265 \begin_inset Flex Code
24268 \begin_layout Plain Layout
24275 \begin_inset Quotes erd
24279 \begin_inset Flex Code
24282 \begin_layout Plain Layout
24288 es el nombre del recuadro en \SpecialChar LyX
24289 , en minúsculas y con los caracteres no alfanuméri
24290 cos convertidos en guiones bajos, por ejemplo: footnote.
24293 \begin_layout Description
24294 \begin_inset Flex Code
24297 \begin_layout Plain Layout
24304 \begin_inset Flex Code
24307 \begin_layout Plain Layout
24316 \begin_inset space \thinspace{}
24320 \begin_inset Flex Code
24323 \begin_layout Plain Layout
24329 ] Si producir la información CSS predeterminadad que \SpecialChar LyX
24330 genera para este formato,
24331 incluso si se da explícitamente información adicional con
24332 \begin_inset Flex Code
24335 \begin_layout Plain Layout
24343 \begin_inset Flex Code
24346 \begin_layout Plain Layout
24352 parmite alterar o aumentar el CSS generado, en vez de sobrescribirlo.
24356 \begin_layout Description
24357 \begin_inset Flex Code
24360 \begin_layout Plain Layout
24367 \begin_inset Flex Code
24370 \begin_layout Plain Layout
24376 ] Atributos para la etiqueta interna.
24378 \begin_inset Quotes eld
24382 \begin_inset Flex Code
24385 \begin_layout Plain Layout
24386 class=`insetname_inner'
24392 \begin_inset Quotes erd
24398 \begin_layout Description
24399 \begin_inset Flex Code
24402 \begin_layout Plain Layout
24409 \begin_inset Flex Code
24412 \begin_layout Plain Layout
24418 ] La etiqueta interna, reemplazando
24419 \begin_inset Flex Code
24422 \begin_layout Plain Layout
24428 en los ejemplos de arriba.
24429 Por omisión, ninguna.
24432 \begin_layout Description
24433 \begin_inset Flex Code
24436 \begin_layout Plain Layout
24443 \begin_inset Flex Code
24446 \begin_layout Plain Layout
24453 \begin_inset space \thinspace{}
24457 \begin_inset Flex Code
24460 \begin_layout Plain Layout
24468 ] Si este recuadro representa un bloque de texto independiente (como una
24469 nota al pie) o bien representa material que está incluido en el texto circundan
24470 te (como una rama).
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 ] Un rótulo para este recuadro, posiblemente incluyendo una referencia a
24496 Por ejemplo, para notas al pie, podría ser:
24497 \begin_inset Flex Code
24500 \begin_layout Plain Layout
24509 Esto es opcional y no hay valor predeterminado.
24512 \begin_layout Description
24513 \begin_inset Flex Code
24516 \begin_layout Plain Layout
24522 Información que saldrá en la sección
24523 \begin_inset Flex Code
24526 \begin_layout Plain Layout
24532 cuando se usa este estilo.
24533 Esto podría usarse, por ejemplo, para incluir un bloque
24534 \begin_inset Flex Code
24537 \begin_layout Plain Layout
24543 que defina un controlador
24544 \begin_inset Flex Code
24547 \begin_layout Plain Layout
24556 \begin_layout Description
24557 \begin_inset Flex Code
24560 \begin_layout Plain Layout
24566 Información de estilo CSS a incluir cuando se usa este estilo.
24567 Esto será automáticamente envuelto en un bloque
24568 \begin_inset Flex Code
24571 \begin_layout Plain Layout
24577 generado por el formato, por lo que solo hay que incluir el propio CSS.
24580 \begin_layout Description
24581 \begin_inset Flex Code
24584 \begin_layout Plain Layout
24591 \begin_inset Flex Code
24594 \begin_layout Plain Layout
24600 ] La etiqueta a usar para el rótulo principal, reemplazando
24601 \begin_inset Flex Code
24604 \begin_layout Plain Layout
24610 en los ejemplos de arriba.
24611 El valor por omisión depende de
24612 \begin_inset Flex Code
24615 \begin_layout Plain Layout
24622 \begin_inset Flex Code
24625 \begin_layout Plain Layout
24632 \begin_inset Flex Code
24635 \begin_layout Plain Layout
24641 ; si es falso, el valor por omisión es
24642 \begin_inset Flex Code
24645 \begin_layout Plain Layout
24654 \begin_layout Subsection
24658 \begin_layout Standard
24659 La salida XHTML para flotantes también se puede controlar mediante información
24660 en archivos 'layout'.
24661 La salida tiene la forma:
24664 \begin_layout LyX-Code
24666 \begin_inset Quotes erd
24670 \begin_inset Quotes erd
24676 \begin_layout LyX-Code
24677 Contents of the float.
24680 \begin_layout LyX-Code
24684 \begin_layout Standard
24685 La leyenda, si la hay, es un recuadro separado y se generará como tal.
24686 Su aspecto puede controlarse con InsetLayout para recuadros de leyendas.
24690 \begin_layout Description
24691 \begin_inset Flex Code
24694 \begin_layout Plain Layout
24701 \begin_inset Flex Code
24704 \begin_layout Plain Layout
24710 ] Especifica información de los atributos a generar con la etiqueta principal,
24712 \begin_inset Quotes eld
24716 \begin_inset Flex Code
24719 \begin_layout Plain Layout
24720 class=`myfloat' onclick=`\SpecialChar ldots
24727 \begin_inset Quotes erd
24731 Por omisión, \SpecialChar LyX
24733 \begin_inset Quotes eld
24737 \begin_inset Flex Code
24740 \begin_layout Plain Layout
24741 class=`float float-floattype'
24747 \begin_inset Quotes erd
24751 \begin_inset Flex Code
24754 \begin_layout Plain Layout
24760 es el nombre en \SpecialChar LyX
24761 para este tipo de flotante, como determina la declaración
24763 \begin_inset CommandInset ref
24765 reference "subsec:Flotantes"
24769 ), aunque en minúsculas y con los caracteres no alfanuméricos sustituidos
24770 por guiones bajos, por ejemplo: float-table.
24773 \begin_layout Description
24774 \begin_inset Flex Code
24777 \begin_layout Plain Layout
24783 Información de estilo CSS a incluir cuando se usa este flotante.
24784 Esto será automáticamente envuelto en un bloque
24785 \begin_inset Flex Code
24788 \begin_layout Plain Layout
24794 generado por el formato, por lo que solo hay que incluir el propio CSS.
24797 \begin_layout Description
24798 \begin_inset Flex Code
24801 \begin_layout Plain Layout
24808 \begin_inset Flex Code
24811 \begin_layout Plain Layout
24817 ] La etiqueta a usar para este flotante, reemplazando "
24818 \begin_inset Flex Code
24821 \begin_layout Plain Layout
24827 " en el ejemplo de arriba.
24828 El valor por omisión es
24829 \begin_inset Flex Code
24832 \begin_layout Plain Layout
24838 y raramente habrá que cambiarlo.
24841 \begin_layout Subsection
24842 Formato de la Bibliografía
24845 \begin_layout Standard
24846 La bibliografía se puede formatear usando bloques
24847 \begin_inset Flex Code
24850 \begin_layout Plain Layout
24858 \begin_inset CommandInset ref
24860 reference "subsec:Descripción-formato-cita"
24867 \begin_layout Subsection
24868 CSS generado por \SpecialChar LyX
24872 \begin_layout Standard
24873 Hemos mencionado ya que \SpecialChar LyX
24874 generará reglas de estilo CSS predeterminadas para
24875 recuadros y estilos de párrafo, basados en la información suministrada
24876 para otros formatos.
24877 En esta sección comentaremos qué información usa \SpecialChar LyX
24881 \begin_layout Standard
24882 Actualmente, \SpecialChar LyX
24883 auto-genera CSS solo para información sobre tipografías, haciendo
24885 \begin_inset Flex Code
24888 \begin_layout Plain Layout
24895 \begin_inset Flex Code
24898 \begin_layout Plain Layout
24905 \begin_inset Flex Code
24908 \begin_layout Plain Layout
24915 \begin_inset Flex Code
24918 \begin_layout Plain Layout
24924 especificados en la declaración
24925 \begin_inset Flex Code
24928 \begin_layout Plain Layout
24936 \begin_inset CommandInset ref
24938 reference "subsec:Tipografía"
24942 .) La traducción es bastante sencilla y evidente.
24944 \begin_inset Quotes eld
24948 \begin_inset Flex Code
24951 \begin_layout Plain Layout
24958 \begin_inset Quotes erd
24962 \begin_inset Quotes eld
24966 \begin_inset Flex Code
24969 \begin_layout Plain Layout
24970 font-family: sans-serif;
24976 \begin_inset Quotes erd
24980 La correspondencia entre tamaños \SpecialChar LyX
24981 y tamaños CSS es un poco menos obvia,
24982 pero intuitiva en todo caso.
24984 \begin_inset Flex Code
24987 \begin_layout Plain Layout
24994 \begin_inset Flex URL
24997 \begin_layout Plain Layout
25008 \begin_layout Chapter
25009 Inserción de material externo
25010 \begin_inset CommandInset label
25012 name "cap:Inserción-de-material"
25019 \begin_layout Standard
25020 \begin_inset Box Shadowbox
25030 height_special "totalheight"
25035 backgroundcolor "none"
25038 \begin_layout Plain Layout
25039 AVISO: Esta parte de la documentación no ha sido actualizada desde hace
25041 Esperamos que aún sea adecuada, pero no hay garantías.
25049 \begin_layout Standard
25050 El uso de material de procedencia externa a \SpecialChar LyX
25051 se trata con detalle en el
25057 En el presente documento se trata sobre lo que debe suceder entre bambalinas
25058 para incluir nuevas clases de material.
25061 \begin_layout Section
25065 \begin_layout Standard
25066 La característica material externo se basa en el concepto
25071 Una plantilla es una especificación de la forma en que \SpecialChar LyX
25073 ciertos tipos de material.
25074 De por sí, \SpecialChar LyX
25075 incluye plantillas predefinidas para figuras Xfig, varios tipos
25076 de imágenes raster, diagramas de ajedrez y notación musical LilyPond.
25077 Puedes comprobar la lista actual en el menú
25078 \begin_inset Flex Noun
25081 \begin_layout Plain Layout
25082 Insertar\SpecialChar menuseparator
25083 Archivo\SpecialChar menuseparator
25090 Además, es posible construir plantillas propias para soportar determinado
25092 Más tarde describiremos con más detalle lo que esto implica, y esperamos
25093 que nos envíes tus plantillas para que se puedan incluir en próximas versiones
25094 de \SpecialChar LyX
25098 \begin_layout Standard
25099 Otra idea básica de la característica material externo es distinguir entre
25100 el archivo original que sirve como base para el material final y el archivo
25101 generado que se incluye en el documento impreso o exportado.
25102 Por ejemplo, consideremos el caso de una figura hecha con
25103 \begin_inset Flex Code
25106 \begin_layout Plain Layout
25113 El programa Xfig en sí mismo trabaja sobre un archivo original con extensión
25115 \begin_inset Flex Code
25118 \begin_layout Plain Layout
25125 Dentro de Xfig, se crea o modifica una figura y se guarda como un archivo
25127 \begin_inset Flex Code
25130 \begin_layout Plain Layout
25137 Para incluir la figura en un documento, se ejecuta
25138 \begin_inset Flex Code
25141 \begin_layout Plain Layout
25147 con el fin de crear un archivo PostScript que puede incluirse fácilmente
25148 en el archivo \SpecialChar LaTeX
25150 En este caso, el archivo
25151 \begin_inset Flex Code
25154 \begin_layout Plain Layout
25160 es el original, y el archivo PostScript es el archivo generado.
25163 \begin_layout Standard
25164 Esta distinción es importante para permitir la actualización del material
25165 durante el proceso de escritura del documento.
25166 Además, provee la flexibilidad necesaria para soportar múltiples formatos
25168 Por ejemplo, en el caso de un archivo de texto sencillo, no es una brillante
25169 idea incluir la figura como PostScript puro.
25170 En vez de esto, es preferible incluir solo una referencia a la figura o
25171 bien probar algún convertidor de gráficos a Ascii para que el resultado
25172 final se parezca al gráfico real.
25173 La gestión de material externo de \SpecialChar LyX
25174 permite hacer esto porque se basa en
25175 parámetros apropiados para los diferentes formatos de exportación soportados.
25178 \begin_layout Standard
25179 Además de soportar la generación de diferentes productos de acuerdo con
25180 el formato de exportación, existe una profunda integración con las aplicaciones
25181 de edición y visualización.
25182 En el caso de figuras Xfig, es posible editar el archivo original en Xfig
25183 con un simple clic derecho sobre el recuadro y también previsualizar el
25184 PostScript generado con ghostview.
25185 Se acabaron los enredos con la línea de comandos y/o el navegador de archivos
25186 para localizar y manipular los archivos originales o los generados.
25187 De esta manera, se pueden por fin aprovechar las ventajas de muy diversas
25188 aplicaciones importantes para la composición de los documentos, y por tanto
25189 aumentar el rendimiento.
25192 \begin_layout Section
25193 El archivo de configuración de plantillas externas
25196 \begin_layout Standard
25197 Es relativamente fácil añadir en \SpecialChar LyX
25198 definiciones personalizadas de plantillas
25200 Sin embargo, hay que ser consciente de que hacer esto de manera descuidada
25201 generará muy probablemente un agujero de seguridad fácil de explotar.
25202 Así pues, antes de hacer esto, lee por favor la discusión sobre seguridad
25204 \begin_inset CommandInset ref
25206 reference "sec:Discusión-sobre-seguridad"
25213 \begin_layout Standard
25214 Una vez dicho esto, te animamos a que envíes cualquiera plantilla interesante
25218 \begin_layout Standard
25219 Las plantillas externas se definen en el archivo
25222 \begin_inset Flex Code
25225 \begin_layout Plain Layout
25233 files that are stored in the
25234 \begin_inset Flex Code
25237 \begin_layout Plain Layout
25240 LyXDir/lib/xtemplates/
25246 Each template is defined in a file of its own.
25257 \begin_inset Flex Code
25260 \begin_layout Plain Layout
25263 UserDir/xtemplates/
25268 or copy existing templates to that directory in order to modify them.
25274 \begin_layout Standard
25275 Una plantilla típica tiene un aspecto como este:
25278 \begin_layout LyX-Code
25282 \begin_layout LyX-Code
25283 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
25286 \begin_layout LyX-Code
25290 \begin_layout LyX-Code
25294 \begin_layout LyX-Code
25298 \begin_layout LyX-Code
25302 \begin_layout LyX-Code
25306 \begin_layout LyX-Code
25307 AutomaticProduction true
25310 \begin_layout LyX-Code
25314 \begin_layout LyX-Code
25318 \begin_layout LyX-Code
25322 \begin_layout LyX-Code
25323 TransformCommand Rotate RotationLatexCommand
25326 \begin_layout LyX-Code
25327 TransformCommand Resize ResizeLatexCommand
25330 \begin_layout LyX-Code
25331 Product "$$RotateFront$$ResizeFront
25334 \begin_layout LyX-Code
25339 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
25342 \begin_layout LyX-Code
25343 $$ResizeBack$$RotateBack"
25346 \begin_layout LyX-Code
25350 \begin_layout LyX-Code
25351 UpdateResult "$$AbsPath$$Basename.pstex_t"
25354 \begin_layout LyX-Code
25355 Requirement "graphicx"
25358 \begin_layout LyX-Code
25359 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
25362 \begin_layout LyX-Code
25363 ReferencedFile latex "$$AbsPath$$Basename.eps"
25366 \begin_layout LyX-Code
25367 ReferencedFile dvi "$$AbsPath$$Basename.eps"
25370 \begin_layout LyX-Code
25374 \begin_layout LyX-Code
25378 \begin_layout LyX-Code
25379 TransformCommand Rotate RotationLatexCommand
25382 \begin_layout LyX-Code
25383 TransformCommand Resize ResizeLatexCommand
25386 \begin_layout LyX-Code
25387 Product "$$RotateFront$$ResizeFront
25390 \begin_layout LyX-Code
25395 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
25398 \begin_layout LyX-Code
25399 $$ResizeBack$$RotateBack"
25402 \begin_layout LyX-Code
25403 UpdateFormat pdftex
25406 \begin_layout LyX-Code
25407 UpdateResult "$$AbsPath$$Basename.pdftex_t"
25410 \begin_layout LyX-Code
25411 Requirement "graphicx"
25414 \begin_layout LyX-Code
25415 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
25418 \begin_layout LyX-Code
25419 ReferencedFile latex "$$AbsPath$$Basename.pdf"
25422 \begin_layout LyX-Code
25426 \begin_layout LyX-Code
25430 \begin_layout LyX-Code
25431 Product "$$Contents(
25433 "$$AbsPath$$Basename.asc
25438 \begin_layout LyX-Code
25439 UpdateFormat asciixfig
25442 \begin_layout LyX-Code
25443 UpdateResult "$$AbsPath$$Basename.asc"
25446 \begin_layout LyX-Code
25450 \begin_layout LyX-Code
25454 \begin_layout LyX-Code
25455 Product "<graphic fileref=
25457 "$$AbsOrRelPathMaster$$Basename.eps
25462 \begin_layout LyX-Code
25466 \begin_layout LyX-Code
25470 \begin_layout LyX-Code
25471 UpdateResult "$$AbsPath$$Basename.eps"
25474 \begin_layout LyX-Code
25475 ReferencedFile docbook "$$AbsPath$$Basename.eps"
25478 \begin_layout LyX-Code
25479 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
25482 \begin_layout LyX-Code
25486 \begin_layout LyX-Code
25487 Product "[XFig: $$FName]"
25490 \begin_layout LyX-Code
25494 \begin_layout LyX-Code
25498 \begin_layout Standard
25499 Como puedes ver, la plantilla se incluye entre
25500 \begin_inset Flex Code
25503 \begin_layout Plain Layout
25511 \begin_inset Flex Code
25514 \begin_layout Plain Layout
25521 Contiene una cabecera que especifica algunas configuraciones generales
25522 y, por cada formato de archivo de documento primario soportado, una sección
25524 \begin_inset Flex Code
25527 \begin_layout Plain Layout
25535 \begin_inset Flex Code
25538 \begin_layout Plain Layout
25547 \begin_layout Subsection
25548 La cabecera de la plantilla
25551 \begin_layout Description
25552 \begin_inset Flex Code
25555 \begin_layout Plain Layout
25556 AutomaticProduction
25557 \begin_inset space ~
25565 Si el archivo representado por la plantilla debe ser generado por \SpecialChar LyX
25567 Este comando debe aparecer exactamente una vez.
25570 \begin_layout Description
25571 \begin_inset Flex Code
25574 \begin_layout Plain Layout
25576 \begin_inset space ~
25584 Un patrón global que se usa en el diálogo del archivo para filtrar los
25586 Si hay más de una posible extensión de archivo (p.
25587 \begin_inset space \thinspace{}
25591 \begin_inset space ~
25595 \begin_inset Flex Code
25598 \begin_layout Plain Layout
25605 \begin_inset Flex Code
25608 \begin_layout Plain Layout
25614 ), se pone algo como
25615 \begin_inset Flex Code
25618 \begin_layout Plain Layout
25625 Este comando debe aparecer exactamente una vez.
25628 \begin_layout Description
25629 \begin_inset Flex Code
25632 \begin_layout Plain Layout
25634 \begin_inset space ~
25642 El texto mostrado sobre el botón.
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 ~
25656 \begin_inset space ~
25664 El texto de ayuda que se muestra en diálogo.
25665 Da suficiente información sobre lo que puede proporcionar la plantilla.
25666 Este comando debe aparecer exactamente una vez.
25669 \begin_layout Description
25670 \begin_inset Flex Code
25673 \begin_layout Plain Layout
25675 \begin_inset space ~
25683 El formato de archivo del original.
25684 Debe ser el nombre de un formato conocido por \SpecialChar LyX
25686 \begin_inset CommandInset ref
25688 reference "sec:Formatos"
25694 \begin_inset Quotes cld
25698 \begin_inset Flex Code
25701 \begin_layout Plain Layout
25708 \begin_inset Quotes crd
25711 si la plantilla puede manejar archivos originales o más de un formato.
25712 En este caso, \SpecialChar LyX
25713 intentará inspeccionar el archivo mismo para deducir su
25715 Este comando debe aparecer exactamente una vez.
25718 \begin_layout Description
25719 \begin_inset Flex Code
25722 \begin_layout Plain Layout
25724 \begin_inset space ~
25732 Un nombre único para la plantilla.
25733 No debe contener macros de sustitución (véase abajo).
25736 \begin_layout Description
25737 \begin_inset Flex Code
25740 \begin_layout Plain Layout
25742 \begin_inset space ~
25745 Rotate|Resize|Clip|Extra
25750 Este comando especifica qué transformaciones son soportadas por esta plantilla.
25751 Puede aparecer ninguna o varias veces.
25752 Este comando facilita las correspondientes pestañas en el diálogo de material
25755 \begin_inset Flex Code
25758 \begin_layout Plain Layout
25764 debe tener el correspondiente
25765 \begin_inset Flex Code
25768 \begin_layout Plain Layout
25775 \begin_inset Flex Code
25778 \begin_layout Plain Layout
25785 \begin_inset Flex Code
25788 \begin_layout Plain Layout
25795 De lo contrario la transformación no será soportada por ese formato.
25799 \begin_layout Subsection
25803 \begin_layout Description
25804 \begin_inset Flex Code
25807 \begin_layout Plain Layout
25809 \begin_inset space ~
25812 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
25817 El formato de archivo del documento primario para el que es esta definición
25819 No toda plantilla tiene una representación sensible en los formatos de
25820 archivo de todos los documentos.
25821 No obstante, es preferible definir una sección
25822 \begin_inset Flex Code
25825 \begin_layout Plain Layout
25831 para todos los formatos.
25832 Se usa un texto postizo si no hay representación disponible.
25833 Entonces, al menos, se puede ver una referencia al material externo en
25834 el documento exportado.
25837 \begin_layout Description
25838 \begin_inset Flex Code
25841 \begin_layout Plain Layout
25843 \begin_inset space ~
25847 \begin_inset space ~
25855 Este comando define una macro adicional,
25856 \begin_inset Flex Code
25859 \begin_layout Plain Layout
25865 , para sustitución en
25866 \begin_inset Flex Code
25869 \begin_layout Plain Layout
25877 \begin_inset Flex Code
25880 \begin_layout Plain Layout
25886 puede contener en sí mismo macros de sustitución.
25887 La ventaja sobre el uso de
25888 \begin_inset Flex Code
25891 \begin_layout Plain Layout
25898 \begin_inset Flex Code
25901 \begin_layout Plain Layout
25907 es que el valor sustituido de
25908 \begin_inset Flex Code
25911 \begin_layout Plain Layout
25917 está saneado así que es un argumento opcional válido en el formato del
25919 Este comando puede aparecer ninguna o más veces.
25922 \begin_layout Description
25923 \begin_inset Flex Code
25926 \begin_layout Plain Layout
25928 \begin_inset space ~
25936 El texto que se inserta en el documento exportado.
25937 Realmente este es el comando más importante y puede ser bastante complejo.
25938 Este comando debe aparecer exactamente una vez.
25941 \begin_layout Description
25942 \begin_inset Flex Code
25945 \begin_layout Plain Layout
25947 \begin_inset space ~
25955 Este comando especifica un fragmento de preámbulo que se incluirá en el
25956 preámbulo \SpecialChar LaTeX
25958 Tiene que definirse usando
25959 \begin_inset Flex Code
25962 \begin_layout Plain Layout
25970 \begin_inset Flex Code
25973 \begin_layout Plain Layout
25980 Este comando puede aparecer ninguna o más veces.
25983 \begin_layout Description
25984 \begin_inset Flex Code
25987 \begin_layout Plain Layout
25989 \begin_inset space ~
25993 \begin_inset space ~
26001 Este comando indica los archivos que se crean por el proceso de conversión
26002 y que son necesarios para un formato de exportación particular.
26003 Si el nombre del archivo es relativo, se interpreta como relativo al documento
26005 Este comando puede darse ninguna o más veces.
26008 \begin_layout Description
26009 \begin_inset Flex Code
26012 \begin_layout Plain Layout
26014 \begin_inset space ~
26022 El nombre de un paquete \SpecialChar LaTeX
26024 El paquete se incuye mediante
26025 \begin_inset Flex Code
26028 \begin_layout Plain Layout
26036 en el preámbulo \SpecialChar LaTeX
26038 Este comando puede aparecer ninguna o más veces.
26041 \begin_layout Description
26042 \begin_inset Flex Code
26045 \begin_layout Plain Layout
26047 \begin_inset space ~
26051 \begin_inset space ~
26054 RotationLatexCommand
26059 Este comando especifica que el comando \SpecialChar LaTeX
26060 incluido debería usarse para la
26062 Este comando puede aparecer una vez o ninguna.
26065 \begin_layout Description
26066 \begin_inset Flex Code
26069 \begin_layout Plain Layout
26071 \begin_inset space ~
26075 \begin_inset space ~
26083 Este comando especifica que el comando \SpecialChar LaTeX
26084 incluido debería usarse para cambiar
26086 Este comando puede aparecer una vez o ninguna.
26089 \begin_layout Description
26090 \begin_inset Flex Code
26093 \begin_layout Plain Layout
26095 \begin_inset space ~
26099 \begin_inset space ~
26102 RotationLatexOption
26107 Este comando especifica que la rotación se hace mediante un argumento opcional.
26108 Este comando puede aparecer una vez o ninguna.
26111 \begin_layout Description
26112 \begin_inset Flex Code
26115 \begin_layout Plain Layout
26117 \begin_inset space ~
26121 \begin_inset space ~
26129 Este comando especifica que el cambio de tamaño se hace mediante un argumento
26131 Este comando puede aparecer una vez o ninguna
26134 \begin_layout Description
26135 \begin_inset Flex Code
26138 \begin_layout Plain Layout
26140 \begin_inset space ~
26144 \begin_inset space ~
26152 Este comando especifica que el recorte se hace mediante un argumento opcional.
26153 Este comando puede aparecer una vez o ninguna.
26156 \begin_layout Description
26157 \begin_inset Flex Code
26160 \begin_layout Plain Layout
26162 \begin_inset space ~
26166 \begin_inset space ~
26174 Este comando especifica que se usa un argumento extra opcional.
26175 Este comando puede aparecer una vez o ninguna.
26179 \begin_layout Description
26180 \begin_inset Flex Code
26183 \begin_layout Plain Layout
26185 \begin_inset space ~
26193 El formato de archivo del archivo convertido.
26194 Debe ser el nombre de un formato conocido por \SpecialChar LyX
26196 \begin_inset Flex Noun
26199 \begin_layout Plain Layout
26206 \begin_inset Flex Noun
26209 \begin_layout Plain Layout
26210 Gestión de archivos
26216 \begin_inset Flex Noun
26219 \begin_layout Plain Layout
26220 Herramientas\SpecialChar menuseparator
26227 Este comando debe aparecer exactamente una vez.
26228 Si el formato del archivo resultante es PDF, debes especificar el formato
26230 \begin_inset Flex Code
26233 \begin_layout Plain Layout
26240 Es el formato PDF usado para incluir gráficos.
26241 Los otros formatos PDF definidos son para exportación de documentos.
26244 \begin_layout Description
26245 \begin_inset Flex Code
26248 \begin_layout Plain Layout
26250 \begin_inset space ~
26258 El nombre de archivo del archivo convertido.
26259 El nombre de archivo debe ser absoluto.
26260 Este comando debe aparecer exactamente una vez.
26263 \begin_layout Subsection
26264 Definiciones de preámbulo
26267 \begin_layout Standard
26268 El archivo de configuración de plantillas externas puede contener definiciones
26269 de preámbulo adicionales encerradas entre
26270 \begin_inset Flex Code
26273 \begin_layout Plain Layout
26281 \begin_inset Flex Code
26284 \begin_layout Plain Layout
26291 Se pueden usar por las plantillas en la sección
26292 \begin_inset Flex Code
26295 \begin_layout Plain Layout
26304 \begin_layout Section
26305 El mecanismo de sustitución
26308 \begin_layout Standard
26309 Cuando la función de material externo recurre a un programa externo, se
26310 hace sobre la base de un comando definido en el archivo de configuración
26312 Estos comandos pueden contener varias macros que se expanden antes de su
26314 La ejecución tiene lugar siempre en el directorio del documento.
26318 \begin_layout Standard
26319 Además, cada vez que el material externo se va a mostrar, el nombre será
26320 generado por el mecanismo de sustitución, y la mayoría de los demás comandos
26321 en la definición de la plantilla soportan también sustitución.
26325 \begin_layout Standard
26326 Las macros disponibles son las siguientes:
26329 \begin_layout Description
26330 \begin_inset Flex Code
26333 \begin_layout Plain Layout
26334 $$AbsOrRelPathMaster
26339 La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
26343 \begin_layout Description
26344 \begin_inset Flex Code
26347 \begin_layout Plain Layout
26348 $$AbsOrRelPathParent
26353 La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
26357 \begin_layout Description
26358 \begin_inset Flex Code
26361 \begin_layout Plain Layout
26367 La ruta absoluta del archivo.
26370 \begin_layout Description
26371 \begin_inset Flex Code
26374 \begin_layout Plain Layout
26380 El nombre de archivo sin ruta y sin la extensión.
26383 \begin_layout Description
26384 \begin_inset Flex Code
26387 \begin_layout Plain Layout
26389 \begin_inset Quotes eld
26393 \begin_inset Quotes erd
26401 Esta macro expandirá los contenidos del archivo con el nombre
26402 \begin_inset Flex Code
26405 \begin_layout Plain Layout
26414 \begin_layout Description
26415 \begin_inset Flex Code
26418 \begin_layout Plain Layout
26424 La extensión de archivo (incluyendo el punto).
26427 \begin_layout Description
26428 \begin_inset Flex Code
26431 \begin_layout Plain Layout
26438 \begin_inset Quotes cld
26442 \begin_inset Quotes crd
26445 si el archivo está en formato JPEG, si no será
26446 \begin_inset Quotes eld
26450 \begin_inset Quotes erd
26454 Esto es útil para evitar conversiones innecesarias para formatos de salida
26455 que soporten tanto PNG como JPEG.
26456 La plantilla predefinida RasterImage usa esta macro para el formato de
26457 salida pdf\SpecialChar TeX
26461 \begin_layout Description
26462 \begin_inset Flex Code
26465 \begin_layout Plain Layout
26471 El nombre de archivo del archivo especificado en el diálogo de material
26473 Esto es bien un nombre absoluto, bien relativo al documento \SpecialChar LyX
26477 \begin_layout Description
26478 \begin_inset Flex Code
26481 \begin_layout Plain Layout
26487 La parte de la ruta de
26488 \begin_inset Flex Code
26491 \begin_layout Plain Layout
26497 (nombre absoluto o relativo al documento \SpecialChar LyX
26501 \begin_layout Description
26502 \begin_inset Flex Code
26505 \begin_layout Plain Layout
26511 La ruta del archivo, relativa al documento maestro \SpecialChar LyX
26515 \begin_layout Description
26516 \begin_inset Flex Code
26519 \begin_layout Plain Layout
26525 La ruta del archivo, relativa al documento \SpecialChar LyX
26529 \begin_layout Description
26530 \begin_inset Flex Code
26533 \begin_layout Plain Layout
26539 Esta macro expandirá a la ruta absoluta del directorio de sistema.
26540 Esto se usa habitualmente para apuntar a los varios guiones de ayuda que
26541 se empaquetan con \SpecialChar LyX
26545 \begin_layout Description
26546 \begin_inset Flex Code
26549 \begin_layout Plain Layout
26555 Un nombre y ruta completa a un directorio temporal que será borrado automáticam
26556 ente siempre que el documento se cierra, o se suprime la inserción de material
26560 \begin_layout Standard
26561 Todas las macros de ruta contienen un separador de rastreo del directorio,
26562 así se puede construir, p.
26563 \begin_inset space \thinspace{}
26566 e., el nombre de archivo absoluto con
26567 \begin_inset Flex Code
26570 \begin_layout Plain Layout
26571 $$AbsPath$$Basename$$Extension
26579 \begin_layout Standard
26580 Las macros anteriores son sustituidas en todos los comandos a menos que
26581 se indique lo contrario.
26583 \begin_inset Flex Code
26586 \begin_layout Plain Layout
26592 soporta adicionalmente las siguientes sustituciones si se habilitan por
26594 \begin_inset Flex Code
26597 \begin_layout Plain Layout
26604 \begin_inset Flex Code
26607 \begin_layout Plain Layout
26616 \begin_layout Description
26617 \begin_inset Flex Code
26620 \begin_layout Plain Layout
26626 La parte delantera del comando para cambiar el tamaño.
26629 \begin_layout Description
26630 \begin_inset Flex Code
26633 \begin_layout Plain Layout
26639 La parte trasera del comando para cambiar el tamaño.
26642 \begin_layout Description
26643 \begin_inset Flex Code
26646 \begin_layout Plain Layout
26652 La parte delantera del comando para la rotación.
26655 \begin_layout Description
26656 \begin_inset Flex Code
26659 \begin_layout Plain Layout
26665 La parte trasera del comando para la rotación.
26668 \begin_layout Standard
26669 La cadena de valor del comando
26670 \begin_inset Flex Code
26673 \begin_layout Plain Layout
26679 soporta adicionalmente las siguientes sustituciones si éstas se han habilitado
26681 \begin_inset Flex Code
26684 \begin_layout Plain Layout
26691 \begin_inset Flex Code
26694 \begin_layout Plain Layout
26703 \begin_layout Description
26704 \begin_inset Flex Code
26707 \begin_layout Plain Layout
26716 \begin_layout Description
26717 \begin_inset Flex Code
26720 \begin_layout Plain Layout
26729 \begin_layout Description
26730 \begin_inset Flex Code
26733 \begin_layout Plain Layout
26739 La opción cambio de tamaño.
26742 \begin_layout Description
26743 \begin_inset Flex Code
26746 \begin_layout Plain Layout
26752 La opción rotación.
26755 \begin_layout Standard
26756 Te puedes preguntar por qué hay tantas macros de ruta.
26757 Por dos razones, principalmente:
26760 \begin_layout Enumerate
26761 Los nombres de archivo relativo y absoluto deberían permanecer relativo
26762 o absoluto, respectivamente.
26763 Los usuarios pueden tener razones para preferir cualquiera de ambas formas.
26764 Los nombres relativos son útiles para documentos portables que deberían
26765 funcionar en máquinas diferentes, por ejemplo.
26766 Los nombres absolutos pueden ser requeridos por algunos programas.
26769 \begin_layout Enumerate
26771 procesa los nombres de archivo relativos de manera diferente a \SpecialChar LyX
26773 programas en archivos anidados incluidos.
26774 Para \SpecialChar LyX
26775 , un nombre de archivo relativo es siempre relativo al documento que
26776 contiene el nombre de archivo.
26777 Para \SpecialChar LaTeX
26778 , es siempre relativo al documento maestro.
26779 Estas dos definiciones son idénticas si se tiene solo un documento, pero
26780 son distintas si se tiene un documento maestro que incluye documentos parciales.
26781 Esto quiere decir que los nombres de archivo relativos deben ser transformados
26782 cuando se presentan a \SpecialChar LaTeX
26784 Afortunadamente, \SpecialChar LyX
26785 hace esto automáticamente si se eligen las macros correctas.
26788 \begin_layout Standard
26789 Así pues, ¿qué macros de ruta deberían emplearse en las definiciones de
26790 plantillas nuevas? La regla no es difícil:
26793 \begin_layout Itemize
26795 \begin_inset Flex Code
26798 \begin_layout Plain Layout
26804 si se requiere una ruta absoluta.
26807 \begin_layout Itemize
26809 \begin_inset Flex Code
26812 \begin_layout Plain Layout
26813 $$AbsOrRelPathMaster
26818 si la cadena sustituida es algún tipo de entrada \SpecialChar LaTeX
26822 \begin_layout Itemize
26824 \begin_inset Flex Code
26827 \begin_layout Plain Layout
26828 $$AbsOrRelPathParent
26833 con el fin de preservar la elección del usuario.
26836 \begin_layout Standard
26837 Hay casos especiales en los que esta regla no funciona y se necesitan, p.
26838 \begin_inset space \thinspace{}
26841 e., nombres relativos, pero normalmente funcionará bien.
26842 Un ejemplo de uno de estos casos es el comando
26843 \begin_inset Flex Code
26846 \begin_layout Plain Layout
26847 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
26852 en la plantilla XFig de arriba: no podemos usar el nombre absoluto porque
26853 el copiador para archivos
26854 \begin_inset Flex Code
26857 \begin_layout Plain Layout
26863 necesita el nombre relativo para reescribir el contenido del archivo.
26866 \begin_layout Section
26867 Discusión sobre seguridad
26868 \begin_inset CommandInset label
26870 name "sec:Discusión-sobre-seguridad"
26877 \begin_layout Standard
26878 La función material externo interactúa con muchos programas externos y lo
26879 hace de forma automática, así que hemos de tener en cuenta las implicaciones
26880 de seguridad que esto conlleva.
26881 En particular, puesto que tienes la opción de incluir tus propios archivos
26882 y/o cadenas de parámetros y estos se expanden en un comando, parece posible
26883 crear un documento malicioso que ejecute comandos arbitrarios cuando un
26884 usuario ve o imprime el documento.
26885 Esto es algo que definitivamente queremos evitar.
26889 \begin_layout Standard
26890 Sin embargo, dado que los comandos de material externo se especifican solo
26891 en el archivo de configuración de la plantilla, no hay problemas de seguridad
26892 si \SpecialChar LyX
26893 está adecuadamente configurado solo con plantillas seguras.
26894 Esto es así porque los programas externos se invocan con la llamada al
26896 \begin_inset Flex Code
26899 \begin_layout Plain Layout
26905 más bien que con la llamada
26906 \begin_inset Flex Code
26909 \begin_layout Plain Layout
26915 , de modo que no es posible ejecutar comandos arbitrarios desde la sección
26916 del nombre de archivo o de parámetros mediante el shell.
26919 \begin_layout Standard
26920 Esto implica además que hay restricciones en las cadenas de comandos que
26921 puedes usar en las plantillas de material externo.
26922 En particular, las tuberías y la redirección no están fácilmente disponibles.
26923 Esto debe ser así para que \SpecialChar LyX
26925 Si quieres usar algunas características de shell, deberías escribir un
26926 guión seguro para hacerlo de manera controlada, y después invocar el guión
26927 desde la cadena de comandos.
26930 \begin_layout Standard
26931 Es posible diseñar una plantilla que interactúe directamente con el shell,
26932 pero puesto que esto permitiría a un usuario malicioso ejecutar comandos
26933 arbitrarios escribiendo nombres de archivo y/o parámetros astutos, generalmente
26934 recomendamos usar solo guiones seguros que trabajen con la llamada
26935 \begin_inset Flex Code
26938 \begin_layout Plain Layout
26944 al sistema en forma controlada.
26945 Por supuesto, para usar en un entorno controlado, puede ser tentador caer
26946 en el uso de guiones de shell ordinarios.
26947 Si lo haces así, sé consciente de que vas a suministrar un agujero se seguridad
26948 fácilmente explotable en tu sistema.
26949 Evidentemente, es de razón que tales plantillas inseguras nunca serán incluidas
26950 en la distribución estándar de \SpecialChar LyX
26951 , aunque alentamos a la gente a que, a la
26952 usanza del software libre, envíe nuevas plantillas.
26953 No obstante, \SpecialChar LyX
26954 nunca tendrá plantillas inseguras tal y como se distribuye
26955 por los canales oficiales.
26958 \begin_layout Standard
26959 Incluir material externo suministra mucha potencia y has de ser cuidadoso
26960 en no introducir riesgos de seguridad a costa de esta potencia.
26961 Un sutil error en una simple línea en un guión aparentemente inocente puede
26962 abrir la puerta a graves problemas de seguridad.
26963 Así, si no comprendes totalmente estos asuntos, recomendamos consultar
26964 a un profesional entendido en seguridad o al equipo de desarrollo de \SpecialChar LyX
26966 tienes dudas acerca de si una plantilla dada es o no segura.
26967 Y hazlo antes de usarla en un entorno no controlado.
26970 \begin_layout Chapter
26972 Lista de funciones soportadas por \SpecialChar LyX
26973 en archivos de formato
26974 \begin_inset CommandInset label
26976 name "cap:Lista-de-funciones"
26983 \begin_layout Standard
26985 \begin_inset Tabular
26986 <lyxtabular version="3" rows="11" columns="8">
26987 <features tabularvalignment="middle">
26988 <column alignment="left" valignment="top">
26989 <column alignment="left" valignment="top">
26990 <column alignment="left" valignment="top">
26991 <column alignment="left" valignment="top">
26992 <column alignment="left" valignment="top">
26993 <column alignment="left" valignment="top">
26994 <column alignment="left" valignment="top">
26995 <column alignment="left" valignment="top">
26997 <cell alignment="left" valignment="top" usebox="none">
27000 \begin_layout Plain Layout
27006 <cell alignment="left" valignment="top" usebox="none">
27009 \begin_layout Plain Layout
27015 <cell alignment="left" valignment="top" usebox="none">
27018 \begin_layout Plain Layout
27024 <cell alignment="left" valignment="top" usebox="none">
27027 \begin_layout Plain Layout
27033 <cell alignment="center" valignment="top" usebox="none">
27036 \begin_layout Plain Layout
27042 <cell alignment="center" valignment="top" usebox="none">
27045 \begin_layout Plain Layout
27051 <cell alignment="center" valignment="top" usebox="none">
27054 \begin_layout Plain Layout
27060 <cell alignment="center" valignment="top" usebox="none">
27063 \begin_layout Plain Layout
27071 <cell alignment="left" valignment="top" usebox="none">
27074 \begin_layout Plain Layout
27080 <cell alignment="left" valignment="top" usebox="none">
27083 \begin_layout Plain Layout
27089 <cell alignment="left" valignment="top" usebox="none">
27092 \begin_layout Plain Layout
27098 <cell alignment="left" valignment="top" usebox="none">
27101 \begin_layout Plain Layout
27107 <cell alignment="center" valignment="top" usebox="none">
27110 \begin_layout Plain Layout
27116 <cell alignment="center" valignment="top" usebox="none">
27119 \begin_layout Plain Layout
27125 <cell alignment="center" valignment="top" usebox="none">
27128 \begin_layout Plain Layout
27134 <cell alignment="center" valignment="top" usebox="none">
27137 \begin_layout Plain Layout
27145 <cell alignment="left" valignment="top" usebox="none">
27148 \begin_layout Plain Layout
27154 <cell alignment="left" valignment="top" usebox="none">
27157 \begin_layout Plain Layout
27163 <cell alignment="left" valignment="top" usebox="none">
27166 \begin_layout Plain Layout
27172 <cell alignment="left" valignment="top" usebox="none">
27175 \begin_layout Plain Layout
27181 <cell alignment="center" valignment="top" usebox="none">
27184 \begin_layout Plain Layout
27190 <cell alignment="center" valignment="top" usebox="none">
27193 \begin_layout Plain Layout
27199 <cell alignment="center" valignment="top" usebox="none">
27202 \begin_layout Plain Layout
27208 <cell alignment="center" valignment="top" usebox="none">
27211 \begin_layout Plain Layout
27219 <cell alignment="left" valignment="top" usebox="none">
27222 \begin_layout Plain Layout
27228 <cell alignment="left" valignment="top" usebox="none">
27231 \begin_layout Plain Layout
27237 <cell alignment="left" valignment="top" usebox="none">
27240 \begin_layout Plain Layout
27246 <cell alignment="left" valignment="top" usebox="none">
27249 \begin_layout Plain Layout
27255 <cell alignment="center" valignment="top" usebox="none">
27258 \begin_layout Plain Layout
27264 <cell alignment="center" valignment="top" usebox="none">
27267 \begin_layout Plain Layout
27273 <cell alignment="center" valignment="top" usebox="none">
27276 \begin_layout Plain Layout
27282 <cell alignment="center" valignment="top" usebox="none">
27285 \begin_layout Plain Layout
27293 <cell alignment="left" valignment="top" usebox="none">
27296 \begin_layout Plain Layout
27302 <cell alignment="left" valignment="top" usebox="none">
27305 \begin_layout Plain Layout
27311 <cell alignment="left" valignment="top" usebox="none">
27314 \begin_layout Plain Layout
27320 <cell alignment="left" valignment="top" usebox="none">
27323 \begin_layout Plain Layout
27329 <cell alignment="center" valignment="top" usebox="none">
27332 \begin_layout Plain Layout
27338 <cell alignment="center" valignment="top" usebox="none">
27341 \begin_layout Plain Layout
27347 <cell alignment="center" valignment="top" usebox="none">
27350 \begin_layout Plain Layout
27356 <cell alignment="center" valignment="top" usebox="none">
27359 \begin_layout Plain Layout
27367 <cell alignment="left" valignment="top" usebox="none">
27370 \begin_layout Plain Layout
27376 <cell alignment="left" valignment="top" usebox="none">
27379 \begin_layout Plain Layout
27385 <cell alignment="left" valignment="top" usebox="none">
27388 \begin_layout Plain Layout
27394 <cell alignment="left" valignment="top" usebox="none">
27397 \begin_layout Plain Layout
27403 <cell alignment="center" valignment="top" usebox="none">
27406 \begin_layout Plain Layout
27412 <cell alignment="center" valignment="top" usebox="none">
27415 \begin_layout Plain Layout
27421 <cell alignment="center" valignment="top" usebox="none">
27424 \begin_layout Plain Layout
27430 <cell alignment="center" valignment="top" usebox="none">
27433 \begin_layout Plain Layout
27441 <cell alignment="left" valignment="top" usebox="none">
27444 \begin_layout Plain Layout
27450 <cell alignment="left" valignment="top" usebox="none">
27453 \begin_layout Plain Layout
27459 <cell alignment="left" valignment="top" usebox="none">
27462 \begin_layout Plain Layout
27468 <cell alignment="left" valignment="top" usebox="none">
27471 \begin_layout Plain Layout
27477 <cell alignment="center" valignment="top" usebox="none">
27480 \begin_layout Plain Layout
27486 <cell alignment="center" valignment="top" usebox="none">
27489 \begin_layout Plain Layout
27495 <cell alignment="center" valignment="top" usebox="none">
27498 \begin_layout Plain Layout
27504 <cell alignment="center" valignment="top" usebox="none">
27507 \begin_layout Plain Layout
27515 <cell alignment="left" valignment="top" usebox="none">
27518 \begin_layout Plain Layout
27524 <cell alignment="left" valignment="top" usebox="none">
27527 \begin_layout Plain Layout
27533 <cell alignment="left" valignment="top" usebox="none">
27536 \begin_layout Plain Layout
27542 <cell alignment="left" valignment="top" usebox="none">
27545 \begin_layout Plain Layout
27551 <cell alignment="center" valignment="top" usebox="none">
27554 \begin_layout Plain Layout
27560 <cell alignment="center" valignment="top" usebox="none">
27563 \begin_layout Plain Layout
27569 <cell alignment="center" valignment="top" usebox="none">
27572 \begin_layout Plain Layout
27578 <cell alignment="center" valignment="top" usebox="none">
27581 \begin_layout Plain Layout
27589 <cell alignment="left" valignment="top" usebox="none">
27592 \begin_layout Plain Layout
27598 <cell alignment="left" valignment="top" usebox="none">
27601 \begin_layout Plain Layout
27607 <cell alignment="left" valignment="top" usebox="none">
27610 \begin_layout Plain Layout
27616 <cell alignment="left" valignment="top" usebox="none">
27619 \begin_layout Plain Layout
27625 <cell alignment="center" valignment="top" usebox="none">
27628 \begin_layout Plain Layout
27634 <cell alignment="center" valignment="top" usebox="none">
27637 \begin_layout Plain Layout
27643 <cell alignment="center" valignment="top" usebox="none">
27646 \begin_layout Plain Layout
27652 <cell alignment="center" valignment="top" usebox="none">
27655 \begin_layout Plain Layout
27663 <cell alignment="left" valignment="top" usebox="none">
27666 \begin_layout Plain Layout
27672 <cell alignment="left" valignment="top" usebox="none">
27675 \begin_layout Plain Layout
27681 <cell alignment="left" valignment="top" usebox="none">
27684 \begin_layout Plain Layout
27690 <cell alignment="left" valignment="top" usebox="none">
27693 \begin_layout Plain Layout
27699 <cell alignment="center" valignment="top" usebox="none">
27702 \begin_layout Plain Layout
27708 <cell alignment="center" valignment="top" usebox="none">
27711 \begin_layout Plain Layout
27717 <cell alignment="center" valignment="top" usebox="none">
27720 \begin_layout Plain Layout
27726 <cell alignment="center" valignment="top" usebox="none">
27729 \begin_layout Plain Layout
27737 <cell alignment="center" valignment="top" usebox="none">
27740 \begin_layout Plain Layout
27746 <cell alignment="center" valignment="top" usebox="none">
27749 \begin_layout Plain Layout
27755 <cell alignment="center" valignment="top" usebox="none">
27758 \begin_layout Plain Layout
27764 <cell alignment="center" valignment="top" usebox="none">
27767 \begin_layout Plain Layout
27773 <cell alignment="center" valignment="top" usebox="none">
27776 \begin_layout Plain Layout
27782 <cell alignment="center" valignment="top" usebox="none">
27785 \begin_layout Plain Layout
27791 <cell alignment="center" valignment="top" usebox="none">
27794 \begin_layout Plain Layout
27800 <cell alignment="center" valignment="top" usebox="none">
27803 \begin_layout Plain Layout
27817 \begin_layout Chapter
27818 Nombres de colores disponibles para archivos de formato
27819 \begin_inset CommandInset label
27821 name "cap:Nombres-de-colores"
27828 \begin_layout Standard
27829 Los colores listados son los colores estándar y los que se pueden modificar
27830 en las preferencias de \SpecialChar LyX
27834 \begin_layout Section
27840 \begin_layout Standard
27843 The following are no real colors, but rather act on color definitions:
27846 \begin_layout Description
27847 ignore El color es ignorado
27850 \begin_layout Description
27851 inherit El color es heredado
27854 \begin_layout Description
27861 Ningún color en particular, transparente o ausente
27864 \begin_layout Section
27870 \begin_layout Standard
27873 These are fixed colors that cannot me customized:
27876 \begin_layout Description
27880 \begin_layout Description
27884 \begin_layout Description
27888 \begin_layout Description
27892 \begin_layout Description
27896 \begin_layout Description
27900 \begin_layout Description
27904 \begin_layout Description
27908 \begin_layout Description
27912 \begin_layout Description
27916 \begin_layout Description
27920 \begin_layout Description
27924 \begin_layout Description
27928 \begin_layout Description
27932 \begin_layout Description
27936 \begin_layout Description
27940 \begin_layout Description
27944 \begin_layout Description
27948 \begin_layout Description
27952 \begin_layout Section
27958 \begin_layout Standard
27961 These are the colors allocated to specific elements in
27964 \begin_inset Flex Noun
27967 \begin_layout Plain Layout
27968 Herramientas\SpecialChar menuseparator
27977 \begin_layout Description
27978 added_space Color espacio añadido
27981 \begin_layout Description
27982 addedtext Color texto añadido
27985 \begin_layout Description
27986 appendix Color marcador de apéndice
27989 \begin_layout Description
27990 background Color de fondo
27993 \begin_layout Description
27994 bottomarea Color área inferior
27997 \begin_layout Description
27998 branchlabel Color etiqueta de ramas
28001 \begin_layout Description
28002 buttonbg Color fondo de botón
28005 \begin_layout Description
28006 buttonframe Color para marcos de botones de recuadro
28009 \begin_layout Description
28010 buttonhoverbg Color fondo de botón en foco
28013 \begin_layout Description
28014 changebar Color barra de cambios
28017 \begin_layout Description
28018 changedtextauthor1 Color autor 1 de texto cambiado
28021 \begin_layout Description
28022 changedtextauthor2 Color autor 2 de texto cambiado
28025 \begin_layout Description
28026 changedtextauthor3 Color autor 3 de texto cambiado
28029 \begin_layout Description
28030 changedtextauthor4 Color autor 4 de texto cambiado
28033 \begin_layout Description
28034 changedtextauthor5 Color autor 5 de texto cambiado
28037 \begin_layout Description
28038 collapsibletext Color texto de recuadro plegable
28041 \begin_layout Description
28042 collapsibleframe Color marco de recuadro plegable
28045 \begin_layout Description
28046 command Color texto recuadros de comando
28049 \begin_layout Description
28050 commandbg Color fondo recuadros de comando
28053 \begin_layout Description
28054 commandframe Color marco recuadros de comando
28057 \begin_layout Description
28058 commentbg Color fondo de comentarios
28061 \begin_layout Description
28062 commentlabel Color etiqueta de comentarios
28065 \begin_layout Description
28066 cursor Color cursor
28069 \begin_layout Description
28070 deletedtext Color texto borrado
28073 \begin_layout Description
28074 deletedtextmodifier Color modificación de texto borrado
28077 \begin_layout Description
28078 depthbar Color barra de anidación en margen
28081 \begin_layout Description
28082 eolmarker Color marcador fin de línea
28085 \begin_layout Description
28086 error Color cuadro de error \SpecialChar LaTeX
28090 \begin_layout Description
28091 footlabel Color etiqueta de notas a pie de página
28094 \begin_layout Description
28100 \begin_layout Description
28101 graphicsbg Color fondo de recuadros de inserción de gráficos
28104 \begin_layout Description
28105 greyedoutbg Color fondo de recuadros de notas grises
28108 \begin_layout Description
28109 greyedoutlabel Color etiqueta de recuadros de notas grises
28112 \begin_layout Description
28113 greyedouttext Color texto de recuadros de notas grises
28116 \begin_layout Description
28117 indexlabel Color etiqueta de recuadros de índice
28120 \begin_layout Description
28121 inlinecompletion Color autofinalización en línea
28124 \begin_layout Description
28125 insetbg Color fondo de marcador de recuadro
28128 \begin_layout Description
28129 insetframe Color marco de marcador de recuadro
28132 \begin_layout Description
28133 language Color marcador de palabras en otros idiomas
28136 \begin_layout Description
28137 latex Color texto en modo \SpecialChar LaTeX
28141 \begin_layout Description
28142 listingsbg Color fondo de recuadro listado de código
28145 \begin_layout Description
28146 marginlabel Color etiqueta de notas al margen
28149 \begin_layout Description
28150 math Color texto de recuadro de ecuación
28153 \begin_layout Description
28154 mathbg Color fondo de recuadro de ecuación
28157 \begin_layout Description
28158 mathcorners Color marco de recuadro de ecuación fuera de foco
28161 \begin_layout Description
28162 mathframe Color marco de recuadro de ecuación en foco
28165 \begin_layout Description
28166 mathline Color línea de ecuación
28169 \begin_layout Description
28170 mathmacrobg Color fondo de recuadro de macro matemática
28173 \begin_layout Description
28174 mathmacroblend Color mezclado macro matemática
28177 \begin_layout Description
28178 mathmacroframe Color marco de macro matemática
28181 \begin_layout Description
28182 mathmacrohoverbg Color fondo de recuadro de macro matemática bajo el ratón
28185 \begin_layout Description
28186 mathmacrolabel Color etiqueta macro matemática
28189 \begin_layout Description
28190 mathmacronewarg Color plantilla de macro para nuevos parámetros
28193 \begin_layout Description
28194 mathmacrooldarg Color plantilla de macro para antiguos parámetros
28197 \begin_layout Description
28198 newpage Color página nueva
28201 \begin_layout Description
28202 nonunique_inlinecompletion Color autofinalización en línea parte no única
28205 \begin_layout Description
28206 notebg Color fondo de notas
28209 \begin_layout Description
28210 notelabel Color etiqueta de notas
28213 \begin_layout Description
28214 pagebreak Color salto de página/línea
28217 \begin_layout Description
28218 paragraphmarker Color símbolo marcador de fin de párrafo
28221 \begin_layout Description
28222 phantomtext Color texto de recuadro fantasma
28225 \begin_layout Description
28226 preview Color vista preliminar
28229 \begin_layout Description
28230 previewframe Color marco vista preliminar
28233 \begin_layout Description
28234 regexpframe Color marco regexp
28237 \begin_layout Description
28240 scroll Color that indicates when a row can be scrolled
28243 \begin_layout Description
28244 selection Color fondo de texto seleccionado
28247 \begin_layout Description
28248 selectiontext Color de texto seleccionado
28251 \begin_layout Description
28252 shadedbg Color fondo de marco coloreado
28255 \begin_layout Description
28256 special Color texto de caracteres especiales
28259 \begin_layout Description
28260 tabularline Color línea de cuadro/tabla
28263 \begin_layout Description
28264 tabularonoffline Color línea de cuadro/tabla on/off
28267 \begin_layout Description
28268 urllabel Color etiqueta de recuadros URL
28271 \begin_layout Description
28272 urltext Color texto de recuadros URL