1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/es/
9 % DO NOT ALTER THIS PREAMBLE!!!
11 % This preamble is designed to ensure that the manual prints
12 % out as advertised. If you mess with this preamble,
13 % parts of this document may not print out as expected. If you
14 % have problems LaTeXing this file, please contact
15 % the documentation team
16 % email: lyx-docs@lists.lyx.org
18 % the pages of the TOC is numbered roman
19 % and a pdf-bookmark for the TOC is added
20 \let\myTOC\tableofcontents
21 \renewcommand\tableofcontents{%
23 \pdfbookmark[1]{\contentsname}{}
27 \@ifpackageloaded{babel}{
28 % increase link area for cross-references and autoname them,
29 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
30 \addto\extrasspanish{%
31 \renewcommand*{\equationautorefname}[1]{}%
32 \renewcommand{\sectionautorefname}{sec.\negthinspace}%
33 \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
34 \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
38 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
39 \use_default_options false
43 \maintain_unincluded_children false
45 \language_package default
48 \font_roman "lmodern" "default"
49 \font_sans "lmss" "default"
50 \font_typewriter "lmtt" "default"
51 \font_math "auto" "auto"
52 \font_default_family default
53 \use_non_tex_fonts false
56 \font_sf_scale 100 100
57 \font_tt_scale 100 100
59 \use_dash_ligatures false
61 \default_output_format pdf2
63 \bibtex_command default
64 \index_command default
68 \pdf_title "Manual Personalización de LyX"
69 \pdf_author "Equipo LyX"
70 \pdf_subject "LyX-documentation Customization"
71 \pdf_keywords "LyX, documentation, customization"
73 \pdf_bookmarksnumbered true
74 \pdf_bookmarksopen true
75 \pdf_bookmarksopenlevel 1
80 \pdf_pdfusetitle false
81 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
84 \use_package amsmath 1
85 \use_package amssymb 1
88 \use_package mathdots 1
89 \use_package mathtools 1
91 \use_package stackrel 1
92 \use_package stmaryrd 1
93 \use_package undertilde 1
95 \cite_engine_type default
99 \paperorientation portrait
104 \notefontcolor #0000ff
116 \paragraph_separation indent
117 \paragraph_indentation default
119 \math_indentation default
120 \math_numbering_side default
125 \paperpagestyle headings
126 \tracking_changes false
127 \output_changes false
136 Personalizar \SpecialChar LyX
137 : Características para el usuario avanzado
141 por el equipo \SpecialChar LyX
146 \begin_layout Plain Layout
148 Si tienes correcciones o comentarios, envíalos, por favor, a la lista de
149 correo de Documentación de \SpecialChar LyX
151 \begin_inset CommandInset href
153 target "lyx-docs@lists.lyx.org"
161 \begin_inset Quotes cld
165 \begin_inset Quotes crd
168 en la cabecera de asunto, y envía una cc al actual mantenedor de este documento
169 , Richard Heck <rgheck@comcast.net>.
175 \begin_inset Newline newline
179 \begin_inset Newline newline
185 \begin_layout Standard
186 \begin_inset CommandInset toc
187 LatexCommand tableofcontents
194 \begin_layout Chapter
198 \begin_layout Standard
199 Este manual trata de las características de \SpecialChar LyX
200 que pueden ser modificadas
202 En él abordamos temas como atajos de teclado, opciones de vista previa
203 en pantalla, opciones de impresora, envío de comandos mediante \SpecialChar LyX
205 internacionalización, instalación de nuevas clases de \SpecialChar LaTeX
209 Seguro que no podemos aspirar a tratar todo lo que se puede cambiar, —nuestross
210 desarrolladores añaden características nuevas más deprisa de lo que las
211 podemos documentar— pero explicaremos las modificaciones más comunes y
212 y esperamos orientarte en la dirección correcta para algunas más desconocidas.
215 \begin_layout Standard
216 \begin_inset Branch OutDated
220 \begin_layout Standard
221 La rama OutDated contiene información de versiones anteriores de este documento
222 que ahora parece estar obsoleta.
223 Por omisión, esta información no aparece en la salida \SpecialChar LaTeX
232 \begin_layout Chapter
233 Archivos de configuración de \SpecialChar LyX
237 \begin_layout Standard
238 Este capítulo tiene por objetivo ayudarte a encontrar tu camino a través
239 de los archivos de configuración de \SpecialChar LyX
241 Antes de seguir leyendo deberías encontrar donde están los directorios
242 de bibliotecas y de usuario, consultando
243 \begin_inset Flex Noun
246 \begin_layout Plain Layout
247 Ayuda\SpecialChar menuseparator
248 Acerca de \SpecialChar LyX
255 El directorio de bibliotecas es el sitio en el que \SpecialChar LyX
257 de configuración de sistema; el directorio de usuario es donde puedes colocar
258 tus versiones modificadas.
259 En este documento, al primero lo denominaremos
260 \begin_inset Flex Code
263 \begin_layout Plain Layout
271 \begin_inset Flex Noun
274 \begin_layout Plain Layout
283 \begin_layout Section
285 \begin_inset Flex Code
288 \begin_layout Plain Layout
298 \begin_layout Standard
299 \begin_inset Flex Code
302 \begin_layout Plain Layout
309 y sus subdirectorios contienen archivos que pueden emplearse para personalizar
310 el comportamiento de \SpecialChar LyX
312 Puedes cambiar muchos de ellos desde dentro mismo de \SpecialChar LyX
315 \begin_inset Flex Noun
318 \begin_layout Plain Layout
319 Herramientas\SpecialChar menuseparator
326 La mayor parte de las adaptaciones personales que querrás hacer en \SpecialChar LyX
328 puede hacer en este diálogo.
329 Sin embargo, muchos otros aspectos internos de \SpecialChar LyX
330 pueden cambiarse modificando
332 \begin_inset Flex Code
335 \begin_layout Plain Layout
343 Estos archivos pertenecen a diversas categorías, descritas en las siguientes
347 \begin_layout Subsection
348 Archivos generados automáticamente
351 \begin_layout Standard
352 Los archivos que se encuentran en
353 \begin_inset Flex Noun
356 \begin_layout Plain Layout
362 se generan al configurar \SpecialChar LyX
364 Contienen varios valores predeterminados que se obtienen por inspección.
365 En general, no es buena idea modificarlos, puesto que podrían ser sobrescritos
366 en cualquier momento.
369 \begin_layout Labeling
370 \labelwidthstring 00.00.0000
371 \begin_inset Flex Code
374 \begin_layout Plain Layout
380 contiene valores predeterminados para varioscomandos.
383 \begin_layout Labeling
384 \labelwidthstring 00.00.0000
385 \begin_inset Flex Code
388 \begin_layout Plain Layout
394 contiene la lista de paquetes que han sido reconocidos por \SpecialChar LyX
396 No es utilizada por el propio \SpecialChar LyX
397 , pero la información extraida, y otras cosas
399 \begin_inset Flex Noun
402 \begin_layout Plain Layout
403 Ayuda\SpecialChar menuseparator
404 Configuración de \SpecialChar LaTeX
413 \begin_layout Labeling
414 \labelwidthstring 00.00.0000
415 \begin_inset Flex Code
418 \begin_layout Plain Layout
424 la lista de clases de textos encontradas en los directorios
425 \begin_inset Flex Code
428 \begin_layout Plain Layout
434 , junto con las clases de documentos \SpecialChar LaTeX
438 \begin_layout Labeling
439 \labelwidthstring 00.00.0000
440 \begin_inset Flex Code
443 \begin_layout Plain Layout
449 la lista de módulos de formato encontradas en los directorios
450 \begin_inset Flex Code
453 \begin_layout Plain Layout
462 \begin_layout Labeling
463 \labelwidthstring 00.00.0000
464 \begin_inset Flex Code
467 \begin_layout Plain Layout
473 lista de varios tipos de archivos relacionados con \SpecialChar LaTeX
474 encontrados en el sistema.
477 \begin_layout Labeling
478 \labelwidthstring 00.00.0000
479 \begin_inset Flex Code
482 \begin_layout Plain Layout
483 doc/\SpecialChar LaTeX
489 es generado automáticamente durante la configuración a partir del archivo
491 \begin_inset Flex Code
494 \begin_layout Plain Layout
502 Contiene información sobre la configuración de \SpecialChar LaTeX
506 \begin_layout Subsection
510 \begin_layout Standard
511 Estos directorios están duplicados en
512 \begin_inset Flex Code
515 \begin_layout Plain Layout
523 \begin_inset Flex Code
526 \begin_layout Plain Layout
533 Si determinado archivo existe en ambos sitios, se usará el de
534 \begin_inset Flex Code
537 \begin_layout Plain Layout
546 \begin_layout Labeling
547 \labelwidthstring 00.00.0000
548 \begin_inset Flex Code
551 \begin_layout Plain Layout
557 este directorio contiene archivos con la extensión
558 \begin_inset Flex Code
561 \begin_layout Plain Layout
567 que definen las combinaciones de teclas usadas en \SpecialChar LyX
569 Si ahí existe una versión nacional de un archivo bind llamado
570 \begin_inset Flex Code
573 \begin_layout Plain Layout
579 , ésta se usará en primer lugar.
582 \begin_layout Labeling
583 \labelwidthstring 00.00.0000
586 \begin_inset Flex Code
589 \begin_layout Plain Layout
597 contains files with the extension
598 \begin_inset Flex Code
601 \begin_layout Plain Layout
609 which define the diverse citation possibilities (natbib, biblatex etc.).
611 \begin_inset CommandInset ref
613 reference "subsec:Cite-Engine-Files"
623 \begin_layout Labeling
624 \labelwidthstring 00.00.0000
625 \begin_inset Flex Code
628 \begin_layout Plain Layout
634 contiene archivos gráficos que pueden ser incluidos en documentos.
638 \begin_layout Labeling
639 \labelwidthstring 00.00.0000
640 \begin_inset Flex Code
643 \begin_layout Plain Layout
649 contiene archivos de documentación de \SpecialChar LyX
650 (incluido éste que estás leyendo).
652 \begin_inset Flex Code
655 \begin_layout Plain Layout
662 merece atención especial, como se mencionó antes.
663 Si existe una versión nacional del documento de ayuda en el subdirectorio
665 \begin_inset Flex Code
668 \begin_layout Plain Layout
674 , éste se usará en primer lugar.
676 \begin_inset CommandInset ref
678 reference "cap:Internacionalización-de-LyX"
685 \begin_layout Labeling
686 \labelwidthstring 00.00.0000
687 \begin_inset Flex Code
690 \begin_layout Plain Layout
696 contiene archivos de ejemplo que describen el uso de algunas características.
697 Se puede acceder a ellos con el botón
698 \begin_inset Flex Noun
701 \begin_layout Plain Layout
707 en el buscador de archivos.
710 \begin_layout Labeling
711 \labelwidthstring 00.00.0000
712 \begin_inset Flex Code
715 \begin_layout Plain Layout
721 contiene archivos de imagen que se usan en el diálogo
722 \begin_inset Flex Noun
725 \begin_layout Plain Layout
726 Documento\SpecialChar menuseparator
733 Contiene además los iconos de las barras de herramientas y las enseñas
735 mostradas en su inicio.
738 \begin_layout Labeling
739 \labelwidthstring 00.00.0000
740 \begin_inset Flex Code
743 \begin_layout Plain Layout
749 contiene archivos de mapas de teclado.
751 \begin_inset CommandInset ref
753 reference "sec:keymap"
760 \begin_layout Labeling
761 \labelwidthstring 00.00.0000
762 \begin_inset Flex Code
765 \begin_layout Plain Layout
771 contiene las clases de textos y los archivos de los módulos descritos en
773 \begin_inset CommandInset ref
775 reference "cap:Instalación-de-nuevas"
782 \begin_layout Labeling
783 \labelwidthstring 00.00.0000
784 \begin_inset Flex Code
787 \begin_layout Plain Layout
793 contiene los guiones de Python
794 \begin_inset Flex Code
797 \begin_layout Plain Layout
803 para convertir entre versiones de \SpecialChar LyX
805 Pueden ejecutarse en línea de comandos si, digamos, quieres convertir ficheros
809 \begin_layout Labeling
810 \labelwidthstring 00.00.0000
811 \begin_inset Flex Code
814 \begin_layout Plain Layout
820 contiene algunos archivos que demuestran las capacidades de la característica
822 \begin_inset Flex Noun
825 \begin_layout Plain Layout
832 También contiene algunos guiones usados por el propio \SpecialChar LyX
836 \begin_layout Labeling
837 \labelwidthstring 00.00.0000
838 \begin_inset Flex Code
841 \begin_layout Plain Layout
847 contiene los archivos de plantillas estándar de \SpecialChar LyX
849 \begin_inset CommandInset ref
851 reference "subsec:Creación-de-plantillas"
858 \begin_layout Labeling
859 \labelwidthstring 00.00.0000
860 \begin_inset Flex Code
863 \begin_layout Plain Layout
869 contiene archivos con la extensión
870 \begin_inset Flex Code
873 \begin_layout Plain Layout
879 que definen la interfaz de usuario de \SpecialChar LyX
881 Esto es, archivos que definen qué ítems aparecen en qué menús y barras
887 \begin_layout Labeling
888 \labelwidthstring 00.00.0000
891 \begin_inset Flex Code
894 \begin_layout Plain Layout
902 contains files with the extension
903 \begin_inset Flex Code
906 \begin_layout Plain Layout
914 which define the templates for the insertion of external material to a
917 \begin_inset CommandInset ref
919 reference "chap:Including-External-Material"
926 \begin_layout Subsection
927 Archivos que no necesitan modificaciones
930 \begin_layout Standard
931 Estos archivos son utilizados internamente por \SpecialChar LyX
932 y generalmente no deben
933 ser modificados sino por los desarrolladores.
936 \begin_layout Labeling
937 \labelwidthstring 00.00.0000
938 \begin_inset Flex Code
941 \begin_layout Plain Layout
947 contiene la lista de desarrolladores de \SpecialChar LyX
949 Se muestra con el menú
950 \begin_inset Flex Noun
953 \begin_layout Plain Layout
954 Ayuda\SpecialChar menuseparator
955 Acerca de \SpecialChar LyX
964 \begin_layout Labeling
965 \labelwidthstring 00.00.0000
966 \begin_inset Flex Code
969 \begin_layout Plain Layout
975 es un guión de \SpecialChar LaTeX
976 usado durante el proceso de configuración.
977 No lo ejecutes directamente.
980 \begin_layout Labeling
981 \labelwidthstring 00.00.0000
982 \begin_inset Flex Code
985 \begin_layout Plain Layout
991 es el guión utilizado para la reconfiguración de \SpecialChar LyX
993 Genera los archivos de configuración en el directorio desde el que se ha
997 \begin_layout Subsection
998 Otros archivos en un par de líneas
1001 \begin_layout Labeling
1002 \labelwidthstring 00.00.0000
1003 \begin_inset Flex Code
1006 \begin_layout Plain Layout
1012 contiene tablas que describen cómo los distintos códigos de caracteres
1013 se transcriben a Unicode.
1016 \begin_layout Labeling
1017 \labelwidthstring 00.00.0000
1018 \begin_inset Flex Code
1021 \begin_layout Plain Layout
1027 contiene una lista de los idiomas actualmente soportados por \SpecialChar LyX
1031 \begin_layout Labeling
1032 \labelwidthstring 00.00.0000
1033 \begin_inset Flex Code
1036 \begin_layout Plain Layout
1042 contiene información sobre tipografías soportadas.
1045 \begin_layout Labeling
1046 \labelwidthstring 00.00.0000
1047 \begin_inset Flex Code
1050 \begin_layout Plain Layout
1056 contiene traducciones para entornos de párrafo (véase
1057 \begin_inset CommandInset ref
1059 reference "subsec:I18n"
1066 \begin_layout Labeling
1067 \labelwidthstring 00.00.0000
1068 \begin_inset Flex Code
1071 \begin_layout Plain Layout
1077 contiene información sobre glifos unicode y su soporte por \SpecialChar LyX
1078 vía \SpecialChar LaTeX
1082 \begin_layout Section
1083 Directorio de configuración personal
1086 \begin_layout Standard
1087 Aunque uses \SpecialChar LyX
1088 como usuario sin privilegios, puedes adaptar su configuración
1091 \begin_inset Flex Code
1094 \begin_layout Plain Layout
1100 contiene todos los archivos de configuración personal.
1101 Es el directorio especificado como
1102 \begin_inset Quotes cld
1105 Directorio del usuario
1106 \begin_inset Quotes crd
1110 \begin_inset Flex Noun
1113 \begin_layout Plain Layout
1114 Ayuda\SpecialChar menuseparator
1115 Acerca de \SpecialChar LyX
1122 Este directorio se usa como espejo de
1123 \begin_inset Flex Code
1126 \begin_layout Plain Layout
1133 , que quiere decir que cada archivo en
1134 \begin_inset Flex Code
1137 \begin_layout Plain Layout
1143 es un equivalente del correspondiente archivo en
1144 \begin_inset Flex Code
1147 \begin_layout Plain Layout
1155 Cualquiera de los archivos de configuración descritos en las secciones
1156 anteriores puede estar en el directorio global del sistema, en cuyo caso
1157 afectará a todos los usuarios, y en tu directorio local para tu propio
1161 \begin_layout Standard
1162 Para clarificar las cosas vamos a poner unos ejemplos:
1165 \begin_layout Itemize
1166 Las preferencias establecidas en el diálogo
1167 \begin_inset Flex Noun
1170 \begin_layout Plain Layout
1171 Herramientas\SpecialChar menuseparator
1177 se guardan en un archivo
1178 \begin_inset Flex Code
1181 \begin_layout Plain Layout
1188 \begin_inset Flex Code
1191 \begin_layout Plain Layout
1200 \begin_layout Itemize
1201 Si reconfiguras mediante
1202 \begin_inset Flex Noun
1205 \begin_layout Plain Layout
1206 Herramientas\SpecialChar menuseparator
1214 \begin_inset Newline linebreak
1218 \begin_inset Flex Code
1221 \begin_layout Plain Layout
1227 , y los archivos resultantes se escriben en tu directorio de usuario.
1228 Esto significa que cualquier archivo adicional de clase de texto que pudieras
1230 \begin_inset Flex Code
1233 \begin_layout Plain Layout
1239 se sumará a la lista de clases en el diálogo
1240 \begin_inset Flex Noun
1243 \begin_layout Plain Layout
1244 Documento\SpecialChar menuseparator
1253 \begin_layout Itemize
1254 Si consigues alguna documentación actualizada del sitio de \SpecialChar LyX
1256 instalarla porque no tienes permisos para administrar tu sistema, solo
1257 has de copiar los archivos en
1258 \begin_inset Flex Code
1261 \begin_layout Plain Layout
1267 ¡y las entradas del menú
1268 \begin_inset Flex Noun
1271 \begin_layout Plain Layout
1280 \begin_layout Section
1281 Ejecutar \SpecialChar LyX
1282 con múltiples configuraciones
1285 \begin_layout Standard
1286 La libertad de configuración del directorio local puede no ser suficiente
1287 si quieres tener a tu disposición más de una configuración.
1288 Por ejemplo, si quisieras usar diferentes combinaciones de teclas o configuraci
1289 ones de impresora en distintos momentos.
1290 Esto lo puedes conseguir teniendo varios de estos directorios.
1291 Después especificas qué directorio usar al arrancar.
1294 \begin_layout Standard
1295 Ejecutando \SpecialChar LyX
1296 con la opción de línea de comandos
1297 \begin_inset Flex Code
1300 \begin_layout Plain Layout
1310 hace que el programa lea la configuración de ese directorio y no del predetermi
1312 (Puedes determinar el directorio predeterminado ejecutando \SpecialChar LyX
1315 \begin_inset Flex Code
1318 \begin_layout Plain Layout
1325 Si el directorio especificado no existe, \SpecialChar LyX
1326 propone su creación, tal como
1327 hace con el directorio predeterminado la primera vez que se ejecuta el
1329 Puedes modificar las opciones de configuración en ese directorio personal
1330 adicional exactamente igual que para el directorio predeterminado.
1331 Estos directorios son completamente independientes (pero sigue leyendo).
1332 Ten presente que establecer algún valor para la variable de entorno
1333 \begin_inset Flex Code
1336 \begin_layout Plain Layout
1342 tiene exactamente el mismo efecto.
1345 \begin_layout Standard
1346 Tener varias configuraciones también requiere más mantenimiento: si quieres
1347 añadir un nuevo formato a
1348 \begin_inset Flex Code
1351 \begin_layout Plain Layout
1357 que esté disponible en todas tus configuraciones, debes añadirlo a cada
1358 directorio por separado.
1359 Puedes evitarlo con el siguiente truco: después de que \SpecialChar LyX
1361 adicional, la mayoría de los subdirectorios (véase arriba) están vacíos.
1362 Si quieres que la nueva configuración sea una réplica de una existente,
1363 reemplaza el subdirectorio vacío con un enlace simbólico que apunte al
1364 subdirectorio deseado.
1365 Ten precaución, no obstante, con el subdirectorio
1366 \begin_inset Flex Code
1369 \begin_layout Plain Layout
1375 , puesto que contiene un archivo escrito por el guión de configuración (también
1377 \begin_inset Flex Noun
1380 \begin_layout Plain Layout
1381 Herramientas\SpecialChar menuseparator
1387 ) que es específico de la configuración.
1390 \begin_layout Chapter
1391 El diálogo Preferencias
1394 \begin_layout Standard
1395 Todas las opciones del diálogo de preferencias se describen en el apéndice
1409 Ahí encontrarás más detalles sobre algunas opciones.
1412 \begin_layout Section
1414 \begin_inset CommandInset label
1423 \begin_layout Standard
1424 El primer paso es definir tus propios formatos de archivo si no lo están
1426 Para hacerlo abre el diálogo
1427 \begin_inset Flex Noun
1430 \begin_layout Plain Layout
1431 Herramientas\SpecialChar menuseparator
1439 \begin_inset Flex Noun
1442 \begin_layout Plain Layout
1443 Gestión de archivos\SpecialChar menuseparator
1450 \begin_inset Flex Noun
1453 \begin_layout Plain Layout
1454 Nuevo\SpecialChar ldots
1460 para definir el nuevo formato.
1462 \begin_inset Flex Noun
1465 \begin_layout Plain Layout
1471 es para el nombre que identificará el formato en la GUI (interfaz gráfica
1474 \begin_inset Flex Noun
1477 \begin_layout Plain Layout
1483 se usa para identificar el formato internamente.
1484 Además deberás introducir una extensión de archivo.
1485 Todos estos son imprescindibles.
1487 \begin_inset Flex Noun
1490 \begin_layout Plain Layout
1496 sirve para asociar una combinación de teclas en los menús.
1497 (Por ejemplo, teclear
1498 \begin_inset Flex Noun
1501 \begin_layout Plain Layout
1508 \begin_inset Flex Noun
1511 \begin_layout Plain Layout
1514 Documento\SpecialChar menuseparator
1517 \SpecialChar menuseparator
1525 \begin_inset Flex Noun
1528 \begin_layout Plain Layout
1537 \begin_layout Standard
1538 Un Formato puede tener un
1539 \begin_inset Flex Noun
1542 \begin_layout Plain Layout
1549 \begin_inset Flex Noun
1552 \begin_layout Plain Layout
1559 Por ejemplo, podrías usar
1560 \begin_inset Flex Noun
1563 \begin_layout Plain Layout
1569 para ver archivos PostScript.
1570 Puedes introducir el comando para iniciar el programa en el campo correspondien
1572 Al definir este comando puedes usar las cuatro variables listadas en la
1574 El visor se lanza cuando ves una imagen en \SpecialChar LyX
1576 \begin_inset Flex Noun
1579 \begin_layout Plain Layout
1582 Documento\SpecialChar menuseparator
1589 El editor se lanza cuando pulsas el botón
1590 \begin_inset Flex Noun
1593 \begin_layout Plain Layout
1599 que se muestra al hacer clic derecho en un gráfico o en un material externo,
1603 \begin_layout Standard
1605 \begin_inset Flex Noun
1608 \begin_layout Plain Layout
1614 de un formato es opcional, pero si se especifica, debe ser único para todos
1616 Se usa para detectar archivos de ese formato de los contenidos de archivo.
1617 Para algunos formatos de archivo importantes no hay tipo MIME oficialmente
1619 \begin_inset CommandInset href
1622 target "http://www.iana.org/assignments/media-types/"
1628 Por tanto \SpecialChar LyX
1629 usa la lista extensa de tipos MIME especificada por
1630 \begin_inset CommandInset href
1632 name "freedesktop.org"
1633 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1641 \begin_layout Standard
1643 \begin_inset Flex Noun
1646 \begin_layout Plain Layout
1647 Formato de documento
1652 indica a \SpecialChar LyX
1653 que ese formato es adecuado para exportar.
1654 Si esto está marcado y existe una ruta de conversión adecuada (véase
1655 \begin_inset CommandInset ref
1657 reference "sec:Convertidores"
1661 ), el formato aparecerá en el menú
1662 \begin_inset Flex Noun
1665 \begin_layout Plain Layout
1666 Archivo\SpecialChar menuseparator
1673 También aparecerá en el menú
1674 \begin_inset Flex Noun
1677 \begin_layout Plain Layout
1680 Documento\SpecialChar menuseparator
1686 si se ha especificado un visor para ese formato.
1687 Los formatos puros de imagen, como
1688 \begin_inset Flex Code
1691 \begin_layout Plain Layout
1697 , no deberían usar esta opción.
1698 Los formatos que pueden corresponder tanto a gráficos vectoriales como
1700 \begin_inset Flex Code
1703 \begin_layout Plain Layout
1709 , sí deberían usarla.
1712 \begin_layout Standard
1714 \begin_inset Flex Noun
1717 \begin_layout Plain Layout
1718 Formato de gráfico vectorial
1723 indica a \SpecialChar LyX
1724 que el formato puede contener gráficos vectoriales.
1725 Esta información se emplea para determinar el formato objetivo de los gráficos
1726 incluidos para la exportación
1727 \begin_inset Flex Noun
1730 \begin_layout Plain Layout
1737 Los gráficos incluidos pueden requerir conversión a
1738 \begin_inset Flex Noun
1741 \begin_layout Plain Layout
1748 \begin_inset Flex Noun
1751 \begin_layout Plain Layout
1758 \begin_inset Flex Noun
1761 \begin_layout Plain Layout
1768 \begin_inset Flex Noun
1771 \begin_layout Plain Layout
1777 no puede manejar otros formatos de imagen.
1778 Si un archivo incluido no está ya en formato
1779 \begin_inset Flex Noun
1782 \begin_layout Plain Layout
1789 \begin_inset Flex Noun
1792 \begin_layout Plain Layout
1799 \begin_inset Flex Noun
1802 \begin_layout Plain Layout
1809 \begin_inset Flex Noun
1812 \begin_layout Plain Layout
1818 si la opción de formato vectorial está marcada, y si no a
1819 \begin_inset Flex Noun
1822 \begin_layout Plain Layout
1832 \begin_layout Section
1836 \begin_layout Standard
1837 Puesto que todas las conversiones de un formato a otro tienen lugar en el
1838 archivo temporal de \SpecialChar LyX
1839 , a veces es necesario modificar un archivo antes de
1840 copiarlo en el directorio temporal para que la conversión se pueda realizar.
1844 \begin_layout Plain Layout
1845 Por ejemplo, el archivo puede hacer referencia a otros archivos —imágenes,
1846 por ejemplo— mediante nombres de archivo relativos, y estos pueden resultar
1847 inválidos cuando el archivo se copia en el directorio temporal.
1852 Esto lo hace un Copiador: copia un archivo a (o desde) el directorio temporal
1853 y puede modificarlo en el proceso.
1856 \begin_layout Standard
1857 Las definiciones de los copiadores pueden usar ocho variables:
1860 \begin_layout Labeling
1861 \labelwidthstring 00.00.0000
1862 \begin_inset Flex Code
1865 \begin_layout Plain Layout
1871 El directorio de sistema de \SpecialChar LyX
1873 \begin_inset space \thinspace{}
1877 \begin_inset space \space{}
1881 \begin_inset Flex Noun
1884 \begin_layout Plain Layout
1893 \begin_layout Labeling
1894 \labelwidthstring 00.00.0000
1895 \begin_inset Flex Code
1898 \begin_layout Plain Layout
1904 El archivo de entrada
1907 \begin_layout Labeling
1908 \labelwidthstring 00.00.0000
1909 \begin_inset Flex Code
1912 \begin_layout Plain Layout
1918 El archivo de salida
1921 \begin_layout Labeling
1922 \labelwidthstring 00.00.0000
1923 \begin_inset Flex Code
1926 \begin_layout Plain Layout
1932 Nombre base (sin extensión) en el directorio temporal de \SpecialChar LyX
1936 \begin_layout Labeling
1937 \labelwidthstring 00.00.0000
1938 \begin_inset Flex Code
1941 \begin_layout Plain Layout
1947 Ruta completa al directorio temporal de \SpecialChar LyX
1951 \begin_layout Labeling
1952 \labelwidthstring 00.00.0000
1953 \begin_inset Flex Code
1956 \begin_layout Plain Layout
1962 Ruta completa al archivo original \SpecialChar LyX
1966 \begin_layout Labeling
1967 \labelwidthstring 00.00.0000
1968 \begin_inset Flex Code
1971 \begin_layout Plain Layout
1977 Nombre del archivo \SpecialChar LyX
1978 (sin ruta de directorio)
1981 \begin_layout Labeling
1982 \labelwidthstring 00.00.0000
1983 \begin_inset Flex Code
1986 \begin_layout Plain Layout
1992 El `nombre \SpecialChar LaTeX
1996 \begin_layout Standard
1997 El último debería ser el nombre de archivo tal como debería ponerse en un
1998 comando \SpecialChar LaTeX
2006 Solo es pertinente cuando se exportan archivos adecuados para esa inclusión.
2009 \begin_layout Standard
2010 Los copiadores pueden emplearse para hacer casi cualquier cosa con archivos
2012 Por ejemplo, supongamos que quieres copiar archivos
2013 \begin_inset Flex Noun
2016 \begin_layout Plain Layout
2022 generados a un directorio especial,
2023 \begin_inset Flex Code
2026 \begin_layout Plain Layout
2033 En ese caso deberías escribir un guión para intérprete de comandos tal
2037 \begin_layout Standard
2038 \begin_inset listings
2042 \begin_layout Plain Layout
2047 \begin_layout Plain Layout
2052 \begin_layout Plain Layout
2054 TOFILE=`basename $2`
2057 \begin_layout Plain Layout
2059 cp $FROMFILE /home/you/pdf/$TOFILE
2064 Guárdalo en tu directorio local, —
2065 \begin_inset Flex Code
2068 \begin_layout Plain Layout
2069 /home/you/.lyx/scripts/pdfcopier.sh
2074 , supongamos— y hazlo ejecutable si ello es necesario en tu sistema.
2075 Después, en el diálogo
2076 \begin_inset Flex Noun
2079 \begin_layout Plain Layout
2080 Herramientas\SpecialChar menuseparator
2087 \begin_inset Flex Noun
2090 \begin_layout Plain Layout
2091 Gestión de archivos\SpecialChar menuseparator
2097 , selecciona el formato
2098 \begin_inset Flex Noun
2101 \begin_layout Plain Layout
2107 —u otro de los formatos pdf— e introduce
2108 \begin_inset Flex Code
2111 \begin_layout Plain Layout
2112 pdfcopier.sh $$i $$o
2118 \begin_inset Flex Noun
2121 \begin_layout Plain Layout
2130 \begin_layout Standard
2132 usa los copiadores en varias de sus propias conversiones.
2133 Por ejemplo, si se encuentran los programas apropiados, \SpecialChar LyX
2134 instalará copiadores
2136 \begin_inset Flex Noun
2139 \begin_layout Plain Layout
2146 \begin_inset Flex Noun
2149 \begin_layout Plain Layout
2151 \begin_inset space ~
2160 Cuando se exporta a estos formatos, el copiador se encarga de que se copien
2161 no solo el archivo HTML principal, sino también los diversos archivos asociados
2162 (estilos, imágenes, etc).
2163 Todos estos archivos se escriben en un subdirectorio del directorio en
2164 el que se encuentre el archivo original de \SpecialChar LyX
2169 \begin_layout Plain Layout
2170 Este copiador puede adaptarse.
2171 El argumento opcional
2172 \begin_inset Quotes cld
2176 \begin_inset Quotes crd
2179 acepta una lista, separada por comas, con las extensiones que deben copiarse;
2180 si se omite se copiarán todos los archivos.
2182 \begin_inset Quotes cld
2186 \begin_inset Quotes crd
2189 determina la extensión añadida al directorio generado.
2191 \begin_inset Quotes cld
2195 \begin_inset Flex Noun
2198 \begin_layout Plain Layout
2206 \begin_inset Quotes crd
2209 , así, el HTML generado a partir de
2210 \begin_inset Flex Noun
2213 \begin_layout Plain Layout
2220 \begin_inset Flex Noun
2223 \begin_layout Plain Layout
2224 /ruta/a/archivo.html.\SpecialChar LyX
2238 \begin_layout Section
2240 \begin_inset CommandInset label
2242 name "sec:Convertidores"
2249 \begin_layout Standard
2250 Puedes definir tus propios convertidores para convertir archivos entre distintos
2252 Se hace en el diálogo
2253 \begin_inset Flex Noun
2256 \begin_layout Plain Layout
2257 Herramientas\SpecialChar menuseparator
2258 Preferencias\SpecialChar menuseparator
2259 Gestión de archivos\SpecialChar menuseparator
2268 \begin_layout Standard
2269 Para definir un nuevo convertidor de un formato a otro, selecciónalos en
2270 las listas desplegables
2271 \begin_inset Flex Noun
2274 \begin_layout Plain Layout
2276 \begin_inset space ~
2285 \begin_inset Flex Noun
2288 \begin_layout Plain Layout
2290 \begin_inset space ~
2298 , introduce el comando necesario para la conversión y después pulsa el botón
2300 \begin_inset Flex Noun
2303 \begin_layout Plain Layout
2310 En la definición de convertidores se pueden usar distintas variables:
2313 \begin_layout Labeling
2314 \labelwidthstring 00.00.0000
2315 \begin_inset Flex Code
2318 \begin_layout Plain Layout
2324 El directorio de sistema de \SpecialChar LyX
2328 \begin_layout Labeling
2329 \labelwidthstring 00.00.0000
2330 \begin_inset Flex Code
2333 \begin_layout Plain Layout
2339 El archivo de entrada
2342 \begin_layout Labeling
2343 \labelwidthstring 00.00.0000
2344 \begin_inset Flex Code
2347 \begin_layout Plain Layout
2353 El archivo de salida
2356 \begin_layout Labeling
2357 \labelwidthstring 00.00.0000
2358 \begin_inset Flex Code
2361 \begin_layout Plain Layout
2367 El nombre del archivo base del archivo de entrada (sin la extensión)
2370 \begin_layout Labeling
2371 \labelwidthstring 00.00.0000
2372 \begin_inset Flex Code
2375 \begin_layout Plain Layout
2381 La ruta al archivo de entrada
2384 \begin_layout Labeling
2385 \labelwidthstring 00.00.0000
2386 \begin_inset Flex Code
2389 \begin_layout Plain Layout
2395 La ruta al archivo de entrada original (esto es diferente de $$p cuando
2396 se invoca una cadena de convertidores).
2399 \begin_layout Labeling
2400 \labelwidthstring 00.00.0000
2401 \begin_inset Flex Code
2404 \begin_layout Plain Layout
2410 El nombre iconv para la codificación del documento.
2413 \begin_layout Standard
2415 \begin_inset Flex Noun
2418 \begin_layout Plain Layout
2424 puedes introducir los siguientes, separados por comas:
2427 \begin_layout Labeling
2428 \labelwidthstring 00.00.0000
2429 \begin_inset Flex Code
2432 \begin_layout Plain Layout
2438 Este convertidor ejecuta alguna forma de \SpecialChar LaTeX
2440 Hará estar disponibles los registros de errores \SpecialChar LaTeX
2445 \begin_layout Labeling
2446 \labelwidthstring 00.00.0000
2447 \begin_inset Flex Code
2450 \begin_layout Plain Layout
2456 Necesita el archivo \SpecialChar LaTeX
2458 \begin_inset Flex Noun
2461 \begin_layout Plain Layout
2470 \begin_layout Labeling
2471 \labelwidthstring 00.00.0000
2472 \begin_inset Flex Code
2475 \begin_layout Plain Layout
2482 \begin_inset Quotes cld
2486 \begin_inset Quotes crd
2489 archivo del trastero, que en la práctica quiere decir un archivo \SpecialChar LaTeX
2491 el que queremos exportar, sin
2492 \begin_inset Flex Code
2495 \begin_layout Plain Layout
2504 \begin_layout Labeling
2505 \labelwidthstring 00.00.0000
2506 \begin_inset Flex Code
2509 \begin_layout Plain Layout
2518 \begin_layout Standard
2519 Las tres siguientes no son realmente indicadores porque aceptan un argumento
2521 \begin_inset Flex Noun
2524 \begin_layout Plain Layout
2526 \begin_inset space ~
2530 \begin_inset space ~
2541 \begin_layout Labeling
2542 \labelwidthstring 00.00.0000
2543 \begin_inset Flex Code
2546 \begin_layout Plain Layout
2552 Si se pone, el error estándar del convertidor se redirecciona a un archivo
2554 \begin_inset Flex Code
2557 \begin_layout Plain Layout
2563 , y el guión dado como argumento se ejecutará como:
2564 \begin_inset Flex Code
2567 \begin_layout Plain Layout
2568 script <infile.out >infile.log
2574 El argumento puede contener
2575 \begin_inset Flex Code
2578 \begin_layout Plain Layout
2587 \begin_layout Labeling
2588 \labelwidthstring 00.00.0000
2589 \begin_inset Flex Code
2592 \begin_layout Plain Layout
2598 El nombre del directorio en el que el convertidor descargará los archivos
2601 no creará ese directorio y no copia nada en él, aunque copiará este directorio
2603 El argumento puede contener
2604 \begin_inset Flex Code
2607 \begin_layout Plain Layout
2613 , que será reemplazado por el nombre base de los archivos de entrada y de
2614 salida, respectivamente, cuando se copia el directorio.
2615 \begin_inset Newline newline
2618 Ten en cuenta que resultdir y usetempdir no tienen sentido juntos.
2619 El último será ignorado si se da el primero.
2622 \begin_layout Labeling
2623 \labelwidthstring 00.00.0000
2624 \begin_inset Flex Code
2627 \begin_layout Plain Layout
2633 Determina el nombre del archivo de salida y puede contener
2634 \begin_inset Flex Code
2637 \begin_layout Plain Layout
2644 Solo es sensible con
2645 \begin_inset Flex Code
2648 \begin_layout Plain Layout
2654 y además es opcional; si no se da, por omisión es `index'.
2657 \begin_layout Standard
2658 Ninguno de estos tres últimos se usan actualmente en ninguno de los convertidore
2659 s que son instalados por \SpecialChar LyX
2663 \begin_layout Standard
2664 No tienes que definir convertidores entre todos los formatos que quieras
2666 Por ejemplo, observarás que no hay convertidor `\SpecialChar LyX
2667 a PostScript', sin embargo
2669 exporta a PostScript.
2670 Lo hace creando primero un archivo \SpecialChar LaTeX
2671 (no es necesario un convertidor para
2672 esto), que luego es convertido a DVI mediante el convertidor `\SpecialChar LaTeX
2674 y por último convierte el archivo DVI resultante a PostScript.
2676 encuentra automáticamente estas 'cadenas' de convertidores y siempre escogerá
2677 la cadena más corta posible.
2678 Sin embargo, aún puedes definir múltiples métodos de conversión entre formatos.
2679 Por ejemplo, la configuración estándar de \SpecialChar LyX
2680 provee cinco caminos para convertir
2685 \begin_layout Enumerate
2686 directamente, usando
2687 \begin_inset Flex Noun
2690 \begin_layout Plain Layout
2699 \begin_layout Enumerate
2700 mediante (DVI y) PostScript, usando
2701 \begin_inset Flex Noun
2704 \begin_layout Plain Layout
2713 \begin_layout Enumerate
2714 mediante DVI, usando
2715 \begin_inset Flex Noun
2718 \begin_layout Plain Layout
2727 \begin_layout Enumerate
2728 directamente, usando
2729 \begin_inset Flex Noun
2732 \begin_layout Plain Layout
2742 \begin_layout Enumerate
2743 directamente, usando
2744 \begin_inset Flex Noun
2747 \begin_layout Plain Layout
2757 \begin_layout Standard
2758 Para construir estas cadenas alternativas tienes que definir múltiples 'formatos
2759 de archivo' objetivo, como se describe en la sección
2760 \begin_inset space ~
2764 \begin_inset CommandInset ref
2766 reference "sec:Formatos"
2771 Por ejemplo, en la configuración estándar, se definen los formatos llamados
2773 \begin_inset Flex Noun
2776 \begin_layout Plain Layout
2783 \begin_inset Flex Noun
2786 \begin_layout Plain Layout
2793 \begin_inset Flex Noun
2796 \begin_layout Plain Layout
2803 \begin_inset Flex Noun
2806 \begin_layout Plain Layout
2813 \begin_inset Flex Noun
2816 \begin_layout Plain Layout
2823 \begin_inset Flex Noun
2826 \begin_layout Plain Layout
2833 \begin_inset Flex Noun
2836 \begin_layout Plain Layout
2843 \begin_inset Flex Noun
2846 \begin_layout Plain Layout
2854 \begin_inset Flex Noun
2857 \begin_layout Plain Layout
2864 \begin_inset Flex Noun
2867 \begin_layout Plain Layout
2874 ), todos ellos compartiendo la extensión
2875 \begin_inset Flex Noun
2878 \begin_layout Plain Layout
2884 , y que corresponden a los métodos de conversión antes mencionados.
2887 \begin_layout Chapter
2888 Internacionalización de \SpecialChar LyX
2890 \begin_inset CommandInset label
2892 name "cap:Internacionalización-de-LyX"
2899 \begin_layout Standard
2901 soporta el uso de una interfaz traducida.
2902 La última vez que lo comprobamos, \SpecialChar LyX
2903 suministraba textos en treinta idiomas.
2904 El idioma elegido se denomina
2909 (Para lecciones adicionales sobre configuración de idiomas, véase también
2911 \begin_inset Quotes cld
2915 \begin_inset Quotes crd
2918 del sistema operativo.
2919 En Linux, la página de manual de
2920 \begin_inset Flex Code
2923 \begin_layout Plain Layout
2929 es un buen punto de partida).
2933 \begin_layout Standard
2934 Hay que advertir que estas traducciones funcionarán pero tienen algunos
2936 En particular, todos los diálogos se han diseñado con el inglés en mente,
2937 lo que significa que algún texto traducido podría ser demasiado largo para
2938 ajustarse al espacio asignado.
2939 Esto solo es un problema de presentación en pantalla y no causará ningún
2941 Además, encontrarás que algunas traducciones no definen atajos de teclado
2943 A veces, simplemente no hay letras libres suficientes para ello.
2944 Otras veces, el traductor todavía no lo ha completado.
2945 Nuestro equipo de traducción, al que podrías unirte si quieres,
2949 \begin_layout Plain Layout
2950 Si usas con fluidez un idioma distinto del inglés, ¡unirse a estos equipos
2951 es una estupenda forma de corresponder a la comunidad \SpecialChar LyX
2957 intentará, por supuesto, corregir estas deficiencias en futuras versiones
2962 \begin_layout Section
2963 Traducción de \SpecialChar LyX
2967 \begin_layout Subsection
2968 Traducción de la interfaz gráfica de usuario (mensajes de texto)
2971 \begin_layout Standard
2973 utiliza la biblioteca GNU
2974 \begin_inset Flex Code
2977 \begin_layout Plain Layout
2983 para manejar la internacionalización de la interfaz.
2984 Para que \SpecialChar LyX
2985 hable tu idioma preferido en todos los menús y diálogos es necesario
2987 \begin_inset Flex Code
2990 \begin_layout Plain Layout
2997 Si está disponible, tendrás que generar a partir de él un archivo
2998 \begin_inset Flex Code
3001 \begin_layout Plain Layout
3008 El procedimiento para hacer todo esto se explica en la documentación de
3010 \begin_inset Flex Code
3013 \begin_layout Plain Layout
3020 Puedes hacer esto solo para ti, pero también podrías compartir el resultado
3021 de tu trabajo con el resto de la comunidad \SpecialChar LyX
3023 Envía un mensaje a la lista de desarrolladores de \SpecialChar LyX
3024 para más información
3025 sobre cómo proceder.
3028 \begin_layout Standard
3029 En resumen, esto es lo que deberías hacer (xx indica el código del idioma):
3032 \begin_layout Itemize
3033 Inspecciona el código fuente de \SpecialChar LyX
3036 \begin_inset CommandInset href
3038 name "información en la web"
3039 target "https://www.lyx.org/HowToUseGIT"
3047 \begin_layout Itemize
3049 \begin_inset Flex Code
3052 \begin_layout Plain Layout
3058 a la carpeta de los archivos
3059 \begin_inset Flex Code
3062 \begin_layout Plain Layout
3069 Después lo renombras como
3070 \begin_inset Flex Code
3073 \begin_layout Plain Layout
3081 \begin_inset Flex Code
3084 \begin_layout Plain Layout
3090 no está por ningún sitio, puede rehacerse con el comando de consola
3091 \begin_inset Flex Code
3094 \begin_layout Plain Layout
3100 en ese directorio, o puedes usar como muestra un archivo
3101 \begin_inset Flex Code
3104 \begin_layout Plain Layout
3110 de algún otro idioma).
3113 \begin_layout Itemize
3115 \begin_inset Flex Code
3118 \begin_layout Plain Layout
3128 \begin_layout Plain Layout
3129 Es un archivo de texto, se puede editar en cualquier editor de texto.
3130 Pero hay programas especializados para editar estos archivos, como
3134 (para todas las plataformas) o
3143 tiene un `modo' para editar archivos
3144 \begin_inset Flex Code
3147 \begin_layout Plain Layout
3154 \begin_inset Flex URL
3157 \begin_layout Plain Layout
3159 https://www.gnu.org/software/gettext/manual/html_node/PO-Mode.html#PO-Mode
3169 Para algunos nombres de menú y otros artilugios hay además atajos de teclado
3170 que deberían traducirse.
3171 Dichas teclas se marcan con una `|' delante, y deberían traducirse de acuerdo
3172 con las palabras y frases del idioma.
3173 Además tendrías que rellenar la información al principio del nuevo archivo
3175 \begin_inset Flex Code
3178 \begin_layout Plain Layout
3184 , correo electrónico, etc., para que la gente sepa dónde enviarte sugerencias
3185 o divertidas diatribas.
3188 \begin_layout Standard
3189 Si estás haciendo esto solo para ti, entonces:
3192 \begin_layout Itemize
3194 \begin_inset Flex Code
3197 \begin_layout Plain Layout
3205 \begin_inset Flex Code
3208 \begin_layout Plain Layout
3209 msgfmt -o xx.mo < xx.po
3217 \begin_layout Itemize
3219 \begin_inset Flex Code
3222 \begin_layout Plain Layout
3228 a tu directorio local, en la carpeta apropiada para los mensajes de las
3229 aplicaciones en el idioma xx, con el nombre
3230 \begin_inset Flex Code
3233 \begin_layout Plain Layout
3240 \begin_inset space \thinspace{}
3244 \begin_inset space \space{}
3248 \begin_inset Flex Code
3251 \begin_layout Plain Layout
3252 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3262 \begin_layout Standard
3263 Sin embargo, ya se ha dicho, lo mejor sería poder añadir el nuevo archivo
3265 \begin_inset Flex Code
3268 \begin_layout Plain Layout
3274 a la distribución de \SpecialChar LyX
3275 , para que otros puedan usarlo.
3276 Esto requiere hacer cambios en \SpecialChar LyX
3277 , así que envía un correo a la lista de
3278 desarrolladores si estás interesado en hacerlo.
3281 \begin_layout Subsubsection
3285 \begin_layout Standard
3286 A veces resulta que un mensaje en inglés tiene diversas traducciones en
3288 Un ejemplo es la palabra
3289 \begin_inset Flex Code
3292 \begin_layout Plain Layout
3298 , que en alemán se puede traducir por Nach o Bis, según el sentido exacto
3300 \begin_inset Quotes cld
3304 \begin_inset Quotes crd
3309 \begin_inset Flex Code
3312 \begin_layout Plain Layout
3318 no maneja tales traducciones ambiguas.
3319 Por lo tanto, debes añadir alguna información contextual al mensaje: en
3321 \begin_inset Flex Code
3324 \begin_layout Plain Layout
3331 \begin_inset Flex Code
3334 \begin_layout Plain Layout
3335 To[[as in 'From format x to format y']]
3341 \begin_inset Flex Code
3344 \begin_layout Plain Layout
3345 To[[as in 'From page x to page y']]
3351 Ahora las dos apariciones de
3352 \begin_inset Flex Code
3355 \begin_layout Plain Layout
3362 \begin_inset Flex Code
3365 \begin_layout Plain Layout
3371 y pueden traducirse correctamente por Nach y Bis, respectivamente.
3374 \begin_layout Standard
3375 Por supuesto que la información contextual debe eliminarse del mensaje original
3376 si no se usa en la traducción.
3377 Por eso hay que ponerla entre dobles corchetes al final del mensaje (véase
3379 El mecanismo de traducción de \SpecialChar LyX
3380 asegura que todo lo que va entre corchetes
3381 al final de los mensajes se quita antes de mostrarlos.
3384 \begin_layout Subsection
3385 Traducción de la documentación
3388 \begin_layout Standard
3389 La documentación en línea (menú
3392 \begin_inset Flex Noun
3395 \begin_layout Plain Layout
3409 ) puede (¡debería!) traducirse.
3410 Si hay versiones traducidas de la documentación disponible
3414 \begin_layout Plain Layout
3415 Hasta marzo de 2008, al menos algunos de los documentos han sido traducidos
3416 a catorce idiomas, y el Tutorial está disponible en algunos más.
3422 \begin_inset Flex Code
3425 \begin_layout Plain Layout
3431 está adecuadamente configurado, \SpecialChar LyX
3433 \begin_inset Quotes cld
3437 \begin_inset Quotes crd
3442 busca las traducciones en
3445 \begin_inset Flex Code
3448 \begin_layout Plain Layout
3467 es el código para el idioma en uso actualmente.
3468 Si no hay versión traducida se presentará por omisión la versión inglesa
3470 Ten en cuenta que las versiones traducidas deben tener los mismos nombres
3475 de antes) que el original.
3476 Si te animas a traducir documentación (¡de paso, una excelente manera de
3477 leerla atentamente!), hay algunas cosas que deberías tener en cuenta:
3480 \begin_layout Itemize
3481 Consulta la web de traducción de la documentación en
3482 \begin_inset CommandInset href
3484 name "https://www.lyx.org/Translation"
3485 target "https://www.lyx.org/Translation"
3491 Así podrás comprobar el estado actual de traducción de documentos a tu
3493 También si hay alguien que esté coordinando la traducción a tu idioma.
3494 Si no hay nadie comunícanos, por favor, si estás interesado en ello.
3497 \begin_layout Standard
3498 Una vez que te has decidido a empezar, he aquí algunos consejos que te pueden
3499 ahorrar inconvenientes:
3502 \begin_layout Itemize
3503 ¡Únete al equipo de documentación! En
3506 \begin_inset Flex Noun
3509 \begin_layout Plain Layout
3510 Ayuda\SpecialChar menuseparator
3520 , que por cierto, es el primer documento que se debería traducir, hay informació
3521 n sobre cómo hacerlo.
3524 \begin_layout Itemize
3525 Infórmate sobre las normas tipográficas de tu idioma.
3526 La tipografía es un antiguo arte que ha desarrollado durante siglos una
3527 gran variedad de convenciones en diversas partes del mundo.
3528 Estudia también la terminología profesional de los tipógrafos en tu país.
3529 Inventar tu propia terminología sólo provocará confusión.
3532 (¡Cuidado! La tipografía es adictiva!)
3535 \begin_layout Itemize
3536 Haz una copia del documento para trabajar sobre ella.
3537 Puedes guardarla como archivo personal de traducción en tu directorio
3544 \begin_layout Itemize
3545 De vez en cuando el documento original (del equipo \SpecialChar LyX
3547 Usa el visor de fuentes en
3548 \begin_inset CommandInset href
3550 name "https://www.lyx.org/trac/timeline"
3551 target "https://www.lyx.org/trac/timeline"
3556 para ver los cambios realizados.
3557 De esta manera puedes ver fácilmente qué partes del documento traducido
3558 necesitan actualizarse.
3561 \begin_layout Standard
3562 Si encuentras un error en el documento original, ¡corríjelo y notifica los
3563 cambios al equipo de documentación! (¿No te has olvidado de contactar con
3564 el equipo de documentación, verdad?)
3567 \begin_layout Standard
3568 \begin_inset Branch OutDated
3572 \begin_layout Section
3573 International Keyboard Support
3576 \begin_layout Standard
3579 [Editor's Note: The following section is by
3587 It needs to be fixed to conform to the new Documentation Style sheet and
3588 to make use of the new v1.0 features.
3589 The whole thing also needs to be merged with the section following it.-jw
3590 It may also be badly out of date.-rh (2008)]
3593 \begin_layout Subsection
3594 Defining Own Keymaps: Keymap File Format
3597 \begin_layout Standard
3598 Let's look at a keyboard definition file a little closer.
3599 It is a plain text file defining
3602 \begin_layout Itemize
3603 key-to-key or key-to-string translations
3606 \begin_layout Itemize
3610 \begin_layout Itemize
3611 dead keys exceptions
3614 \begin_layout Standard
3615 To define key-to-key or key-to-string translation, use this command:
3618 \begin_layout Quotation
3619 \begin_inset Flex Code
3622 \begin_layout Plain Layout
3631 \begin_inset Flex Code
3634 \begin_layout Plain Layout
3643 \begin_layout Standard
3645 \begin_inset Flex Code
3648 \begin_layout Plain Layout
3654 is the key to be translated and
3655 \begin_inset Flex Code
3658 \begin_layout Plain Layout
3664 is the string to be inserted into the document.
3665 To define dead keys, use:
3668 \begin_layout Quotation
3669 \begin_inset Flex Code
3672 \begin_layout Plain Layout
3681 \begin_inset Flex Code
3684 \begin_layout Plain Layout
3693 \begin_layout Standard
3695 \begin_inset Flex Code
3698 \begin_layout Plain Layout
3704 is a keyboard key and
3705 \begin_inset Flex Code
3708 \begin_layout Plain Layout
3715 The following dead keys are supported (shortcut name is in parentheses):
3718 \begin_layout Quotation
3722 \begin_inset space \hfill{}
3728 \begin_layout Quotation
3730 \begin_inset space \hfill{}
3736 \begin_layout Quotation
3738 \begin_inset space \hfill{}
3744 \begin_layout Quotation
3746 \begin_inset space \hfill{}
3752 \begin_layout Quotation
3754 \begin_inset space \hfill{}
3760 \begin_layout Quotation
3762 \begin_inset space \hfill{}
3769 \begin_layout Plain Layout
3781 \begin_layout Quotation
3783 \begin_inset space \hfill{}
3789 \begin_layout Quotation
3791 \begin_inset space \hfill{}
3798 \begin_layout Plain Layout
3810 \begin_layout Quotation
3812 \begin_inset space \hfill{}
3818 \begin_layout Quotation
3820 \begin_inset space \hfill{}
3826 \begin_layout Quotation
3828 \begin_inset space \hfill{}
3835 \begin_layout Plain Layout
3847 \begin_layout Quotation
3849 \begin_inset space \hfill{}
3856 \begin_layout Plain Layout
3868 \begin_layout Quotation
3870 \begin_inset space \hfill{}
3876 \begin_layout Quotation
3877 hungarian umlaut (hug)
3878 \begin_inset space \hfill{}
3884 \begin_layout Quotation
3886 \begin_inset space \hfill{}
3892 \begin_layout Quotation
3894 \begin_inset space \hfill{}
3901 \begin_layout Plain Layout
3913 \begin_layout Standard
3914 Since in many international keyboards there are exceptions to what some
3915 dead keys should do, you can define them using
3918 \begin_layout Quotation
3919 \begin_inset Flex Code
3922 \begin_layout Plain Layout
3930 deadkey key outstring
3933 \begin_layout Standard
3934 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
3938 \begin_layout Quotation
3939 \begin_inset Flex Code
3942 \begin_layout Plain Layout
3955 \begin_layout Standard
3956 to make it work correctly.
3957 Also, you have to define as exceptions dead keys over i and j, to remove
3958 the dot from them before inserting an accent mark.
3959 I will change this when the time comes, but so far I haven't had time.
3962 \begin_layout Standard
3963 Oh, and about characters: backslash is escaped, so to enter it, you'll need
3966 \begin_inset Flex Code
3969 \begin_layout Plain Layout
3975 have different meaning.
3977 \begin_inset Flex Code
3980 \begin_layout Plain Layout
3986 marks comments, quotes start and end \SpecialChar LaTeX
3988 To enter quote, you'll need to use
3989 \begin_inset Flex Code
3992 \begin_layout Plain Layout
4001 \begin_inset Flex Code
4004 \begin_layout Plain Layout
4011 \begin_inset Flex Code
4014 \begin_layout Plain Layout
4025 \begin_layout Standard
4026 If you make a keyboard description file that works for your language, please
4027 mail it to me, so I can include it in the next keymap distribution.
4030 \begin_layout Standard
4031 More keywords will be supported in keymap configuration file in future,
4035 \begin_layout Itemize
4036 \begin_inset Flex Code
4039 \begin_layout Plain Layout
4050 \begin_inset space \hfill{}
4054 \begin_inset Flex Code
4057 \begin_layout Plain Layout
4066 \begin_layout Itemize
4067 \begin_inset Flex Code
4070 \begin_layout Plain Layout
4081 \begin_inset space \hfill{}
4085 \begin_inset Flex Code
4088 \begin_layout Plain Layout
4094 an external keymap translation program
4097 \begin_layout Standard
4098 Also, it should look into
4099 \begin_inset Flex Code
4102 \begin_layout Plain Layout
4108 file for defaults, too (for example, a
4109 \begin_inset Flex Code
4112 \begin_layout Plain Layout
4120 option to include default keyboard).
4128 \begin_layout Section
4129 \begin_inset CommandInset label
4135 Cosas sobre teclados internacionales
4138 \begin_layout Standard
4139 \begin_inset Note Note
4142 \begin_layout Plain Layout
4143 Al revisar este documento en marzo de 2008, no examiné este asunto porque
4145 Sería bueno que alguien pudiera hacerlo.
4154 \begin_layout Standard
4155 Las dos secciones siguientes describen con detalle la sintaxis de los archivos
4157 \begin_inset Flex Code
4160 \begin_layout Plain Layout
4169 \begin_inset Flex Code
4172 \begin_layout Plain Layout
4181 Deberían servir de ayuda para diseñar tus propios mapas de teclado si los
4182 suministrados no satisfacen tus necesidades.
4185 \begin_layout Subsection
4189 \begin_layout Standard
4191 \begin_inset Flex Code
4194 \begin_layout Plain Layout
4200 asocia pulsaciones de teclas con caracteres o secuencias de ellos.
4201 Como sugiere el nombre, sirve para trazar un mapa del teclado.
4202 En esta sección se describen las palabras clave
4203 \begin_inset Flex Code
4206 \begin_layout Plain Layout
4215 \begin_inset Flex Code
4218 \begin_layout Plain Layout
4227 \begin_inset Flex Code
4230 \begin_layout Plain Layout
4239 \begin_inset Flex Code
4242 \begin_layout Plain Layout
4251 \begin_inset Flex Code
4254 \begin_layout Plain Layout
4263 \begin_layout Labeling
4264 \labelwidthstring 00.00.0000
4265 \begin_inset Flex Code
4268 \begin_layout Plain Layout
4276 Asocia un carácter a una cadena
4279 \begin_layout LyX-Code
4294 \begin_layout Standard
4308 , la doble comilla (") y la barra invertida (
4310 ) deben escaparse con una barra (
4315 \begin_layout Standard
4316 Un ejemplo de una declaración de
4317 \begin_inset Flex Noun
4320 \begin_layout Plain Layout
4328 para hacer que el símbolo
4329 \begin_inset Flex Noun
4332 \begin_layout Plain Layout
4340 sea generado por la tecla
4341 \begin_inset Flex Noun
4344 \begin_layout Plain Layout
4355 \begin_layout LyX-Code
4361 \begin_layout Labeling
4362 \labelwidthstring 00.00.0000
4363 \begin_inset Flex Code
4366 \begin_layout Plain Layout
4374 Especifica un carácter acentuado
4377 \begin_layout LyX-Code
4386 \begin_layout Standard
4387 Esto hará que el carácter
4395 sobre el(los) carácter(es) permitido(s)
4400 Este es el mecanismo de tecla muerta
4404 \begin_layout Plain Layout
4414 se refiere a una tecla que no genera ningún carácter por sí mismo, pero
4415 seguida de otra tecla genera el carácter acentuado deseado.
4416 Por ejemplo, un caráter con diéresis, ü, se genera de esta manera.
4425 \begin_layout Standard
4430 y después una tecla que no está entre las permitidas (
4434 ), en la salida obtendrás el carácter
4438 seguido por el otro carácter, el no permitido.
4439 Hay que tener en cuenta que
4440 \begin_inset Flex Noun
4443 \begin_layout Plain Layout
4451 cancela una tecla muerta, de modo que si pulsas
4456 \begin_inset Flex Noun
4459 \begin_layout Plain Layout
4467 , el cursor no retrocede una posición sino que anula el efecto que
4471 hubiera tenido sobre la siguiente pulsación.
4474 \begin_layout Standard
4475 En el ejemplo siguiente, el carácter ' va a generar un acento agudo permitido
4476 sobre los caracteres a, e, i, o, u, A, E, I, O, U:
4479 \begin_layout LyX-Code
4482 kmod ' acute aeiouAEIOU
4485 \begin_layout Labeling
4486 \labelwidthstring 00.00.0000
4487 \begin_inset Flex Code
4490 \begin_layout Plain Layout
4496 Especifica una excepción para el carácter acentuado
4499 \begin_layout LyX-Code
4508 \begin_layout Standard
4509 Define una excepción para el
4522 debe haber sido asignado a una pulsación con una declaración previa de
4524 \begin_inset Flex Code
4527 \begin_layout Plain Layout
4543 no debe estar en el conjunto
4552 Si tecleas la secuencia
4561 Si dicha declaración no existe en el archivo
4562 \begin_inset Flex Code
4565 \begin_layout Plain Layout
4585 es el primer argumento de la declaración
4586 \begin_inset Flex Code
4589 \begin_layout Plain Layout
4602 \begin_layout Standard
4603 El comando siguiente generará äi cuando teclees agudo-i ('i):
4606 \begin_layout LyX-Code
4620 \begin_layout Labeling
4621 \labelwidthstring 00.00.0000
4622 \begin_inset Flex Code
4625 \begin_layout Plain Layout
4631 Combina dos caracteres acentos
4634 \begin_layout LyX-Code
4640 accent1 accent2 allowed
4643 \begin_layout Standard
4644 Esto es bastante esotérico.
4645 Permite combinar el efecto de
4653 (¡en ese orden!) sobre los caracteres permitidos
4666 deben haber sido declaradas con un comando
4667 \begin_inset Flex Code
4670 \begin_layout Plain Layout
4688 \begin_layout Standard
4689 Considera este ejemplo del archivo
4690 \begin_inset Flex Code
4693 \begin_layout Plain Layout
4704 \begin_layout LyX-Code
4707 kmod ; acute aeioyvhAEIOYVH
4711 kcomb acute umlaut iyIY
4714 \begin_layout Standard
4716 \begin_inset Flex Noun
4719 \begin_layout Plain Layout
4727 y obtener el efecto de
4728 \begin_inset Flex Code
4731 \begin_layout Plain Layout
4744 En este caso un retroceso cancela la última tecla muerta, así que si tecleas
4746 \begin_inset Flex Noun
4749 \begin_layout Plain Layout
4758 \begin_inset Flex Code
4761 \begin_layout Plain Layout
4774 \begin_layout Subsection
4778 \begin_layout Standard
4779 Después de realizados el mapa
4780 \begin_inset Flex Code
4783 \begin_layout Plain Layout
4792 \begin_inset Flex Code
4795 \begin_layout Plain Layout
4805 traza el mapa de las cadenas que los símbolos generan para los caracteres
4806 en la tipografía actual.
4807 La distribución de \SpecialChar LyX
4808 actualmente incluye al menos los archivos
4809 \begin_inset Flex Code
4812 \begin_layout Plain Layout
4821 \begin_inset Flex Code
4824 \begin_layout Plain Layout
4835 \begin_layout Standard
4836 En general el archivo
4837 \begin_inset Flex Code
4840 \begin_layout Plain Layout
4848 es una secuencia de declaraciones de la forma:
4851 \begin_layout LyX-Code
4864 \begin_layout Standard
4865 Por ejemplo, para asociar
4866 \begin_inset Flex Noun
4869 \begin_layout Plain Layout
4879 al correspondiente carácter en el conjunto iso-8859-1 (233), se usa:
4882 \begin_layout LyX-Code
4890 \begin_layout Standard
4892 \begin_inset Flex Code
4895 \begin_layout Plain Layout
4904 \begin_inset Flex Code
4907 \begin_layout Plain Layout
4918 Anotar que el mismo carácter puede aplicarse a más de una cadena.
4920 \begin_inset Flex Code
4923 \begin_layout Plain Layout
4934 \begin_layout LyX-Code
4946 \begin_inset Newline newline
4962 \begin_layout Standard
4964 no puede encontrar una declaración para la cadena por una tecla o una
4965 secuencia con tecla muerta, intentará si aparece como un carácter acentuado
4966 y probará a dibujar un acento sobre el carácter en la pantalla.
4969 \begin_layout Subsection
4973 \begin_layout Standard
4974 Hay una segunda manera de añadir soporte para caracteres internacionales
4975 mediante las denominadas teclas muertas.
4976 Una tecla muerta trabaja en combinación con una letra para generar un carácter
4978 Aquí explicaremos como crear una sencillísima tecla muerta para ilustrar
4982 \begin_layout Standard
4983 Supongamos que necesitas el carácter circunflejo
4984 \begin_inset Quotes cld
4988 \begin_inset Quotes crd
4992 Podrías asociar la tecla
4993 \begin_inset Flex Noun
4996 \begin_layout Plain Layout
5003 \begin_inset Flex Noun
5006 \begin_layout Plain Layout
5012 ) al comando \SpecialChar LyX
5014 \begin_inset Flex Code
5017 \begin_layout Plain Layout
5024 \begin_inset Flex Code
5027 \begin_layout Plain Layout
5034 Ahora, cuando pulses la tecla
5035 \begin_inset Flex Noun
5038 \begin_layout Plain Layout
5044 seguida de una letra, obtendrás esa letra con circunflejo sobre ella.
5045 Por ejemplo, la secuencia
5046 \begin_inset Quotes cld
5050 \begin_inset Flex Noun
5053 \begin_layout Plain Layout
5060 \begin_inset Quotes crd
5064 \begin_inset Quotes cld
5068 \begin_inset Quotes crd
5073 \begin_inset Quotes cld
5077 \begin_inset Flex Code
5080 \begin_layout Plain Layout
5087 \begin_inset Quotes crd
5090 , sin embargo, \SpecialChar LyX
5091 no imprime nada puesto que
5092 \begin_inset Flex Noun
5095 \begin_layout Plain Layout
5101 nunca lleva un circunflejo.
5103 \begin_inset Flex Noun
5106 \begin_layout Plain Layout
5112 tras una tecla muerta imprime el acento solo.
5113 ¡Advierte este último punto! Si asocias una tecla a una tecla muerta necesitará
5114 s reasociar el carácter de esa tecla a otra tecla.
5116 \begin_inset Flex Noun
5119 \begin_layout Plain Layout
5125 a una cedilla es una mala idea, puesto que solo obtendrás cedillas en lugar
5129 \begin_layout Standard
5130 Una forma habitual de asociar teclas muertas es usar
5131 \begin_inset Flex Noun
5134 \begin_layout Plain Layout
5141 \begin_inset Flex Noun
5144 \begin_layout Plain Layout
5151 \begin_inset Flex Noun
5154 \begin_layout Plain Layout
5160 en combinación con un acento, como
5161 \begin_inset Quotes cld
5165 \begin_inset Flex Noun
5168 \begin_layout Plain Layout
5175 \begin_inset Quotes crd
5179 \begin_inset Quotes cld
5183 \begin_inset Flex Noun
5186 \begin_layout Plain Layout
5193 \begin_inset Quotes crd
5197 \begin_inset Quotes cld
5201 \begin_inset Flex Noun
5204 \begin_layout Plain Layout
5211 \begin_inset Quotes crd
5215 Otra forma incluye el uso de
5216 \begin_inset Flex Code
5219 \begin_layout Plain Layout
5226 \begin_inset Flex Code
5229 \begin_layout Plain Layout
5235 para configurar la tecla especial
5236 \begin_inset Flex Code
5239 \begin_layout Plain Layout
5246 Esta tecla actúa de alguna forma como
5247 \begin_inset Flex Noun
5250 \begin_layout Plain Layout
5256 y permite teclas a caracteres acentuados.
5257 También puedes transformar teclas en muertas asociándolas a algo como
5258 \begin_inset Flex Code
5261 \begin_layout Plain Layout
5267 y después asociando esta tecla simbólica al correspondiente comando \SpecialChar LyX
5272 \begin_layout Plain Layout
5277 : Esto es exactamente lo que hago en mis archivos
5278 \begin_inset Flex Code
5281 \begin_layout Plain Layout
5288 \begin_inset Flex Code
5291 \begin_layout Plain Layout
5299 \begin_inset Flex Noun
5302 \begin_layout Plain Layout
5304 \begin_inset space ~
5313 \begin_inset Flex Code
5316 \begin_layout Plain Layout
5322 y unas cuantas de estas teclas simbólicas
5323 \begin_inset Quotes cld
5327 \begin_inset Flex Code
5330 \begin_layout Plain Layout
5337 \begin_inset Quotes crd
5340 asociadas a cosas como
5341 \begin_inset Flex Noun
5344 \begin_layout Plain Layout
5346 \begin_inset space ~
5355 \begin_inset Flex Noun
5358 \begin_layout Plain Layout
5360 \begin_inset space ~
5369 Así es como genero mis caracteres acentuados.
5374 Puedes hacer casi cualquier cosa con la tecla
5375 \begin_inset Flex Code
5378 \begin_layout Plain Layout
5385 \begin_inset Flex Noun
5388 \begin_layout Plain Layout
5394 , una tecla de función de reserva, etc.
5395 En cuanto a los comandos \SpecialChar LyX
5396 que generan acentos, consulta la entrada para
5398 \begin_inset Flex Code
5401 \begin_layout Plain Layout
5412 Ahí encontrarás la lista completa.
5415 \begin_layout Subsection
5416 Guardar la configuración de idioma
5419 \begin_layout Standard
5420 Puedes editar tus preferencias para que el entorno de idioma adecuado sea
5421 automáticamente configurado al iniciar \SpecialChar LyX
5423 \begin_inset Flex Noun
5426 \begin_layout Plain Layout
5427 Herramientas\SpecialChar menuseparator
5436 \begin_layout Chapter
5437 Instalación de nuevas clases de documento, formatos y plantillas
5438 \begin_inset CommandInset label
5440 name "cap:Instalación-de-nuevas"
5445 \begin_inset Argument 1
5448 \begin_layout Plain Layout
5449 Instalación de clases, formatos \SpecialChar ldots
5458 \begin_layout Standard
5459 En este capítulo describimos los procedimientos para crear e instalar nuevos
5460 archivos de plantillas y formatos de \SpecialChar LyX
5461 , así como repasar la instalación
5462 correcta de nuevas clases de documentos \SpecialChar LaTeX
5466 \begin_layout Standard
5467 En primer lugar, permite que digamos algo sobre la relación entre \SpecialChar LyX
5468 y \SpecialChar LaTeX
5470 Lo que hay que entender es que, en cierto sentido, \SpecialChar LyX
5471 no sabe nada de \SpecialChar LaTeX
5473 Desde el punto de vista de \SpecialChar LyX
5474 , \SpecialChar LaTeX
5475 solo es uno más de los varios
5476 \begin_inset Quotes cld
5480 \begin_inset Quotes crd
5483 en los que es capaz de generar salida.
5484 Otros son DocBook, texto sencillo y XHTML.
5486 es, por supuesto, un formato particularmente importante, pero muy poca
5487 de la información que \SpecialChar LyX
5488 tiene sobre \SpecialChar LaTeX
5489 está realmente contenida en el propio
5494 \begin_layout Plain Layout
5495 Algunos comandos son lo bastante complejos como para ser incluidos en el
5496 código de \SpecialChar LyX
5498 Pero en general los desarrolladores consideran esto una mala cosa.
5504 Esa información, incluso para las clases estándar como
5508 , está almacenada en 'archivos de formato (
5513 De igual manera \SpecialChar LyX
5514 no sabe gran cosa sobre DocBook o XHTML.
5515 Esa información está en los archivos de formato.
5518 \begin_layout Standard
5519 El archivo de formato para una determinada clase de documento se puede considera
5520 r como un manual de instrucciones para traducir las estructuras de \SpecialChar LyX
5522 y sus estilos, ciertos tipos de recuadros, etc.— a las estructuras correspondien
5523 tes de \SpecialChar LaTeX
5525 Por ejemplo, casi todo lo que \SpecialChar LyX
5527 \begin_inset Flex Code
5530 \begin_layout Plain Layout
5536 está contenido en el archivo
5537 \begin_inset Flex Code
5540 \begin_layout Plain Layout
5546 y en otros archivos incluidos en este.
5547 Por esta razón, quien intente escribir archivos de formato debería empezar
5548 por estudiar los archivos existentes.
5549 Un buen sitio para empezar es
5550 \begin_inset Flex Code
5553 \begin_layout Plain Layout
5559 , que está incluido en
5560 \begin_inset Flex Code
5563 \begin_layout Plain Layout
5570 \begin_inset Flex Code
5573 \begin_layout Plain Layout
5579 y muchos otros archivos de formato para clases de documento.
5580 En este archivo se definen las secciones y demás:
5581 \begin_inset Flex Code
5584 \begin_layout Plain Layout
5590 indica a \SpecialChar LyX
5591 como traducir los párrafos con estilos como Sección, Subsección,
5592 etc., a los comandos y etiquetas correspondientes en \SpecialChar LaTeX
5595 \begin_inset Flex Code
5598 \begin_layout Plain Layout
5604 solo incluye, básicamente, varios de estos archivos
5605 \begin_inset Flex Code
5608 \begin_layout Plain Layout
5617 \begin_layout Standard
5618 Pero definir la correspondencia \SpecialChar LyX
5620 no es lo único que hacen los archivos
5622 Su otra tarea es definir cómo aparecerán en pantalla las estructuras de
5625 El hecho de que los archivos de formato tengan estas dos tareas es a veces
5626 fuente de confusión, porque son totalmente independientes.
5627 Indicar a \SpecialChar LyX
5628 cómo traducir cierto estilo de párrafo a \SpecialChar LaTeX
5629 no le dice cómo mostrarlo
5630 en pantalla; a la inversa, indicar cómo mostrar en pantalla un estilo de
5631 párrafo no tiene nada que ver con su traducción a \SpecialChar LaTeX
5632 (solo permite indicar
5633 a \SpecialChar LaTeX
5635 Así pues, en general, cuando defines una nueva construcción en \SpecialChar LyX
5637 tienes que hacer dos cosas: 1) indicar la traducción a \SpecialChar LaTeX
5639 presentación en pantalla.
5642 \begin_layout Standard
5643 Gran parte de lo dicho es cierto, también, en relación con otros formatos
5644 de salida, aunque XHTML es un poco diferente porque en este caso \SpecialChar LyX
5649 , en cierta medida, de usar la información de la presentación de un párrafo
5650 en pantalla para generar la presentación (en forma de CSS) del párrafo
5652 Incluso en este caso, no obstante, la distinción entre lo que hace \SpecialChar LyX
5654 e y la forma en que las cosas se muestran externamente sigue en vigor, y
5655 ambas se pueden controlar separadamente.
5657 \begin_inset CommandInset ref
5659 reference "sec:Etiquetas-para-XHTML"
5666 \begin_layout Section
5667 Instalación de nuevos archivos \SpecialChar LaTeX
5671 \begin_layout Standard
5672 Algunas instalaciones quizá no incluyan un paquete \SpecialChar LaTeX
5673 que te gustaría usar
5676 Por ejemplo, podrías necesitar Foil\SpecialChar TeX
5677 , un paquete para preparar transparencias
5678 o diapositivas para proyectores.
5679 Las modernas distribuciones de \SpecialChar LaTeX
5680 como \SpecialChar TeX
5681 Live (2008 o posterior) o MiK\SpecialChar TeX
5683 una interfaz de usuario para eso.
5684 Por ejemplo, en MiK\SpecialChar TeX
5686 \begin_inset Quotes cld
5689 Administrador de paquetes
5690 \begin_inset Quotes crd
5693 para obtener una lista de los disponibles.
5694 Para instalar uno, haz clic derecho sobre él o usa el botón de la herramienta
5698 \begin_layout Standard
5699 Si tu distribución \SpecialChar LaTeX
5701 \begin_inset Quotes cld
5704 administrador de paquetes
5705 \begin_inset Quotes crd
5708 , o si el paquete no está disponible en ella, sigue los siguientes pasos
5709 para instalarlo manualmente:
5712 \begin_layout Enumerate
5713 Consigue el paquete de
5714 \begin_inset CommandInset href
5717 target "http://www.ctan.org/"
5725 \begin_layout Enumerate
5726 Si el paquete contiene un archivo con la extensión
5727 \begin_inset Quotes cld
5731 \begin_inset Flex Code
5734 \begin_layout Plain Layout
5741 \begin_inset Quotes crd
5744 (es el caso de Foil\SpecialChar TeX
5745 ) abre una consola, cambia a la carpeta del archivo
5746 y ejecuta el comando
5747 \begin_inset Flex Code
5750 \begin_layout Plain Layout
5757 Así desempaquetamos y disponemos de todos los archivos para instalar.
5758 La mayoría de paquetes \SpecialChar LaTeX
5759 no están empaquetados y podemos saltar este paso.
5762 \begin_layout Enumerate
5763 Tienes que decidir si el paquete estará disponible para todos los usuarios
5768 \begin_layout Enumerate
5769 En sistemas *nix (Linux, OSX, etc.), si el paquete va estar disponible para
5770 todos los usuarios del sistema, hay que instalarlo en el árbol 'local'
5772 , de lo contrario instálalo en tu directorio \SpecialChar TeX
5774 La ubicación de estos árboles, si no existen ya, depende del sistema.
5775 Para encontrarlos mira en el archivo
5776 \begin_inset Flex Code
5779 \begin_layout Plain Layout
5789 \begin_layout Plain Layout
5790 Usualmente es el directorio
5794 , aunque se puede ejecutar el comando
5795 \begin_inset Flex Code
5798 \begin_layout Plain Layout
5809 La ubicación del árbol `local' de \SpecialChar TeX
5810 está definida por la variable
5811 \begin_inset Flex Code
5814 \begin_layout Plain Layout
5820 ; generalmente algo como
5822 /usr/local/share/texmf/
5824 o /usr/local/texlive/XXXX donde XXXX es el año de la distribución \SpecialChar TeX
5827 La ubicación del árbol `user' de \SpecialChar TeX
5829 \begin_inset Flex Code
5832 \begin_layout Plain Layout
5843 \begin_inset Flex Code
5846 \begin_layout Plain Layout
5855 (Si estas variables no están predefinidas, debes hacerlo.) Probablemente
5856 necesites permiso de administrador para crear o modificar el árbol `local',
5857 pero no para el árbol `user'.
5858 \begin_inset Newline newline
5861 En general, es recomendable instalar en el árbol `user' porque no será modificad
5862 o o sobrescrito al actualizar el sistema.
5863 Además, se guardará copia de él cuando hagas copia de seguridad de tu directori
5864 o `home' (que debe ser lo habitual).
5867 \begin_layout Enumerate
5868 En Windows, para que el nuevo paquete esté disponible a todos los usuarios,
5869 cambia a la carpeta donde está instalado \SpecialChar LaTeX
5878 , (En MiK\SpecialChar TeX
5892 ) crea una nueva carpeta
5893 \begin_inset Flex Code
5896 \begin_layout Plain Layout
5902 y copia en ella todos los archivos del paquete.
5903 Para hacer el paquete disponible solo a un usuario o si no dispones de
5904 permisos, haz lo mismo pero en el directorio de \SpecialChar LaTeX
5906 \begin_inset space \thinspace{}
5909 ej., en MiK\SpecialChar TeX
5911 \begin_inset space ~
5915 \begin_inset Newline newline
5922 Documents and Settings
5929 \begin_inset Newline newline
5933 \begin_inset Phantom HPhantom
5936 \begin_layout Plain Layout
5954 \begin_inset Newline newline
5958 \begin_inset Newline newline
5986 \begin_layout Enumerate
5987 Ahora hay que decir a \SpecialChar LaTeX
5988 que hay archivos nuevos.
5989 Esto depende de la distribución de \SpecialChar LaTeX
5994 \begin_layout Enumerate
5995 Para \SpecialChar TeX
5996 Live ejecuta el comando
5997 \begin_inset Flex Code
6000 \begin_layout Plain Layout
6007 Si el paquete se instaló para todos los usuarios harán falta permisos de
6011 \begin_layout Enumerate
6012 Para MiK\SpecialChar TeX
6013 , si el paquete se instaló para todos los usuarios, inicia el programa
6015 \begin_inset Quotes eld
6019 \begin_inset space ~
6023 \begin_inset Quotes erd
6027 \begin_inset Quotes eld
6031 \begin_inset Quotes erd
6035 Si no, inicia el programa
6036 \begin_inset Quotes eld
6040 \begin_inset Quotes erd
6047 \begin_layout Enumerate
6048 Finalmente, hay que decir a \SpecialChar LyX
6049 que hay nuevos paquetes disponibles.
6051 \begin_inset Flex Noun
6054 \begin_layout Plain Layout
6055 Herramientas\SpecialChar menuseparator
6061 y reinicia \SpecialChar LyX
6065 \begin_layout Standard
6066 Ya está instalado el paquete.
6067 En nuestro ejemplo, la clase de documento
6068 \begin_inset Flex Code
6071 \begin_layout Plain Layout
6073 \begin_inset space ~
6081 estará ahora disponible en
6082 \begin_inset Flex Noun
6085 \begin_layout Plain Layout
6086 Documento\SpecialChar menuseparator
6087 Configuración\SpecialChar menuseparator
6089 \begin_inset space ~
6093 \begin_inset space ~
6105 \begin_layout Standard
6106 Si quieres usar una clase de documento \SpecialChar LaTeX
6107 que no aparece listada en
6108 \begin_inset Flex Noun
6111 \begin_layout Plain Layout
6112 Documento\SpecialChar menuseparator
6113 Configuración\SpecialChar menuseparator
6115 \begin_inset space ~
6119 \begin_inset space ~
6127 , debes crear un archivo de formato (`layout') para ella.
6128 Este es el tema de la sección siguiente.
6131 \begin_layout Section
6132 Tipos de archivos de formato
6135 \begin_layout Standard
6136 Esta sección describe los diversos tipos de arhivos de \SpecialChar LyX
6137 que contienen informació
6140 \begin_inset Flex Code
6143 \begin_layout Plain Layout
6149 describen estilos de párrafo y de carácter, y determinan cómo los debería
6150 presentar \SpecialChar LyX
6151 y cómo deberían traducirse a \SpecialChar LaTeX
6152 , DocBook, XHTML o cualquier otro
6153 formato de salida que se vaya a usar.
6157 \begin_layout Standard
6158 Intentaremos aquí dar una minuciosa descripción del proceso; sin embargo,
6159 hay tantos tipos diferentes de documentos soportados por clases de \SpecialChar LaTeX
6161 no podemos aspirar a tratar todas las distintas posibilidades o problemas
6162 que puedas encontrar.
6163 La lista de usuarios de \SpecialChar LyX
6164 es frecuentada por gente con mucha experiencia
6165 en el diseño de formatos deseosa de compartir sus conocimientos.
6168 \begin_layout Standard
6169 Cuando te pongas a escribir un nuevo formato, es de gran ayuda echar un
6170 vistazo a los formatos de ejemplo suministrados con \SpecialChar LyX
6172 Si escribes un `layout' de \SpecialChar LyX
6173 para una clase de documento \SpecialChar LaTeX
6175 podría ser útil también a otros, no dudes en compartir tu labor enviándola
6177 \begin_inset CommandInset href
6179 name "sección 'Layouts' en wiki LyX"
6180 target "https://wiki.lyx.org/Layouts/Layouts"
6185 o incluso a la lista de desarrolladores de \SpecialChar LyX
6186 para poderlo incluir en la
6191 \begin_layout Plain Layout
6192 Hay que advertir que \SpecialChar LyX
6193 se acoge a la licencia GPL, por tanto cualquier material
6194 aportado debe tener la misma licencia.
6202 \begin_layout Subsection
6204 \begin_inset CommandInset label
6206 name "subsec:Módulos-de-formato"
6213 \begin_layout Standard
6214 Hemos hablado hasta ahora de `archivos de formato'.
6215 Pero hay distintos tipos de archivos con información sobre formatos.
6216 Estrictamente, los archivos de formato tienen la extensión
6217 \begin_inset Flex Code
6220 \begin_layout Plain Layout
6226 y proporcionan a \SpecialChar LyX
6227 información sobre las clases de documento.
6228 Sin embargo, a partir de \SpecialChar LyX
6229 1.6, esta información puede proporcionarse también
6234 , que tienen la extensión
6235 \begin_inset Flex Code
6238 \begin_layout Plain Layout
6245 Los módulos son a los paquetes \SpecialChar LaTeX
6246 lo que los formatos a las clases \SpecialChar LaTeX
6248 módulos —como el módulo Notas finales— dan soporte específico a un paquete
6249 determinado —en este caso
6250 \begin_inset Flex Code
6253 \begin_layout Plain Layout
6260 En cierto sentido, los módulos de formato son similares a los `archivos
6265 \begin_layout Plain Layout
6266 Estos pueden tener cualquier extensión pero, por convenio, se usa la extensión
6268 \begin_inset Flex Code
6271 \begin_layout Plain Layout
6283 \begin_inset Flex Code
6286 \begin_layout Plain Layout
6292 —, ya que, como estos, los módulos no son específicos para una clase de
6293 documento dada, sino que se pueden usar con muchos formatos diferentes.
6294 La diferencia es que el uso de un archivo incluido con
6295 \begin_inset Flex Code
6298 \begin_layout Plain Layout
6304 requiere editar dicho archivo, mientras que los módulos se seleccionan
6306 \begin_inset Flex Noun
6309 \begin_layout Plain Layout
6310 Documento\SpecialChar menuseparator
6320 \begin_layout Standard
6321 La construcción de módulos es la forma más fácil de iniciarse en la edición
6322 del formato, puesto que puede ser tan sencillo como añadir un nuevo estilo
6323 de párrafo o un recuadro flexible.
6324 No obstante, los módulos pueden, en principio, contener cualquier cosa
6325 que pueda contener un archivo `layout'.
6328 \begin_layout Standard
6329 Después de crear un módulo nuevo y copiarlo en la carpeta
6330 \begin_inset Flex Code
6333 \begin_layout Plain Layout
6339 , tendrás que reconfigurar \SpecialChar LyX
6340 y reiniciar después para que el módulo aparezca
6342 Sin embargo, los cambios que hagas al módulo se verán inmediatamente si
6344 \begin_inset Flex Noun
6347 \begin_layout Plain Layout
6348 Documento\SpecialChar menuseparator
6354 , seleccionas lo que sea y después pulsas
6355 \begin_inset Quotes cld
6359 \begin_inset Quotes crd
6365 Es muy recomendable guardar el trabajo antes de hacer eso.
6370 es muy recomendable no intentar editar los módulos mientras se está trabajando
6371 simultáneamente en un documento
6374 Aunque los desarrolladores, por supuesto, se esfuerzan en mantener la estabilid
6375 ad de \SpecialChar LyX
6376 en estas situaciones, errores sintácticos y similares en el archivo
6377 del módulo podrían causar extraños comportamientos.
6380 \begin_layout Subsubsection
6384 \begin_layout Standard
6385 Los módulos son a \SpecialChar LyX
6386 lo que los paquetes a \SpecialChar LaTeX
6388 Sin embargo, a veces puede suceder que necesites un recuadro específico
6389 o un estilo de carácter solo para un documento, y escribir un módulo que
6390 estará disponible también para otros documentos tiene poco sentido.
6391 En estos casos, lo que necesitas es el
6392 \begin_inset Quotes cld
6396 \begin_inset Quotes crd
6403 \begin_layout Standard
6406 Documento\SpecialChar menuseparator
6407 Configuración\SpecialChar menuseparator
6411 El gran cuadro de texto permite introducir todo lo que podría incluirse
6412 en un archivo de formato o en un módulo.
6413 De hecho, el formato local de un documento se puede considerar como un
6414 módulo que le pertenece solo a él.
6415 Por tanto, en particular, hay que introducir una etiqueta
6416 \begin_inset Flex Code
6419 \begin_layout Plain Layout
6426 Cualquier formato es aceptable, pero debería usarse normalmente el actual
6428 (En \SpecialChar LyX
6429 2.2 el formato actual es 60).
6432 \begin_layout Standard
6433 Una vez introducido algo en el panel
6434 \begin_inset Flex Code
6437 \begin_layout Plain Layout
6445 \begin_inset Quotes cld
6449 \begin_inset Quotes crd
6453 Pulsando ese botón \SpecialChar LyX
6454 determinará si lo introducido es información válida
6455 para el formato elegido.
6457 informará del resultado pero, desafortunadamente, no indicará qué errores
6458 pudiera haber habido.
6459 Sin embargo, si \SpecialChar LyX
6460 se ha arrancado en una terminal se verán ahí los errores.
6461 El formato local no se podrá guardar hasta que se haya introducido algo
6465 \begin_layout Standard
6466 Las advertencias al final de la sección anterior se aplican también aquí.
6467 Es mejor no enredar con formato local mientras se está trabajando, especialment
6468 e si no se ha guardado el documento.
6469 Dicho esto, usar formato local en un documento de prueba puede ser una
6470 forma muy conveniente de probar ideas de formato, o incluso de empezar
6471 a desarrollar un módulo.
6474 \begin_layout Subsection
6475 Formato para archivos
6476 \begin_inset Flex Noun
6479 \begin_layout Plain Layout
6488 \begin_layout Standard
6489 Probablemente te vas a encontrar con dos situaciones a la hora de querer
6490 soportar una nueva clase de documento \SpecialChar LaTeX
6491 , según se trate de archivos de estilo
6493 \begin_inset Flex Code
6496 \begin_layout Plain Layout
6502 ) o de archivos de clases \SpecialChar LaTeX2e
6504 \begin_inset Flex Code
6507 \begin_layout Plain Layout
6514 Dar soporte a un nuevo estilo es bastante fácil.
6515 Dar soporte a una nueva clase es un poco más difícil.
6516 Trataremos el primer caso en esta sección y el otro en la siguiente.
6517 Lo mismo cabe decir, por supuesto, para el soporte de un nuevo DocBook
6521 \begin_layout Standard
6522 El caso más sencillo es aquel en el que la nueva clase de documento se suministr
6523 a como archivo de estilo que se usará conjuntamente con una clase ya soportada.
6524 Para nuestro ejemplo supondremos que el archivo de estilo se llama
6525 \begin_inset Flex Noun
6528 \begin_layout Plain Layout
6534 y que se usará conjuntamente con
6535 \begin_inset Flex Noun
6538 \begin_layout Plain Layout
6544 , que es una clase estándar.
6547 \begin_layout Standard
6548 Empieza por copiar el archivo `layout' existente en tu directorio local:
6552 \begin_layout Plain Layout
6553 Evidentemente, cuál es tu directorio local variará según la plataforma,
6554 y además \SpecialChar LyX
6555 permite especificarlo al inicio usando la opción
6556 \begin_inset Flex Code
6559 \begin_layout Plain Layout
6573 \begin_layout LyX-Code
6574 cp report.layout ~/.lyx/layouts/myclass.layout
6577 \begin_layout Standard
6579 \begin_inset Flex Code
6582 \begin_layout Plain Layout
6591 \begin_layout LyX-Code
6594 DeclareLaTeXClass{report}
6597 \begin_layout Standard
6601 \begin_layout LyX-Code
6604 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
6607 \begin_layout Standard
6611 \begin_layout LyX-Code
6613 \begin_inset Newline newline
6619 \begin_inset Newline newline
6625 \begin_layout Standard
6626 cerca del principio del archivo.
6629 \begin_layout Standard
6630 Inicia \SpecialChar LyX
6632 \begin_inset Flex Noun
6635 \begin_layout Plain Layout
6636 Herramientas\SpecialChar menuseparator
6643 Después reinicia \SpecialChar LyX
6644 y haz una prueba con un documento nuevo.
6646 \begin_inset Flex Noun
6649 \begin_layout Plain Layout
6650 Documento\SpecialChar menuseparator
6657 \begin_inset Quotes cld
6661 \begin_inset Flex Noun
6664 \begin_layout Plain Layout
6671 \begin_inset Quotes crd
6674 en la lista de clases de documento.
6675 Es probable que algunos de los comandos de secciones y demás en tu nueva
6676 clase funcionen de distinta manera a como lo hacen en la clase estándar
6678 \begin_inset Flex Code
6681 \begin_layout Plain Layout
6687 en este ejemplo—, de modo que si quieres, ahora puedes enredar un rato
6688 con los ajustes de las distintas secciones.
6689 La información del formato de las secciones se encuentra en
6690 \begin_inset Flex Code
6693 \begin_layout Plain Layout
6699 , pero no necesitas copiar ni cambiar este archivo.
6700 Simplemente añade tus cambios a tu archivo `layout' después de la línea
6702 \begin_inset Flex Code
6705 \begin_layout Plain Layout
6712 \begin_inset Flex Code
6715 \begin_layout Plain Layout
6722 Por ejemplo, podrías añadir estas líneas:
6725 \begin_layout LyX-Code
6729 \begin_layout LyX-Code
6733 \begin_layout LyX-Code
6737 \begin_layout LyX-Code
6741 \begin_layout LyX-Code
6745 \begin_layout Standard
6746 para cambiar la tipografía de los encabezados de capítulo a sans-serif.
6747 Esto sobrescribirá (o, en este caso, añadirá) la declaración para el estilo
6752 \begin_layout Standard
6753 Tu nuevo paquete puede proporcionar además comandos o entornos no presentes
6755 En este caso, los añadirás al archivo `layout'.
6757 \begin_inset space ~
6761 \begin_inset CommandInset ref
6763 reference "sec:Estructura-del-archivo-layout"
6767 para información sobre cómo hacerlo.
6770 \begin_layout Standard
6772 \begin_inset Flex Noun
6775 \begin_layout Plain Layout
6781 se puede usar con diferentes clases de documento, e incluso si no es así,
6782 lo más sencillo sería escribir un módulo que puedes cargar con la clase
6784 El módulo más simple posible podría ser:
6787 \begin_layout LyX-Code
6790 DeclareLyXModule{My Package}
6793 \begin_layout LyX-Code
6797 \begin_layout LyX-Code
6798 #Support for mypkg.sty.
6801 \begin_layout LyX-Code
6803 \begin_inset Newline newline
6809 \begin_layout LyX-Code
6811 \begin_inset Newline newline
6817 \begin_layout LyX-Code
6819 \begin_inset Newline newline
6825 \begin_inset Newline newline
6831 \begin_layout Standard
6832 Un módulo más complejo podría modificar el comportamiento de alguna estructura
6833 ya existente o definir algunas nuevas.
6834 De nuevo te remitimos a sección
6835 \begin_inset space ~
6839 \begin_inset CommandInset ref
6841 reference "sec:Estructura-del-archivo-layout"
6848 \begin_layout Subsection
6849 Formato para archivos
6850 \begin_inset Flex Noun
6853 \begin_layout Plain Layout
6862 \begin_layout Standard
6863 En este caso hay dos opciones.
6864 Una, que el archivo de clase esté él mismo basado en una clase de documento
6866 Por ejemplo, muchas clases de tesis están basadas en
6867 \begin_inset Flex Noun
6870 \begin_layout Plain Layout
6877 Para ver si el tuyo lo está, busca una línea parecida a
6880 \begin_layout LyX-Code
6886 \begin_layout Standard
6888 Si está, entonces puedes proceder en gran parte como en la sección anterior,
6889 aunque la línea Declare\SpecialChar LaTeX
6890 Class será diferente.
6891 Si tu nueva clase es tesis y está basada en book, la línea debería poner:
6895 \begin_layout Plain Layout
6896 Y será mucho más fácil si guardas el archivo como
6897 \begin_inset Flex Code
6900 \begin_layout Plain Layout
6907 supone que la clase de documento tiene el mismo nombre que el archivo
6917 \begin_layout LyX-Code
6920 DeclareLaTeXClass[thesis,book]{thesis}
6923 \begin_layout Standard
6924 Si, por el contrario, la nueva clase no está basada en una ya existente,
6925 probablemente tendrás que ir pensando en tu propio formato.
6926 Recomendamos firmemente copiar un archivo de formato existente que use
6927 una clase de \SpecialChar LaTeX
6928 parecida y modificarlo, si es posible.
6929 O al menos, usa un archivo existente como punto de partida para ver qué
6930 items son los que te deben preocupar.
6931 Los detalles se discuten a continuación.
6934 \begin_layout Subsection
6935 Creación de plantillas
6936 \begin_inset CommandInset label
6938 name "subsec:Creación-de-plantillas"
6945 \begin_layout Standard
6946 Una vez escrito un archivo de formato para una clase nueva de documento,
6947 podrías pensar en escribir además una
6952 Una plantilla funciona como una especie de tutorial para tu formato, mostrando
6953 cómo podría usarse, aunque sea con contenido irrelevante.
6954 Naturalmente, puedes echar un vistazo a las plantillas incluidas en \SpecialChar LyX
6959 \begin_layout Standard
6960 Las plantillas se crean exactamente igual que un documento normal: usando
6963 La única diferencia es que los documentos corrientes tienen todos los ajustes
6964 posibles, incluso el esquema de tipografías y el tamaño del papel.
6965 Generalmente, un usuario no desea que una plantilla sobrescriba sus ajustes
6966 preferidos para dichos parámetros.
6967 Por esta razón, el diseñador de una plantilla debería quitar comandos como
6969 \begin_inset Flex Code
6972 \begin_layout Plain Layout
6981 \begin_inset Flex Code
6984 \begin_layout Plain Layout
6992 de los archivos de plantillas de \SpecialChar LyX
6994 Esto se puede hacer con cualquier editor de texto sencillo, por ejemplo
6996 \begin_inset Flex Code
6999 \begin_layout Plain Layout
7006 \begin_inset Flex Code
7009 \begin_layout Plain Layout
7019 \begin_layout Standard
7020 Los archivos editados de plantillas que has creado se ubican en
7021 \begin_inset Flex Code
7024 \begin_layout Plain Layout
7030 , copia los que uses del directorio global de plantillas en
7031 \begin_inset Flex Code
7034 \begin_layout Plain Layout
7041 al mismo sitio y redefine la ruta a las plantillas en el diálogo
7042 \begin_inset Flex Noun
7045 \begin_layout Plain Layout
7046 Herramientas\SpecialChar menuseparator
7047 Preferencias\SpecialChar menuseparator
7056 \begin_layout Standard
7057 De paso advertiremos que hay una plantilla,
7058 \begin_inset Flex Code
7061 \begin_layout Plain Layout
7067 , que tiene un papel especial: esta plantilla se carga cada vez que abres
7068 un documento nuevo con
7069 \begin_inset Flex Noun
7072 \begin_layout Plain Layout
7073 Archivo\SpecialChar menuseparator
7079 , con el fin de proporcionar ajustes predeterminados por omisión.
7080 Para (re)crear esta plantilla desde dentro de \SpecialChar LyX
7081 , lo que debes hacer es abrir
7082 un documento, establecer los ajustes deseados y usar el botón
7083 \begin_inset Flex Noun
7086 \begin_layout Plain Layout
7087 Guardar como predeterminados
7095 \begin_layout Subsection
7096 Actualización de antiguos archivos de formato
7099 \begin_layout Standard
7100 El formato de los archivos de formato cambia con cada nueva versión de \SpecialChar LyX
7102 de modo que los antiguos archivos de formato deben ser convertidos.
7104 lee un archivo de formato con formato antiguo lanzará la herramienta
7106 \begin_inset Flex Code
7109 \begin_layout Plain Layout
7115 , que lo convierte a un archivo temporal con el formato actual.
7116 El archivo original se deja sin tocar.
7117 Si lo usas a menudo y lo quieres convertir permanentemente para evitar
7118 que \SpecialChar LyX
7119 tenga que hacerlo cada vez, ejecuta el convertidor a mano:
7122 \begin_layout Enumerate
7124 \begin_inset Flex Code
7127 \begin_layout Plain Layout
7134 \begin_inset Flex Code
7137 \begin_layout Plain Layout
7146 \begin_layout Enumerate
7148 \begin_inset Newline newline
7152 \begin_inset Flex Code
7155 \begin_layout Plain Layout
7156 python \SpecialChar LyX
7157 Dir/scripts/layout2layout.py myclass.old myclass.layout
7163 \begin_inset Newline newline
7167 \begin_inset Flex Code
7170 \begin_layout Plain Layout
7177 es el nombre de tu directorio \SpecialChar LyX
7181 \begin_layout Standard
7182 La conversión manual no puede manejar archivos incluidos, así que estos
7183 tendrán que convertirse separadamente.
7186 \begin_layout Subsection
7189 \begin_inset CommandInset label
7191 name "subsec:Cite-Engine-Files"
7198 \begin_layout Standard
7201 A specific form of layout files are the so-called
7202 \begin_inset Flex Code
7205 \begin_layout Plain Layout
7213 files that are located in the
7214 \begin_inset Flex Code
7217 \begin_layout Plain Layout
7226 Their purpose is to define the specifics of \SpecialChar LaTeX
7227 packages aimed at bibliography
7240 , but also the way how normal Bib\SpecialChar TeX
7241 citations (without additional packages)
7242 are handled in \SpecialChar LyX
7243 is defined in such a file.
7247 \begin_layout Standard
7250 More specifically, it is defined which packages \SpecialChar LyX
7251 needs to load, which citation
7252 commands are available, how these are to be displayed in \SpecialChar LyX
7254 the dialogs, the context menus) as well as in the XHTML and plain text
7256 Furthermore, the files specify available style variants (author-year, numerical
7257 , etc.) and their specifics.
7258 The cite engine files are also used to generate the options that are available
7261 Document\SpecialChar menuseparator
7262 Settings\SpecialChar menuseparator
7263 Bibliography\SpecialChar menuseparator
7269 \begin_layout Standard
7272 Even though a cite engine file is essentially a normal layout file that
7273 could theoretically include any layout information, it usually primarily
7274 includes some specific parameters such as
7275 \begin_inset Flex Code
7278 \begin_layout Plain Layout
7287 \begin_inset Flex Code
7290 \begin_layout Plain Layout
7299 \begin_inset Flex Code
7302 \begin_layout Plain Layout
7311 \begin_inset Flex Code
7314 \begin_layout Plain Layout
7323 The syntax of the latter two is described in
7326 \begin_inset CommandInset ref
7328 reference "subsec:Citation-engine-description"
7336 \begin_inset CommandInset ref
7338 reference "subsec:Descripción-formato-cita"
7344 as well as in the files themselves.
7347 \begin_layout Section
7348 Estructura del archivo `layout'
7349 \begin_inset CommandInset label
7351 name "sec:Estructura-del-archivo-layout"
7358 \begin_layout Standard
7359 Ha llegado por fin el momento de ponerte manos a la obra y crear o editar
7360 tu propio archivo de formato; las siguientes secciones describen aquello
7361 a lo que te vas a enfrentar.
7362 Nuestro consejo es ir despacito, probando y guardando a menudo.
7363 En realidad no es para tanto, pero la multitud de opciones puede llegar
7364 a abrumarte si intentas hacer muchas cosas a la vez.
7365 Resulta más sencillo usar formatos existentes de \SpecialChar LyX
7366 como ejemplo o referencia
7367 y modificarlos según tus necesidades.
7370 \begin_layout Standard
7371 Todos los rótulos o etiquetas en los archivos de formato son insensibles
7372 a las mayúsculas; esto significa que
7373 \begin_inset Flex Code
7376 \begin_layout Plain Layout
7383 \begin_inset Flex Code
7386 \begin_layout Plain Layout
7393 \begin_inset Flex Code
7396 \begin_layout Plain Layout
7402 son el mismo comando.
7403 Los valores posibles se imprimen entre corchetes detrás del nombre de la
7405 Si en una descripción de una clase de texto no se especifica una característica
7406 , el valor por omisión se escribe en estilo
7407 \begin_inset Flex Code
7410 \begin_layout Plain Layout
7419 Si el argumento tiene un tipo de dato como
7420 \begin_inset Quotes cld
7424 \begin_inset Quotes crd
7428 \begin_inset Quotes cld
7432 \begin_inset Quotes crd
7435 , el valor por omisión se muestra de esta manera:
7436 \begin_inset Flex Code
7439 \begin_layout Plain Layout
7450 \begin_layout Subsection
7451 Declaración de la clase de documento y clasificación
7454 \begin_layout Standard
7455 Las líneas de un archivo de formato que empiezan con
7456 \begin_inset Flex Code
7459 \begin_layout Plain Layout
7466 Hay una excepción a esta regla: todos los formatos deben comenzar con líneas
7470 \begin_layout LyX-Code
7473 #% Do not delete the line below; configure depends on this
7477 \begin_layout Plain Layout
7481 \begin_inset space \thinspace{}
7486 : No borrar la línea siguiente; la configuración depende de ella
7494 \begin_layout LyX-Code
7499 DeclareLaTeXClass{Article (Standard Class)}
7502 \begin_layout LyX-Code
7507 DeclareCategory{Articles}
7510 \begin_layout Standard
7511 La segunda y tercera líneas se usan en la (re)configuración de \SpecialChar LyX
7513 El archivo `layout' es leido por el guión de \SpecialChar LaTeX
7515 \begin_inset Flex Code
7518 \begin_layout Plain Layout
7524 de un modo especial tal que
7525 \begin_inset Flex Code
7528 \begin_layout Plain Layout
7535 La primera línea es solo un comentario, la segunda contiene la declaración
7536 obligatoria de la clase de texto y la tercera línea contiene la clasificación
7537 opcional de la clase.
7538 Si estas líneas aparecen en un archivo llamado
7539 \begin_inset Flex Code
7542 \begin_layout Plain Layout
7548 , entonces definen una clase de texto de nombre
7549 \begin_inset Flex Code
7552 \begin_layout Plain Layout
7558 (el nombre del archivo de formato) que usa la clase de documento \SpecialChar LaTeX
7560 \begin_inset Flex Code
7563 \begin_layout Plain Layout
7569 (por omisión se usa el mismo nombre para ambos).
7571 \begin_inset Quotes cld
7574 Article (Standard Class)
7575 \begin_inset Quotes crd
7578 se utiliza como descripción de la clase de texto y es la que aparece en
7580 \begin_inset Flex Noun
7583 \begin_layout Plain Layout
7584 Documento\SpecialChar menuseparator
7592 \begin_inset Quotes cld
7596 \begin_inset Quotes crd
7599 en el ejemplo) también se usa en el diálogo
7600 \begin_inset Flex Noun
7603 \begin_layout Plain Layout
7604 Documento\SpecialChar menuseparator
7610 : las clases de texto se agrupan por estas categorías (generalmente son
7611 géneros, así son categorías típicas
7612 \begin_inset Quotes cld
7616 \begin_inset Quotes crd
7620 \begin_inset Quotes cld
7624 \begin_inset Quotes crd
7628 \begin_inset Quotes cld
7632 \begin_inset Quotes crd
7636 \begin_inset Quotes cld
7640 \begin_inset Quotes crd
7644 \begin_inset Quotes cld
7648 \begin_inset Quotes crd
7652 \begin_inset Quotes cld
7656 \begin_inset Quotes crd
7660 Si no se ha declarado categoría la clase se pondrá en el grupo
7661 \begin_inset Quotes cld
7665 \begin_inset Quotes crd
7671 \begin_layout Standard
7672 Supongamos que has escrito tu propia clase de texto, que utiliza la clase
7674 \begin_inset Flex Code
7677 \begin_layout Plain Layout
7683 , pero en la que has cambiado el aspecto de los encabezados de sección.
7684 Si lo pones en un archivo
7685 \begin_inset Flex Code
7688 \begin_layout Plain Layout
7694 , la cabecera de este archivo debería ser:
7697 \begin_layout LyX-Code
7700 #% Do not delete the line below; configure depends on this
7703 \begin_layout LyX-Code
7708 DeclareLaTeXClass[article]{Article (con Mis Encabezados)}
7711 \begin_layout LyX-Code
7716 DeclareCategory{Articles}
7719 \begin_layout Standard
7720 Esto declara la clase de texto
7721 \begin_inset Flex Code
7724 \begin_layout Plain Layout
7730 , asociada con la clase de documento \SpecialChar LaTeX
7732 \begin_inset Flex Code
7735 \begin_layout Plain Layout
7741 , y cuya descripción es
7742 \begin_inset Quotes cld
7745 Article (con Mis Encabezados)
7746 \begin_inset Quotes crd
7750 Si la clase de texto depende de varios paquetes, puedes declararla así:
7753 \begin_layout LyX-Code
7756 #% Do not delete the line below; configure depends on this
7759 \begin_layout LyX-Code
7764 DeclareLaTeXClass[article,foo.sty]{Article (con Mis Encabezados)}
7767 \begin_layout LyX-Code
7772 DeclareCategory{Articles}
7775 \begin_layout Standard
7776 Esto indica que la clase de texto utiliza el paquete foo.sty.
7777 Finalmente, también es posible declarar clases para código DocBook.
7778 Una declaración típica podría ser:
7781 \begin_layout LyX-Code
7784 #% Do not delete the line below; configure depends on this
7787 \begin_layout LyX-Code
7792 DeclareDocBookClass[article]{SGML (DocBook Article)}
7795 \begin_layout LyX-Code
7800 DeclareCategory{Articles}
7803 \begin_layout Standard
7804 Anotar que estas declaraciones pueden llevar también un parámetro opcional
7805 que declare el nombre de la clase de documento (pero no una lista).
7808 \begin_layout Standard
7809 Así, para ser lo más explícito posible, la forma de la declaración del formato
7813 \begin_layout LyX-Code
7818 DeclareLaTeXClass[class,package.sty]{descripción del formato}
7821 \begin_layout LyX-Code
7826 DeclareCategory{category}
7829 \begin_layout Standard
7830 La clase solo debe especificarse si el nombre de archivo de la clase \SpecialChar LaTeX
7832 el nombre de archivo del formato son diferentes; si el nombre del archivo
7833 de clase no se especifica, \SpecialChar LyX
7834 simplemente supondrá que es el mismo que el
7835 del archivo de formato.
7838 \begin_layout Standard
7839 Cuando la clase de texto se ha modificado según tus necesidades, lo que
7840 debes hacer es copiarla a
7841 \begin_inset Flex Code
7844 \begin_layout Plain Layout
7852 \begin_inset Flex Code
7855 \begin_layout Plain Layout
7862 \begin_inset Flex Noun
7865 \begin_layout Plain Layout
7866 Herramientas\SpecialChar menuseparator
7872 , y reiniciar \SpecialChar LyX
7874 Ahora la nueva clase de texto debería estar disponible junto con las demás.
7877 \begin_layout Standard
7878 Una vez instalado el `layout', puedes editarlo y ver los cambios sin tener
7879 que reconfigurar ni reiniciar \SpecialChar LyX
7885 \begin_layout Plain Layout
7886 En versiones de \SpecialChar LyX
7887 anteriores a 1.6 no era así.
7888 Como resultado, la edición de archivos de formato podía llevar mucho tiempo,
7889 pues constantemente había que reconfigurar y reiniciar.
7894 Se puede forzar la recarga del formato en uso mediante la función \SpecialChar LyX
7896 \begin_inset Flex Noun
7899 \begin_layout Plain Layout
7906 No hay atajo predeterminado para esta función —aunque por supuesto, puedes
7907 asociarle tú mismo una secuencia de teclas—.
7908 Normalmente usarás esta función introduciéndola simplemente en el
7916 \begin_layout Standard
7921 : Esto es mucho más que una
7922 \begin_inset Quotes cld
7925 característica avanzada
7926 \begin_inset Quotes crd
7934 recomendable que no intentes editar tu formato mientras estés trabajando
7935 en un documento importante.
7936 Usa un documento de prueba.
7937 Los errores sintácticos y similares en tu archivo de formato podrían provocar
7938 comportamientos extraños.
7939 En particular, tales errores podrían provocar que \SpecialChar LyX
7940 vea el formato actual
7941 como inválido e intente cambiar a algún otro.
7945 \begin_layout Plain Layout
7946 En realidad, los errores en la sintaxis pueden causar incluso el cierre
7948 , porque ciertos tipos de error pueden hacer que \SpecialChar LyX
7954 información de formato.
7955 Por favor ten cuidado.
7960 El equipo \SpecialChar LyX
7961 procura que \SpecialChar LyX
7962 se mantenga estable en estos casos, pero es mejor
7967 \begin_layout Plain Layout
7968 De todos modos, haz copias de seguridad regularmente.
7969 Y sé bueno con mamá.
7978 \begin_layout Subsection
7979 Declaración de un módulo
7982 \begin_layout Standard
7983 Un módulo debe empezar con una línea como la siguiente:
7986 \begin_layout LyX-Code
7989 DeclareLyXModule[endnotes.sty]{Endnotes}
7992 \begin_layout Standard
7993 El argumento imprescindible es, entre llaves, el nombre del módulo tal como
7995 \begin_inset Flex Noun
7998 \begin_layout Plain Layout
7999 Documento\SpecialChar menuseparator
8000 Configuración\SpecialChar menuseparator
8007 El argumento entre corchetes es opcional: declara cualesquiera paquetes
8009 de los que depende el módulo.
8010 También es posible usar la forma
8011 \begin_inset Flex Noun
8014 \begin_layout Plain Layout
8020 como argumento opcional, que declara que el módulo solo puede usarse cuando
8021 existe una cadena de conversión entre los formatos `
8022 \begin_inset Flex Code
8025 \begin_layout Plain Layout
8032 \begin_inset Flex Code
8035 \begin_layout Plain Layout
8044 \begin_layout Standard
8045 La declaración del módulo debe proseguir con líneas como las siguientes:
8049 \begin_layout Plain Layout
8050 Preferiblemente en inglés si el módulo se va a publicar en \SpecialChar LyX
8052 Esta descripción aparecerá en la lista de mensajes para ser traducidos
8053 en la siguiente actualización de la interfaz.
8061 \begin_layout LyX-Code
8065 \begin_layout LyX-Code
8066 #Adds an endnote command, in addition to footnotes.
8070 \begin_layout LyX-Code
8071 #You will need to add
8073 theendnotes in \SpecialChar TeX
8077 \begin_layout LyX-Code
8078 #want the endnotes to appear.
8082 \begin_layout LyX-Code
8086 \begin_layout LyX-Code
8087 #Requires: somemodule | othermodule
8090 \begin_layout LyX-Code
8091 #Excludes: badmodule
8094 \begin_layout Standard
8095 La descripción se usa en
8096 \begin_inset Flex Noun
8099 \begin_layout Plain Layout
8100 Documento\SpecialChar menuseparator
8101 Configuración\SpecialChar menuseparator
8107 para proporcionar al usuario información sobre las acciones del módulo.
8109 \begin_inset Flex Code
8112 \begin_layout Plain Layout
8118 sirve para identificar otros módulos con los que se debe usar este; la
8120 \begin_inset Flex Code
8123 \begin_layout Plain Layout
8129 identifica los módulos con los que este no se puede usar.
8130 Ambas son opcionales, y, como se ve, varios módulos deben separarse con
8131 el símbolo tubería: |.
8132 Anotar que los módulos requeridos se tratan de forma disyuntiva: debe usarse
8137 de los módulos requeridos.
8143 Aquí, los módulos se identifican por sus nombres de archivo sin la extensión
8145 \begin_inset Flex Code
8148 \begin_layout Plain Layout
8156 \begin_inset Flex Code
8159 \begin_layout Plain Layout
8166 \begin_inset Flex Code
8169 \begin_layout Plain Layout
8178 \begin_layout Subsection
8181 The CiteEngine file declaration
8184 \begin_layout Standard
8187 A cite engine file must begin with a line like the following:
8190 \begin_layout LyX-Code
8195 DeclareLyXCiteEngineModule[biblatex.sty]{Biblatex}
8198 \begin_layout Standard
8201 The mandatory argument, in curly brackets, is the name of the module, as
8203 \begin_inset Flex Noun
8206 \begin_layout Plain Layout
8209 Document\SpecialChar menuseparator
8210 Settings\SpecialChar menuseparator
8217 The argument in square brackets is optional: It declares any \SpecialChar LaTeX
8219 on which the cite engine depends.
8222 \begin_layout Standard
8225 The cite engine declaration should then be followed by lines like the following:
8229 \begin_layout Plain Layout
8232 Preferably in English if the module should be published with \SpecialChar LyX
8234 This description will appear in the list of messages to be translated and
8235 will be thus translated with the next interface update.
8243 \begin_layout LyX-Code
8249 \begin_layout LyX-Code
8252 # Biblatex supports many author-year and numerical styles.
8255 \begin_layout LyX-Code
8258 # It is mainly aimed at the Humanities.
8262 \begin_layout LyX-Code
8265 # customizable, fully localized and provides many features
8268 \begin_layout LyX-Code
8271 # that are not possible with BibTeX.
8272 The use of 'biber' as
8275 \begin_layout LyX-Code
8278 # bibliography processor is advised.
8281 \begin_layout LyX-Code
8287 \begin_layout Standard
8290 The description is used in
8291 \begin_inset Flex Noun
8294 \begin_layout Plain Layout
8297 Document\SpecialChar menuseparator
8298 Settings\SpecialChar menuseparator
8304 to provide the user with information about the cite engine.
8307 \begin_layout Subsection
8311 \begin_layout Standard
8312 La primera línea no comentada de cualquier archivo `layout', `inc' o `module'
8317 contener el número de formato del archivo:
8320 \begin_layout Description
8321 \begin_inset Flex Code
8324 \begin_layout Plain Layout
8331 \begin_inset Flex Code
8334 \begin_layout Plain Layout
8340 ] El número de formato del archivo de formato (`layout').
8343 \begin_layout Standard
8344 Esta etiqueta se introdujo en \SpecialChar LyX
8346 \begin_inset space ~
8350 Los archivos anteriores no tienen un número explícito y se consideran como
8352 \begin_inset Flex Code
8355 \begin_layout Plain Layout
8357 \begin_inset space ~
8366 El número para la versión actual de \SpecialChar LyX
8368 Cada versión de \SpecialChar LyX
8369 es capaz de leer los formatos de versiones anteriores,
8370 de la misma forma que puede leer archivos producidos con versiones de \SpecialChar LyX
8373 Sin embargo, no está previsto convertir a formatos anteriores.
8376 \begin_layout Subsection
8377 Parámetros generales de clases de texto
8378 \begin_inset CommandInset label
8380 name "subsec:Parámetros-generales-clases"
8387 \begin_layout Standard
8388 Estos son los parámetros generales que describen completamente una clase
8394 significa que deban aparecer en archivos
8395 \begin_inset Flex Code
8398 \begin_layout Plain Layout
8404 en vez de en módulos.
8405 Un módulo puede contener cualquier etiqueta de formato).
8408 \begin_layout Description
8409 \begin_inset Flex Code
8412 \begin_layout Plain Layout
8418 Añade información para el bloque
8419 \begin_inset Flex Code
8422 \begin_layout Plain Layout
8428 cuando el documento se exporte a XHTML.
8429 Típicamente, debería usarse para exportar información de estilo CSS, aunque
8430 se puede usar para cualquier cosa que pueda aparecer en
8431 \begin_inset Flex Code
8434 \begin_layout Plain Layout
8442 \begin_inset Quotes eld
8446 \begin_inset Flex Code
8449 \begin_layout Plain Layout
8456 \begin_inset Quotes erd
8462 \begin_layout Description
8463 \begin_inset Flex Code
8466 \begin_layout Plain Layout
8472 Añade información al preámbulo del documento.
8474 \begin_inset Quotes cld
8478 \begin_inset Flex Code
8481 \begin_layout Plain Layout
8488 \begin_inset Quotes crd
8494 \begin_layout Description
8497 \begin_inset Flex Code
8500 \begin_layout Plain Layout
8508 Defines the possibilities for displaying citation references.
8510 \begin_inset CommandInset ref
8512 reference "subsec:Citation-engine-description"
8521 \begin_inset Quotes eld
8525 \begin_inset Flex Code
8528 \begin_layout Plain Layout
8537 \begin_inset Quotes erd
8541 Primarily used in cite engine files (see
8542 \begin_inset CommandInset ref
8544 reference "subsec:Cite-Engine-Files"
8554 \begin_layout Description
8555 \begin_inset Flex Code
8558 \begin_layout Plain Layout
8564 Define formatos a usar en la presentación de información bibliográfica.
8566 \begin_inset space ~
8570 \begin_inset CommandInset ref
8572 reference "subsec:Descripción-formato-cita"
8578 \begin_inset Quotes eld
8582 \begin_inset Flex Code
8585 \begin_layout Plain Layout
8592 \begin_inset Quotes erd
8598 Primarily used in cite engine files (see
8599 \begin_inset CommandInset ref
8601 reference "subsec:Cite-Engine-Files"
8611 \begin_layout Description
8614 \begin_inset Flex Code
8617 \begin_layout Plain Layout
8626 \begin_inset Flex Code
8629 \begin_layout Plain Layout
8639 \begin_inset Flex Code
8642 \begin_layout Plain Layout
8650 ] Determines whether
8654 or Bib\SpecialChar TeX
8655 is used to generate a Bibliography.
8656 Primarily used in cite engine files (see
8657 \begin_inset CommandInset ref
8659 reference "subsec:Cite-Engine-Files"
8669 \begin_layout Description
8670 \begin_inset Flex Code
8673 \begin_layout Plain Layout
8679 Describe varias opciones globales soportadas por la clase de documento.
8681 \begin_inset space ~
8685 \begin_inset CommandInset ref
8687 reference "subsec:ClassOptions"
8691 para una descripción.
8693 \begin_inset Quotes cld
8697 \begin_inset Flex Code
8700 \begin_layout Plain Layout
8707 \begin_inset Quotes crd
8713 \begin_layout Description
8714 \begin_inset Flex Code
8717 \begin_layout Plain Layout
8724 \begin_inset Flex Code
8727 \begin_layout Plain Layout
8736 \begin_inset space \thinspace{}
8740 \begin_inset Flex Code
8743 \begin_layout Plain Layout
8749 ] Establece el número de columnas por omisión.
8750 Se puede cambiar en el diálogo
8751 \begin_inset Flex Noun
8754 \begin_layout Plain Layout
8755 Documento\SpecialChar menuseparator
8764 \begin_layout Description
8765 \begin_inset Flex Code
8768 \begin_layout Plain Layout
8774 Esta secuencia define un nuevo contador.
8776 \begin_inset space ~
8780 \begin_inset CommandInset ref
8782 reference "subsec:Contadores"
8788 \begin_inset Quotes cld
8792 \begin_inset Flex Code
8795 \begin_layout Plain Layout
8802 \begin_inset Quotes crd
8808 \begin_layout Description
8809 \begin_inset Flex Code
8812 \begin_layout Plain Layout
8818 Establece la tipografía por omisión para presentar el documento.
8820 \begin_inset space ~
8824 \begin_inset CommandInset ref
8826 reference "subsec:Tipografía"
8830 para cómo declarar tipografías.
8832 \begin_inset Quotes cld
8836 \begin_inset Flex Code
8839 \begin_layout Plain Layout
8846 \begin_inset Quotes crd
8852 \begin_layout Description
8853 \begin_inset Flex Code
8856 \begin_layout Plain Layout
8863 \begin_inset Flex Code
8866 \begin_layout Plain Layout
8872 ] Especifica un módulo que se incluirá por omisión en esta clase de documento;
8873 deberá declararse por su nombre de archivo sin la extensión
8874 \begin_inset Flex Code
8877 \begin_layout Plain Layout
8884 El usuario puede, aún así, quitar el módulo, pero estará activo al principio.
8885 (Esto se aplica solo cuando se crean archivos nuevos, o si esta clase se
8886 elige para un documento existente.)
8889 \begin_layout Description
8890 \begin_inset Flex Code
8893 \begin_layout Plain Layout
8900 \begin_inset Flex Code
8903 \begin_layout Plain Layout
8909 ] Este es el estilo que será asignado a párrafos nuevos, generalmente
8910 \begin_inset Flex Noun
8913 \begin_layout Plain Layout
8920 Si no se especifica, se escogerá por omisión el primer estilo definido,
8921 pero es muy recomendable usar esta instrucción.
8924 \begin_layout Description
8925 \begin_inset Flex Code
8928 \begin_layout Plain Layout
8935 \begin_inset Flex Code
8938 \begin_layout Plain Layout
8944 ] Indica que el módulo en cuestión (que debería especificarse por el nombre
8945 de archivo sin la extensión
8946 \begin_inset Flex Code
8949 \begin_layout Plain Layout
8955 ) no puede utilizarse con esta clase de documento.
8956 Esto podría usarse en un archivo de formato específico de una publicación
8957 para, digamos, impedir el empleo del módulo
8958 \begin_inset Flex Code
8961 \begin_layout Plain Layout
8967 , que numera los teoremas y demás por secciones.
8972 puede utilizarse en un módulo.
8973 Los módulos tienen su propia forma de excluir otros módulos (véase
8974 \begin_inset space ~
8978 \begin_inset CommandInset ref
8980 reference "subsec:Módulos-de-formato"
8987 \begin_layout Description
8988 \begin_inset Flex Code
8991 \begin_layout Plain Layout
8997 Define un nuevo flotante.
8999 \begin_inset space ~
9003 \begin_inset CommandInset ref
9005 reference "subsec:Flotantes"
9011 \begin_inset Quotes cld
9015 \begin_inset Flex Code
9018 \begin_layout Plain Layout
9025 \begin_inset Quotes crd
9031 \begin_layout Description
9032 \begin_inset Flex Code
9035 \begin_layout Plain Layout
9041 Da información para el bloque
9042 \begin_inset Flex Code
9045 \begin_layout Plain Layout
9051 cuando esta clase de documento se exporte a XHTML.
9052 Advertir que esto sobrescribirá completamente cualquier declaración anterior
9054 \begin_inset Flex Code
9057 \begin_layout Plain Layout
9064 \begin_inset Flex Code
9067 \begin_layout Plain Layout
9075 \begin_inset Flex Code
9078 \begin_layout Plain Layout
9084 si solo quieres añadir material al preámbulo).
9086 \begin_inset Quotes eld
9090 \begin_inset Flex Code
9093 \begin_layout Plain Layout
9100 \begin_inset Quotes erd
9106 \begin_layout Description
9107 \begin_inset Flex Code
9110 \begin_layout Plain Layout
9117 \begin_inset Flex Code
9120 \begin_layout Plain Layout
9126 ] El estilo a usar para el índice general, bibliografía, etc., cuando el
9127 documento se exporte a HTML.
9128 Para article, normalmente será
9129 \begin_inset Flex Code
9132 \begin_layout Plain Layout
9139 \begin_inset Flex Code
9142 \begin_layout Plain Layout
9149 Si no se especifica, \SpecialChar LyX
9150 intentará deducir qué formato usar.
9153 \begin_layout Description
9154 \begin_inset Flex Code
9157 \begin_layout Plain Layout
9164 \begin_inset Flex Code
9167 \begin_layout Plain Layout
9173 ] Modifica las propiedades del contador dado.
9174 Si el contador no existe, esta sección se ignora.
9176 \begin_inset Quotes eld
9180 \begin_inset Flex Code
9183 \begin_layout Plain Layout
9190 \begin_inset Quotes erd
9194 \begin_inset Newline newline
9198 \begin_inset space ~
9202 \begin_inset CommandInset ref
9204 reference "subsec:Contadores"
9211 \begin_layout Description
9212 \begin_inset Flex Code
9215 \begin_layout Plain Layout
9222 \begin_inset Flex Code
9225 \begin_layout Plain Layout
9231 ] Permite incluir otro archivo de definición de formato en el tuyo con el
9232 fin de evitar la duplicación de comandos.
9233 Ejemplos habituales son los archivos de formatos estándar, como
9234 \begin_inset Flex Code
9237 \begin_layout Plain Layout
9243 , que contiene la mayoría de los diseños básicos.
9246 \begin_layout Description
9247 \begin_inset Flex Code
9250 \begin_layout Plain Layout
9257 \begin_inset Flex Code
9260 \begin_layout Plain Layout
9266 ] Esta sección (re)define el formato de un recuadro.
9267 Puede aplicarse a uno existente o a uno nuevo, definido por el usuario,
9269 \begin_inset space \thinspace{}
9272 e., un nuevo estilo de texto.
9274 \begin_inset space ~
9278 \begin_inset CommandInset ref
9280 reference "subsec:estilo-del-texto"
9284 para más información.
9286 \begin_inset Quotes cld
9290 \begin_inset Flex Code
9293 \begin_layout Plain Layout
9300 \begin_inset Quotes crd
9306 \begin_layout Description
9307 \begin_inset Flex Code
9310 \begin_layout Plain Layout
9317 \begin_inset Flex Code
9320 \begin_layout Plain Layout
9326 ] Una cadena que indica la anchura del margen izquierdo en la pantalla,
9328 \begin_inset Quotes cld
9332 \begin_inset Flex Code
9335 \begin_layout Plain Layout
9342 \begin_inset Quotes crd
9346 (Esto no es una `longitud', como
9347 \begin_inset Quotes cld
9351 \begin_inset Quotes crd
9357 \begin_layout Description
9360 \begin_inset Flex Code
9363 \begin_layout Plain Layout
9372 \begin_inset Flex Code
9375 \begin_layout Plain Layout
9383 ] An integer that determines the maximal number of names displayed in an
9384 author-year citation before the citation switches to
9385 \begin_inset Quotes eld
9389 \begin_inset Quotes erd
9393 Primarily used in cite engine files (see
9394 \begin_inset CommandInset ref
9396 reference "subsec:Cite-Engine-Files"
9406 \begin_layout Description
9407 \begin_inset Flex Code
9410 \begin_layout Plain Layout
9417 \begin_inset Flex Code
9420 \begin_layout Plain Layout
9426 ] Modifica las propiedades del estilo de párrafo dado.
9427 Si el estilo no existe, esta sección se ignora.
9429 \begin_inset Quotes eld
9433 \begin_inset Flex Code
9436 \begin_layout Plain Layout
9443 \begin_inset Quotes erd
9449 \begin_layout Description
9450 \begin_inset Flex Code
9453 \begin_layout Plain Layout
9460 \begin_inset Flex Code
9463 \begin_layout Plain Layout
9469 ] Este comando elimina un contador existente, generalmente uno definido
9470 en un archivo incluido.
9473 \begin_layout Description
9474 \begin_inset Flex Code
9477 \begin_layout Plain Layout
9484 \begin_inset Flex Code
9487 \begin_layout Plain Layout
9493 ] Este comando borra un flotante existente.
9494 Es particularmente útil si quieres suprimir un flotante que ha sido definido
9495 en un archivo de entrada.
9498 \begin_layout Description
9499 \begin_inset Flex Code
9502 \begin_layout Plain Layout
9509 \begin_inset Flex Code
9512 \begin_layout Plain Layout
9518 ] Este comando borra un estilo existente.
9521 \begin_layout Description
9522 \begin_inset Flex Code
9525 \begin_layout Plain Layout
9532 \begin_inset Flex Code
9535 \begin_layout Plain Layout
9541 ] El formato de archivo (tal como se define en las preferencias de \SpecialChar LyX
9544 Principalmente, es útil cuando
9545 \begin_inset Flex Code
9548 \begin_layout Plain Layout
9555 \begin_inset Flex Code
9558 \begin_layout Plain Layout
9564 y se quiere definir un nuevo tipo de documento `literate'.
9565 Esta cadena se redefine a
9566 \begin_inset Quotes cld
9570 \begin_inset Flex Code
9573 \begin_layout Plain Layout
9580 \begin_inset Quotes crd
9584 \begin_inset Quotes cld
9588 \begin_inset Flex Code
9591 \begin_layout Plain Layout
9598 \begin_inset Quotes crd
9601 si se encuentra el correspondiente parámetro
9602 \begin_inset Flex Code
9605 \begin_layout Plain Layout
9614 \begin_layout Description
9615 \begin_inset Flex Code
9618 \begin_layout Plain Layout
9625 \begin_inset Flex Code
9628 \begin_layout Plain Layout
9639 \begin_inset Flex Code
9642 \begin_layout Plain Layout
9649 \begin_inset Flex Code
9652 \begin_layout Plain Layout
9658 ] Indica qué clase de documentos de salida que usan esta clase se generarán.
9661 \begin_layout Description
9662 \begin_inset Flex Code
9665 \begin_layout Plain Layout
9672 \begin_inset Flex Code
9675 \begin_layout Plain Layout
9682 \begin_inset Flex Code
9685 \begin_layout Plain Layout
9691 ] Especifica opciones, dadas en el segundo
9695 , para el paquete nombrado en el primer
9701 \begin_inset Quotes cld
9705 \begin_inset Flex Code
9708 \begin_layout Plain Layout
9709 PackageOptions natbib square
9715 \begin_inset Quotes crd
9719 \begin_inset Flex Code
9722 \begin_layout Plain Layout
9728 se cargue con la opción
9729 \begin_inset Flex Code
9732 \begin_layout Plain Layout
9739 (Para \SpecialChar TeX
9740 pertos, esto hace que \SpecialChar LyX
9742 \begin_inset Flex Code
9745 \begin_layout Plain Layout
9748 PassOptionsToPackage{natbib}{square}
9754 \begin_inset Flex Code
9757 \begin_layout Plain Layout
9766 \begin_layout Description
9767 \begin_inset Flex Code
9770 \begin_layout Plain Layout
9777 \begin_inset Flex Code
9780 \begin_layout Plain Layout
9789 \begin_inset Flex Code
9792 \begin_layout Plain Layout
9799 \begin_inset Flex Code
9802 \begin_layout Plain Layout
9812 El estilo de página predeterminado de la clase.
9813 Puede cambiarse en el diálogo
9814 \begin_inset Flex Noun
9817 \begin_layout Plain Layout
9818 Documento\SpecialChar menuseparator
9827 \begin_layout Description
9828 \begin_inset Flex Code
9831 \begin_layout Plain Layout
9837 Establece el preámbulo \SpecialChar LaTeX
9839 Anotar que esto anulará completamente cualesquiera declaraciones
9840 \begin_inset Flex Code
9843 \begin_layout Plain Layout
9850 \begin_inset Flex Code
9853 \begin_layout Plain Layout
9861 \begin_inset Flex Code
9864 \begin_layout Plain Layout
9870 si solo quieres añadir material al preámbulo).
9872 \begin_inset Quotes cld
9876 \begin_inset Flex Code
9879 \begin_layout Plain Layout
9886 \begin_inset Quotes crd
9892 \begin_layout Description
9893 \begin_inset Flex Code
9896 \begin_layout Plain Layout
9903 \begin_inset Flex Code
9906 \begin_layout Plain Layout
9913 \begin_inset Flex Code
9916 \begin_layout Plain Layout
9925 \begin_inset Flex Code
9928 \begin_layout Plain Layout
9934 ] Si la clase ya proporciona, o no, la característica
9935 \begin_inset Flex Code
9938 \begin_layout Plain Layout
9945 Una característica es en general el nombre de un paquete (
9946 \begin_inset Flex Code
9949 \begin_layout Plain Layout
9956 \begin_inset Flex Code
9959 \begin_layout Plain Layout
9965 , \SpecialChar ldots
9967 \begin_inset Flex Code
9970 \begin_layout Plain Layout
9977 \begin_inset Flex Code
9980 \begin_layout Plain Layout
9988 Véase en el capítulo
9989 \begin_inset space ~
9993 \begin_inset CommandInset ref
9995 reference "cap:Lista-de-funciones"
9999 la lista de características.
10002 \begin_layout Description
10003 \begin_inset Flex Code
10006 \begin_layout Plain Layout
10013 \begin_inset Flex Code
10016 \begin_layout Plain Layout
10022 ] Indica que este formato proporciona la funcionalidad del módulo mencionado,
10023 que deberá especificarse con su nombre de archivo sin la extensión
10024 \begin_inset Flex Code
10027 \begin_layout Plain Layout
10034 Esto se usará típicamente si el formato incluye el módulo directamente,
10035 preferiblemente a usar la etiqueta
10036 \begin_inset Flex Code
10039 \begin_layout Plain Layout
10045 para indicar que debería utilizarse.
10046 Podría ser empleado en un módulo que provea una implementación alternativa
10047 de la misma funcionalidad.
10050 \begin_layout Description
10051 \begin_inset Flex Code
10054 \begin_layout Plain Layout
10061 \begin_inset Flex Code
10064 \begin_layout Plain Layout
10070 ] Crea un nuevo estilo (entorno) de párrafo si no existe.
10071 Si el estilo existe se ignora esta sección.
10073 \begin_inset Quotes eld
10077 \begin_inset Flex Code
10080 \begin_layout Plain Layout
10087 \begin_inset Quotes erd
10093 \begin_layout Description
10094 \begin_inset Flex Code
10097 \begin_layout Plain Layout
10104 \begin_inset Flex Code
10107 \begin_layout Plain Layout
10113 ] Si la clase requiere la característica
10114 \begin_inset Flex Code
10117 \begin_layout Plain Layout
10124 Múltiples características deben separarse con comas.
10125 Multiple features must be separated by commas.
10126 Anotar que solo se pueden demandar características soportadas.
10127 (Véase la lista en el capítulo
10128 \begin_inset space ~
10132 \begin_inset CommandInset ref
10134 reference "cap:Lista-de-funciones"
10139 Si necesitas un paquete con opciones específicas puedes usar además
10140 \begin_inset Flex Code
10143 \begin_layout Plain Layout
10152 \begin_layout Description
10153 \begin_inset Flex Code
10156 \begin_layout Plain Layout
10163 \begin_inset Flex Code
10166 \begin_layout Plain Layout
10172 ] Una cadena que indica la anchura del margen derecho en la pantalla, por
10174 \begin_inset Quotes cld
10178 \begin_inset Flex Code
10181 \begin_layout Plain Layout
10188 \begin_inset Quotes crd
10194 \begin_layout Description
10195 \begin_inset Flex Code
10198 \begin_layout Plain Layout
10205 \begin_inset Flex Code
10208 \begin_layout Plain Layout
10214 ] Establece qué divisiones se numeran.
10215 Corresponde al contador \SpecialChar LaTeX
10217 \begin_inset Flex Code
10220 \begin_layout Plain Layout
10229 \begin_layout Description
10230 \begin_inset Flex Code
10233 \begin_layout Plain Layout
10242 \begin_inset Flex Code
10245 \begin_layout Plain Layout
10254 \begin_inset space \thinspace{}
10258 \begin_inset Flex Code
10261 \begin_layout Plain Layout
10267 ] Si debe imprimirse en una o en ambas caras del papel.
10268 Se puede cambiar en el diálogo
10269 \begin_inset Flex Noun
10272 \begin_layout Plain Layout
10273 Documento\SpecialChar menuseparator
10282 \begin_layout Description
10283 \begin_inset Flex Code
10286 \begin_layout Plain Layout
10293 \begin_inset Flex Code
10296 \begin_layout Plain Layout
10302 ] Esta secuencia define un nuevo estilo de párrafo.
10303 Si el estilo ya existe, en ese caso se redefinirán algunos de los parámetros.
10305 \begin_inset space ~
10309 \begin_inset CommandInset ref
10311 reference "subsec:Estilos-de-párrafo"
10317 \begin_inset Quotes cld
10321 \begin_inset Flex Code
10324 \begin_layout Plain Layout
10331 \begin_inset Quotes crd
10337 \begin_layout Description
10338 \begin_inset Flex Code
10341 \begin_layout Plain Layout
10348 \begin_inset Flex Code
10351 \begin_layout Plain Layout
10357 ] El nombre del comando de entorno a usar con
10358 \begin_inset Flex Code
10361 \begin_layout Plain Layout
10370 \begin_layout Description
10371 \begin_inset Flex Code
10374 \begin_layout Plain Layout
10381 \begin_inset Flex Code
10384 \begin_layout Plain Layout
10393 \begin_inset Flex Code
10396 \begin_layout Plain Layout
10402 ] Indica qué clase de diseño se emplea para definir el título de un documento.
10404 \begin_inset Flex Code
10407 \begin_layout Plain Layout
10413 significa que la macro con nombre
10414 \begin_inset Flex Code
10417 \begin_layout Plain Layout
10423 se insertará después del último formato que tiene
10424 \begin_inset Quotes cld
10428 \begin_inset Flex Code
10431 \begin_layout Plain Layout
10433 \begin_inset space ~
10442 \begin_inset Quotes crd
10447 \begin_inset Flex Code
10450 \begin_layout Plain Layout
10456 corresponde al caso en que todos los formatos que tienen
10457 \begin_inset Quotes cld
10461 \begin_inset Flex Code
10464 \begin_layout Plain Layout
10466 \begin_inset space ~
10475 \begin_inset Quotes crd
10478 debería ser incluido en el entorno
10479 \begin_inset Flex Code
10482 \begin_layout Plain Layout
10491 \begin_layout Description
10492 \begin_inset Flex Code
10495 \begin_layout Plain Layout
10502 \begin_inset Flex Code
10505 \begin_layout Plain Layout
10511 ] Establece qué divisiones se incluyen en el índice general.
10512 Corresponde al contador \SpecialChar LaTeX
10514 \begin_inset Flex Code
10517 \begin_layout Plain Layout
10526 \begin_layout Subsection
10528 \begin_inset Flex Code
10531 \begin_layout Plain Layout
10538 \begin_inset CommandInset label
10540 name "subsec:ClassOptions"
10547 \begin_layout Standard
10549 \begin_inset Flex Code
10552 \begin_layout Plain Layout
10558 puede contener las siguientes entradas:
10561 \begin_layout Description
10562 \begin_inset Flex Code
10565 \begin_layout Plain Layout
10572 \begin_inset Flex Code
10575 \begin_layout Plain Layout
10581 ] La lista de los tamaños de carácter disponibles para la tipografía principal
10582 del documento, separados por
10583 \begin_inset Quotes cld
10587 \begin_inset Flex Code
10590 \begin_layout Plain Layout
10597 \begin_inset Quotes crd
10603 \begin_layout Description
10604 \begin_inset Flex Code
10607 \begin_layout Plain Layout
10613 Para establecer la línea DTD con las clases con salida basada en XML.
10615 \begin_inset space \thinspace{}
10619 \begin_inset Quotes cld
10622 -//OASIS//DTD DocBook V4.2//EN
10623 \begin_inset Quotes crd
10629 \begin_layout Description
10630 \begin_inset Flex Code
10633 \begin_layout Plain Layout
10640 \begin_inset Flex Code
10643 \begin_layout Plain Layout
10649 ] Algunas opciones de clase de documento, separadas por coma, que se añadirán
10650 a la parte opcional del comando
10651 \begin_inset Flex Code
10654 \begin_layout Plain Layout
10665 \begin_layout Description
10666 \begin_inset Flex Code
10669 \begin_layout Plain Layout
10676 \begin_inset Flex Code
10679 \begin_layout Plain Layout
10680 string="empty|plain|headings|fancy"
10685 ] Lista de los estilos de página disponibles, separados por
10686 \begin_inset Quotes cld
10690 \begin_inset Flex Code
10693 \begin_layout Plain Layout
10700 \begin_inset Quotes crd
10706 \begin_layout Standard
10708 \begin_inset Flex Code
10711 \begin_layout Plain Layout
10718 \begin_inset Quotes cld
10722 \begin_inset Flex Code
10725 \begin_layout Plain Layout
10732 \begin_inset Quotes crd
10738 \begin_layout Subsection
10740 \begin_inset CommandInset label
10742 name "subsec:Estilos-de-párrafo"
10749 \begin_layout Standard
10750 Una descripción de estilo de párrafo tiene una aspecto como éste:
10754 \begin_layout Plain Layout
10755 Anotar que esto definirá un nuevo diseño o modificará uno existente.
10763 \begin_layout LyX-Code
10770 \begin_layout LyX-Code
10774 \begin_layout LyX-Code
10778 \begin_layout Standard
10779 donde se permiten los comandos siguientes:
10782 \begin_layout Description
10785 \begin_inset Flex Code
10788 \begin_layout Plain Layout
10797 \begin_inset Flex Code
10800 \begin_layout Plain Layout
10808 =""] This paragraph will appear in the table of contents of the given type.
10809 An empty string disables.
10810 See also the OutlinerName and the IsTocCaption commands.
10814 \begin_layout Description
10815 \begin_inset Flex Code
10818 \begin_layout Plain Layout
10825 \begin_inset Flex Code
10828 \begin_layout Plain Layout
10833 , left, right, center
10838 ] Alineación del párrafo.
10841 \begin_layout Description
10842 \begin_inset Flex Code
10845 \begin_layout Plain Layout
10852 \begin_inset Flex Code
10855 \begin_layout Plain Layout
10860 , left, right, center
10865 ] Una lista separada con comas de alineaciones permitidas.
10866 (Algunos estilos de \SpecialChar LaTeX
10867 prohiben ciertos alineamientos, ya que no tendrían
10869 Por ejemplo una alineación a la derecha o al centro de una lista numerada
10873 \begin_layout Description
10874 \begin_inset Flex Code
10877 \begin_layout Plain Layout
10884 \begin_inset Flex Code
10887 \begin_layout Plain Layout
10893 ] Define el número de argumento de un comando o entorno asociado al estilo
10895 Es útil para cosas como encabezados de sección y solo tiene sentido con
10898 Cada argumento (opcional o requerido) de un comando o entorno —excepto
10899 para el argumento requerido que se asocia con el contenido del propio párrafo—
10900 tiene una definición separada, en la que el número especifica el orden
10902 La definición debe finalizar con
10903 \begin_inset Flex Code
10906 \begin_layout Plain Layout
10913 Así, un comando con dos argumentos opcionales tiene:
10917 \begin_layout Quote
10923 \begin_layout Quote
10929 \begin_layout Quote
10935 \begin_layout Quote
10941 \begin_layout Quote
10947 \begin_layout Quote
10953 \begin_layout Standard
10954 En la definición de
10955 \begin_inset Flex Code
10958 \begin_layout Plain Layout
10964 son posibles las siguientes especificaciones:
10967 \begin_layout Itemize
10968 \begin_inset Flex Code
10971 \begin_layout Plain Layout
10978 \begin_inset Flex Code
10981 \begin_layout Plain Layout
10987 Secuencia que aparecerá tanto en el menú (a insertar este argumento) como
10988 en el botón de inserción del argumento (a menos que especifiques también
10990 \begin_inset Flex Code
10993 \begin_layout Plain Layout
11000 Para el menú puedes definir un acelerador agregando el carácter respectivo
11001 a la secuencia, separado con
11002 \begin_inset Quotes cld
11006 \begin_inset Quotes crd
11010 \begin_inset space \thinspace{}
11014 \begin_inset space \space{}
11018 \begin_inset Quotes cld
11022 \begin_inset Flex Code
11025 \begin_layout Plain Layout
11032 \begin_inset Quotes crd
11038 \begin_layout Itemize
11039 \begin_inset Flex Code
11042 \begin_layout Plain Layout
11049 \begin_inset Flex Code
11052 \begin_layout Plain Layout
11058 Secuencia separada para el menú Puedes definir un acelerador agregando
11059 el carácter respectivo a la secuencia, separado con
11060 \begin_inset Quotes cld
11064 \begin_inset Quotes crd
11068 \begin_inset space \thinspace{}
11072 \begin_inset space \space{}
11076 \begin_inset Quotes cld
11080 \begin_inset Flex Code
11083 \begin_layout Plain Layout
11090 \begin_inset Quotes crd
11094 Esta especificación es opcional.
11095 Si no se da se usará
11096 \begin_inset Flex Code
11099 \begin_layout Plain Layout
11108 \begin_layout Itemize
11109 \begin_inset Flex Code
11112 \begin_layout Plain Layout
11119 \begin_inset Flex Code
11122 \begin_layout Plain Layout
11128 Texto explicativo que se muestra en un recuadro sugerencia al planear sobre
11129 el recuadro del argumento.
11132 \begin_layout Itemize
11133 \begin_inset Flex Code
11136 \begin_layout Plain Layout
11143 \begin_inset Flex Code
11146 \begin_layout Plain Layout
11155 \begin_inset space \thinspace{}
11159 \begin_inset Flex Code
11162 \begin_layout Plain Layout
11168 ] Declara si es argumento obligatorio (1) u opcional (0).
11169 Los argumentos obligatorios se emitirán vacíos si no se dan, mientras que
11170 los opcionales no serán emitidos.
11171 Por omisión, los argumentos obligatorios se delimitan con
11172 \begin_inset Flex Code
11175 \begin_layout Plain Layout
11181 y los opcionales con
11182 \begin_inset Flex Code
11185 \begin_layout Plain Layout
11194 \begin_layout Itemize
11195 \begin_inset Flex Code
11198 \begin_layout Plain Layout
11205 \begin_inset Flex Code
11208 \begin_layout Plain Layout
11214 define otro argumento (por su número) que este argumento requiere para
11215 emitirse si él mismo es emitido.
11217 \begin_inset space \thinspace{}
11220 e., en comandos \SpecialChar LaTeX
11221 , los argumentos opcionales requieren a menudo argumentos
11222 opcionales previos para ser emitidos (al menos vacíos), como en
11223 \begin_inset Newline newline
11227 \begin_inset Flex Code
11230 \begin_layout Plain Layout
11233 command[][argument]{text}
11239 Esto se puede conseguir con la declaración
11240 \begin_inset Flex Code
11243 \begin_layout Plain Layout
11250 \begin_inset Flex Code
11253 \begin_layout Plain Layout
11262 \begin_layout Itemize
11263 \begin_inset Flex Code
11266 \begin_layout Plain Layout
11273 \begin_inset Flex Code
11276 \begin_layout Plain Layout
11282 define un delimitador izquierdo personalizado (en vez de
11283 \begin_inset Flex Code
11286 \begin_layout Plain Layout
11293 \begin_inset Flex Code
11296 \begin_layout Plain Layout
11303 Un salto de línea en la salida se puede indicar con
11304 \begin_inset Flex Code
11307 \begin_layout Plain Layout
11316 \begin_layout Itemize
11317 \begin_inset Flex Code
11320 \begin_layout Plain Layout
11327 \begin_inset Flex Code
11330 \begin_layout Plain Layout
11336 define un delimitador derecho personalizado (en vez de
11337 \begin_inset Flex Code
11340 \begin_layout Plain Layout
11347 \begin_inset Flex Code
11350 \begin_layout Plain Layout
11357 Un salto de línea en la salida se puede indicar con
11358 \begin_inset Flex Code
11361 \begin_layout Plain Layout
11370 \begin_layout Itemize
11371 \begin_inset Flex Code
11374 \begin_layout Plain Layout
11381 \begin_inset Flex Code
11384 \begin_layout Plain Layout
11390 define un argumento que se inserta si y solo si no se han dado argumentos
11391 específicos del usuario, o sea, si no se ha insertado ningún recuadro de
11392 argumento (también un recuadro de argumento vacío omite DefaultArg).
11393 Múltiples argumentos deben separarse con comas.
11396 \begin_layout Itemize
11397 \begin_inset Flex Code
11400 \begin_layout Plain Layout
11407 \begin_inset Flex Code
11410 \begin_layout Plain Layout
11416 define un argumento que se inserta en cualquier caso (solo o añadido a
11417 argumentos especificados por el usuario).
11418 Múltiples argumentos deben separarse con comas.
11421 \begin_layout Itemize
11422 \begin_inset Flex Code
11425 \begin_layout Plain Layout
11431 Tipografía usada para el contenido del argumento, véase
11432 \begin_inset CommandInset ref
11434 reference "subsec:Tipografía"
11441 \begin_layout Itemize
11442 \begin_inset Flex Code
11445 \begin_layout Plain Layout
11451 Tipografía usada para la etiqueta, véase
11452 \begin_inset CommandInset ref
11454 reference "subsec:Tipografía"
11461 \begin_layout Itemize
11462 \begin_inset Flex Code
11465 \begin_layout Plain Layout
11472 \begin_inset Flex Code
11475 \begin_layout Plain Layout
11480 , Minimalistic, Conglomerate
11485 ] describe el estilo de representación para los botones y el marco del recuadro
11489 \begin_layout Itemize
11490 \begin_inset Flex Code
11493 \begin_layout Plain Layout
11500 \begin_inset Flex Code
11503 \begin_layout Plain Layout
11510 \begin_inset Flex Code
11513 \begin_layout Plain Layout
11519 , este argumento se inserta automáticamente cuando se selecciona el estilo
11521 Actualmente solo se puede insertar automaticamente un argumento por estilo\SpecialChar breakableslash
11526 \begin_layout Itemize
11527 \begin_inset Flex Code
11530 \begin_layout Plain Layout
11537 \begin_inset Flex Code
11540 \begin_layout Plain Layout
11547 \begin_inset Flex Code
11550 \begin_layout Plain Layout
11556 , este argumento se insertará con una copia del co-texto (texto seleccionado
11557 o párrafo completo) como contenido.
11560 \begin_layout Itemize
11563 \begin_inset Flex Code
11566 \begin_layout Plain Layout
11575 \begin_inset Flex Code
11578 \begin_layout Plain Layout
11589 ] Whether the contents of this argument should be output in raw form, meaning
11590 without special translations that \SpecialChar LaTeX
11593 \begin_inset Flex Code
11596 \begin_layout Plain Layout
11604 status is inherited by the inset or paragraph layout the argument belongs
11605 to, true and false change the status for the given argument only.
11608 \begin_layout Itemize
11609 \begin_inset Flex Code
11612 \begin_layout Plain Layout
11619 \begin_inset Flex Code
11622 \begin_layout Plain Layout
11623 string of characters
11632 Define caracteres individuales que deberían emitirse en bruto, es decir,
11633 sin traducciones especiales que podría requerir \SpecialChar LaTeX
11635 Al contrario que PassThru, esto debe ser explícitamente definido para argumento
11637 Esto es, los argumentos no heredan PassThruChars de su recuadro de inserción
11641 \begin_layout Itemize
11644 \begin_inset Flex Code
11647 \begin_layout Plain Layout
11656 \begin_inset Flex Code
11659 \begin_layout Plain Layout
11669 \begin_inset space \thinspace{}
11673 \begin_inset Flex Code
11676 \begin_layout Plain Layout
11684 ] If this is set to 1, the argument will output its content in the corresponding
11685 item in the table of contents.
11689 \begin_layout Standard
11690 Por omisión, el texto introducido en el área de trabajo de \SpecialChar LyX
11692 respectivo de formato es el último argumento (obligatorio) de un comando
11694 \begin_inset Flex Code
11697 \begin_layout Plain Layout
11704 \begin_inset Flex Code
11707 \begin_layout Plain Layout
11714 Sin embargo, los argumentos con el prefijo
11715 \begin_inset Flex Code
11718 \begin_layout Plain Layout
11724 se emiten después de este argumento de área de trabajo.
11725 La numeración de este post-argumento reinicia a 1, así que el primer argumento
11726 siguiente al del área de trabajo es
11727 \begin_inset Flex Code
11730 \begin_layout Plain Layout
11737 Los post-argumentos se ignoran en cualquier otro
11738 \begin_inset Flex Code
11741 \begin_layout Plain Layout
11748 \begin_inset Flex Code
11751 \begin_layout Plain Layout
11760 \begin_layout Standard
11761 Los argumentos para
11762 \begin_inset Flex Code
11765 \begin_layout Plain Layout
11773 s de lista (como en
11774 \begin_inset Flex Code
11777 \begin_layout Plain Layout
11785 ) tienen el prefijo
11786 \begin_inset Flex Code
11789 \begin_layout Plain Layout
11795 seguido por el número (p.
11796 \begin_inset space \thinspace{}
11800 \begin_inset space \space{}
11804 \begin_inset Flex Code
11807 \begin_layout Plain Layout
11817 \begin_layout Description
11820 \begin_inset Flex Code
11823 \begin_layout Plain Layout
11831 Includes a comma-separated list of layouts that should be nested in and
11832 after the current layout.
11833 Only makes sense for nestable layouts (such as environments).
11835 \begin_inset Quotes eld
11839 \begin_inset Flex Code
11842 \begin_layout Plain Layout
11851 \begin_inset Quotes erd
11856 \begin_inset Flex Code
11859 \begin_layout Plain Layout
11870 \begin_layout Description
11871 \begin_inset Flex Code
11874 \begin_layout Plain Layout
11880 Esto sobrescribirá completamente cualquier anterior declaración
11881 \begin_inset Newline newline
11885 \begin_inset Flex Code
11888 \begin_layout Plain Layout
11896 \begin_inset Quotes eld
11900 \begin_inset Flex Code
11903 \begin_layout Plain Layout
11910 \begin_inset Quotes erd
11915 \begin_inset space ~
11919 \begin_inset CommandInset ref
11921 reference "subsec:I18n"
11925 para detalles sobre su uso.
11928 \begin_layout Description
11929 \begin_inset Flex Code
11932 \begin_layout Plain Layout
11939 \begin_inset Flex Code
11942 \begin_layout Plain Layout
11952 \begin_layout Plain Layout
11953 Anotar que aquí un 'float' es un número real, como: 1.5.
11958 El espacio vertical con el que el último de una cadena de párrafos con
11959 este estilo se separa del siguiente párrafo.
11960 Si el párrafo siguiente tiene otro estilo, las separaciones no son simplemente
11961 añadidas sino que se pone la máxima.
11964 \begin_layout Description
11965 \begin_inset Flex Code
11968 \begin_layout Plain Layout
11975 \begin_inset Flex Code
11978 \begin_layout Plain Layout
11984 La categoría para este estilo.
11985 Se usa para agrupar estilos relacionados en el recuadro de estilo en la
11986 barra de herramientas.
11987 Se puede poner cualquier cadena en 'string' pero mejor usar categorías
11988 existentes con tus propios estilos.
11991 \begin_layout Description
11992 \begin_inset Flex Code
11995 \begin_layout Plain Layout
12001 Profundidad del comando XML.
12002 Usado solo con formatos tipo XML.
12005 \begin_layout Description
12006 \begin_inset Flex Code
12009 \begin_layout Plain Layout
12016 \begin_inset Flex Code
12019 \begin_layout Plain Layout
12025 Copia todas las características de un estilo existente en el actual.
12029 \begin_layout Description
12030 \begin_inset Flex Code
12033 \begin_layout Plain Layout
12040 \begin_inset Flex Code
12043 \begin_layout Plain Layout
12049 ] El nombre de un estilo cuyo preámbulo debería salir
12054 Esto permite asegurar un orden de los retazos de preámbulo si las definiciones
12055 de macros dependen de otra.
12059 \begin_layout Plain Layout
12060 Anotar que, excepto esta funcionalidad, no hay forma de asegurar ningún
12061 orden de los preámbulos.
12062 El orden que se ve en una versión dada de \SpecialChar LyX
12063 puede cambiar sin previo aviso
12064 en versiones posteriores.
12072 \begin_layout Description
12073 \begin_inset Flex Code
12076 \begin_layout Plain Layout
12083 \begin_inset Flex Code
12086 \begin_layout Plain Layout
12091 , Box, Filled_Box, Static
12096 ] El tipo de etiqueta que se pone al final del párrafo (o secuencia de párrafos
12098 \begin_inset Flex Code
12101 \begin_layout Plain Layout
12108 \begin_inset Flex Code
12111 \begin_layout Plain Layout
12118 \begin_inset Flex Code
12121 \begin_layout Plain Layout
12128 \begin_inset Flex Code
12131 \begin_layout Plain Layout
12139 \begin_inset Flex Code
12142 \begin_layout Plain Layout
12149 \begin_inset Quotes cld
12153 \begin_inset Quotes crd
12157 \begin_inset Flex Code
12160 \begin_layout Plain Layout
12167 \begin_inset Flex Code
12170 \begin_layout Plain Layout
12171 \begin_inset space ~
12179 ) es un cuadrado blanco (resp.
12180 \begin_inset space ~
12183 negro) adecuado para marcas finales de demostraciones,
12184 \begin_inset Flex Code
12187 \begin_layout Plain Layout
12193 es una cadena de texto explícito.
12196 \begin_layout Description
12197 \begin_inset Flex Code
12200 \begin_layout Plain Layout
12207 \begin_inset Flex Code
12210 \begin_layout Plain Layout
12216 ] La secuencia usada para una etiqueta con un
12217 \begin_inset Flex Code
12220 \begin_layout Plain Layout
12227 \begin_inset Flex Code
12230 \begin_layout Plain Layout
12240 \begin_layout Description
12244 \begin_layout Plain Layout
12249 No estoy seguro de que estas configuraciones (Fill_Bottom, Fill_Top) tengan
12250 mucho uso, y probablemente se quitarán en próximas versiones.
12256 \begin_inset Note Note
12259 \begin_layout Plain Layout
12261 \begin_inset Quotes cld
12264 Espacio vertical encima
12265 \begin_inset Quotes crd
12269 \begin_inset Quotes cld
12272 Espacio vertical abajo
12273 \begin_inset Quotes erd
12276 en Editar\SpecialChar menuseparator
12277 Configuración de párrafo, esto parece obsoleto, como dice Jean-Marc
12288 \begin_layout Description
12289 \begin_inset Flex Code
12292 \begin_layout Plain Layout
12298 La tipografía usada para el cuerpo del texto
12304 \begin_inset space ~
12308 \begin_inset CommandInset ref
12310 reference "subsec:Tipografía"
12315 Anotar que al definir esta tipografía se define automáticamente la de la
12317 \begin_inset Flex Code
12320 \begin_layout Plain Layout
12327 Así que debería definirse primero ésta si se quiere definir también
12328 \begin_inset Flex Code
12331 \begin_layout Plain Layout
12340 \begin_layout Description
12341 \begin_inset Flex Code
12344 \begin_layout Plain Layout
12351 \begin_inset Flex Code
12354 \begin_layout Plain Layout
12360 ] Se usa para compatibilizar estilos nuevos a versiones estables de \SpecialChar LyX
12362 La primera versión estable que soporta esta etiqueta es \SpecialChar LyX
12364 El argumento es un número 0, -1 o cualquier valor mayor de cero.
12366 \begin_inset Flex Code
12369 \begin_layout Plain Layout
12375 de un estilo es mayor que cero, se escribirá siempre en la cabecera del
12377 Si un archivo .lyx es leido, las definiciones de estilo de la cabecera del
12378 documento se añaden a la clase de documento.
12379 Por eso, incluso versiones anteriores de \SpecialChar LyX
12380 pueden manejar el estilo.
12382 \begin_inset Flex Code
12385 \begin_layout Plain Layout
12391 es un número de versión: si el estilo es leido, y el número de versión
12392 es menor que el número de versión del estilo existente en la clase de documento
12393 , el nuevo se ignora.
12394 Si el número de versión es mayor, el estilo nuevo reemplaza al existente.
12395 -1 significa un número de versión infinito, o sea, el estilo se usa siempre.
12398 \begin_layout Description
12399 \begin_inset Flex Code
12402 \begin_layout Plain Layout
12411 \begin_inset Flex Code
12414 \begin_layout Plain Layout
12423 \begin_inset space \thinspace{}
12427 \begin_inset Flex Code
12430 \begin_layout Plain Layout
12436 ] Usualmente \SpecialChar LyX
12437 no permite insertar más de un espacio entre palabras, puesto
12438 que un espacio se considera como la separación entre dos palabras, no un
12439 carácter o símbolo por sí mismo.
12440 Esto es una buena cosa pero a veces puede ser molesta, por ejemplo, para
12441 escribir código de programas o de \SpecialChar LaTeX
12443 Por esta razón se puede habilitar
12444 \begin_inset Flex Code
12447 \begin_layout Plain Layout
12454 Anotar que \SpecialChar LyX
12455 creará espacios protegidos para los espacios adicionales en
12456 modos que no sean \SpecialChar LaTeX
12461 \begin_layout Description
12462 \begin_inset Flex Code
12465 \begin_layout Plain Layout
12471 Para la salida XHTML.
12473 \begin_inset CommandInset ref
12475 reference "subsec:Estilos-de-párrafo-XHTML"
12482 \begin_layout Description
12483 \begin_inset Flex Code
12486 \begin_layout Plain Layout
12492 [[FIXME]] (Usado solo con formatos tipo XML.)
12495 \begin_layout Description
12496 \begin_inset Flex Code
12499 \begin_layout Plain Layout
12508 \begin_inset Flex Code
12511 \begin_layout Plain Layout
12522 \begin_inset space \thinspace{}
12526 \begin_inset Flex Code
12529 \begin_layout Plain Layout
12536 \begin_inset Flex Code
12539 \begin_layout Plain Layout
12545 , marca el estilo para ser incluido en el preámbulo del documento en lugar
12546 de en el cuerpo del documento.
12547 Útil para clases de documento que piden informaciones tales como título
12548 y autor en el preámbulo.
12549 Esto solo funciona para estilos para los que
12550 \begin_inset Flex Code
12553 \begin_layout Plain Layout
12560 \begin_inset Flex Code
12563 \begin_layout Plain Layout
12570 \begin_inset Flex Code
12573 \begin_layout Plain Layout
12582 \begin_layout Description
12583 \begin_inset Flex Code
12586 \begin_layout Plain Layout
12595 \begin_inset Flex Code
12598 \begin_layout Plain Layout
12609 \begin_inset space \thinspace{}
12613 \begin_inset Flex Code
12616 \begin_layout Plain Layout
12623 \begin_inset Flex Code
12626 \begin_layout Plain Layout
12632 , marca el estilo como parte de un bloque de título (véanse también las
12634 \begin_inset Flex Code
12637 \begin_layout Plain Layout
12644 \begin_inset Flex Code
12647 \begin_layout Plain Layout
12656 \begin_layout Description
12659 \begin_inset Flex Code
12662 \begin_layout Plain Layout
12670 Includes a comma-separated list of layouts after which this one should
12672 Only makes sense with regard to nestable layouts (such as environments).
12674 \begin_inset Quotes eld
12678 \begin_inset Flex Code
12681 \begin_layout Plain Layout
12690 \begin_inset Quotes erd
12695 \begin_inset Flex Code
12698 \begin_layout Plain Layout
12709 \begin_layout Description
12712 \begin_inset Flex Code
12715 \begin_layout Plain Layout
12724 \begin_inset Flex Code
12727 \begin_layout Plain Layout
12737 \begin_inset space \thinspace{}
12741 \begin_inset Flex Code
12744 \begin_layout Plain Layout
12752 ] If this is set to 1 and AddToToc is enabled, the paragraph adds a summary
12753 of its contents in its item in the table of contents.
12754 Otherwise, only the label, if it exists, appears.
12757 \begin_layout Description
12758 \begin_inset Flex Code
12761 \begin_layout Plain Layout
12768 \begin_inset Flex Code
12771 \begin_layout Plain Layout
12777 ] La secuencia de comando \SpecialChar LaTeX
12778 que declara un ítem en una lista.
12779 El comando es para ser definido sin la barra invertida (por omisión es
12781 \begin_inset Quotes eld
12785 \begin_inset Quotes erd
12789 \begin_inset Flex Code
12792 \begin_layout Plain Layout
12800 en la salida \SpecialChar LaTeX
12804 \begin_layout Description
12805 \begin_inset Flex Code
12808 \begin_layout Plain Layout
12815 \begin_inset Flex Code
12818 \begin_layout Plain Layout
12824 ] Esto proporciona espacio extra entre párrafos que tienen el mismo formato.
12825 Si se ponen otros formatos en un entorno, cada uno es separado con el comando
12827 \begin_inset Flex Code
12830 \begin_layout Plain Layout
12837 Pero el conjunto de los ítems del entorno son separados adicionalmente
12839 \begin_inset Flex Code
12842 \begin_layout Plain Layout
12849 Anotar que esto es un
12854 \begin_layout Description
12855 \begin_inset Flex Code
12858 \begin_layout Plain Layout
12864 [[FIXME]] (Usado solo con formatos tipo XML.)
12867 \begin_layout Description
12868 \begin_inset Flex Code
12871 \begin_layout Plain Layout
12880 \begin_inset Flex Code
12883 \begin_layout Plain Layout
12894 \begin_inset space \thinspace{}
12898 \begin_inset Flex Code
12901 \begin_layout Plain Layout
12907 ] Habitualmente, \SpecialChar LyX
12908 no permite dejar un párrafo vacío, porque llevaría a una
12909 salida de \SpecialChar LaTeX
12911 Sin embargo, hay algunos casos donde podría ser útil: en una plantilla
12912 de carta, los campos requeridos pueden proporcionarse vacíos, así el usuario
12913 no los olvida; en algunos casos especiales, se puede usar un estilo que
12914 no contiene texto real como una especie de salto.
12917 \begin_layout Description
12918 \begin_inset Flex Code
12921 \begin_layout Plain Layout
12928 \begin_inset Flex Code
12931 \begin_layout Plain Layout
12937 ] El espacio vertical entre la etiqueta y el cuerpo del texto.
12938 Solo se usa para etiquetas que están sobre el cuerpo del texto (
12939 \begin_inset Flex Code
12942 \begin_layout Plain Layout
12949 \begin_inset Flex Code
12952 \begin_layout Plain Layout
12953 Centered_Top_Environment
12961 \begin_layout Description
12962 \begin_inset Flex Code
12965 \begin_layout Plain Layout
12972 \begin_inset Flex Code
12975 \begin_layout Plain Layout
12981 ] El nombre del contador para numeración automática.
12982 Con el fin de que el contador aparezca con su etiqueta, deberás referenciarla
12984 \begin_inset Flex Code
12987 \begin_layout Plain Layout
12994 Esto funcionará con
12995 \begin_inset Flex Code
12998 \begin_layout Plain Layout
13005 \begin_inset Flex Code
13008 \begin_layout Plain Layout
13015 \begin_inset Flex Code
13018 \begin_layout Plain Layout
13025 \begin_inset Flex Code
13028 \begin_layout Plain Layout
13035 \begin_inset Newline newline
13043 \begin_inset Flex Code
13046 \begin_layout Plain Layout
13053 \begin_inset Flex Code
13056 \begin_layout Plain Layout
13062 , aunque este caso es un poco complicado.
13063 Supongamos que declaras
13064 \begin_inset Quotes eld
13068 \begin_inset Flex Code
13071 \begin_layout Plain Layout
13072 LabelCounter myenum
13078 \begin_inset Quotes erd
13082 Entonces, los contadores reales usados son
13083 \begin_inset Flex Code
13086 \begin_layout Plain Layout
13093 \begin_inset Flex Code
13096 \begin_layout Plain Layout
13103 \begin_inset Flex Code
13106 \begin_layout Plain Layout
13113 \begin_inset Flex Code
13116 \begin_layout Plain Layout
13122 , como en \SpecialChar LaTeX
13124 Estos contadores deben declararse todos por separado.
13125 \begin_inset Newline newline
13129 \begin_inset CommandInset ref
13131 reference "subsec:Contadores"
13135 para detalles sobre contadores
13138 \begin_layout Description
13139 \begin_inset Flex Code
13142 \begin_layout Plain Layout
13148 La tipografía usada para la etiqueta.
13150 \begin_inset space ~
13154 \begin_inset CommandInset ref
13156 reference "subsec:Tipografía"
13163 \begin_layout Description
13164 \begin_inset Flex Code
13167 \begin_layout Plain Layout
13174 \begin_inset Flex Code
13177 \begin_layout Plain Layout
13183 ] Texto que indica cuánto se debe sangrar una etiqueta.
13186 \begin_layout Description
13187 \begin_inset Flex Code
13190 \begin_layout Plain Layout
13197 \begin_inset Flex Code
13200 \begin_layout Plain Layout
13206 ] Texto que indica el valor de espacio horizontal entre la etiqueta y el
13208 Solo se usa para etiquetas que no están sobre el cuerpo del texto.
13211 \begin_layout Description
13212 \begin_inset Flex Code
13215 \begin_layout Plain Layout
13222 \begin_inset Flex Code
13225 \begin_layout Plain Layout
13231 ] La cadena usada para una etiqueta del
13232 \begin_inset Flex Code
13235 \begin_layout Plain Layout
13242 \begin_inset Flex Code
13245 \begin_layout Plain Layout
13253 \begin_inset Flex Code
13256 \begin_layout Plain Layout
13262 está establecido, esta cadena puede contener los comandos especiales de
13263 formato descritos en la sección
13264 \begin_inset space ~
13268 \begin_inset CommandInset ref
13270 reference "subsec:Contadores"
13277 \begin_layout Description
13278 \begin_inset Flex Code
13281 \begin_layout Plain Layout
13282 LabelStringAppendix
13288 \begin_inset Flex Code
13291 \begin_layout Plain Layout
13297 ] Esta se usa en el apéndice en vez de
13298 \begin_inset Flex Code
13301 \begin_layout Plain Layout
13308 Anotar que toda declaración de
13309 \begin_inset Flex Code
13312 \begin_layout Plain Layout
13318 reconfigura también
13319 \begin_inset Newline newline
13323 \begin_inset Flex Code
13326 \begin_layout Plain Layout
13327 LabelStringAppendix
13335 \begin_layout Description
13336 \begin_inset Flex Code
13339 \begin_layout Plain Layout
13345 [FIXME] (Usado solo con formatos tipo XML.)
13348 \begin_layout Description
13349 \begin_inset Flex Code
13352 \begin_layout Plain Layout
13359 \begin_inset Flex Code
13362 \begin_layout Plain Layout
13367 , Manual, Static, Above,
13368 \begin_inset Newline newline
13371 Centered, Sensitive, Enumerate,
13372 \begin_inset Newline newline
13375 Itemize, Bibliography
13384 \begin_layout Description
13385 \begin_inset Flex Code
13388 \begin_layout Plain Layout
13394 significa que la etiqueta es la primera palabra (hasta elprimer espacio
13396 Usa espacios protegidos si quieres más de una palabra como etiqueta.
13400 \begin_layout Description
13401 \begin_inset Flex Code
13404 \begin_layout Plain Layout
13410 significa que la etiqueta es simplemente cualquier
13411 \begin_inset Flex Code
13414 \begin_layout Plain Layout
13420 declarado como tal.
13422 \begin_inset Quotes cld
13426 \begin_inset Quotes crd
13429 al comienzo del párrafo.
13431 \begin_inset Flex Code
13434 \begin_layout Plain Layout
13441 \begin_inset Flex Code
13444 \begin_layout Plain Layout
13450 , entonces se mostrará solo en el primer párrafo de cualquier secuencia
13451 de párrafos con el mismo
13452 \begin_inset Flex Code
13455 \begin_layout Plain Layout
13464 \begin_layout Description
13465 \begin_inset Flex Code
13468 \begin_layout Plain Layout
13475 \begin_inset space ~
13479 \begin_inset space ~
13483 \begin_inset Flex Code
13486 \begin_layout Plain Layout
13492 son casos especiales de
13493 \begin_inset Flex Code
13496 \begin_layout Plain Layout
13503 La etiqueta se imprimirá encima del párrafo, o al inicio de línea o centrado.
13507 \begin_layout Description
13508 \begin_inset Flex Code
13511 \begin_layout Plain Layout
13517 es un caso especial para las etiquetas de las leyendas de
13518 \begin_inset Quotes cld
13522 \begin_inset Quotes crd
13526 \begin_inset Quotes cld
13530 \begin_inset Quotes crd
13535 \begin_inset Flex Code
13538 \begin_layout Plain Layout
13544 quiere decir que la cadena (en código) de la etiqueta depende de la clase
13545 de flotante: Está codificado para ser `FloatType N', donde N es el valor
13546 del contador asociado al flotante.
13547 En el caso en que la leyenda se inserte adosada a un flotante
13548 \begin_inset Flex Code
13551 \begin_layout Plain Layout
13558 \begin_inset Quotes cld
13562 \begin_inset Quotes crd
13568 \begin_layout Description
13569 \begin_inset Flex Code
13572 \begin_layout Plain Layout
13578 produce los tipos habituales de etiquetas de enumeración.
13581 The number type needs to be set in the
13587 \begin_inset CommandInset ref
13589 reference "subsec:Contadores"
13596 \begin_layout Description
13597 \begin_inset Flex Code
13600 \begin_layout Plain Layout
13606 produce varias marcas para los distintos niveles.
13609 The bullet types displayed can be set via
13612 \begin_inset Flex Noun
13615 \begin_layout Plain Layout
13616 Documento\SpecialChar menuseparator
13617 Configuratción\SpecialChar menuseparator
13626 \begin_layout Description
13627 \begin_inset Flex Code
13630 \begin_layout Plain Layout
13636 solo debería emplearse con
13637 \begin_inset Flex Code
13640 \begin_layout Plain Layout
13641 LatexType BibEnvironment
13650 \begin_layout Description
13651 \begin_inset Flex Code
13654 \begin_layout Plain Layout
13660 Esto sobrescribirá completamente cualquier declaración anterior de
13661 \begin_inset Flex Code
13664 \begin_layout Plain Layout
13672 \begin_inset Quotes eld
13676 \begin_inset Flex Code
13679 \begin_layout Plain Layout
13686 \begin_inset Quotes erd
13691 \begin_inset CommandInset ref
13693 reference "subsec:I18n"
13697 para detallessobre su uso.
13700 \begin_layout Description
13701 \begin_inset Flex Code
13704 \begin_layout Plain Layout
13711 \begin_inset Flex Code
13714 \begin_layout Plain Layout
13720 ] El nombre correspondiente en \SpecialChar LaTeX
13721 , ya sea de un comando o de un entorno.
13724 \begin_layout Description
13725 \begin_inset Flex Code
13728 \begin_layout Plain Layout
13735 \begin_inset Flex Code
13738 \begin_layout Plain Layout
13744 ] Un parámetro opcional para el correspondiente
13745 \begin_inset Flex Code
13748 \begin_layout Plain Layout
13755 Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
13757 \begin_inset Flex Code
13760 \begin_layout Plain Layout
13766 para parámetros personalizables).
13767 Se emitirá como tal tras todos los
13768 \begin_inset Flex Code
13771 \begin_layout Plain Layout
13781 \begin_layout Description
13782 \begin_inset Flex Code
13785 \begin_layout Plain Layout
13792 \begin_inset Flex Code
13795 \begin_layout Plain Layout
13800 , Command, Environment, Item_Environment,
13801 \begin_inset Newline newline
13804 List_Environment, Bib_Environment
13809 ] Cómo debería traducirse el estilo a \SpecialChar LaTeX
13814 \begin_layout Plain Layout
13815 \begin_inset Flex Code
13818 \begin_layout Plain Layout
13824 es un poco engañoso porque estas reglas se aplican también a clases SGML.
13825 Consulta los archivos de clases SGML (archivos de nombre
13826 \begin_inset Flex Code
13829 \begin_layout Plain Layout
13835 ) para ejemplos concretos.
13844 \begin_layout Description
13845 \begin_inset Flex Code
13848 \begin_layout Plain Layout
13854 no significa nada especial.
13857 \begin_layout Description
13858 \begin_inset Flex Code
13861 \begin_layout Plain Layout
13868 \begin_inset Flex Code
13871 \begin_layout Plain Layout
13878 {\SpecialChar ldots
13887 \begin_layout Description
13888 \begin_inset Flex Code
13891 \begin_layout Plain Layout
13898 \begin_inset Flex Code
13901 \begin_layout Plain Layout
13908 }\SpecialChar ldots
13923 \begin_layout Description
13924 \begin_inset Flex Code
13927 \begin_layout Plain Layout
13934 \begin_inset Flex Code
13937 \begin_layout Plain Layout
13944 \begin_inset Flex Code
13947 \begin_layout Plain Layout
13955 se genera para cada párrafo de este entorno.
13958 \begin_layout Description
13959 \begin_inset Flex Code
13962 \begin_layout Plain Layout
13969 \begin_inset Flex Code
13972 \begin_layout Plain Layout
13979 \begin_inset Newline newline
13983 \begin_inset Flex Code
13986 \begin_layout Plain Layout
13992 se pasa como un argumento al entorno.
13993 \begin_inset Newline newline
13997 \begin_inset Flex Code
14000 \begin_layout Plain Layout
14006 puede definirse en el diálogo
14007 \begin_inset Flex Noun
14010 \begin_layout Plain Layout
14011 Editar\SpecialChar menuseparator
14012 Configuración de párrafos
14020 \begin_layout Description
14021 \begin_inset Flex Code
14024 \begin_layout Plain Layout
14031 \begin_inset Flex Code
14034 \begin_layout Plain Layout
14040 pero añade además el argumento obligatorio necesario (la etiqueta más larga)
14045 del entorno bibliografía:
14046 \begin_inset Newline newline
14050 \begin_inset Flex Code
14053 \begin_layout Plain Layout
14056 begin{thebibliography}{99}
14061 Por tanto solo es útil para entornos de bibliografía.
14062 La etiqueta más larga predeterminada
14063 \begin_inset Quotes cld
14067 \begin_inset Quotes crd
14070 puede cambiarla el usuario en la configuración de párrafo de un ítem bibliográf
14074 \begin_layout Standard
14075 Poniendo juntas las últimas cosas, la salida \SpecialChar LaTeX
14079 \begin_layout LyX-Code
14082 LatexName[LatexParam]{\SpecialChar ldots
14086 \begin_layout Standard
14090 \begin_layout LyX-Code
14093 begin{LatexName}[LatexParam] \SpecialChar ldots
14099 \begin_layout Standard
14100 dependiendo del tipo de \SpecialChar LaTeX
14105 \begin_layout Description
14106 \begin_inset Flex Code
14109 \begin_layout Plain Layout
14116 \begin_inset Flex Code
14119 \begin_layout Plain Layout
14125 ] Secuencia que se pone al inicio del contenido del estilo.
14126 Un salto de línea en la salida puede indicarse con
14127 \begin_inset Flex Code
14130 \begin_layout Plain Layout
14139 \begin_layout Description
14140 \begin_inset Flex Code
14143 \begin_layout Plain Layout
14150 \begin_inset Flex Code
14153 \begin_layout Plain Layout
14159 ] Si pones estilos en entornos, los
14160 \begin_inset Flex Code
14163 \begin_layout Plain Layout
14169 no son simplemente añadidos, sino aumentados en un factor
14170 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
14174 Anotar que este parámetro se usa también cuando
14175 \begin_inset Flex Code
14178 \begin_layout Plain Layout
14185 \begin_inset Flex Code
14188 \begin_layout Plain Layout
14195 \begin_inset Flex Code
14198 \begin_layout Plain Layout
14205 En ese caso se añade al margen manual o dinámico.
14206 \begin_inset Newline newline
14210 \begin_inset Quotes cld
14214 \begin_inset Flex Code
14217 \begin_layout Plain Layout
14224 \begin_inset Quotes crd
14227 significa que el párrafo se sangra con la anchura de
14228 \begin_inset Quotes cld
14232 \begin_inset Flex Code
14235 \begin_layout Plain Layout
14242 \begin_inset Quotes crd
14245 en la tipografía normal.
14246 Se puede obtener una anchura negativa anteponiendo
14247 \begin_inset Quotes cld
14251 \begin_inset Flex Code
14254 \begin_layout Plain Layout
14261 \begin_inset Quotes crd
14265 Se eligió este método para que el aspecto sea el mismo con cada una de
14266 las tipografías de pantalla usadas.
14269 \begin_layout Description
14270 \begin_inset Flex Code
14273 \begin_layout Plain Layout
14280 \begin_inset Flex Code
14283 \begin_layout Plain Layout
14288 , Manual, Dynamic, First_Dynamic, Right_Address_Box
14294 \begin_inset Newline newline
14297 El tipo de margen que el estilo tiene en el lado izquierdo.
14301 \begin_layout Description
14302 \begin_inset Flex Code
14305 \begin_layout Plain Layout
14311 significa un margen fijo.
14314 \begin_layout Description
14315 \begin_inset Flex Code
14318 \begin_layout Plain Layout
14324 significa que el margen izquierdo depende de la cadena introducida en el
14326 \begin_inset Flex Noun
14329 \begin_layout Plain Layout
14330 Editar\SpecialChar menuseparator
14331 Configuración del párrafo\SpecialChar ldots
14338 Esto se utiliza para componer bonitas listas sin tabuladores.
14341 \begin_layout Description
14342 \begin_inset Flex Code
14345 \begin_layout Plain Layout
14351 significa que el margen depende del tamaño de la etiqueta.
14352 Esto se usa para las cabeceras automáticas de las listas numeradas.
14353 Es obvio que la cabecera
14354 \begin_inset Quotes cld
14357 5.4.3.2.1 Cabecera muy larga
14358 \begin_inset Quotes crd
14361 debe tener un margen izquierdo más amplio (tan ancho como
14362 \begin_inset Quotes cld
14366 \begin_inset Quotes crd
14369 más el espacio) que
14370 \begin_inset Quotes cld
14373 3.2 Cabecera muy larga
14374 \begin_inset Quotes crd
14378 \begin_inset Quotes cld
14381 procesadores de texto
14382 \begin_inset Quotes crd
14385 corrientes no sean capaces de hacer esto.
14388 \begin_layout Description
14389 \begin_inset Flex Code
14392 \begin_layout Plain Layout
14398 es similar, pero solo la primera fila del párrafo es dinámica, mientras
14399 que las demás son estáticas; esto se emplea, por ejemplo, para descripciones.
14402 \begin_layout Description
14403 \begin_inset Flex Code
14406 \begin_layout Plain Layout
14412 significa que el margen se elige de manera que la fila más larga de este
14413 párrafo se adapte al margen derecho.
14414 Esto se emplea para componer una dirección en el lado derecho de la página.
14419 \begin_layout Description
14420 \begin_inset Flex Code
14423 \begin_layout Plain Layout
14430 \begin_inset Flex Code
14433 \begin_layout Plain Layout
14442 \begin_inset space \thinspace{}
14446 \begin_inset Flex Code
14449 \begin_layout Plain Layout
14455 ] Si los comandos frágiles en este estilo deberían ser protegidos,
14456 \begin_inset Flex Code
14459 \begin_layout Plain Layout
14472 si este comando debería él mismo ser protegido.)
14475 \begin_layout Description
14476 \begin_inset Flex Code
14479 \begin_layout Plain Layout
14486 \begin_inset Flex Code
14489 \begin_layout Plain Layout
14496 \begin_inset space \thinspace{}
14500 \begin_inset Flex Code
14503 \begin_layout Plain Layout
14511 ] Si las líneas nuevas se transforman en líneas nuevas \SpecialChar LaTeX
14513 \begin_inset Flex Code
14516 \begin_layout Plain Layout
14527 La transformación puede desactivarse para permitir una edición más confortable
14528 de \SpecialChar LaTeX
14529 en \SpecialChar LyX
14533 \begin_layout Description
14534 \begin_inset Flex Code
14537 \begin_layout Plain Layout
14544 \begin_inset Flex Code
14547 \begin_layout Plain Layout
14556 \begin_inset space \thinspace{}
14560 \begin_inset Flex Code
14563 \begin_layout Plain Layout
14569 ] Si se permite sangrar la primera fila del párrafo siguiente.
14571 \begin_inset Flex Code
14574 \begin_layout Plain Layout
14580 significa que no se permite hacerlo;
14581 \begin_inset Flex Code
14584 \begin_layout Plain Layout
14590 significa que puede hacerse si se desea.
14593 \begin_layout Description
14594 \begin_inset Flex Code
14597 \begin_layout Plain Layout
14604 \begin_inset Flex Code
14607 \begin_layout Plain Layout
14613 ] Nombre de un estilo que ha reemplazado este estilo.
14614 Esto se emplea para renombrar un estilo, mientras que se mantiene compatibilida
14618 \begin_layout Description
14619 \begin_inset Flex Code
14622 \begin_layout Plain Layout
14629 \begin_inset Flex Code
14632 \begin_layout Plain Layout
14639 \begin_inset space \thinspace{}
14643 \begin_inset Flex Code
14646 \begin_layout Plain Layout
14652 ] Determina si párrafos consecutivos del mismo tipo se tratan como si fueran
14654 Esto tiene el efecto de que
14655 \begin_inset Flex Code
14658 \begin_layout Plain Layout
14664 solo se imprime una vez delante de tal grupo.
14665 Por omisión, esto es así para
14666 \begin_inset Flex Code
14669 \begin_layout Plain Layout
14676 \begin_inset Flex Code
14679 \begin_layout Plain Layout
14686 \begin_inset Flex Code
14689 \begin_layout Plain Layout
14695 y no lo es para los demás tipos.
14698 \begin_layout Description
14699 \begin_inset Flex Code
14702 \begin_layout Plain Layout
14709 \begin_inset Flex Code
14712 \begin_layout Plain Layout
14721 \begin_inset space \thinspace{}
14725 \begin_inset Flex Code
14728 \begin_layout Plain Layout
14734 ] Indica que los párrafos no serán separados por una línea vacía en la salida
14736 , solo por un salto de línea; junto con
14737 \begin_inset Flex Code
14740 \begin_layout Plain Layout
14746 , esto permite emular un editor de texto simple (como un recuadro ERT).
14749 \begin_layout Description
14750 \begin_inset Flex Code
14753 \begin_layout Plain Layout
14760 \begin_inset Flex Code
14763 \begin_layout Plain Layout
14769 ] El sangrado de la primera línea de un párrafo.
14771 \begin_inset Flex Code
14774 \begin_layout Plain Layout
14780 estará fijado para un determinado estilo.
14781 La excepción es el estilo
14782 \begin_inset Flex Code
14785 \begin_layout Plain Layout
14791 , puesto que la sangría de un párrafo de estilo
14792 \begin_inset Flex Code
14795 \begin_layout Plain Layout
14801 puede prohibirse con
14802 \begin_inset Flex Code
14805 \begin_layout Plain Layout
14812 Además, los párrafos de estilo
14813 \begin_inset Flex Code
14816 \begin_layout Plain Layout
14822 dentro de entornos usan la sangría
14823 \begin_inset Flex Code
14826 \begin_layout Plain Layout
14832 del entorno, no su propio valor.
14833 Por ejemplo, los párrafos
14834 \begin_inset Flex Code
14837 \begin_layout Plain Layout
14843 en una enumeración no se sangran.
14846 \begin_layout Description
14847 \begin_inset Flex Code
14850 \begin_layout Plain Layout
14857 \begin_inset Flex Code
14860 \begin_layout Plain Layout
14866 ] El espacio vertical entre dos párrafos de este estilo.
14869 \begin_layout Description
14870 \begin_inset Flex Code
14873 \begin_layout Plain Layout
14880 \begin_inset Flex Code
14883 \begin_layout Plain Layout
14890 permite al usuario elegir entre
14891 \begin_inset Quotes cld
14895 \begin_inset Quotes crd
14899 \begin_inset Quotes cld
14903 \begin_inset Quotes crd
14906 para separar párrafos.
14908 \begin_inset Quotes cld
14912 \begin_inset Quotes crd
14915 , este valor es completamente ignorado.
14917 \begin_inset Quotes cld
14921 \begin_inset Quotes crd
14924 , el sangrado de un estilo tipo
14925 \begin_inset Quotes cld
14929 \begin_inset Quotes crd
14932 de \SpecialChar LaTeX
14933 se ignora y todos los párrafos son separados con este argumento
14934 \begin_inset Quotes cld
14938 \begin_inset Quotes crd
14942 El espacio vertical se calcula con
14943 \begin_inset Flex Code
14946 \begin_layout Plain Layout
14948 \begin_inset space ~
14957 \begin_inset Flex Code
14960 \begin_layout Plain Layout
14966 es la altura de una fila con la tipografía normal.
14967 De esta forma, el aspecto queda igual con diferentes tipografías de pantalla.
14970 \begin_layout Description
14971 \begin_inset Flex Code
14974 \begin_layout Plain Layout
14983 \begin_inset Flex Code
14986 \begin_layout Plain Layout
14997 \begin_inset space \thinspace{}
15001 \begin_inset Flex Code
15004 \begin_layout Plain Layout
15010 ] Si el contenido de este párrafo debería aparecer en la salida en forma
15011 cruda, es decir sin las traducciones especiales que \SpecialChar LaTeX
15015 \begin_layout Description
15016 \begin_inset Flex Code
15019 \begin_layout Plain Layout
15026 \begin_inset Flex Code
15029 \begin_layout Plain Layout
15039 Define caracteres individuales que deberían emitirse en bruto, o sea, sin
15040 traducciones especiales que \SpecialChar LaTeX
15044 \begin_layout Description
15045 \begin_inset Flex Code
15048 \begin_layout Plain Layout
15054 Información a incluir en el preámbulo \SpecialChar LaTeX
15055 cuando se usa este estilo.
15056 Utilizado para definir macros, paquetes a cargar, etc., requeridos por este
15057 estilo en particular.
15059 \begin_inset Quotes cld
15063 \begin_inset Flex Code
15066 \begin_layout Plain Layout
15073 \begin_inset Quotes crd
15079 \begin_layout Description
15080 \begin_inset Flex Code
15083 \begin_layout Plain Layout
15090 \begin_inset Flex Code
15093 \begin_layout Plain Layout
15099 ] El prefijo a usar cuando se crean etiquetas que se refieren a párrafos
15101 Esto permite el uso de referencias con formato.
15104 \begin_layout Description
15105 \begin_inset Flex Code
15108 \begin_layout Plain Layout
15117 \begin_inset Flex Code
15120 \begin_layout Plain Layout
15128 Si el estilo requiere la característica
15129 \begin_inset Flex Code
15132 \begin_layout Plain Layout
15139 \begin_inset CommandInset ref
15141 reference "cap:Lista-de-funciones"
15146 Si necesitas un paquete con opciones específicas puedes usar además
15147 \begin_inset Flex Code
15150 \begin_layout Plain Layout
15156 como un parámetro de clase de texto general (véase
15157 \begin_inset CommandInset ref
15159 reference "subsec:Parámetros-generales-clases"
15166 \begin_layout Description
15167 \begin_inset Flex Code
15170 \begin_layout Plain Layout
15177 \begin_inset Flex Code
15180 \begin_layout Plain Layout
15189 \begin_inset Flex Code
15192 \begin_layout Plain Layout
15198 ] Reinicia los argumentos de este estilo (como definido mediante la etiqueta
15200 \begin_inset Flex Code
15203 \begin_layout Plain Layout
15210 Es útil si has copiado un estilo mediante
15211 \begin_inset Flex Code
15214 \begin_layout Plain Layout
15220 , pero no quieres heredar sus argumentos (requerido y opcional).
15223 \begin_layout Description
15226 \begin_inset Flex Code
15229 \begin_layout Plain Layout
15238 \begin_inset Flex Code
15241 \begin_layout Plain Layout
15251 \begin_inset Flex Code
15254 \begin_layout Plain Layout
15262 ] Resumes a counter that is usually reset at each new sequence of layouts.
15263 This is currently only useful when
15264 \begin_inset Flex Code
15267 \begin_layout Plain Layout
15276 \begin_inset Flex Code
15279 \begin_layout Plain Layout
15290 \begin_layout Description
15291 \begin_inset Flex Code
15294 \begin_layout Plain Layout
15301 \begin_inset Flex Code
15304 \begin_layout Plain Layout
15310 ] Secuencia que se pone al final del contenido del formato.
15311 Un salto de línea en la salida se puede indicar con
15312 \begin_inset Flex Code
15315 \begin_layout Plain Layout
15324 \begin_layout Description
15325 \begin_inset Flex Code
15328 \begin_layout Plain Layout
15335 \begin_inset Flex Code
15338 \begin_layout Plain Layout
15345 \begin_inset Flex Code
15348 \begin_layout Plain Layout
15357 \begin_layout Description
15358 \begin_inset Flex Code
15361 \begin_layout Plain Layout
15368 \begin_inset Flex Code
15371 \begin_layout Plain Layout
15380 \begin_inset Flex Code
15383 \begin_layout Plain Layout
15390 \begin_inset Flex Code
15393 \begin_layout Plain Layout
15400 \begin_inset Flex Code
15403 \begin_layout Plain Layout
15405 \begin_inset space ~
15413 ] Esto define cuál debería ser el espacio predefinido en el estilo.
15415 \begin_inset Flex Code
15418 \begin_layout Plain Layout
15425 \begin_inset Flex Code
15428 \begin_layout Plain Layout
15435 \begin_inset Flex Code
15438 \begin_layout Plain Layout
15444 corresponden respectivamente a un multiplicador de 1, 1.25 y 1.667.
15445 Si se especifica el argumento
15446 \begin_inset Flex Code
15449 \begin_layout Plain Layout
15455 , entonces se debería proporcionar además un argumento numérico que será
15456 el valor real del multiplicador.
15457 Anotar que, al contrario que otros parámetros,
15458 \begin_inset Flex Code
15461 \begin_layout Plain Layout
15467 implica la generación de código \SpecialChar LaTeX
15468 específico, usando el paquete \SpecialChar LaTeX
15470 \begin_inset Flex Code
15473 \begin_layout Plain Layout
15482 \begin_layout Description
15483 \begin_inset Flex Code
15486 \begin_layout Plain Layout
15493 \begin_inset Flex Code
15496 \begin_layout Plain Layout
15505 \begin_inset space \thinspace{}
15511 \begin_inset Flex Code
15514 \begin_layout Plain Layout
15522 ] Corrección ortográfica de párrafos de este estilo.
15526 \begin_layout Description
15529 \begin_inset Flex Code
15532 \begin_layout Plain Layout
15541 \begin_inset Flex Code
15544 \begin_layout Plain Layout
15554 \begin_inset Flex Code
15557 \begin_layout Plain Layout
15565 ] Steps the master counter of a given counter at the beginning of a new
15566 sequence of layouts.
15567 This is currently only useful when
15568 \begin_inset Flex Code
15571 \begin_layout Plain Layout
15580 \begin_inset Flex Code
15583 \begin_layout Plain Layout
15594 \begin_layout Description
15595 \begin_inset Flex Code
15598 \begin_layout Plain Layout
15604 La tipografía para el cuerpo del texto.
15606 \begin_inset CommandInset ref
15608 reference "subsec:Tipografía"
15615 \begin_layout Description
15616 \begin_inset Flex Code
15619 \begin_layout Plain Layout
15626 \begin_inset Flex Code
15629 \begin_layout Plain Layout
15635 ] El nivel del estilo en el índice general.
15636 Esto se usa para la numeración automática de los encabezados de sección.
15639 \begin_layout Description
15640 \begin_inset Flex Code
15643 \begin_layout Plain Layout
15652 \begin_inset Flex Code
15655 \begin_layout Plain Layout
15664 \begin_inset Flex Code
15667 \begin_layout Plain Layout
15674 \begin_inset Flex Code
15677 \begin_layout Plain Layout
15683 ] Esta etiqueta determina si la sangría de primera línea de este párrafo
15684 puede conmutarse en el diálogo de configuración del párrafo.
15688 \begin_inset Flex Code
15691 \begin_layout Plain Layout
15701 , la sangría puede conmutarse si la configuración del documento usa estilo
15703 \begin_inset Quotes cld
15707 \begin_inset Quotes crd
15711 \begin_inset Flex Code
15714 \begin_layout Plain Layout
15720 , la sangría se puede conmutar siempre, no importa la configuración del
15722 \begin_inset Flex Code
15725 \begin_layout Plain Layout
15731 , la sangría nunca se puede conmutar.
15734 \begin_layout Description
15735 \begin_inset Flex Code
15738 \begin_layout Plain Layout
15745 \begin_inset Flex Code
15748 \begin_layout Plain Layout
15754 ] El espacio vertical con el que el primero de una cadena de párrafos con
15755 este estilo se separa del párrafo anterior.
15756 Si el párrafo anterior tiene otro estilo, la separación no es simplemente
15757 añadida, sino que se pone la máxima.
15760 \begin_layout Subsection
15761 Internacionalización de estilos de párrafo
15762 \begin_inset CommandInset label
15771 \begin_layout Standard
15773 ha soportado desde hace tiempo la internacionalización de la información
15774 de formato, pero, hasta la versión 2.0, esto se aplicaba solo a la interfaz
15775 de usuario y no a la salida, digamos, PDF.
15776 Así, por ej., autores franceses tenían que acudir a feos trucos para conseguir
15777 `Théorème 1' en vez de `Theorem 1'.
15778 Gracias a Georg Baum, este ya no es el caso.
15781 \begin_layout Standard
15783 \begin_inset Flex Code
15786 \begin_layout Plain Layout
15792 define texto que se mostrará en el documento exportado, puede usar
15793 \begin_inset Flex Code
15796 \begin_layout Plain Layout
15803 \begin_inset Flex Code
15806 \begin_layout Plain Layout
15812 para soportar correctamente documentos con idioma distinto del inglés e
15813 incluso documentos plurilingües.
15814 El siguiente extracto (del archivo
15815 \begin_inset Flex Code
15818 \begin_layout Plain Layout
15824 ) muestra cómo funciona:
15827 \begin_layout LyX-Code
15832 \begin_layout LyX-Code
15835 theoremstyle{remark}
15838 \begin_layout LyX-Code
15841 newtheorem{claim}[thm]{
15848 \begin_layout LyX-Code
15852 \begin_layout LyX-Code
15856 \begin_layout LyX-Code
15861 claimname}{_(Claim)}
15864 \begin_layout LyX-Code
15868 \begin_layout LyX-Code
15872 \begin_layout LyX-Code
15881 claimname}{_(Claim)}}
15884 \begin_layout LyX-Code
15889 \begin_layout Standard
15890 En principio, cualquier \SpecialChar LaTeX
15891 legal puede aparecer en las etiquetas
15892 \begin_inset Flex Code
15895 \begin_layout Plain Layout
15902 \begin_inset Flex Code
15905 \begin_layout Plain Layout
15911 , pero en la práctica el aspecto será generalmente como el mostrado aquí.
15912 La clave para una correcta traducción del texto impreso es la definición
15913 del comando \SpecialChar LaTeX
15915 \begin_inset Flex Code
15918 \begin_layout Plain Layout
15927 \begin_inset Flex Code
15930 \begin_layout Plain Layout
15942 \begin_layout Standard
15944 \begin_inset Flex Code
15947 \begin_layout Plain Layout
15953 proporciona internacionalización basada en el idioma global del documento.
15954 El contenido de la etiqueta se incluirá en el preámbulo, igual que con
15956 \begin_inset Flex Code
15959 \begin_layout Plain Layout
15966 Lo que la hace especial es el uso de la
15967 \begin_inset Quotes eld
15971 \begin_inset Quotes erd
15975 \begin_inset Flex Code
15978 \begin_layout Plain Layout
15984 , que será reemplazada, cuando \SpecialChar LyX
15985 genere la salida \SpecialChar LaTeX
15986 , por la traducción de
15987 su argumento al idioma del documento.
15990 \begin_layout Standard
15992 \begin_inset Flex Code
15995 \begin_layout Plain Layout
16001 es más compleja, puesto que está pensada para dar soporte a documentos
16002 plurilingües y ofrece una interfaz al paquete
16003 \begin_inset Flex Code
16006 \begin_layout Plain Layout
16013 Su contenido se añadirá al preámbulo una vez por cada idioma que aparezca
16015 En este caso, el argumento en
16016 \begin_inset Flex Code
16019 \begin_layout Plain Layout
16025 se reemplazará por su traducción al idioma en cuestión; la expresión
16026 \begin_inset Flex Code
16029 \begin_layout Plain Layout
16035 es reemplazada por el nombre del idioma (el usado por el paquete babel).
16038 \begin_layout Standard
16039 Un documento en alemán que también incluya una sección en francés tendría
16040 lo siguiente en el preámbulo:
16043 \begin_layout LyX-Code
16052 claimname}{Affirmation}}
16053 \begin_inset Newline newline
16064 claimname}{Behauptung}}
16065 \begin_inset Newline newline
16072 claimname}{Behauptung}
16075 \begin_layout Standard
16078 \begin_inset Flex Code
16081 \begin_layout Plain Layout
16087 conspirarán para producir el texto correcto en la salida.
16090 \begin_layout Standard
16091 Un punto importante a tener en cuenta aquí es que las traducciones son proporcio
16092 nadas por el propio \SpecialChar LyX
16093 , por medio del archivo
16094 \begin_inset Flex Code
16097 \begin_layout Plain Layout
16104 Esto quiere decir, en definitiva, que
16105 \begin_inset Flex Code
16108 \begin_layout Plain Layout
16115 \begin_inset Flex Code
16118 \begin_layout Plain Layout
16124 realmente solo son útiles en archivos de formato que son proporcionados
16125 por \SpecialChar LyX
16126 , puesto que el texto introducido en archivos de formato creados por
16127 el usuario no serán tenidos en cuenta por las rutinas de internacionalización
16128 de \SpecialChar LyX
16129 a menos que el archivo
16130 \begin_inset Flex Code
16133 \begin_layout Plain Layout
16139 se modifique como correponde.
16140 Sin embargo, cualquier formato creado con la intención de ser incluido
16141 en \SpecialChar LyX
16142 debería usar estas etiquetas en los lugares apropiados.
16143 Ten en cuenta que las traducciones de estilo de párrafo provistas por \SpecialChar LyX
16145 nunca cambian en actualizaciones menores (p.
16146 \begin_inset space \thinspace{}
16150 \begin_inset space \space{}
16153 de versión 2.1.x a 2.1.y).
16154 Sin embargo es muy probable que en actualizaciones mayores (p.
16155 \begin_inset space \thinspace{}
16159 \begin_inset space \space{}
16162 de 2.0.x a 2.1.y) se introduzcan nuevas traducciones o correcciones.
16165 \begin_layout Subsection
16167 \begin_inset CommandInset label
16169 name "subsec:Flotantes"
16176 \begin_layout Standard
16177 Es necesario definir los flotantes (
16178 \begin_inset Flex Noun
16181 \begin_layout Plain Layout
16188 \begin_inset Flex Noun
16191 \begin_layout Plain Layout
16197 , \SpecialChar ldots
16198 ) en la propia clase de texto.
16199 Los flotantes normales se incluyen en el archivo
16200 \begin_inset Flex Code
16203 \begin_layout Plain Layout
16209 , así que no tendrás más que añadir
16212 \begin_layout LyX-Code
16213 Input stdfloats.inc
16216 \begin_layout Standard
16217 en tu archivo de formato.
16218 Si quieres implementar una clase de texto que proponga algún otro tipo
16219 de flotante (como la clase AGU empaquetada con \SpecialChar LyX
16220 ), la información siguiente
16221 te servirá de ayuda:
16224 \begin_layout Description
16225 \begin_inset Flex Code
16228 \begin_layout Plain Layout
16235 \begin_inset Flex Code
16238 \begin_layout Plain Layout
16244 =!htbpH] Opciones de colocación permitidas para este tipo de flotante.
16245 El valor es una secuencia de caracteres:
16250 \begin_inset Quotes eld
16254 \begin_inset Quotes erd
16262 \begin_inset Quotes eld
16266 \begin_inset Quotes erd
16274 \begin_inset Quotes eld
16278 \begin_inset Quotes erd
16286 \begin_inset Quotes eld
16290 \begin_inset Quotes erd
16298 \begin_inset Quotes eld
16302 \begin_inset Quotes erd
16310 \begin_inset Quotes eld
16314 \begin_inset Quotes erd
16318 El orden no importa.
16319 Si las opciones de colocación no están permitidas usa string
16326 \begin_layout Description
16327 \begin_inset Flex Code
16330 \begin_layout Plain Layout
16337 \begin_inset Flex Code
16340 \begin_layout Plain Layout
16347 \begin_inset space \thinspace{}
16353 \begin_inset Flex Code
16356 \begin_layout Plain Layout
16364 ] Define si el flotante admite rotación mediante el paquete \SpecialChar LaTeX
16371 \begin_inset Flex Code
16374 \begin_layout Plain Layout
16380 si el flotante no soporta esta característica.
16383 \begin_layout Description
16384 \begin_inset Flex Code
16387 \begin_layout Plain Layout
16394 \begin_inset Flex Code
16397 \begin_layout Plain Layout
16404 \begin_inset space \thinspace{}
16410 \begin_inset Flex Code
16413 \begin_layout Plain Layout
16421 ] Define si el flotante tiene una variante asterisco que abarca columnas
16422 en un párrafo de dos columnas.
16424 \begin_inset Flex Code
16427 \begin_layout Plain Layout
16433 si el flotante no soporta esta característica.
16436 \begin_layout Description
16437 \begin_inset Flex Code
16440 \begin_layout Plain Layout
16447 \begin_inset Flex Code
16450 \begin_layout Plain Layout
16457 \begin_inset Quotes erd
16461 \begin_inset Quotes erd
16464 ] La extensión del nombre de un archivo auxiliar para la lista de figuras
16467 escribe las leyendas en este archivo.
16470 \begin_layout Description
16471 \begin_inset Flex Code
16474 \begin_layout Plain Layout
16481 \begin_inset Flex Code
16484 \begin_layout Plain Layout
16491 \begin_inset Quotes erd
16495 \begin_inset Quotes erd
16498 ] La cadena que se usará en los menús y también para la leyenda.
16499 Esto se traduce al idioma actual si se usa.
16502 \begin_layout Description
16503 \begin_inset Flex Code
16506 \begin_layout Plain Layout
16512 Controlan la salida XHTML.
16514 \begin_inset space ~
16518 \begin_inset CommandInset ref
16520 reference "sec:Etiquetas-para-XHTML"
16527 \begin_layout Description
16528 \begin_inset Flex Code
16531 \begin_layout Plain Layout
16540 \begin_inset Flex Code
16543 \begin_layout Plain Layout
16552 \begin_inset space \thinspace{}
16556 \begin_inset Flex Code
16559 \begin_layout Plain Layout
16565 ] Indica si el flotante está ya definido en la clase de documento o si necesitam
16566 os cargar el paquete \SpecialChar LaTeX
16568 \begin_inset Flex Code
16571 \begin_layout Plain Layout
16577 para definirlo sobre la marcha.
16579 \begin_inset Flex Code
16582 \begin_layout Plain Layout
16588 , que significa: usar
16589 \begin_inset Flex Code
16592 \begin_layout Plain Layout
16600 \begin_inset Flex Code
16603 \begin_layout Plain Layout
16609 si el flotante ya está definido por la clase de documento \SpecialChar LaTeX
16613 \begin_layout Description
16614 \begin_inset Flex Code
16617 \begin_layout Plain Layout
16624 \begin_inset Flex Code
16627 \begin_layout Plain Layout
16634 \begin_inset Quotes erd
16638 \begin_inset Quotes erd
16641 ] El comando usado para generar una lista de flotantes de este tipo; debe
16642 omitirse el precedente `
16650 \begin_inset Flex Code
16653 \begin_layout Plain Layout
16659 es `false', puesto que no hay una forma estándar de generar este comando.
16661 \begin_inset Flex Code
16664 \begin_layout Plain Layout
16670 es `true', porque en este caso sí hay una forma estándar de definir el
16674 \begin_layout Description
16675 \begin_inset Flex Code
16678 \begin_layout Plain Layout
16685 \begin_inset Flex Code
16688 \begin_layout Plain Layout
16695 \begin_inset Quotes erd
16699 \begin_inset Quotes erd
16702 ] Un título para una lista de flotantes de este tipo (índice de figuras,
16703 tablas o lo que sea).
16704 Se usa para el nombre del recuadro en \SpecialChar LyX
16705 ; se pasa a \SpecialChar LaTeX
16706 para usarlo como título
16707 allí; y se usa como título en la salida.
16708 Será traducido al idioma del documento.
16711 \begin_layout Description
16712 \begin_inset Flex Code
16715 \begin_layout Plain Layout
16722 \begin_inset Flex Code
16725 \begin_layout Plain Layout
16732 \begin_inset Quotes erd
16736 \begin_inset Quotes erd
16739 ] Este argumento (opcional) determina si los flotantes de esta clase serán
16740 numerados dentro de alguna unidad de sección del documento.
16742 \begin_inset Flex Code
16745 \begin_layout Plain Layout
16752 \begin_inset Quotes cld
16756 \begin_inset Flex Code
16759 \begin_layout Plain Layout
16766 \begin_inset Quotes crd
16769 , los flotantes serán numerados dentro de los capítulos.
16772 \begin_layout Description
16773 \begin_inset Flex Code
16776 \begin_layout Plain Layout
16783 \begin_inset Flex Code
16786 \begin_layout Plain Layout
16793 \begin_inset Quotes erd
16797 \begin_inset Quotes erd
16800 ] La colocación por omisión para la clase dada de flotantes.
16802 \begin_inset Flex Code
16805 \begin_layout Plain Layout
16811 deberá ser un estándar \SpecialChar LaTeX
16813 \begin_inset Flex Code
16816 \begin_layout Plain Layout
16823 \begin_inset Flex Code
16826 \begin_layout Plain Layout
16833 \begin_inset Flex Code
16836 \begin_layout Plain Layout
16843 \begin_inset Flex Code
16846 \begin_layout Plain Layout
16853 \begin_inset Quotes cld
16857 \begin_inset Quotes crd
16861 \begin_inset Quotes cld
16865 \begin_inset Quotes crd
16869 \begin_inset Quotes cld
16873 \begin_inset Quotes crd
16877 \begin_inset Quotes cld
16881 \begin_inset Quotes crd
16884 (aquí), respectivamente.
16888 \begin_layout Plain Layout
16889 Anotar que el orden de estas letras en la cadena es irrelevante, como en
16896 Por encima de éstos hay un nuevo tipo,
16897 \begin_inset Flex Code
16900 \begin_layout Plain Layout
16906 , que no corresponde realmente a un flotante, ya que se refiere a: ponerlo
16908 \begin_inset Quotes cld
16912 \begin_inset Quotes crd
16915 , y en ninguna otra parte.
16916 Anotar que, sin embargo, el colocador
16917 \begin_inset Flex Code
16920 \begin_layout Plain Layout
16926 es especial y, debido a detalles de implementación, no puede usarse en
16927 tipos de flotantes no empotrados.
16928 Si no comprendes lo que esto significa, usa solo
16929 \begin_inset Quotes cld
16933 \begin_inset Flex Code
16936 \begin_layout Plain Layout
16943 \begin_inset Quotes crd
16949 \begin_layout Description
16950 \begin_inset Flex Code
16953 \begin_layout Plain Layout
16960 \begin_inset Flex Code
16963 \begin_layout Plain Layout
16969 ] El prefijo a usar cuando se crean etiquetas referidas a flotantes de este
16971 Esto permite el uso de referencias con formato.
16972 Puedes quitar cualquier
16973 \begin_inset Flex Code
16976 \begin_layout Plain Layout
16982 puesto por un estilo copiado usando el valor especial
16983 \begin_inset Quotes eld
16987 \begin_inset Quotes erd
16990 , todas mayúsculas.
16993 \begin_layout Description
16994 \begin_inset Flex Code
16997 \begin_layout Plain Layout
17004 \begin_inset Flex Code
17007 \begin_layout Plain Layout
17014 \begin_inset Quotes erd
17018 \begin_inset Quotes erd
17021 ] El estilo usado cuando se define el flotante con
17022 \begin_inset Flex Code
17025 \begin_layout Plain Layout
17036 \begin_layout Description
17037 \begin_inset Flex Code
17040 \begin_layout Plain Layout
17047 \begin_inset Flex Code
17050 \begin_layout Plain Layout
17057 \begin_inset Quotes erd
17061 \begin_inset Quotes erd
17065 \begin_inset Quotes cld
17069 \begin_inset Quotes crd
17072 de la nueva clase de flotante, como programa o algoritmo.
17073 Después del apropiado
17074 \begin_inset Flex Code
17077 \begin_layout Plain Layout
17085 , comandos tales como
17086 \begin_inset Flex Code
17089 \begin_layout Plain Layout
17098 \begin_inset Flex Code
17101 \begin_layout Plain Layout
17109 estarán disponibles.
17112 \begin_layout Description
17113 \begin_inset Flex Code
17116 \begin_layout Plain Layout
17123 \begin_inset Flex Code
17126 \begin_layout Plain Layout
17133 \begin_inset space \thinspace{}
17137 \begin_inset Flex Code
17140 \begin_layout Plain Layout
17148 ] Nos dice si este flotante se define usando el paquete \SpecialChar LaTeX
17150 \begin_inset Flex Code
17153 \begin_layout Plain Layout
17159 , bien por el archivo de clase o por un paquete, o bien sobre la marcha
17160 por el propio \SpecialChar LyX
17164 \begin_layout Standard
17165 Anotar que al definir un flotante con tipo
17166 \begin_inset Flex Code
17169 \begin_layout Plain Layout
17177 automáticamente se define el correspondiente contador con nombre
17178 \begin_inset Flex Code
17181 \begin_layout Plain Layout
17192 \begin_layout Subsection
17193 Recuadros flexibles y formato del recuadro
17194 \begin_inset CommandInset label
17196 name "subsec:estilo-del-texto"
17203 \begin_layout Standard
17204 Los recuadros flexibles son de tres tipos:
17207 \begin_layout Itemize
17209 \begin_inset Flex Code
17212 \begin_layout Plain Layout
17218 ): estos definen diseños semánticos correspondientes a comandos \SpecialChar LaTeX
17220 \begin_inset Flex Code
17223 \begin_layout Plain Layout
17232 \begin_inset Flex Code
17235 \begin_layout Plain Layout
17246 \begin_layout Itemize
17247 definido por el usuario (
17248 \begin_inset Flex Code
17251 \begin_layout Plain Layout
17257 ): estos se pueden usar para definir recuadros plegables personalizados,
17258 del tipo de los de código \SpecialChar TeX
17259 , notas al pie y similares.
17260 Un ejemplo obvio es un recuadro de nota final, definido en el módulo del
17262 \begin_inset Flex Code
17265 \begin_layout Plain Layout
17274 \begin_layout Itemize
17276 \begin_inset Flex Code
17279 \begin_layout Plain Layout
17285 ): para usar con las clases DocBook.
17288 \begin_layout Standard
17289 Los recuadros flexibles se definen usando la etiqueta
17290 \begin_inset Flex Code
17293 \begin_layout Plain Layout
17299 , que se explicará en un momento.
17302 \begin_layout Standard
17304 \begin_inset Flex Code
17307 \begin_layout Plain Layout
17313 también sirve para otra función: puede utilizarse para personalizar el
17314 diseño general de muchos tipos diferentes de recuadros.
17316 \begin_inset Flex Code
17319 \begin_layout Plain Layout
17325 permite personalizar los parámetros de diseño de notas al pie, notas al
17326 margen, notas, recuadros de código \SpecialChar TeX
17327 (ERT), ramas, listados de programa,
17328 índices, cuadros, tablas, algoritmos, URL, y leyendas, así como para definir
17329 recuadros flexibles.
17332 \begin_layout Standard
17334 \begin_inset Flex Code
17337 \begin_layout Plain Layout
17343 debe comenzar con una línea de la forma:
17346 \begin_layout LyX-Code
17350 \begin_layout Standard
17352 \begin_inset Flex Code
17355 \begin_layout Plain Layout
17361 indica el recuadro cuyo formato se va a definir, y hay cuatro casos.
17364 \begin_layout Enumerate
17365 Se va a modificar el formato para un tipo de recuadro preexistente.
17367 \begin_inset Flex Code
17370 \begin_layout Plain Layout
17376 puede ser uno cualquiera de los siguientes:
17377 \begin_inset Flex Code
17380 \begin_layout Plain Layout
17387 \begin_inset Flex Code
17390 \begin_layout Plain Layout
17397 \begin_inset Flex Code
17400 \begin_layout Plain Layout
17407 \begin_inset Flex Code
17410 \begin_layout Plain Layout
17417 \begin_inset Flex Code
17420 \begin_layout Plain Layout
17427 \begin_inset Flex Code
17430 \begin_layout Plain Layout
17437 \begin_inset Flex Code
17440 \begin_layout Plain Layout
17447 \begin_inset Flex Code
17450 \begin_layout Plain Layout
17457 \begin_inset Flex Code
17460 \begin_layout Plain Layout
17467 \begin_inset Flex Code
17470 \begin_layout Plain Layout
17477 \begin_inset Flex Code
17480 \begin_layout Plain Layout
17487 \begin_inset Flex Code
17490 \begin_layout Plain Layout
17497 \begin_inset Flex Code
17500 \begin_layout Plain Layout
17507 \begin_inset Flex Code
17510 \begin_layout Plain Layout
17517 \begin_inset Flex Code
17520 \begin_layout Plain Layout
17527 \begin_inset Flex Code
17530 \begin_layout Plain Layout
17537 \begin_inset Flex Code
17540 \begin_layout Plain Layout
17547 \begin_inset Flex Code
17550 \begin_layout Plain Layout
17557 \begin_inset Flex Code
17560 \begin_layout Plain Layout
17567 \begin_inset Flex Code
17570 \begin_layout Plain Layout
17580 \begin_layout Enumerate
17581 Se va a definir el formato para un recuadro flexible.
17583 \begin_inset Flex Code
17586 \begin_layout Plain Layout
17593 \begin_inset Quotes cld
17597 \begin_inset Flex Code
17600 \begin_layout Plain Layout
17607 \begin_inset Quotes crd
17611 \begin_inset Flex Code
17614 \begin_layout Plain Layout
17620 ser cualquier identificador válido no utilizado por un recuadro preexistente.
17621 El identificador puede incluir espacios, pero en este caso debe ponerse
17622 todo entre comillas.
17623 Ten en cuenta que la definición de un flexible debe incluir
17628 \begin_inset Flex Code
17631 \begin_layout Plain Layout
17638 declarando qué tipo de recuadro define.
17641 \begin_layout Enumerate
17642 Se va a definir el formato para rama específica de usuario.
17644 \begin_inset Flex Code
17647 \begin_layout Plain Layout
17653 debe ser de la forma
17654 \begin_inset Quotes cld
17658 \begin_inset Flex Code
17661 \begin_layout Plain Layout
17668 \begin_inset Quotes crd
17672 \begin_inset Flex Code
17675 \begin_layout Plain Layout
17681 puede ser cualquier identificador válido de rama definido en el documento
17683 Este identificador puede incluir espacios, pero, en ese caso todo debe
17685 El propósito principal de esta característica es permitir a \SpecialChar LaTeX
17687 específicas como necesite el usuario.
17690 \begin_layout Enumerate
17691 Se va a definir el formato de una leyenda específica de usuario (o clase).
17693 \begin_inset Flex Code
17696 \begin_layout Plain Layout
17702 debe ser de la forma
17703 \begin_inset Quotes cld
17707 \begin_inset Flex Code
17710 \begin_layout Plain Layout
17717 \begin_inset Quotes crd
17721 \begin_inset Flex Code
17724 \begin_layout Plain Layout
17730 especifica el nombre de la leyenda como aparece en el menú.
17731 Repasa la leyenda estándar (
17732 \begin_inset Flex Code
17735 \begin_layout Plain Layout
17741 ), las leyendas específicas de las clases KOMA-Script (
17742 \begin_inset Flex Code
17745 \begin_layout Plain Layout
17752 \begin_inset Flex Code
17755 \begin_layout Plain Layout
17764 \begin_inset space ~
17770 \begin_inset Flex Code
17773 \begin_layout Plain Layout
17779 ) para aplicaciones.
17782 \begin_layout Standard
17784 \begin_inset Flex Code
17787 \begin_layout Plain Layout
17793 puede contener las siguientes entradas:
17796 \begin_layout Description
17799 \begin_inset Flex Code
17802 \begin_layout Plain Layout
17811 \begin_inset Flex Code
17814 \begin_layout Plain Layout
17822 =""] This inset will appear in the table of contents of the given type.
17823 An empty string disables.
17824 See also the OutlinerName and the IsTocCaption commands.
17825 This is only implemented for Flex insets.
17829 \begin_layout Description
17830 \begin_inset Flex Code
17833 \begin_layout Plain Layout
17840 \begin_inset Flex Code
17843 \begin_layout Plain Layout
17849 ] Define el número de argumento de un comando\SpecialChar breakableslash
17850 entorno asociado con el formato
17852 La definición debe terminar con
17853 \begin_inset Flex Code
17856 \begin_layout Plain Layout
17864 \begin_inset CommandInset ref
17866 reference "subsec:Estilos-de-párrafo"
17873 \begin_layout Description
17874 \begin_inset Flex Code
17877 \begin_layout Plain Layout
17883 Preámbulo para comandos de cambio de idioma; véase
17884 \begin_inset CommandInset ref
17886 reference "subsec:I18n"
17893 \begin_layout Description
17894 \begin_inset Flex Code
17897 \begin_layout Plain Layout
17904 \begin_inset Flex Code
17907 \begin_layout Plain Layout
17913 ] El color para el fondo del recuadro.
17914 Véase la lista de colores en
17915 \begin_inset CommandInset ref
17917 reference "cap:Nombres-de-colores"
17924 \begin_layout Description
17925 \begin_inset Flex Code
17928 \begin_layout Plain Layout
17935 \begin_inset Flex Code
17938 \begin_layout Plain Layout
17947 \begin_inset space \thinspace{}
17951 \begin_inset Flex Code
17954 \begin_layout Plain Layout
17960 ] Si usar no el contenido del recuadro como etiqueta del mismo cuando el
17961 recuadro se cierra.
17962 Por omisión, falso.
17965 \begin_layout Description
17966 \begin_inset Flex Code
17969 \begin_layout Plain Layout
17976 \begin_inset Flex Code
17979 \begin_layout Plain Layout
17985 ] Como los estilos de párrafo, véase
17986 \begin_inset CommandInset ref
17988 reference "subsec:Estilos-de-párrafo"
17993 Ten en cuenta que debes especificar el tipo completo, p.
17994 \begin_inset space \thinspace{}
17998 \begin_inset space ~
18002 \begin_inset Flex Code
18005 \begin_layout Plain Layout
18006 CopyStyle Flex:<name>
18014 \begin_layout Description
18015 \begin_inset Flex Code
18018 \begin_layout Plain Layout
18025 \begin_inset Flex Code
18028 \begin_layout Plain Layout
18037 \begin_inset space \thinspace{}
18041 \begin_inset Flex Code
18044 \begin_layout Plain Layout
18050 ] Indica si el usuario puede emplear el diálogo Configuración del párrafo
18051 para modificar el párrafo.
18054 \begin_layout Description
18055 \begin_inset Flex Code
18058 \begin_layout Plain Layout
18065 \begin_inset Flex Code
18068 \begin_layout Plain Layout
18075 \begin_inset Flex Code
18078 \begin_layout Plain Layout
18085 \begin_inset Flex Code
18088 \begin_layout Plain Layout
18094 , que describe el estilo de presentación para el marco y los botones del
18096 Las notas al pie usan generalmente
18097 \begin_inset Flex Code
18100 \begin_layout Plain Layout
18106 , los recuadros de código \SpecialChar TeX
18108 \begin_inset Flex Code
18111 \begin_layout Plain Layout
18117 , y los de estilos del texto
18118 \begin_inset Flex Code
18121 \begin_layout Plain Layout
18130 \begin_layout Description
18131 \begin_inset Flex Code
18134 \begin_layout Plain Layout
18141 \begin_inset Flex Code
18144 \begin_layout Plain Layout
18151 \begin_inset space \thinspace{}
18155 \begin_inset Flex Code
18158 \begin_layout Plain Layout
18167 \begin_inset Flex Code
18170 \begin_layout Plain Layout
18177 \begin_inset Flex Code
18180 \begin_layout Plain Layout
18187 Indica si el entorno se ubicará en su propio espacio en la salida o si
18188 aparecerá en línea con el texto circundante.
18189 Si se pone falso, se supone que el entorno \SpecialChar LaTeX
18190 ignora los espacios en blanco
18191 (incluyendo un carácter de línea nueva) después de las etiquetas
18192 \begin_inset Flex Code
18195 \begin_layout Plain Layout
18208 \begin_inset Flex Code
18211 \begin_layout Plain Layout
18224 Por omisión, verdadero.
18227 \begin_layout Description
18228 \begin_inset Flex Code
18231 \begin_layout Plain Layout
18237 Requerido al final de las declaraciones de formato del recuadro
18238 \begin_inset Flex Code
18241 \begin_layout Plain Layout
18250 \begin_layout Description
18251 \begin_inset Flex Code
18254 \begin_layout Plain Layout
18260 La tipografía usada tanto para el cuerpo del texto como para la etiqueta.
18262 \begin_inset CommandInset ref
18264 reference "subsec:Tipografía"
18269 Anotar que al definir esta tipografía se define automáticamente el mismo
18270 valor para la etiqueta,
18271 \begin_inset Flex Code
18274 \begin_layout Plain Layout
18280 , así que define aquella primero y después define
18281 \begin_inset Flex Code
18284 \begin_layout Plain Layout
18290 si las quieres diferentes.
18293 \begin_layout Description
18294 \begin_inset Flex Code
18297 \begin_layout Plain Layout
18298 FixedWidthPreambleEncoding
18304 \begin_inset Flex Code
18307 \begin_layout Plain Layout
18316 \begin_inset space \thinspace{}
18320 \begin_inset Flex Code
18323 \begin_layout Plain Layout
18329 ] Fuerza una codificación de ancho fijo para el contenido traducido del
18331 \begin_inset Flex Code
18334 \begin_layout Plain Layout
18341 \begin_inset Flex Code
18344 \begin_layout Plain Layout
18350 generado por este formato.
18351 Esto es necesario para paquetes especiales \SpecialChar LaTeX
18356 que no trabajan con codificaciones de ancho variable como
18361 Esta configuración se ignora si se usan soportes \SpecialChar LaTeX
18362 compatibles totalmente
18363 con Unicode como Xe\SpecialChar TeX
18364 o Lua\SpecialChar TeX
18368 \begin_layout Description
18369 \begin_inset Flex Code
18372 \begin_layout Plain Layout
18373 ForceLocalFontSwitch
18379 \begin_inset Flex Code
18382 \begin_layout Plain Layout
18391 \begin_inset space \thinspace{}
18395 \begin_inset Flex Code
18398 \begin_layout Plain Layout
18404 ] Cuando se usa babel, usar siempre un cambiador de fuente local (
18405 \begin_inset Flex Code
18408 \begin_layout Plain Layout
18416 ), nunca uno global (como
18417 \begin_inset Flex Code
18420 \begin_layout Plain Layout
18431 \begin_layout Description
18432 \begin_inset Flex Code
18435 \begin_layout Plain Layout
18442 \begin_inset Flex Code
18445 \begin_layout Plain Layout
18454 \begin_inset space \thinspace{}
18458 \begin_inset Flex Code
18461 \begin_layout Plain Layout
18468 \begin_inset Quotes cld
18472 \begin_inset Quotes crd
18475 que genera salida Izquierda-Derecha (latin), p.
18476 \begin_inset space \thinspace{}
18480 \begin_inset space \space{}
18483 en código \SpecialChar TeX
18488 \begin_layout Description
18489 \begin_inset Flex Code
18492 \begin_layout Plain Layout
18499 \begin_inset Flex Code
18502 \begin_layout Plain Layout
18511 \begin_inset space \thinspace{}
18515 \begin_inset Flex Code
18518 \begin_layout Plain Layout
18524 ] Fuerza un salto de línea en la salida \SpecialChar LaTeX
18525 antes de iniciarse el recuadro
18526 de inserción y después de finalizar.
18527 Esto asegura que el recuadro mismo se ubique en sus propias líneas, con
18531 \begin_layout Description
18532 \begin_inset Flex Code
18535 \begin_layout Plain Layout
18542 \begin_inset Flex Code
18545 \begin_layout Plain Layout
18554 \begin_inset space \thinspace{}
18558 \begin_inset Flex Code
18561 \begin_layout Plain Layout
18567 ] Indica si debería usarse
18568 \begin_inset Flex Code
18571 \begin_layout Plain Layout
18577 o, por el contrario el usuario puede cambiar el estilo de párrafo del recuadro.
18580 \begin_layout Description
18581 \begin_inset Flex Code
18584 \begin_layout Plain Layout
18593 \begin_inset Flex Code
18596 \begin_layout Plain Layout
18605 \begin_inset space \thinspace{}
18609 \begin_inset Flex Code
18612 \begin_layout Plain Layout
18618 ] Como en estilos de párrafo, véase
18619 \begin_inset CommandInset ref
18621 reference "subsec:Estilos-de-párrafo"
18628 \begin_layout Description
18629 \begin_inset Flex Code
18632 \begin_layout Plain Layout
18638 Controlan la salida XHTML.
18640 \begin_inset CommandInset ref
18642 reference "sec:Etiquetas-para-XHTML"
18649 \begin_layout Description
18650 \begin_inset Flex Code
18653 \begin_layout Plain Layout
18660 \begin_inset Flex Code
18663 \begin_layout Plain Layout
18672 \begin_inset space \thinspace{}
18676 \begin_inset Flex Code
18679 \begin_layout Plain Layout
18685 ] Incluye o no el contenido de este inset en la cadena generada para el
18686 panel 'Navegador de contorno'
18688 for all table of contents, regardless of the AddToToc setting
18691 El no sería, por ejemplo, para que el contenido de una nota al pie en un
18692 encabezado de sección no aparezca en el índice que se despliega en el navegador
18693 de contorno, sin embargo, normalmente sí se incluiría el contenido de un
18694 estilo de carácter.
18695 Predeterminado es false: no incluir.
18698 \begin_layout Description
18701 \begin_inset Flex Code
18704 \begin_layout Plain Layout
18713 \begin_inset Flex Code
18716 \begin_layout Plain Layout
18726 \begin_inset space \thinspace{}
18730 \begin_inset Flex Code
18733 \begin_layout Plain Layout
18741 ] If this is set to 1 and AddToToc is enabled, the inset adds a summary
18742 of its contents in its item in the table of contents.
18743 Otherwise, only the label appears.
18746 \begin_layout Description
18747 \begin_inset Flex Code
18750 \begin_layout Plain Layout
18759 \begin_inset Flex Code
18762 \begin_layout Plain Layout
18773 \begin_inset space \thinspace{}
18777 \begin_inset Flex Code
18780 \begin_layout Plain Layout
18786 ] Como en estilos de párrafo, véase
18787 \begin_inset CommandInset ref
18789 reference "subsec:Estilos-de-párrafo"
18796 \begin_layout Description
18797 \begin_inset Flex Code
18800 \begin_layout Plain Layout
18806 La tipografía para la etiqueta.
18808 \begin_inset CommandInset ref
18810 reference "subsec:Tipografía"
18815 Anotar que esta definición nunca puede aparecer antes de
18816 \begin_inset Flex Code
18819 \begin_layout Plain Layout
18825 , para que sea efectiva.
18828 \begin_layout Description
18829 \begin_inset Flex Code
18832 \begin_layout Plain Layout
18839 \begin_inset Flex Code
18842 \begin_layout Plain Layout
18849 \begin_inset Quotes erd
18853 \begin_inset Quotes erd
18856 ] Lo que se mostrará sobre el botón u otra parte como etiqueta del recuadro.
18857 Algunos tipos de recuadro (
18858 \begin_inset Flex Code
18861 \begin_layout Plain Layout
18862 código \SpecialChar TeX
18869 \begin_inset Flex Code
18872 \begin_layout Plain Layout
18878 ) modifican esta etiqueta sobre la marcha.
18881 \begin_layout Description
18882 \begin_inset Flex Code
18885 \begin_layout Plain Layout
18891 Preámbulo dependiente del idioma; véase
18892 \begin_inset CommandInset ref
18894 reference "subsec:I18n"
18901 \begin_layout Description
18902 \begin_inset Flex Code
18905 \begin_layout Plain Layout
18912 \begin_inset Flex Code
18915 \begin_layout Plain Layout
18921 ] El nombre \SpecialChar LaTeX
18922 correspondiente al asunto.
18923 Cualquier nombre de entorno o de comando.
18926 \begin_layout Description
18927 \begin_inset Flex Code
18930 \begin_layout Plain Layout
18937 \begin_inset Flex Code
18940 \begin_layout Plain Layout
18946 ] El parámetro opcional para el correspondiente
18947 \begin_inset Flex Code
18950 \begin_layout Plain Layout
18956 , incluyendo posibles pares de corchetes,
18957 \begin_inset Flex Code
18960 \begin_layout Plain Layout
18967 Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
18969 \begin_inset Flex Code
18972 \begin_layout Plain Layout
18978 para parámetros personalizables).
18979 Se emitirá como tal después de todos los
18980 \begin_inset Flex Code
18983 \begin_layout Plain Layout
18993 \begin_layout Description
18994 \begin_inset Flex Code
18997 \begin_layout Plain Layout
19004 \begin_inset Flex Code
19007 \begin_layout Plain Layout
19008 Command, Environment, None
19013 ] Cómo debería traducirse el estilo en \SpecialChar LaTeX
19018 \begin_layout Plain Layout
19019 \begin_inset Flex Code
19022 \begin_layout Plain Layout
19028 es quizás un poco confuso porque estas eglas se aplican también a clases.
19029 Mira los archivos de clase SGML para ejemplos concretos.
19038 \begin_layout Description
19039 \begin_inset Flex Code
19042 \begin_layout Plain Layout
19048 significa nada especial
19051 \begin_layout Description
19052 \begin_inset Flex Code
19055 \begin_layout Plain Layout
19062 \begin_inset Flex Code
19065 \begin_layout Plain Layout
19072 {\SpecialChar ldots
19081 \begin_layout Description
19082 \begin_inset Flex Code
19085 \begin_layout Plain Layout
19092 \begin_inset Flex Code
19095 \begin_layout Plain Layout
19102 }\SpecialChar ldots
19117 \begin_layout Standard
19118 Poniendo juntas las últimas cosas, la salida \SpecialChar LaTeX
19122 \begin_layout LyX-Code
19125 LatexName[LatexParam]{\SpecialChar ldots
19129 \begin_layout Standard
19133 \begin_layout LyX-Code
19136 begin{LatexName}[LatexParam] \SpecialChar ldots
19142 \begin_layout Standard
19143 dependiendo del tipo de \SpecialChar LaTeX
19148 \begin_layout Description
19149 \begin_inset Flex Code
19152 \begin_layout Plain Layout
19159 \begin_inset Flex Code
19162 \begin_layout Plain Layout
19168 ] Secuencia que se pone al comienzo del contenido del formato.
19169 Un salto de línea en la salida se indica con
19170 \begin_inset Flex Code
19173 \begin_layout Plain Layout
19182 \begin_layout Description
19183 \begin_inset Flex Code
19186 \begin_layout Plain Layout
19193 \begin_inset Flex Code
19196 \begin_layout Plain Layout
19203 \begin_inset Flex Code
19206 \begin_layout Plain Layout
19213 \begin_inset Flex Code
19216 \begin_layout Plain Layout
19223 \begin_inset Flex Code
19226 \begin_layout Plain Layout
19232 (indicando una definición ficticia que finaliza definiciones de estilos
19234 Esta entrada es requerida y solo es significativa para recuadros flexibles.
19235 Entre otras cosas, determina en qué menús aparecerá este recuadro.
19237 \begin_inset Flex Code
19240 \begin_layout Plain Layout
19247 \begin_inset Flex Code
19250 \begin_layout Plain Layout
19257 \begin_inset Flex Code
19260 \begin_layout Plain Layout
19267 \begin_inset Flex Code
19270 \begin_layout Plain Layout
19282 \begin_inset Flex Code
19285 \begin_layout Plain Layout
19291 se puede poner como verdadero, o
19292 \begin_inset Flex Code
19295 \begin_layout Plain Layout
19305 e, para recuadros de estilos
19306 \begin_inset Flex Code
19309 \begin_layout Plain Layout
19320 \begin_inset Flex Code
19323 \begin_layout Plain Layout
19332 \begin_layout Description
19333 \begin_inset Flex Code
19336 \begin_layout Plain Layout
19343 \begin_inset Flex Code
19346 \begin_layout Plain Layout
19355 \begin_inset space \thinspace{}
19359 \begin_inset Flex Code
19362 \begin_layout Plain Layout
19368 ] Indica si se permiten múltiples párrafos en este recuadro.
19369 Además establecerá para CustomPars el mismo valor y para ForcePlain el
19371 Estos pueden modificarse a otros valores si se usan
19378 \begin_layout Description
19379 \begin_inset Flex Code
19382 \begin_layout Plain Layout
19389 \begin_inset Flex Code
19392 \begin_layout Plain Layout
19401 \begin_inset space \thinspace{}
19405 \begin_inset Flex Code
19408 \begin_layout Plain Layout
19414 ] Si los comandos frágiles deben o no ser
19415 \begin_inset Flex Code
19418 \begin_layout Plain Layout
19426 'ed en este recuadro.
19431 si el comando mismo debe ser protegido
19436 \begin_layout Description
19437 \begin_inset Flex Code
19440 \begin_layout Plain Layout
19447 \begin_inset Flex Code
19450 \begin_layout Plain Layout
19457 \begin_inset Flex Code
19460 \begin_layout Plain Layout
19469 \begin_layout Description
19470 \begin_inset Flex Code
19473 \begin_layout Plain Layout
19480 \begin_inset Flex Code
19483 \begin_layout Plain Layout
19490 \begin_inset Flex Code
19493 \begin_layout Plain Layout
19499 que ha recolocado este
19500 \begin_inset Flex Code
19503 \begin_layout Plain Layout
19510 Se usa para renombrar un
19511 \begin_inset Flex Code
19514 \begin_layout Plain Layout
19520 , mientras se mantiene compatibilidad hacia atrás.
19523 \begin_layout Description
19524 \begin_inset Flex Code
19527 \begin_layout Plain Layout
19534 \begin_inset Flex Code
19537 \begin_layout Plain Layout
19546 \begin_inset space \thinspace{}
19550 \begin_inset Flex Code
19553 \begin_layout Plain Layout
19559 ] Igual que para estilos de párrafo, véase
19560 \begin_inset CommandInset ref
19562 reference "subsec:Estilos-de-párrafo"
19567 Por omisión es falso.
19570 \begin_layout Description
19571 \begin_inset Flex Code
19574 \begin_layout Plain Layout
19583 \begin_inset Flex Code
19586 \begin_layout Plain Layout
19597 \begin_inset space \thinspace{}
19601 \begin_inset Flex Code
19604 \begin_layout Plain Layout
19610 ] Igual que para estilos de párrafo, véase
19611 \begin_inset CommandInset ref
19613 reference "subsec:Estilos-de-párrafo"
19620 \begin_layout Description
19621 \begin_inset Flex Code
19624 \begin_layout Plain Layout
19630 Igual que para estilos de párrafo, véase
19631 \begin_inset CommandInset ref
19633 reference "subsec:Estilos-de-párrafo"
19640 \begin_layout Description
19641 \begin_inset Flex Code
19644 \begin_layout Plain Layout
19651 \begin_inset Flex Code
19654 \begin_layout Plain Layout
19660 ] Prefijo a usar cuando se crean etiquetas que se refieren a recuadros de
19662 Esto permite el uso de referencias con formato.
19665 \begin_layout Description
19666 \begin_inset Flex Code
19669 \begin_layout Plain Layout
19676 \begin_inset Flex Code
19679 \begin_layout Plain Layout
19685 ] Igual que para estilos de párrafo, véase
19686 \begin_inset CommandInset ref
19688 reference "subsec:Estilos-de-párrafo"
19695 \begin_layout Description
19696 \begin_inset Flex Code
19699 \begin_layout Plain Layout
19706 \begin_inset Flex Code
19709 \begin_layout Plain Layout
19718 \begin_inset space \thinspace{}
19722 \begin_inset Flex Code
19725 \begin_layout Plain Layout
19731 ] Reinicia los argumentos \SpecialChar LaTeX
19732 de este formato (como se definen con
19733 \begin_inset Flex Code
19736 \begin_layout Plain Layout
19743 Es útil si has copiado un estilo con
19744 \begin_inset Flex Code
19747 \begin_layout Plain Layout
19753 , pero no quieres heredar sus argumentos (requerido y opcional).
19756 \begin_layout Description
19757 \begin_inset Flex Code
19760 \begin_layout Plain Layout
19767 \begin_inset Flex Code
19770 \begin_layout Plain Layout
19777 \begin_inset space \thinspace{}
19781 \begin_inset Flex Code
19784 \begin_layout Plain Layout
19792 ] Si este recuadro debería usar la tipografía de su entorno o la suya propia.
19793 Por omisión es la tipografía de su entorno.
19796 \begin_layout Description
19797 \begin_inset Flex Code
19800 \begin_layout Plain Layout
19807 \begin_inset Flex Code
19810 \begin_layout Plain Layout
19816 ] Secuencia que se pone al final del contenido del formato.
19817 Un salto de línea en la salida se indica con
19818 \begin_inset Flex Code
19821 \begin_layout Plain Layout
19830 \begin_layout Description
19831 \begin_inset Flex Code
19834 \begin_layout Plain Layout
19841 \begin_inset Flex Code
19844 \begin_layout Plain Layout
19851 \begin_inset space \thinspace{}
19855 \begin_inset Flex Code
19858 \begin_layout Plain Layout
19866 ] Revisar la ortografía del contenido del recuadro.
19870 \begin_layout Subsection
19872 \begin_inset CommandInset label
19874 name "subsec:Contadores"
19881 \begin_layout Standard
19882 Es necesario definir los contadores (
19883 \begin_inset Flex Noun
19886 \begin_layout Plain Layout
19893 \begin_inset Flex Noun
19896 \begin_layout Plain Layout
19902 , \SpecialChar ldots
19903 ) en la propia clase de texto.
19904 Los contadores estándar están definidos en el archivo
19905 \begin_inset Flex Code
19908 \begin_layout Plain Layout
19914 , de modo que no tienes más que añadir
19917 \begin_layout LyX-Code
19918 Input stdcounters.inc
19921 \begin_layout Standard
19922 en el archivo de formato para que funcionen.
19923 Pero si quieres puedes definir contadores personalizados.
19924 La declaración de un contador debe comenzar con:
19927 \begin_layout LyX-Code
19931 \begin_layout Standard
19933 \begin_inset Flex Code
19936 \begin_layout Plain Layout
19942 es el nombre del contador.
19943 Hay que terminar con
19944 \begin_inset Flex Code
19947 \begin_layout Plain Layout
19956 \begin_layout Standard
19957 Se pueden usar además los parámetros siguientes:
19960 \begin_layout Description
19961 \begin_inset Flex Code
19964 \begin_layout Plain Layout
19971 \begin_inset Flex Code
19974 \begin_layout Plain Layout
19980 ] Establece el valor inicial para el contador, al cuál se reiniciará cada
19981 vez que suceda esto.
19982 Normalmente será 1.
19985 \begin_layout Description
19986 \begin_inset Flex Code
19989 \begin_layout Plain Layout
19996 \begin_inset Flex Code
19999 \begin_layout Plain Layout
20005 =""] Si se define esta cadena, indica cómo se muestra el contador.
20006 Al establecer este valor también se da el mismo valor a
20007 \begin_inset Flex Code
20010 \begin_layout Plain Layout
20011 LabelStringAppendix
20017 Para los valores de 'string' se pueden usar las estructuras siguientes:
20021 \begin_layout Itemize
20022 \begin_inset Flex Code
20025 \begin_layout Plain Layout
20033 será reemplazado por la expansión de
20034 \begin_inset Flex Code
20037 \begin_layout Plain Layout
20044 \begin_inset Newline newline
20048 \begin_inset Flex Code
20051 \begin_layout Plain Layout
20052 LabelStringAppendix
20058 \begin_inset Flex Code
20061 \begin_layout Plain Layout
20071 \begin_layout Itemize
20072 los valores del contador pueden expresarse usando macros tipo \SpecialChar LaTeX
20074 \begin_inset Flex Code
20077 \begin_layout Plain Layout
20094 \begin_inset Flex Code
20097 \begin_layout Plain Layout
20109 \begin_layout Plain Layout
20110 En realidad la cosa es un poco más compleja: cualquier
20114 distinto de los descritos a continuación generará números arábigos.
20115 No sería sorprendenta ver este cambio en el futuro.
20121 \begin_inset Flex Code
20124 \begin_layout Plain Layout
20130 : 1, 2, 3,\SpecialChar ldots
20132 \begin_inset Flex Code
20135 \begin_layout Plain Layout
20141 para minúsculas: a, b, c, \SpecialChar ldots
20143 \begin_inset Flex Code
20146 \begin_layout Plain Layout
20152 para mayúsculas: A, B, C, \SpecialChar ldots
20154 \begin_inset Flex Code
20157 \begin_layout Plain Layout
20163 números romanos en minúscula: i, ii, iii, \SpecialChar ldots
20168 \begin_layout Plain Layout
20174 \begin_inset space \thinspace{}
20182 \begin_inset Flex Code
20185 \begin_layout Plain Layout
20200 \begin_inset Flex Code
20203 \begin_layout Plain Layout
20217 los transforma automáticamente en versalitas
20222 , ya que los romanos en minúscula no se usan en español.
20229 \begin_inset Flex Code
20232 \begin_layout Plain Layout
20238 para romanos en mayúsculas: I, II, III\SpecialChar ldots
20240 \begin_inset Flex Code
20243 \begin_layout Plain Layout
20249 para números hebreos.
20253 \begin_layout Standard
20255 \begin_inset Flex Code
20258 \begin_layout Plain Layout
20264 , se construye un valor por omisión así: si el contador tiene un contador
20266 \begin_inset Flex Code
20269 \begin_layout Plain Layout
20276 \begin_inset Flex Code
20279 \begin_layout Plain Layout
20285 ), se usa la cadena
20286 \begin_inset Flex Code
20289 \begin_layout Plain Layout
20299 ; si no, se usa la cadena
20300 \begin_inset Flex Code
20303 \begin_layout Plain Layout
20314 \begin_layout Description
20315 \begin_inset Flex Code
20318 \begin_layout Plain Layout
20319 LabelStringAppendix
20325 \begin_inset Flex Code
20328 \begin_layout Plain Layout
20335 \begin_inset Flex Code
20338 \begin_layout Plain Layout
20344 , pero para el apéndice.
20347 \begin_layout Description
20348 \begin_inset Flex Code
20351 \begin_layout Plain Layout
20358 \begin_inset Flex Code
20361 \begin_layout Plain Layout
20368 \begin_inset Quotes erd
20372 \begin_inset Quotes erd
20375 ] Un formato para usar con las referencias a este contador.
20376 Por ejemplo, podríamos querer las referencias a los números de sección
20378 \begin_inset Quotes cld
20382 \begin_inset space ~
20386 \begin_inset Quotes crd
20390 La secuencia debería contener
20391 \begin_inset Quotes eld
20395 \begin_inset Quotes erd
20399 Esto será reemplazado por el número correspondiente del contador.
20400 Así pues, para secciones sería: Section ##.
20403 \begin_layout Description
20404 \begin_inset Flex Code
20407 \begin_layout Plain Layout
20414 \begin_inset Flex Code
20417 \begin_layout Plain Layout
20423 =""] Si esto se establece para el nombre de otro contador, el presente contador
20424 se reiniciará cada vez que el otro aumente.
20426 \begin_inset Flex Code
20429 \begin_layout Plain Layout
20435 se numera dentro de
20436 \begin_inset Flex Code
20439 \begin_layout Plain Layout
20448 \begin_layout Subsection
20449 Descripción de la tipografía
20450 \begin_inset CommandInset label
20452 name "subsec:Tipografía"
20459 \begin_layout Standard
20460 Una descripción de una tipografía se ve así:
20463 \begin_layout LyX-Code
20477 \begin_layout LyX-Code
20481 \begin_layout LyX-Code
20485 \begin_layout Standard
20486 Están disponibles los comandos siguientes:
20489 \begin_layout Description
20490 \begin_inset Flex Code
20493 \begin_layout Plain Layout
20500 \begin_inset Flex Code
20503 \begin_layout Plain Layout
20512 \begin_inset Flex Code
20515 \begin_layout Plain Layout
20522 \begin_inset Flex Code
20525 \begin_layout Plain Layout
20532 \begin_inset Flex Code
20535 \begin_layout Plain Layout
20542 \begin_inset Flex Code
20545 \begin_layout Plain Layout
20552 \begin_inset Flex Code
20555 \begin_layout Plain Layout
20562 \begin_inset Flex Code
20565 \begin_layout Plain Layout
20572 \begin_inset Flex Code
20575 \begin_layout Plain Layout
20582 \begin_inset Flex Code
20585 \begin_layout Plain Layout
20592 \begin_inset Flex Code
20595 \begin_layout Plain Layout
20602 \begin_inset Flex Code
20605 \begin_layout Plain Layout
20612 \begin_inset Flex Code
20615 \begin_layout Plain Layout
20622 \begin_inset Flex Code
20625 \begin_layout Plain Layout
20632 \begin_inset Flex Code
20635 \begin_layout Plain Layout
20642 \begin_inset Flex Code
20645 \begin_layout Plain Layout
20652 \begin_inset Flex Code
20655 \begin_layout Plain Layout
20662 \begin_inset Flex Code
20665 \begin_layout Plain Layout
20672 \begin_inset Flex Code
20675 \begin_layout Plain Layout
20682 \begin_inset Flex Code
20685 \begin_layout Plain Layout
20692 \begin_inset Flex Code
20695 \begin_layout Plain Layout
20704 \begin_layout Description
20705 \begin_inset Flex Code
20708 \begin_layout Plain Layout
20717 \begin_inset Flex Code
20720 \begin_layout Plain Layout
20731 \begin_inset Flex Code
20734 \begin_layout Plain Layout
20741 \begin_inset Flex Code
20744 \begin_layout Plain Layout
20753 \begin_layout Description
20754 \begin_inset Flex Code
20757 \begin_layout Plain Layout
20764 \begin_inset Flex Code
20767 \begin_layout Plain Layout
20773 ] Son argumentos válidos:
20774 \begin_inset Flex Code
20777 \begin_layout Plain Layout
20784 \begin_inset Flex Code
20787 \begin_layout Plain Layout
20794 \begin_inset Flex Code
20797 \begin_layout Plain Layout
20804 \begin_inset Flex Code
20807 \begin_layout Plain Layout
20814 \begin_inset Flex Code
20817 \begin_layout Plain Layout
20824 \begin_inset Flex Code
20827 \begin_layout Plain Layout
20834 \begin_inset Flex Code
20837 \begin_layout Plain Layout
20844 \begin_inset Flex Code
20847 \begin_layout Plain Layout
20854 \begin_inset Flex Code
20857 \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
20894 Cada uno de ellos activa o desactiva el atributo correspondiente.
20896 \begin_inset Flex Code
20899 \begin_layout Plain Layout
20906 \begin_inset Flex Code
20909 \begin_layout Plain Layout
20916 \begin_inset Newline newline
20919 Si esto último parece superfluo, recordemos que la configuración de tipografías
20920 para el presente contexto se hereda generalmente del contexto circundante.
20922 \begin_inset Flex Code
20925 \begin_layout Plain Layout
20931 desactivaría el énfasis que estaba vigente, digamos, en un entorno teorema.
20934 \begin_layout Description
20935 \begin_inset Flex Code
20938 \begin_layout Plain Layout
20947 \begin_inset Flex Code
20950 \begin_layout Plain Layout
20961 \begin_inset Flex Code
20964 \begin_layout Plain Layout
20973 \begin_layout Description
20974 \begin_inset Flex Code
20977 \begin_layout Plain Layout
20986 \begin_inset Flex Code
20989 \begin_layout Plain Layout
21000 \begin_inset Flex Code
21003 \begin_layout Plain Layout
21010 \begin_inset Flex Code
21013 \begin_layout Plain Layout
21020 \begin_inset Flex Code
21023 \begin_layout Plain Layout
21032 \begin_layout Description
21033 \begin_inset Flex Code
21036 \begin_layout Plain Layout
21043 \begin_inset Flex Code
21046 \begin_layout Plain Layout
21053 \begin_inset Flex Code
21056 \begin_layout Plain Layout
21063 \begin_inset Flex Code
21066 \begin_layout Plain Layout
21075 \begin_inset Flex Code
21078 \begin_layout Plain Layout
21085 \begin_inset Flex Code
21088 \begin_layout Plain Layout
21095 \begin_inset Flex Code
21098 \begin_layout Plain Layout
21105 \begin_inset Flex Code
21108 \begin_layout Plain Layout
21115 \begin_inset Flex Code
21118 \begin_layout Plain Layout
21127 \begin_layout Subsection
21130 \begin_inset CommandInset label
21132 name "subsec:Citation-engine-description"
21136 Citation engine description
21139 \begin_layout Standard
21143 \begin_inset Flex Code
21146 \begin_layout Plain Layout
21154 blocks, as used mainly in cite engine files (see
21155 \begin_inset CommandInset ref
21157 reference "subsec:Cite-Engine-Files"
21164 ), define the citation commands provided by a specific
21165 \begin_inset Quotes eld
21169 \begin_inset Quotes erd
21173 A cite engine, in \SpecialChar LyX
21174 terms, is way specific way to format citations, using
21175 numbers, author names and/or years.
21176 Currently, \SpecialChar LyX
21177 supports three such engine types, namely:
21180 \begin_layout Enumerate
21183 \begin_inset Flex Code
21186 \begin_layout Plain Layout
21194 : the default Bib\SpecialChar TeX
21195 way to format citations, a simple numeric style (e.
21196 \begin_inset space \thinspace{}
21200 \begin_inset Quotes eld
21204 \begin_inset Quotes erd
21210 \begin_layout Enumerate
21213 \begin_inset Flex Code
21216 \begin_layout Plain Layout
21224 : Harvard-styled citations using author names and publication year (e.
21225 \begin_inset space \thinspace{}
21229 \begin_inset Quotes eld
21232 Smith and Miller (2017b)
21233 \begin_inset Quotes erd
21239 \begin_layout Enumerate
21242 \begin_inset Flex Code
21245 \begin_layout Plain Layout
21253 : extended numerical citations that also allow for author or title next
21255 \begin_inset space \thinspace{}
21259 \begin_inset Quotes eld
21262 Smith and Miller [1]
21263 \begin_inset Quotes erd
21269 \begin_layout Standard
21272 \begin_inset Flex Code
21275 \begin_layout Plain Layout
21283 blocks look like this:
21286 \begin_layout LyX-Code
21292 \begin_layout LyX-Code
21298 \begin_layout LyX-Code
21304 \begin_layout LyX-Code
21307 citeyearpar[][]=parencite*
21310 \begin_layout LyX-Code
21316 \begin_layout LyX-Code
21322 \begin_layout Standard
21326 \begin_inset Flex Code
21329 \begin_layout Plain Layout
21337 denotes the engine.
21338 The individual lines respectively define a cite command or cite command
21339 paradigm supported by this engine.
21340 The line can be as simple as a cite command that is used both to name the
21341 respective \SpecialChar LyX
21342 command and the \SpecialChar LaTeX
21343 output or more complex in order to differentiate
21345 The full syntax is:
21348 \begin_layout LyX-Code
21351 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
21354 \begin_layout Itemize
21357 \begin_inset Flex Code
21360 \begin_layout Plain Layout
21368 : The name as used in the
21369 \begin_inset Flex Code
21372 \begin_layout Plain Layout
21384 \begin_layout Standard
21387 For portability reasons, we try to use the same name for same-formatted
21388 commands in different cite packages (thus many names stem from natbib,
21389 and thus we need to differentiate a
21390 \begin_inset Flex Code
21393 \begin_layout Plain Layout
21401 sometimes, if the \SpecialChar LaTeX
21402 command names differ).
21406 \begin_layout Itemize
21409 \begin_inset Flex Code
21412 \begin_layout Plain Layout
21420 : a (comma-separated) list of commands that fall back to the given
21421 \begin_inset Flex Code
21424 \begin_layout Plain Layout
21432 in the current engine.
21433 This eases the switch of citation packages and engines.
21435 \begin_inset Flex Code
21438 \begin_layout Plain Layout
21447 \begin_inset Flex Code
21450 \begin_layout Plain Layout
21458 in layout definitions.
21461 \begin_layout Itemize
21464 \begin_inset Flex Code
21467 \begin_layout Plain Layout
21475 : The actual \SpecialChar LaTeX
21476 command that is output.
21480 \begin_layout Standard
21483 \begin_inset Flex Code
21486 \begin_layout Plain Layout
21495 \begin_inset Flex Code
21498 \begin_layout Plain Layout
21508 \begin_inset Flex Code
21511 \begin_layout Plain Layout
21520 \begin_inset Flex Code
21523 \begin_layout Plain Layout
21531 will be output to \SpecialChar LaTeX
21535 \begin_layout Standard
21541 \begin_layout Itemize
21544 Capitalization indicates that the command also has a capitalized form (
21545 \begin_inset Flex Code
21548 \begin_layout Plain Layout
21560 \begin_inset Flex Code
21563 \begin_layout Plain Layout
21574 These usually enforce up-casing of name prefixes (
21579 \begin_inset Formula $\Rightarrow$
21589 \begin_layout Itemize
21593 \begin_inset Flex Code
21596 \begin_layout Plain Layout
21604 indicate the number of optional arguments (there can be 0–2).
21607 \begin_layout Itemize
21611 \begin_inset Flex Code
21614 \begin_layout Plain Layout
21622 indicates there is a starred version of the command (
21623 \begin_inset Flex Code
21626 \begin_layout Plain Layout
21638 \begin_inset Flex Code
21641 \begin_layout Plain Layout
21656 \begin_layout Standard
21659 By default, the starred version means: Output all authors even if it should
21661 \begin_inset Quotes eld
21665 \begin_inset Quotes erd
21669 \begin_inset Flex Code
21672 \begin_layout Plain Layout
21683 \begin_layout Standard
21686 If the star has a different meaning for a given command, it can be specified
21688 \begin_inset Flex Code
21691 \begin_layout Plain Layout
21694 <!_stardesc!_stardesctooltip>
21700 Maximal two translatable macro keywords, marked by the prefix
21701 \begin_inset Flex Code
21704 \begin_layout Plain Layout
21713 The first points to the string that replaces the
21714 \begin_inset Quotes eld
21718 \begin_inset Quotes erd
21721 checkbox label in the citation dialog, the second one to an optional tool
21722 tip for this checkbox.
21726 \begin_layout Standard
21729 Note that these two macros have to be defined in a
21730 \begin_inset Flex Code
21733 \begin_layout Plain Layout
21741 (see next section), dropping the
21742 \begin_inset Flex Code
21745 \begin_layout Plain Layout
21753 from the prefix, like this:
21756 \begin_layout LyX-Code
21759 _stardesc Sta&rred command label
21762 \begin_layout LyX-Code
21765 _stardesctooltip Tooltip for the starred command checkbox.
21769 \begin_layout Itemize
21773 \begin_inset Flex Code
21776 \begin_layout Plain Layout
21784 indicates that this command features
21785 \begin_inset Quotes eld
21788 qualified citation lists
21789 \begin_inset Quotes erd
21797 -specific feature for multi-reference citations where an individual pre-
21798 and postnote can be given to each reference in the list.
21799 Please refer to the
21803 manual for details.
21806 \begin_layout Subsection
21807 \begin_inset CommandInset label
21809 name "subsec:Descripción-formato-cita"
21813 Descripción del formato de cita
21816 \begin_layout Standard
21818 \begin_inset Flex Code
21821 \begin_layout Plain Layout
21827 se usan para describir la forma en que debe mostrarse la información bibliográf
21828 ica, tanto en \SpecialChar LyX
21829 (en el diálogo de citas y en las ayudas emergentes, por ejemplo)
21830 como en la salida XHTML.
21831 El aspecto de unode estos bloques podría ser este:
21834 \begin_layout LyX-Code
21838 \begin_layout LyX-Code
21842 \begin_layout LyX-Code
21846 \begin_layout LyX-Code
21850 \begin_layout Standard
21856 \begin_layout LyX-Code
21862 \begin_layout LyX-Code
21868 \begin_layout LyX-Code
21874 \begin_layout LyX-Code
21880 \begin_layout Standard
21883 In the first case, the individual lines
21885 definen cómo se va a mostrar la información bibliográfica asociada con un
21886 artículo o libro, respectivamente, y tales definiciones se pueden dar para
21887 cualquier `tipo de entrada' que pudiera estar presente en un archivo Bib\SpecialChar TeX
21890 define un formato por omsión en el código fuente que se usará si no se
21891 da una definición específica.
21893 predefine varios formatos en el archivo
21894 \begin_inset Flex Code
21897 \begin_layout Plain Layout
21903 , que se incluye en la mayoría de las clases de documento de \SpecialChar LyX
21907 \begin_layout Standard
21910 In the second case, the lines define how a specific citation command (in
21912 \begin_inset Flex Code
21915 \begin_layout Plain Layout
21926 \begin_inset Flex Code
21929 \begin_layout Plain Layout
21939 ) is to be displayed on the citation inset label, in the citation dialog,
21940 menu or XHTML output.
21942 defines such formats for the citation style variants it supports via
21944 Document\SpecialChar menuseparator
21945 Setting\SpecialChar menuseparator
21946 Bibliography\SpecialChar ldots
21950 \begin_inset Flex Code
21953 \begin_layout Plain Layout
21961 files that are shipped with \SpecialChar LyX
21963 \begin_inset CommandInset ref
21965 reference "subsec:Cite-Engine-Files"
21975 \begin_layout Standard
21976 Las definiciones usan un lenguaje simple que permite reemplazar las claves
21977 Bib\SpecialChar TeX
21979 Las claves deben encerrarse entre símbolos
21980 \begin_inset Flex Code
21983 \begin_layout Plain Layout
21990 \begin_inset space \thinspace{}
21994 \begin_inset Flex Code
21997 \begin_layout Plain Layout
22004 Así, una simple definición sería:
22007 \begin_layout LyX-Code
22009 \begin_inset Quotes eld
22013 \begin_inset Quotes erd
22019 \begin_layout Standard
22020 Esto imprimiría el autor, una coma, a continuación el título entre comillas
22021 y un punto para finalizar.
22024 \begin_layout Standard
22025 A veces querrás, por supuesto, imprimir una clave solo si existe.
22026 Esto puede hacerse mediante una construcción condicional tal como:
22027 \begin_inset Flex Code
22030 \begin_layout Plain Layout
22032 \begin_inset space ~
22040 , que quiere decir: si la clave
22041 \begin_inset Flex Code
22044 \begin_layout Plain Layout
22051 \begin_inset Quotes eld
22055 \begin_inset space ~
22059 \begin_inset Quotes erd
22062 seguido de la clave.
22063 También es posible tener una cláusula de otro modo en el condicional, como:
22064 \begin_inset Newline newline
22068 \begin_inset Flex Code
22071 \begin_layout Plain Layout
22072 {%author%[[%author%]][[%editor%, ed.]]}
22078 \begin_inset Newline newline
22082 \begin_inset Flex Code
22085 \begin_layout Plain Layout
22091 se imprime si existe; por otra parte, se imprime la clave
22092 \begin_inset Flex Code
22095 \begin_layout Plain Layout
22102 \begin_inset Quotes eld
22106 \begin_inset space ~
22110 \begin_inset Quotes erd
22114 Advierte que la clave se encierra entre signos
22115 \begin_inset Flex Code
22118 \begin_layout Plain Layout
22124 ; el condicional entero se encierra entre llaves; y las cláusulas condicional
22125 y por otra parte se ponen entre cobles corchetes,
22126 \begin_inset Quotes eld
22130 \begin_inset Flex Code
22133 \begin_layout Plain Layout
22140 \begin_inset Quotes eld
22144 \begin_inset Quotes eld
22148 \begin_inset Flex Code
22151 \begin_layout Plain Layout
22158 \begin_inset Quotes erd
22162 No debe haber espacios entre ninguno de ellos.
22165 \begin_layout Standard
22168 Next to the entry keys, there are some special keys that can be used for
22169 these conditionals:
22172 \begin_layout Itemize
22175 \begin_inset Flex Code
22178 \begin_layout Plain Layout
22181 {%dialog%[[true]][[false]]}
22187 \begin_inset Quotes eld
22191 \begin_inset Quotes erd
22194 part for dialogs and menus, the
22195 \begin_inset Quotes eld
22199 \begin_inset Quotes erd
22202 part for other contexts (workarea, export)
22205 \begin_layout Itemize
22208 \begin_inset Flex Code
22211 \begin_layout Plain Layout
22214 {%export%[[true]][[false]]}
22220 \begin_inset Quotes eld
22224 \begin_inset Quotes erd
22227 part for export and menus, the
22228 \begin_inset Quotes eld
22232 \begin_inset Quotes erd
22235 part for other contexts (workarea, dialog)
22238 \begin_layout Itemize
22241 \begin_inset Flex Code
22244 \begin_layout Plain Layout
22253 \begin_inset Quotes eld
22257 \begin_inset Quotes erd
22260 part if another item follows (e.
22261 \begin_inset space \thinspace{}
22264 g., in a citation with multiple keys)
22267 \begin_layout Itemize
22270 \begin_inset Flex Code
22273 \begin_layout Plain Layout
22276 {%second%[[true]][[false]]}
22282 \begin_inset Quotes eld
22286 \begin_inset Quotes erd
22289 if this is the second of multiple items, else the
22290 \begin_inset Quotes eld
22294 \begin_inset Quotes erd
22300 \begin_layout Itemize
22303 \begin_inset Flex Code
22306 \begin_layout Plain Layout
22309 {%ifstar%[[true]][[false]]}
22315 \begin_inset Quotes eld
22319 \begin_inset Quotes erd
22322 part for starred citation commands (such as
22323 \begin_inset Flex Code
22326 \begin_layout Plain Layout
22336 ), the false part for unstarred
22339 \begin_layout Itemize
22342 \begin_inset Flex Code
22345 \begin_layout Plain Layout
22348 {%ifentrytype:<type>%[[true]][[false]]}
22354 \begin_inset Quotes eld
22358 \begin_inset Quotes erd
22361 if the current entry type matches
22362 \begin_inset Flex Code
22365 \begin_layout Plain Layout
22373 , else the false part (e.g., in a citation definition:
22374 \begin_inset Flex Code
22377 \begin_layout Plain Layout
22380 {%ifentrytype:book%[[this is a book]][[this is no book]]}
22388 \begin_layout Itemize
22391 \begin_inset Flex Code
22394 \begin_layout Plain Layout
22397 {%ifmultiple:<authortype>%[[true]][[false]]}
22403 \begin_inset Quotes eld
22407 \begin_inset Quotes erd
22410 if the current author type (author, editor etc.) has multiple authors, else
22411 the false part (e.g., in a bibliography definition:
22412 \begin_inset Flex Code
22415 \begin_layout Plain Layout
22418 {%ifmultiple:editor%[[eds.]][[ed.]]}
22426 \begin_layout Itemize
22429 \begin_inset Flex Code
22432 \begin_layout Plain Layout
22435 {%ifqualified%[[true]][[false]]}
22441 \begin_inset Quotes eld
22445 \begin_inset Quotes erd
22448 part if the current citation is a qualified citation list (a specific
22452 format for multi-reference citations), the false part if this is not the
22456 \begin_layout Standard
22460 \begin_inset Flex Code
22463 \begin_layout Plain Layout
22471 prints the author key as it is recorded in the bibliography file.
22472 This might not be what you want, since it will result in a string such
22474 \begin_inset Quotes eld
22477 Miller, Peter and Smith, Mary and White, Jane
22478 \begin_inset Quotes erd
22482 \begin_inset Quotes eld
22486 \begin_inset Quotes erd
22489 is used by Bib\SpecialChar TeX
22490 to delimit authors).
22492 therefore provides some methods to get properly formatted name lists (which
22493 will also get translated).
22494 The following keys are provided:
22497 \begin_layout Enumerate
22500 For name lists with pre- and surname, suitable for the main authors/editors
22501 of a bibliography item.
22503 \begin_inset Flex Code
22506 \begin_layout Plain Layout
22514 part denotes the kind of list that is requested (e.g.
22516 \begin_inset Flex Code
22519 \begin_layout Plain Layout
22531 \begin_layout Itemize
22534 \begin_inset Flex Code
22537 \begin_layout Plain Layout
22540 %abbrvnames:<nametype>%
22545 : Provides a name list which is abbreviated (with
22546 \begin_inset Quotes eld
22550 \begin_inset Quotes erd
22554 \begin_inset Flex Code
22557 \begin_layout Plain Layout
22568 \begin_layout Itemize
22571 \begin_inset Flex Code
22574 \begin_layout Plain Layout
22577 %fullnames:<nametype>%
22582 : Provides a full name list (never abbreviated with
22583 \begin_inset Quotes eld
22587 \begin_inset Quotes erd
22593 \begin_layout Itemize
22596 \begin_inset Flex Code
22599 \begin_layout Plain Layout
22602 %forceabbrvnames:<nametype>%
22607 : Provides a name list which is always abbreviated (with
22608 \begin_inset Quotes eld
22612 \begin_inset Quotes erd
22616 \begin_inset Flex Code
22619 \begin_layout Plain Layout
22631 \begin_layout Enumerate
22634 Alternative name lists with pre- and surname, if the order of pre- and surname
22635 inside the bibliography item differs (as in:
22636 \begin_inset Quotes eld
22639 Miller, John: Some text, in: Mary Smith, ed.: A volume
22640 \begin_inset Quotes erd
22647 \begin_layout Itemize
22650 \begin_inset Flex Code
22653 \begin_layout Plain Layout
22656 %abbrvbynames:<nametype>%
22661 : Provides a name list which is abbreviated (with
22662 \begin_inset Quotes eld
22666 \begin_inset Quotes erd
22670 \begin_inset Flex Code
22673 \begin_layout Plain Layout
22684 \begin_layout Itemize
22687 \begin_inset Flex Code
22690 \begin_layout Plain Layout
22693 %fullbynames:<nametype>%
22698 : Provides a full name list (never abbreviated with
22699 \begin_inset Quotes eld
22703 \begin_inset Quotes erd
22709 \begin_layout Itemize
22712 \begin_inset Flex Code
22715 \begin_layout Plain Layout
22718 %forceabbrvbynames:<nametype>%
22723 : Provides a name list which is always abbreviated (with
22724 \begin_inset Quotes eld
22728 \begin_inset Quotes erd
22732 \begin_inset Flex Code
22735 \begin_layout Plain Layout
22747 \begin_layout Enumerate
22750 And finally name lists which consist of family names only, as used in author-yea
22752 these do not take a
22753 \begin_inset Flex Code
22756 \begin_layout Plain Layout
22764 part, but always return either an author list or, if this does not exist,
22765 an editor list (as common in author-year labels):
22769 \begin_layout Itemize
22772 \begin_inset Flex Code
22775 \begin_layout Plain Layout
22783 : Provides a name list which is abbreviated (with
22784 \begin_inset Quotes eld
22788 \begin_inset Quotes erd
22792 \begin_inset Flex Code
22795 \begin_layout Plain Layout
22806 \begin_layout Itemize
22809 \begin_inset Flex Code
22812 \begin_layout Plain Layout
22820 : Provides a full name list (never abbreviated with
22821 \begin_inset Quotes eld
22825 \begin_inset Quotes erd
22831 \begin_layout Itemize
22834 \begin_inset Flex Code
22837 \begin_layout Plain Layout
22840 %forceabbrvciteauthor%
22845 : Provides a name list which is always abbreviated (with
22846 \begin_inset Quotes eld
22850 \begin_inset Quotes erd
22854 \begin_inset Flex Code
22857 \begin_layout Plain Layout
22869 \begin_layout Standard
22872 The order of pre- and surname in the former two lists can be adjusted by
22876 \begin_layout Itemize
22879 \begin_inset Flex Code
22882 \begin_layout Plain Layout
22885 !firstnameform %surname%, %prename%
22890 (first author in lists of type 1)
22893 \begin_layout Itemize
22896 \begin_inset Flex Code
22899 \begin_layout Plain Layout
22902 !othernameform %surname%, %prename%
22907 (other authors in lists of type 1)
22910 \begin_layout Itemize
22913 \begin_inset Flex Code
22916 \begin_layout Plain Layout
22919 !firstbynameform %prename% %surname%
22924 (first author in lists of type 2)
22927 \begin_layout Itemize
22930 \begin_inset Flex Code
22933 \begin_layout Plain Layout
22936 !otherbynameform %prename% %surname%
22941 (other authors in lists of type 2)
22944 \begin_layout Standard
22947 This allows you to configure namings like
22948 \begin_inset Quotes eld
22951 Miller, Peter and Mary Smith: \SpecialChar ldots
22952 , in: John Doe and Pat Green, eds.:\SpecialChar ldots
22954 \begin_inset Quotes erd
22960 \begin_layout Standard
22961 Hay otra pieza de sintaxis disponible en las definiciones, como esta:
22962 \begin_inset Flex Code
22965 \begin_layout Plain Layout
22972 Define una pieza de información para ser usada cuando creamos
22973 \begin_inset Quotes eld
22977 \begin_inset Quotes erd
22981 Obviamente, no queremos etiquetas HTML cuando escribimos texto sencillo,
22982 por tanto deben ponerse entre
22983 \begin_inset Quotes eld
22987 \begin_inset Quotes erd
22991 \begin_inset Quotes eld
22995 \begin_inset Quotes erd
23001 \begin_layout Standard
23002 Además, hay dos clases especiales de definiciones disponibles en un bloque
23004 \begin_inset Flex Code
23007 \begin_layout Plain Layout
23014 Un ejemplo de la primera sería:
23017 \begin_layout LyX-Code
23019 \begin_inset Quotes eld
23023 \begin_inset Quotes erd
23029 \begin_layout Standard
23030 Esto es una abreviación, o macro, y se puede usar tratándola como si fuera
23032 \begin_inset Flex Code
23035 \begin_layout Plain Layout
23044 \begin_inset Flex Code
23047 \begin_layout Plain Layout
23053 exactamente como trataría su definición.
23054 Por tanto, permítenos un
23062 \begin_layout LyX-Code
23066 \begin_layout Standard
23069 no caería en un bucle infinito, pero sí en uno muy largo.
23072 \begin_layout Standard
23073 El segundo tipo especial de definición sería como:
23076 \begin_layout LyX-Code
23080 \begin_layout Standard
23081 Esto define un trozo de texto traducible, que permite traducir partes relevantes
23082 de la bibliografía o de la cita.
23083 Puede incluirse en una definición tratándolo como una clave:
23084 \begin_inset Flex Code
23087 \begin_layout Plain Layout
23096 Note that there are two different translation paths: All definitions starting
23098 \begin_inset Flex Code
23101 \begin_layout Plain Layout
23109 , such as in the example above, will be translated to the currently active
23110 buffer language (so the translation will match the generated document).
23111 All definitions starting with underscore only will be translated to the
23113 This is the proper translation for strings that only occur in the dialogs
23114 or on buttons, such as this one:
23117 \begin_layout LyX-Code
23120 _addtobib Add to bibliography only.
23123 \begin_layout Standard
23124 Varios de estos cadenas de caracteres traducible están predefinidos en
23125 \begin_inset Flex Code
23128 \begin_layout Plain Layout
23134 y en los diversos archivos
23135 \begin_inset Flex Code
23138 \begin_layout Plain Layout
23145 Advertiremos que no son macros en el sentido definido.
23149 \begin_layout Standard
23150 Aquí hay, pues, un ejemplo que usa varias estas características:
23151 \begin_inset VSpace defskip
23157 \begin_layout Standard
23161 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %B_edtext%, ]]}]]}
23164 \begin_layout Standard
23165 \begin_inset VSpace defskip
23168 Así definimos una macro que imprime el autor seguido de coma, si la clave
23170 \begin_inset Flex Code
23173 \begin_layout Plain Layout
23179 está definida, o imprime el nombre del editor seguido por el texto
23180 \begin_inset Flex Code
23183 \begin_layout Plain Layout
23189 o su traducción (por omisión
23190 \begin_inset Quotes eld
23194 \begin_inset Quotes erd
23198 \begin_inset Flex Code
23201 \begin_layout Plain Layout
23208 De hecho, esto está definido en
23209 \begin_inset Flex Code
23212 \begin_layout Plain Layout
23218 , por tanto puedes usarlo en tus propias definiciones o redefiniciones,
23219 si cargas antes ese archivo.
23222 \begin_layout Section
23223 Etiquetas para la salida XHTML
23224 \begin_inset CommandInset label
23226 name "sec:Etiquetas-para-XHTML"
23233 \begin_layout Standard
23234 Como para \SpecialChar LaTeX
23235 o DocBook, el formato de salida XHTML en \SpecialChar LyX
23236 también se controla
23237 mediante la información contenida en archivos de formato.
23238 En general, \SpecialChar LyX
23239 provee valores predefinidos sensatos y, como se mencionó anteriorm
23240 ente, incluso construirá reglas de estilo CSS a partir de las otras etiquetas
23242 Por ejemplo, \SpecialChar LyX
23243 intentará usar la información proporcionada por la declaración
23245 \begin_inset Flex Code
23248 \begin_layout Plain Layout
23254 para el estilo Chapter para escribir CSS que formateará adecuadamente los
23255 encabezados de capítulo.
23258 \begin_layout Standard
23259 En muchos casos, por tanto, no tendrás que hacer nada para obtener una aceptable
23260 salida XHTML para tus propios entornos, recuadros personalizados y cosas
23262 Pero en ciertos casos querrás hacer cambios, y para eso \SpecialChar LyX
23264 número de etiquetas de formato que se pueden usar para personalizar los
23265 XHTML y CSS generados.
23268 \begin_layout Standard
23269 Advertimos que hay dos etiquetas,
23270 \begin_inset Flex Code
23273 \begin_layout Plain Layout
23280 \begin_inset Flex Code
23283 \begin_layout Plain Layout
23289 que pueden aparecer fuera de las declaraciones de estilos y recuadros.
23291 \begin_inset CommandInset ref
23293 reference "subsec:Parámetros-generales-clases"
23297 para detalles sobre esto.
23300 \begin_layout Subsection
23302 \begin_inset CommandInset label
23304 name "subsec:Estilos-de-párrafo-XHTML"
23311 \begin_layout Standard
23312 El tipo de XHTML que genera \SpecialChar LyX
23313 para un párrafo depende de si se trata de un
23314 párrafo normal, de un comando o de un entorno, en los que esto se determina
23315 por el contenido de la correspondiente etiqueta
23316 \begin_inset Flex Code
23319 \begin_layout Plain Layout
23330 \begin_layout Standard
23331 Para un comando o párrafo, la salida XHTML tiene la forma siguiente:
23334 \begin_layout LyX-Code
23338 \begin_inset Quotes erd
23342 \begin_inset Quotes erd
23348 \begin_layout LyX-Code
23352 \begin_inset Quotes erd
23356 \begin_inset Quotes erd
23362 \begin_layout LyX-Code
23365 Contents of the paragraph.
23368 \begin_layout LyX-Code
23374 \begin_layout Standard
23375 Por supuesto, `label tags´ se omiten si el párrafo no tiene etiqueta.
23378 \begin_layout Standard
23379 Para un entorno que no sea algún tipo de lista, XHTML toma la forma:
23382 \begin_layout LyX-Code
23386 \begin_inset Quotes erd
23390 \begin_inset Quotes erd
23396 \begin_layout LyX-Code
23400 \begin_inset Quotes erd
23404 \begin_inset Quotes erd
23408 \begin_inset Quotes erd
23412 \begin_inset Quotes erd
23415 >Environment Label</labeltag>First paragraph.</itemtag>
23418 \begin_layout LyX-Code
23421 <itemtag>Second paragraph.</itemtag>
23424 \begin_layout LyX-Code
23430 \begin_layout Standard
23431 La etiqueta se genera solo para el primer párrafo, como debería ser, por
23432 ejemplo, para un teorema.
23436 \begin_layout Standard
23437 Para una lista disponemos de una de estas formas:
23440 \begin_layout LyX-Code
23444 \begin_inset Quotes erd
23448 \begin_inset Quotes erd
23454 \begin_layout LyX-Code
23458 \begin_inset Quotes erd
23462 \begin_inset Quotes erd
23466 \begin_inset Quotes erd
23470 \begin_inset Quotes erd
23473 >List Label</labeltag>First item.</itemtag>
23476 \begin_layout LyX-Code
23480 \begin_inset Quotes erd
23484 \begin_inset Quotes erd
23488 \begin_inset Quotes erd
23492 \begin_inset Quotes erd
23495 >List Label</labeltag>Second item.</itemtag>
23498 \begin_layout LyX-Code
23504 \begin_layout LyX-Code
23508 \begin_layout LyX-Code
23512 \begin_inset Quotes erd
23516 \begin_inset Quotes erd
23522 \begin_layout LyX-Code
23526 \begin_inset Quotes erd
23530 \begin_inset Quotes erd
23533 >List Label</labeltag><itemtag attr=
23534 \begin_inset Quotes erd
23538 \begin_inset Quotes erd
23541 >First item.</itemtag>
23544 \begin_layout LyX-Code
23548 \begin_inset Quotes erd
23552 \begin_inset Quotes erd
23555 >List Label</labeltag><itemtag attr=
23556 \begin_inset Quotes erd
23560 \begin_inset Quotes erd
23563 >Second item.</itemtag>
23566 \begin_layout LyX-Code
23572 \begin_layout Standard
23573 Observa los diferentes órdenes de
23574 \begin_inset Flex Code
23577 \begin_layout Plain Layout
23584 \begin_inset Flex Code
23587 \begin_layout Plain Layout
23594 El orden que obtenemos depende del ajuste de
23595 \begin_inset Flex Code
23598 \begin_layout Plain Layout
23605 \begin_inset Flex Code
23608 \begin_layout Plain Layout
23614 es falso (por omisión), se obtiene el primero de ellos, con la etiqueta
23615 dentro del ítem; si verdadero, se obtiene el segundo, con la etiqueta fuera
23619 \begin_layout Standard
23620 Las etiquetas específicas y la salida de los atributos para cada tipo de
23621 párrafo puede ser controlado por medio de las etiquetas de formato que
23623 Como mencionamos antes, sin embargo, \SpecialChar LyX
23624 usa predefinidos adecuados para muchos
23625 de estos valores, por lo que generalmente no necesitarás hacer nada para
23626 obtener una buena salida XHTML.
23627 Partiendo de las etiquetas ya disponibles puedes afinar las cosas a tu
23631 \begin_layout Description
23632 \begin_inset Flex Code
23635 \begin_layout Plain Layout
23642 \begin_inset Flex Code
23645 \begin_layout Plain Layout
23651 ] Especifica información de los atributos a entregar con la etiqueta principal.
23653 \begin_inset Quotes eld
23657 \begin_inset Flex Code
23660 \begin_layout Plain Layout
23667 \begin_inset Quotes erd
23671 Por omisión, \SpecialChar LyX
23673 \begin_inset Quotes eld
23677 \begin_inset Flex Code
23680 \begin_layout Plain Layout
23687 \begin_inset Quotes erd
23691 \begin_inset Flex Code
23694 \begin_layout Plain Layout
23700 es el nombre del formato en \SpecialChar LyX
23701 , en minúsculas, por ejemplo: chapter.
23706 debería contener ninguna información de estilo.
23708 \begin_inset Flex Code
23711 \begin_layout Plain Layout
23717 para ese propósito.
23720 \begin_layout Description
23721 \begin_inset Flex Code
23724 \begin_layout Plain Layout
23731 \begin_inset Flex Code
23734 \begin_layout Plain Layout
23743 \begin_inset space \thinspace{}
23747 \begin_inset Flex Code
23750 \begin_layout Plain Layout
23756 ] Si producir la información CSS predeterminada que \SpecialChar LyX
23757 genera para este formato,
23758 incluso si se proporciona explícitamente información adicional mediante
23760 \begin_inset Flex Code
23763 \begin_layout Plain Layout
23771 \begin_inset Flex Code
23774 \begin_layout Plain Layout
23780 permite alterar o aumentar el CSS generado, no sobrescribirlo totalmente.
23782 \begin_inset Flex Code
23785 \begin_layout Plain Layout
23794 \begin_layout Description
23795 \begin_inset Flex Code
23798 \begin_layout Plain Layout
23805 \begin_inset Flex Code
23808 \begin_layout Plain Layout
23814 ] Etiqueta a usar para párrafos individuales de entornos, reemplazando
23815 \begin_inset Flex Code
23818 \begin_layout Plain Layout
23824 en los ejemplos de arriba.
23826 \begin_inset Flex Code
23829 \begin_layout Plain Layout
23838 \begin_layout Description
23839 \begin_inset Flex Code
23842 \begin_layout Plain Layout
23849 \begin_inset Flex Code
23852 \begin_layout Plain Layout
23858 ] Atributos para la etiqueta ítem.
23860 \begin_inset Newline newline
23864 \begin_inset Quotes eld
23868 \begin_inset Flex Code
23871 \begin_layout Plain Layout
23872 class=`layoutname_item'
23878 \begin_inset Quotes erd
23886 debería contener ninguna información de estilo.
23888 \begin_inset Flex Code
23891 \begin_layout Plain Layout
23897 para ese propósito.
23900 \begin_layout Description
23901 \begin_inset Flex Code
23904 \begin_layout Plain Layout
23911 \begin_inset Flex Code
23914 \begin_layout Plain Layout
23920 ] Etiqueta a usar para rótulos de párrafos e ítems, reemplazando
23921 \begin_inset Flex Code
23924 \begin_layout Plain Layout
23930 en los ejemplos de arriba.
23932 \begin_inset Flex Code
23935 \begin_layout Plain Layout
23942 \begin_inset Flex Code
23945 \begin_layout Plain Layout
23952 \begin_inset Flex Code
23955 \begin_layout Plain Layout
23962 \begin_inset Flex Code
23965 \begin_layout Plain Layout
23966 Centered_Top_Environment
23971 , en cuyos casos es
23972 \begin_inset Flex Code
23975 \begin_layout Plain Layout
23984 \begin_layout Description
23985 \begin_inset Flex Code
23988 \begin_layout Plain Layout
23995 \begin_inset Flex Code
23998 \begin_layout Plain Layout
24004 ] Atributos para la etiqueta del rótulo.
24006 \begin_inset Newline newline
24010 \begin_inset Quotes eld
24014 \begin_inset Flex Code
24017 \begin_layout Plain Layout
24018 class=`layoutname_label'
24024 \begin_inset Quotes erd
24032 debería contener ninguna información de estilo.
24034 \begin_inset Flex Code
24037 \begin_layout Plain Layout
24043 para ese propósito.
24046 \begin_layout Description
24047 \begin_inset Flex Code
24050 \begin_layout Plain Layout
24057 \begin_inset Flex Code
24060 \begin_layout Plain Layout
24069 \begin_inset space \thinspace{}
24073 \begin_inset Flex Code
24076 \begin_layout Plain Layout
24082 ] Solo es significativo para entornos tipo lista, esta etiqueta controla
24083 si la etiqueta de rótulo se genera antes o dentro de la etiqueta de ítem.
24084 Se usa, por ejemplo, en el entorno descripción, donde queremos `
24085 \begin_inset Flex Code
24088 \begin_layout Plain Layout
24089 <dt>\SpecialChar ldots
24090 </dt><dd>\SpecialChar ldots
24098 \begin_inset Flex Code
24101 \begin_layout Plain Layout
24107 : la etiqueta de rótulo se genera dentro de la etiqueta de ítem.
24110 \begin_layout Description
24111 \begin_inset Flex Code
24114 \begin_layout Plain Layout
24120 Información para generar en la sección
24121 \begin_inset Flex Code
24124 \begin_layout Plain Layout
24130 cuando se usa este estilo.
24131 Esto podría, por ejemplo, utilizarse para incluir un bloque
24132 \begin_inset Flex Code
24135 \begin_layout Plain Layout
24141 definiendo un controlador
24142 \begin_inset Flex Code
24145 \begin_layout Plain Layout
24154 \begin_layout Description
24155 \begin_inset Flex Code
24158 \begin_layout Plain Layout
24164 Información de estilo CSS a incluir cuando se usa este estilo.
24165 Advertimos que esto será automáticamente envuelto en un bloque
24166 \begin_inset Flex Code
24169 \begin_layout Plain Layout
24175 generado por el formato, por tanto solo es necesario incluir el propio
24178 \begin_inset Flex Code
24181 \begin_layout Plain Layout
24190 \begin_layout Description
24191 \begin_inset Flex Code
24194 \begin_layout Plain Layout
24201 \begin_inset Flex Code
24204 \begin_layout Plain Layout
24210 ] Etiqueta para el rótulo principal, reemplazando
24211 \begin_inset Flex Code
24214 \begin_layout Plain Layout
24220 en losejemplos de arriba.
24222 \begin_inset Flex Code
24225 \begin_layout Plain Layout
24234 \begin_layout Description
24235 \begin_inset Flex Code
24238 \begin_layout Plain Layout
24245 \begin_inset Flex Code
24248 \begin_layout Plain Layout
24257 \begin_inset space \thinspace{}
24261 \begin_inset Flex Code
24264 \begin_layout Plain Layout
24270 ] Marca este estilo como el que se va a usar para generar la etiqueta
24271 \begin_inset Flex Code
24274 \begin_layout Plain Layout
24280 para el archivo XHTML.
24281 Por omisión, es falso.
24283 \begin_inset Flex Code
24286 \begin_layout Plain Layout
24292 lo establece verdadero para el entorno
24293 \begin_inset Flex Code
24296 \begin_layout Plain Layout
24306 \begin_layout Subsection
24310 \begin_layout Standard
24311 La salida XHTML de los recuadros también se puede controlar por información
24312 en archivos 'layout'.
24316 \begin_layout Plain Layout
24317 Por ahora, esto solo es cierto para recuadros de
24318 \begin_inset Quotes eld
24322 \begin_inset Quotes erd
24325 (recuadros en los que puedes escribir) y no para recuadros de
24326 \begin_inset Quotes eld
24330 \begin_inset Quotes erd
24333 (recuadros asociados con cuadros de diálogo).
24338 También en este caso, \SpecialChar LyX
24339 intenta proporcionar valores predefinidos adecuados,
24340 y construye reglas de estilo CSS, pero todo puede personalizarse.
24343 \begin_layout Standard
24344 Para los recuadros, \SpecialChar LyX
24345 produce XHTML en la forma:
24348 \begin_layout LyX-Code
24350 \begin_inset Quotes erd
24354 \begin_inset Quotes erd
24360 \begin_layout LyX-Code
24361 <labeltag>Label</labeltag>
24364 \begin_layout LyX-Code
24366 \begin_inset Quotes erd
24370 \begin_inset Quotes erd
24373 >Contents of the inset.</innertag>
24376 \begin_layout LyX-Code
24380 \begin_layout Standard
24381 Si el recuadro permite párrafos múltiples —o sea, si
24382 \begin_inset Flex Code
24385 \begin_layout Plain Layout
24391 es verdadero— el contenido del recuadro se generará en forma de párrafos
24392 estructurados según los estilos usados para dichos párrafos (normal, cita,
24394 El rótulo de la etiqueta se omite si el párrafo no lo tiene y, por el momento,
24396 \begin_inset Flex Code
24399 \begin_layout Plain Layout
24406 La etiqueta interior es opcional y, por omisión, no aparece.
24409 \begin_layout Standard
24410 Las etiquetas y atributos específicos para cada recuadro se pueden controlar
24411 mediante las siguientes etiquetas de formato.
24414 \begin_layout Description
24415 \begin_inset Flex Code
24418 \begin_layout Plain Layout
24425 \begin_inset Flex Code
24428 \begin_layout Plain Layout
24434 ] Especifica información de atributos a generar con la etiqueta principal.
24436 \begin_inset Quotes eld
24440 \begin_inset Flex Code
24443 \begin_layout Plain Layout
24444 class=`myinset' onclick=`\SpecialChar ldots
24451 \begin_inset Quotes erd
24455 Por omisión, \SpecialChar LyX
24457 \begin_inset Quotes eld
24461 \begin_inset Flex Code
24464 \begin_layout Plain Layout
24471 \begin_inset Quotes erd
24475 \begin_inset Flex Code
24478 \begin_layout Plain Layout
24484 es el nombre del recuadro en \SpecialChar LyX
24485 , en minúsculas y con los caracteres no alfanuméri
24486 cos convertidos en guiones bajos, por ejemplo: footnote.
24489 \begin_layout Description
24490 \begin_inset Flex Code
24493 \begin_layout Plain Layout
24500 \begin_inset Flex Code
24503 \begin_layout Plain Layout
24512 \begin_inset space \thinspace{}
24516 \begin_inset Flex Code
24519 \begin_layout Plain Layout
24525 ] Si producir la información CSS predeterminadad que \SpecialChar LyX
24526 genera para este formato,
24527 incluso si se da explícitamente información adicional con
24528 \begin_inset Flex Code
24531 \begin_layout Plain Layout
24539 \begin_inset Flex Code
24542 \begin_layout Plain Layout
24548 parmite alterar o aumentar el CSS generado, en vez de sobrescribirlo.
24552 \begin_layout Description
24553 \begin_inset Flex Code
24556 \begin_layout Plain Layout
24563 \begin_inset Flex Code
24566 \begin_layout Plain Layout
24572 ] Atributos para la etiqueta interna.
24574 \begin_inset Newline newline
24578 \begin_inset Quotes eld
24582 \begin_inset Flex Code
24585 \begin_layout Plain Layout
24586 class=`insetname_inner'
24592 \begin_inset Quotes erd
24598 \begin_layout Description
24599 \begin_inset Flex Code
24602 \begin_layout Plain Layout
24609 \begin_inset Flex Code
24612 \begin_layout Plain Layout
24618 ] La etiqueta interna, reemplazando
24619 \begin_inset Flex Code
24622 \begin_layout Plain Layout
24628 en los ejemplos de arriba.
24629 Por omisión, ninguna.
24632 \begin_layout Description
24633 \begin_inset Flex Code
24636 \begin_layout Plain Layout
24643 \begin_inset Flex Code
24646 \begin_layout Plain Layout
24653 \begin_inset space \thinspace{}
24657 \begin_inset Flex Code
24660 \begin_layout Plain Layout
24668 ] Si este recuadro representa un bloque de texto independiente (como una
24669 nota al pie) o bien representa material que está incluido en el texto circundan
24670 te (como una rama).
24674 \begin_layout Description
24675 \begin_inset Flex Code
24678 \begin_layout Plain Layout
24685 \begin_inset Flex Code
24688 \begin_layout Plain Layout
24694 ] Un rótulo para este recuadro, posiblemente incluyendo una referencia a
24696 Por ejemplo, para notas al pie, podría ser:
24697 \begin_inset Flex Code
24700 \begin_layout Plain Layout
24709 Esto es opcional y no hay valor predeterminado.
24712 \begin_layout Description
24713 \begin_inset Flex Code
24716 \begin_layout Plain Layout
24722 Información que saldrá en la sección
24723 \begin_inset Flex Code
24726 \begin_layout Plain Layout
24732 cuando se usa este estilo.
24733 Esto podría usarse, por ejemplo, para incluir un bloque
24734 \begin_inset Flex Code
24737 \begin_layout Plain Layout
24743 que defina un controlador
24744 \begin_inset Flex Code
24747 \begin_layout Plain Layout
24756 \begin_layout Description
24757 \begin_inset Flex Code
24760 \begin_layout Plain Layout
24766 Información de estilo CSS a incluir cuando se usa este estilo.
24767 Esto será automáticamente envuelto en un bloque
24768 \begin_inset Flex Code
24771 \begin_layout Plain Layout
24777 generado por el formato, por lo que solo hay que incluir el propio CSS.
24780 \begin_layout Description
24781 \begin_inset Flex Code
24784 \begin_layout Plain Layout
24791 \begin_inset Flex Code
24794 \begin_layout Plain Layout
24800 ] La etiqueta a usar para el rótulo principal, reemplazando
24801 \begin_inset Flex Code
24804 \begin_layout Plain Layout
24810 en los ejemplos de arriba.
24811 El valor por omisión depende de
24812 \begin_inset Flex Code
24815 \begin_layout Plain Layout
24822 \begin_inset Flex Code
24825 \begin_layout Plain Layout
24832 \begin_inset Flex Code
24835 \begin_layout Plain Layout
24841 ; si es falso, el valor por omisión es
24842 \begin_inset Flex Code
24845 \begin_layout Plain Layout
24854 \begin_layout Subsection
24858 \begin_layout Standard
24859 La salida XHTML para flotantes también se puede controlar mediante información
24860 en archivos 'layout'.
24861 La salida tiene la forma:
24864 \begin_layout LyX-Code
24866 \begin_inset Quotes erd
24870 \begin_inset Quotes erd
24876 \begin_layout LyX-Code
24877 Contents of the float.
24880 \begin_layout LyX-Code
24884 \begin_layout Standard
24885 La leyenda, si la hay, es un recuadro separado y se generará como tal.
24886 Su aspecto puede controlarse con InsetLayout para recuadros de leyendas.
24890 \begin_layout Description
24891 \begin_inset Flex Code
24894 \begin_layout Plain Layout
24901 \begin_inset Flex Code
24904 \begin_layout Plain Layout
24910 ] Especifica información de los atributos a generar con la etiqueta principal,
24912 \begin_inset Quotes eld
24916 \begin_inset Flex Code
24919 \begin_layout Plain Layout
24920 class=`myfloat' onclick=`\SpecialChar ldots
24927 \begin_inset Quotes erd
24931 Por omisión, \SpecialChar LyX
24933 \begin_inset Quotes eld
24937 \begin_inset Flex Code
24940 \begin_layout Plain Layout
24941 class=`float float-floattype'
24947 \begin_inset Quotes erd
24951 \begin_inset Flex Code
24954 \begin_layout Plain Layout
24960 es el nombre en \SpecialChar LyX
24961 para este tipo de flotante, como determina la declaración
24963 \begin_inset CommandInset ref
24965 reference "subsec:Flotantes"
24969 ), aunque en minúsculas y con los caracteres no alfanuméricos sustituidos
24970 por guiones bajos, por ejemplo: float-table.
24973 \begin_layout Description
24974 \begin_inset Flex Code
24977 \begin_layout Plain Layout
24983 Información de estilo CSS a incluir cuando se usa este flotante.
24984 Esto será automáticamente envuelto en un bloque
24985 \begin_inset Flex Code
24988 \begin_layout Plain Layout
24994 generado por el formato, por lo que solo hay que incluir el propio CSS.
24997 \begin_layout Description
24998 \begin_inset Flex Code
25001 \begin_layout Plain Layout
25008 \begin_inset Flex Code
25011 \begin_layout Plain Layout
25017 ] La etiqueta a usar para este flotante, reemplazando "
25018 \begin_inset Flex Code
25021 \begin_layout Plain Layout
25027 " en el ejemplo de arriba.
25028 El valor por omisión es
25029 \begin_inset Flex Code
25032 \begin_layout Plain Layout
25038 y raramente habrá que cambiarlo.
25041 \begin_layout Subsection
25042 Formato de la Bibliografía
25045 \begin_layout Standard
25046 La bibliografía se puede formatear usando bloques
25047 \begin_inset Flex Code
25050 \begin_layout Plain Layout
25058 \begin_inset CommandInset ref
25060 reference "subsec:Descripción-formato-cita"
25067 \begin_layout Subsection
25068 CSS generado por \SpecialChar LyX
25072 \begin_layout Standard
25073 Hemos mencionado ya que \SpecialChar LyX
25074 generará reglas de estilo CSS predeterminadas para
25075 recuadros y estilos de párrafo, basados en la información suministrada
25076 para otros formatos.
25077 En esta sección comentaremos qué información usa \SpecialChar LyX
25081 \begin_layout Standard
25082 Actualmente, \SpecialChar LyX
25083 auto-genera CSS solo para información sobre tipografías, haciendo
25085 \begin_inset Flex Code
25088 \begin_layout Plain Layout
25095 \begin_inset Flex Code
25098 \begin_layout Plain Layout
25105 \begin_inset Flex Code
25108 \begin_layout Plain Layout
25115 \begin_inset Flex Code
25118 \begin_layout Plain Layout
25124 especificados en la declaración
25125 \begin_inset Flex Code
25128 \begin_layout Plain Layout
25136 \begin_inset CommandInset ref
25138 reference "subsec:Tipografía"
25142 .) La traducción es bastante sencilla y evidente.
25144 \begin_inset Quotes eld
25148 \begin_inset Flex Code
25151 \begin_layout Plain Layout
25158 \begin_inset Quotes erd
25162 \begin_inset Quotes eld
25166 \begin_inset Flex Code
25169 \begin_layout Plain Layout
25170 font-family: sans-serif;
25176 \begin_inset Quotes erd
25180 La correspondencia entre tamaños \SpecialChar LyX
25181 y tamaños CSS es un poco menos obvia,
25182 pero intuitiva en todo caso.
25184 \begin_inset Flex Code
25187 \begin_layout Plain Layout
25194 \begin_inset Flex URL
25197 \begin_layout Plain Layout
25208 \begin_layout Chapter
25209 Inserción de material externo
25210 \begin_inset CommandInset label
25212 name "cap:Inserción-de-material"
25219 \begin_layout Standard
25220 \begin_inset Box Shadowbox
25230 height_special "totalheight"
25235 backgroundcolor "none"
25238 \begin_layout Plain Layout
25239 AVISO: Esta parte de la documentación no ha sido actualizada desde hace
25241 Esperamos que aún sea adecuada, pero no hay garantías.
25249 \begin_layout Standard
25250 El uso de material de procedencia externa a \SpecialChar LyX
25251 se trata con detalle en el
25257 En el presente documento se trata sobre lo que debe suceder entre bambalinas
25258 para incluir nuevas clases de material.
25261 \begin_layout Section
25265 \begin_layout Standard
25266 La característica material externo se basa en el concepto
25271 Una plantilla es una especificación de la forma en que \SpecialChar LyX
25273 ciertos tipos de material.
25274 De por sí, \SpecialChar LyX
25275 incluye plantillas predefinidas para figuras Xfig, varios tipos
25276 de imágenes raster, diagramas de ajedrez y notación musical LilyPond.
25277 Puedes comprobar la lista actual en el menú
25278 \begin_inset Flex Noun
25281 \begin_layout Plain Layout
25282 Insertar\SpecialChar menuseparator
25283 Archivo\SpecialChar menuseparator
25290 Además, es posible construir plantillas propias para soportar determinado
25292 Más tarde describiremos con más detalle lo que esto implica, y esperamos
25293 que nos envíes tus plantillas para que se puedan incluir en próximas versiones
25294 de \SpecialChar LyX
25298 \begin_layout Standard
25299 Otra idea básica de la característica material externo es distinguir entre
25300 el archivo original que sirve como base para el material final y el archivo
25301 generado que se incluye en el documento impreso o exportado.
25302 Por ejemplo, consideremos el caso de una figura hecha con
25303 \begin_inset Flex Code
25306 \begin_layout Plain Layout
25313 El programa Xfig en sí mismo trabaja sobre un archivo original con extensión
25315 \begin_inset Flex Code
25318 \begin_layout Plain Layout
25325 Dentro de Xfig, se crea o modifica una figura y se guarda como un archivo
25327 \begin_inset Flex Code
25330 \begin_layout Plain Layout
25337 Para incluir la figura en un documento, se ejecuta
25338 \begin_inset Flex Code
25341 \begin_layout Plain Layout
25347 con el fin de crear un archivo PostScript que puede incluirse fácilmente
25348 en el archivo \SpecialChar LaTeX
25350 En este caso, el archivo
25351 \begin_inset Flex Code
25354 \begin_layout Plain Layout
25360 es el original, y el archivo PostScript es el archivo generado.
25363 \begin_layout Standard
25364 Esta distinción es importante para permitir la actualización del material
25365 durante el proceso de escritura del documento.
25366 Además, provee la flexibilidad necesaria para soportar múltiples formatos
25368 Por ejemplo, en el caso de un archivo de texto sencillo, no es una brillante
25369 idea incluir la figura como PostScript puro.
25370 En vez de esto, es preferible incluir solo una referencia a la figura o
25371 bien probar algún convertidor de gráficos a Ascii para que el resultado
25372 final se parezca al gráfico real.
25373 La gestión de material externo de \SpecialChar LyX
25374 permite hacer esto porque se basa en
25375 parámetros apropiados para los diferentes formatos de exportación soportados.
25378 \begin_layout Standard
25379 Además de soportar la generación de diferentes productos de acuerdo con
25380 el formato de exportación, existe una profunda integración con las aplicaciones
25381 de edición y visualización.
25382 En el caso de figuras Xfig, es posible editar el archivo original en Xfig
25383 con un simple clic derecho sobre el recuadro y también previsualizar el
25384 PostScript generado con ghostview.
25385 Se acabaron los enredos con la línea de comandos y/o el navegador de archivos
25386 para localizar y manipular los archivos originales o los generados.
25387 De esta manera, se pueden por fin aprovechar las ventajas de muy diversas
25388 aplicaciones importantes para la composición de los documentos, y por tanto
25389 aumentar el rendimiento.
25392 \begin_layout Section
25393 El archivo de configuración de plantillas externas
25396 \begin_layout Standard
25397 Es relativamente fácil añadir en \SpecialChar LyX
25398 definiciones personalizadas de plantillas
25400 Sin embargo, hay que ser consciente de que hacer esto de manera descuidada
25401 generará muy probablemente un agujero de seguridad fácil de explotar.
25402 Así pues, antes de hacer esto, lee por favor la discusión sobre seguridad
25404 \begin_inset CommandInset ref
25406 reference "sec:Discusión-sobre-seguridad"
25413 \begin_layout Standard
25414 Una vez dicho esto, te animamos a que envíes cualquiera plantilla interesante
25418 \begin_layout Standard
25419 Las plantillas externas se definen en el archivo
25422 \begin_inset Flex Code
25425 \begin_layout Plain Layout
25433 files that are stored in the
25434 \begin_inset Flex Code
25437 \begin_layout Plain Layout
25440 LyXDir/lib/xtemplates/
25446 Each template is defined in a file of its own.
25457 \begin_inset Flex Code
25460 \begin_layout Plain Layout
25463 UserDir/xtemplates/
25468 or copy existing templates to that directory in order to modify them.
25474 \begin_layout Standard
25475 Una plantilla típica tiene un aspecto como este:
25478 \begin_layout LyX-Code
25482 \begin_layout LyX-Code
25483 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
25486 \begin_layout LyX-Code
25490 \begin_layout LyX-Code
25494 \begin_layout LyX-Code
25498 \begin_layout LyX-Code
25502 \begin_layout LyX-Code
25506 \begin_layout LyX-Code
25507 AutomaticProduction true
25510 \begin_layout LyX-Code
25514 \begin_layout LyX-Code
25518 \begin_layout LyX-Code
25522 \begin_layout LyX-Code
25523 TransformCommand Rotate RotationLatexCommand
25526 \begin_layout LyX-Code
25527 TransformCommand Resize ResizeLatexCommand
25530 \begin_layout LyX-Code
25531 Product "$$RotateFront$$ResizeFront
25534 \begin_layout LyX-Code
25539 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
25542 \begin_layout LyX-Code
25543 $$ResizeBack$$RotateBack"
25546 \begin_layout LyX-Code
25550 \begin_layout LyX-Code
25551 UpdateResult "$$AbsPath$$Basename.pstex_t"
25554 \begin_layout LyX-Code
25555 Requirement "graphicx"
25558 \begin_layout LyX-Code
25559 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
25562 \begin_layout LyX-Code
25563 ReferencedFile latex "$$AbsPath$$Basename.eps"
25566 \begin_layout LyX-Code
25567 ReferencedFile dvi "$$AbsPath$$Basename.eps"
25570 \begin_layout LyX-Code
25574 \begin_layout LyX-Code
25578 \begin_layout LyX-Code
25579 TransformCommand Rotate RotationLatexCommand
25582 \begin_layout LyX-Code
25583 TransformCommand Resize ResizeLatexCommand
25586 \begin_layout LyX-Code
25587 Product "$$RotateFront$$ResizeFront
25590 \begin_layout LyX-Code
25595 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
25598 \begin_layout LyX-Code
25599 $$ResizeBack$$RotateBack"
25602 \begin_layout LyX-Code
25603 UpdateFormat pdftex
25606 \begin_layout LyX-Code
25607 UpdateResult "$$AbsPath$$Basename.pdftex_t"
25610 \begin_layout LyX-Code
25611 Requirement "graphicx"
25614 \begin_layout LyX-Code
25615 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
25618 \begin_layout LyX-Code
25619 ReferencedFile latex "$$AbsPath$$Basename.pdf"
25622 \begin_layout LyX-Code
25626 \begin_layout LyX-Code
25630 \begin_layout LyX-Code
25631 Product "$$Contents(
25633 "$$AbsPath$$Basename.asc
25638 \begin_layout LyX-Code
25639 UpdateFormat asciixfig
25642 \begin_layout LyX-Code
25643 UpdateResult "$$AbsPath$$Basename.asc"
25646 \begin_layout LyX-Code
25650 \begin_layout LyX-Code
25654 \begin_layout LyX-Code
25655 Product "<graphic fileref=
25657 "$$AbsOrRelPathMaster$$Basename.eps
25662 \begin_layout LyX-Code
25666 \begin_layout LyX-Code
25670 \begin_layout LyX-Code
25671 UpdateResult "$$AbsPath$$Basename.eps"
25674 \begin_layout LyX-Code
25675 ReferencedFile docbook "$$AbsPath$$Basename.eps"
25678 \begin_layout LyX-Code
25679 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
25682 \begin_layout LyX-Code
25686 \begin_layout LyX-Code
25687 Product "[XFig: $$FName]"
25690 \begin_layout LyX-Code
25694 \begin_layout LyX-Code
25698 \begin_layout Standard
25699 Como puedes ver, la plantilla se incluye entre
25700 \begin_inset Flex Code
25703 \begin_layout Plain Layout
25711 \begin_inset Flex Code
25714 \begin_layout Plain Layout
25721 Contiene una cabecera que especifica algunas configuraciones generales
25722 y, por cada formato de archivo de documento primario soportado, una sección
25724 \begin_inset Flex Code
25727 \begin_layout Plain Layout
25735 \begin_inset Flex Code
25738 \begin_layout Plain Layout
25747 \begin_layout Subsection
25748 La cabecera de la plantilla
25751 \begin_layout Description
25752 \begin_inset Flex Code
25755 \begin_layout Plain Layout
25756 AutomaticProduction
25757 \begin_inset space ~
25765 Si el archivo representado por la plantilla debe ser generado por \SpecialChar LyX
25767 Este comando debe aparecer exactamente una vez.
25770 \begin_layout Description
25771 \begin_inset Flex Code
25774 \begin_layout Plain Layout
25776 \begin_inset space ~
25784 Un patrón global que se usa en el diálogo del archivo para filtrar los
25786 Si hay más de una posible extensión de archivo (p.
25787 \begin_inset space \thinspace{}
25791 \begin_inset space ~
25795 \begin_inset Flex Code
25798 \begin_layout Plain Layout
25805 \begin_inset Flex Code
25808 \begin_layout Plain Layout
25814 ), se pone algo como
25815 \begin_inset Flex Code
25818 \begin_layout Plain Layout
25825 Este comando debe aparecer exactamente una vez.
25828 \begin_layout Description
25829 \begin_inset Flex Code
25832 \begin_layout Plain Layout
25834 \begin_inset space ~
25842 El texto mostrado sobre el botón.
25843 Este comando debe aparecer exactamente una vez.
25846 \begin_layout Description
25847 \begin_inset Flex Code
25850 \begin_layout Plain Layout
25852 \begin_inset space ~
25856 \begin_inset space ~
25864 El texto de ayuda que se muestra en diálogo.
25865 Da suficiente información sobre lo que puede proporcionar la plantilla.
25866 Este comando debe aparecer exactamente una vez.
25869 \begin_layout Description
25870 \begin_inset Flex Code
25873 \begin_layout Plain Layout
25875 \begin_inset space ~
25883 El formato de archivo del original.
25884 Debe ser el nombre de un formato conocido por \SpecialChar LyX
25886 \begin_inset CommandInset ref
25888 reference "sec:Formatos"
25894 \begin_inset Quotes cld
25898 \begin_inset Flex Code
25901 \begin_layout Plain Layout
25908 \begin_inset Quotes crd
25911 si la plantilla puede manejar archivos originales o más de un formato.
25912 En este caso, \SpecialChar LyX
25913 intentará inspeccionar el archivo mismo para deducir su
25915 Este comando debe aparecer exactamente una vez.
25918 \begin_layout Description
25919 \begin_inset Flex Code
25922 \begin_layout Plain Layout
25924 \begin_inset space ~
25932 Un nombre único para la plantilla.
25933 No debe contener macros de sustitución (véase abajo).
25936 \begin_layout Description
25937 \begin_inset Flex Code
25940 \begin_layout Plain Layout
25942 \begin_inset space ~
25945 Rotate|Resize|Clip|Extra
25950 Este comando especifica qué transformaciones son soportadas por esta plantilla.
25951 Puede aparecer ninguna o varias veces.
25952 Este comando facilita las correspondientes pestañas en el diálogo de material
25955 \begin_inset Flex Code
25958 \begin_layout Plain Layout
25964 debe tener el correspondiente
25965 \begin_inset Flex Code
25968 \begin_layout Plain Layout
25975 \begin_inset Flex Code
25978 \begin_layout Plain Layout
25985 \begin_inset Flex Code
25988 \begin_layout Plain Layout
25995 De lo contrario la transformación no será soportada por ese formato.
25999 \begin_layout Subsection
26003 \begin_layout Description
26004 \begin_inset Flex Code
26007 \begin_layout Plain Layout
26009 \begin_inset space ~
26012 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
26017 El formato de archivo del documento primario para el que es esta definición
26019 No toda plantilla tiene una representación sensible en los formatos de
26020 archivo de todos los documentos.
26021 No obstante, es preferible definir una sección
26022 \begin_inset Flex Code
26025 \begin_layout Plain Layout
26031 para todos los formatos.
26032 Se usa un texto postizo si no hay representación disponible.
26033 Entonces, al menos, se puede ver una referencia al material externo en
26034 el documento exportado.
26037 \begin_layout Description
26038 \begin_inset Flex Code
26041 \begin_layout Plain Layout
26043 \begin_inset space ~
26047 \begin_inset space ~
26055 Este comando define una macro adicional,
26056 \begin_inset Flex Code
26059 \begin_layout Plain Layout
26065 , para sustitución en
26066 \begin_inset Flex Code
26069 \begin_layout Plain Layout
26077 \begin_inset Flex Code
26080 \begin_layout Plain Layout
26086 puede contener en sí mismo macros de sustitución.
26087 La ventaja sobre el uso de
26088 \begin_inset Flex Code
26091 \begin_layout Plain Layout
26098 \begin_inset Flex Code
26101 \begin_layout Plain Layout
26107 es que el valor sustituido de
26108 \begin_inset Flex Code
26111 \begin_layout Plain Layout
26117 está saneado así que es un argumento opcional válido en el formato del
26119 Este comando puede aparecer ninguna o más veces.
26122 \begin_layout Description
26123 \begin_inset Flex Code
26126 \begin_layout Plain Layout
26128 \begin_inset space ~
26136 El texto que se inserta en el documento exportado.
26137 Realmente este es el comando más importante y puede ser bastante complejo.
26138 Este comando debe aparecer exactamente una vez.
26141 \begin_layout Description
26142 \begin_inset Flex Code
26145 \begin_layout Plain Layout
26147 \begin_inset space ~
26155 Este comando especifica un fragmento de preámbulo que se incluirá en el
26156 preámbulo \SpecialChar LaTeX
26158 Tiene que definirse usando
26159 \begin_inset Flex Code
26162 \begin_layout Plain Layout
26170 \begin_inset Flex Code
26173 \begin_layout Plain Layout
26180 Este comando puede aparecer ninguna o más veces.
26183 \begin_layout Description
26184 \begin_inset Flex Code
26187 \begin_layout Plain Layout
26189 \begin_inset space ~
26193 \begin_inset space ~
26201 Este comando indica los archivos que se crean por el proceso de conversión
26202 y que son necesarios para un formato de exportación particular.
26203 Si el nombre del archivo es relativo, se interpreta como relativo al documento
26205 Este comando puede darse ninguna o más veces.
26208 \begin_layout Description
26209 \begin_inset Flex Code
26212 \begin_layout Plain Layout
26214 \begin_inset space ~
26222 El nombre de un paquete \SpecialChar LaTeX
26224 El paquete se incuye mediante
26225 \begin_inset Flex Code
26228 \begin_layout Plain Layout
26236 en el preámbulo \SpecialChar LaTeX
26238 Este comando puede aparecer ninguna o más veces.
26241 \begin_layout Description
26242 \begin_inset Flex Code
26245 \begin_layout Plain Layout
26247 \begin_inset space ~
26251 \begin_inset space ~
26254 RotationLatexCommand
26259 Este comando especifica que el comando \SpecialChar LaTeX
26260 incluido debería usarse para la
26262 Este comando puede aparecer una vez o ninguna.
26265 \begin_layout Description
26266 \begin_inset Flex Code
26269 \begin_layout Plain Layout
26271 \begin_inset space ~
26275 \begin_inset space ~
26283 Este comando especifica que el comando \SpecialChar LaTeX
26284 incluido debería usarse para cambiar
26286 Este comando puede aparecer una vez o ninguna.
26289 \begin_layout Description
26290 \begin_inset Flex Code
26293 \begin_layout Plain Layout
26295 \begin_inset space ~
26299 \begin_inset space ~
26302 RotationLatexOption
26307 Este comando especifica que la rotación se hace mediante un argumento opcional.
26308 Este comando puede aparecer una vez o ninguna.
26311 \begin_layout Description
26312 \begin_inset Flex Code
26315 \begin_layout Plain Layout
26317 \begin_inset space ~
26321 \begin_inset space ~
26329 Este comando especifica que el cambio de tamaño se hace mediante un argumento
26331 Este comando puede aparecer una vez o ninguna
26334 \begin_layout Description
26335 \begin_inset Flex Code
26338 \begin_layout Plain Layout
26340 \begin_inset space ~
26344 \begin_inset space ~
26352 Este comando especifica que el recorte se hace mediante un argumento opcional.
26353 Este comando puede aparecer una vez o ninguna.
26356 \begin_layout Description
26357 \begin_inset Flex Code
26360 \begin_layout Plain Layout
26362 \begin_inset space ~
26366 \begin_inset space ~
26374 Este comando especifica que se usa un argumento extra opcional.
26375 Este comando puede aparecer una vez o ninguna.
26379 \begin_layout Description
26380 \begin_inset Flex Code
26383 \begin_layout Plain Layout
26385 \begin_inset space ~
26393 El formato de archivo del archivo convertido.
26394 Debe ser el nombre de un formato conocido por \SpecialChar LyX
26396 \begin_inset Flex Noun
26399 \begin_layout Plain Layout
26406 \begin_inset Flex Noun
26409 \begin_layout Plain Layout
26410 Gestión de archivos
26416 \begin_inset Flex Noun
26419 \begin_layout Plain Layout
26420 Herramientas\SpecialChar menuseparator
26427 Este comando debe aparecer exactamente una vez.
26428 Si el formato del archivo resultante es PDF, debes especificar el formato
26430 \begin_inset Flex Code
26433 \begin_layout Plain Layout
26440 Es el formato PDF usado para incluir gráficos.
26441 Los otros formatos PDF definidos son para exportación de documentos.
26444 \begin_layout Description
26445 \begin_inset Flex Code
26448 \begin_layout Plain Layout
26450 \begin_inset space ~
26458 El nombre de archivo del archivo convertido.
26459 El nombre de archivo debe ser absoluto.
26460 Este comando debe aparecer exactamente una vez.
26463 \begin_layout Subsection
26464 Definiciones de preámbulo
26467 \begin_layout Standard
26468 El archivo de configuración de plantillas externas puede contener definiciones
26469 de preámbulo adicionales encerradas entre
26470 \begin_inset Flex Code
26473 \begin_layout Plain Layout
26481 \begin_inset Flex Code
26484 \begin_layout Plain Layout
26491 Se pueden usar por las plantillas en la sección
26492 \begin_inset Flex Code
26495 \begin_layout Plain Layout
26504 \begin_layout Section
26505 El mecanismo de sustitución
26508 \begin_layout Standard
26509 Cuando la función de material externo recurre a un programa externo, se
26510 hace sobre la base de un comando definido en el archivo de configuración
26512 Estos comandos pueden contener varias macros que se expanden antes de su
26514 La ejecución tiene lugar siempre en el directorio del documento.
26518 \begin_layout Standard
26519 Además, cada vez que el material externo se va a mostrar, el nombre será
26520 generado por el mecanismo de sustitución, y la mayoría de los demás comandos
26521 en la definición de la plantilla soportan también sustitución.
26525 \begin_layout Standard
26526 Las macros disponibles son las siguientes:
26529 \begin_layout Description
26530 \begin_inset Flex Code
26533 \begin_layout Plain Layout
26534 $$AbsOrRelPathMaster
26539 La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
26543 \begin_layout Description
26544 \begin_inset Flex Code
26547 \begin_layout Plain Layout
26548 $$AbsOrRelPathParent
26553 La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
26557 \begin_layout Description
26558 \begin_inset Flex Code
26561 \begin_layout Plain Layout
26567 La ruta absoluta del archivo.
26570 \begin_layout Description
26571 \begin_inset Flex Code
26574 \begin_layout Plain Layout
26580 El nombre de archivo sin ruta y sin la extensión.
26583 \begin_layout Description
26584 \begin_inset Flex Code
26587 \begin_layout Plain Layout
26589 \begin_inset Quotes eld
26593 \begin_inset Quotes erd
26601 Esta macro expandirá los contenidos del archivo con el nombre
26602 \begin_inset Flex Code
26605 \begin_layout Plain Layout
26614 \begin_layout Description
26615 \begin_inset Flex Code
26618 \begin_layout Plain Layout
26624 La extensión de archivo (incluyendo el punto).
26627 \begin_layout Description
26628 \begin_inset Flex Code
26631 \begin_layout Plain Layout
26638 \begin_inset Quotes cld
26642 \begin_inset Quotes crd
26645 si el archivo está en formato JPEG, si no será
26646 \begin_inset Quotes eld
26650 \begin_inset Quotes erd
26654 Esto es útil para evitar conversiones innecesarias para formatos de salida
26655 que soporten tanto PNG como JPEG.
26656 La plantilla predefinida RasterImage usa esta macro para el formato de
26657 salida pdf\SpecialChar TeX
26661 \begin_layout Description
26662 \begin_inset Flex Code
26665 \begin_layout Plain Layout
26671 El nombre de archivo del archivo especificado en el diálogo de material
26673 Esto es bien un nombre absoluto, bien relativo al documento \SpecialChar LyX
26677 \begin_layout Description
26678 \begin_inset Flex Code
26681 \begin_layout Plain Layout
26687 La parte de la ruta de
26688 \begin_inset Flex Code
26691 \begin_layout Plain Layout
26697 (nombre absoluto o relativo al documento \SpecialChar LyX
26701 \begin_layout Description
26702 \begin_inset Flex Code
26705 \begin_layout Plain Layout
26711 La ruta del archivo, relativa al documento maestro \SpecialChar LyX
26715 \begin_layout Description
26716 \begin_inset Flex Code
26719 \begin_layout Plain Layout
26725 La ruta del archivo, relativa al documento \SpecialChar LyX
26729 \begin_layout Description
26730 \begin_inset Flex Code
26733 \begin_layout Plain Layout
26739 Esta macro expandirá a la ruta absoluta del directorio de sistema.
26740 Esto se usa habitualmente para apuntar a los varios guiones de ayuda que
26741 se empaquetan con \SpecialChar LyX
26745 \begin_layout Description
26746 \begin_inset Flex Code
26749 \begin_layout Plain Layout
26755 Un nombre y ruta completa a un directorio temporal que será borrado automáticam
26756 ente siempre que el documento se cierra, o se suprime la inserción de material
26760 \begin_layout Standard
26761 Todas las macros de ruta contienen un separador de rastreo del directorio,
26762 así se puede construir, p.
26763 \begin_inset space \thinspace{}
26766 e., el nombre de archivo absoluto con
26767 \begin_inset Flex Code
26770 \begin_layout Plain Layout
26771 $$AbsPath$$Basename$$Extension
26779 \begin_layout Standard
26780 Las macros anteriores son sustituidas en todos los comandos a menos que
26781 se indique lo contrario.
26783 \begin_inset Flex Code
26786 \begin_layout Plain Layout
26792 soporta adicionalmente las siguientes sustituciones si se habilitan por
26794 \begin_inset Flex Code
26797 \begin_layout Plain Layout
26804 \begin_inset Flex Code
26807 \begin_layout Plain Layout
26816 \begin_layout Description
26817 \begin_inset Flex Code
26820 \begin_layout Plain Layout
26826 La parte delantera del comando para cambiar el tamaño.
26829 \begin_layout Description
26830 \begin_inset Flex Code
26833 \begin_layout Plain Layout
26839 La parte trasera del comando para cambiar el tamaño.
26842 \begin_layout Description
26843 \begin_inset Flex Code
26846 \begin_layout Plain Layout
26852 La parte delantera del comando para la rotación.
26855 \begin_layout Description
26856 \begin_inset Flex Code
26859 \begin_layout Plain Layout
26865 La parte trasera del comando para la rotación.
26868 \begin_layout Standard
26869 La cadena de valor del comando
26870 \begin_inset Flex Code
26873 \begin_layout Plain Layout
26879 soporta adicionalmente las siguientes sustituciones si éstas se han habilitado
26881 \begin_inset Flex Code
26884 \begin_layout Plain Layout
26891 \begin_inset Flex Code
26894 \begin_layout Plain Layout
26903 \begin_layout Description
26904 \begin_inset Flex Code
26907 \begin_layout Plain Layout
26916 \begin_layout Description
26917 \begin_inset Flex Code
26920 \begin_layout Plain Layout
26929 \begin_layout Description
26930 \begin_inset Flex Code
26933 \begin_layout Plain Layout
26939 La opción cambio de tamaño.
26942 \begin_layout Description
26943 \begin_inset Flex Code
26946 \begin_layout Plain Layout
26952 La opción rotación.
26955 \begin_layout Standard
26956 Te puedes preguntar por qué hay tantas macros de ruta.
26957 Por dos razones, principalmente:
26960 \begin_layout Enumerate
26961 Los nombres de archivo relativo y absoluto deberían permanecer relativo
26962 o absoluto, respectivamente.
26963 Los usuarios pueden tener razones para preferir cualquiera de ambas formas.
26964 Los nombres relativos son útiles para documentos portables que deberían
26965 funcionar en máquinas diferentes, por ejemplo.
26966 Los nombres absolutos pueden ser requeridos por algunos programas.
26969 \begin_layout Enumerate
26971 procesa los nombres de archivo relativos de manera diferente a \SpecialChar LyX
26973 programas en archivos anidados incluidos.
26974 Para \SpecialChar LyX
26975 , un nombre de archivo relativo es siempre relativo al documento que
26976 contiene el nombre de archivo.
26977 Para \SpecialChar LaTeX
26978 , es siempre relativo al documento maestro.
26979 Estas dos definiciones son idénticas si se tiene solo un documento, pero
26980 son distintas si se tiene un documento maestro que incluye documentos parciales.
26981 Esto quiere decir que los nombres de archivo relativos deben ser transformados
26982 cuando se presentan a \SpecialChar LaTeX
26984 Afortunadamente, \SpecialChar LyX
26985 hace esto automáticamente si se eligen las macros correctas.
26988 \begin_layout Standard
26989 Así pues, ¿qué macros de ruta deberían emplearse en las definiciones de
26990 plantillas nuevas? La regla no es difícil:
26993 \begin_layout Itemize
26995 \begin_inset Flex Code
26998 \begin_layout Plain Layout
27004 si se requiere una ruta absoluta.
27007 \begin_layout Itemize
27009 \begin_inset Flex Code
27012 \begin_layout Plain Layout
27013 $$AbsOrRelPathMaster
27018 si la cadena sustituida es algún tipo de entrada \SpecialChar LaTeX
27022 \begin_layout Itemize
27024 \begin_inset Flex Code
27027 \begin_layout Plain Layout
27028 $$AbsOrRelPathParent
27033 con el fin de preservar la elección del usuario.
27036 \begin_layout Standard
27037 Hay casos especiales en los que esta regla no funciona y se necesitan, p.
27038 \begin_inset space \thinspace{}
27041 e., nombres relativos, pero normalmente funcionará bien.
27042 Un ejemplo de uno de estos casos es el comando
27043 \begin_inset Flex Code
27046 \begin_layout Plain Layout
27047 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
27052 en la plantilla XFig de arriba: no podemos usar el nombre absoluto porque
27053 el copiador para archivos
27054 \begin_inset Flex Code
27057 \begin_layout Plain Layout
27063 necesita el nombre relativo para reescribir el contenido del archivo.
27066 \begin_layout Section
27067 Discusión sobre seguridad
27068 \begin_inset CommandInset label
27070 name "sec:Discusión-sobre-seguridad"
27077 \begin_layout Standard
27078 La función material externo interactúa con muchos programas externos y lo
27079 hace de forma automática, así que hemos de tener en cuenta las implicaciones
27080 de seguridad que esto conlleva.
27081 En particular, puesto que tienes la opción de incluir tus propios archivos
27082 y/o cadenas de parámetros y estos se expanden en un comando, parece posible
27083 crear un documento malicioso que ejecute comandos arbitrarios cuando un
27084 usuario ve o imprime el documento.
27085 Esto es algo que definitivamente queremos evitar.
27089 \begin_layout Standard
27090 Sin embargo, dado que los comandos de material externo se especifican solo
27091 en el archivo de configuración de la plantilla, no hay problemas de seguridad
27092 si \SpecialChar LyX
27093 está adecuadamente configurado solo con plantillas seguras.
27094 Esto es así porque los programas externos se invocan con la llamada al
27096 \begin_inset Flex Code
27099 \begin_layout Plain Layout
27105 más bien que con la llamada
27106 \begin_inset Flex Code
27109 \begin_layout Plain Layout
27115 , de modo que no es posible ejecutar comandos arbitrarios desde la sección
27116 del nombre de archivo o de parámetros mediante el shell.
27119 \begin_layout Standard
27120 Esto implica además que hay restricciones en las cadenas de comandos que
27121 puedes usar en las plantillas de material externo.
27122 En particular, las tuberías y la redirección no están fácilmente disponibles.
27123 Esto debe ser así para que \SpecialChar LyX
27125 Si quieres usar algunas características de shell, deberías escribir un
27126 guión seguro para hacerlo de manera controlada, y después invocar el guión
27127 desde la cadena de comandos.
27130 \begin_layout Standard
27131 Es posible diseñar una plantilla que interactúe directamente con el shell,
27132 pero puesto que esto permitiría a un usuario malicioso ejecutar comandos
27133 arbitrarios escribiendo nombres de archivo y/o parámetros astutos, generalmente
27134 recomendamos usar solo guiones seguros que trabajen con la llamada
27135 \begin_inset Flex Code
27138 \begin_layout Plain Layout
27144 al sistema en forma controlada.
27145 Por supuesto, para usar en un entorno controlado, puede ser tentador caer
27146 en el uso de guiones de shell ordinarios.
27147 Si lo haces así, sé consciente de que vas a suministrar un agujero se seguridad
27148 fácilmente explotable en tu sistema.
27149 Evidentemente, es de razón que tales plantillas inseguras nunca serán incluidas
27150 en la distribución estándar de \SpecialChar LyX
27151 , aunque alentamos a la gente a que, a la
27152 usanza del software libre, envíe nuevas plantillas.
27153 No obstante, \SpecialChar LyX
27154 nunca tendrá plantillas inseguras tal y como se distribuye
27155 por los canales oficiales.
27158 \begin_layout Standard
27159 Incluir material externo suministra mucha potencia y has de ser cuidadoso
27160 en no introducir riesgos de seguridad a costa de esta potencia.
27161 Un sutil error en una simple línea en un guión aparentemente inocente puede
27162 abrir la puerta a graves problemas de seguridad.
27163 Así, si no comprendes totalmente estos asuntos, recomendamos consultar
27164 a un profesional entendido en seguridad o al equipo de desarrollo de \SpecialChar LyX
27166 tienes dudas acerca de si una plantilla dada es o no segura.
27167 Y hazlo antes de usarla en un entorno no controlado.
27170 \begin_layout Chapter
27172 Lista de funciones soportadas por \SpecialChar LyX
27173 en archivos de formato
27174 \begin_inset CommandInset label
27176 name "cap:Lista-de-funciones"
27183 \begin_layout Standard
27185 \begin_inset Tabular
27186 <lyxtabular version="3" rows="11" columns="8">
27187 <features tabularvalignment="middle">
27188 <column alignment="left" valignment="top">
27189 <column alignment="left" valignment="top">
27190 <column alignment="left" valignment="top">
27191 <column alignment="left" valignment="top">
27192 <column alignment="left" valignment="top">
27193 <column alignment="left" valignment="top">
27194 <column alignment="left" valignment="top">
27195 <column alignment="left" valignment="top">
27197 <cell alignment="left" valignment="top" usebox="none">
27200 \begin_layout Plain Layout
27206 <cell alignment="left" valignment="top" usebox="none">
27209 \begin_layout Plain Layout
27215 <cell alignment="left" valignment="top" usebox="none">
27218 \begin_layout Plain Layout
27224 <cell alignment="left" valignment="top" usebox="none">
27227 \begin_layout Plain Layout
27233 <cell alignment="center" valignment="top" usebox="none">
27236 \begin_layout Plain Layout
27242 <cell alignment="center" valignment="top" usebox="none">
27245 \begin_layout Plain Layout
27251 <cell alignment="center" valignment="top" usebox="none">
27254 \begin_layout Plain Layout
27260 <cell alignment="center" valignment="top" usebox="none">
27263 \begin_layout Plain Layout
27271 <cell alignment="left" valignment="top" usebox="none">
27274 \begin_layout Plain Layout
27280 <cell alignment="left" valignment="top" usebox="none">
27283 \begin_layout Plain Layout
27289 <cell alignment="left" valignment="top" usebox="none">
27292 \begin_layout Plain Layout
27298 <cell alignment="left" valignment="top" usebox="none">
27301 \begin_layout Plain Layout
27307 <cell alignment="center" valignment="top" usebox="none">
27310 \begin_layout Plain Layout
27316 <cell alignment="center" valignment="top" usebox="none">
27319 \begin_layout Plain Layout
27325 <cell alignment="center" valignment="top" usebox="none">
27328 \begin_layout Plain Layout
27334 <cell alignment="center" valignment="top" usebox="none">
27337 \begin_layout Plain Layout
27345 <cell alignment="left" valignment="top" usebox="none">
27348 \begin_layout Plain Layout
27354 <cell alignment="left" valignment="top" usebox="none">
27357 \begin_layout Plain Layout
27363 <cell alignment="left" valignment="top" usebox="none">
27366 \begin_layout Plain Layout
27372 <cell alignment="left" valignment="top" usebox="none">
27375 \begin_layout Plain Layout
27381 <cell alignment="center" valignment="top" usebox="none">
27384 \begin_layout Plain Layout
27390 <cell alignment="center" valignment="top" usebox="none">
27393 \begin_layout Plain Layout
27399 <cell alignment="center" valignment="top" usebox="none">
27402 \begin_layout Plain Layout
27408 <cell alignment="center" valignment="top" usebox="none">
27411 \begin_layout Plain Layout
27419 <cell alignment="left" valignment="top" usebox="none">
27422 \begin_layout Plain Layout
27428 <cell alignment="left" valignment="top" usebox="none">
27431 \begin_layout Plain Layout
27437 <cell alignment="left" valignment="top" usebox="none">
27440 \begin_layout Plain Layout
27446 <cell alignment="left" valignment="top" usebox="none">
27449 \begin_layout Plain Layout
27455 <cell alignment="center" valignment="top" usebox="none">
27458 \begin_layout Plain Layout
27464 <cell alignment="center" valignment="top" usebox="none">
27467 \begin_layout Plain Layout
27473 <cell alignment="center" valignment="top" usebox="none">
27476 \begin_layout Plain Layout
27482 <cell alignment="center" valignment="top" usebox="none">
27485 \begin_layout Plain Layout
27493 <cell alignment="left" valignment="top" usebox="none">
27496 \begin_layout Plain Layout
27502 <cell alignment="left" valignment="top" usebox="none">
27505 \begin_layout Plain Layout
27511 <cell alignment="left" valignment="top" usebox="none">
27514 \begin_layout Plain Layout
27520 <cell alignment="left" valignment="top" usebox="none">
27523 \begin_layout Plain Layout
27529 <cell alignment="center" valignment="top" usebox="none">
27532 \begin_layout Plain Layout
27538 <cell alignment="center" valignment="top" usebox="none">
27541 \begin_layout Plain Layout
27547 <cell alignment="center" valignment="top" usebox="none">
27550 \begin_layout Plain Layout
27556 <cell alignment="center" valignment="top" usebox="none">
27559 \begin_layout Plain Layout
27567 <cell alignment="left" valignment="top" usebox="none">
27570 \begin_layout Plain Layout
27576 <cell alignment="left" valignment="top" usebox="none">
27579 \begin_layout Plain Layout
27585 <cell alignment="left" valignment="top" usebox="none">
27588 \begin_layout Plain Layout
27594 <cell alignment="left" valignment="top" usebox="none">
27597 \begin_layout Plain Layout
27603 <cell alignment="center" valignment="top" usebox="none">
27606 \begin_layout Plain Layout
27612 <cell alignment="center" valignment="top" usebox="none">
27615 \begin_layout Plain Layout
27621 <cell alignment="center" valignment="top" usebox="none">
27624 \begin_layout Plain Layout
27630 <cell alignment="center" valignment="top" usebox="none">
27633 \begin_layout Plain Layout
27641 <cell alignment="left" valignment="top" usebox="none">
27644 \begin_layout Plain Layout
27650 <cell alignment="left" valignment="top" usebox="none">
27653 \begin_layout Plain Layout
27659 <cell alignment="left" valignment="top" usebox="none">
27662 \begin_layout Plain Layout
27668 <cell alignment="left" valignment="top" usebox="none">
27671 \begin_layout Plain Layout
27677 <cell alignment="center" valignment="top" usebox="none">
27680 \begin_layout Plain Layout
27686 <cell alignment="center" valignment="top" usebox="none">
27689 \begin_layout Plain Layout
27695 <cell alignment="center" valignment="top" usebox="none">
27698 \begin_layout Plain Layout
27704 <cell alignment="center" valignment="top" usebox="none">
27707 \begin_layout Plain Layout
27715 <cell alignment="left" valignment="top" usebox="none">
27718 \begin_layout Plain Layout
27724 <cell alignment="left" valignment="top" usebox="none">
27727 \begin_layout Plain Layout
27733 <cell alignment="left" valignment="top" usebox="none">
27736 \begin_layout Plain Layout
27742 <cell alignment="left" valignment="top" usebox="none">
27745 \begin_layout Plain Layout
27751 <cell alignment="center" valignment="top" usebox="none">
27754 \begin_layout Plain Layout
27760 <cell alignment="center" valignment="top" usebox="none">
27763 \begin_layout Plain Layout
27769 <cell alignment="center" valignment="top" usebox="none">
27772 \begin_layout Plain Layout
27778 <cell alignment="center" valignment="top" usebox="none">
27781 \begin_layout Plain Layout
27789 <cell alignment="left" valignment="top" usebox="none">
27792 \begin_layout Plain Layout
27798 <cell alignment="left" valignment="top" usebox="none">
27801 \begin_layout Plain Layout
27807 <cell alignment="left" valignment="top" usebox="none">
27810 \begin_layout Plain Layout
27816 <cell alignment="left" valignment="top" usebox="none">
27819 \begin_layout Plain Layout
27825 <cell alignment="center" valignment="top" usebox="none">
27828 \begin_layout Plain Layout
27834 <cell alignment="center" valignment="top" usebox="none">
27837 \begin_layout Plain Layout
27843 <cell alignment="center" valignment="top" usebox="none">
27846 \begin_layout Plain Layout
27852 <cell alignment="center" valignment="top" usebox="none">
27855 \begin_layout Plain Layout
27863 <cell alignment="left" valignment="top" usebox="none">
27866 \begin_layout Plain Layout
27872 <cell alignment="left" valignment="top" usebox="none">
27875 \begin_layout Plain Layout
27881 <cell alignment="left" valignment="top" usebox="none">
27884 \begin_layout Plain Layout
27890 <cell alignment="left" valignment="top" usebox="none">
27893 \begin_layout Plain Layout
27899 <cell alignment="center" valignment="top" usebox="none">
27902 \begin_layout Plain Layout
27908 <cell alignment="center" valignment="top" usebox="none">
27911 \begin_layout Plain Layout
27917 <cell alignment="center" valignment="top" usebox="none">
27920 \begin_layout Plain Layout
27926 <cell alignment="center" valignment="top" usebox="none">
27929 \begin_layout Plain Layout
27937 <cell alignment="center" valignment="top" usebox="none">
27940 \begin_layout Plain Layout
27946 <cell alignment="center" valignment="top" usebox="none">
27949 \begin_layout Plain Layout
27955 <cell alignment="center" valignment="top" usebox="none">
27958 \begin_layout Plain Layout
27964 <cell alignment="center" valignment="top" usebox="none">
27967 \begin_layout Plain Layout
27973 <cell alignment="center" valignment="top" usebox="none">
27976 \begin_layout Plain Layout
27982 <cell alignment="center" valignment="top" usebox="none">
27985 \begin_layout Plain Layout
27991 <cell alignment="center" valignment="top" usebox="none">
27994 \begin_layout Plain Layout
28000 <cell alignment="center" valignment="top" usebox="none">
28003 \begin_layout Plain Layout
28017 \begin_layout Chapter
28018 Nombres de colores disponibles para archivos de formato
28019 \begin_inset CommandInset label
28021 name "cap:Nombres-de-colores"
28028 \begin_layout Standard
28029 Los colores listados son los colores estándar y los que se pueden modificar
28030 en las preferencias de \SpecialChar LyX
28034 \begin_layout Section
28040 \begin_layout Standard
28043 The following are no real colors, but rather act on color definitions:
28046 \begin_layout Description
28047 ignore El color es ignorado
28050 \begin_layout Description
28051 inherit El color es heredado
28054 \begin_layout Description
28061 Ningún color en particular, transparente o ausente
28064 \begin_layout Section
28070 \begin_layout Standard
28073 These are fixed colors that cannot me customized:
28076 \begin_layout Description
28080 \begin_layout Description
28084 \begin_layout Description
28088 \begin_layout Description
28092 \begin_layout Description
28096 \begin_layout Description
28100 \begin_layout Description
28104 \begin_layout Description
28108 \begin_layout Description
28112 \begin_layout Description
28116 \begin_layout Description
28120 \begin_layout Description
28124 \begin_layout Description
28128 \begin_layout Description
28132 \begin_layout Description
28136 \begin_layout Description
28140 \begin_layout Description
28144 \begin_layout Description
28148 \begin_layout Description
28152 \begin_layout Section
28158 \begin_layout Standard
28161 These are the colors allocated to specific elements in
28164 \begin_inset Flex Noun
28167 \begin_layout Plain Layout
28168 Herramientas\SpecialChar menuseparator
28177 \begin_layout Description
28178 added_space Color espacio añadido
28181 \begin_layout Description
28182 addedtext Color texto añadido
28185 \begin_layout Description
28186 appendix Color marcador de apéndice
28189 \begin_layout Description
28190 background Color de fondo
28193 \begin_layout Description
28194 bottomarea Color área inferior
28197 \begin_layout Description
28198 branchlabel Color etiqueta de ramas
28201 \begin_layout Description
28202 buttonbg Color fondo de botón
28205 \begin_layout Description
28206 buttonframe Color para marcos de botones de recuadro
28209 \begin_layout Description
28210 buttonhoverbg Color fondo de botón en foco
28213 \begin_layout Description
28214 changebar Color barra de cambios
28217 \begin_layout Description
28218 changedtextauthor1 Color autor 1 de texto cambiado
28221 \begin_layout Description
28222 changedtextauthor2 Color autor 2 de texto cambiado
28225 \begin_layout Description
28226 changedtextauthor3 Color autor 3 de texto cambiado
28229 \begin_layout Description
28230 changedtextauthor4 Color autor 4 de texto cambiado
28233 \begin_layout Description
28234 changedtextauthor5 Color autor 5 de texto cambiado
28237 \begin_layout Description
28238 collapsibletext Color texto de recuadro plegable
28241 \begin_layout Description
28242 collapsibleframe Color marco de recuadro plegable
28245 \begin_layout Description
28246 command Color texto recuadros de comando
28249 \begin_layout Description
28250 commandbg Color fondo recuadros de comando
28253 \begin_layout Description
28254 commandframe Color marco recuadros de comando
28257 \begin_layout Description
28258 comment Color etiqueta de comentarios
28261 \begin_layout Description
28262 commentbg Color fondo de comentarios
28265 \begin_layout Description
28266 cursor Color cursor
28269 \begin_layout Description
28270 deletedtext Color texto borrado
28273 \begin_layout Description
28274 deletedtextmodifier Color modificación de texto borrado
28277 \begin_layout Description
28278 depthbar Color barra de anidación en margen
28281 \begin_layout Description
28282 eolmarker Color marcador fin de línea
28285 \begin_layout Description
28286 error Color cuadro de error \SpecialChar LaTeX
28290 \begin_layout Description
28291 footlabel Color etiqueta de notas a pie de página
28294 \begin_layout Description
28300 \begin_layout Description
28301 graphicsbg Color fondo de recuadros de inserción de gráficos
28304 \begin_layout Description
28305 greyedoutbg Color fondo de recuadros de notas grises
28308 \begin_layout Description
28309 greyedoutlabel Color etiqueta de recuadros de notas grises
28312 \begin_layout Description
28313 greyedouttext Color texto de recuadros de notas grises
28316 \begin_layout Description
28317 indexlabel Color etiqueta de recuadros de índice
28320 \begin_layout Description
28321 inlinecompletion Color autofinalización en línea
28324 \begin_layout Description
28325 insetbg Color fondo de marcador de recuadro
28328 \begin_layout Description
28329 insetframe Color marco de marcador de recuadro
28332 \begin_layout Description
28333 language Color marcador de palabras en otros idiomas
28336 \begin_layout Description
28337 latex Color texto en modo \SpecialChar LaTeX
28341 \begin_layout Description
28342 listingsbg Color fondo de recuadro listado de código
28345 \begin_layout Description
28346 marginlabel Color etiqueta de notas al margen
28349 \begin_layout Description
28350 math Color texto de recuadro de ecuación
28353 \begin_layout Description
28354 mathbg Color fondo de recuadro de ecuación
28357 \begin_layout Description
28358 mathcorners Color marco de recuadro de ecuación fuera de foco
28361 \begin_layout Description
28362 mathframe Color marco de recuadro de ecuación en foco
28365 \begin_layout Description
28366 mathline Color línea de ecuación
28369 \begin_layout Description
28370 mathmacrobg Color fondo de recuadro de macro matemática
28373 \begin_layout Description
28374 mathmacroblend Color mezclado macro matemática
28377 \begin_layout Description
28378 mathmacroframe Color marco de macro matemática
28381 \begin_layout Description
28382 mathmacrohoverbg Color fondo de recuadro de macro matemática bajo el ratón
28385 \begin_layout Description
28386 mathmacrolabel Color etiqueta macro matemática
28389 \begin_layout Description
28390 mathmacronewarg Color plantilla de macro para nuevos parámetros
28393 \begin_layout Description
28394 mathmacrooldarg Color plantilla de macro para antiguos parámetros
28397 \begin_layout Description
28398 newpage Color página nueva
28401 \begin_layout Description
28402 nonunique_inlinecompletion Color autofinalización en línea parte no única
28405 \begin_layout Description
28406 note Color etiqueta de notas
28409 \begin_layout Description
28410 notebg Color fondo de notas
28413 \begin_layout Description
28414 pagebreak Color salto de página/línea
28417 \begin_layout Description
28418 paragraphmarker Color símbolo marcador de fin de párrafo
28421 \begin_layout Description
28422 phantomtext Color texto de recuadro fantasma
28425 \begin_layout Description
28426 preview Color vista preliminar
28429 \begin_layout Description
28430 previewframe Color marco vista preliminar
28433 \begin_layout Description
28434 regexpframe Color marco regexp
28437 \begin_layout Description
28440 scroll Color that indicates when a row can be scrolled
28443 \begin_layout Description
28444 selection Color fondo de texto seleccionado
28447 \begin_layout Description
28448 selectiontext Color de texto seleccionado
28451 \begin_layout Description
28452 shadedbg Color fondo de marco coloreado
28455 \begin_layout Description
28456 special Color texto de caracteres especiales
28459 \begin_layout Description
28460 tabularline Color línea de cuadro/tabla
28463 \begin_layout Description
28464 tabularonoffline Color línea de cuadro/tabla on/off
28467 \begin_layout Description
28468 urllabel Color etiqueta de recuadros URL
28471 \begin_layout Description
28472 urltext Color texto de recuadros URL