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 0
85 \use_package amssymb 0
88 \use_package mathdots 1
89 \use_package mathtools 0
91 \use_package stackrel 0
92 \use_package stmaryrd 0
93 \use_package undertilde 0
95 \cite_engine_type default
99 \paperorientation portrait
104 \notefontcolor #0000ff
116 \paragraph_separation indent
117 \paragraph_indentation default
119 \math_indentation default
120 \math_numbering_side default
125 \paperpagestyle headings
126 \tracking_changes false
127 \output_changes false
136 Personalizar \SpecialChar LyX
137 : Características para el usuario avanzado
141 por el equipo \SpecialChar LyX
146 \begin_layout Plain Layout
148 Si tienes correcciones o comentarios, envíalos, por favor, a la lista de
149 correo de Documentación de \SpecialChar LyX
151 \begin_inset CommandInset href
153 target "lyx-docs@lists.lyx.org"
161 \begin_inset Quotes cld
165 \begin_inset Quotes crd
168 en la cabecera de asunto, y envía una cc al actual mantenedor de este documento
169 , Richard Heck <rgheck@comcast.net>.
175 \begin_inset Newline newline
179 \begin_inset Newline newline
185 \begin_layout Standard
186 \begin_inset CommandInset toc
187 LatexCommand tableofcontents
194 \begin_layout Chapter
198 \begin_layout Standard
199 Este manual trata de las características de \SpecialChar LyX
200 que pueden ser modificadas
202 En él abordamos temas como atajos de teclado, opciones de vista previa
203 en pantalla, opciones de impresora, envío de comandos mediante \SpecialChar LyX
205 internacionalización, instalación de nuevas clases de \SpecialChar LaTeX
209 Seguro que no podemos aspirar a tratar todo lo que se puede cambiar, —nuestross
210 desarrolladores añaden características nuevas más deprisa de lo que las
211 podemos documentar— pero explicaremos las modificaciones más comunes y
212 y esperamos orientarte en la dirección correcta para algunas más desconocidas.
215 \begin_layout Standard
216 \begin_inset Branch OutDated
220 \begin_layout Standard
221 La rama OutDated contiene información de versiones anteriores de este documento
222 que ahora parece estar obsoleta.
223 Por omisión, esta información no aparece en la salida \SpecialChar LaTeX
232 \begin_layout Chapter
233 Archivos de configuración de \SpecialChar LyX
237 \begin_layout Standard
238 Este capítulo tiene por objetivo ayudarte a encontrar tu camino a través
239 de los archivos de configuración de \SpecialChar LyX
241 Antes de seguir leyendo deberías encontrar donde están los directorios
242 de bibliotecas y de usuario, consultando
243 \begin_inset Flex Noun
246 \begin_layout Plain Layout
247 Ayuda\SpecialChar menuseparator
248 Acerca de \SpecialChar LyX
255 El directorio de bibliotecas es el sitio en el que \SpecialChar LyX
257 de configuración de sistema; el directorio de usuario es donde puedes colocar
258 tus versiones modificadas.
259 En este documento, al primero lo denominaremos
260 \begin_inset Flex Code
263 \begin_layout Plain Layout
271 \begin_inset Flex Noun
274 \begin_layout Plain Layout
283 \begin_layout Section
285 \begin_inset Flex Code
288 \begin_layout Plain Layout
298 \begin_layout Standard
299 \begin_inset Flex Code
302 \begin_layout Plain Layout
309 y sus subdirectorios contienen archivos que pueden emplearse para personalizar
310 el comportamiento de \SpecialChar LyX
312 Puedes cambiar muchos de ellos desde dentro mismo de \SpecialChar LyX
315 \begin_inset Flex Noun
318 \begin_layout Plain Layout
319 Herramientas\SpecialChar menuseparator
326 La mayor parte de las adaptaciones personales que querrás hacer en \SpecialChar LyX
328 puede hacer en este diálogo.
329 Sin embargo, muchos otros aspectos internos de \SpecialChar LyX
330 pueden cambiarse modificando
332 \begin_inset Flex Code
335 \begin_layout Plain Layout
343 Estos archivos pertenecen a diversas categorías, descritas en las siguientes
347 \begin_layout Subsection
348 Archivos generados automáticamente
351 \begin_layout Standard
352 Los archivos que se encuentran en
353 \begin_inset Flex Noun
356 \begin_layout Plain Layout
362 se generan al configurar \SpecialChar LyX
364 Contienen varios valores predeterminados que se obtienen por inspección.
365 En general, no es buena idea modificarlos, puesto que podrían ser sobrescritos
366 en cualquier momento.
369 \begin_layout Labeling
370 \labelwidthstring 00.00.0000
371 \begin_inset Flex Code
374 \begin_layout Plain Layout
380 contiene valores predeterminados para varioscomandos.
383 \begin_layout Labeling
384 \labelwidthstring 00.00.0000
385 \begin_inset Flex Code
388 \begin_layout Plain Layout
394 contiene la lista de paquetes que han sido reconocidos por \SpecialChar LyX
396 No es utilizada por el propio \SpecialChar LyX
397 , pero la información extraida, y otras cosas
399 \begin_inset Flex Noun
402 \begin_layout Plain Layout
403 Ayuda\SpecialChar menuseparator
404 Configuración de \SpecialChar LaTeX
413 \begin_layout Labeling
414 \labelwidthstring 00.00.0000
415 \begin_inset Flex Code
418 \begin_layout Plain Layout
424 la lista de clases de textos encontradas en los directorios
425 \begin_inset Flex Code
428 \begin_layout Plain Layout
434 , junto con las clases de documentos \SpecialChar LaTeX
438 \begin_layout Labeling
439 \labelwidthstring 00.00.0000
440 \begin_inset Flex Code
443 \begin_layout Plain Layout
449 la lista de módulos de formato encontradas en los directorios
450 \begin_inset Flex Code
453 \begin_layout Plain Layout
462 \begin_layout Labeling
463 \labelwidthstring 00.00.0000
464 \begin_inset Flex Code
467 \begin_layout Plain Layout
473 lista de varios tipos de archivos relacionados con \SpecialChar LaTeX
474 encontrados en el sistema.
477 \begin_layout Labeling
478 \labelwidthstring 00.00.0000
479 \begin_inset Flex Code
482 \begin_layout Plain Layout
483 doc/\SpecialChar LaTeX
489 es generado automáticamente durante la configuración a partir del archivo
491 \begin_inset Flex Code
494 \begin_layout Plain Layout
502 Contiene información sobre la configuración de \SpecialChar LaTeX
506 \begin_layout Subsection
510 \begin_layout Standard
511 Estos directorios están duplicados en
512 \begin_inset Flex Code
515 \begin_layout Plain Layout
523 \begin_inset Flex Code
526 \begin_layout Plain Layout
533 Si determinado archivo existe en ambos sitios, se usará el de
534 \begin_inset Flex Code
537 \begin_layout Plain Layout
546 \begin_layout Labeling
547 \labelwidthstring 00.00.0000
548 \begin_inset Flex Code
551 \begin_layout Plain Layout
557 este directorio contiene archivos con la extensión
558 \begin_inset Flex Code
561 \begin_layout Plain Layout
567 que definen las combinaciones de teclas usadas en \SpecialChar LyX
569 Si ahí existe una versión nacional de un archivo bind llamado
570 \begin_inset Flex Code
573 \begin_layout Plain Layout
579 , ésta se usará en primer lugar.
582 \begin_layout Labeling
583 \labelwidthstring 00.00.0000
586 \begin_inset Flex Code
589 \begin_layout Plain Layout
597 contains files with the extension
598 \begin_inset Flex Code
601 \begin_layout Plain Layout
609 which define the diverse citation possibilities (natbib, biblatex etc.).
611 \begin_inset CommandInset ref
613 reference "subsec:Cite-Engine-Files"
623 \begin_layout Labeling
624 \labelwidthstring 00.00.0000
625 \begin_inset Flex Code
628 \begin_layout Plain Layout
634 contiene archivos gráficos que pueden ser incluidos en documentos.
638 \begin_layout Labeling
639 \labelwidthstring 00.00.0000
640 \begin_inset Flex Code
643 \begin_layout Plain Layout
649 contiene archivos de documentación de \SpecialChar LyX
650 (incluido éste que estás leyendo).
652 \begin_inset Flex Code
655 \begin_layout Plain Layout
662 merece atención especial, como se mencionó antes.
663 Si existe una versión nacional del documento de ayuda en el subdirectorio
665 \begin_inset Flex Code
668 \begin_layout Plain Layout
674 , éste se usará en primer lugar.
676 \begin_inset CommandInset ref
678 reference "cap:Internacionalización-de-LyX"
685 \begin_layout Labeling
686 \labelwidthstring 00.00.0000
687 \begin_inset Flex Code
690 \begin_layout Plain Layout
696 contiene archivos de ejemplo que describen el uso de algunas características.
697 Se puede acceder a ellos con el botón
698 \begin_inset Flex Noun
701 \begin_layout Plain Layout
707 en el buscador de archivos.
710 \begin_layout Labeling
711 \labelwidthstring 00.00.0000
712 \begin_inset Flex Code
715 \begin_layout Plain Layout
721 contiene archivos de imagen que se usan en el diálogo
722 \begin_inset Flex Noun
725 \begin_layout Plain Layout
726 Documento\SpecialChar menuseparator
733 Contiene además los iconos de las barras de herramientas y las enseñas
735 mostradas en su inicio.
738 \begin_layout Labeling
739 \labelwidthstring 00.00.0000
740 \begin_inset Flex Code
743 \begin_layout Plain Layout
749 contiene archivos de mapas de teclado.
751 \begin_inset CommandInset ref
753 reference "sec:keymap"
760 \begin_layout Labeling
761 \labelwidthstring 00.00.0000
762 \begin_inset Flex Code
765 \begin_layout Plain Layout
771 contiene las clases de textos y los archivos de los módulos descritos en
773 \begin_inset CommandInset ref
775 reference "cap:Instalación-de-nuevas"
782 \begin_layout Labeling
783 \labelwidthstring 00.00.0000
784 \begin_inset Flex Code
787 \begin_layout Plain Layout
793 contiene los guiones de Python
794 \begin_inset Flex Code
797 \begin_layout Plain Layout
803 para convertir entre versiones de \SpecialChar LyX
805 Pueden ejecutarse en línea de comandos si, digamos, quieres convertir ficheros
809 \begin_layout Labeling
810 \labelwidthstring 00.00.0000
811 \begin_inset Flex Code
814 \begin_layout Plain Layout
820 contiene algunos archivos que demuestran las capacidades de la característica
822 \begin_inset Flex Noun
825 \begin_layout Plain Layout
832 También contiene algunos guiones usados por el propio \SpecialChar LyX
836 \begin_layout Labeling
837 \labelwidthstring 00.00.0000
838 \begin_inset Flex Code
841 \begin_layout Plain Layout
847 contiene los archivos de plantillas estándar de \SpecialChar LyX
849 \begin_inset CommandInset ref
851 reference "subsec:Creación-de-plantillas"
858 \begin_layout Labeling
859 \labelwidthstring 00.00.0000
860 \begin_inset Flex Code
863 \begin_layout Plain Layout
869 contiene archivos con la extensión
870 \begin_inset Flex Code
873 \begin_layout Plain Layout
879 que definen la interfaz de usuario de \SpecialChar LyX
881 Esto es, archivos que definen qué ítems aparecen en qué menús y barras
887 \begin_layout Labeling
888 \labelwidthstring 00.00.0000
891 \begin_inset Flex Code
894 \begin_layout Plain Layout
902 contains files with the extension
903 \begin_inset Flex Code
906 \begin_layout Plain Layout
914 which define the templates for the insertion of external material to a
917 \begin_inset CommandInset ref
919 reference "chap:Including-External-Material"
926 \begin_layout Subsection
927 Archivos que no necesitan modificaciones
930 \begin_layout Standard
931 Estos archivos son utilizados internamente por \SpecialChar LyX
932 y generalmente no deben
933 ser modificados sino por los desarrolladores.
936 \begin_layout Labeling
937 \labelwidthstring 00.00.0000
938 \begin_inset Flex Code
941 \begin_layout Plain Layout
947 contiene la lista de desarrolladores de \SpecialChar LyX
949 Se muestra con el menú
950 \begin_inset Flex Noun
953 \begin_layout Plain Layout
954 Ayuda\SpecialChar menuseparator
955 Acerca de \SpecialChar LyX
964 \begin_layout Labeling
965 \labelwidthstring 00.00.0000
966 \begin_inset Flex Code
969 \begin_layout Plain Layout
975 es un guión de \SpecialChar LaTeX
976 usado durante el proceso de configuración.
977 No lo ejecutes directamente.
980 \begin_layout Labeling
981 \labelwidthstring 00.00.0000
982 \begin_inset Flex Code
985 \begin_layout Plain Layout
991 es el guión utilizado para la reconfiguración de \SpecialChar LyX
993 Genera los archivos de configuración en el directorio desde el que se ha
997 \begin_layout Subsection
998 Otros archivos en un par de líneas
1001 \begin_layout Labeling
1002 \labelwidthstring 00.00.0000
1003 \begin_inset Flex Code
1006 \begin_layout Plain Layout
1012 contiene tablas que describen cómo los distintos códigos de caracteres
1013 se transcriben a Unicode.
1016 \begin_layout Labeling
1017 \labelwidthstring 00.00.0000
1018 \begin_inset Flex Code
1021 \begin_layout Plain Layout
1027 contiene una lista de los idiomas actualmente soportados por \SpecialChar LyX
1031 \begin_layout Labeling
1032 \labelwidthstring 00.00.0000
1033 \begin_inset Flex Code
1036 \begin_layout Plain Layout
1042 contiene información sobre tipografías soportadas.
1045 \begin_layout Labeling
1046 \labelwidthstring 00.00.0000
1047 \begin_inset Flex Code
1050 \begin_layout Plain Layout
1056 contiene traducciones para entornos de párrafo (véase
1057 \begin_inset CommandInset ref
1059 reference "subsec:I18n"
1066 \begin_layout Labeling
1067 \labelwidthstring 00.00.0000
1068 \begin_inset Flex Code
1071 \begin_layout Plain Layout
1077 contiene información sobre glifos unicode y su soporte por \SpecialChar LyX
1078 vía \SpecialChar LaTeX
1082 \begin_layout Section
1083 Directorio de configuración personal
1086 \begin_layout Standard
1087 Aunque uses \SpecialChar LyX
1088 como usuario sin privilegios, puedes adaptar su configuración
1091 \begin_inset Flex Code
1094 \begin_layout Plain Layout
1100 contiene todos los archivos de configuración personal.
1101 Es el directorio especificado como
1102 \begin_inset Quotes cld
1105 Directorio del usuario
1106 \begin_inset Quotes crd
1110 \begin_inset Flex Noun
1113 \begin_layout Plain Layout
1114 Ayuda\SpecialChar menuseparator
1115 Acerca de \SpecialChar LyX
1122 Este directorio se usa como espejo de
1123 \begin_inset Flex Code
1126 \begin_layout Plain Layout
1133 , que quiere decir que cada archivo en
1134 \begin_inset Flex Code
1137 \begin_layout Plain Layout
1143 es un equivalente del correspondiente archivo en
1144 \begin_inset Flex Code
1147 \begin_layout Plain Layout
1155 Cualquiera de los archivos de configuración descritos en las secciones
1156 anteriores puede estar en el directorio global del sistema, en cuyo caso
1157 afectará a todos los usuarios, y en tu directorio local para tu propio
1161 \begin_layout Standard
1162 Para clarificar las cosas vamos a poner unos ejemplos:
1165 \begin_layout Itemize
1166 Las preferencias establecidas en el diálogo
1167 \begin_inset Flex Noun
1170 \begin_layout Plain Layout
1171 Herramientas\SpecialChar menuseparator
1177 se guardan en un archivo
1178 \begin_inset Flex Code
1181 \begin_layout Plain Layout
1188 \begin_inset Flex Code
1191 \begin_layout Plain Layout
1200 \begin_layout Itemize
1201 Si reconfiguras mediante
1202 \begin_inset Flex Noun
1205 \begin_layout Plain Layout
1206 Herramientas\SpecialChar menuseparator
1214 \begin_inset Newline linebreak
1218 \begin_inset Flex Code
1221 \begin_layout Plain Layout
1227 , y los archivos resultantes se escriben en tu directorio de usuario.
1228 Esto significa que cualquier archivo adicional de clase de texto que pudieras
1230 \begin_inset Flex Code
1233 \begin_layout Plain Layout
1239 se sumará a la lista de clases en el diálogo
1240 \begin_inset Flex Noun
1243 \begin_layout Plain Layout
1244 Documento\SpecialChar menuseparator
1253 \begin_layout Itemize
1254 Si consigues alguna documentación actualizada del sitio de \SpecialChar LyX
1256 instalarla porque no tienes permisos para administrar tu sistema, solo
1257 has de copiar los archivos en
1258 \begin_inset Flex Code
1261 \begin_layout Plain Layout
1267 ¡y las entradas del menú
1268 \begin_inset Flex Noun
1271 \begin_layout Plain Layout
1280 \begin_layout Section
1281 Ejecutar \SpecialChar LyX
1282 con múltiples configuraciones
1285 \begin_layout Standard
1286 La libertad de configuración del directorio local puede no ser suficiente
1287 si quieres tener a tu disposición más de una configuración.
1288 Por ejemplo, si quisieras usar diferentes combinaciones de teclas o configuraci
1289 ones de impresora en distintos momentos.
1290 Esto lo puedes conseguir teniendo varios de estos directorios.
1291 Después especificas qué directorio usar al arrancar.
1294 \begin_layout Standard
1295 Ejecutando \SpecialChar LyX
1296 con la opción de línea de comandos
1297 \begin_inset Flex Code
1300 \begin_layout Plain Layout
1310 hace que el programa lea la configuración de ese directorio y no del predetermi
1312 (Puedes determinar el directorio predeterminado ejecutando \SpecialChar LyX
1315 \begin_inset Flex Code
1318 \begin_layout Plain Layout
1325 Si el directorio especificado no existe, \SpecialChar LyX
1326 propone su creación, tal como
1327 hace con el directorio predeterminado la primera vez que se ejecuta el
1329 Puedes modificar las opciones de configuración en ese directorio personal
1330 adicional exactamente igual que para el directorio predeterminado.
1331 Estos directorios son completamente independientes (pero sigue leyendo).
1332 Ten presente que establecer algún valor para la variable de entorno
1333 \begin_inset Flex Code
1336 \begin_layout Plain Layout
1342 tiene exactamente el mismo efecto.
1345 \begin_layout Standard
1346 Tener varias configuraciones también requiere más mantenimiento: si quieres
1347 añadir un nuevo formato a
1348 \begin_inset Flex Code
1351 \begin_layout Plain Layout
1357 que esté disponible en todas tus configuraciones, debes añadirlo a cada
1358 directorio por separado.
1359 Puedes evitarlo con el siguiente truco: después de que \SpecialChar LyX
1361 adicional, la mayoría de los subdirectorios (véase arriba) están vacíos.
1362 Si quieres que la nueva configuración sea una réplica de una existente,
1363 reemplaza el subdirectorio vacío con un enlace simbólico que apunte al
1364 subdirectorio deseado.
1365 Ten precaución, no obstante, con el subdirectorio
1366 \begin_inset Flex Code
1369 \begin_layout Plain Layout
1375 , puesto que contiene un archivo escrito por el guión de configuración (también
1377 \begin_inset Flex Noun
1380 \begin_layout Plain Layout
1381 Herramientas\SpecialChar menuseparator
1387 ) que es específico de la configuración.
1390 \begin_layout Chapter
1391 El diálogo Preferencias
1394 \begin_layout Standard
1395 Todas las opciones del diálogo de preferencias se describen en el apéndice
1409 Ahí encontrarás más detalles sobre algunas opciones.
1412 \begin_layout Section
1414 \begin_inset CommandInset label
1423 \begin_layout Standard
1424 El primer paso es definir tus propios formatos de archivo si no lo están
1426 Para hacerlo abre el diálogo
1427 \begin_inset Flex Noun
1430 \begin_layout Plain Layout
1431 Herramientas\SpecialChar menuseparator
1439 \begin_inset Flex Noun
1442 \begin_layout Plain Layout
1443 Gestión de archivos\SpecialChar menuseparator
1450 \begin_inset Flex Noun
1453 \begin_layout Plain Layout
1454 Nuevo\SpecialChar ldots
1460 para definir el nuevo formato.
1462 \begin_inset Flex Noun
1465 \begin_layout Plain Layout
1471 es para el nombre que identificará el formato en la GUI (interfaz gráfica
1474 \begin_inset Flex Noun
1477 \begin_layout Plain Layout
1483 se usa para identificar el formato internamente.
1484 Además deberás introducir una extensión de archivo.
1485 Todos estos son imprescindibles.
1487 \begin_inset Flex Noun
1490 \begin_layout Plain Layout
1496 sirve para asociar una combinación de teclas en los menús.
1497 (Por ejemplo, teclear
1498 \begin_inset Flex Noun
1501 \begin_layout Plain Layout
1508 \begin_inset Flex Noun
1511 \begin_layout Plain Layout
1514 Documento\SpecialChar menuseparator
1517 \SpecialChar menuseparator
1525 \begin_inset Flex Noun
1528 \begin_layout Plain Layout
1537 \begin_layout Standard
1538 Un Formato puede tener un
1539 \begin_inset Flex Noun
1542 \begin_layout Plain Layout
1549 \begin_inset Flex Noun
1552 \begin_layout Plain Layout
1559 Por ejemplo, podrías usar
1560 \begin_inset Flex Noun
1563 \begin_layout Plain Layout
1569 para ver archivos PostScript.
1570 Puedes introducir el comando para iniciar el programa en el campo correspondien
1572 Al definir este comando puedes usar las cuatro variables listadas en la
1574 El visor se lanza cuando ves una imagen en \SpecialChar LyX
1576 \begin_inset Flex Noun
1579 \begin_layout Plain Layout
1582 Documento\SpecialChar menuseparator
1589 El editor se lanza cuando pulsas el botón
1590 \begin_inset Flex Noun
1593 \begin_layout Plain Layout
1599 que se muestra al hacer clic derecho en un gráfico o en un material externo,
1603 \begin_layout Standard
1605 \begin_inset Flex Noun
1608 \begin_layout Plain Layout
1614 de un formato es opcional, pero si se especifica, debe ser único para todos
1616 Se usa para detectar archivos de ese formato de los contenidos de archivo.
1617 Para algunos formatos de archivo importantes no hay tipo MIME oficialmente
1619 \begin_inset CommandInset href
1622 target "http://www.iana.org/assignments/media-types/"
1628 Por tanto \SpecialChar LyX
1629 usa la lista extensa de tipos MIME especificada por
1630 \begin_inset CommandInset href
1632 name "freedesktop.org"
1633 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1641 \begin_layout Standard
1643 \begin_inset Flex Noun
1646 \begin_layout Plain Layout
1647 Formato de documento
1652 indica a \SpecialChar LyX
1653 que ese formato es adecuado para exportar.
1654 Si esto está marcado y existe una ruta de conversión adecuada (véase
1655 \begin_inset CommandInset ref
1657 reference "sec:Convertidores"
1661 ), el formato aparecerá en el menú
1662 \begin_inset Flex Noun
1665 \begin_layout Plain Layout
1666 Archivo\SpecialChar menuseparator
1673 También aparecerá en el menú
1674 \begin_inset Flex Noun
1677 \begin_layout Plain Layout
1680 Documento\SpecialChar menuseparator
1686 si se ha especificado un visor para ese formato.
1687 Los formatos puros de imagen, como
1688 \begin_inset Flex Code
1691 \begin_layout Plain Layout
1697 , no deberían usar esta opción.
1698 Los formatos que pueden corresponder tanto a gráficos vectoriales como
1700 \begin_inset Flex Code
1703 \begin_layout Plain Layout
1709 , sí deberían usarla.
1712 \begin_layout Standard
1714 \begin_inset Flex Noun
1717 \begin_layout Plain Layout
1718 Formato de gráfico vectorial
1723 indica a \SpecialChar LyX
1724 que el formato puede contener gráficos vectoriales.
1725 Esta información se emplea para determinar el formato objetivo de los gráficos
1726 incluidos para la exportación
1727 \begin_inset Flex Noun
1730 \begin_layout Plain Layout
1737 Los gráficos incluidos pueden requerir conversión a
1738 \begin_inset Flex Noun
1741 \begin_layout Plain Layout
1748 \begin_inset Flex Noun
1751 \begin_layout Plain Layout
1758 \begin_inset Flex Noun
1761 \begin_layout Plain Layout
1768 \begin_inset Flex Noun
1771 \begin_layout Plain Layout
1777 no puede manejar otros formatos de imagen.
1778 Si un archivo incluido no está ya en formato
1779 \begin_inset Flex Noun
1782 \begin_layout Plain Layout
1789 \begin_inset Flex Noun
1792 \begin_layout Plain Layout
1799 \begin_inset Flex Noun
1802 \begin_layout Plain Layout
1809 \begin_inset Flex Noun
1812 \begin_layout Plain Layout
1818 si la opción de formato vectorial está marcada, y si no a
1819 \begin_inset Flex Noun
1822 \begin_layout Plain Layout
1832 \begin_layout Section
1836 \begin_layout Standard
1837 Puesto que todas las conversiones de un formato a otro tienen lugar en el
1838 archivo temporal de \SpecialChar LyX
1839 , a veces es necesario modificar un archivo antes de
1840 copiarlo en el directorio temporal para que la conversión se pueda realizar.
1844 \begin_layout Plain Layout
1845 Por ejemplo, el archivo puede hacer referencia a otros archivos —imágenes,
1846 por ejemplo— mediante nombres de archivo relativos, y estos pueden resultar
1847 inválidos cuando el archivo se copia en el directorio temporal.
1852 Esto lo hace un Copiador: copia un archivo a (o desde) el directorio temporal
1853 y puede modificarlo en el proceso.
1856 \begin_layout Standard
1857 Las definiciones de los copiadores pueden usar ocho variables:
1860 \begin_layout Labeling
1861 \labelwidthstring 00.00.0000
1862 \begin_inset Flex Code
1865 \begin_layout Plain Layout
1871 El directorio de sistema de \SpecialChar LyX
1873 \begin_inset space \thinspace{}
1877 \begin_inset space \space{}
1881 \begin_inset Flex Noun
1884 \begin_layout Plain Layout
1893 \begin_layout Labeling
1894 \labelwidthstring 00.00.0000
1895 \begin_inset Flex Code
1898 \begin_layout Plain Layout
1904 El archivo de entrada
1907 \begin_layout Labeling
1908 \labelwidthstring 00.00.0000
1909 \begin_inset Flex Code
1912 \begin_layout Plain Layout
1918 El archivo de salida
1921 \begin_layout Labeling
1922 \labelwidthstring 00.00.0000
1923 \begin_inset Flex Code
1926 \begin_layout Plain Layout
1932 Nombre base (sin extensión) en el directorio temporal de \SpecialChar LyX
1936 \begin_layout Labeling
1937 \labelwidthstring 00.00.0000
1938 \begin_inset Flex Code
1941 \begin_layout Plain Layout
1947 Ruta completa al directorio temporal de \SpecialChar LyX
1951 \begin_layout Labeling
1952 \labelwidthstring 00.00.0000
1953 \begin_inset Flex Code
1956 \begin_layout Plain Layout
1962 Ruta completa al archivo original \SpecialChar LyX
1966 \begin_layout Labeling
1967 \labelwidthstring 00.00.0000
1968 \begin_inset Flex Code
1971 \begin_layout Plain Layout
1977 Nombre del archivo \SpecialChar LyX
1978 (sin ruta de directorio)
1981 \begin_layout Labeling
1982 \labelwidthstring 00.00.0000
1983 \begin_inset Flex Code
1986 \begin_layout Plain Layout
1992 El `nombre \SpecialChar LaTeX
1996 \begin_layout Standard
1997 El último debería ser el nombre de archivo tal como debería ponerse en un
1998 comando \SpecialChar LaTeX
2006 Solo es pertinente cuando se exportan archivos adecuados para esa inclusión.
2009 \begin_layout Standard
2010 Los copiadores pueden emplearse para hacer casi cualquier cosa con archivos
2012 Por ejemplo, supongamos que quieres copiar archivos
2013 \begin_inset Flex Noun
2016 \begin_layout Plain Layout
2022 generados a un directorio especial,
2023 \begin_inset Flex Code
2026 \begin_layout Plain Layout
2033 En ese caso deberías escribir un guión para intérprete de comandos tal
2037 \begin_layout Standard
2038 \begin_inset listings
2042 \begin_layout Plain Layout
2047 \begin_layout Plain Layout
2052 \begin_layout Plain Layout
2054 TOFILE=`basename $2`
2057 \begin_layout Plain Layout
2059 cp $FROMFILE /home/you/pdf/$TOFILE
2064 Guárdalo en tu directorio local, —
2065 \begin_inset Flex Code
2068 \begin_layout Plain Layout
2069 /home/you/.lyx/scripts/pdfcopier.sh
2074 , supongamos— y hazlo ejecutable si ello es necesario en tu sistema.
2075 Después, en el diálogo
2076 \begin_inset Flex Noun
2079 \begin_layout Plain Layout
2080 Herramientas\SpecialChar menuseparator
2087 \begin_inset Flex Noun
2090 \begin_layout Plain Layout
2091 Gestión de archivos\SpecialChar menuseparator
2097 , selecciona el formato
2098 \begin_inset Flex Noun
2101 \begin_layout Plain Layout
2107 —u otro de los formatos pdf— e introduce
2108 \begin_inset Flex Code
2111 \begin_layout Plain Layout
2112 pdfcopier.sh $$i $$o
2118 \begin_inset Flex Noun
2121 \begin_layout Plain Layout
2130 \begin_layout Standard
2132 usa los copiadores en varias de sus propias conversiones.
2133 Por ejemplo, si se encuentran los programas apropiados, \SpecialChar LyX
2134 instalará copiadores
2136 \begin_inset Flex Noun
2139 \begin_layout Plain Layout
2146 \begin_inset Flex Noun
2149 \begin_layout Plain Layout
2151 \begin_inset space ~
2160 Cuando se exporta a estos formatos, el copiador se encarga de que se copien
2161 no solo el archivo HTML principal, sino también los diversos archivos asociados
2162 (estilos, imágenes, etc).
2163 Todos estos archivos se escriben en un subdirectorio del directorio en
2164 el que se encuentre el archivo original de \SpecialChar LyX
2169 \begin_layout Plain Layout
2170 Este copiador puede adaptarse.
2171 El argumento opcional
2172 \begin_inset Quotes cld
2176 \begin_inset Quotes crd
2179 acepta una lista, separada por comas, con las extensiones que deben copiarse;
2180 si se omite se copiarán todos los archivos.
2182 \begin_inset Quotes cld
2186 \begin_inset Quotes crd
2189 determina la extensión añadida al directorio generado.
2191 \begin_inset Quotes cld
2195 \begin_inset Flex Noun
2198 \begin_layout Plain Layout
2206 \begin_inset Quotes crd
2209 , así, el HTML generado a partir de
2210 \begin_inset Flex Noun
2213 \begin_layout Plain Layout
2220 \begin_inset Flex Noun
2223 \begin_layout Plain Layout
2224 /ruta/a/archivo.html.\SpecialChar LyX
2238 \begin_layout Section
2240 \begin_inset CommandInset label
2242 name "sec:Convertidores"
2249 \begin_layout Standard
2250 Puedes definir tus propios convertidores para convertir archivos entre distintos
2252 Se hace en el diálogo
2253 \begin_inset Flex Noun
2256 \begin_layout Plain Layout
2257 Herramientas\SpecialChar menuseparator
2258 Preferencias\SpecialChar menuseparator
2259 Gestión de archivos\SpecialChar menuseparator
2268 \begin_layout Standard
2269 Para definir un nuevo convertidor de un formato a otro, selecciónalos en
2270 las listas desplegables
2271 \begin_inset Flex Noun
2274 \begin_layout Plain Layout
2276 \begin_inset space ~
2285 \begin_inset Flex Noun
2288 \begin_layout Plain Layout
2290 \begin_inset space ~
2298 , introduce el comando necesario para la conversión y después pulsa el botón
2300 \begin_inset Flex Noun
2303 \begin_layout Plain Layout
2310 En la definición de convertidores se pueden usar distintas variables:
2313 \begin_layout Labeling
2314 \labelwidthstring 00.00.0000
2315 \begin_inset Flex Code
2318 \begin_layout Plain Layout
2324 El directorio de sistema de \SpecialChar LyX
2328 \begin_layout Labeling
2329 \labelwidthstring 00.00.0000
2330 \begin_inset Flex Code
2333 \begin_layout Plain Layout
2339 El archivo de entrada
2342 \begin_layout Labeling
2343 \labelwidthstring 00.00.0000
2344 \begin_inset Flex Code
2347 \begin_layout Plain Layout
2353 El archivo de salida
2356 \begin_layout Labeling
2357 \labelwidthstring 00.00.0000
2358 \begin_inset Flex Code
2361 \begin_layout Plain Layout
2367 El nombre del archivo base del archivo de entrada (sin la extensión)
2370 \begin_layout Labeling
2371 \labelwidthstring 00.00.0000
2372 \begin_inset Flex Code
2375 \begin_layout Plain Layout
2381 La ruta al archivo de entrada
2384 \begin_layout Labeling
2385 \labelwidthstring 00.00.0000
2386 \begin_inset Flex Code
2389 \begin_layout Plain Layout
2395 La ruta al archivo de entrada original (esto es diferente de $$p cuando
2396 se invoca una cadena de convertidores).
2399 \begin_layout Labeling
2400 \labelwidthstring 00.00.0000
2401 \begin_inset Flex Code
2404 \begin_layout Plain Layout
2410 El nombre iconv para la codificación del documento.
2413 \begin_layout Standard
2415 \begin_inset Flex Noun
2418 \begin_layout Plain Layout
2424 puedes introducir los siguientes, separados por comas:
2427 \begin_layout Labeling
2428 \labelwidthstring 00.00.0000
2429 \begin_inset Flex Code
2432 \begin_layout Plain Layout
2438 Este convertidor ejecuta alguna forma de \SpecialChar LaTeX
2440 Hará estar disponibles los registros de errores \SpecialChar LaTeX
2445 \begin_layout Labeling
2446 \labelwidthstring 00.00.0000
2447 \begin_inset Flex Code
2450 \begin_layout Plain Layout
2456 Necesita el archivo \SpecialChar LaTeX
2458 \begin_inset Flex Noun
2461 \begin_layout Plain Layout
2470 \begin_layout Labeling
2471 \labelwidthstring 00.00.0000
2472 \begin_inset Flex Code
2475 \begin_layout Plain Layout
2482 \begin_inset Quotes cld
2486 \begin_inset Quotes crd
2489 archivo del trastero, que en la práctica quiere decir un archivo \SpecialChar LaTeX
2491 el que queremos exportar, sin
2492 \begin_inset Flex Code
2495 \begin_layout Plain Layout
2504 \begin_layout Labeling
2505 \labelwidthstring 00.00.0000
2506 \begin_inset Flex Code
2509 \begin_layout Plain Layout
2518 \begin_layout Standard
2519 Las tres siguientes no son realmente indicadores porque aceptan un argumento
2521 \begin_inset Flex Noun
2524 \begin_layout Plain Layout
2526 \begin_inset space ~
2530 \begin_inset space ~
2541 \begin_layout Labeling
2542 \labelwidthstring 00.00.0000
2543 \begin_inset Flex Code
2546 \begin_layout Plain Layout
2552 Si se pone, el error estándar del convertidor se redirecciona a un archivo
2554 \begin_inset Flex Code
2557 \begin_layout Plain Layout
2563 , y el guión dado como argumento se ejecutará como:
2564 \begin_inset Flex Code
2567 \begin_layout Plain Layout
2568 script <infile.out >infile.log
2574 El argumento puede contener
2575 \begin_inset Flex Code
2578 \begin_layout Plain Layout
2587 \begin_layout Labeling
2588 \labelwidthstring 00.00.0000
2589 \begin_inset Flex Code
2592 \begin_layout Plain Layout
2598 El nombre del directorio en el que el convertidor descargará los archivos
2601 no creará ese directorio y no copia nada en él, aunque copiará este directorio
2603 El argumento puede contener
2604 \begin_inset Flex Code
2607 \begin_layout Plain Layout
2613 , que será reemplazado por el nombre base de los archivos de entrada y de
2614 salida, respectivamente, cuando se copia el directorio.
2615 \begin_inset Newline newline
2618 Ten en cuenta que resultdir y usetempdir no tienen sentido juntos.
2619 El último será ignorado si se da el primero.
2622 \begin_layout Labeling
2623 \labelwidthstring 00.00.0000
2624 \begin_inset Flex Code
2627 \begin_layout Plain Layout
2633 Determina el nombre del archivo de salida y puede contener
2634 \begin_inset Flex Code
2637 \begin_layout Plain Layout
2644 Solo es sensible con
2645 \begin_inset Flex Code
2648 \begin_layout Plain Layout
2654 y además es opcional; si no se da, por omisión es `index'.
2657 \begin_layout Standard
2658 Ninguno de estos tres últimos se usan actualmente en ninguno de los convertidore
2659 s que son instalados por \SpecialChar LyX
2663 \begin_layout Standard
2664 No tienes que definir convertidores entre todos los formatos que quieras
2666 Por ejemplo, observarás que no hay convertidor `\SpecialChar LyX
2667 a PostScript', sin embargo
2669 exporta a PostScript.
2670 Lo hace creando primero un archivo \SpecialChar LaTeX
2671 (no es necesario un convertidor para
2672 esto), que luego es convertido a DVI mediante el convertidor `\SpecialChar LaTeX
2674 y por último convierte el archivo DVI resultante a PostScript.
2676 encuentra automáticamente estas 'cadenas' de convertidores y siempre escogerá
2677 la cadena más corta posible.
2678 Sin embargo, aún puedes definir múltiples métodos de conversión entre formatos.
2679 Por ejemplo, la configuración estándar de \SpecialChar LyX
2680 provee cinco caminos para convertir
2685 \begin_layout Enumerate
2686 directamente, usando
2687 \begin_inset Flex Noun
2690 \begin_layout Plain Layout
2699 \begin_layout Enumerate
2700 mediante (DVI y) PostScript, usando
2701 \begin_inset Flex Noun
2704 \begin_layout Plain Layout
2713 \begin_layout Enumerate
2714 mediante DVI, usando
2715 \begin_inset Flex Noun
2718 \begin_layout Plain Layout
2727 \begin_layout Enumerate
2728 directamente, usando
2729 \begin_inset Flex Noun
2732 \begin_layout Plain Layout
2742 \begin_layout Enumerate
2743 directamente, usando
2744 \begin_inset Flex Noun
2747 \begin_layout Plain Layout
2757 \begin_layout Standard
2758 Para construir estas cadenas alternativas tienes que definir múltiples 'formatos
2759 de archivo' objetivo, como se describe en la sección
2760 \begin_inset space ~
2764 \begin_inset CommandInset ref
2766 reference "sec:Formatos"
2771 Por ejemplo, en la configuración estándar, se definen los formatos llamados
2773 \begin_inset Flex Noun
2776 \begin_layout Plain Layout
2783 \begin_inset Flex Noun
2786 \begin_layout Plain Layout
2793 \begin_inset Flex Noun
2796 \begin_layout Plain Layout
2803 \begin_inset Flex Noun
2806 \begin_layout Plain Layout
2813 \begin_inset Flex Noun
2816 \begin_layout Plain Layout
2823 \begin_inset Flex Noun
2826 \begin_layout Plain Layout
2833 \begin_inset Flex Noun
2836 \begin_layout Plain Layout
2843 \begin_inset Flex Noun
2846 \begin_layout Plain Layout
2854 \begin_inset Flex Noun
2857 \begin_layout Plain Layout
2864 \begin_inset Flex Noun
2867 \begin_layout Plain Layout
2874 ), todos ellos compartiendo la extensión
2875 \begin_inset Flex Noun
2878 \begin_layout Plain Layout
2884 , y que corresponden a los métodos de conversión antes mencionados.
2887 \begin_layout Chapter
2888 Internacionalización de \SpecialChar LyX
2890 \begin_inset CommandInset label
2892 name "cap:Internacionalización-de-LyX"
2899 \begin_layout Standard
2901 soporta el uso de una interfaz traducida.
2902 La última vez que lo comprobamos, \SpecialChar LyX
2903 suministraba textos en treinta idiomas.
2904 El idioma elegido se denomina
2909 (Para lecciones adicionales sobre configuración de idiomas, véase también
2911 \begin_inset Quotes cld
2915 \begin_inset Quotes crd
2918 del sistema operativo.
2919 En Linux, la página de manual de
2920 \begin_inset Flex Code
2923 \begin_layout Plain Layout
2929 es un buen punto de partida).
2933 \begin_layout Standard
2934 Hay que advertir que estas traducciones funcionarán pero tienen algunos
2936 En particular, todos los diálogos se han diseñado con el inglés en mente,
2937 lo que significa que algún texto traducido podría ser demasiado largo para
2938 ajustarse al espacio asignado.
2939 Esto solo es un problema de presentación en pantalla y no causará ningún
2941 Además, encontrarás que algunas traducciones no definen atajos de teclado
2943 A veces, simplemente no hay letras libres suficientes para ello.
2944 Otras veces, el traductor todavía no lo ha completado.
2945 Nuestro equipo de traducción, al que podrías unirte si quieres,
2949 \begin_layout Plain Layout
2950 Si usas con fluidez un idioma distinto del inglés, ¡unirse a estos equipos
2951 es una estupenda forma de corresponder a la comunidad \SpecialChar LyX
2957 intentará, por supuesto, corregir estas deficiencias en futuras versiones
2962 \begin_layout Section
2963 Traducción de \SpecialChar LyX
2967 \begin_layout Subsection
2968 Traducción de la interfaz gráfica de usuario (mensajes de texto)
2971 \begin_layout Standard
2973 utiliza la biblioteca GNU
2974 \begin_inset Flex Code
2977 \begin_layout Plain Layout
2983 para manejar la internacionalización de la interfaz.
2984 Para que \SpecialChar LyX
2985 hable tu idioma preferido en todos los menús y diálogos es necesario
2987 \begin_inset Flex Code
2990 \begin_layout Plain Layout
2997 Si está disponible, tendrás que generar a partir de él un archivo
2998 \begin_inset Flex Code
3001 \begin_layout Plain Layout
3008 El procedimiento para hacer todo esto se explica en la documentación de
3010 \begin_inset Flex Code
3013 \begin_layout Plain Layout
3020 Puedes hacer esto solo para ti, pero también podrías compartir el resultado
3021 de tu trabajo con el resto de la comunidad \SpecialChar LyX
3023 Envía un mensaje a la lista de desarrolladores de \SpecialChar LyX
3024 para más información
3025 sobre cómo proceder.
3028 \begin_layout Standard
3029 En resumen, esto es lo que deberías hacer (xx indica el código del idioma):
3032 \begin_layout Itemize
3033 Inspecciona el código fuente de \SpecialChar LyX
3036 \begin_inset CommandInset href
3038 name "información en la web"
3039 target "http://www.lyx.org/HowToUseGIT"
3047 \begin_layout Itemize
3049 \begin_inset Flex Code
3052 \begin_layout Plain Layout
3058 a la carpeta de los archivos
3059 \begin_inset Flex Code
3062 \begin_layout Plain Layout
3069 Después lo renombras como
3070 \begin_inset Flex Code
3073 \begin_layout Plain Layout
3081 \begin_inset Flex Code
3084 \begin_layout Plain Layout
3090 no está por ningún sitio, puede rehacerse con el comando de consola
3091 \begin_inset Flex Code
3094 \begin_layout Plain Layout
3100 en ese directorio, o puedes usar como muestra un archivo
3101 \begin_inset Flex Code
3104 \begin_layout Plain Layout
3110 de algún otro idioma).
3113 \begin_layout Itemize
3115 \begin_inset Flex Code
3118 \begin_layout Plain Layout
3128 \begin_layout Plain Layout
3129 Es un archivo de texto, se puede editar en cualquier editor de texto.
3130 Pero hay programas especializados para editar estos archivos, como
3134 (para todas las plataformas) o
3143 tiene un `modo' para editar archivos
3144 \begin_inset Flex Code
3147 \begin_layout Plain Layout
3154 \begin_inset Flex URL
3157 \begin_layout Plain Layout
3159 https://www.gnu.org/software/gettext/manual/html_node/PO-Mode.html
3171 Para algunos nombres de menú y otros artilugios hay además atajos de teclado
3172 que deberían traducirse.
3173 Dichas teclas se marcan con una `|' delante, y deberían traducirse de acuerdo
3174 con las palabras y frases del idioma.
3175 Además tendrías que rellenar la información al principio del nuevo archivo
3177 \begin_inset Flex Code
3180 \begin_layout Plain Layout
3186 , correo electrónico, etc., para que la gente sepa dónde enviarte sugerencias
3187 o divertidas diatribas.
3190 \begin_layout Standard
3191 Si estás haciendo esto solo para ti, entonces:
3194 \begin_layout Itemize
3196 \begin_inset Flex Code
3199 \begin_layout Plain Layout
3207 \begin_inset Flex Code
3210 \begin_layout Plain Layout
3211 msgfmt -o xx.mo < xx.po
3219 \begin_layout Itemize
3221 \begin_inset Flex Code
3224 \begin_layout Plain Layout
3230 a tu directorio local, en la carpeta apropiada para los mensajes de las
3231 aplicaciones en el idioma xx, con el nombre
3232 \begin_inset Flex Code
3235 \begin_layout Plain Layout
3242 \begin_inset space \thinspace{}
3246 \begin_inset space \space{}
3250 \begin_inset Flex Code
3253 \begin_layout Plain Layout
3254 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3264 \begin_layout Standard
3265 Sin embargo, ya se ha dicho, lo mejor sería poder añadir el nuevo archivo
3267 \begin_inset Flex Code
3270 \begin_layout Plain Layout
3276 a la distribución de \SpecialChar LyX
3277 , para que otros puedan usarlo.
3278 Esto requiere hacer cambios en \SpecialChar LyX
3279 , así que envía un correo a la lista de
3280 desarrolladores si estás interesado en hacerlo.
3283 \begin_layout Subsubsection
3287 \begin_layout Standard
3288 A veces resulta que un mensaje en inglés tiene diversas traducciones en
3290 Un ejemplo es la palabra
3291 \begin_inset Flex Code
3294 \begin_layout Plain Layout
3300 , que en alemán se puede traducir por Nach o Bis, según el sentido exacto
3302 \begin_inset Quotes cld
3306 \begin_inset Quotes crd
3311 \begin_inset Flex Code
3314 \begin_layout Plain Layout
3320 no maneja tales traducciones ambiguas.
3321 Por lo tanto, debes añadir alguna información contextual al mensaje: en
3323 \begin_inset Flex Code
3326 \begin_layout Plain Layout
3333 \begin_inset Flex Code
3336 \begin_layout Plain Layout
3337 To[[as in 'From format x to format y']]
3343 \begin_inset Flex Code
3346 \begin_layout Plain Layout
3347 To[[as in 'From page x to page y']]
3353 Ahora las dos apariciones de
3354 \begin_inset Flex Code
3357 \begin_layout Plain Layout
3364 \begin_inset Flex Code
3367 \begin_layout Plain Layout
3373 y pueden traducirse correctamente por Nach y Bis, respectivamente.
3376 \begin_layout Standard
3377 Por supuesto que la información contextual debe eliminarse del mensaje original
3378 si no se usa en la traducción.
3379 Por eso hay que ponerla entre dobles corchetes al final del mensaje (véase
3381 El mecanismo de traducción de \SpecialChar LyX
3382 asegura que todo lo que va entre corchetes
3383 al final de los mensajes se quita antes de mostrarlos.
3386 \begin_layout Subsection
3387 Traducción de la documentación
3390 \begin_layout Standard
3391 La documentación en línea (menú
3394 \begin_inset Flex Noun
3397 \begin_layout Plain Layout
3411 ) puede (¡debería!) traducirse.
3412 Si hay versiones traducidas de la documentación disponible
3416 \begin_layout Plain Layout
3417 Hasta marzo de 2008, al menos algunos de los documentos han sido traducidos
3418 a catorce idiomas, y el Tutorial está disponible en algunos más.
3424 \begin_inset Flex Code
3427 \begin_layout Plain Layout
3433 está adecuadamente configurado, \SpecialChar LyX
3435 \begin_inset Quotes cld
3439 \begin_inset Quotes crd
3444 busca las traducciones en
3447 \begin_inset Flex Code
3450 \begin_layout Plain Layout
3469 es el código para el idioma en uso actualmente.
3470 Si no hay versión traducida se presentará por omisión la versión inglesa
3472 Ten en cuenta que las versiones traducidas deben tener los mismos nombres
3477 de antes) que el original.
3478 Si te animas a traducir documentación (¡de paso, una excelente manera de
3479 leerla atentamente!), hay algunas cosas que deberías tener en cuenta:
3482 \begin_layout Itemize
3483 Consulta la web de traducción de la documentación en
3484 \begin_inset CommandInset href
3486 name "http://www.lyx.org/Translation"
3487 target "http://www.lyx.org/Translation"
3493 Así podrás comprobar el estado actual de traducción de documentos a tu
3495 También si hay alguien que esté coordinando la traducción a tu idioma.
3496 Si no hay nadie comunícanos, por favor, si estás interesado en ello.
3499 \begin_layout Standard
3500 Una vez que te has decidido a empezar, he aquí algunos consejos que te pueden
3501 ahorrar inconvenientes:
3504 \begin_layout Itemize
3505 ¡Únete al equipo de documentación! En
3508 \begin_inset Flex Noun
3511 \begin_layout Plain Layout
3512 Ayuda\SpecialChar menuseparator
3522 , que por cierto, es el primer documento que se debería traducir, hay informació
3523 n sobre cómo hacerlo.
3526 \begin_layout Itemize
3527 Infórmate sobre las normas tipográficas de tu idioma.
3528 La tipografía es un antiguo arte que ha desarrollado durante siglos una
3529 gran variedad de convenciones en diversas partes del mundo.
3530 Estudia también la terminología profesional de los tipógrafos en tu país.
3531 Inventar tu propia terminología sólo provocará confusión.
3534 (¡Cuidado! La tipografía es adictiva!)
3537 \begin_layout Itemize
3538 Haz una copia del documento para trabajar sobre ella.
3539 Puedes guardarla como archivo personal de traducción en tu directorio
3546 \begin_layout Itemize
3547 De vez en cuando el documento original (del equipo \SpecialChar LyX
3549 Usa el visor de fuentes en
3550 \begin_inset CommandInset href
3552 name "http://www.lyx.org/trac/timeline"
3553 target "http://www.lyx.org/trac/timeline"
3558 para ver los cambios realizados.
3559 De esta manera puedes ver fácilmente qué partes del documento traducido
3560 necesitan actualizarse.
3563 \begin_layout Standard
3564 Si encuentras un error en el documento original, ¡corríjelo y notifica los
3565 cambios al equipo de documentación! (¿No te has olvidado de contactar con
3566 el equipo de documentación, verdad?)
3569 \begin_layout Standard
3570 \begin_inset Branch OutDated
3574 \begin_layout Section
3575 International Keyboard Support
3578 \begin_layout Standard
3581 [Editor's Note: The following section is by
3589 It needs to be fixed to conform to the new Documentation Style sheet and
3590 to make use of the new v1.0 features.
3591 The whole thing also needs to be merged with the section following it.-jw
3592 It may also be badly out of date.-rh (2008)]
3595 \begin_layout Subsection
3596 Defining Own Keymaps: Keymap File Format
3599 \begin_layout Standard
3600 Let's look at a keyboard definition file a little closer.
3601 It is a plain text file defining
3604 \begin_layout Itemize
3605 key-to-key or key-to-string translations
3608 \begin_layout Itemize
3612 \begin_layout Itemize
3613 dead keys exceptions
3616 \begin_layout Standard
3617 To define key-to-key or key-to-string translation, use this command:
3620 \begin_layout Quotation
3621 \begin_inset Flex Code
3624 \begin_layout Plain Layout
3633 \begin_inset Flex Code
3636 \begin_layout Plain Layout
3645 \begin_layout Standard
3647 \begin_inset Flex Code
3650 \begin_layout Plain Layout
3656 is the key to be translated and
3657 \begin_inset Flex Code
3660 \begin_layout Plain Layout
3666 is the string to be inserted into the document.
3667 To define dead keys, use:
3670 \begin_layout Quotation
3671 \begin_inset Flex Code
3674 \begin_layout Plain Layout
3683 \begin_inset Flex Code
3686 \begin_layout Plain Layout
3695 \begin_layout Standard
3697 \begin_inset Flex Code
3700 \begin_layout Plain Layout
3706 is a keyboard key and
3707 \begin_inset Flex Code
3710 \begin_layout Plain Layout
3717 The following dead keys are supported (shortcut name is in parentheses):
3720 \begin_layout Quotation
3724 \begin_inset space \hfill{}
3730 \begin_layout Quotation
3732 \begin_inset space \hfill{}
3738 \begin_layout Quotation
3740 \begin_inset space \hfill{}
3746 \begin_layout Quotation
3748 \begin_inset space \hfill{}
3754 \begin_layout Quotation
3756 \begin_inset space \hfill{}
3762 \begin_layout Quotation
3764 \begin_inset space \hfill{}
3771 \begin_layout Plain Layout
3783 \begin_layout Quotation
3785 \begin_inset space \hfill{}
3791 \begin_layout Quotation
3793 \begin_inset space \hfill{}
3800 \begin_layout Plain Layout
3812 \begin_layout Quotation
3814 \begin_inset space \hfill{}
3820 \begin_layout Quotation
3822 \begin_inset space \hfill{}
3828 \begin_layout Quotation
3830 \begin_inset space \hfill{}
3837 \begin_layout Plain Layout
3849 \begin_layout Quotation
3851 \begin_inset space \hfill{}
3858 \begin_layout Plain Layout
3870 \begin_layout Quotation
3872 \begin_inset space \hfill{}
3878 \begin_layout Quotation
3879 hungarian umlaut (hug)
3880 \begin_inset space \hfill{}
3886 \begin_layout Quotation
3888 \begin_inset space \hfill{}
3894 \begin_layout Quotation
3896 \begin_inset space \hfill{}
3903 \begin_layout Plain Layout
3915 \begin_layout Standard
3916 Since in many international keyboards there are exceptions to what some
3917 dead keys should do, you can define them using
3920 \begin_layout Quotation
3921 \begin_inset Flex Code
3924 \begin_layout Plain Layout
3932 deadkey key outstring
3935 \begin_layout Standard
3936 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
3940 \begin_layout Quotation
3941 \begin_inset Flex Code
3944 \begin_layout Plain Layout
3957 \begin_layout Standard
3958 to make it work correctly.
3959 Also, you have to define as exceptions dead keys over i and j, to remove
3960 the dot from them before inserting an accent mark.
3961 I will change this when the time comes, but so far I haven't had time.
3964 \begin_layout Standard
3965 Oh, and about characters: backslash is escaped, so to enter it, you'll need
3968 \begin_inset Flex Code
3971 \begin_layout Plain Layout
3977 have different meaning.
3979 \begin_inset Flex Code
3982 \begin_layout Plain Layout
3988 marks comments, quotes start and end \SpecialChar LaTeX
3990 To enter quote, you'll need to use
3991 \begin_inset Flex Code
3994 \begin_layout Plain Layout
4003 \begin_inset Flex Code
4006 \begin_layout Plain Layout
4013 \begin_inset Flex Code
4016 \begin_layout Plain Layout
4027 \begin_layout Standard
4028 If you make a keyboard description file that works for your language, please
4029 mail it to me, so I can include it in the next keymap distribution.
4032 \begin_layout Standard
4033 More keywords will be supported in keymap configuration file in future,
4037 \begin_layout Itemize
4038 \begin_inset Flex Code
4041 \begin_layout Plain Layout
4052 \begin_inset space \hfill{}
4056 \begin_inset Flex Code
4059 \begin_layout Plain Layout
4068 \begin_layout Itemize
4069 \begin_inset Flex Code
4072 \begin_layout Plain Layout
4083 \begin_inset space \hfill{}
4087 \begin_inset Flex Code
4090 \begin_layout Plain Layout
4096 an external keymap translation program
4099 \begin_layout Standard
4100 Also, it should look into
4101 \begin_inset Flex Code
4104 \begin_layout Plain Layout
4110 file for defaults, too (for example, a
4111 \begin_inset Flex Code
4114 \begin_layout Plain Layout
4122 option to include default keyboard).
4130 \begin_layout Section
4131 \begin_inset CommandInset label
4137 Cosas sobre teclados internacionales
4140 \begin_layout Standard
4141 \begin_inset Note Note
4144 \begin_layout Plain Layout
4145 Al revisar este documento en marzo de 2008, no examiné este asunto porque
4147 Sería bueno que alguien pudiera hacerlo.
4156 \begin_layout Standard
4157 Las dos secciones siguientes describen con detalle la sintaxis de los archivos
4159 \begin_inset Flex Code
4162 \begin_layout Plain Layout
4171 \begin_inset Flex Code
4174 \begin_layout Plain Layout
4183 Deberían servir de ayuda para diseñar tus propios mapas de teclado si los
4184 suministrados no satisfacen tus necesidades.
4187 \begin_layout Subsection
4191 \begin_layout Standard
4193 \begin_inset Flex Code
4196 \begin_layout Plain Layout
4202 asocia pulsaciones de teclas con caracteres o secuencias de ellos.
4203 Como sugiere el nombre, sirve para trazar un mapa del teclado.
4204 En esta sección se describen las palabras clave
4205 \begin_inset Flex Code
4208 \begin_layout Plain Layout
4217 \begin_inset Flex Code
4220 \begin_layout Plain Layout
4229 \begin_inset Flex Code
4232 \begin_layout Plain Layout
4241 \begin_inset Flex Code
4244 \begin_layout Plain Layout
4253 \begin_inset Flex Code
4256 \begin_layout Plain Layout
4265 \begin_layout Labeling
4266 \labelwidthstring 00.00.0000
4267 \begin_inset Flex Code
4270 \begin_layout Plain Layout
4278 Asocia un carácter a una cadena
4281 \begin_layout LyX-Code
4296 \begin_layout Standard
4310 , la doble comilla (") y la barra invertida (
4312 ) deben escaparse con una barra (
4317 \begin_layout Standard
4318 Un ejemplo de una declaración de
4319 \begin_inset Flex Noun
4322 \begin_layout Plain Layout
4330 para hacer que el símbolo
4331 \begin_inset Flex Noun
4334 \begin_layout Plain Layout
4342 sea generado por la tecla
4343 \begin_inset Flex Noun
4346 \begin_layout Plain Layout
4357 \begin_layout LyX-Code
4363 \begin_layout Labeling
4364 \labelwidthstring 00.00.0000
4365 \begin_inset Flex Code
4368 \begin_layout Plain Layout
4376 Especifica un carácter acentuado
4379 \begin_layout LyX-Code
4388 \begin_layout Standard
4389 Esto hará que el carácter
4397 sobre el(los) carácter(es) permitido(s)
4402 Este es el mecanismo de tecla muerta
4406 \begin_layout Plain Layout
4416 se refiere a una tecla que no genera ningún carácter por sí mismo, pero
4417 seguida de otra tecla genera el carácter acentuado deseado.
4418 Por ejemplo, un caráter con diéresis, ü, se genera de esta manera.
4427 \begin_layout Standard
4432 y después una tecla que no está entre las permitidas (
4436 ), en la salida obtendrás el carácter
4440 seguido por el otro carácter, el no permitido.
4441 Hay que tener en cuenta que
4442 \begin_inset Flex Noun
4445 \begin_layout Plain Layout
4453 cancela una tecla muerta, de modo que si pulsas
4458 \begin_inset Flex Noun
4461 \begin_layout Plain Layout
4469 , el cursor no retrocede una posición sino que anula el efecto que
4473 hubiera tenido sobre la siguiente pulsación.
4476 \begin_layout Standard
4477 En el ejemplo siguiente, el carácter ' va a generar un acento agudo permitido
4478 sobre los caracteres a, e, i, o, u, A, E, I, O, U:
4481 \begin_layout LyX-Code
4484 kmod ' acute aeiouAEIOU
4487 \begin_layout Labeling
4488 \labelwidthstring 00.00.0000
4489 \begin_inset Flex Code
4492 \begin_layout Plain Layout
4498 Especifica una excepción para el carácter acentuado
4501 \begin_layout LyX-Code
4510 \begin_layout Standard
4511 Define una excepción para el
4524 debe haber sido asignado a una pulsación con una declaración previa de
4526 \begin_inset Flex Code
4529 \begin_layout Plain Layout
4545 no debe estar en el conjunto
4554 Si tecleas la secuencia
4563 Si dicha declaración no existe en el archivo
4564 \begin_inset Flex Code
4567 \begin_layout Plain Layout
4587 es el primer argumento de la declaración
4588 \begin_inset Flex Code
4591 \begin_layout Plain Layout
4604 \begin_layout Standard
4605 El comando siguiente generará äi cuando teclees agudo-i ('i):
4608 \begin_layout LyX-Code
4622 \begin_layout Labeling
4623 \labelwidthstring 00.00.0000
4624 \begin_inset Flex Code
4627 \begin_layout Plain Layout
4633 Combina dos caracteres acentos
4636 \begin_layout LyX-Code
4642 accent1 accent2 allowed
4645 \begin_layout Standard
4646 Esto es bastante esotérico.
4647 Permite combinar el efecto de
4655 (¡en ese orden!) sobre los caracteres permitidos
4668 deben haber sido declaradas con un comando
4669 \begin_inset Flex Code
4672 \begin_layout Plain Layout
4690 \begin_layout Standard
4691 Considera este ejemplo del archivo
4692 \begin_inset Flex Code
4695 \begin_layout Plain Layout
4706 \begin_layout LyX-Code
4709 kmod ; acute aeioyvhAEIOYVH
4713 kcomb acute umlaut iyIY
4716 \begin_layout Standard
4718 \begin_inset Flex Noun
4721 \begin_layout Plain Layout
4729 y obtener el efecto de
4730 \begin_inset Flex Code
4733 \begin_layout Plain Layout
4746 En este caso un retroceso cancela la última tecla muerta, así que si tecleas
4748 \begin_inset Flex Noun
4751 \begin_layout Plain Layout
4760 \begin_inset Flex Code
4763 \begin_layout Plain Layout
4776 \begin_layout Subsection
4780 \begin_layout Standard
4781 Después de realizados el mapa
4782 \begin_inset Flex Code
4785 \begin_layout Plain Layout
4794 \begin_inset Flex Code
4797 \begin_layout Plain Layout
4807 traza el mapa de las cadenas que los símbolos generan para los caracteres
4808 en la tipografía actual.
4809 La distribución de \SpecialChar LyX
4810 actualmente incluye al menos los archivos
4811 \begin_inset Flex Code
4814 \begin_layout Plain Layout
4823 \begin_inset Flex Code
4826 \begin_layout Plain Layout
4837 \begin_layout Standard
4838 En general el archivo
4839 \begin_inset Flex Code
4842 \begin_layout Plain Layout
4850 es una secuencia de declaraciones de la forma:
4853 \begin_layout LyX-Code
4866 \begin_layout Standard
4867 Por ejemplo, para asociar
4868 \begin_inset Flex Noun
4871 \begin_layout Plain Layout
4881 al correspondiente carácter en el conjunto iso-8859-1 (233), se usa:
4884 \begin_layout LyX-Code
4892 \begin_layout Standard
4894 \begin_inset Flex Code
4897 \begin_layout Plain Layout
4906 \begin_inset Flex Code
4909 \begin_layout Plain Layout
4920 Anotar que el mismo carácter puede aplicarse a más de una cadena.
4922 \begin_inset Flex Code
4925 \begin_layout Plain Layout
4936 \begin_layout LyX-Code
4948 \begin_inset Newline newline
4964 \begin_layout Standard
4966 no puede encontrar una declaración para la cadena por una tecla o una
4967 secuencia con tecla muerta, intentará si aparece como un carácter acentuado
4968 y probará a dibujar un acento sobre el carácter en la pantalla.
4971 \begin_layout Subsection
4975 \begin_layout Standard
4976 Hay una segunda manera de añadir soporte para caracteres internacionales
4977 mediante las denominadas teclas muertas.
4978 Una tecla muerta trabaja en combinación con una letra para generar un carácter
4980 Aquí explicaremos como crear una sencillísima tecla muerta para ilustrar
4984 \begin_layout Standard
4985 Supongamos que necesitas el carácter circunflejo
4986 \begin_inset Quotes cld
4990 \begin_inset Quotes crd
4994 Podrías asociar la tecla
4995 \begin_inset Flex Noun
4998 \begin_layout Plain Layout
5005 \begin_inset Flex Noun
5008 \begin_layout Plain Layout
5014 ) al comando \SpecialChar LyX
5016 \begin_inset Flex Code
5019 \begin_layout Plain Layout
5026 \begin_inset Flex Code
5029 \begin_layout Plain Layout
5036 Ahora, cuando pulses la tecla
5037 \begin_inset Flex Noun
5040 \begin_layout Plain Layout
5046 seguida de una letra, obtendrás esa letra con circunflejo sobre ella.
5047 Por ejemplo, la secuencia
5048 \begin_inset Quotes cld
5052 \begin_inset Flex Noun
5055 \begin_layout Plain Layout
5062 \begin_inset Quotes crd
5066 \begin_inset Quotes cld
5070 \begin_inset Quotes crd
5075 \begin_inset Quotes cld
5079 \begin_inset Flex Code
5082 \begin_layout Plain Layout
5089 \begin_inset Quotes crd
5092 , sin embargo, \SpecialChar LyX
5093 no imprime nada puesto que
5094 \begin_inset Flex Noun
5097 \begin_layout Plain Layout
5103 nunca lleva un circunflejo.
5105 \begin_inset Flex Noun
5108 \begin_layout Plain Layout
5114 tras una tecla muerta imprime el acento solo.
5115 ¡Advierte este último punto! Si asocias una tecla a una tecla muerta necesitará
5116 s reasociar el carácter de esa tecla a otra tecla.
5118 \begin_inset Flex Noun
5121 \begin_layout Plain Layout
5127 a una cedilla es una mala idea, puesto que solo obtendrás cedillas en lugar
5131 \begin_layout Standard
5132 Una forma habitual de asociar teclas muertas es usar
5133 \begin_inset Flex Noun
5136 \begin_layout Plain Layout
5143 \begin_inset Flex Noun
5146 \begin_layout Plain Layout
5153 \begin_inset Flex Noun
5156 \begin_layout Plain Layout
5162 en combinación con un acento, como
5163 \begin_inset Quotes cld
5167 \begin_inset Flex Noun
5170 \begin_layout Plain Layout
5177 \begin_inset Quotes crd
5181 \begin_inset Quotes cld
5185 \begin_inset Flex Noun
5188 \begin_layout Plain Layout
5195 \begin_inset Quotes crd
5199 \begin_inset Quotes cld
5203 \begin_inset Flex Noun
5206 \begin_layout Plain Layout
5213 \begin_inset Quotes crd
5217 Otra forma incluye el uso de
5218 \begin_inset Flex Code
5221 \begin_layout Plain Layout
5228 \begin_inset Flex Code
5231 \begin_layout Plain Layout
5237 para configurar la tecla especial
5238 \begin_inset Flex Code
5241 \begin_layout Plain Layout
5248 Esta tecla actúa de alguna forma como
5249 \begin_inset Flex Noun
5252 \begin_layout Plain Layout
5258 y permite teclas a caracteres acentuados.
5259 También puedes transformar teclas en muertas asociándolas a algo como
5260 \begin_inset Flex Code
5263 \begin_layout Plain Layout
5269 y después asociando esta tecla simbólica al correspondiente comando \SpecialChar LyX
5274 \begin_layout Plain Layout
5279 : Esto es exactamente lo que hago en mis archivos
5280 \begin_inset Flex Code
5283 \begin_layout Plain Layout
5290 \begin_inset Flex Code
5293 \begin_layout Plain Layout
5301 \begin_inset Flex Noun
5304 \begin_layout Plain Layout
5306 \begin_inset space ~
5315 \begin_inset Flex Code
5318 \begin_layout Plain Layout
5324 y unas cuantas de estas teclas simbólicas
5325 \begin_inset Quotes cld
5329 \begin_inset Flex Code
5332 \begin_layout Plain Layout
5339 \begin_inset Quotes crd
5342 asociadas a cosas como
5343 \begin_inset Flex Noun
5346 \begin_layout Plain Layout
5348 \begin_inset space ~
5357 \begin_inset Flex Noun
5360 \begin_layout Plain Layout
5362 \begin_inset space ~
5371 Así es como genero mis caracteres acentuados.
5376 Puedes hacer casi cualquier cosa con la tecla
5377 \begin_inset Flex Code
5380 \begin_layout Plain Layout
5387 \begin_inset Flex Noun
5390 \begin_layout Plain Layout
5396 , una tecla de función de reserva, etc.
5397 En cuanto a los comandos \SpecialChar LyX
5398 que generan acentos, consulta la entrada para
5400 \begin_inset Flex Code
5403 \begin_layout Plain Layout
5414 Ahí encontrarás la lista completa.
5417 \begin_layout Subsection
5418 Guardar la configuración de idioma
5421 \begin_layout Standard
5422 Puedes editar tus preferencias para que el entorno de idioma adecuado sea
5423 automáticamente configurado al iniciar \SpecialChar LyX
5425 \begin_inset Flex Noun
5428 \begin_layout Plain Layout
5429 Herramientas\SpecialChar menuseparator
5438 \begin_layout Chapter
5439 Instalación de nuevas clases de documento, formatos y plantillas
5440 \begin_inset CommandInset label
5442 name "cap:Instalación-de-nuevas"
5447 \begin_inset Argument 1
5450 \begin_layout Plain Layout
5451 Instalación de clases, formatos \SpecialChar ldots
5460 \begin_layout Standard
5461 En este capítulo describimos los procedimientos para crear e instalar nuevos
5462 archivos de plantillas y formatos de \SpecialChar LyX
5463 , así como repasar la instalación
5464 correcta de nuevas clases de documentos \SpecialChar LaTeX
5468 \begin_layout Standard
5469 En primer lugar, permite que digamos algo sobre la relación entre \SpecialChar LyX
5470 y \SpecialChar LaTeX
5472 Lo que hay que entender es que, en cierto sentido, \SpecialChar LyX
5473 no sabe nada de \SpecialChar LaTeX
5475 Desde el punto de vista de \SpecialChar LyX
5476 , \SpecialChar LaTeX
5477 solo es uno más de los varios
5478 \begin_inset Quotes cld
5482 \begin_inset Quotes crd
5485 en los que es capaz de generar salida.
5486 Otros son DocBook, texto sencillo y XHTML.
5488 es, por supuesto, un formato particularmente importante, pero muy poca
5489 de la información que \SpecialChar LyX
5490 tiene sobre \SpecialChar LaTeX
5491 está realmente contenida en el propio
5496 \begin_layout Plain Layout
5497 Algunos comandos son lo bastante complejos como para ser incluidos en el
5498 código de \SpecialChar LyX
5500 Pero en general los desarrolladores consideran esto una mala cosa.
5506 Esa información, incluso para las clases estándar como
5510 , está almacenada en 'archivos de formato (
5515 De igual manera \SpecialChar LyX
5516 no sabe gran cosa sobre DocBook o XHTML.
5517 Esa información está en los archivos de formato.
5520 \begin_layout Standard
5521 El archivo de formato para una determinada clase de documento se puede considera
5522 r como un manual de instrucciones para traducir las estructuras de \SpecialChar LyX
5524 y sus estilos, ciertos tipos de recuadros, etc.— a las estructuras correspondien
5525 tes de \SpecialChar LaTeX
5527 Por ejemplo, casi todo lo que \SpecialChar LyX
5529 \begin_inset Flex Code
5532 \begin_layout Plain Layout
5538 está contenido en el archivo
5539 \begin_inset Flex Code
5542 \begin_layout Plain Layout
5548 y en otros archivos incluidos en este.
5549 Por esta razón, quien intente escribir archivos de formato debería empezar
5550 por estudiar los archivos existentes.
5551 Un buen sitio para empezar es
5552 \begin_inset Flex Code
5555 \begin_layout Plain Layout
5561 , que está incluido en
5562 \begin_inset Flex Code
5565 \begin_layout Plain Layout
5572 \begin_inset Flex Code
5575 \begin_layout Plain Layout
5581 y muchos otros archivos de formato para clases de documento.
5582 En este archivo se definen las secciones y demás:
5583 \begin_inset Flex Code
5586 \begin_layout Plain Layout
5592 indica a \SpecialChar LyX
5593 como traducir los párrafos con estilos como Sección, Subsección,
5594 etc., a los comandos y etiquetas correspondientes en \SpecialChar LaTeX
5597 \begin_inset Flex Code
5600 \begin_layout Plain Layout
5606 solo incluye, básicamente, varios de estos archivos
5607 \begin_inset Flex Code
5610 \begin_layout Plain Layout
5619 \begin_layout Standard
5620 Pero definir la correspondencia \SpecialChar LyX
5622 no es lo único que hacen los archivos
5624 Su otra tarea es definir cómo aparecerán en pantalla las estructuras de
5627 El hecho de que los archivos de formato tengan estas dos tareas es a veces
5628 fuente de confusión, porque son totalmente independientes.
5629 Indicar a \SpecialChar LyX
5630 cómo traducir cierto estilo de párrafo a \SpecialChar LaTeX
5631 no le dice cómo mostrarlo
5632 en pantalla; a la inversa, indicar cómo mostrar en pantalla un estilo de
5633 párrafo no tiene nada que ver con su traducción a \SpecialChar LaTeX
5634 (solo permite indicar
5635 a \SpecialChar LaTeX
5637 Así pues, en general, cuando defines una nueva construcción en \SpecialChar LyX
5639 tienes que hacer dos cosas: 1) indicar la traducción a \SpecialChar LaTeX
5641 presentación en pantalla.
5644 \begin_layout Standard
5645 Gran parte de lo dicho es cierto, también, en relación con otros formatos
5646 de salida, aunque XHTML es un poco diferente porque en este caso \SpecialChar LyX
5651 , en cierta medida, de usar la información de la presentación de un párrafo
5652 en pantalla para generar la presentación (en forma de CSS) del párrafo
5654 Incluso en este caso, no obstante, la distinción entre lo que hace \SpecialChar LyX
5656 e y la forma en que las cosas se muestran externamente sigue en vigor, y
5657 ambas se pueden controlar separadamente.
5659 \begin_inset CommandInset ref
5661 reference "sec:Etiquetas-para-XHTML"
5668 \begin_layout Section
5669 Instalación de nuevos archivos \SpecialChar LaTeX
5673 \begin_layout Standard
5674 Algunas instalaciones quizá no incluyan un paquete \SpecialChar LaTeX
5675 que te gustaría usar
5678 Por ejemplo, podrías necesitar Foil\SpecialChar TeX
5679 , un paquete para preparar transparencias
5680 o diapositivas para proyectores.
5681 Las modernas distribuciones de \SpecialChar LaTeX
5682 como \SpecialChar TeX
5683 Live (2008 o posterior) o MiK\SpecialChar TeX
5685 una interfaz de usuario para eso.
5686 Por ejemplo, en MiK\SpecialChar TeX
5688 \begin_inset Quotes cld
5691 Administrador de paquetes
5692 \begin_inset Quotes crd
5695 para obtener una lista de los disponibles.
5696 Para instalar uno, haz clic derecho sobre él o usa el botón de la herramienta
5700 \begin_layout Standard
5701 Si tu distribución \SpecialChar LaTeX
5703 \begin_inset Quotes cld
5706 administrador de paquetes
5707 \begin_inset Quotes crd
5710 , o si el paquete no está disponible en ella, sigue los siguientes pasos
5711 para instalarlo manualmente:
5714 \begin_layout Enumerate
5715 Consigue el paquete de
5716 \begin_inset CommandInset href
5719 target "http://www.ctan.org/"
5727 \begin_layout Enumerate
5728 Si el paquete contiene un archivo con la extensión
5729 \begin_inset Quotes cld
5733 \begin_inset Flex Code
5736 \begin_layout Plain Layout
5743 \begin_inset Quotes crd
5746 (es el caso de Foil\SpecialChar TeX
5747 ) abre una consola, cambia a la carpeta del archivo
5748 y ejecuta el comando
5749 \begin_inset Flex Code
5752 \begin_layout Plain Layout
5759 Así desempaquetamos y disponemos de todos los archivos para instalar.
5760 La mayoría de paquetes \SpecialChar LaTeX
5761 no están empaquetados y podemos saltar este paso.
5764 \begin_layout Enumerate
5765 Tienes que decidir si el paquete estará disponible para todos los usuarios
5770 \begin_layout Enumerate
5771 En sistemas *nix (Linux, OSX, etc.), si el paquete va estar disponible para
5772 todos los usuarios del sistema, hay que instalarlo en el árbol 'local'
5774 , de lo contrario instálalo en tu directorio \SpecialChar TeX
5776 La ubicación de estos árboles, si no existen ya, depende del sistema.
5777 Para encontrarlos mira en el archivo
5778 \begin_inset Flex Code
5781 \begin_layout Plain Layout
5791 \begin_layout Plain Layout
5792 Usualmente es el directorio
5796 , aunque se puede ejecutar el comando
5797 \begin_inset Flex Code
5800 \begin_layout Plain Layout
5811 La ubicación del árbol `local' de \SpecialChar TeX
5812 está definida por la variable
5813 \begin_inset Flex Code
5816 \begin_layout Plain Layout
5822 ; generalmente algo como
5824 /usr/local/share/texmf/
5826 o /usr/local/texlive/XXXX donde XXXX es el año de la distribución \SpecialChar TeX
5829 La ubicación del árbol `user' de \SpecialChar TeX
5831 \begin_inset Flex Code
5834 \begin_layout Plain Layout
5845 \begin_inset Flex Code
5848 \begin_layout Plain Layout
5857 (Si estas variables no están predefinidas, debes hacerlo.) Probablemente
5858 necesites permiso de administrador para crear o modificar el árbol `local',
5859 pero no para el árbol `user'.
5860 \begin_inset Newline newline
5863 En general, es recomendable instalar en el árbol `user' porque no será modificad
5864 o o sobrescrito al actualizar el sistema.
5865 Además, se guardará copia de él cuando hagas copia de seguridad de tu directori
5866 o `home' (que debe ser lo habitual).
5869 \begin_layout Enumerate
5870 En Windows, para que el nuevo paquete esté disponible a todos los usuarios,
5871 cambia a la carpeta donde está instalado \SpecialChar LaTeX
5880 , (En MiK\SpecialChar TeX
5894 ) crea una nueva carpeta
5895 \begin_inset Flex Code
5898 \begin_layout Plain Layout
5904 y copia en ella todos los archivos del paquete.
5905 Para hacer el paquete disponible solo a un usuario o si no dispones de
5906 permisos, haz lo mismo pero en el directorio de \SpecialChar LaTeX
5908 \begin_inset space \thinspace{}
5911 ej., en MiK\SpecialChar TeX
5913 \begin_inset space ~
5917 \begin_inset Newline newline
5924 Documents and Settings
5931 \begin_inset Newline newline
5935 \begin_inset Phantom HPhantom
5938 \begin_layout Plain Layout
5956 \begin_inset Newline newline
5960 \begin_inset Newline newline
5988 \begin_layout Enumerate
5989 Ahora hay que decir a \SpecialChar LaTeX
5990 que hay archivos nuevos.
5991 Esto depende de la distribución de \SpecialChar LaTeX
5996 \begin_layout Enumerate
5997 Para \SpecialChar TeX
5998 Live ejecuta el comando
5999 \begin_inset Flex Code
6002 \begin_layout Plain Layout
6009 Si el paquete se instaló para todos los usuarios harán falta permisos de
6013 \begin_layout Enumerate
6014 Para MiK\SpecialChar TeX
6015 , si el paquete se instaló para todos los usuarios, inicia el programa
6017 \begin_inset Quotes eld
6021 \begin_inset space ~
6025 \begin_inset Quotes erd
6029 \begin_inset Quotes eld
6033 \begin_inset Quotes erd
6037 Si no, inicia el programa
6038 \begin_inset Quotes eld
6042 \begin_inset Quotes erd
6049 \begin_layout Enumerate
6050 Finalmente, hay que decir a \SpecialChar LyX
6051 que hay nuevos paquetes disponibles.
6053 \begin_inset Flex Noun
6056 \begin_layout Plain Layout
6057 Herramientas\SpecialChar menuseparator
6063 y reinicia \SpecialChar LyX
6067 \begin_layout Standard
6068 Ya está instalado el paquete.
6069 En nuestro ejemplo, la clase de documento
6070 \begin_inset Flex Code
6073 \begin_layout Plain Layout
6075 \begin_inset space ~
6083 estará ahora disponible en
6084 \begin_inset Flex Noun
6087 \begin_layout Plain Layout
6088 Documento\SpecialChar menuseparator
6089 Configuración\SpecialChar menuseparator
6091 \begin_inset space ~
6095 \begin_inset space ~
6107 \begin_layout Standard
6108 Si quieres usar una clase de documento \SpecialChar LaTeX
6109 que no aparece listada en
6110 \begin_inset Flex Noun
6113 \begin_layout Plain Layout
6114 Documento\SpecialChar menuseparator
6115 Configuración\SpecialChar menuseparator
6117 \begin_inset space ~
6121 \begin_inset space ~
6129 , debes crear un archivo de formato (`layout') para ella.
6130 Este es el tema de la sección siguiente.
6133 \begin_layout Section
6134 Tipos de archivos de formato
6137 \begin_layout Standard
6138 Esta sección describe los diversos tipos de arhivos de \SpecialChar LyX
6139 que contienen informació
6142 \begin_inset Flex Code
6145 \begin_layout Plain Layout
6151 describen estilos de párrafo y de carácter, y determinan cómo los debería
6152 presentar \SpecialChar LyX
6153 y cómo deberían traducirse a \SpecialChar LaTeX
6154 , DocBook, XHTML o cualquier otro
6155 formato de salida que se vaya a usar.
6159 \begin_layout Standard
6160 Intentaremos aquí dar una minuciosa descripción del proceso; sin embargo,
6161 hay tantos tipos diferentes de documentos soportados por clases de \SpecialChar LaTeX
6163 no podemos aspirar a tratar todas las distintas posibilidades o problemas
6164 que puedas encontrar.
6165 La lista de usuarios de \SpecialChar LyX
6166 es frecuentada por gente con mucha experiencia
6167 en el diseño de formatos deseosa de compartir sus conocimientos.
6170 \begin_layout Standard
6171 Cuando te pongas a escribir un nuevo formato, es de gran ayuda echar un
6172 vistazo a los formatos de ejemplo suministrados con \SpecialChar LyX
6174 Si escribes un `layout' de \SpecialChar LyX
6175 para una clase de documento \SpecialChar LaTeX
6177 podría ser útil también a otros, no dudes en compartir tu labor enviándola
6179 \begin_inset CommandInset href
6181 name "sección 'Layouts' en wiki LyX"
6182 target "http://wiki.lyx.org/Layouts/Layouts"
6187 o incluso a la lista de desarrolladores de \SpecialChar LyX
6188 para poderlo incluir en la
6193 \begin_layout Plain Layout
6194 Hay que advertir que \SpecialChar LyX
6195 se acoge a la licencia GPL, por tanto cualquier material
6196 aportado debe tener la misma licencia.
6204 \begin_layout Subsection
6206 \begin_inset CommandInset label
6208 name "subsec:Módulos-de-formato"
6215 \begin_layout Standard
6216 Hemos hablado hasta ahora de `archivos de formato'.
6217 Pero hay distintos tipos de archivos con información sobre formatos.
6218 Estrictamente, los archivos de formato tienen la extensión
6219 \begin_inset Flex Code
6222 \begin_layout Plain Layout
6228 y proporcionan a \SpecialChar LyX
6229 información sobre las clases de documento.
6230 Sin embargo, a partir de \SpecialChar LyX
6231 1.6, esta información puede proporcionarse también
6236 , que tienen la extensión
6237 \begin_inset Flex Code
6240 \begin_layout Plain Layout
6247 Los módulos son a los paquetes \SpecialChar LaTeX
6248 lo que los formatos a las clases \SpecialChar LaTeX
6250 módulos —como el módulo Notas finales— dan soporte específico a un paquete
6251 determinado —en este caso
6252 \begin_inset Flex Code
6255 \begin_layout Plain Layout
6262 En cierto sentido, los módulos de formato son similares a los `archivos
6267 \begin_layout Plain Layout
6268 Estos pueden tener cualquier extensión pero, por convenio, se usa la extensión
6270 \begin_inset Flex Code
6273 \begin_layout Plain Layout
6285 \begin_inset Flex Code
6288 \begin_layout Plain Layout
6294 —, ya que, como estos, los módulos no son específicos para una clase de
6295 documento dada, sino que se pueden usar con muchos formatos diferentes.
6296 La diferencia es que el uso de un archivo incluido con
6297 \begin_inset Flex Code
6300 \begin_layout Plain Layout
6306 requiere editar dicho archivo, mientras que los módulos se seleccionan
6308 \begin_inset Flex Noun
6311 \begin_layout Plain Layout
6312 Documento\SpecialChar menuseparator
6322 \begin_layout Standard
6323 La construcción de módulos es la forma más fácil de iniciarse en la edición
6324 del formato, puesto que puede ser tan sencillo como añadir un nuevo estilo
6325 de párrafo o un recuadro flexible.
6326 No obstante, los módulos pueden, en principio, contener cualquier cosa
6327 que pueda contener un archivo `layout'.
6330 \begin_layout Standard
6331 Después de crear un módulo nuevo y copiarlo en la carpeta
6332 \begin_inset Flex Code
6335 \begin_layout Plain Layout
6341 , tendrás que reconfigurar \SpecialChar LyX
6342 y reiniciar después para que el módulo aparezca
6344 Sin embargo, los cambios que hagas al módulo se verán inmediatamente si
6346 \begin_inset Flex Noun
6349 \begin_layout Plain Layout
6350 Documento\SpecialChar menuseparator
6356 , seleccionas lo que sea y después pulsas
6357 \begin_inset Quotes cld
6361 \begin_inset Quotes crd
6367 Es muy recomendable guardar el trabajo antes de hacer eso.
6372 es muy recomendable no intentar editar los módulos mientras se está trabajando
6373 simultáneamente en un documento
6376 Aunque los desarrolladores, por supuesto, se esfuerzan en mantener la estabilid
6377 ad de \SpecialChar LyX
6378 en estas situaciones, errores sintácticos y similares en el archivo
6379 del módulo podrían causar extraños comportamientos.
6382 \begin_layout Subsubsection
6386 \begin_layout Standard
6387 Los módulos son a \SpecialChar LyX
6388 lo que los paquetes a \SpecialChar LaTeX
6390 Sin embargo, a veces puede suceder que necesites un recuadro específico
6391 o un estilo de carácter solo para un documento, y escribir un módulo que
6392 estará disponible también para otros documentos tiene poco sentido.
6393 En estos casos, lo que necesitas es el
6394 \begin_inset Quotes cld
6398 \begin_inset Quotes crd
6405 \begin_layout Standard
6408 Documento\SpecialChar menuseparator
6409 Configuración\SpecialChar menuseparator
6413 El gran cuadro de texto permite introducir todo lo que podría incluirse
6414 en un archivo de formato o en un módulo.
6415 De hecho, el formato local de un documento se puede considerar como un
6416 módulo que le pertenece solo a él.
6417 Por tanto, en particular, hay que introducir una etiqueta
6418 \begin_inset Flex Code
6421 \begin_layout Plain Layout
6428 Cualquier formato es aceptable, pero debería usarse normalmente el actual
6430 (En \SpecialChar LyX
6431 2.2 el formato actual es 60).
6434 \begin_layout Standard
6435 Una vez introducido algo en el panel
6436 \begin_inset Flex Code
6439 \begin_layout Plain Layout
6447 \begin_inset Quotes cld
6451 \begin_inset Quotes crd
6455 Pulsando ese botón \SpecialChar LyX
6456 determinará si lo introducido es información válida
6457 para el formato elegido.
6459 informará del resultado pero, desafortunadamente, no indicará qué errores
6460 pudiera haber habido.
6461 Sin embargo, si \SpecialChar LyX
6462 se ha arrancado en una terminal se verán ahí los errores.
6463 El formato local no se podrá guardar hasta que se haya introducido algo
6467 \begin_layout Standard
6468 Las advertencias al final de la sección anterior se aplican también aquí.
6469 Es mejor no enredar con formato local mientras se está trabajando, especialment
6470 e si no se ha guardado el documento.
6471 Dicho esto, usar formato local en un documento de prueba puede ser una
6472 forma muy conveniente de probar ideas de formato, o incluso de empezar
6473 a desarrollar un módulo.
6476 \begin_layout Subsection
6477 Formato para archivos
6478 \begin_inset Flex Noun
6481 \begin_layout Plain Layout
6490 \begin_layout Standard
6491 Probablemente te vas a encontrar con dos situaciones a la hora de querer
6492 soportar una nueva clase de documento \SpecialChar LaTeX
6493 , según se trate de archivos de estilo
6495 \begin_inset Flex Code
6498 \begin_layout Plain Layout
6504 ) o de archivos de clases \SpecialChar LaTeX2e
6506 \begin_inset Flex Code
6509 \begin_layout Plain Layout
6516 Dar soporte a un nuevo estilo es bastante fácil.
6517 Dar soporte a una nueva clase es un poco más difícil.
6518 Trataremos el primer caso en esta sección y el otro en la siguiente.
6519 Lo mismo cabe decir, por supuesto, para el soporte de un nuevo DocBook
6523 \begin_layout Standard
6524 El caso más sencillo es aquel en el que la nueva clase de documento se suministr
6525 a como archivo de estilo que se usará conjuntamente con una clase ya soportada.
6526 Para nuestro ejemplo supondremos que el archivo de estilo se llama
6527 \begin_inset Flex Noun
6530 \begin_layout Plain Layout
6536 y que se usará conjuntamente con
6537 \begin_inset Flex Noun
6540 \begin_layout Plain Layout
6546 , que es una clase estándar.
6549 \begin_layout Standard
6550 Empieza por copiar el archivo `layout' existente en tu directorio local:
6554 \begin_layout Plain Layout
6555 Evidentemente, cuál es tu directorio local variará según la plataforma,
6556 y además \SpecialChar LyX
6557 permite especificarlo al inicio usando la opción
6558 \begin_inset Flex Code
6561 \begin_layout Plain Layout
6575 \begin_layout LyX-Code
6576 cp report.layout ~/.lyx/layouts/myclass.layout
6579 \begin_layout Standard
6581 \begin_inset Flex Code
6584 \begin_layout Plain Layout
6593 \begin_layout LyX-Code
6596 DeclareLaTeXClass{report}
6599 \begin_layout Standard
6603 \begin_layout LyX-Code
6606 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
6609 \begin_layout Standard
6613 \begin_layout LyX-Code
6615 \begin_inset Newline newline
6621 \begin_inset Newline newline
6627 \begin_layout Standard
6628 cerca del principio del archivo.
6631 \begin_layout Standard
6632 Inicia \SpecialChar LyX
6634 \begin_inset Flex Noun
6637 \begin_layout Plain Layout
6638 Herramientas\SpecialChar menuseparator
6645 Después reinicia \SpecialChar LyX
6646 y haz una prueba con un documento nuevo.
6648 \begin_inset Flex Noun
6651 \begin_layout Plain Layout
6652 Documento\SpecialChar menuseparator
6659 \begin_inset Quotes cld
6663 \begin_inset Flex Noun
6666 \begin_layout Plain Layout
6673 \begin_inset Quotes crd
6676 en la lista de clases de documento.
6677 Es probable que algunos de los comandos de secciones y demás en tu nueva
6678 clase funcionen de distinta manera a como lo hacen en la clase estándar
6680 \begin_inset Flex Code
6683 \begin_layout Plain Layout
6689 en este ejemplo—, de modo que si quieres, ahora puedes enredar un rato
6690 con los ajustes de las distintas secciones.
6691 La información del formato de las secciones se encuentra en
6692 \begin_inset Flex Code
6695 \begin_layout Plain Layout
6701 , pero no necesitas copiar ni cambiar este archivo.
6702 Simplemente añade tus cambios a tu archivo `layout' después de la línea
6704 \begin_inset Flex Code
6707 \begin_layout Plain Layout
6714 \begin_inset Flex Code
6717 \begin_layout Plain Layout
6724 Por ejemplo, podrías añadir estas líneas:
6727 \begin_layout LyX-Code
6731 \begin_layout LyX-Code
6735 \begin_layout LyX-Code
6739 \begin_layout LyX-Code
6743 \begin_layout LyX-Code
6747 \begin_layout Standard
6748 para cambiar la tipografía de los encabezados de capítulo a sans-serif.
6749 Esto sobrescribirá (o, en este caso, añadirá) la declaración para el estilo
6754 \begin_layout Standard
6755 Tu nuevo paquete puede proporcionar además comandos o entornos no presentes
6757 En este caso, los añadirás al archivo `layout'.
6759 \begin_inset space ~
6763 \begin_inset CommandInset ref
6765 reference "sec:Estructura-del-archivo-layout"
6769 para información sobre cómo hacerlo.
6772 \begin_layout Standard
6774 \begin_inset Flex Noun
6777 \begin_layout Plain Layout
6783 se puede usar con diferentes clases de documento, e incluso si no es así,
6784 lo más sencillo sería escribir un módulo que puedes cargar con la clase
6786 El módulo más simple posible podría ser:
6789 \begin_layout LyX-Code
6792 DeclareLyXModule{My Package}
6795 \begin_layout LyX-Code
6799 \begin_layout LyX-Code
6800 #Support for mypkg.sty.
6803 \begin_layout LyX-Code
6805 \begin_inset Newline newline
6811 \begin_layout LyX-Code
6813 \begin_inset Newline newline
6819 \begin_layout LyX-Code
6821 \begin_inset Newline newline
6827 \begin_inset Newline newline
6833 \begin_layout Standard
6834 Un módulo más complejo podría modificar el comportamiento de alguna estructura
6835 ya existente o definir algunas nuevas.
6836 De nuevo te remitimos a sección
6837 \begin_inset space ~
6841 \begin_inset CommandInset ref
6843 reference "sec:Estructura-del-archivo-layout"
6850 \begin_layout Subsection
6851 Formato para archivos
6852 \begin_inset Flex Noun
6855 \begin_layout Plain Layout
6864 \begin_layout Standard
6865 En este caso hay dos opciones.
6866 Una, que el archivo de clase esté él mismo basado en una clase de documento
6868 Por ejemplo, muchas clases de tesis están basadas en
6869 \begin_inset Flex Noun
6872 \begin_layout Plain Layout
6879 Para ver si el tuyo lo está, busca una línea parecida a
6882 \begin_layout LyX-Code
6888 \begin_layout Standard
6890 Si está, entonces puedes proceder en gran parte como en la sección anterior,
6891 aunque la línea Declare\SpecialChar LaTeX
6892 Class será diferente.
6893 Si tu nueva clase es tesis y está basada en book, la línea debería poner:
6897 \begin_layout Plain Layout
6898 Y será mucho más fácil si guardas el archivo como
6899 \begin_inset Flex Code
6902 \begin_layout Plain Layout
6909 supone que la clase de documento tiene el mismo nombre que el archivo
6919 \begin_layout LyX-Code
6922 DeclareLaTeXClass[thesis,book]{thesis}
6925 \begin_layout Standard
6926 Si, por el contrario, la nueva clase no está basada en una ya existente,
6927 probablemente tendrás que ir pensando en tu propio formato.
6928 Recomendamos firmemente copiar un archivo de formato existente que use
6929 una clase de \SpecialChar LaTeX
6930 parecida y modificarlo, si es posible.
6931 O al menos, usa un archivo existente como punto de partida para ver qué
6932 items son los que te deben preocupar.
6933 Los detalles se discuten a continuación.
6936 \begin_layout Subsection
6937 Creación de plantillas
6938 \begin_inset CommandInset label
6940 name "subsec:Creación-de-plantillas"
6947 \begin_layout Standard
6948 Una vez escrito un archivo de formato para una clase nueva de documento,
6949 podrías pensar en escribir además una
6954 Una plantilla funciona como una especie de tutorial para tu formato, mostrando
6955 cómo podría usarse, aunque sea con contenido irrelevante.
6956 Naturalmente, puedes echar un vistazo a las plantillas incluidas en \SpecialChar LyX
6961 \begin_layout Standard
6962 Las plantillas se crean exactamente igual que un documento normal: usando
6965 La única diferencia es que los documentos corrientes tienen todos los ajustes
6966 posibles, incluso el esquema de tipografías y el tamaño del papel.
6967 Generalmente, un usuario no desea que una plantilla sobrescriba sus ajustes
6968 preferidos para dichos parámetros.
6969 Por esta razón, el diseñador de una plantilla debería quitar comandos como
6971 \begin_inset Flex Code
6974 \begin_layout Plain Layout
6983 \begin_inset Flex Code
6986 \begin_layout Plain Layout
6994 de los archivos de plantillas de \SpecialChar LyX
6996 Esto se puede hacer con cualquier editor de texto sencillo, por ejemplo
6998 \begin_inset Flex Code
7001 \begin_layout Plain Layout
7008 \begin_inset Flex Code
7011 \begin_layout Plain Layout
7021 \begin_layout Standard
7022 Los archivos editados de plantillas que has creado se ubican en
7023 \begin_inset Flex Code
7026 \begin_layout Plain Layout
7032 , copia los que uses del directorio global de plantillas en
7033 \begin_inset Flex Code
7036 \begin_layout Plain Layout
7043 al mismo sitio y redefine la ruta a las plantillas en el diálogo
7044 \begin_inset Flex Noun
7047 \begin_layout Plain Layout
7048 Herramientas\SpecialChar menuseparator
7049 Preferencias\SpecialChar menuseparator
7058 \begin_layout Standard
7059 De paso advertiremos que hay una plantilla,
7060 \begin_inset Flex Code
7063 \begin_layout Plain Layout
7069 , que tiene un papel especial: esta plantilla se carga cada vez que abres
7070 un documento nuevo con
7071 \begin_inset Flex Noun
7074 \begin_layout Plain Layout
7075 Archivo\SpecialChar menuseparator
7081 , con el fin de proporcionar ajustes predeterminados por omisión.
7082 Para (re)crear esta plantilla desde dentro de \SpecialChar LyX
7083 , lo que debes hacer es abrir
7084 un documento, establecer los ajustes deseados y usar el botón
7085 \begin_inset Flex Noun
7088 \begin_layout Plain Layout
7089 Guardar como predeterminados
7097 \begin_layout Subsection
7098 Actualización de antiguos archivos de formato
7101 \begin_layout Standard
7102 El formato de los archivos de formato cambia con cada nueva versión de \SpecialChar LyX
7104 de modo que los antiguos archivos de formato deben ser convertidos.
7106 lee un archivo de formato con formato antiguo lanzará la herramienta
7108 \begin_inset Flex Code
7111 \begin_layout Plain Layout
7117 , que lo convierte a un archivo temporal con el formato actual.
7118 El archivo original se deja sin tocar.
7119 Si lo usas a menudo y lo quieres convertir permanentemente para evitar
7120 que \SpecialChar LyX
7121 tenga que hacerlo cada vez, ejecuta el convertidor a mano:
7124 \begin_layout Enumerate
7126 \begin_inset Flex Code
7129 \begin_layout Plain Layout
7136 \begin_inset Flex Code
7139 \begin_layout Plain Layout
7148 \begin_layout Enumerate
7150 \begin_inset Newline newline
7154 \begin_inset Flex Code
7157 \begin_layout Plain Layout
7158 python \SpecialChar LyX
7159 Dir/scripts/layout2layout.py myclass.old myclass.layout
7165 \begin_inset Newline newline
7169 \begin_inset Flex Code
7172 \begin_layout Plain Layout
7179 es el nombre de tu directorio \SpecialChar LyX
7183 \begin_layout Standard
7184 La conversión manual no puede manejar archivos incluidos, así que estos
7185 tendrán que convertirse separadamente.
7188 \begin_layout Subsection
7191 \begin_inset CommandInset label
7193 name "subsec:Cite-Engine-Files"
7200 \begin_layout Standard
7203 A specific form of layout files are the so-called
7204 \begin_inset Flex Code
7207 \begin_layout Plain Layout
7215 files that are located in the
7216 \begin_inset Flex Code
7219 \begin_layout Plain Layout
7228 Their purpose is to define the specifics of \SpecialChar LaTeX
7229 packages aimed at bibliography
7242 , but also the way how normal Bib\SpecialChar TeX
7243 citations (without additional packages)
7244 are handled in \SpecialChar LyX
7245 is defined in such a file.
7249 \begin_layout Standard
7252 More specifically, it is defined which packages \SpecialChar LyX
7253 needs to load, which citation
7254 commands are available, how these are to be displayed in \SpecialChar LyX
7256 the dialogs, the context menus) as well as in the XHTML and plain text
7258 Furthermore, the files specify available style variants (author-year, numerical
7259 , etc.) and their specifics.
7260 The cite engine files are also used to generate the options that are available
7263 Document\SpecialChar menuseparator
7264 Settings\SpecialChar ldots
7265 \SpecialChar menuseparator
7266 Bibliography\SpecialChar menuseparator
7272 \begin_layout Standard
7275 Even though a cite engine file is essentially a normal layout file that
7276 could theoretically include any layout information, it usually primarily
7277 includes some specific parameters such as
7278 \begin_inset Flex Code
7281 \begin_layout Plain Layout
7290 \begin_inset Flex Code
7293 \begin_layout Plain Layout
7302 \begin_inset Flex Code
7305 \begin_layout Plain Layout
7314 \begin_inset Flex Code
7317 \begin_layout Plain Layout
7326 The syntax of the latter two is described in
7327 \begin_inset CommandInset ref
7329 reference "subsec:Citation-engine-description"
7337 \begin_inset CommandInset ref
7339 reference "subsec:Citation-format-description"
7343 , as well as in the files themselves.
7346 \begin_layout Section
7347 Estructura del archivo `layout'
7348 \begin_inset CommandInset label
7350 name "sec:Estructura-del-archivo-layout"
7357 \begin_layout Standard
7358 Ha llegado por fin el momento de ponerte manos a la obra y crear o editar
7359 tu propio archivo de formato; las siguientes secciones describen aquello
7360 a lo que te vas a enfrentar.
7361 Nuestro consejo es ir despacito, probando y guardando a menudo.
7362 En realidad no es para tanto, pero la multitud de opciones puede llegar
7363 a abrumarte si intentas hacer muchas cosas a la vez.
7364 Resulta más sencillo usar formatos existentes de \SpecialChar LyX
7365 como ejemplo o referencia
7366 y modificarlos según tus necesidades.
7369 \begin_layout Standard
7370 Todos los rótulos o etiquetas en los archivos de formato son insensibles
7371 a las mayúsculas; esto significa que
7372 \begin_inset Flex Code
7375 \begin_layout Plain Layout
7382 \begin_inset Flex Code
7385 \begin_layout Plain Layout
7392 \begin_inset Flex Code
7395 \begin_layout Plain Layout
7401 son el mismo comando.
7402 Los valores posibles se imprimen entre corchetes detrás del nombre de la
7404 Si en una descripción de una clase de texto no se especifica una característica
7405 , el valor por omisión se escribe en estilo
7406 \begin_inset Flex Code
7409 \begin_layout Plain Layout
7418 Si el argumento tiene un tipo de dato como
7419 \begin_inset Quotes cld
7423 \begin_inset Quotes crd
7427 \begin_inset Quotes cld
7431 \begin_inset Quotes crd
7434 , el valor por omisión se muestra de esta manera:
7435 \begin_inset Flex Code
7438 \begin_layout Plain Layout
7449 \begin_layout Subsection
7450 Declaración de la clase de documento y clasificación
7453 \begin_layout Standard
7454 Las líneas de un archivo de formato que empiezan con
7455 \begin_inset Flex Code
7458 \begin_layout Plain Layout
7465 Hay una excepción a esta regla: todos los formatos deben comenzar con líneas
7469 \begin_layout LyX-Code
7472 #% Do not delete the line below; configure depends on this
7476 \begin_layout Plain Layout
7480 \begin_inset space \thinspace{}
7485 : No borrar la línea siguiente; la configuración depende de ella
7493 \begin_layout LyX-Code
7498 DeclareLaTeXClass{Article (Standard Class)}
7501 \begin_layout LyX-Code
7506 DeclareCategory{Articles}
7509 \begin_layout Standard
7510 La segunda y tercera líneas se usan en la (re)configuración de \SpecialChar LyX
7512 El archivo `layout' es leido por el guión de \SpecialChar LaTeX
7514 \begin_inset Flex Code
7517 \begin_layout Plain Layout
7523 de un modo especial tal que
7524 \begin_inset Flex Code
7527 \begin_layout Plain Layout
7534 La primera línea es solo un comentario, la segunda contiene la declaración
7535 obligatoria de la clase de texto y la tercera línea contiene la clasificación
7536 opcional de la clase.
7537 Si estas líneas aparecen en un archivo llamado
7538 \begin_inset Flex Code
7541 \begin_layout Plain Layout
7547 , entonces definen una clase de texto de nombre
7548 \begin_inset Flex Code
7551 \begin_layout Plain Layout
7557 (el nombre del archivo de formato) que usa la clase de documento \SpecialChar LaTeX
7559 \begin_inset Flex Code
7562 \begin_layout Plain Layout
7568 (por omisión se usa el mismo nombre para ambos).
7570 \begin_inset Quotes cld
7573 Article (Standard Class)
7574 \begin_inset Quotes crd
7577 se utiliza como descripción de la clase de texto y es la que aparece en
7579 \begin_inset Flex Noun
7582 \begin_layout Plain Layout
7583 Documento\SpecialChar menuseparator
7591 \begin_inset Quotes cld
7595 \begin_inset Quotes crd
7598 en el ejemplo) también se usa en el diálogo
7599 \begin_inset Flex Noun
7602 \begin_layout Plain Layout
7603 Documento\SpecialChar menuseparator
7609 : las clases de texto se agrupan por estas categorías (generalmente son
7610 géneros, así son categorías típicas
7611 \begin_inset Quotes cld
7615 \begin_inset Quotes crd
7619 \begin_inset Quotes cld
7623 \begin_inset Quotes crd
7627 \begin_inset Quotes cld
7631 \begin_inset Quotes crd
7635 \begin_inset Quotes cld
7639 \begin_inset Quotes crd
7643 \begin_inset Quotes cld
7647 \begin_inset Quotes crd
7651 \begin_inset Quotes cld
7655 \begin_inset Quotes crd
7659 Si no se ha declarado categoría la clase se pondrá en el grupo
7660 \begin_inset Quotes cld
7664 \begin_inset Quotes crd
7670 \begin_layout Standard
7671 Supongamos que has escrito tu propia clase de texto, que utiliza la clase
7673 \begin_inset Flex Code
7676 \begin_layout Plain Layout
7682 , pero en la que has cambiado el aspecto de los encabezados de sección.
7683 Si lo pones en un archivo
7684 \begin_inset Flex Code
7687 \begin_layout Plain Layout
7693 , la cabecera de este archivo debería ser:
7696 \begin_layout LyX-Code
7699 #% Do not delete the line below; configure depends on this
7702 \begin_layout LyX-Code
7707 DeclareLaTeXClass[article]{Article (con Mis Encabezados)}
7710 \begin_layout LyX-Code
7715 DeclareCategory{Articles}
7718 \begin_layout Standard
7719 Esto declara la clase de texto
7720 \begin_inset Flex Code
7723 \begin_layout Plain Layout
7729 , asociada con la clase de documento \SpecialChar LaTeX
7731 \begin_inset Flex Code
7734 \begin_layout Plain Layout
7740 , y cuya descripción es
7741 \begin_inset Quotes cld
7744 Article (con Mis Encabezados)
7745 \begin_inset Quotes crd
7749 Si la clase de texto depende de varios paquetes, puedes declararla así:
7752 \begin_layout LyX-Code
7755 #% Do not delete the line below; configure depends on this
7758 \begin_layout LyX-Code
7763 DeclareLaTeXClass[article,foo.sty]{Article (con Mis Encabezados)}
7766 \begin_layout LyX-Code
7771 DeclareCategory{Articles}
7774 \begin_layout Standard
7775 Esto indica que la clase de texto utiliza el paquete foo.sty.
7776 Finalmente, también es posible declarar clases para código DocBook.
7777 Una declaración típica podría ser:
7780 \begin_layout LyX-Code
7783 #% Do not delete the line below; configure depends on this
7786 \begin_layout LyX-Code
7791 DeclareDocBookClass[article]{SGML (DocBook Article)}
7794 \begin_layout LyX-Code
7799 DeclareCategory{Articles}
7802 \begin_layout Standard
7803 Anotar que estas declaraciones pueden llevar también un parámetro opcional
7804 que declare el nombre de la clase de documento (pero no una lista).
7807 \begin_layout Standard
7808 Así, para ser lo más explícito posible, la forma de la declaración del formato
7812 \begin_layout LyX-Code
7817 DeclareLaTeXClass[class,package.sty]{descripción del formato}
7820 \begin_layout LyX-Code
7825 DeclareCategory{category}
7828 \begin_layout Standard
7829 La clase solo debe especificarse si el nombre de archivo de la clase \SpecialChar LaTeX
7831 el nombre de archivo del formato son diferentes; si el nombre del archivo
7832 de clase no se especifica, \SpecialChar LyX
7833 simplemente supondrá que es el mismo que el
7834 del archivo de formato.
7837 \begin_layout Standard
7838 Cuando la clase de texto se ha modificado según tus necesidades, lo que
7839 debes hacer es copiarla a
7840 \begin_inset Flex Code
7843 \begin_layout Plain Layout
7851 \begin_inset Flex Code
7854 \begin_layout Plain Layout
7861 \begin_inset Flex Noun
7864 \begin_layout Plain Layout
7865 Herramientas\SpecialChar menuseparator
7871 , y reiniciar \SpecialChar LyX
7873 Ahora la nueva clase de texto debería estar disponible junto con las demás.
7876 \begin_layout Standard
7877 Una vez instalado el `layout', puedes editarlo y ver los cambios sin tener
7878 que reconfigurar ni reiniciar \SpecialChar LyX
7884 \begin_layout Plain Layout
7885 En versiones de \SpecialChar LyX
7886 anteriores a 1.6 no era así.
7887 Como resultado, la edición de archivos de formato podía llevar mucho tiempo,
7888 pues constantemente había que reconfigurar y reiniciar.
7893 Se puede forzar la recarga del formato en uso mediante la función \SpecialChar LyX
7895 \begin_inset Flex Noun
7898 \begin_layout Plain Layout
7905 No hay atajo predeterminado para esta función —aunque por supuesto, puedes
7906 asociarle tú mismo una secuencia de teclas—.
7907 Normalmente usarás esta función introduciéndola simplemente en el
7915 \begin_layout Standard
7920 : Esto es mucho más que una
7921 \begin_inset Quotes cld
7924 característica avanzada
7925 \begin_inset Quotes crd
7933 recomendable que no intentes editar tu formato mientras estés trabajando
7934 en un documento importante.
7935 Usa un documento de prueba.
7936 Los errores sintácticos y similares en tu archivo de formato podrían provocar
7937 comportamientos extraños.
7938 En particular, tales errores podrían provocar que \SpecialChar LyX
7939 vea el formato actual
7940 como inválido e intente cambiar a algún otro.
7944 \begin_layout Plain Layout
7945 En realidad, los errores en la sintaxis pueden causar incluso el cierre
7947 , porque ciertos tipos de error pueden hacer que \SpecialChar LyX
7953 información de formato.
7954 Por favor ten cuidado.
7959 El equipo \SpecialChar LyX
7960 procura que \SpecialChar LyX
7961 se mantenga estable en estos casos, pero es mejor
7966 \begin_layout Plain Layout
7967 De todos modos, haz copias de seguridad regularmente.
7968 Y sé bueno con mamá.
7977 \begin_layout Subsection
7978 Declaración de un módulo
7981 \begin_layout Standard
7982 Un módulo debe empezar con una línea como la siguiente:
7985 \begin_layout LyX-Code
7988 DeclareLyXModule[endnotes.sty]{Endnotes}
7991 \begin_layout Standard
7992 El argumento imprescindible es, entre llaves, el nombre del módulo tal como
7994 \begin_inset Flex Noun
7997 \begin_layout Plain Layout
7998 Documento\SpecialChar menuseparator
7999 Configuración\SpecialChar menuseparator
8006 El argumento entre corchetes es opcional: declara cualesquiera paquetes
8008 de los que depende el módulo.
8009 También es posible usar la forma
8010 \begin_inset Flex Noun
8013 \begin_layout Plain Layout
8019 como argumento opcional, que declara que el módulo solo puede usarse cuando
8020 existe una cadena de conversión entre los formatos `
8021 \begin_inset Flex Code
8024 \begin_layout Plain Layout
8031 \begin_inset Flex Code
8034 \begin_layout Plain Layout
8043 \begin_layout Standard
8044 La declaración del módulo debe proseguir con líneas como las siguientes:
8048 \begin_layout Plain Layout
8049 Preferiblemente en inglés si el módulo se va a publicar en \SpecialChar LyX
8051 Esta descripción aparecerá en la lista de mensajes para ser traducidos
8052 en la siguiente actualización de la interfaz.
8060 \begin_layout LyX-Code
8064 \begin_layout LyX-Code
8065 #Adds an endnote command, in addition to footnotes.
8069 \begin_layout LyX-Code
8070 #You will need to add
8072 theendnotes in \SpecialChar TeX
8076 \begin_layout LyX-Code
8077 #want the endnotes to appear.
8081 \begin_layout LyX-Code
8085 \begin_layout LyX-Code
8086 #Requires: somemodule | othermodule
8089 \begin_layout LyX-Code
8090 #Excludes: badmodule
8093 \begin_layout Standard
8094 La descripción se usa en
8095 \begin_inset Flex Noun
8098 \begin_layout Plain Layout
8099 Documento\SpecialChar menuseparator
8100 Configuración\SpecialChar menuseparator
8106 para proporcionar al usuario información sobre las acciones del módulo.
8108 \begin_inset Flex Code
8111 \begin_layout Plain Layout
8117 sirve para identificar otros módulos con los que se debe usar este; la
8119 \begin_inset Flex Code
8122 \begin_layout Plain Layout
8128 identifica los módulos con los que este no se puede usar.
8129 Ambas son opcionales, y, como se ve, varios módulos deben separarse con
8130 el símbolo tubería: |.
8131 Anotar que los módulos requeridos se tratan de forma disyuntiva: debe usarse
8136 de los módulos requeridos.
8142 Aquí, los módulos se identifican por sus nombres de archivo sin la extensión
8144 \begin_inset Flex Code
8147 \begin_layout Plain Layout
8155 \begin_inset Flex Code
8158 \begin_layout Plain Layout
8165 \begin_inset Flex Code
8168 \begin_layout Plain Layout
8177 \begin_layout Subsection
8180 The CiteEngine file declaration
8183 \begin_layout Standard
8186 A cite engine file must begin with a line like the following:
8189 \begin_layout LyX-Code
8194 DeclareLyXCiteEngineModule[biblatex.sty]{Biblatex}
8197 \begin_layout Standard
8200 The mandatory argument, in curly brackets, is the name of the module, as
8202 \begin_inset Flex Noun
8205 \begin_layout Plain Layout
8208 Document\SpecialChar menuseparator
8209 Settings\SpecialChar menuseparator
8216 The argument in square brackets is optional: It declares any \SpecialChar LaTeX
8218 on which the cite engine depends.
8221 \begin_layout Standard
8224 The cite engine declaration should then be followed by lines like the following
8228 \begin_layout Plain Layout
8231 Preferably in English if the module should be published with \SpecialChar LyX
8233 This description will appear in the list of messages to be translated and
8234 will be thus translated with the next interface update.
8242 \begin_layout LyX-Code
8248 \begin_layout LyX-Code
8251 # Biblatex supports many author-year and numerical styles.
8254 \begin_layout LyX-Code
8257 # It is mainly aimed at the Humanities.
8261 \begin_layout LyX-Code
8264 # customizable, fully localized and provides many features
8267 \begin_layout LyX-Code
8270 # that are not possible with BibTeX.
8271 The use of 'biber' as
8274 \begin_layout LyX-Code
8277 # bibliography processor is advised.
8280 \begin_layout LyX-Code
8286 \begin_layout Standard
8289 The description is used in
8290 \begin_inset Flex Noun
8293 \begin_layout Plain Layout
8296 Document\SpecialChar menuseparator
8297 Settings\SpecialChar menuseparator
8303 to provide the user with information about the cite engine.
8306 \begin_layout Subsection
8310 \begin_layout Standard
8311 La primera línea no comentada de cualquier archivo `layout', `inc' o `module'
8316 contener el número de formato del archivo:
8319 \begin_layout Description
8320 \begin_inset Flex Code
8323 \begin_layout Plain Layout
8330 \begin_inset Flex Code
8333 \begin_layout Plain Layout
8339 ] El número de formato del archivo de formato (`layout').
8342 \begin_layout Standard
8343 Esta etiqueta se introdujo en \SpecialChar LyX
8345 \begin_inset space ~
8349 Los archivos anteriores no tienen un número explícito y se consideran como
8351 \begin_inset Flex Code
8354 \begin_layout Plain Layout
8356 \begin_inset space ~
8365 El número para la versión actual de \SpecialChar LyX
8367 Cada versión de \SpecialChar LyX
8368 es capaz de leer los formatos de versiones anteriores,
8369 de la misma forma que puede leer archivos producidos con versiones de \SpecialChar LyX
8372 Sin embargo, no está previsto convertir a formatos anteriores.
8375 \begin_layout Subsection
8376 Parámetros generales de clases de texto
8377 \begin_inset CommandInset label
8379 name "subsec:Parámetros-generales-clases"
8386 \begin_layout Standard
8387 Estos son los parámetros generales que describen completamente una clase
8393 significa que deban aparecer en archivos
8394 \begin_inset Flex Code
8397 \begin_layout Plain Layout
8403 en vez de en módulos.
8404 Un módulo puede contener cualquier etiqueta de formato).
8407 \begin_layout Description
8408 \begin_inset Flex Code
8411 \begin_layout Plain Layout
8417 Añade información para el bloque
8418 \begin_inset Flex Code
8421 \begin_layout Plain Layout
8427 cuando el documento se exporte a XHTML.
8428 Típicamente, debería usarse para exportar información de estilo CSS, aunque
8429 se puede usar para cualquier cosa que pueda aparecer en
8430 \begin_inset Flex Code
8433 \begin_layout Plain Layout
8441 \begin_inset Quotes eld
8445 \begin_inset Flex Code
8448 \begin_layout Plain Layout
8455 \begin_inset Quotes erd
8461 \begin_layout Description
8462 \begin_inset Flex Code
8465 \begin_layout Plain Layout
8471 Añade información al preámbulo del documento.
8473 \begin_inset Quotes cld
8477 \begin_inset Flex Code
8480 \begin_layout Plain Layout
8487 \begin_inset Quotes crd
8493 \begin_layout Description
8496 \begin_inset Flex Code
8499 \begin_layout Plain Layout
8507 Defines the possibilities for displaying citation references.
8509 \begin_inset CommandInset ref
8511 reference "subsec:Citation-engine-description"
8520 \begin_inset Quotes eld
8524 \begin_inset Flex Code
8527 \begin_layout Plain Layout
8536 \begin_inset Quotes erd
8540 Primarily used in cite engine files (see
8541 \begin_inset CommandInset ref
8543 reference "subsec:Cite-Engine-Files"
8553 \begin_layout Description
8554 \begin_inset Flex Code
8557 \begin_layout Plain Layout
8563 Define formatos a usar en la presentación de información bibliográfica.
8565 \begin_inset space ~
8569 \begin_inset CommandInset ref
8571 reference "subsec:Descripción-formato-cita"
8577 \begin_inset Quotes eld
8581 \begin_inset Flex Code
8584 \begin_layout Plain Layout
8591 \begin_inset Quotes erd
8597 Primarily used in cite engine files (see
8598 \begin_inset CommandInset ref
8600 reference "subsec:Cite-Engine-Files"
8610 \begin_layout Description
8613 \begin_inset Flex Code
8616 \begin_layout Plain Layout
8625 \begin_inset Flex Code
8628 \begin_layout Plain Layout
8638 \begin_inset Flex Code
8641 \begin_layout Plain Layout
8649 ] Determines whether
8653 or Bib\SpecialChar TeX
8654 is used to generate a Bibliography.
8655 Primarily used in cite engine files (see
8656 \begin_inset CommandInset ref
8658 reference "subsec:Cite-Engine-Files"
8668 \begin_layout Description
8669 \begin_inset Flex Code
8672 \begin_layout Plain Layout
8678 Describe varias opciones globales soportadas por la clase de documento.
8680 \begin_inset space ~
8684 \begin_inset CommandInset ref
8686 reference "subsec:ClassOptions"
8690 para una descripción.
8692 \begin_inset Quotes cld
8696 \begin_inset Flex Code
8699 \begin_layout Plain Layout
8706 \begin_inset Quotes crd
8712 \begin_layout Description
8713 \begin_inset Flex Code
8716 \begin_layout Plain Layout
8723 \begin_inset Flex Code
8726 \begin_layout Plain Layout
8735 \begin_inset space \thinspace{}
8739 \begin_inset Flex Code
8742 \begin_layout Plain Layout
8748 ] Establece el número de columnas por omisión.
8749 Se puede cambiar en el diálogo
8750 \begin_inset Flex Noun
8753 \begin_layout Plain Layout
8754 Documento\SpecialChar menuseparator
8763 \begin_layout Description
8764 \begin_inset Flex Code
8767 \begin_layout Plain Layout
8773 Esta secuencia define un nuevo contador.
8775 \begin_inset space ~
8779 \begin_inset CommandInset ref
8781 reference "subsec:Contadores"
8787 \begin_inset Quotes cld
8791 \begin_inset Flex Code
8794 \begin_layout Plain Layout
8801 \begin_inset Quotes crd
8807 \begin_layout Description
8808 \begin_inset Flex Code
8811 \begin_layout Plain Layout
8817 Establece la tipografía por omisión para presentar el documento.
8819 \begin_inset space ~
8823 \begin_inset CommandInset ref
8825 reference "subsec:Tipografía"
8829 para cómo declarar tipografías.
8831 \begin_inset Quotes cld
8835 \begin_inset Flex Code
8838 \begin_layout Plain Layout
8845 \begin_inset Quotes crd
8851 \begin_layout Description
8852 \begin_inset Flex Code
8855 \begin_layout Plain Layout
8862 \begin_inset Flex Code
8865 \begin_layout Plain Layout
8871 ] Especifica un módulo que se incluirá por omisión en esta clase de documento;
8872 deberá declararse por su nombre de archivo sin la extensión
8873 \begin_inset Flex Code
8876 \begin_layout Plain Layout
8883 El usuario puede, aún así, quitar el módulo, pero estará activo al principio.
8884 (Esto se aplica solo cuando se crean archivos nuevos, o si esta clase se
8885 elige para un documento existente.)
8888 \begin_layout Description
8889 \begin_inset Flex Code
8892 \begin_layout Plain Layout
8899 \begin_inset Flex Code
8902 \begin_layout Plain Layout
8908 ] Este es el estilo que será asignado a párrafos nuevos, generalmente
8909 \begin_inset Flex Noun
8912 \begin_layout Plain Layout
8919 Si no se especifica, se escogerá por omisión el primer estilo definido,
8920 pero es muy recomendable usar esta instrucción.
8923 \begin_layout Description
8924 \begin_inset Flex Code
8927 \begin_layout Plain Layout
8934 \begin_inset Flex Code
8937 \begin_layout Plain Layout
8943 ] Indica que el módulo en cuestión (que debería especificarse por el nombre
8944 de archivo sin la extensión
8945 \begin_inset Flex Code
8948 \begin_layout Plain Layout
8954 ) no puede utilizarse con esta clase de documento.
8955 Esto podría usarse en un archivo de formato específico de una publicación
8956 para, digamos, impedir el empleo del módulo
8957 \begin_inset Flex Code
8960 \begin_layout Plain Layout
8966 , que numera los teoremas y demás por secciones.
8971 puede utilizarse en un módulo.
8972 Los módulos tienen su propia forma de excluir otros módulos (véase
8973 \begin_inset space ~
8977 \begin_inset CommandInset ref
8979 reference "subsec:Módulos-de-formato"
8986 \begin_layout Description
8987 \begin_inset Flex Code
8990 \begin_layout Plain Layout
8996 Define un nuevo flotante.
8998 \begin_inset space ~
9002 \begin_inset CommandInset ref
9004 reference "subsec:Flotantes"
9010 \begin_inset Quotes cld
9014 \begin_inset Flex Code
9017 \begin_layout Plain Layout
9024 \begin_inset Quotes crd
9030 \begin_layout Description
9031 \begin_inset Flex Code
9034 \begin_layout Plain Layout
9040 Da información para el bloque
9041 \begin_inset Flex Code
9044 \begin_layout Plain Layout
9050 cuando esta clase de documento se exporte a XHTML.
9051 Advertir que esto sobrescribirá completamente cualquier declaración anterior
9053 \begin_inset Flex Code
9056 \begin_layout Plain Layout
9063 \begin_inset Flex Code
9066 \begin_layout Plain Layout
9074 \begin_inset Flex Code
9077 \begin_layout Plain Layout
9083 si solo quieres añadir material al preámbulo).
9085 \begin_inset Quotes eld
9089 \begin_inset Flex Code
9092 \begin_layout Plain Layout
9099 \begin_inset Quotes erd
9105 \begin_layout Description
9106 \begin_inset Flex Code
9109 \begin_layout Plain Layout
9116 \begin_inset Flex Code
9119 \begin_layout Plain Layout
9125 ] El estilo a usar para el índice general, bibliografía, etc., cuando el
9126 documento se exporte a HTML.
9127 Para article, normalmente será
9128 \begin_inset Flex Code
9131 \begin_layout Plain Layout
9138 \begin_inset Flex Code
9141 \begin_layout Plain Layout
9148 Si no se especifica, \SpecialChar LyX
9149 intentará deducir qué formato usar.
9152 \begin_layout Description
9153 \begin_inset Flex Code
9156 \begin_layout Plain Layout
9163 \begin_inset Flex Code
9166 \begin_layout Plain Layout
9172 ] Modifica las propiedades del contador dado.
9173 Si el contador no existe, esta sección se ignora.
9175 \begin_inset Quotes eld
9179 \begin_inset Flex Code
9182 \begin_layout Plain Layout
9189 \begin_inset Quotes erd
9193 \begin_inset Newline newline
9197 \begin_inset space ~
9201 \begin_inset CommandInset ref
9203 reference "subsec:Contadores"
9210 \begin_layout Description
9211 \begin_inset Flex Code
9214 \begin_layout Plain Layout
9221 \begin_inset Flex Code
9224 \begin_layout Plain Layout
9230 ] Permite incluir otro archivo de definición de formato en el tuyo con el
9231 fin de evitar la duplicación de comandos.
9232 Ejemplos habituales son los archivos de formatos estándar, como
9233 \begin_inset Flex Code
9236 \begin_layout Plain Layout
9242 , que contiene la mayoría de los diseños básicos.
9245 \begin_layout Description
9246 \begin_inset Flex Code
9249 \begin_layout Plain Layout
9256 \begin_inset Flex Code
9259 \begin_layout Plain Layout
9265 ] Esta sección (re)define el formato de un recuadro.
9266 Puede aplicarse a uno existente o a uno nuevo, definido por el usuario,
9268 \begin_inset space \thinspace{}
9271 e., un nuevo estilo de texto.
9273 \begin_inset space ~
9277 \begin_inset CommandInset ref
9279 reference "subsec:estilo-del-texto"
9283 para más información.
9285 \begin_inset Quotes cld
9289 \begin_inset Flex Code
9292 \begin_layout Plain Layout
9299 \begin_inset Quotes crd
9305 \begin_layout Description
9306 \begin_inset Flex Code
9309 \begin_layout Plain Layout
9316 \begin_inset Flex Code
9319 \begin_layout Plain Layout
9325 ] Una cadena que indica la anchura del margen izquierdo en la pantalla,
9327 \begin_inset Quotes cld
9331 \begin_inset Flex Code
9334 \begin_layout Plain Layout
9341 \begin_inset Quotes crd
9345 (Esto no es una `longitud', como
9346 \begin_inset Quotes cld
9350 \begin_inset Quotes crd
9356 \begin_layout Description
9359 \begin_inset Flex Code
9362 \begin_layout Plain Layout
9371 \begin_inset Flex Code
9374 \begin_layout Plain Layout
9382 ] An integer that determines the maximal number of names displayed in an
9383 author-year citation before the citation switches to
9384 \begin_inset Quotes eld
9388 \begin_inset Quotes erd
9392 Primarily used in cite engine files (see
9393 \begin_inset CommandInset ref
9395 reference "subsec:Cite-Engine-Files"
9405 \begin_layout Description
9406 \begin_inset Flex Code
9409 \begin_layout Plain Layout
9416 \begin_inset Flex Code
9419 \begin_layout Plain Layout
9425 ] Modifica las propiedades del estilo de párrafo dado.
9426 Si el estilo no existe, esta sección se ignora.
9428 \begin_inset Quotes eld
9432 \begin_inset Flex Code
9435 \begin_layout Plain Layout
9442 \begin_inset Quotes erd
9448 \begin_layout Description
9449 \begin_inset Flex Code
9452 \begin_layout Plain Layout
9459 \begin_inset Flex Code
9462 \begin_layout Plain Layout
9468 ] Este comando elimina un contador existente, generalmente uno definido
9469 en un archivo incluido.
9472 \begin_layout Description
9473 \begin_inset Flex Code
9476 \begin_layout Plain Layout
9483 \begin_inset Flex Code
9486 \begin_layout Plain Layout
9492 ] Este comando borra un flotante existente.
9493 Es particularmente útil si quieres suprimir un flotante que ha sido definido
9494 en un archivo de entrada.
9497 \begin_layout Description
9498 \begin_inset Flex Code
9501 \begin_layout Plain Layout
9508 \begin_inset Flex Code
9511 \begin_layout Plain Layout
9517 ] Este comando borra un estilo existente.
9520 \begin_layout Description
9521 \begin_inset Flex Code
9524 \begin_layout Plain Layout
9531 \begin_inset Flex Code
9534 \begin_layout Plain Layout
9540 ] El formato de archivo (tal como se define en las preferencias de \SpecialChar LyX
9543 Principalmente, es útil cuando
9544 \begin_inset Flex Code
9547 \begin_layout Plain Layout
9554 \begin_inset Flex Code
9557 \begin_layout Plain Layout
9563 y se quiere definir un nuevo tipo de documento `literate'.
9564 Esta cadena se redefine a
9565 \begin_inset Quotes cld
9569 \begin_inset Flex Code
9572 \begin_layout Plain Layout
9579 \begin_inset Quotes crd
9583 \begin_inset Quotes cld
9587 \begin_inset Flex Code
9590 \begin_layout Plain Layout
9597 \begin_inset Quotes crd
9600 si se encuentra el correspondiente parámetro
9601 \begin_inset Flex Code
9604 \begin_layout Plain Layout
9613 \begin_layout Description
9614 \begin_inset Flex Code
9617 \begin_layout Plain Layout
9624 \begin_inset Flex Code
9627 \begin_layout Plain Layout
9638 \begin_inset Flex Code
9641 \begin_layout Plain Layout
9648 \begin_inset Flex Code
9651 \begin_layout Plain Layout
9657 ] Indica qué clase de documentos de salida que usan esta clase se generarán.
9660 \begin_layout Description
9661 \begin_inset Flex Code
9664 \begin_layout Plain Layout
9671 \begin_inset Flex Code
9674 \begin_layout Plain Layout
9681 \begin_inset Flex Code
9684 \begin_layout Plain Layout
9690 ] Especifica opciones, dadas en el segundo
9694 , para el paquete nombrado en el primer
9700 \begin_inset Quotes cld
9704 \begin_inset Flex Code
9707 \begin_layout Plain Layout
9708 PackageOptions natbib square
9714 \begin_inset Quotes crd
9718 \begin_inset Flex Code
9721 \begin_layout Plain Layout
9727 se cargue con la opción
9728 \begin_inset Flex Code
9731 \begin_layout Plain Layout
9738 (Para \SpecialChar TeX
9739 pertos, esto hace que \SpecialChar LyX
9741 \begin_inset Flex Code
9744 \begin_layout Plain Layout
9747 PassOptionsToPackage{natbib}{square}
9753 \begin_inset Flex Code
9756 \begin_layout Plain Layout
9765 \begin_layout Description
9766 \begin_inset Flex Code
9769 \begin_layout Plain Layout
9776 \begin_inset Flex Code
9779 \begin_layout Plain Layout
9788 \begin_inset Flex Code
9791 \begin_layout Plain Layout
9798 \begin_inset Flex Code
9801 \begin_layout Plain Layout
9811 El estilo de página predeterminado de la clase.
9812 Puede cambiarse en el diálogo
9813 \begin_inset Flex Noun
9816 \begin_layout Plain Layout
9817 Documento\SpecialChar menuseparator
9826 \begin_layout Description
9827 \begin_inset Flex Code
9830 \begin_layout Plain Layout
9836 Establece el preámbulo \SpecialChar LaTeX
9838 Anotar que esto anulará completamente cualesquiera declaraciones
9839 \begin_inset Flex Code
9842 \begin_layout Plain Layout
9849 \begin_inset Flex Code
9852 \begin_layout Plain Layout
9860 \begin_inset Flex Code
9863 \begin_layout Plain Layout
9869 si solo quieres añadir material al preámbulo).
9871 \begin_inset Quotes cld
9875 \begin_inset Flex Code
9878 \begin_layout Plain Layout
9885 \begin_inset Quotes crd
9891 \begin_layout Description
9892 \begin_inset Flex Code
9895 \begin_layout Plain Layout
9902 \begin_inset Flex Code
9905 \begin_layout Plain Layout
9912 \begin_inset Flex Code
9915 \begin_layout Plain Layout
9924 \begin_inset Flex Code
9927 \begin_layout Plain Layout
9933 ] Si la clase ya proporciona, o no, la característica
9934 \begin_inset Flex Code
9937 \begin_layout Plain Layout
9944 Una característica es en general el nombre de un paquete (
9945 \begin_inset Flex Code
9948 \begin_layout Plain Layout
9955 \begin_inset Flex Code
9958 \begin_layout Plain Layout
9964 , \SpecialChar ldots
9966 \begin_inset Flex Code
9969 \begin_layout Plain Layout
9976 \begin_inset Flex Code
9979 \begin_layout Plain Layout
9987 Véase en el capítulo
9988 \begin_inset space ~
9992 \begin_inset CommandInset ref
9994 reference "cap:Lista-de-funciones"
9998 la lista de características.
10001 \begin_layout Description
10002 \begin_inset Flex Code
10005 \begin_layout Plain Layout
10012 \begin_inset Flex Code
10015 \begin_layout Plain Layout
10021 ] Indica que este formato proporciona la funcionalidad del módulo mencionado,
10022 que deberá especificarse con su nombre de archivo sin la extensión
10023 \begin_inset Flex Code
10026 \begin_layout Plain Layout
10033 Esto se usará típicamente si el formato incluye el módulo directamente,
10034 preferiblemente a usar la etiqueta
10035 \begin_inset Flex Code
10038 \begin_layout Plain Layout
10044 para indicar que debería utilizarse.
10045 Podría ser empleado en un módulo que provea una implementación alternativa
10046 de la misma funcionalidad.
10049 \begin_layout Description
10050 \begin_inset Flex Code
10053 \begin_layout Plain Layout
10060 \begin_inset Flex Code
10063 \begin_layout Plain Layout
10069 ] Crea un nuevo estilo (entorno) de párrafo si no existe.
10070 Si el estilo existe se ignora esta sección.
10072 \begin_inset Quotes eld
10076 \begin_inset Flex Code
10079 \begin_layout Plain Layout
10086 \begin_inset Quotes erd
10092 \begin_layout Description
10093 \begin_inset Flex Code
10096 \begin_layout Plain Layout
10103 \begin_inset Flex Code
10106 \begin_layout Plain Layout
10112 ] Si la clase requiere la característica
10113 \begin_inset Flex Code
10116 \begin_layout Plain Layout
10123 Múltiples características deben separarse con comas.
10124 Multiple features must be separated by commas.
10125 Anotar que solo se pueden demandar características soportadas.
10126 (Véase la lista en el capítulo
10127 \begin_inset space ~
10131 \begin_inset CommandInset ref
10133 reference "cap:Lista-de-funciones"
10138 Si necesitas un paquete con opciones específicas puedes usar además
10139 \begin_inset Flex Code
10142 \begin_layout Plain Layout
10151 \begin_layout Description
10152 \begin_inset Flex Code
10155 \begin_layout Plain Layout
10162 \begin_inset Flex Code
10165 \begin_layout Plain Layout
10171 ] Una cadena que indica la anchura del margen derecho en la pantalla, por
10173 \begin_inset Quotes cld
10177 \begin_inset Flex Code
10180 \begin_layout Plain Layout
10187 \begin_inset Quotes crd
10193 \begin_layout Description
10194 \begin_inset Flex Code
10197 \begin_layout Plain Layout
10204 \begin_inset Flex Code
10207 \begin_layout Plain Layout
10213 ] Establece qué divisiones se numeran.
10214 Corresponde al contador \SpecialChar LaTeX
10216 \begin_inset Flex Code
10219 \begin_layout Plain Layout
10228 \begin_layout Description
10229 \begin_inset Flex Code
10232 \begin_layout Plain Layout
10241 \begin_inset Flex Code
10244 \begin_layout Plain Layout
10253 \begin_inset space \thinspace{}
10257 \begin_inset Flex Code
10260 \begin_layout Plain Layout
10266 ] Si debe imprimirse en una o en ambas caras del papel.
10267 Se puede cambiar en el diálogo
10268 \begin_inset Flex Noun
10271 \begin_layout Plain Layout
10272 Documento\SpecialChar menuseparator
10281 \begin_layout Description
10282 \begin_inset Flex Code
10285 \begin_layout Plain Layout
10292 \begin_inset Flex Code
10295 \begin_layout Plain Layout
10301 ] Esta secuencia define un nuevo estilo de párrafo.
10302 Si el estilo ya existe, en ese caso se redefinirán algunos de los parámetros.
10304 \begin_inset space ~
10308 \begin_inset CommandInset ref
10310 reference "subsec:Estilos-de-párrafo"
10316 \begin_inset Quotes cld
10320 \begin_inset Flex Code
10323 \begin_layout Plain Layout
10330 \begin_inset Quotes crd
10336 \begin_layout Description
10337 \begin_inset Flex Code
10340 \begin_layout Plain Layout
10347 \begin_inset Flex Code
10350 \begin_layout Plain Layout
10356 ] El nombre del comando de entorno a usar con
10357 \begin_inset Flex Code
10360 \begin_layout Plain Layout
10369 \begin_layout Description
10370 \begin_inset Flex Code
10373 \begin_layout Plain Layout
10380 \begin_inset Flex Code
10383 \begin_layout Plain Layout
10392 \begin_inset Flex Code
10395 \begin_layout Plain Layout
10401 ] Indica qué clase de diseño se emplea para definir el título de un documento.
10403 \begin_inset Flex Code
10406 \begin_layout Plain Layout
10412 significa que la macro con nombre
10413 \begin_inset Flex Code
10416 \begin_layout Plain Layout
10422 se insertará después del último formato que tiene
10423 \begin_inset Quotes cld
10427 \begin_inset Flex Code
10430 \begin_layout Plain Layout
10432 \begin_inset space ~
10441 \begin_inset Quotes crd
10446 \begin_inset Flex Code
10449 \begin_layout Plain Layout
10455 corresponde al caso en que todos los formatos que tienen
10456 \begin_inset Quotes cld
10460 \begin_inset Flex Code
10463 \begin_layout Plain Layout
10465 \begin_inset space ~
10474 \begin_inset Quotes crd
10477 debería ser incluido en el entorno
10478 \begin_inset Flex Code
10481 \begin_layout Plain Layout
10490 \begin_layout Description
10491 \begin_inset Flex Code
10494 \begin_layout Plain Layout
10501 \begin_inset Flex Code
10504 \begin_layout Plain Layout
10510 ] Establece qué divisiones se incluyen en el índice general.
10511 Corresponde al contador \SpecialChar LaTeX
10513 \begin_inset Flex Code
10516 \begin_layout Plain Layout
10525 \begin_layout Subsection
10527 \begin_inset Flex Code
10530 \begin_layout Plain Layout
10537 \begin_inset CommandInset label
10539 name "subsec:ClassOptions"
10546 \begin_layout Standard
10548 \begin_inset Flex Code
10551 \begin_layout Plain Layout
10557 puede contener las siguientes entradas:
10560 \begin_layout Description
10561 \begin_inset Flex Code
10564 \begin_layout Plain Layout
10571 \begin_inset Flex Code
10574 \begin_layout Plain Layout
10580 ] La lista de los tamaños de carácter disponibles para la tipografía principal
10581 del documento, separados por
10582 \begin_inset Quotes cld
10586 \begin_inset Flex Code
10589 \begin_layout Plain Layout
10596 \begin_inset Quotes crd
10602 \begin_layout Description
10603 \begin_inset Flex Code
10606 \begin_layout Plain Layout
10612 Para establecer la línea DTD con las clases con salida basada en XML.
10614 \begin_inset space \thinspace{}
10618 \begin_inset Quotes cld
10621 -//OASIS//DTD DocBook V4.2//EN
10622 \begin_inset Quotes crd
10628 \begin_layout Description
10629 \begin_inset Flex Code
10632 \begin_layout Plain Layout
10639 \begin_inset Flex Code
10642 \begin_layout Plain Layout
10648 ] Algunas opciones de clase de documento, separadas por coma, que se añadirán
10649 a la parte opcional del comando
10650 \begin_inset Flex Code
10653 \begin_layout Plain Layout
10664 \begin_layout Description
10665 \begin_inset Flex Code
10668 \begin_layout Plain Layout
10675 \begin_inset Flex Code
10678 \begin_layout Plain Layout
10679 string="empty|plain|headings|fancy"
10684 ] Lista de los estilos de página disponibles, separados por
10685 \begin_inset Quotes cld
10689 \begin_inset Flex Code
10692 \begin_layout Plain Layout
10699 \begin_inset Quotes crd
10705 \begin_layout Standard
10707 \begin_inset Flex Code
10710 \begin_layout Plain Layout
10717 \begin_inset Quotes cld
10721 \begin_inset Flex Code
10724 \begin_layout Plain Layout
10731 \begin_inset Quotes crd
10737 \begin_layout Subsection
10739 \begin_inset CommandInset label
10741 name "subsec:Estilos-de-párrafo"
10748 \begin_layout Standard
10749 Una descripción de estilo de párrafo tiene una aspecto como éste:
10753 \begin_layout Plain Layout
10754 Anotar que esto definirá un nuevo diseño o modificará uno existente.
10762 \begin_layout LyX-Code
10769 \begin_layout LyX-Code
10773 \begin_layout LyX-Code
10777 \begin_layout Standard
10778 donde se permiten los comandos siguientes:
10781 \begin_layout Description
10784 \begin_inset Flex Code
10787 \begin_layout Plain Layout
10796 \begin_inset Flex Code
10799 \begin_layout Plain Layout
10807 =""] This paragraph will appear in the table of contents of the given type.
10808 An empty string disables.
10809 See also the OutlinerName and the IsTocCaption commands.
10813 \begin_layout Description
10814 \begin_inset Flex Code
10817 \begin_layout Plain Layout
10824 \begin_inset Flex Code
10827 \begin_layout Plain Layout
10832 , left, right, center
10837 ] Alineación del párrafo.
10840 \begin_layout Description
10841 \begin_inset Flex Code
10844 \begin_layout Plain Layout
10851 \begin_inset Flex Code
10854 \begin_layout Plain Layout
10859 , left, right, center
10864 ] Una lista separada con comas de alineaciones permitidas.
10865 (Algunos estilos de \SpecialChar LaTeX
10866 prohiben ciertos alineamientos, ya que no tendrían
10868 Por ejemplo una alineación a la derecha o al centro de una lista numerada
10872 \begin_layout Description
10873 \begin_inset Flex Code
10876 \begin_layout Plain Layout
10883 \begin_inset Flex Code
10886 \begin_layout Plain Layout
10892 ] Define el número de argumento de un comando o entorno asociado al estilo
10894 Es útil para cosas como encabezados de sección y solo tiene sentido con
10897 Cada argumento (opcional o requerido) de un comando o entorno —excepto
10898 para el argumento requerido que se asocia con el contenido del propio párrafo—
10899 tiene una definición separada, en la que el número especifica el orden
10901 La definición debe finalizar con
10902 \begin_inset Flex Code
10905 \begin_layout Plain Layout
10912 Así, un comando con dos argumentos opcionales tiene:
10916 \begin_layout Quote
10922 \begin_layout Quote
10928 \begin_layout Quote
10934 \begin_layout Quote
10940 \begin_layout Quote
10946 \begin_layout Quote
10952 \begin_layout Standard
10953 En la definición de
10954 \begin_inset Flex Code
10957 \begin_layout Plain Layout
10963 son posibles las siguientes especificaciones:
10966 \begin_layout Itemize
10967 \begin_inset Flex Code
10970 \begin_layout Plain Layout
10977 \begin_inset Flex Code
10980 \begin_layout Plain Layout
10986 Secuencia que aparecerá tanto en el menú (a insertar este argumento) como
10987 en el botón de inserción del argumento (a menos que especifiques también
10989 \begin_inset Flex Code
10992 \begin_layout Plain Layout
10999 Para el menú puedes definir un acelerador agregando el carácter respectivo
11000 a la secuencia, separado con
11001 \begin_inset Quotes cld
11005 \begin_inset Quotes crd
11009 \begin_inset space \thinspace{}
11013 \begin_inset space \space{}
11017 \begin_inset Quotes cld
11021 \begin_inset Flex Code
11024 \begin_layout Plain Layout
11031 \begin_inset Quotes crd
11037 \begin_layout Itemize
11038 \begin_inset Flex Code
11041 \begin_layout Plain Layout
11048 \begin_inset Flex Code
11051 \begin_layout Plain Layout
11057 Secuencia separada para el menú Puedes definir un acelerador agregando
11058 el carácter respectivo a la secuencia, separado con
11059 \begin_inset Quotes cld
11063 \begin_inset Quotes crd
11067 \begin_inset space \thinspace{}
11071 \begin_inset space \space{}
11075 \begin_inset Quotes cld
11079 \begin_inset Flex Code
11082 \begin_layout Plain Layout
11089 \begin_inset Quotes crd
11093 Esta especificación es opcional.
11094 Si no se da se usará
11095 \begin_inset Flex Code
11098 \begin_layout Plain Layout
11107 \begin_layout Itemize
11108 \begin_inset Flex Code
11111 \begin_layout Plain Layout
11118 \begin_inset Flex Code
11121 \begin_layout Plain Layout
11127 Texto explicativo que se muestra en un recuadro sugerencia al planear sobre
11128 el recuadro del argumento.
11131 \begin_layout Itemize
11132 \begin_inset Flex Code
11135 \begin_layout Plain Layout
11142 \begin_inset Flex Code
11145 \begin_layout Plain Layout
11154 \begin_inset space \thinspace{}
11158 \begin_inset Flex Code
11161 \begin_layout Plain Layout
11167 ] Declara si es argumento obligatorio (1) u opcional (0).
11168 Los argumentos obligatorios se emitirán vacíos si no se dan, mientras que
11169 los opcionales no serán emitidos.
11170 Por omisión, los argumentos obligatorios se delimitan con
11171 \begin_inset Flex Code
11174 \begin_layout Plain Layout
11180 y los opcionales con
11181 \begin_inset Flex Code
11184 \begin_layout Plain Layout
11193 \begin_layout Itemize
11194 \begin_inset Flex Code
11197 \begin_layout Plain Layout
11204 \begin_inset Flex Code
11207 \begin_layout Plain Layout
11213 define otro argumento (por su número) que este argumento requiere para
11214 emitirse si él mismo es emitido.
11216 \begin_inset space \thinspace{}
11219 e., en comandos \SpecialChar LaTeX
11220 , los argumentos opcionales requieren a menudo argumentos
11221 opcionales previos para ser emitidos (al menos vacíos), como en
11222 \begin_inset Flex Code
11225 \begin_layout Plain Layout
11228 command[][argument]{text}
11234 Esto se puede conseguir con la declaración
11235 \begin_inset Flex Code
11238 \begin_layout Plain Layout
11245 \begin_inset Flex Code
11248 \begin_layout Plain Layout
11257 \begin_layout Itemize
11258 \begin_inset Flex Code
11261 \begin_layout Plain Layout
11268 \begin_inset Flex Code
11271 \begin_layout Plain Layout
11277 define un delimitador izquierdo personalizado (en vez de
11278 \begin_inset Flex Code
11281 \begin_layout Plain Layout
11288 \begin_inset Flex Code
11291 \begin_layout Plain Layout
11298 Un salto de línea en la salida se puede indicar con
11299 \begin_inset Flex Code
11302 \begin_layout Plain Layout
11311 \begin_layout Itemize
11312 \begin_inset Flex Code
11315 \begin_layout Plain Layout
11322 \begin_inset Flex Code
11325 \begin_layout Plain Layout
11331 define un delimitador derecho personalizado (en vez de
11332 \begin_inset Flex Code
11335 \begin_layout Plain Layout
11342 \begin_inset Flex Code
11345 \begin_layout Plain Layout
11352 Un salto de línea en la salida se puede indicar con
11353 \begin_inset Flex Code
11356 \begin_layout Plain Layout
11365 \begin_layout Itemize
11366 \begin_inset Flex Code
11369 \begin_layout Plain Layout
11376 \begin_inset Flex Code
11379 \begin_layout Plain Layout
11385 define un argumento que se inserta si y solo si no se han dado argumentos
11386 específicos del usuario, o sea, si no se ha insertado ningún recuadro de
11387 argumento (también un recuadro de argumento vacío omite DefaultArg).
11388 Múltiples argumentos deben separarse con comas.
11391 \begin_layout Itemize
11392 \begin_inset Flex Code
11395 \begin_layout Plain Layout
11402 \begin_inset Flex Code
11405 \begin_layout Plain Layout
11411 define un argumento que se inserta en cualquier caso (solo o añadido a
11412 argumentos especificados por el usuario).
11413 Múltiples argumentos deben separarse con comas.
11416 \begin_layout Itemize
11417 \begin_inset Flex Code
11420 \begin_layout Plain Layout
11426 Tipografía usada para el contenido del argumento, véase
11427 \begin_inset CommandInset ref
11429 reference "subsec:Tipografía"
11436 \begin_layout Itemize
11437 \begin_inset Flex Code
11440 \begin_layout Plain Layout
11446 Tipografía usada para la etiqueta, véase
11447 \begin_inset CommandInset ref
11449 reference "subsec:Tipografía"
11456 \begin_layout Itemize
11457 \begin_inset Flex Code
11460 \begin_layout Plain Layout
11467 \begin_inset Flex Code
11470 \begin_layout Plain Layout
11475 , Minimalistic, Conglomerate
11480 ] describe el estilo de representación para los botones y el marco del recuadro
11484 \begin_layout Itemize
11485 \begin_inset Flex Code
11488 \begin_layout Plain Layout
11495 \begin_inset Flex Code
11498 \begin_layout Plain Layout
11505 \begin_inset Flex Code
11508 \begin_layout Plain Layout
11514 , este argumento se inserta automáticamente cuando se selecciona el estilo
11516 Actualmente solo se puede insertar automaticamente un argumento por estilo\SpecialChar breakableslash
11521 \begin_layout Itemize
11522 \begin_inset Flex Code
11525 \begin_layout Plain Layout
11532 \begin_inset Flex Code
11535 \begin_layout Plain Layout
11542 \begin_inset Flex Code
11545 \begin_layout Plain Layout
11551 , este argumento se insertará con una copia del co-texto (texto seleccionado
11552 o párrafo completo) como contenido.
11555 \begin_layout Itemize
11558 \begin_inset Flex Code
11561 \begin_layout Plain Layout
11570 \begin_inset Flex Code
11573 \begin_layout Plain Layout
11584 ] Whether the contents of this argument should be output in raw form, meaning
11585 without special translations that \SpecialChar LaTeX
11588 \begin_inset Flex Code
11591 \begin_layout Plain Layout
11599 status is inherited by the inset or paragraph layout the argument belongs
11600 to, true and false change the status for the given argument only.
11603 \begin_layout Itemize
11604 \begin_inset Flex Code
11607 \begin_layout Plain Layout
11614 \begin_inset Flex Code
11617 \begin_layout Plain Layout
11618 string of characters
11627 Define caracteres individuales que deberían emitirse en bruto, es decir,
11628 sin traducciones especiales que podría requerir \SpecialChar LaTeX
11630 Al contrario que PassThru, esto debe ser explícitamente definido para argumento
11632 Esto es, los argumentos no heredan PassThruChars de su recuadro de inserción
11636 \begin_layout Itemize
11639 \begin_inset Flex Code
11642 \begin_layout Plain Layout
11651 \begin_inset Flex Code
11654 \begin_layout Plain Layout
11664 \begin_inset space \thinspace{}
11668 \begin_inset Flex Code
11671 \begin_layout Plain Layout
11679 ] If this is set to 1, the argument will output its content in the corresponding
11680 item in the table of contents.
11684 \begin_layout Standard
11685 Por omisión, el texto introducido en el área de trabajo de \SpecialChar LyX
11687 respectivo de formato es el último argumento (obligatorio) de un comando
11689 \begin_inset Flex Code
11692 \begin_layout Plain Layout
11699 \begin_inset Flex Code
11702 \begin_layout Plain Layout
11709 Sin embargo, los argumentos con el prefijo
11710 \begin_inset Flex Code
11713 \begin_layout Plain Layout
11719 se emiten después de este argumento de área de trabajo.
11720 La numeración de este post-argumento reinicia a 1, así que el primer argumento
11721 siguiente al del área de trabajo es
11722 \begin_inset Flex Code
11725 \begin_layout Plain Layout
11732 Los post-argumentos se ignoran en cualquier otro
11733 \begin_inset Flex Code
11736 \begin_layout Plain Layout
11743 \begin_inset Flex Code
11746 \begin_layout Plain Layout
11755 \begin_layout Standard
11756 Los argumentos para
11757 \begin_inset Flex Code
11760 \begin_layout Plain Layout
11768 s de lista (como en
11769 \begin_inset Flex Code
11772 \begin_layout Plain Layout
11780 ) tienen el prefijo
11781 \begin_inset Flex Code
11784 \begin_layout Plain Layout
11790 seguido por el número (p.
11791 \begin_inset space \thinspace{}
11795 \begin_inset space \space{}
11799 \begin_inset Flex Code
11802 \begin_layout Plain Layout
11812 \begin_layout Description
11813 \begin_inset Flex Code
11816 \begin_layout Plain Layout
11822 Esto sobrescribirá completamente cualquier anterior declaración
11823 \begin_inset Flex Code
11826 \begin_layout Plain Layout
11834 \begin_inset Quotes eld
11838 \begin_inset Flex Code
11841 \begin_layout Plain Layout
11848 \begin_inset Quotes erd
11853 \begin_inset space ~
11857 \begin_inset CommandInset ref
11859 reference "subsec:I18n"
11863 para detalles sobre su uso.
11866 \begin_layout Description
11867 \begin_inset Flex Code
11870 \begin_layout Plain Layout
11877 \begin_inset Flex Code
11880 \begin_layout Plain Layout
11890 \begin_layout Plain Layout
11891 Anotar que aquí un 'float' es un número real, como: 1.5.
11896 El espacio vertical con el que el último de una cadena de párrafos con
11897 este estilo se separa del siguiente párrafo.
11898 Si el párrafo siguiente tiene otro estilo, las separaciones no son simplemente
11899 añadidas sino que se pone la máxima.
11902 \begin_layout Description
11903 \begin_inset Flex Code
11906 \begin_layout Plain Layout
11913 \begin_inset Flex Code
11916 \begin_layout Plain Layout
11922 La categoría para este estilo.
11923 Se usa para agrupar estilos relacionados en el recuadro de estilo en la
11924 barra de herramientas.
11925 Se puede poner cualquier cadena en 'string' pero mejor usar categorías
11926 existentes con tus propios estilos.
11929 \begin_layout Description
11930 \begin_inset Flex Code
11933 \begin_layout Plain Layout
11939 Profundidad del comando XML.
11940 Usado solo con formatos tipo XML.
11943 \begin_layout Description
11944 \begin_inset Flex Code
11947 \begin_layout Plain Layout
11954 \begin_inset Flex Code
11957 \begin_layout Plain Layout
11963 Copia todas las características de un estilo existente en el actual.
11967 \begin_layout Description
11968 \begin_inset Flex Code
11971 \begin_layout Plain Layout
11978 \begin_inset Flex Code
11981 \begin_layout Plain Layout
11987 ] El nombre de un estilo cuyo preámbulo debería salir
11992 Esto permite asegurar un orden de los retazos de preámbulo si las definiciones
11993 de macros dependen de otra.
11997 \begin_layout Plain Layout
11998 Anotar que, excepto esta funcionalidad, no hay forma de asegurar ningún
11999 orden de los preámbulos.
12000 El orden que se ve en una versión dada de \SpecialChar LyX
12001 puede cambiar sin previo aviso
12002 en versiones posteriores.
12010 \begin_layout Description
12011 \begin_inset Flex Code
12014 \begin_layout Plain Layout
12021 \begin_inset Flex Code
12024 \begin_layout Plain Layout
12029 , Box, Filled_Box, Static
12034 ] El tipo de etiqueta que se pone al final del párrafo (o secuencia de párrafos
12036 \begin_inset Flex Code
12039 \begin_layout Plain Layout
12046 \begin_inset Flex Code
12049 \begin_layout Plain Layout
12056 \begin_inset Flex Code
12059 \begin_layout Plain Layout
12066 \begin_inset Flex Code
12069 \begin_layout Plain Layout
12077 \begin_inset Flex Code
12080 \begin_layout Plain Layout
12087 \begin_inset Quotes cld
12091 \begin_inset Quotes crd
12095 \begin_inset Flex Code
12098 \begin_layout Plain Layout
12105 \begin_inset Flex Code
12108 \begin_layout Plain Layout
12109 \begin_inset space ~
12117 ) es un cuadrado blanco (resp.
12118 \begin_inset space ~
12121 negro) adecuado para marcas finales de demostraciones,
12122 \begin_inset Flex Code
12125 \begin_layout Plain Layout
12131 es una cadena de texto explícito.
12134 \begin_layout Description
12135 \begin_inset Flex Code
12138 \begin_layout Plain Layout
12145 \begin_inset Flex Code
12148 \begin_layout Plain Layout
12154 ] La secuencia usada para una etiqueta con un
12155 \begin_inset Flex Code
12158 \begin_layout Plain Layout
12165 \begin_inset Flex Code
12168 \begin_layout Plain Layout
12178 \begin_layout Description
12182 \begin_layout Plain Layout
12187 No estoy seguro de que estas configuraciones (Fill_Bottom, Fill_Top) tengan
12188 mucho uso, y probablemente se quitarán en próximas versiones.
12194 \begin_inset Note Note
12197 \begin_layout Plain Layout
12199 \begin_inset Quotes cld
12202 Espacio vertical encima
12203 \begin_inset Quotes crd
12207 \begin_inset Quotes cld
12210 Espacio vertical abajo
12211 \begin_inset Quotes erd
12214 en Editar\SpecialChar menuseparator
12215 Configuración de párrafo, esto parece obsoleto, como dice Jean-Marc
12226 \begin_layout Description
12227 \begin_inset Flex Code
12230 \begin_layout Plain Layout
12236 La tipografía usada para el cuerpo del texto
12242 \begin_inset space ~
12246 \begin_inset CommandInset ref
12248 reference "subsec:Tipografía"
12253 Anotar que al definir esta tipografía se define automáticamente la de la
12255 \begin_inset Flex Code
12258 \begin_layout Plain Layout
12265 Así que debería definirse primero ésta si se quiere definir también
12266 \begin_inset Flex Code
12269 \begin_layout Plain Layout
12278 \begin_layout Description
12279 \begin_inset Flex Code
12282 \begin_layout Plain Layout
12289 \begin_inset Flex Code
12292 \begin_layout Plain Layout
12298 ] Se usa para compatibilizar estilos nuevos a versiones estables de \SpecialChar LyX
12300 La primera versión estable que soporta esta etiqueta es \SpecialChar LyX
12302 El argumento es un número 0, -1 o cualquier valor mayor de cero.
12304 \begin_inset Flex Code
12307 \begin_layout Plain Layout
12313 de un estilo es mayor que cero, se escribirá siempre en la cabecera del
12315 Si un archivo .lyx es leido, las definiciones de estilo de la cabecera del
12316 documento se añaden a la clase de documento.
12317 Por eso, incluso versiones anteriores de \SpecialChar LyX
12318 pueden manejar el estilo.
12320 \begin_inset Flex Code
12323 \begin_layout Plain Layout
12329 es un número de versión: si el estilo es leido, y el número de versión
12330 es menor que el número de versión del estilo existente en la clase de documento
12331 , el nuevo se ignora.
12332 Si el número de versión es mayor, el estilo nuevo reemplaza al existente.
12333 -1 significa un número de versión infinito, o sea, el estilo se usa siempre.
12336 \begin_layout Description
12337 \begin_inset Flex Code
12340 \begin_layout Plain Layout
12349 \begin_inset Flex Code
12352 \begin_layout Plain Layout
12361 \begin_inset space \thinspace{}
12365 \begin_inset Flex Code
12368 \begin_layout Plain Layout
12374 ] Usualmente \SpecialChar LyX
12375 no permite insertar más de un espacio entre palabras, puesto
12376 que un espacio se considera como la separación entre dos palabras, no un
12377 carácter o símbolo por sí mismo.
12378 Esto es una buena cosa pero a veces puede ser molesta, por ejemplo, para
12379 escribir código de programas o de \SpecialChar LaTeX
12381 Por esta razón se puede habilitar
12382 \begin_inset Flex Code
12385 \begin_layout Plain Layout
12392 Anotar que \SpecialChar LyX
12393 creará espacios protegidos para los espacios adicionales en
12394 modos que no sean \SpecialChar LaTeX
12399 \begin_layout Description
12400 \begin_inset Flex Code
12403 \begin_layout Plain Layout
12409 Para la salida XHTML.
12411 \begin_inset CommandInset ref
12413 reference "subsec:Estilos-de-párrafo-XHTML"
12420 \begin_layout Description
12421 \begin_inset Flex Code
12424 \begin_layout Plain Layout
12430 [[FIXME]] (Usado solo con formatos tipo XML.)
12433 \begin_layout Description
12434 \begin_inset Flex Code
12437 \begin_layout Plain Layout
12446 \begin_inset Flex Code
12449 \begin_layout Plain Layout
12460 \begin_inset space \thinspace{}
12464 \begin_inset Flex Code
12467 \begin_layout Plain Layout
12474 \begin_inset Flex Code
12477 \begin_layout Plain Layout
12483 , marca el estilo para ser incluido en el preámbulo del documento en lugar
12484 de en el cuerpo del documento.
12485 Útil para clases de documento que piden informaciones tales como título
12486 y autor en el preámbulo.
12487 Esto solo funciona para estilos para los que
12488 \begin_inset Flex Code
12491 \begin_layout Plain Layout
12498 \begin_inset Flex Code
12501 \begin_layout Plain Layout
12508 \begin_inset Flex Code
12511 \begin_layout Plain Layout
12520 \begin_layout Description
12521 \begin_inset Flex Code
12524 \begin_layout Plain Layout
12533 \begin_inset Flex Code
12536 \begin_layout Plain Layout
12547 \begin_inset space \thinspace{}
12551 \begin_inset Flex Code
12554 \begin_layout Plain Layout
12561 \begin_inset Flex Code
12564 \begin_layout Plain Layout
12570 , marca el estilo como parte de un bloque de título (véanse también las
12572 \begin_inset Flex Code
12575 \begin_layout Plain Layout
12582 \begin_inset Flex Code
12585 \begin_layout Plain Layout
12594 \begin_layout Description
12597 \begin_inset Flex Code
12600 \begin_layout Plain Layout
12609 \begin_inset Flex Code
12612 \begin_layout Plain Layout
12622 \begin_inset space \thinspace{}
12626 \begin_inset Flex Code
12629 \begin_layout Plain Layout
12637 ] If this is set to 1 and AddToToc is enabled, the paragraph adds a summary
12638 of its contents in its item in the table of contents.
12639 Otherwise, only the label, if it exists, appears.
12642 \begin_layout Description
12643 \begin_inset Flex Code
12646 \begin_layout Plain Layout
12653 \begin_inset Flex Code
12656 \begin_layout Plain Layout
12662 ] La secuencia de comando \SpecialChar LaTeX
12663 que declara un ítem en una lista.
12664 El comando es para ser definido sin la barra invertida (por omisión es
12666 \begin_inset Quotes eld
12670 \begin_inset Quotes erd
12674 \begin_inset Flex Code
12677 \begin_layout Plain Layout
12685 en la salida \SpecialChar LaTeX
12689 \begin_layout Description
12690 \begin_inset Flex Code
12693 \begin_layout Plain Layout
12700 \begin_inset Flex Code
12703 \begin_layout Plain Layout
12709 ] Esto proporciona espacio extra entre párrafos que tienen el mismo formato.
12710 Si se ponen otros formatos en un entorno, cada uno es separado con el comando
12712 \begin_inset Flex Code
12715 \begin_layout Plain Layout
12722 Pero el conjunto de los ítems del entorno son separados adicionalmente
12724 \begin_inset Flex Code
12727 \begin_layout Plain Layout
12734 Anotar que esto es un
12739 \begin_layout Description
12740 \begin_inset Flex Code
12743 \begin_layout Plain Layout
12749 [[FIXME]] (Usado solo con formatos tipo XML.)
12752 \begin_layout Description
12753 \begin_inset Flex Code
12756 \begin_layout Plain Layout
12765 \begin_inset Flex Code
12768 \begin_layout Plain Layout
12779 \begin_inset space \thinspace{}
12783 \begin_inset Flex Code
12786 \begin_layout Plain Layout
12792 ] Habitualmente, \SpecialChar LyX
12793 no permite dejar un párrafo vacío, porque llevaría a una
12794 salida de \SpecialChar LaTeX
12796 Sin embargo, hay algunos casos donde podría ser útil: en una plantilla
12797 de carta, los campos requeridos pueden proporcionarse vacíos, así el usuario
12798 no los olvida; en algunos casos especiales, se puede usar un estilo que
12799 no contiene texto real como una especie de salto.
12802 \begin_layout Description
12803 \begin_inset Flex Code
12806 \begin_layout Plain Layout
12813 \begin_inset Flex Code
12816 \begin_layout Plain Layout
12822 ] El espacio vertical entre la etiqueta y el cuerpo del texto.
12823 Solo se usa para etiquetas que están sobre el cuerpo del texto (
12824 \begin_inset Flex Code
12827 \begin_layout Plain Layout
12834 \begin_inset Flex Code
12837 \begin_layout Plain Layout
12838 Centered_Top_Environment
12846 \begin_layout Description
12847 \begin_inset Flex Code
12850 \begin_layout Plain Layout
12857 \begin_inset Flex Code
12860 \begin_layout Plain Layout
12866 ] El nombre del contador para numeración automática.
12867 Con el fin de que el contador aparezca con su etiqueta, deberás referenciarla
12869 \begin_inset Flex Code
12872 \begin_layout Plain Layout
12879 Esto funcionará con
12880 \begin_inset Flex Code
12883 \begin_layout Plain Layout
12890 \begin_inset Flex Code
12893 \begin_layout Plain Layout
12900 \begin_inset Flex Code
12903 \begin_layout Plain Layout
12910 \begin_inset Flex Code
12913 \begin_layout Plain Layout
12920 \begin_inset Newline newline
12928 \begin_inset Flex Code
12931 \begin_layout Plain Layout
12938 \begin_inset Flex Code
12941 \begin_layout Plain Layout
12947 , aunque este caso es un poco complicado.
12948 Supongamos que declaras
12949 \begin_inset Quotes eld
12953 \begin_inset Flex Code
12956 \begin_layout Plain Layout
12957 LabelCounter myenum
12963 \begin_inset Quotes erd
12967 Entonces, los contadores reales usados son
12968 \begin_inset Flex Code
12971 \begin_layout Plain Layout
12978 \begin_inset Flex Code
12981 \begin_layout Plain Layout
12988 \begin_inset Flex Code
12991 \begin_layout Plain Layout
12998 \begin_inset Flex Code
13001 \begin_layout Plain Layout
13007 , como en \SpecialChar LaTeX
13009 Estos contadores deben declararse todos por separado.
13010 \begin_inset Newline newline
13014 \begin_inset CommandInset ref
13016 reference "subsec:Contadores"
13020 para detalles sobre contadores
13023 \begin_layout Description
13024 \begin_inset Flex Code
13027 \begin_layout Plain Layout
13033 La tipografía usada para la etiqueta.
13035 \begin_inset space ~
13039 \begin_inset CommandInset ref
13041 reference "subsec:Tipografía"
13048 \begin_layout Description
13049 \begin_inset Flex Code
13052 \begin_layout Plain Layout
13059 \begin_inset Flex Code
13062 \begin_layout Plain Layout
13068 ] Texto que indica cuánto se debe sangrar una etiqueta.
13071 \begin_layout Description
13072 \begin_inset Flex Code
13075 \begin_layout Plain Layout
13082 \begin_inset Flex Code
13085 \begin_layout Plain Layout
13091 ] Texto que indica el valor de espacio horizontal entre la etiqueta y el
13093 Solo se usa para etiquetas que no están sobre el cuerpo del texto.
13096 \begin_layout Description
13097 \begin_inset Flex Code
13100 \begin_layout Plain Layout
13107 \begin_inset Flex Code
13110 \begin_layout Plain Layout
13116 ] La cadena usada para una etiqueta del
13117 \begin_inset Flex Code
13120 \begin_layout Plain Layout
13127 \begin_inset Flex Code
13130 \begin_layout Plain Layout
13138 \begin_inset Flex Code
13141 \begin_layout Plain Layout
13147 está establecido, esta cadena puede contener los comandos especiales de
13148 formato descritos en la sección
13149 \begin_inset space ~
13153 \begin_inset CommandInset ref
13155 reference "subsec:Contadores"
13162 \begin_layout Description
13163 \begin_inset Flex Code
13166 \begin_layout Plain Layout
13167 LabelStringAppendix
13173 \begin_inset Flex Code
13176 \begin_layout Plain Layout
13182 ] Esta se usa en el apéndice en vez de
13183 \begin_inset Flex Code
13186 \begin_layout Plain Layout
13193 Anotar que toda declaración de
13194 \begin_inset Flex Code
13197 \begin_layout Plain Layout
13203 reconfigura también
13204 \begin_inset Newline newline
13208 \begin_inset Flex Code
13211 \begin_layout Plain Layout
13212 LabelStringAppendix
13220 \begin_layout Description
13221 \begin_inset Flex Code
13224 \begin_layout Plain Layout
13230 [FIXME] (Usado solo con formatos tipo XML.)
13233 \begin_layout Description
13234 \begin_inset Flex Code
13237 \begin_layout Plain Layout
13244 \begin_inset Flex Code
13247 \begin_layout Plain Layout
13252 , Manual, Static, Above,
13253 \begin_inset Newline newline
13256 Centered, Sensitive, Enumerate,
13257 \begin_inset Newline newline
13260 Itemize, Bibliography
13269 \begin_layout Description
13270 \begin_inset Flex Code
13273 \begin_layout Plain Layout
13279 significa que la etiqueta es la primera palabra (hasta elprimer espacio
13281 Usa espacios protegidos si quieres más de una palabra como etiqueta.
13285 \begin_layout Description
13286 \begin_inset Flex Code
13289 \begin_layout Plain Layout
13295 significa que la etiqueta es simplemente cualquier
13296 \begin_inset Flex Code
13299 \begin_layout Plain Layout
13305 declarado como tal.
13307 \begin_inset Quotes cld
13311 \begin_inset Quotes crd
13314 al comienzo del párrafo.
13316 \begin_inset Flex Code
13319 \begin_layout Plain Layout
13326 \begin_inset Flex Code
13329 \begin_layout Plain Layout
13335 , entonces se mostrará solo en el primer párrafo de cualquier secuencia
13336 de párrafos con el mismo
13337 \begin_inset Flex Code
13340 \begin_layout Plain Layout
13349 \begin_layout Description
13350 \begin_inset Flex Code
13353 \begin_layout Plain Layout
13360 \begin_inset space ~
13364 \begin_inset space ~
13368 \begin_inset Flex Code
13371 \begin_layout Plain Layout
13377 son casos especiales de
13378 \begin_inset Flex Code
13381 \begin_layout Plain Layout
13388 La etiqueta se imprimirá encima del párrafo, o al inicio de línea o centrado.
13392 \begin_layout Description
13393 \begin_inset Flex Code
13396 \begin_layout Plain Layout
13402 es un caso especial para las etiquetas de las leyendas de
13403 \begin_inset Quotes cld
13407 \begin_inset Quotes crd
13411 \begin_inset Quotes cld
13415 \begin_inset Quotes crd
13420 \begin_inset Flex Code
13423 \begin_layout Plain Layout
13429 quiere decir que la cadena (en código) de la etiqueta depende de la clase
13430 de flotante: Está codificado para ser `FloatType N', donde N es el valor
13431 del contador asociado al flotante.
13432 En el caso en que la leyenda se inserte adosada a un flotante
13433 \begin_inset Flex Code
13436 \begin_layout Plain Layout
13443 \begin_inset Quotes cld
13447 \begin_inset Quotes crd
13453 \begin_layout Description
13454 \begin_inset Flex Code
13457 \begin_layout Plain Layout
13463 produce los tipos habituales de etiquetas de enumeración.
13464 Por ahora está codificado para usar números arábigos, minúsculas, números
13465 romanos en minúsculas y mayúsculas, respectivamente, para los cuatro niveles
13466 de profundidad posibles.
13469 \begin_layout Description
13470 \begin_inset Flex Code
13473 \begin_layout Plain Layout
13479 produce varias marcas para los distintos niveles.
13480 También está codificado.
13483 \begin_layout Description
13484 \begin_inset Flex Code
13487 \begin_layout Plain Layout
13493 solo debería emplearse con
13494 \begin_inset Flex Code
13497 \begin_layout Plain Layout
13498 LatexType BibEnvironment
13507 \begin_layout Description
13508 \begin_inset Flex Code
13511 \begin_layout Plain Layout
13517 Esto sobrescribirá completamente cualquier declaración anterior de
13518 \begin_inset Flex Code
13521 \begin_layout Plain Layout
13529 \begin_inset Quotes eld
13533 \begin_inset Flex Code
13536 \begin_layout Plain Layout
13543 \begin_inset Quotes erd
13548 \begin_inset CommandInset ref
13550 reference "subsec:I18n"
13554 para detallessobre su uso.
13557 \begin_layout Description
13558 \begin_inset Flex Code
13561 \begin_layout Plain Layout
13568 \begin_inset Flex Code
13571 \begin_layout Plain Layout
13577 ] El nombre correspondiente en \SpecialChar LaTeX
13578 , ya sea de un comando o de un entorno.
13581 \begin_layout Description
13582 \begin_inset Flex Code
13585 \begin_layout Plain Layout
13592 \begin_inset Flex Code
13595 \begin_layout Plain Layout
13601 ] Un parámetro opcional para el correspondiente
13602 \begin_inset Flex Code
13605 \begin_layout Plain Layout
13612 Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
13614 \begin_inset Flex Code
13617 \begin_layout Plain Layout
13623 para parámetros personalizables).
13624 Se emitirá como tal tras todos los
13625 \begin_inset Flex Code
13628 \begin_layout Plain Layout
13638 \begin_layout Description
13639 \begin_inset Flex Code
13642 \begin_layout Plain Layout
13649 \begin_inset Flex Code
13652 \begin_layout Plain Layout
13657 , Command, Environment, Item_Environment,
13658 \begin_inset Newline newline
13661 List_Environment, Bib_Environment
13666 ] Cómo debería traducirse el estilo a \SpecialChar LaTeX
13671 \begin_layout Plain Layout
13672 \begin_inset Flex Code
13675 \begin_layout Plain Layout
13681 es un poco engañoso porque estas reglas se aplican también a clases SGML.
13682 Consulta los archivos de clases SGML (archivos de nombre
13683 \begin_inset Flex Code
13686 \begin_layout Plain Layout
13692 ) para ejemplos concretos.
13701 \begin_layout Description
13702 \begin_inset Flex Code
13705 \begin_layout Plain Layout
13711 no significa nada especial.
13714 \begin_layout Description
13715 \begin_inset Flex Code
13718 \begin_layout Plain Layout
13725 \begin_inset Flex Code
13728 \begin_layout Plain Layout
13735 {\SpecialChar ldots
13744 \begin_layout Description
13745 \begin_inset Flex Code
13748 \begin_layout Plain Layout
13755 \begin_inset Flex Code
13758 \begin_layout Plain Layout
13765 }\SpecialChar ldots
13780 \begin_layout Description
13781 \begin_inset Flex Code
13784 \begin_layout Plain Layout
13791 \begin_inset Flex Code
13794 \begin_layout Plain Layout
13801 \begin_inset Flex Code
13804 \begin_layout Plain Layout
13812 se genera para cada párrafo de este entorno.
13815 \begin_layout Description
13816 \begin_inset Flex Code
13819 \begin_layout Plain Layout
13826 \begin_inset Flex Code
13829 \begin_layout Plain Layout
13836 \begin_inset Newline newline
13840 \begin_inset Flex Code
13843 \begin_layout Plain Layout
13849 se pasa como un argumento al entorno.
13850 \begin_inset Newline newline
13854 \begin_inset Flex Code
13857 \begin_layout Plain Layout
13863 puede definirse en el diálogo
13864 \begin_inset Flex Noun
13867 \begin_layout Plain Layout
13868 Editar\SpecialChar menuseparator
13870 \begin_inset space ~
13874 \begin_inset space ~
13885 \begin_layout Description
13886 \begin_inset Flex Code
13889 \begin_layout Plain Layout
13896 \begin_inset Flex Code
13899 \begin_layout Plain Layout
13905 pero añade además el argumento obligatorio necesario (la etiqueta más larga)
13910 del entorno bibliografía:
13911 \begin_inset Newline newline
13915 \begin_inset Flex Code
13918 \begin_layout Plain Layout
13921 begin{thebibliography}{99}
13926 Por tanto solo es útil para entornos de bibliografía.
13927 La etiqueta más larga predeterminada
13928 \begin_inset Quotes cld
13932 \begin_inset Quotes crd
13935 puede cambiarla el usuario en la configuración de párrafo de un ítem bibliográf
13939 \begin_layout Standard
13940 Poniendo juntas las últimas cosas, la salida \SpecialChar LaTeX
13944 \begin_layout LyX-Code
13947 LatexName[LatexParam]{\SpecialChar ldots
13951 \begin_layout Standard
13955 \begin_layout LyX-Code
13958 begin{LatexName}[LatexParam] \SpecialChar ldots
13964 \begin_layout Standard
13965 dependiendo del tipo de \SpecialChar LaTeX
13970 \begin_layout Description
13971 \begin_inset Flex Code
13974 \begin_layout Plain Layout
13981 \begin_inset Flex Code
13984 \begin_layout Plain Layout
13990 ] Secuencia que se pone al inicio del contenido del estilo.
13991 Un salto de línea en la salida puede indicarse con
13992 \begin_inset Flex Code
13995 \begin_layout Plain Layout
14004 \begin_layout Description
14005 \begin_inset Flex Code
14008 \begin_layout Plain Layout
14015 \begin_inset Flex Code
14018 \begin_layout Plain Layout
14024 ] Si pones estilos en entornos, los
14025 \begin_inset Flex Code
14028 \begin_layout Plain Layout
14034 no son simplemente añadidos, sino aumentados en un factor
14035 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
14039 Anotar que este parámetro se usa también cuando
14040 \begin_inset Flex Code
14043 \begin_layout Plain Layout
14050 \begin_inset Flex Code
14053 \begin_layout Plain Layout
14060 \begin_inset Flex Code
14063 \begin_layout Plain Layout
14070 En ese caso se añade al margen manual o dinámico.
14071 \begin_inset Newline newline
14075 \begin_inset Quotes cld
14079 \begin_inset Flex Code
14082 \begin_layout Plain Layout
14089 \begin_inset Quotes crd
14092 significa que el párrafo se sangra con la anchura de
14093 \begin_inset Quotes cld
14097 \begin_inset Flex Code
14100 \begin_layout Plain Layout
14107 \begin_inset Quotes crd
14110 en la tipografía normal.
14111 Se puede obtener una anchura negativa anteponiendo
14112 \begin_inset Quotes cld
14116 \begin_inset Flex Code
14119 \begin_layout Plain Layout
14126 \begin_inset Quotes crd
14130 Se eligió este método para que el aspecto sea el mismo con cada una de
14131 las tipografías de pantalla usadas.
14134 \begin_layout Description
14135 \begin_inset Flex Code
14138 \begin_layout Plain Layout
14145 \begin_inset Flex Code
14148 \begin_layout Plain Layout
14153 , Manual, Dynamic, First_Dynamic, Right_Address_Box
14159 \begin_inset Newline newline
14162 El tipo de margen que el estilo tiene en el lado izquierdo.
14166 \begin_layout Description
14167 \begin_inset Flex Code
14170 \begin_layout Plain Layout
14176 significa un margen fijo.
14179 \begin_layout Description
14180 \begin_inset Flex Code
14183 \begin_layout Plain Layout
14189 significa que el margen izquierdo depende de la cadena introducida en el
14191 \begin_inset Flex Noun
14194 \begin_layout Plain Layout
14195 Editar\SpecialChar menuseparator
14196 Configuración del párrafo\SpecialChar ldots
14203 Esto se utiliza para componer bonitas listas sin tabuladores.
14206 \begin_layout Description
14207 \begin_inset Flex Code
14210 \begin_layout Plain Layout
14216 significa que el margen depende del tamaño de la etiqueta.
14217 Esto se usa para las cabeceras automáticas de las listas numeradas.
14218 Es obvio que la cabecera
14219 \begin_inset Quotes cld
14222 5.4.3.2.1 Cabecera muy larga
14223 \begin_inset Quotes crd
14226 debe tener un margen izquierdo más amplio (tan ancho como
14227 \begin_inset Quotes cld
14231 \begin_inset Quotes crd
14234 más el espacio) que
14235 \begin_inset Quotes cld
14238 3.2 Cabecera muy larga
14239 \begin_inset Quotes crd
14243 \begin_inset Quotes cld
14246 procesadores de texto
14247 \begin_inset Quotes crd
14250 corrientes no sean capaces de hacer esto.
14253 \begin_layout Description
14254 \begin_inset Flex Code
14257 \begin_layout Plain Layout
14263 es similar, pero solo la primera fila del párrafo es dinámica, mientras
14264 que las demás son estáticas; esto se emplea, por ejemplo, para descripciones.
14267 \begin_layout Description
14268 \begin_inset Flex Code
14271 \begin_layout Plain Layout
14277 significa que el margen se elige de manera que la fila más larga de este
14278 párrafo se adapte al margen derecho.
14279 Esto se emplea para componer una dirección en el lado derecho de la página.
14284 \begin_layout Description
14285 \begin_inset Flex Code
14288 \begin_layout Plain Layout
14295 \begin_inset Flex Code
14298 \begin_layout Plain Layout
14307 \begin_inset space \thinspace{}
14311 \begin_inset Flex Code
14314 \begin_layout Plain Layout
14320 ] Si los comandos frágiles en este estilo deberían ser protegidos,
14321 \begin_inset Flex Code
14324 \begin_layout Plain Layout
14337 si este comando debería él mismo ser protegido.)
14340 \begin_layout Description
14341 \begin_inset Flex Code
14344 \begin_layout Plain Layout
14351 \begin_inset Flex Code
14354 \begin_layout Plain Layout
14361 \begin_inset space \thinspace{}
14365 \begin_inset Flex Code
14368 \begin_layout Plain Layout
14376 ] Si las líneas nuevas se transforman en líneas nuevas \SpecialChar LaTeX
14378 \begin_inset Flex Code
14381 \begin_layout Plain Layout
14392 La transformación puede desactivarse para permitir una edición más confortable
14393 de \SpecialChar LaTeX
14394 en \SpecialChar LyX
14398 \begin_layout Description
14399 \begin_inset Flex Code
14402 \begin_layout Plain Layout
14409 \begin_inset Flex Code
14412 \begin_layout Plain Layout
14421 \begin_inset space \thinspace{}
14425 \begin_inset Flex Code
14428 \begin_layout Plain Layout
14434 ] Si se permite sangrar la primera fila del párrafo siguiente.
14436 \begin_inset Flex Code
14439 \begin_layout Plain Layout
14445 significa que no se permite hacerlo;
14446 \begin_inset Flex Code
14449 \begin_layout Plain Layout
14455 significa que puede hacerse si se desea.
14458 \begin_layout Description
14459 \begin_inset Flex Code
14462 \begin_layout Plain Layout
14469 \begin_inset Flex Code
14472 \begin_layout Plain Layout
14478 ] Nombre de un estilo que ha reemplazado este estilo.
14479 Esto se emplea para renombrar un estilo, mientras que se mantiene compatibilida
14483 \begin_layout Description
14484 \begin_inset Flex Code
14487 \begin_layout Plain Layout
14494 \begin_inset Flex Code
14497 \begin_layout Plain Layout
14504 \begin_inset space \thinspace{}
14508 \begin_inset Flex Code
14511 \begin_layout Plain Layout
14517 ] Determina si párrafos consecutivos del mismo tipo se tratan como si fueran
14519 Esto tiene el efecto de que
14520 \begin_inset Flex Code
14523 \begin_layout Plain Layout
14529 solo se imprime una vez delante de tal grupo.
14530 Por omisión, esto es así para
14531 \begin_inset Flex Code
14534 \begin_layout Plain Layout
14541 \begin_inset Flex Code
14544 \begin_layout Plain Layout
14551 \begin_inset Flex Code
14554 \begin_layout Plain Layout
14560 y no lo es para los demás tipos.
14563 \begin_layout Description
14564 \begin_inset Flex Code
14567 \begin_layout Plain Layout
14574 \begin_inset Flex Code
14577 \begin_layout Plain Layout
14586 \begin_inset space \thinspace{}
14590 \begin_inset Flex Code
14593 \begin_layout Plain Layout
14599 ] Indica que los párrafos no serán separados por una línea vacía en la salida
14601 , solo por un salto de línea; junto con
14602 \begin_inset Flex Code
14605 \begin_layout Plain Layout
14611 , esto permite emular un editor de texto simple (como un recuadro ERT).
14614 \begin_layout Description
14615 \begin_inset Flex Code
14618 \begin_layout Plain Layout
14625 \begin_inset Flex Code
14628 \begin_layout Plain Layout
14634 ] El sangrado de la primera línea de un párrafo.
14636 \begin_inset Flex Code
14639 \begin_layout Plain Layout
14645 estará fijado para un determinado estilo.
14646 La excepción es el estilo
14647 \begin_inset Flex Code
14650 \begin_layout Plain Layout
14656 , puesto que la sangría de un párrafo de estilo
14657 \begin_inset Flex Code
14660 \begin_layout Plain Layout
14666 puede prohibirse con
14667 \begin_inset Flex Code
14670 \begin_layout Plain Layout
14677 Además, los párrafos de estilo
14678 \begin_inset Flex Code
14681 \begin_layout Plain Layout
14687 dentro de entornos usan la sangría
14688 \begin_inset Flex Code
14691 \begin_layout Plain Layout
14697 del entorno, no su propio valor.
14698 Por ejemplo, los párrafos
14699 \begin_inset Flex Code
14702 \begin_layout Plain Layout
14708 en una enumeración no se sangran.
14711 \begin_layout Description
14712 \begin_inset Flex Code
14715 \begin_layout Plain Layout
14722 \begin_inset Flex Code
14725 \begin_layout Plain Layout
14731 ] El espacio vertical entre dos párrafos de este estilo.
14734 \begin_layout Description
14735 \begin_inset Flex Code
14738 \begin_layout Plain Layout
14745 \begin_inset Flex Code
14748 \begin_layout Plain Layout
14755 permite al usuario elegir entre
14756 \begin_inset Quotes cld
14760 \begin_inset Quotes crd
14764 \begin_inset Quotes cld
14768 \begin_inset Quotes crd
14771 para separar párrafos.
14773 \begin_inset Quotes cld
14777 \begin_inset Quotes crd
14780 , este valor es completamente ignorado.
14782 \begin_inset Quotes cld
14786 \begin_inset Quotes crd
14789 , el sangrado de un estilo tipo
14790 \begin_inset Quotes cld
14794 \begin_inset Quotes crd
14797 de \SpecialChar LaTeX
14798 se ignora y todos los párrafos son separados con este argumento
14799 \begin_inset Quotes cld
14803 \begin_inset Quotes crd
14807 El espacio vertical se calcula con
14808 \begin_inset Flex Code
14811 \begin_layout Plain Layout
14813 \begin_inset space ~
14822 \begin_inset Flex Code
14825 \begin_layout Plain Layout
14831 es la altura de una fila con la tipografía normal.
14832 De esta forma, el aspecto queda igual con diferentes tipografías de pantalla.
14835 \begin_layout Description
14836 \begin_inset Flex Code
14839 \begin_layout Plain Layout
14848 \begin_inset Flex Code
14851 \begin_layout Plain Layout
14862 \begin_inset space \thinspace{}
14866 \begin_inset Flex Code
14869 \begin_layout Plain Layout
14875 ] Si el contenido de este párrafo debería aparecer en la salida en forma
14876 cruda, es decir sin las traducciones especiales que \SpecialChar LaTeX
14880 \begin_layout Description
14881 \begin_inset Flex Code
14884 \begin_layout Plain Layout
14891 \begin_inset Flex Code
14894 \begin_layout Plain Layout
14904 Define caracteres individuales que deberían emitirse en bruto, o sea, sin
14905 traducciones especiales que \SpecialChar LaTeX
14909 \begin_layout Description
14910 \begin_inset Flex Code
14913 \begin_layout Plain Layout
14919 Información a incluir en el preámbulo \SpecialChar LaTeX
14920 cuando se usa este estilo.
14921 Utilizado para definir macros, paquetes a cargar, etc., requeridos por este
14922 estilo en particular.
14924 \begin_inset Quotes cld
14928 \begin_inset Flex Code
14931 \begin_layout Plain Layout
14938 \begin_inset Quotes crd
14944 \begin_layout Description
14945 \begin_inset Flex Code
14948 \begin_layout Plain Layout
14955 \begin_inset Flex Code
14958 \begin_layout Plain Layout
14964 ] El prefijo a usar cuando se crean etiquetas que se refieren a párrafos
14966 Esto permite el uso de referencias con formato.
14969 \begin_layout Description
14970 \begin_inset Flex Code
14973 \begin_layout Plain Layout
14982 \begin_inset Flex Code
14985 \begin_layout Plain Layout
14993 Si el estilo requiere la característica
14994 \begin_inset Flex Code
14997 \begin_layout Plain Layout
15004 \begin_inset CommandInset ref
15006 reference "cap:Lista-de-funciones"
15011 Si necesitas un paquete con opciones específicas puedes usar además
15012 \begin_inset Flex Code
15015 \begin_layout Plain Layout
15021 como un parámetro de clase de texto general (véase
15022 \begin_inset CommandInset ref
15024 reference "subsec:Parámetros-generales-clases"
15031 \begin_layout Description
15032 \begin_inset Flex Code
15035 \begin_layout Plain Layout
15042 \begin_inset Flex Code
15045 \begin_layout Plain Layout
15054 \begin_inset Flex Code
15057 \begin_layout Plain Layout
15063 ] Reinicia los argumentos de este estilo (como definido mediante la etiqueta
15065 \begin_inset Flex Code
15068 \begin_layout Plain Layout
15075 Es útil si has copiado un estilo mediante
15076 \begin_inset Flex Code
15079 \begin_layout Plain Layout
15085 , pero no quieres heredar sus argumentos (requerido y opcional).
15088 \begin_layout Description
15091 \begin_inset Flex Code
15094 \begin_layout Plain Layout
15103 \begin_inset Flex Code
15106 \begin_layout Plain Layout
15116 \begin_inset Flex Code
15119 \begin_layout Plain Layout
15127 ] Resumes a counter that is usually reset at each new sequence of layouts.
15128 This is currently only useful when
15129 \begin_inset Flex Code
15132 \begin_layout Plain Layout
15141 \begin_inset Flex Code
15144 \begin_layout Plain Layout
15155 \begin_layout Description
15156 \begin_inset Flex Code
15159 \begin_layout Plain Layout
15166 \begin_inset Flex Code
15169 \begin_layout Plain Layout
15175 ] Secuencia que se pone al final del contenido del formato.
15176 Un salto de línea en la salida se puede indicar con
15177 \begin_inset Flex Code
15180 \begin_layout Plain Layout
15189 \begin_layout Description
15190 \begin_inset Flex Code
15193 \begin_layout Plain Layout
15200 \begin_inset Flex Code
15203 \begin_layout Plain Layout
15210 \begin_inset Flex Code
15213 \begin_layout Plain Layout
15222 \begin_layout Description
15223 \begin_inset Flex Code
15226 \begin_layout Plain Layout
15233 \begin_inset Flex Code
15236 \begin_layout Plain Layout
15245 \begin_inset Flex Code
15248 \begin_layout Plain Layout
15255 \begin_inset Flex Code
15258 \begin_layout Plain Layout
15265 \begin_inset Flex Code
15268 \begin_layout Plain Layout
15270 \begin_inset space ~
15278 ] Esto define cuál debería ser el espacio predefinido en el estilo.
15280 \begin_inset Flex Code
15283 \begin_layout Plain Layout
15290 \begin_inset Flex Code
15293 \begin_layout Plain Layout
15300 \begin_inset Flex Code
15303 \begin_layout Plain Layout
15309 corresponden respectivamente a un multiplicador de 1, 1.25 y 1.667.
15310 Si se especifica el argumento
15311 \begin_inset Flex Code
15314 \begin_layout Plain Layout
15320 , entonces se debería proporcionar además un argumento numérico que será
15321 el valor real del multiplicador.
15322 Anotar que, al contrario que otros parámetros,
15323 \begin_inset Flex Code
15326 \begin_layout Plain Layout
15332 implica la generación de código \SpecialChar LaTeX
15333 específico, usando el paquete \SpecialChar LaTeX
15335 \begin_inset Flex Code
15338 \begin_layout Plain Layout
15347 \begin_layout Description
15348 \begin_inset Flex Code
15351 \begin_layout Plain Layout
15358 \begin_inset Flex Code
15361 \begin_layout Plain Layout
15370 \begin_inset space \thinspace{}
15376 \begin_inset Flex Code
15379 \begin_layout Plain Layout
15387 ] Corrección ortográfica de párrafos de este estilo.
15391 \begin_layout Description
15394 \begin_inset Flex Code
15397 \begin_layout Plain Layout
15406 \begin_inset Flex Code
15409 \begin_layout Plain Layout
15419 \begin_inset Flex Code
15422 \begin_layout Plain Layout
15430 ] Steps the master counter of a given counter at the beginning of a new
15431 sequence of layouts.
15432 This is currently only useful when
15433 \begin_inset Flex Code
15436 \begin_layout Plain Layout
15445 \begin_inset Flex Code
15448 \begin_layout Plain Layout
15459 \begin_layout Description
15460 \begin_inset Flex Code
15463 \begin_layout Plain Layout
15469 La tipografía para el cuerpo del texto.
15471 \begin_inset CommandInset ref
15473 reference "subsec:Tipografía"
15480 \begin_layout Description
15481 \begin_inset Flex Code
15484 \begin_layout Plain Layout
15491 \begin_inset Flex Code
15494 \begin_layout Plain Layout
15500 ] El nivel del estilo en el índice general.
15501 Esto se usa para la numeración automática de los encabezados de sección.
15504 \begin_layout Description
15505 \begin_inset Flex Code
15508 \begin_layout Plain Layout
15517 \begin_inset Flex Code
15520 \begin_layout Plain Layout
15529 \begin_inset Flex Code
15532 \begin_layout Plain Layout
15539 \begin_inset Flex Code
15542 \begin_layout Plain Layout
15548 ] Esta etiqueta determina si la sangría de primera línea de este párrafo
15549 puede conmutarse en el diálogo de configuración del párrafo.
15553 \begin_inset Flex Code
15556 \begin_layout Plain Layout
15566 , la sangría puede conmutarse si la configuración del documento usa estilo
15568 \begin_inset Quotes cld
15572 \begin_inset Quotes crd
15576 \begin_inset Flex Code
15579 \begin_layout Plain Layout
15585 , la sangría se puede conmutar siempre, no importa la configuración del
15587 \begin_inset Flex Code
15590 \begin_layout Plain Layout
15596 , la sangría nunca se puede conmutar.
15599 \begin_layout Description
15600 \begin_inset Flex Code
15603 \begin_layout Plain Layout
15610 \begin_inset Flex Code
15613 \begin_layout Plain Layout
15619 ] El espacio vertical con el que el primero de una cadena de párrafos con
15620 este estilo se separa del párrafo anterior.
15621 Si el párrafo anterior tiene otro estilo, la separación no es simplemente
15622 añadida, sino que se pone la máxima.
15625 \begin_layout Subsection
15626 Internacionalización de estilos de párrafo
15627 \begin_inset CommandInset label
15636 \begin_layout Standard
15638 ha soportado desde hace tiempo la internacionalización de la información
15639 de formato, pero, hasta la versión 2.0, esto se aplicaba solo a la interfaz
15640 de usuario y no a la salida, digamos, PDF.
15641 Así, por ej., autores franceses tenían que acudir a feos trucos para conseguir
15642 `Théorème 1' en vez de `Theorem 1'.
15643 Gracias a Georg Baum, este ya no es el caso.
15646 \begin_layout Standard
15648 \begin_inset Flex Code
15651 \begin_layout Plain Layout
15657 define texto que se mostrará en el documento exportado, puede usar
15658 \begin_inset Flex Code
15661 \begin_layout Plain Layout
15668 \begin_inset Flex Code
15671 \begin_layout Plain Layout
15677 para soportar correctamente documentos con idioma distinto del inglés e
15678 incluso documentos plurilingües.
15679 El siguiente extracto (del archivo
15680 \begin_inset Flex Code
15683 \begin_layout Plain Layout
15689 ) muestra cómo funciona:
15692 \begin_layout LyX-Code
15697 \begin_layout LyX-Code
15700 theoremstyle{remark}
15703 \begin_layout LyX-Code
15706 newtheorem{claim}[thm]{
15713 \begin_layout LyX-Code
15717 \begin_layout LyX-Code
15721 \begin_layout LyX-Code
15726 claimname}{_(Claim)}
15729 \begin_layout LyX-Code
15733 \begin_layout LyX-Code
15737 \begin_layout LyX-Code
15746 claimname}{_(Claim)}}
15749 \begin_layout LyX-Code
15754 \begin_layout Standard
15755 En principio, cualquier \SpecialChar LaTeX
15756 legal puede aparecer en las etiquetas
15757 \begin_inset Flex Code
15760 \begin_layout Plain Layout
15767 \begin_inset Flex Code
15770 \begin_layout Plain Layout
15776 , pero en la práctica el aspecto será generalmente como el mostrado aquí.
15777 La clave para una correcta traducción del texto impreso es la definición
15778 del comando \SpecialChar LaTeX
15780 \begin_inset Flex Code
15783 \begin_layout Plain Layout
15792 \begin_inset Flex Code
15795 \begin_layout Plain Layout
15807 \begin_layout Standard
15809 \begin_inset Flex Code
15812 \begin_layout Plain Layout
15818 proporciona internacionalización basada en el idioma global del documento.
15819 El contenido de la etiqueta se incluirá en el preámbulo, igual que con
15821 \begin_inset Flex Code
15824 \begin_layout Plain Layout
15831 Lo que la hace especial es el uso de la
15832 \begin_inset Quotes eld
15836 \begin_inset Quotes erd
15840 \begin_inset Flex Code
15843 \begin_layout Plain Layout
15849 , que será reemplazada, cuando \SpecialChar LyX
15850 genere la salida \SpecialChar LaTeX
15851 , por la traducción de
15852 su argumento al idioma del documento.
15855 \begin_layout Standard
15857 \begin_inset Flex Code
15860 \begin_layout Plain Layout
15866 es más compleja, puesto que está pensada para dar soporte a documentos
15867 plurilingües y ofrece una interfaz al paquete
15868 \begin_inset Flex Code
15871 \begin_layout Plain Layout
15878 Su contenido se añadirá al preámbulo una vez por cada idioma que aparezca
15880 En este caso, el argumento en
15881 \begin_inset Flex Code
15884 \begin_layout Plain Layout
15890 se reemplazará por su traducción al idioma en cuestión; la expresión
15891 \begin_inset Flex Code
15894 \begin_layout Plain Layout
15900 es reemplazada por el nombre del idioma (el usado por el paquete babel).
15903 \begin_layout Standard
15904 Un documento en alemán que también incluya una sección en francés tendría
15905 lo siguiente en el preámbulo:
15908 \begin_layout LyX-Code
15917 claimname}{Affirmation}}
15918 \begin_inset Newline newline
15929 claimname}{Behauptung}}
15930 \begin_inset Newline newline
15937 claimname}{Behauptung}
15940 \begin_layout Standard
15943 \begin_inset Flex Code
15946 \begin_layout Plain Layout
15952 conspirarán para producir el texto correcto en la salida.
15955 \begin_layout Standard
15956 Un punto importante a tener en cuenta aquí es que las traducciones son proporcio
15957 nadas por el propio \SpecialChar LyX
15958 , por medio del archivo
15959 \begin_inset Flex Code
15962 \begin_layout Plain Layout
15969 Esto quiere decir, en definitiva, que
15970 \begin_inset Flex Code
15973 \begin_layout Plain Layout
15980 \begin_inset Flex Code
15983 \begin_layout Plain Layout
15989 realmente solo son útiles en archivos de formato que son proporcionados
15990 por \SpecialChar LyX
15991 , puesto que el texto introducido en archivos de formato creados por
15992 el usuario no serán tenidos en cuenta por las rutinas de internacionalización
15993 de \SpecialChar LyX
15994 a menos que el archivo
15995 \begin_inset Flex Code
15998 \begin_layout Plain Layout
16004 se modifique como correponde.
16005 Sin embargo, cualquier formato creado con la intención de ser incluido
16006 en \SpecialChar LyX
16007 debería usar estas etiquetas en los lugares apropiados.
16008 Ten en cuenta que las traducciones de estilo de párrafo provistas por \SpecialChar LyX
16010 nunca cambian en actualizaciones menores (p.
16011 \begin_inset space \thinspace{}
16015 \begin_inset space \space{}
16018 de versión 2.1.x a 2.1.y).
16019 Sin embargo es muy probable que en actualizaciones mayores (p.
16020 \begin_inset space \thinspace{}
16024 \begin_inset space \space{}
16027 de 2.0.x a 2.1.y) se introduzcan nuevas traducciones o correcciones.
16030 \begin_layout Subsection
16032 \begin_inset CommandInset label
16034 name "subsec:Flotantes"
16041 \begin_layout Standard
16042 Es necesario definir los flotantes (
16043 \begin_inset Flex Noun
16046 \begin_layout Plain Layout
16053 \begin_inset Flex Noun
16056 \begin_layout Plain Layout
16062 , \SpecialChar ldots
16063 ) en la propia clase de texto.
16064 Los flotantes normales se incluyen en el archivo
16065 \begin_inset Flex Code
16068 \begin_layout Plain Layout
16074 , así que no tendrás más que añadir
16077 \begin_layout LyX-Code
16078 Input stdfloats.inc
16081 \begin_layout Standard
16082 en tu archivo de formato.
16083 Si quieres implementar una clase de texto que proponga algún otro tipo
16084 de flotante (como la clase AGU empaquetada con \SpecialChar LyX
16085 ), la información siguiente
16086 te servirá de ayuda:
16089 \begin_layout Description
16090 \begin_inset Flex Code
16093 \begin_layout Plain Layout
16100 \begin_inset Flex Code
16103 \begin_layout Plain Layout
16109 =!htbpH] Opciones de colocación permitidas para este tipo de flotante.
16110 El valor es una secuencia de caracteres:
16115 \begin_inset Quotes eld
16119 \begin_inset Quotes erd
16127 \begin_inset Quotes eld
16131 \begin_inset Quotes erd
16139 \begin_inset Quotes eld
16143 \begin_inset Quotes erd
16151 \begin_inset Quotes eld
16155 \begin_inset Quotes erd
16163 \begin_inset Quotes eld
16167 \begin_inset Quotes erd
16175 \begin_inset Quotes eld
16179 \begin_inset Quotes erd
16183 El orden no importa.
16184 Si las opciones de colocación no están permitidas usa string
16191 \begin_layout Description
16192 \begin_inset Flex Code
16195 \begin_layout Plain Layout
16202 \begin_inset Flex Code
16205 \begin_layout Plain Layout
16212 \begin_inset space \thinspace{}
16218 \begin_inset Flex Code
16221 \begin_layout Plain Layout
16229 ] Define si el flotante admite rotación mediante el paquete \SpecialChar LaTeX
16236 \begin_inset Flex Code
16239 \begin_layout Plain Layout
16245 si el flotante no soporta esta característica.
16248 \begin_layout Description
16249 \begin_inset Flex Code
16252 \begin_layout Plain Layout
16259 \begin_inset Flex Code
16262 \begin_layout Plain Layout
16269 \begin_inset space \thinspace{}
16275 \begin_inset Flex Code
16278 \begin_layout Plain Layout
16286 ] Define si el flotante tiene una variante asterisco que abarca columnas
16287 en un párrafo de dos columnas.
16289 \begin_inset Flex Code
16292 \begin_layout Plain Layout
16298 si el flotante no soporta esta característica.
16301 \begin_layout Description
16302 \begin_inset Flex Code
16305 \begin_layout Plain Layout
16312 \begin_inset Flex Code
16315 \begin_layout Plain Layout
16322 \begin_inset Quotes erd
16326 \begin_inset Quotes erd
16329 ] La extensión del nombre de un archivo auxiliar para la lista de figuras
16332 escribe las leyendas en este archivo.
16335 \begin_layout Description
16336 \begin_inset Flex Code
16339 \begin_layout Plain Layout
16346 \begin_inset Flex Code
16349 \begin_layout Plain Layout
16356 \begin_inset Quotes erd
16360 \begin_inset Quotes erd
16363 ] La cadena que se usará en los menús y también para la leyenda.
16364 Esto se traduce al idioma actual si se usa.
16367 \begin_layout Description
16368 \begin_inset Flex Code
16371 \begin_layout Plain Layout
16377 Controlan la salida XHTML.
16379 \begin_inset space ~
16383 \begin_inset CommandInset ref
16385 reference "sec:Etiquetas-para-XHTML"
16392 \begin_layout Description
16393 \begin_inset Flex Code
16396 \begin_layout Plain Layout
16405 \begin_inset Flex Code
16408 \begin_layout Plain Layout
16417 \begin_inset space \thinspace{}
16421 \begin_inset Flex Code
16424 \begin_layout Plain Layout
16430 ] Indica si el flotante está ya definido en la clase de documento o si necesitam
16431 os cargar el paquete \SpecialChar LaTeX
16433 \begin_inset Flex Code
16436 \begin_layout Plain Layout
16442 para definirlo sobre la marcha.
16444 \begin_inset Flex Code
16447 \begin_layout Plain Layout
16453 , que significa: usar
16454 \begin_inset Flex Code
16457 \begin_layout Plain Layout
16465 \begin_inset Flex Code
16468 \begin_layout Plain Layout
16474 si el flotante ya está definido por la clase de documento \SpecialChar LaTeX
16478 \begin_layout Description
16479 \begin_inset Flex Code
16482 \begin_layout Plain Layout
16489 \begin_inset Flex Code
16492 \begin_layout Plain Layout
16499 \begin_inset Quotes erd
16503 \begin_inset Quotes erd
16506 ] El comando usado para generar una lista de flotantes de este tipo; debe
16507 omitirse el precedente `
16515 \begin_inset Flex Code
16518 \begin_layout Plain Layout
16524 es `false', puesto que no hay una forma estándar de generar este comando.
16526 \begin_inset Flex Code
16529 \begin_layout Plain Layout
16535 es `true', porque en este caso sí hay una forma estándar de definir el
16539 \begin_layout Description
16540 \begin_inset Flex Code
16543 \begin_layout Plain Layout
16550 \begin_inset Flex Code
16553 \begin_layout Plain Layout
16560 \begin_inset Quotes erd
16564 \begin_inset Quotes erd
16567 ] Un título para una lista de flotantes de este tipo (índice de figuras,
16568 tablas o lo que sea).
16569 Se usa para el nombre del recuadro en \SpecialChar LyX
16570 ; se pasa a \SpecialChar LaTeX
16571 para usarlo como título
16572 allí; y se usa como título en la salida.
16573 Será traducido al idioma del documento.
16576 \begin_layout Description
16577 \begin_inset Flex Code
16580 \begin_layout Plain Layout
16587 \begin_inset Flex Code
16590 \begin_layout Plain Layout
16597 \begin_inset Quotes erd
16601 \begin_inset Quotes erd
16604 ] Este argumento (opcional) determina si los flotantes de esta clase serán
16605 numerados dentro de alguna unidad de sección del documento.
16607 \begin_inset Flex Code
16610 \begin_layout Plain Layout
16617 \begin_inset Quotes cld
16621 \begin_inset Flex Code
16624 \begin_layout Plain Layout
16631 \begin_inset Quotes crd
16634 , los flotantes serán numerados dentro de los capítulos.
16637 \begin_layout Description
16638 \begin_inset Flex Code
16641 \begin_layout Plain Layout
16648 \begin_inset Flex Code
16651 \begin_layout Plain Layout
16658 \begin_inset Quotes erd
16662 \begin_inset Quotes erd
16665 ] La colocación por omisión para la clase dada de flotantes.
16667 \begin_inset Flex Code
16670 \begin_layout Plain Layout
16676 deberá ser un estándar \SpecialChar LaTeX
16678 \begin_inset Flex Code
16681 \begin_layout Plain Layout
16688 \begin_inset Flex Code
16691 \begin_layout Plain Layout
16698 \begin_inset Flex Code
16701 \begin_layout Plain Layout
16708 \begin_inset Flex Code
16711 \begin_layout Plain Layout
16718 \begin_inset Quotes cld
16722 \begin_inset Quotes crd
16726 \begin_inset Quotes cld
16730 \begin_inset Quotes crd
16734 \begin_inset Quotes cld
16738 \begin_inset Quotes crd
16742 \begin_inset Quotes cld
16746 \begin_inset Quotes crd
16749 (aquí), respectivamente.
16753 \begin_layout Plain Layout
16754 Anotar que el orden de estas letras en la cadena es irrelevante, como en
16761 Por encima de éstos hay un nuevo tipo,
16762 \begin_inset Flex Code
16765 \begin_layout Plain Layout
16771 , que no corresponde realmente a un flotante, ya que se refiere a: ponerlo
16773 \begin_inset Quotes cld
16777 \begin_inset Quotes crd
16780 , y en ninguna otra parte.
16781 Anotar que, sin embargo, el colocador
16782 \begin_inset Flex Code
16785 \begin_layout Plain Layout
16791 es especial y, debido a detalles de implementación, no puede usarse en
16792 tipos de flotantes no empotrados.
16793 Si no comprendes lo que esto significa, usa solo
16794 \begin_inset Quotes cld
16798 \begin_inset Flex Code
16801 \begin_layout Plain Layout
16808 \begin_inset Quotes crd
16814 \begin_layout Description
16815 \begin_inset Flex Code
16818 \begin_layout Plain Layout
16825 \begin_inset Flex Code
16828 \begin_layout Plain Layout
16834 ] El prefijo a usar cuando se crean etiquetas referidas a flotantes de este
16836 Esto permite el uso de referencias con formato.
16837 Puedes quitar cualquier
16838 \begin_inset Flex Code
16841 \begin_layout Plain Layout
16847 puesto por un estilo copiado usando el valor especial
16848 \begin_inset Quotes eld
16852 \begin_inset Quotes erd
16855 , todas mayúsculas.
16858 \begin_layout Description
16859 \begin_inset Flex Code
16862 \begin_layout Plain Layout
16869 \begin_inset Flex Code
16872 \begin_layout Plain Layout
16879 \begin_inset Quotes erd
16883 \begin_inset Quotes erd
16886 ] El estilo usado cuando se define el flotante con
16887 \begin_inset Flex Code
16890 \begin_layout Plain Layout
16901 \begin_layout Description
16902 \begin_inset Flex Code
16905 \begin_layout Plain Layout
16912 \begin_inset Flex Code
16915 \begin_layout Plain Layout
16922 \begin_inset Quotes erd
16926 \begin_inset Quotes erd
16930 \begin_inset Quotes cld
16934 \begin_inset Quotes crd
16937 de la nueva clase de flotante, como programa o algoritmo.
16938 Después del apropiado
16939 \begin_inset Flex Code
16942 \begin_layout Plain Layout
16950 , comandos tales como
16951 \begin_inset Flex Code
16954 \begin_layout Plain Layout
16963 \begin_inset Flex Code
16966 \begin_layout Plain Layout
16974 estarán disponibles.
16977 \begin_layout Description
16978 \begin_inset Flex Code
16981 \begin_layout Plain Layout
16988 \begin_inset Flex Code
16991 \begin_layout Plain Layout
16998 \begin_inset space \thinspace{}
17002 \begin_inset Flex Code
17005 \begin_layout Plain Layout
17013 ] Nos dice si este flotante se define usando el paquete \SpecialChar LaTeX
17015 \begin_inset Flex Code
17018 \begin_layout Plain Layout
17024 , bien por el archivo de clase o por un paquete, o bien sobre la marcha
17025 por el propio \SpecialChar LyX
17029 \begin_layout Standard
17030 Anotar que al definir un flotante con tipo
17031 \begin_inset Flex Code
17034 \begin_layout Plain Layout
17042 automáticamente se define el correspondiente contador con nombre
17043 \begin_inset Flex Code
17046 \begin_layout Plain Layout
17057 \begin_layout Subsection
17058 Recuadros flexibles y formato del recuadro
17059 \begin_inset CommandInset label
17061 name "subsec:estilo-del-texto"
17068 \begin_layout Standard
17069 Los recuadros flexibles son de tres tipos:
17072 \begin_layout Itemize
17074 \begin_inset Flex Code
17077 \begin_layout Plain Layout
17083 ): estos definen diseños semánticos correspondientes a comandos \SpecialChar LaTeX
17085 \begin_inset Flex Code
17088 \begin_layout Plain Layout
17097 \begin_inset Flex Code
17100 \begin_layout Plain Layout
17111 \begin_layout Itemize
17112 definido por el usuario (
17113 \begin_inset Flex Code
17116 \begin_layout Plain Layout
17122 ): estos se pueden usar para definir recuadros plegables personalizados,
17123 del tipo de los de código \SpecialChar TeX
17124 , notas al pie y similares.
17125 Un ejemplo obvio es un recuadro de nota final, definido en el módulo del
17127 \begin_inset Flex Code
17130 \begin_layout Plain Layout
17139 \begin_layout Itemize
17141 \begin_inset Flex Code
17144 \begin_layout Plain Layout
17150 ): para usar con las clases DocBook.
17153 \begin_layout Standard
17154 Los recuadros flexibles se definen usando la etiqueta
17155 \begin_inset Flex Code
17158 \begin_layout Plain Layout
17164 , que se explicará en un momento.
17167 \begin_layout Standard
17169 \begin_inset Flex Code
17172 \begin_layout Plain Layout
17178 también sirve para otra función: puede utilizarse para personalizar el
17179 diseño general de muchos tipos diferentes de recuadros.
17181 \begin_inset Flex Code
17184 \begin_layout Plain Layout
17190 permite personalizar los parámetros de diseño de notas al pie, notas al
17191 margen, notas, recuadros de código \SpecialChar TeX
17192 (ERT), ramas, listados de programa,
17193 índices, cuadros, tablas, algoritmos, URL, y leyendas, así como para definir
17194 recuadros flexibles.
17197 \begin_layout Standard
17199 \begin_inset Flex Code
17202 \begin_layout Plain Layout
17208 debe comenzar con una línea de la forma:
17211 \begin_layout LyX-Code
17215 \begin_layout Standard
17217 \begin_inset Flex Code
17220 \begin_layout Plain Layout
17226 indica el recuadro cuyo formato se va a definir, y hay cuatro casos.
17229 \begin_layout Enumerate
17230 Se va a modificar el formato para un tipo de recuadro preexistente.
17232 \begin_inset Flex Code
17235 \begin_layout Plain Layout
17241 puede ser uno cualquiera de los siguientes:
17242 \begin_inset Flex Code
17245 \begin_layout Plain Layout
17252 \begin_inset Flex Code
17255 \begin_layout Plain Layout
17262 \begin_inset Flex Code
17265 \begin_layout Plain Layout
17272 \begin_inset Flex Code
17275 \begin_layout Plain Layout
17282 \begin_inset Flex Code
17285 \begin_layout Plain Layout
17292 \begin_inset Flex Code
17295 \begin_layout Plain Layout
17302 \begin_inset Flex Code
17305 \begin_layout Plain Layout
17312 \begin_inset Flex Code
17315 \begin_layout Plain Layout
17322 \begin_inset Flex Code
17325 \begin_layout Plain Layout
17332 \begin_inset Flex Code
17335 \begin_layout Plain Layout
17342 \begin_inset Flex Code
17345 \begin_layout Plain Layout
17352 \begin_inset Flex Code
17355 \begin_layout Plain Layout
17362 \begin_inset Flex Code
17365 \begin_layout Plain Layout
17372 \begin_inset Flex Code
17375 \begin_layout Plain Layout
17382 \begin_inset Flex Code
17385 \begin_layout Plain Layout
17392 \begin_inset Flex Code
17395 \begin_layout Plain Layout
17402 \begin_inset Flex Code
17405 \begin_layout Plain Layout
17412 \begin_inset Flex Code
17415 \begin_layout Plain Layout
17422 \begin_inset Flex Code
17425 \begin_layout Plain Layout
17432 \begin_inset Flex Code
17435 \begin_layout Plain Layout
17445 \begin_layout Enumerate
17446 Se va a definir el formato para un recuadro flexible.
17448 \begin_inset Flex Code
17451 \begin_layout Plain Layout
17458 \begin_inset Quotes cld
17462 \begin_inset Flex Code
17465 \begin_layout Plain Layout
17472 \begin_inset Quotes crd
17476 \begin_inset Flex Code
17479 \begin_layout Plain Layout
17485 ser cualquier identificador válido no utilizado por un recuadro preexistente.
17486 El identificador puede incluir espacios, pero en este caso debe ponerse
17487 todo entre comillas.
17488 Ten en cuenta que la definición de un flexible debe incluir
17493 \begin_inset Flex Code
17496 \begin_layout Plain Layout
17503 declarando qué tipo de recuadro define.
17506 \begin_layout Enumerate
17507 Se va a definir el formato para rama específica de usuario.
17509 \begin_inset Flex Code
17512 \begin_layout Plain Layout
17518 debe ser de la forma
17519 \begin_inset Quotes cld
17523 \begin_inset Flex Code
17526 \begin_layout Plain Layout
17533 \begin_inset Quotes crd
17537 \begin_inset Flex Code
17540 \begin_layout Plain Layout
17546 puede ser cualquier identificador válido de rama definido en el documento
17548 Este identificador puede incluir espacios, pero, en ese caso todo debe
17550 El propósito principal de esta característica es permitir a \SpecialChar LaTeX
17552 específicas como necesite el usuario.
17555 \begin_layout Enumerate
17556 Se va a definir el formato de una leyenda específica de usuario (o clase).
17558 \begin_inset Flex Code
17561 \begin_layout Plain Layout
17567 debe ser de la forma
17568 \begin_inset Quotes cld
17572 \begin_inset Flex Code
17575 \begin_layout Plain Layout
17582 \begin_inset Quotes crd
17586 \begin_inset Flex Code
17589 \begin_layout Plain Layout
17595 especifica el nombre de la leyenda como aparece en el menú.
17596 Repasa la leyenda estándar (
17597 \begin_inset Flex Code
17600 \begin_layout Plain Layout
17606 ), las leyendas específicas de las clases KOMA-Script (
17607 \begin_inset Flex Code
17610 \begin_layout Plain Layout
17617 \begin_inset Flex Code
17620 \begin_layout Plain Layout
17629 \begin_inset space ~
17635 \begin_inset Flex Code
17638 \begin_layout Plain Layout
17644 ) para aplicaciones.
17647 \begin_layout Standard
17649 \begin_inset Flex Code
17652 \begin_layout Plain Layout
17658 puede contener las siguientes entradas:
17661 \begin_layout Description
17664 \begin_inset Flex Code
17667 \begin_layout Plain Layout
17676 \begin_inset Flex Code
17679 \begin_layout Plain Layout
17687 =""] This inset will appear in the table of contents of the given type.
17688 An empty string disables.
17689 See also the OutlinerName and the IsTocCaption commands.
17690 This is only implemented for Flex insets.
17694 \begin_layout Description
17695 \begin_inset Flex Code
17698 \begin_layout Plain Layout
17705 \begin_inset Flex Code
17708 \begin_layout Plain Layout
17714 ] Define el número de argumento de un comando\SpecialChar breakableslash
17715 entorno asociado con el formato
17717 La definición debe terminar con
17718 \begin_inset Flex Code
17721 \begin_layout Plain Layout
17729 \begin_inset CommandInset ref
17731 reference "subsec:Estilos-de-párrafo"
17738 \begin_layout Description
17739 \begin_inset Flex Code
17742 \begin_layout Plain Layout
17748 Preámbulo para comandos de cambio de idioma; véase
17749 \begin_inset CommandInset ref
17751 reference "subsec:I18n"
17758 \begin_layout Description
17759 \begin_inset Flex Code
17762 \begin_layout Plain Layout
17769 \begin_inset Flex Code
17772 \begin_layout Plain Layout
17778 ] El color para el fondo del recuadro.
17779 Véase la lista de colores en
17780 \begin_inset CommandInset ref
17782 reference "cap:Nombres-de-colores"
17789 \begin_layout Description
17790 \begin_inset Flex Code
17793 \begin_layout Plain Layout
17800 \begin_inset Flex Code
17803 \begin_layout Plain Layout
17812 \begin_inset space \thinspace{}
17816 \begin_inset Flex Code
17819 \begin_layout Plain Layout
17825 ] Si usar no el contenido del recuadro como etiqueta del mismo cuando el
17826 recuadro se cierra.
17827 Por omisión, falso.
17830 \begin_layout Description
17831 \begin_inset Flex Code
17834 \begin_layout Plain Layout
17841 \begin_inset Flex Code
17844 \begin_layout Plain Layout
17850 ] Como los estilos de párrafo, véase
17851 \begin_inset CommandInset ref
17853 reference "subsec:Estilos-de-párrafo"
17858 Ten en cuenta que debes especificar el tipo completo, p.
17859 \begin_inset space \thinspace{}
17863 \begin_inset space ~
17867 \begin_inset Flex Code
17870 \begin_layout Plain Layout
17871 CopyStyle Flex:<name>
17879 \begin_layout Description
17880 \begin_inset Flex Code
17883 \begin_layout Plain Layout
17890 \begin_inset Flex Code
17893 \begin_layout Plain Layout
17902 \begin_inset space \thinspace{}
17906 \begin_inset Flex Code
17909 \begin_layout Plain Layout
17915 ] Indica si el usuario puede emplear el diálogo Configuración del párrafo
17916 para modificar el párrafo.
17919 \begin_layout Description
17920 \begin_inset Flex Code
17923 \begin_layout Plain Layout
17930 \begin_inset Flex Code
17933 \begin_layout Plain Layout
17940 \begin_inset Flex Code
17943 \begin_layout Plain Layout
17950 \begin_inset Flex Code
17953 \begin_layout Plain Layout
17959 , que describe el estilo de presentación para el marco y los botones del
17961 Las notas al pie usan generalmente
17962 \begin_inset Flex Code
17965 \begin_layout Plain Layout
17971 , los recuadros de código \SpecialChar TeX
17973 \begin_inset Flex Code
17976 \begin_layout Plain Layout
17982 , y los de estilos del texto
17983 \begin_inset Flex Code
17986 \begin_layout Plain Layout
17995 \begin_layout Description
17996 \begin_inset Flex Code
17999 \begin_layout Plain Layout
18006 \begin_inset Flex Code
18009 \begin_layout Plain Layout
18016 \begin_inset space \thinspace{}
18020 \begin_inset Flex Code
18023 \begin_layout Plain Layout
18032 \begin_inset Flex Code
18035 \begin_layout Plain Layout
18042 \begin_inset Flex Code
18045 \begin_layout Plain Layout
18052 Indica si el entorno se ubicará en su propio espacio en la salida o si
18053 aparecerá en línea con el texto circundante.
18054 Si se pone falso, se supone que el entorno \SpecialChar LaTeX
18055 ignora los espacios en blanco
18056 (incluyendo un carácter de línea nueva) después de las etiquetas
18057 \begin_inset Flex Code
18060 \begin_layout Plain Layout
18073 \begin_inset Flex Code
18076 \begin_layout Plain Layout
18089 Por omisión, verdadero.
18092 \begin_layout Description
18093 \begin_inset Flex Code
18096 \begin_layout Plain Layout
18102 Requerido al final de las declaraciones de formato del recuadro
18103 \begin_inset Flex Code
18106 \begin_layout Plain Layout
18115 \begin_layout Description
18116 \begin_inset Flex Code
18119 \begin_layout Plain Layout
18125 La tipografía usada tanto para el cuerpo del texto como para la etiqueta.
18127 \begin_inset CommandInset ref
18129 reference "subsec:Tipografía"
18134 Anotar que al definir esta tipografía se define automáticamente el mismo
18135 valor para la etiqueta,
18136 \begin_inset Flex Code
18139 \begin_layout Plain Layout
18145 , así que define aquella primero y después define
18146 \begin_inset Flex Code
18149 \begin_layout Plain Layout
18155 si las quieres diferentes.
18158 \begin_layout Description
18159 \begin_inset Flex Code
18162 \begin_layout Plain Layout
18163 FixedWidthPreambleEncoding
18169 \begin_inset Flex Code
18172 \begin_layout Plain Layout
18181 \begin_inset space \thinspace{}
18185 \begin_inset Flex Code
18188 \begin_layout Plain Layout
18194 ] Fuerza una codificación de ancho fijo para el contenido traducido del
18196 \begin_inset Flex Code
18199 \begin_layout Plain Layout
18206 \begin_inset Flex Code
18209 \begin_layout Plain Layout
18215 generado por este formato.
18216 Esto es necesario para paquetes especiales \SpecialChar LaTeX
18221 que no trabajan con codificaciones de ancho variable como
18226 Esta configuración se ignora si se usan soportes \SpecialChar LaTeX
18227 compatibles totalmente
18228 con Unicode como Xe\SpecialChar TeX
18229 o Lua\SpecialChar TeX
18233 \begin_layout Description
18234 \begin_inset Flex Code
18237 \begin_layout Plain Layout
18238 ForceLocalFontSwitch
18244 \begin_inset Flex Code
18247 \begin_layout Plain Layout
18256 \begin_inset space \thinspace{}
18260 \begin_inset Flex Code
18263 \begin_layout Plain Layout
18269 ] Cuando se usa babel, usar siempre un cambiador de fuente local (
18270 \begin_inset Flex Code
18273 \begin_layout Plain Layout
18281 ), nunca uno global (como
18282 \begin_inset Flex Code
18285 \begin_layout Plain Layout
18296 \begin_layout Description
18297 \begin_inset Flex Code
18300 \begin_layout Plain Layout
18307 \begin_inset Flex Code
18310 \begin_layout Plain Layout
18319 \begin_inset space \thinspace{}
18323 \begin_inset Flex Code
18326 \begin_layout Plain Layout
18333 \begin_inset Quotes cld
18337 \begin_inset Quotes crd
18340 que genera salida Izquierda-Derecha (latin), p.
18341 \begin_inset space \thinspace{}
18345 \begin_inset space \space{}
18348 en código \SpecialChar TeX
18353 \begin_layout Description
18354 \begin_inset Flex Code
18357 \begin_layout Plain Layout
18364 \begin_inset Flex Code
18367 \begin_layout Plain Layout
18376 \begin_inset space \thinspace{}
18380 \begin_inset Flex Code
18383 \begin_layout Plain Layout
18389 ] Fuerza un salto de línea en la salida \SpecialChar LaTeX
18390 antes de iniciarse el recuadro
18391 de inserción y después de finalizar.
18392 Esto asegura que el recuadro mismo se ubique en sus propias líneas, con
18396 \begin_layout Description
18397 \begin_inset Flex Code
18400 \begin_layout Plain Layout
18407 \begin_inset Flex Code
18410 \begin_layout Plain Layout
18419 \begin_inset space \thinspace{}
18423 \begin_inset Flex Code
18426 \begin_layout Plain Layout
18432 ] Indica si debería usarse
18433 \begin_inset Flex Code
18436 \begin_layout Plain Layout
18442 o, por el contrario el usuario puede cambiar el estilo de párrafo del recuadro.
18445 \begin_layout Description
18446 \begin_inset Flex Code
18449 \begin_layout Plain Layout
18458 \begin_inset Flex Code
18461 \begin_layout Plain Layout
18470 \begin_inset space \thinspace{}
18474 \begin_inset Flex Code
18477 \begin_layout Plain Layout
18483 ] Como en estilos de párrafo, véase
18484 \begin_inset CommandInset ref
18486 reference "subsec:Estilos-de-párrafo"
18493 \begin_layout Description
18494 \begin_inset Flex Code
18497 \begin_layout Plain Layout
18503 Controlan la salida XHTML.
18505 \begin_inset CommandInset ref
18507 reference "sec:Etiquetas-para-XHTML"
18514 \begin_layout Description
18515 \begin_inset Flex Code
18518 \begin_layout Plain Layout
18525 \begin_inset Flex Code
18528 \begin_layout Plain Layout
18537 \begin_inset space \thinspace{}
18541 \begin_inset Flex Code
18544 \begin_layout Plain Layout
18550 ] Incluye o no el contenido de este inset en la cadena generada para el
18551 panel 'Navegador de contorno'
18553 for all table of contents, regardless of the AddToToc setting
18556 El no sería, por ejemplo, para que el contenido de una nota al pie en un
18557 encabezado de sección no aparezca en el índice que se despliega en el navegador
18558 de contorno, sin embargo, normalmente sí se incluiría el contenido de un
18559 estilo de carácter.
18560 Predeterminado es false: no incluir.
18563 \begin_layout Description
18566 \begin_inset Flex Code
18569 \begin_layout Plain Layout
18578 \begin_inset Flex Code
18581 \begin_layout Plain Layout
18591 \begin_inset space \thinspace{}
18595 \begin_inset Flex Code
18598 \begin_layout Plain Layout
18606 ] If this is set to 1 and AddToToc is enabled, the inset adds a summary
18607 of its contents in its item in the table of contents.
18608 Otherwise, only the label appears.
18611 \begin_layout Description
18612 \begin_inset Flex Code
18615 \begin_layout Plain Layout
18624 \begin_inset Flex Code
18627 \begin_layout Plain Layout
18638 \begin_inset space \thinspace{}
18642 \begin_inset Flex Code
18645 \begin_layout Plain Layout
18651 ] Como en estilos de párrafo, véase
18652 \begin_inset CommandInset ref
18654 reference "subsec:Estilos-de-párrafo"
18661 \begin_layout Description
18662 \begin_inset Flex Code
18665 \begin_layout Plain Layout
18671 La tipografía para la etiqueta.
18673 \begin_inset CommandInset ref
18675 reference "subsec:Tipografía"
18680 Anotar que esta definición nunca puede aparecer antes de
18681 \begin_inset Flex Code
18684 \begin_layout Plain Layout
18690 , para que sea efectiva.
18693 \begin_layout Description
18694 \begin_inset Flex Code
18697 \begin_layout Plain Layout
18704 \begin_inset Flex Code
18707 \begin_layout Plain Layout
18714 \begin_inset Quotes erd
18718 \begin_inset Quotes erd
18721 ] Lo que se mostrará sobre el botón u otra parte como etiqueta del recuadro.
18722 Algunos tipos de recuadro (
18723 \begin_inset Flex Code
18726 \begin_layout Plain Layout
18727 código \SpecialChar TeX
18734 \begin_inset Flex Code
18737 \begin_layout Plain Layout
18743 ) modifican esta etiqueta sobre la marcha.
18746 \begin_layout Description
18747 \begin_inset Flex Code
18750 \begin_layout Plain Layout
18756 Preámbulo dependiente del idioma; véase
18757 \begin_inset CommandInset ref
18759 reference "subsec:I18n"
18766 \begin_layout Description
18767 \begin_inset Flex Code
18770 \begin_layout Plain Layout
18777 \begin_inset Flex Code
18780 \begin_layout Plain Layout
18786 ] El nombre \SpecialChar LaTeX
18787 correspondiente al asunto.
18788 Cualquier nombre de entorno o de comando.
18791 \begin_layout Description
18792 \begin_inset Flex Code
18795 \begin_layout Plain Layout
18802 \begin_inset Flex Code
18805 \begin_layout Plain Layout
18811 ] El parámetro opcional para el correspondiente
18812 \begin_inset Flex Code
18815 \begin_layout Plain Layout
18821 , incluyendo posibles pares de corchetes,
18822 \begin_inset Flex Code
18825 \begin_layout Plain Layout
18832 Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
18834 \begin_inset Flex Code
18837 \begin_layout Plain Layout
18843 para parámetros personalizables).
18844 Se emitirá como tal después de todos los
18845 \begin_inset Flex Code
18848 \begin_layout Plain Layout
18858 \begin_layout Description
18859 \begin_inset Flex Code
18862 \begin_layout Plain Layout
18869 \begin_inset Flex Code
18872 \begin_layout Plain Layout
18873 Command, Environment, None
18878 ] Cómo debería traducirse el estilo en \SpecialChar LaTeX
18883 \begin_layout Plain Layout
18884 \begin_inset Flex Code
18887 \begin_layout Plain Layout
18893 es quizás un poco confuso porque estas eglas se aplican también a clases.
18894 Mira los archivos de clase SGML para ejemplos concretos.
18903 \begin_layout Description
18904 \begin_inset Flex Code
18907 \begin_layout Plain Layout
18913 significa nada especial
18916 \begin_layout Description
18917 \begin_inset Flex Code
18920 \begin_layout Plain Layout
18927 \begin_inset Flex Code
18930 \begin_layout Plain Layout
18937 {\SpecialChar ldots
18946 \begin_layout Description
18947 \begin_inset Flex Code
18950 \begin_layout Plain Layout
18957 \begin_inset Flex Code
18960 \begin_layout Plain Layout
18967 }\SpecialChar ldots
18982 \begin_layout Standard
18983 Poniendo juntas las últimas cosas, la salida \SpecialChar LaTeX
18987 \begin_layout LyX-Code
18990 LatexName[LatexParam]{\SpecialChar ldots
18994 \begin_layout Standard
18998 \begin_layout LyX-Code
19001 begin{LatexName}[LatexParam] \SpecialChar ldots
19007 \begin_layout Standard
19008 dependiendo del tipo de \SpecialChar LaTeX
19013 \begin_layout Description
19014 \begin_inset Flex Code
19017 \begin_layout Plain Layout
19024 \begin_inset Flex Code
19027 \begin_layout Plain Layout
19033 ] Secuencia que se pone al comienzo del contenido del formato.
19034 Un salto de línea en la salida se indica con
19035 \begin_inset Flex Code
19038 \begin_layout Plain Layout
19047 \begin_layout Description
19048 \begin_inset Flex Code
19051 \begin_layout Plain Layout
19058 \begin_inset Flex Code
19061 \begin_layout Plain Layout
19068 \begin_inset Flex Code
19071 \begin_layout Plain Layout
19078 \begin_inset Flex Code
19081 \begin_layout Plain Layout
19088 \begin_inset Flex Code
19091 \begin_layout Plain Layout
19097 (indicando una definición ficticia que finaliza definiciones de estilos
19099 Esta entrada es requerida y solo es significativa para recuadros flexibles.
19100 Entre otras cosas, determina en qué menús aparecerá este recuadro.
19102 \begin_inset Flex Code
19105 \begin_layout Plain Layout
19112 \begin_inset Flex Code
19115 \begin_layout Plain Layout
19122 \begin_inset Flex Code
19125 \begin_layout Plain Layout
19132 \begin_inset Flex Code
19135 \begin_layout Plain Layout
19147 \begin_inset Flex Code
19150 \begin_layout Plain Layout
19156 se puede poner como verdadero, o
19157 \begin_inset Flex Code
19160 \begin_layout Plain Layout
19170 e, para recuadros de estilos
19171 \begin_inset Flex Code
19174 \begin_layout Plain Layout
19185 \begin_inset Flex Code
19188 \begin_layout Plain Layout
19197 \begin_layout Description
19198 \begin_inset Flex Code
19201 \begin_layout Plain Layout
19208 \begin_inset Flex Code
19211 \begin_layout Plain Layout
19220 \begin_inset space \thinspace{}
19224 \begin_inset Flex Code
19227 \begin_layout Plain Layout
19233 ] Indica si se permiten múltiples párrafos en este recuadro.
19234 Además establecerá para CustomPars el mismo valor y para ForcePlain el
19236 Estos pueden modificarse a otros valores si se usan
19243 \begin_layout Description
19244 \begin_inset Flex Code
19247 \begin_layout Plain Layout
19254 \begin_inset Flex Code
19257 \begin_layout Plain Layout
19266 \begin_inset space \thinspace{}
19270 \begin_inset Flex Code
19273 \begin_layout Plain Layout
19279 ] Si los comandos frágiles deben o no ser
19280 \begin_inset Flex Code
19283 \begin_layout Plain Layout
19291 'ed en este recuadro.
19296 si el comando mismo debe ser protegido
19301 \begin_layout Description
19302 \begin_inset Flex Code
19305 \begin_layout Plain Layout
19312 \begin_inset Flex Code
19315 \begin_layout Plain Layout
19322 \begin_inset Flex Code
19325 \begin_layout Plain Layout
19334 \begin_layout Description
19335 \begin_inset Flex Code
19338 \begin_layout Plain Layout
19345 \begin_inset Flex Code
19348 \begin_layout Plain Layout
19355 \begin_inset Flex Code
19358 \begin_layout Plain Layout
19364 que ha recolocado este
19365 \begin_inset Flex Code
19368 \begin_layout Plain Layout
19375 Se usa para renombrar un
19376 \begin_inset Flex Code
19379 \begin_layout Plain Layout
19385 , mientras se mantiene compatibilidad hacia atrás.
19388 \begin_layout Description
19389 \begin_inset Flex Code
19392 \begin_layout Plain Layout
19399 \begin_inset Flex Code
19402 \begin_layout Plain Layout
19411 \begin_inset space \thinspace{}
19415 \begin_inset Flex Code
19418 \begin_layout Plain Layout
19424 ] Igual que para estilos de párrafo, véase
19425 \begin_inset CommandInset ref
19427 reference "subsec:Estilos-de-párrafo"
19432 Por omisión es falso.
19435 \begin_layout Description
19436 \begin_inset Flex Code
19439 \begin_layout Plain Layout
19448 \begin_inset Flex Code
19451 \begin_layout Plain Layout
19462 \begin_inset space \thinspace{}
19466 \begin_inset Flex Code
19469 \begin_layout Plain Layout
19475 ] Igual que para estilos de párrafo, véase
19476 \begin_inset CommandInset ref
19478 reference "subsec:Estilos-de-párrafo"
19485 \begin_layout Description
19486 \begin_inset Flex Code
19489 \begin_layout Plain Layout
19495 Igual que para estilos de párrafo, véase
19496 \begin_inset CommandInset ref
19498 reference "subsec:Estilos-de-párrafo"
19505 \begin_layout Description
19506 \begin_inset Flex Code
19509 \begin_layout Plain Layout
19516 \begin_inset Flex Code
19519 \begin_layout Plain Layout
19525 ] Prefijo a usar cuando se crean etiquetas que se refieren a recuadros de
19527 Esto permite el uso de referencias con formato.
19530 \begin_layout Description
19531 \begin_inset Flex Code
19534 \begin_layout Plain Layout
19541 \begin_inset Flex Code
19544 \begin_layout Plain Layout
19550 ] Igual que para estilos de párrafo, véase
19551 \begin_inset CommandInset ref
19553 reference "subsec:Estilos-de-párrafo"
19560 \begin_layout Description
19561 \begin_inset Flex Code
19564 \begin_layout Plain Layout
19571 \begin_inset Flex Code
19574 \begin_layout Plain Layout
19583 \begin_inset space \thinspace{}
19587 \begin_inset Flex Code
19590 \begin_layout Plain Layout
19596 ] Reinicia los argumentos \SpecialChar LaTeX
19597 de este formato (como se definen con
19598 \begin_inset Flex Code
19601 \begin_layout Plain Layout
19608 Es útil si has copiado un estilo con
19609 \begin_inset Flex Code
19612 \begin_layout Plain Layout
19618 , pero no quieres heredar sus argumentos (requerido y opcional).
19621 \begin_layout Description
19622 \begin_inset Flex Code
19625 \begin_layout Plain Layout
19632 \begin_inset Flex Code
19635 \begin_layout Plain Layout
19642 \begin_inset space \thinspace{}
19646 \begin_inset Flex Code
19649 \begin_layout Plain Layout
19657 ] Si este recuadro debería usar la tipografía de su entorno o la suya propia.
19658 Por omisión es la tipografía de su entorno.
19661 \begin_layout Description
19662 \begin_inset Flex Code
19665 \begin_layout Plain Layout
19672 \begin_inset Flex Code
19675 \begin_layout Plain Layout
19681 ] Secuencia que se pone al final del contenido del formato.
19682 Un salto de línea en la salida se indica con
19683 \begin_inset Flex Code
19686 \begin_layout Plain Layout
19695 \begin_layout Description
19696 \begin_inset Flex Code
19699 \begin_layout Plain Layout
19706 \begin_inset Flex Code
19709 \begin_layout Plain Layout
19716 \begin_inset space \thinspace{}
19720 \begin_inset Flex Code
19723 \begin_layout Plain Layout
19731 ] Revisar la ortografía del contenido del recuadro.
19735 \begin_layout Subsection
19737 \begin_inset CommandInset label
19739 name "subsec:Contadores"
19746 \begin_layout Standard
19747 Es necesario definir los contadores (
19748 \begin_inset Flex Noun
19751 \begin_layout Plain Layout
19758 \begin_inset Flex Noun
19761 \begin_layout Plain Layout
19767 , \SpecialChar ldots
19768 ) en la propia clase de texto.
19769 Los contadores estándar están definidos en el archivo
19770 \begin_inset Flex Code
19773 \begin_layout Plain Layout
19779 , de modo que no tienes más que añadir
19782 \begin_layout LyX-Code
19783 Input stdcounters.inc
19786 \begin_layout Standard
19787 en el archivo de formato para que funcionen.
19788 Pero si quieres puedes definir contadores personalizados.
19789 La declaración de un contador debe comenzar con:
19792 \begin_layout LyX-Code
19796 \begin_layout Standard
19798 \begin_inset Flex Code
19801 \begin_layout Plain Layout
19807 es el nombre del contador.
19808 Hay que terminar con
19809 \begin_inset Flex Code
19812 \begin_layout Plain Layout
19821 \begin_layout Standard
19822 Se pueden usar además los parámetros siguientes:
19825 \begin_layout Description
19826 \begin_inset Flex Code
19829 \begin_layout Plain Layout
19836 \begin_inset Flex Code
19839 \begin_layout Plain Layout
19845 ] Establece el valor inicial para el contador, al cuál se reiniciará cada
19846 vez que suceda esto.
19847 Normalmente será 1.
19850 \begin_layout Description
19851 \begin_inset Flex Code
19854 \begin_layout Plain Layout
19861 \begin_inset Flex Code
19864 \begin_layout Plain Layout
19870 =""] Si se define esta cadena, indica cómo se muestra el contador.
19871 Al establecer este valor también se da el mismo valor a
19872 \begin_inset Flex Code
19875 \begin_layout Plain Layout
19876 LabelStringAppendix
19882 Para los valores de 'string' se pueden usar las estructuras siguientes:
19886 \begin_layout Itemize
19887 \begin_inset Flex Code
19890 \begin_layout Plain Layout
19898 será reemplazado por la expansión de
19899 \begin_inset Flex Code
19902 \begin_layout Plain Layout
19909 \begin_inset Flex Code
19912 \begin_layout Plain Layout
19913 LabelStringAppendix
19919 \begin_inset Flex Code
19922 \begin_layout Plain Layout
19932 \begin_layout Itemize
19933 los valores del contador pueden expresarse usando macros tipo \SpecialChar LaTeX
19935 \begin_inset Flex Code
19938 \begin_layout Plain Layout
19955 \begin_inset Flex Code
19958 \begin_layout Plain Layout
19970 \begin_layout Plain Layout
19971 En realidad la cosa es un poco más compleja: cualquier
19975 distinto de los descritos a continuación generará números arábigos.
19976 No sería sorprendenta ver este cambio en el futuro.
19982 \begin_inset Flex Code
19985 \begin_layout Plain Layout
19991 : 1, 2, 3,\SpecialChar ldots
19993 \begin_inset Flex Code
19996 \begin_layout Plain Layout
20002 para minúsculas: a, b, c, \SpecialChar ldots
20004 \begin_inset Flex Code
20007 \begin_layout Plain Layout
20013 para mayúsculas: A, B, C, \SpecialChar ldots
20015 \begin_inset Flex Code
20018 \begin_layout Plain Layout
20024 números romanos en minúscula: i, ii, iii, \SpecialChar ldots
20029 \begin_layout Plain Layout
20035 \begin_inset space \thinspace{}
20043 \begin_inset Flex Code
20046 \begin_layout Plain Layout
20061 \begin_inset Flex Code
20064 \begin_layout Plain Layout
20078 los transforma automáticamente en versalitas
20083 , ya que los romanos en minúscula no se usan en español.
20090 \begin_inset Flex Code
20093 \begin_layout Plain Layout
20099 para romanos en mayúsculas: I, II, III\SpecialChar ldots
20101 \begin_inset Flex Code
20104 \begin_layout Plain Layout
20110 para números hebreos.
20114 \begin_layout Standard
20116 \begin_inset Flex Code
20119 \begin_layout Plain Layout
20125 , se construye un valor por omisión así: si el contador tiene un contador
20127 \begin_inset Flex Code
20130 \begin_layout Plain Layout
20137 \begin_inset Flex Code
20140 \begin_layout Plain Layout
20146 ), se usa la cadena
20147 \begin_inset Flex Code
20150 \begin_layout Plain Layout
20160 ; si no, se usa la cadena
20161 \begin_inset Flex Code
20164 \begin_layout Plain Layout
20175 \begin_layout Description
20176 \begin_inset Flex Code
20179 \begin_layout Plain Layout
20180 LabelStringAppendix
20186 \begin_inset Flex Code
20189 \begin_layout Plain Layout
20196 \begin_inset Flex Code
20199 \begin_layout Plain Layout
20205 , pero para el apéndice.
20208 \begin_layout Description
20209 \begin_inset Flex Code
20212 \begin_layout Plain Layout
20219 \begin_inset Flex Code
20222 \begin_layout Plain Layout
20229 \begin_inset Quotes erd
20233 \begin_inset Quotes erd
20236 ] Un formato para usar con las referencias a este contador.
20237 Por ejemplo, podríamos querer las referencias a los números de sección
20239 \begin_inset Quotes cld
20243 \begin_inset space ~
20247 \begin_inset Quotes crd
20251 La secuencia debería contener
20252 \begin_inset Quotes eld
20256 \begin_inset Quotes erd
20260 Esto será reemplazado por el número correspondiente del contador.
20261 Así pues, para secciones sería: Section ##.
20264 \begin_layout Description
20265 \begin_inset Flex Code
20268 \begin_layout Plain Layout
20275 \begin_inset Flex Code
20278 \begin_layout Plain Layout
20284 =""] Si esto se establece para el nombre de otro contador, el presente contador
20285 se reiniciará cada vez que el otro aumente.
20287 \begin_inset Flex Code
20290 \begin_layout Plain Layout
20296 se numera dentro de
20297 \begin_inset Flex Code
20300 \begin_layout Plain Layout
20309 \begin_layout Subsection
20310 Descripción de la tipografía
20311 \begin_inset CommandInset label
20313 name "subsec:Tipografía"
20320 \begin_layout Standard
20321 Una descripción de una tipografía se ve así:
20324 \begin_layout LyX-Code
20338 \begin_layout LyX-Code
20342 \begin_layout LyX-Code
20346 \begin_layout Standard
20347 Están disponibles los comandos siguientes:
20350 \begin_layout Description
20351 \begin_inset Flex Code
20354 \begin_layout Plain Layout
20361 \begin_inset Flex Code
20364 \begin_layout Plain Layout
20373 \begin_inset Flex Code
20376 \begin_layout Plain Layout
20383 \begin_inset Flex Code
20386 \begin_layout Plain Layout
20393 \begin_inset Flex Code
20396 \begin_layout Plain Layout
20403 \begin_inset Flex Code
20406 \begin_layout Plain Layout
20413 \begin_inset Flex Code
20416 \begin_layout Plain Layout
20423 \begin_inset Flex Code
20426 \begin_layout Plain Layout
20433 \begin_inset Flex Code
20436 \begin_layout Plain Layout
20443 \begin_inset Flex Code
20446 \begin_layout Plain Layout
20453 \begin_inset Flex Code
20456 \begin_layout Plain Layout
20463 \begin_inset Flex Code
20466 \begin_layout Plain Layout
20473 \begin_inset Flex Code
20476 \begin_layout Plain Layout
20483 \begin_inset Flex Code
20486 \begin_layout Plain Layout
20493 \begin_inset Flex Code
20496 \begin_layout Plain Layout
20503 \begin_inset Flex Code
20506 \begin_layout Plain Layout
20513 \begin_inset Flex Code
20516 \begin_layout Plain Layout
20523 \begin_inset Flex Code
20526 \begin_layout Plain Layout
20533 \begin_inset Flex Code
20536 \begin_layout Plain Layout
20543 \begin_inset Flex Code
20546 \begin_layout Plain Layout
20553 \begin_inset Flex Code
20556 \begin_layout Plain Layout
20565 \begin_layout Description
20566 \begin_inset Flex Code
20569 \begin_layout Plain Layout
20578 \begin_inset Flex Code
20581 \begin_layout Plain Layout
20592 \begin_inset Flex Code
20595 \begin_layout Plain Layout
20602 \begin_inset Flex Code
20605 \begin_layout Plain Layout
20614 \begin_layout Description
20615 \begin_inset Flex Code
20618 \begin_layout Plain Layout
20625 \begin_inset Flex Code
20628 \begin_layout Plain Layout
20634 ] Son argumentos válidos:
20635 \begin_inset Flex Code
20638 \begin_layout Plain Layout
20645 \begin_inset Flex Code
20648 \begin_layout Plain Layout
20655 \begin_inset Flex Code
20658 \begin_layout Plain Layout
20665 \begin_inset Flex Code
20668 \begin_layout Plain Layout
20675 \begin_inset Flex Code
20678 \begin_layout Plain Layout
20685 \begin_inset Flex Code
20688 \begin_layout Plain Layout
20695 \begin_inset Flex Code
20698 \begin_layout Plain Layout
20705 \begin_inset Flex Code
20708 \begin_layout Plain Layout
20715 \begin_inset Flex Code
20718 \begin_layout Plain Layout
20725 \begin_inset Flex Code
20728 \begin_layout Plain Layout
20735 \begin_inset Flex Code
20738 \begin_layout Plain Layout
20745 \begin_inset Flex Code
20748 \begin_layout Plain Layout
20755 Cada uno de ellos activa o desactiva el atributo correspondiente.
20757 \begin_inset Flex Code
20760 \begin_layout Plain Layout
20767 \begin_inset Flex Code
20770 \begin_layout Plain Layout
20777 \begin_inset Newline newline
20780 Si esto último parece superfluo, recordemos que la configuración de tipografías
20781 para el presente contexto se hereda generalmente del contexto circundante.
20783 \begin_inset Flex Code
20786 \begin_layout Plain Layout
20792 desactivaría el énfasis que estaba vigente, digamos, en un entorno teorema.
20795 \begin_layout Description
20796 \begin_inset Flex Code
20799 \begin_layout Plain Layout
20808 \begin_inset Flex Code
20811 \begin_layout Plain Layout
20822 \begin_inset Flex Code
20825 \begin_layout Plain Layout
20834 \begin_layout Description
20835 \begin_inset Flex Code
20838 \begin_layout Plain Layout
20847 \begin_inset Flex Code
20850 \begin_layout Plain Layout
20861 \begin_inset Flex Code
20864 \begin_layout Plain Layout
20871 \begin_inset Flex Code
20874 \begin_layout Plain Layout
20881 \begin_inset Flex Code
20884 \begin_layout Plain Layout
20893 \begin_layout Description
20894 \begin_inset Flex Code
20897 \begin_layout Plain Layout
20904 \begin_inset Flex Code
20907 \begin_layout Plain Layout
20914 \begin_inset Flex Code
20917 \begin_layout Plain Layout
20924 \begin_inset Flex Code
20927 \begin_layout Plain Layout
20936 \begin_inset Flex Code
20939 \begin_layout Plain Layout
20946 \begin_inset Flex Code
20949 \begin_layout Plain Layout
20956 \begin_inset Flex Code
20959 \begin_layout Plain Layout
20966 \begin_inset Flex Code
20969 \begin_layout Plain Layout
20976 \begin_inset Flex Code
20979 \begin_layout Plain Layout
20988 \begin_layout Subsection
20991 \begin_inset CommandInset label
20993 name "subsec:Citation-engine-description"
20997 Citation engine description
21000 \begin_layout Standard
21004 \begin_inset Flex Code
21007 \begin_layout Plain Layout
21015 blocks, as used mainly in cite engine files (see
21016 \begin_inset CommandInset ref
21018 reference "subsec:Cite-Engine-Files"
21025 ), define the citation commands provided by a specific
21026 \begin_inset Quotes eld
21030 \begin_inset Quotes erd
21034 A cite engine, in \SpecialChar LyX
21035 terms, is way specific way to format citations, using
21036 numbers, author names and/or years.
21037 Currently, \SpecialChar LyX
21038 supports three such engine types, namely:
21041 \begin_layout Enumerate
21044 \begin_inset Flex Code
21047 \begin_layout Plain Layout
21055 : the default Bib\SpecialChar TeX
21056 way to format citations, a simple numeric style (e.
21057 \begin_inset space \thinspace{}
21061 \begin_inset Quotes eld
21065 \begin_inset Quotes erd
21071 \begin_layout Enumerate
21074 \begin_inset Flex Code
21077 \begin_layout Plain Layout
21085 : Harvard-styled citations using author names and publication year (e.
21086 \begin_inset space \thinspace{}
21090 \begin_inset Quotes eld
21093 Smith and Miller (2017b)
21094 \begin_inset Quotes erd
21100 \begin_layout Enumerate
21103 \begin_inset Flex Code
21106 \begin_layout Plain Layout
21114 : extended numerical citations that also allow for author or title next
21116 \begin_inset space \thinspace{}
21120 \begin_inset Quotes eld
21123 Smith and Miller [1]
21124 \begin_inset Quotes erd
21130 \begin_layout Standard
21133 \begin_inset Flex Code
21136 \begin_layout Plain Layout
21144 blocks look like this:
21147 \begin_layout LyX-Code
21153 \begin_layout LyX-Code
21159 \begin_layout LyX-Code
21165 \begin_layout LyX-Code
21168 citeyearpar[][]=parencite*
21171 \begin_layout LyX-Code
21177 \begin_layout LyX-Code
21183 \begin_layout Standard
21187 \begin_inset Flex Code
21190 \begin_layout Plain Layout
21198 denotes the engine.
21199 The individual lines respectively define a cite command or cite command
21200 paradigm supported by this engine.
21201 The line can be as simple as a cite command that is used both to name the
21202 respective \SpecialChar LyX
21203 command and the \SpecialChar LaTeX
21204 output or more complex in order to differentiate
21206 The full syntax is:
21209 \begin_layout LyX-Code
21212 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
21215 \begin_layout Itemize
21218 \begin_inset Flex Code
21221 \begin_layout Plain Layout
21229 : The name as used in the
21230 \begin_inset Flex Code
21233 \begin_layout Plain Layout
21245 \begin_layout Standard
21248 For portability reasons, we try to use the same name for same-formatted
21249 commands in different cite packages (thus many names stem from natbib,
21250 and thus we need to differentiate a
21251 \begin_inset Flex Code
21254 \begin_layout Plain Layout
21262 sometimes, if the \SpecialChar LaTeX
21263 command names differ).
21267 \begin_layout Itemize
21270 \begin_inset Flex Code
21273 \begin_layout Plain Layout
21281 : a (comma-separated) list of commands that fall back to the given
21282 \begin_inset Flex Code
21285 \begin_layout Plain Layout
21293 in the current engine.
21294 This eases the switch of citation packages and engines.
21296 \begin_inset Flex Code
21299 \begin_layout Plain Layout
21308 \begin_inset Flex Code
21311 \begin_layout Plain Layout
21319 in layout definitions.
21322 \begin_layout Itemize
21325 \begin_inset Flex Code
21328 \begin_layout Plain Layout
21336 : The actual \SpecialChar LaTeX
21337 command that is output.
21341 \begin_layout Standard
21344 \begin_inset Flex Code
21347 \begin_layout Plain Layout
21356 \begin_inset Flex Code
21359 \begin_layout Plain Layout
21369 \begin_inset Flex Code
21372 \begin_layout Plain Layout
21381 \begin_inset Flex Code
21384 \begin_layout Plain Layout
21392 will be output to \SpecialChar LaTeX
21396 \begin_layout Standard
21402 \begin_layout Itemize
21405 Capitalization indicates that the command also has a capitalized form (
21406 \begin_inset Flex Code
21409 \begin_layout Plain Layout
21421 \begin_inset Flex Code
21424 \begin_layout Plain Layout
21435 These usually enforce up-casing of name prefixes (
21440 \begin_inset Formula $\Rightarrow$
21450 \begin_layout Itemize
21454 \begin_inset Flex Code
21457 \begin_layout Plain Layout
21465 indicate the number of optional arguments (there can be 0–2).
21468 \begin_layout Itemize
21472 \begin_inset Flex Code
21475 \begin_layout Plain Layout
21483 indicates there is a starred version of the command (
21484 \begin_inset Flex Code
21487 \begin_layout Plain Layout
21499 \begin_inset Flex Code
21502 \begin_layout Plain Layout
21517 \begin_layout Standard
21520 By default, the starred version means: Output all authors even if it should
21522 \begin_inset Quotes eld
21526 \begin_inset Quotes erd
21530 \begin_inset Flex Code
21533 \begin_layout Plain Layout
21544 \begin_layout Standard
21547 If the star has a different meaning for a given command, it can be specified
21549 \begin_inset Flex Code
21552 \begin_layout Plain Layout
21555 <!_stardesc!_stardesctooltip>
21561 Maximal two translatable macro keywords, marked by the prefix
21562 \begin_inset Flex Code
21565 \begin_layout Plain Layout
21574 The first points to the string that replaces the
21575 \begin_inset Quotes eld
21579 \begin_inset Quotes erd
21582 checkbox label in the citation dialog, the second one to an optional tool
21583 tip for this checkbox.
21587 \begin_layout Standard
21590 Note that these two macros have to be defined in a
21591 \begin_inset Flex Code
21594 \begin_layout Plain Layout
21602 (see next section), dropping the
21603 \begin_inset Flex Code
21606 \begin_layout Plain Layout
21614 from the prefix, like this:
21617 \begin_layout LyX-Code
21620 _stardesc Sta&rred command label
21623 \begin_layout LyX-Code
21626 _stardesctooltip Tooltip for the starred command checkbox.
21630 \begin_layout Itemize
21634 \begin_inset Flex Code
21637 \begin_layout Plain Layout
21645 indicates that this command features
21646 \begin_inset Quotes eld
21649 qualified citation lists
21650 \begin_inset Quotes erd
21658 -specific feature for multi-reference citations where an individual pre-
21659 and postnote can be given to each reference in the list.
21660 Please refer to the
21664 manual for details.
21667 \begin_layout Subsection
21668 Descripción del formato de cita
21669 \begin_inset CommandInset label
21671 name "subsec:Descripción-formato-cita"
21678 \begin_layout Standard
21680 \begin_inset Flex Code
21683 \begin_layout Plain Layout
21689 se usan para describir la forma en que debe mostrarse la información bibliográf
21690 ica, tanto en \SpecialChar LyX
21691 (en el diálogo de citas y en las ayudas emergentes, por ejemplo)
21692 como en la salida XHTML.
21693 El aspecto de unode estos bloques podría ser este:
21696 \begin_layout LyX-Code
21700 \begin_layout LyX-Code
21704 \begin_layout LyX-Code
21708 \begin_layout LyX-Code
21712 \begin_layout Standard
21718 \begin_layout LyX-Code
21724 \begin_layout LyX-Code
21730 \begin_layout LyX-Code
21736 \begin_layout LyX-Code
21742 \begin_layout Standard
21745 In the first case, the individual lines
21747 definen cómo se va a mostrar la información bibliográfica asociada con un
21748 artículo o libro, respectivamente, y tales definiciones se pueden dar para
21749 cualquier `tipo de entrada' que pudiera estar presente en un archivo Bib\SpecialChar TeX
21752 define un formato por omsión en el código fuente que se usará si no se
21753 da una definición específica.
21755 predefine varios formatos en el archivo
21756 \begin_inset Flex Code
21759 \begin_layout Plain Layout
21765 , que se incluye en la mayoría de las clases de documento de \SpecialChar LyX
21769 \begin_layout Standard
21772 In the second case, the lines define how a specific citation command (in
21774 \begin_inset Flex Code
21777 \begin_layout Plain Layout
21788 \begin_inset Flex Code
21791 \begin_layout Plain Layout
21801 ) is to be displayed on the citation inset label, in the citation dialog,
21802 menu or XHTML output.
21804 defines such formats for the citation style variants it supports via
21806 Document\SpecialChar menuseparator
21807 Setting\SpecialChar menuseparator
21808 Bibliography\SpecialChar ldots
21812 \begin_inset Flex Code
21815 \begin_layout Plain Layout
21823 files that are shipped with \SpecialChar LyX
21825 \begin_inset CommandInset ref
21827 reference "subsec:Cite-Engine-Files"
21837 \begin_layout Standard
21838 Las definiciones usan un lenguaje simple que permite reemplazar las claves
21839 Bib\SpecialChar TeX
21841 Las claves deben encerrarse entre símbolos
21842 \begin_inset Flex Code
21845 \begin_layout Plain Layout
21852 \begin_inset space \thinspace{}
21856 \begin_inset Flex Code
21859 \begin_layout Plain Layout
21866 Así, una simple definición sería:
21869 \begin_layout LyX-Code
21871 \begin_inset Quotes eld
21875 \begin_inset Quotes erd
21881 \begin_layout Standard
21882 Esto imprimiría el autor, una coma, a continuación el título entre comillas
21883 y un punto para finalizar.
21886 \begin_layout Standard
21887 A veces querrás, por supuesto, imprimir una clave solo si existe.
21888 Esto puede hacerse mediante una construcción condicional tal como:
21889 \begin_inset Flex Code
21892 \begin_layout Plain Layout
21894 \begin_inset space ~
21902 , que quiere decir: si la clave
21903 \begin_inset Flex Code
21906 \begin_layout Plain Layout
21913 \begin_inset Quotes eld
21917 \begin_inset space ~
21921 \begin_inset Quotes erd
21924 seguido de la clave.
21925 También es posible tener una cláusula de otro modo en el condicional, como:
21926 \begin_inset Newline newline
21930 \begin_inset Flex Code
21933 \begin_layout Plain Layout
21934 {%author%[[%author%]][[%editor%, ed.]]}
21940 \begin_inset Newline newline
21944 \begin_inset Flex Code
21947 \begin_layout Plain Layout
21953 se imprime si existe; por otra parte, se imprime la clave
21954 \begin_inset Flex Code
21957 \begin_layout Plain Layout
21964 \begin_inset Quotes eld
21968 \begin_inset space ~
21972 \begin_inset Quotes erd
21976 Advierte que la clave se encierra entre signos
21977 \begin_inset Flex Code
21980 \begin_layout Plain Layout
21986 ; el condicional entero se encierra entre llaves; y las cláusulas condicional
21987 y por otra parte se ponen entre cobles corchetes,
21988 \begin_inset Quotes eld
21992 \begin_inset Flex Code
21995 \begin_layout Plain Layout
22002 \begin_inset Quotes eld
22006 \begin_inset Quotes eld
22010 \begin_inset Flex Code
22013 \begin_layout Plain Layout
22020 \begin_inset Quotes erd
22024 No debe haber espacios entre ninguno de ellos.
22027 \begin_layout Standard
22030 Next to the entry keys, there are some special keys that can be used for
22031 these conditionals:
22034 \begin_layout Itemize
22037 \begin_inset Flex Code
22040 \begin_layout Plain Layout
22043 {%dialog%[[true]][[false]]}
22049 \begin_inset Quotes eld
22053 \begin_inset Quotes erd
22056 part for dialogs and menus, the
22057 \begin_inset Quotes eld
22061 \begin_inset Quotes erd
22064 part for other contexts (workarea, export)
22067 \begin_layout Itemize
22070 \begin_inset Flex Code
22073 \begin_layout Plain Layout
22076 {%export%[[true]][[false]]}
22082 \begin_inset Quotes eld
22086 \begin_inset Quotes erd
22089 part for export and menus, the
22090 \begin_inset Quotes eld
22094 \begin_inset Quotes erd
22097 part for other contexts (workarea, dialog)
22100 \begin_layout Itemize
22103 \begin_inset Flex Code
22106 \begin_layout Plain Layout
22115 \begin_inset Quotes eld
22119 \begin_inset Quotes erd
22122 part if another item follows (e.
22123 \begin_inset space \thinspace{}
22126 g., in a citation with multiple keys)
22129 \begin_layout Itemize
22132 \begin_inset Flex Code
22135 \begin_layout Plain Layout
22138 {%second%[[true]][[false]]}
22144 \begin_inset Quotes eld
22148 \begin_inset Quotes erd
22151 if this is the second of multiple items, else the
22152 \begin_inset Quotes eld
22156 \begin_inset Quotes erd
22162 \begin_layout Itemize
22165 \begin_inset Flex Code
22168 \begin_layout Plain Layout
22171 {%ifstar%[[true]][[false]]}
22177 \begin_inset Quotes eld
22181 \begin_inset Quotes erd
22184 part for starred citation commands (such as
22185 \begin_inset Flex Code
22188 \begin_layout Plain Layout
22198 ), the false part for unstarred
22201 \begin_layout Itemize
22204 \begin_inset Flex Code
22207 \begin_layout Plain Layout
22210 {%ifentrytype:<type>%[[true]][[false]]}
22216 \begin_inset Quotes eld
22220 \begin_inset Quotes erd
22223 if the current entry type matches
22224 \begin_inset Flex Code
22227 \begin_layout Plain Layout
22235 , else the false part (e.g., in a citation definition:
22236 \begin_inset Flex Code
22239 \begin_layout Plain Layout
22242 {%ifentrytype:book%[[this is a book]][[this is no book]]}
22250 \begin_layout Itemize
22253 \begin_inset Flex Code
22256 \begin_layout Plain Layout
22259 {%ifmultiple:<authortype>%[[true]][[false]]}
22265 \begin_inset Quotes eld
22269 \begin_inset Quotes erd
22272 if the current author type (author, editor etc.) has multiple authors, else
22273 the false part (e.g., in a bibliography definition:
22274 \begin_inset Flex Code
22277 \begin_layout Plain Layout
22280 {%ifmultiple:editor%[[eds.]][[ed.]]}
22288 \begin_layout Itemize
22291 \begin_inset Flex Code
22294 \begin_layout Plain Layout
22297 {%ifqualified%[[true]][[false]]}
22303 \begin_inset Quotes eld
22307 \begin_inset Quotes erd
22310 part if the current citation is a qualified citation list (a specific
22314 format for multi-reference citations), the false part if this is not the
22318 \begin_layout Standard
22322 \begin_inset Flex Code
22325 \begin_layout Plain Layout
22333 prints the author key as it is recorded in the bibliography file.
22334 This might not be what you want, since it will result in a string such
22336 \begin_inset Quotes eld
22339 Miller, Peter and Smith, Mary and White, Jane
22340 \begin_inset Quotes erd
22344 \begin_inset Quotes eld
22348 \begin_inset Quotes erd
22351 is used by Bib\SpecialChar TeX
22352 to delimit authors).
22354 therefore provides some methods to get properly formatted name lists (which
22355 will also get translated).
22356 The following keys are provided:
22359 \begin_layout Enumerate
22362 For name lists with pre- and surname, suitable for the main authors/editors
22363 of a bibliography item.
22365 \begin_inset Flex Code
22368 \begin_layout Plain Layout
22376 part denotes the kind of list that is requested (e.g.
22378 \begin_inset Flex Code
22381 \begin_layout Plain Layout
22393 \begin_layout Itemize
22396 \begin_inset Flex Code
22399 \begin_layout Plain Layout
22402 %abbrvnames:<nametype>%
22407 : Provides a name list which is abbreviated (with
22408 \begin_inset Quotes eld
22412 \begin_inset Quotes erd
22416 \begin_inset Flex Code
22419 \begin_layout Plain Layout
22430 \begin_layout Itemize
22433 \begin_inset Flex Code
22436 \begin_layout Plain Layout
22439 %fullnames:<nametype>%
22444 : Provides a full name list (never abbreviated with
22445 \begin_inset Quotes eld
22449 \begin_inset Quotes erd
22455 \begin_layout Itemize
22458 \begin_inset Flex Code
22461 \begin_layout Plain Layout
22464 %forceabbrvnames:<nametype>%
22469 : Provides a name list which is always abbreviated (with
22470 \begin_inset Quotes eld
22474 \begin_inset Quotes erd
22478 \begin_inset Flex Code
22481 \begin_layout Plain Layout
22493 \begin_layout Enumerate
22496 Alternative name lists with pre- and surname, if the order of pre- and surname
22497 inside the bibliography item differs (as in:
22498 \begin_inset Quotes eld
22501 Miller, John: Some text, in: Mary Smith, ed.: A volume
22502 \begin_inset Quotes erd
22509 \begin_layout Itemize
22512 \begin_inset Flex Code
22515 \begin_layout Plain Layout
22518 %abbrvbynames:<nametype>%
22523 : Provides a name list which is abbreviated (with
22524 \begin_inset Quotes eld
22528 \begin_inset Quotes erd
22532 \begin_inset Flex Code
22535 \begin_layout Plain Layout
22546 \begin_layout Itemize
22549 \begin_inset Flex Code
22552 \begin_layout Plain Layout
22555 %fullbynames:<nametype>%
22560 : Provides a full name list (never abbreviated with
22561 \begin_inset Quotes eld
22565 \begin_inset Quotes erd
22571 \begin_layout Itemize
22574 \begin_inset Flex Code
22577 \begin_layout Plain Layout
22580 %forceabbrvbynames:<nametype>%
22585 : Provides a name list which is always abbreviated (with
22586 \begin_inset Quotes eld
22590 \begin_inset Quotes erd
22594 \begin_inset Flex Code
22597 \begin_layout Plain Layout
22609 \begin_layout Enumerate
22612 And finally name lists which consist of family names only, as used in author-yea
22614 these do not take a
22615 \begin_inset Flex Code
22618 \begin_layout Plain Layout
22626 part, but always return either an author list or, if this does not exist,
22627 an editor list (as common in author-year labels):
22631 \begin_layout Itemize
22634 \begin_inset Flex Code
22637 \begin_layout Plain Layout
22645 : Provides a name list which is abbreviated (with
22646 \begin_inset Quotes eld
22650 \begin_inset Quotes erd
22654 \begin_inset Flex Code
22657 \begin_layout Plain Layout
22668 \begin_layout Itemize
22671 \begin_inset Flex Code
22674 \begin_layout Plain Layout
22682 : Provides a full name list (never abbreviated with
22683 \begin_inset Quotes eld
22687 \begin_inset Quotes erd
22693 \begin_layout Itemize
22696 \begin_inset Flex Code
22699 \begin_layout Plain Layout
22702 %forceabbrvciteauthor%
22707 : Provides a name list which is always abbreviated (with
22708 \begin_inset Quotes eld
22712 \begin_inset Quotes erd
22716 \begin_inset Flex Code
22719 \begin_layout Plain Layout
22731 \begin_layout Standard
22734 The order of pre- and surname in the former two lists can be adjusted by
22738 \begin_layout Itemize
22741 \begin_inset Flex Code
22744 \begin_layout Plain Layout
22747 !firstnameform %surname%, %prename%
22752 (first author in lists of type 1)
22755 \begin_layout Itemize
22758 \begin_inset Flex Code
22761 \begin_layout Plain Layout
22764 !othernameform %surname%, %prename%
22769 (other authors in lists of type 1)
22772 \begin_layout Itemize
22775 \begin_inset Flex Code
22778 \begin_layout Plain Layout
22781 !firstbynameform %prename% %surname%
22786 (first author in lists of type 2)
22789 \begin_layout Itemize
22792 \begin_inset Flex Code
22795 \begin_layout Plain Layout
22798 !otherbynameform %prename% %surname%
22803 (other authors in lists of type 2)
22806 \begin_layout Standard
22809 This allows you to configure namings like
22810 \begin_inset Quotes eld
22813 Miller, Peter and Mary Smith: \SpecialChar ldots
22814 , in: John Doe and Pat Green, eds.:\SpecialChar ldots
22816 \begin_inset Quotes erd
22822 \begin_layout Standard
22823 Hay otra pieza de sintaxis disponible en las definiciones, como esta:
22824 \begin_inset Flex Code
22827 \begin_layout Plain Layout
22834 Define una pieza de información para ser usada cuando creamos
22835 \begin_inset Quotes eld
22839 \begin_inset Quotes erd
22843 Obviamente, no queremos etiquetas HTML cuando escribimos texto sencillo,
22844 por tanto deben ponerse entre
22845 \begin_inset Quotes eld
22849 \begin_inset Quotes erd
22853 \begin_inset Quotes eld
22857 \begin_inset Quotes erd
22863 \begin_layout Standard
22864 Además, hay dos clases especiales de definiciones disponibles en un bloque
22866 \begin_inset Flex Code
22869 \begin_layout Plain Layout
22876 Un ejemplo de la primera sería:
22879 \begin_layout LyX-Code
22881 \begin_inset Quotes eld
22885 \begin_inset Quotes erd
22891 \begin_layout Standard
22892 Esto es una abreviación, o macro, y se puede usar tratándola como si fuera
22894 \begin_inset Flex Code
22897 \begin_layout Plain Layout
22906 \begin_inset Flex Code
22909 \begin_layout Plain Layout
22915 exactamente como trataría su definición.
22916 Por tanto, permítenos un
22924 \begin_layout LyX-Code
22928 \begin_layout Standard
22931 no caería en un bucle infinito, pero sí en uno muy largo.
22934 \begin_layout Standard
22935 El segundo tipo especial de definición sería como:
22938 \begin_layout LyX-Code
22942 \begin_layout Standard
22943 Esto define un trozo de texto traducible, que permite traducir partes relevantes
22949 Puede incluirse en una definición tratándolo como una clave:
22950 \begin_inset Flex Code
22953 \begin_layout Plain Layout
22960 Varios de estos están predefinidos en
22961 \begin_inset Flex Code
22964 \begin_layout Plain Layout
22973 \begin_inset Flex Code
22976 \begin_layout Plain Layout
22987 Advertiremos que no son macros en el sentido definido.
22991 \begin_layout Standard
22992 Aquí hay, pues, un ejemplo que usa todas estas características:
22993 \begin_inset VSpace defskip
22999 \begin_layout Standard
23003 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %_edtext%, ]]}]]}
23006 \begin_layout Standard
23007 \begin_inset VSpace defskip
23010 Así definimos una macro que imprime el autor seguido de coma, si la clave
23012 \begin_inset Flex Code
23015 \begin_layout Plain Layout
23021 está definida, o imprime el nombre del editor seguido por el texto
23022 \begin_inset Flex Code
23025 \begin_layout Plain Layout
23031 o su traducción (por omisión
23032 \begin_inset Quotes eld
23036 \begin_inset Quotes erd
23040 \begin_inset Flex Code
23043 \begin_layout Plain Layout
23050 De hecho, esto está definido en
23051 \begin_inset Flex Code
23054 \begin_layout Plain Layout
23060 , por tanto puedes usarlo en tus propias definiciones o redefiniciones,
23061 si cargas antes ese archivo.
23064 \begin_layout Section
23065 Etiquetas para la salida XHTML
23066 \begin_inset CommandInset label
23068 name "sec:Etiquetas-para-XHTML"
23075 \begin_layout Standard
23076 Como para \SpecialChar LaTeX
23077 o DocBook, el formato de salida XHTML en \SpecialChar LyX
23078 también se controla
23079 mediante la información contenida en archivos de formato.
23080 En general, \SpecialChar LyX
23081 provee valores predefinidos sensatos y, como se mencionó anteriorm
23082 ente, incluso construirá reglas de estilo CSS a partir de las otras etiquetas
23084 Por ejemplo, \SpecialChar LyX
23085 intentará usar la información proporcionada por la declaración
23087 \begin_inset Flex Code
23090 \begin_layout Plain Layout
23096 para el estilo Chapter para escribir CSS que formateará adecuadamente los
23097 encabezados de capítulo.
23100 \begin_layout Standard
23101 En muchos casos, por tanto, no tendrás que hacer nada para obtener una aceptable
23102 salida XHTML para tus propios entornos, recuadros personalizados y cosas
23104 Pero en ciertos casos querrás hacer cambios, y para eso \SpecialChar LyX
23106 número de etiquetas de formato que se pueden usar para personalizar los
23107 XHTML y CSS generados.
23110 \begin_layout Standard
23111 Advertimos que hay dos etiquetas,
23112 \begin_inset Flex Code
23115 \begin_layout Plain Layout
23122 \begin_inset Flex Code
23125 \begin_layout Plain Layout
23131 que pueden aparecer fuera de las declaraciones de estilos y recuadros.
23133 \begin_inset CommandInset ref
23135 reference "subsec:Parámetros-generales-clases"
23139 para detalles sobre esto.
23142 \begin_layout Subsection
23144 \begin_inset CommandInset label
23146 name "subsec:Estilos-de-párrafo-XHTML"
23153 \begin_layout Standard
23154 El tipo de XHTML que genera \SpecialChar LyX
23155 para un párrafo depende de si se trata de un
23156 párrafo normal, de un comando o de un entorno, en los que esto se determina
23157 por el contenido de la correspondiente etiqueta
23158 \begin_inset Flex Code
23161 \begin_layout Plain Layout
23172 \begin_layout Standard
23173 Para un comando o párrafo, la salida XHTML tiene la forma siguiente:
23176 \begin_layout LyX-Code
23178 \begin_inset Quotes erd
23182 \begin_inset Quotes erd
23188 \begin_layout LyX-Code
23190 \begin_inset Quotes erd
23194 \begin_inset Quotes erd
23200 \begin_layout LyX-Code
23201 Contents of the paragraph.
23204 \begin_layout LyX-Code
23208 \begin_layout Standard
23209 Por supuesto, `label tags´ se omiten si el párrafo no tiene etiqueta.
23212 \begin_layout Standard
23213 Para un entorno que no sea algún tipo de lista, XHTML toma la forma:
23216 \begin_layout LyX-Code
23218 \begin_inset Quotes erd
23222 \begin_inset Quotes erd
23228 \begin_layout LyX-Code
23230 \begin_inset Quotes erd
23234 \begin_inset Quotes erd
23238 \begin_inset Quotes erd
23242 \begin_inset Quotes erd
23245 >Environment Label</labeltag>First paragraph.</itemtag>
23248 \begin_layout LyX-Code
23249 <itemtag>Second paragraph.</itemtag>
23252 \begin_layout LyX-Code
23256 \begin_layout Standard
23257 La etiqueta se genera solo para el primer párrafo, como debería ser, por
23258 ejemplo, para un teorema.
23262 \begin_layout Standard
23263 Para una lista disponemos de una de estas formas:
23266 \begin_layout LyX-Code
23268 \begin_inset Quotes erd
23272 \begin_inset Quotes erd
23278 \begin_layout LyX-Code
23280 \begin_inset Quotes erd
23284 \begin_inset Quotes erd
23288 \begin_inset Quotes erd
23292 \begin_inset Quotes erd
23295 >List Label</labeltag>First item.</itemtag>
23298 \begin_layout LyX-Code
23300 \begin_inset Quotes erd
23304 \begin_inset Quotes erd
23308 \begin_inset Quotes erd
23312 \begin_inset Quotes erd
23315 >List Label</labeltag>Second item.</itemtag>
23318 \begin_layout LyX-Code
23322 \begin_layout LyX-Code
23326 \begin_layout LyX-Code
23328 \begin_inset Quotes erd
23332 \begin_inset Quotes erd
23338 \begin_layout LyX-Code
23340 \begin_inset Quotes erd
23344 \begin_inset Quotes erd
23347 >List Label</labeltag><itemtag attr=
23348 \begin_inset Quotes erd
23352 \begin_inset Quotes erd
23355 >First item.</itemtag>
23358 \begin_layout LyX-Code
23360 \begin_inset Quotes erd
23364 \begin_inset Quotes erd
23367 >List Label</labeltag><itemtag attr=
23368 \begin_inset Quotes erd
23372 \begin_inset Quotes erd
23375 >Second item.</itemtag>
23378 \begin_layout LyX-Code
23382 \begin_layout Standard
23383 Observa los diferentes órdenes de
23384 \begin_inset Flex Code
23387 \begin_layout Plain Layout
23394 \begin_inset Flex Code
23397 \begin_layout Plain Layout
23404 El orden que obtenemos depende del ajuste de
23405 \begin_inset Flex Code
23408 \begin_layout Plain Layout
23415 \begin_inset Flex Code
23418 \begin_layout Plain Layout
23424 es falso (por omisión), se obtiene el primero de ellos, con la etiqueta
23425 dentro del ítem; si verdadero, se obtiene el segundo, con la etiqueta fuera
23429 \begin_layout Standard
23430 Las etiquetas específicas y la salida de los atributos para cada tipo de
23431 párrafo puede ser controlado por medio de las etiquetas de formato que
23433 Como mencionamos antes, sin embargo, \SpecialChar LyX
23434 usa predefinidos adecuados para muchos
23435 de estos valores, por lo que generalmente no necesitarás hacer nada para
23436 obtener una buena salida XHTML.
23437 Partiendo de las etiquetas ya disponibles puedes afinar las cosas a tu
23441 \begin_layout Description
23442 \begin_inset Flex Code
23445 \begin_layout Plain Layout
23452 \begin_inset Flex Code
23455 \begin_layout Plain Layout
23461 ] Especifica información de los atributos a entregar con la etiqueta principal.
23463 \begin_inset Quotes eld
23467 \begin_inset Flex Code
23470 \begin_layout Plain Layout
23477 \begin_inset Quotes erd
23481 Por omisión, \SpecialChar LyX
23483 \begin_inset Quotes eld
23487 \begin_inset Flex Code
23490 \begin_layout Plain Layout
23497 \begin_inset Quotes erd
23501 \begin_inset Flex Code
23504 \begin_layout Plain Layout
23510 es el nombre del formato en \SpecialChar LyX
23511 , en minúsculas, por ejemplo: chapter.
23516 debería contener ninguna información de estilo.
23518 \begin_inset Flex Code
23521 \begin_layout Plain Layout
23527 para ese propósito.
23530 \begin_layout Description
23531 \begin_inset Flex Code
23534 \begin_layout Plain Layout
23541 \begin_inset Flex Code
23544 \begin_layout Plain Layout
23553 \begin_inset space \thinspace{}
23557 \begin_inset Flex Code
23560 \begin_layout Plain Layout
23566 ] Si producir la información CSS predeterminada que \SpecialChar LyX
23567 genera para este formato,
23568 incluso si se proporciona explícitamente información adicional mediante
23570 \begin_inset Flex Code
23573 \begin_layout Plain Layout
23581 \begin_inset Flex Code
23584 \begin_layout Plain Layout
23590 permite alterar o aumentar el CSS generado, no sobrescribirlo totalmente.
23592 \begin_inset Flex Code
23595 \begin_layout Plain Layout
23604 \begin_layout Description
23605 \begin_inset Flex Code
23608 \begin_layout Plain Layout
23615 \begin_inset Flex Code
23618 \begin_layout Plain Layout
23624 ] Etiqueta a usar para párrafos individuales de entornos, reemplazando
23625 \begin_inset Flex Code
23628 \begin_layout Plain Layout
23634 en los ejemplos de arriba.
23636 \begin_inset Flex Code
23639 \begin_layout Plain Layout
23648 \begin_layout Description
23649 \begin_inset Flex Code
23652 \begin_layout Plain Layout
23659 \begin_inset Flex Code
23662 \begin_layout Plain Layout
23668 ] Atributos para la etiqueta ítem.
23670 \begin_inset Quotes eld
23674 \begin_inset Flex Code
23677 \begin_layout Plain Layout
23678 class=`layoutname_item'
23684 \begin_inset Quotes erd
23692 debería contener ninguna información de estilo.
23694 \begin_inset Flex Code
23697 \begin_layout Plain Layout
23703 para ese propósito.
23706 \begin_layout Description
23707 \begin_inset Flex Code
23710 \begin_layout Plain Layout
23717 \begin_inset Flex Code
23720 \begin_layout Plain Layout
23726 ] Etiqueta a usar para rótulos de párrafos e ítems, reemplazando
23727 \begin_inset Flex Code
23730 \begin_layout Plain Layout
23736 en los ejemplos de arriba.
23738 \begin_inset Flex Code
23741 \begin_layout Plain Layout
23748 \begin_inset Flex Code
23751 \begin_layout Plain Layout
23758 \begin_inset Flex Code
23761 \begin_layout Plain Layout
23768 \begin_inset Flex Code
23771 \begin_layout Plain Layout
23772 Centered_Top_Environment
23777 , en cuyos casos es
23778 \begin_inset Flex Code
23781 \begin_layout Plain Layout
23790 \begin_layout Description
23791 \begin_inset Flex Code
23794 \begin_layout Plain Layout
23801 \begin_inset Flex Code
23804 \begin_layout Plain Layout
23810 ] Atributos para la etiqueta del rótulo.
23812 \begin_inset Quotes eld
23816 \begin_inset Flex Code
23819 \begin_layout Plain Layout
23820 class=`layoutname_label'
23826 \begin_inset Quotes erd
23834 debería contener ninguna información de estilo.
23836 \begin_inset Flex Code
23839 \begin_layout Plain Layout
23845 para ese propósito.
23848 \begin_layout Description
23849 \begin_inset Flex Code
23852 \begin_layout Plain Layout
23859 \begin_inset Flex Code
23862 \begin_layout Plain Layout
23871 \begin_inset space \thinspace{}
23875 \begin_inset Flex Code
23878 \begin_layout Plain Layout
23884 ] Solo es significativo para entornos tipo lista, esta etiqueta controla
23885 si la etiqueta de rótulo se genera antes o dentro de la etiqueta de ítem.
23886 Se usa, por ejemplo, en el entorno descripción, donde queremos `
23887 \begin_inset Flex Code
23890 \begin_layout Plain Layout
23891 <dt>\SpecialChar ldots
23892 </dt><dd>\SpecialChar ldots
23900 \begin_inset Flex Code
23903 \begin_layout Plain Layout
23909 : la etiqueta de rótulo se genera dentro de la etiqueta de ítem.
23912 \begin_layout Description
23913 \begin_inset Flex Code
23916 \begin_layout Plain Layout
23922 Información para generar en la sección
23923 \begin_inset Flex Code
23926 \begin_layout Plain Layout
23932 cuando se usa este estilo.
23933 Esto podría, por ejemplo, utilizarse para incluir un bloque
23934 \begin_inset Flex Code
23937 \begin_layout Plain Layout
23943 definiendo un controlador
23944 \begin_inset Flex Code
23947 \begin_layout Plain Layout
23956 \begin_layout Description
23957 \begin_inset Flex Code
23960 \begin_layout Plain Layout
23966 Información de estilo CSS a incluir cuando se usa este estilo.
23967 Advertimos que esto será automáticamente envuelto en un bloque
23968 \begin_inset Flex Code
23971 \begin_layout Plain Layout
23977 generado por el formato, por tanto solo es necesario incluir el propio
23980 \begin_inset Flex Code
23983 \begin_layout Plain Layout
23992 \begin_layout Description
23993 \begin_inset Flex Code
23996 \begin_layout Plain Layout
24003 \begin_inset Flex Code
24006 \begin_layout Plain Layout
24012 ] Etiqueta para el rótulo principal, reemplazando
24013 \begin_inset Flex Code
24016 \begin_layout Plain Layout
24022 en losejemplos de arriba.
24024 \begin_inset Flex Code
24027 \begin_layout Plain Layout
24036 \begin_layout Description
24037 \begin_inset Flex Code
24040 \begin_layout Plain Layout
24047 \begin_inset Flex Code
24050 \begin_layout Plain Layout
24059 \begin_inset space \thinspace{}
24063 \begin_inset Flex Code
24066 \begin_layout Plain Layout
24072 ] Marca este estilo como el que se va a usar para generar la etiqueta
24073 \begin_inset Flex Code
24076 \begin_layout Plain Layout
24082 para el archivo XHTML.
24083 Por omisión, es falso.
24085 \begin_inset Flex Code
24088 \begin_layout Plain Layout
24094 lo establece verdadero para el entorno
24095 \begin_inset Flex Code
24098 \begin_layout Plain Layout
24108 \begin_layout Subsection
24112 \begin_layout Standard
24113 La salida XHTML de los recuadros también se puede controlar por información
24114 en archivos 'layout'.
24118 \begin_layout Plain Layout
24119 Por ahora, esto solo es cierto para recuadros de
24120 \begin_inset Quotes eld
24124 \begin_inset Quotes erd
24127 (recuadros en los que puedes escribir) y no para recuadros de
24128 \begin_inset Quotes eld
24132 \begin_inset Quotes erd
24135 (recuadros asociados con cuadros de diálogo).
24140 También en este caso, \SpecialChar LyX
24141 intenta proporcionar valores predefinidos adecuados,
24142 y construye reglas de estilo CSS, pero todo puede personalizarse.
24145 \begin_layout Standard
24146 Para los recuadros, \SpecialChar LyX
24147 produce XHTML en la forma:
24150 \begin_layout LyX-Code
24152 \begin_inset Quotes erd
24156 \begin_inset Quotes erd
24162 \begin_layout LyX-Code
24163 <labeltag>Label</labeltag>
24166 \begin_layout LyX-Code
24168 \begin_inset Quotes erd
24172 \begin_inset Quotes erd
24175 >Contents of the inset.</innertag>
24178 \begin_layout LyX-Code
24182 \begin_layout Standard
24183 Si el recuadro permite párrafos múltiples —o sea, si
24184 \begin_inset Flex Code
24187 \begin_layout Plain Layout
24193 es verdadero— el contenido del recuadro se generará en forma de párrafos
24194 estructurados según los estilos usados para dichos párrafos (normal, cita,
24196 El rótulo de la etiqueta se omite si el párrafo no lo tiene y, por el momento,
24198 \begin_inset Flex Code
24201 \begin_layout Plain Layout
24208 La etiqueta interior es opcional y, por omisión, no aparece.
24211 \begin_layout Standard
24212 Las etiquetas y atributos específicos para cada recuadro se pueden controlar
24213 mediante las siguientes etiquetas de formato.
24216 \begin_layout Description
24217 \begin_inset Flex Code
24220 \begin_layout Plain Layout
24227 \begin_inset Flex Code
24230 \begin_layout Plain Layout
24236 ] Especifica información de atributos a generar con la etiqueta principal.
24238 \begin_inset Quotes eld
24242 \begin_inset Flex Code
24245 \begin_layout Plain Layout
24246 class=`myinset' onclick=`\SpecialChar ldots
24253 \begin_inset Quotes erd
24257 Por omisión, \SpecialChar LyX
24259 \begin_inset Quotes eld
24263 \begin_inset Flex Code
24266 \begin_layout Plain Layout
24273 \begin_inset Quotes erd
24277 \begin_inset Flex Code
24280 \begin_layout Plain Layout
24286 es el nombre del recuadro en \SpecialChar LyX
24287 , en minúsculas y con los caracteres no alfanuméri
24288 cos convertidos en guiones bajos, por ejemplo: footnote.
24291 \begin_layout Description
24292 \begin_inset Flex Code
24295 \begin_layout Plain Layout
24302 \begin_inset Flex Code
24305 \begin_layout Plain Layout
24314 \begin_inset space \thinspace{}
24318 \begin_inset Flex Code
24321 \begin_layout Plain Layout
24327 ] Si producir la información CSS predeterminadad que \SpecialChar LyX
24328 genera para este formato,
24329 incluso si se da explícitamente información adicional con
24330 \begin_inset Flex Code
24333 \begin_layout Plain Layout
24341 \begin_inset Flex Code
24344 \begin_layout Plain Layout
24350 parmite alterar o aumentar el CSS generado, en vez de sobrescribirlo.
24354 \begin_layout Description
24355 \begin_inset Flex Code
24358 \begin_layout Plain Layout
24365 \begin_inset Flex Code
24368 \begin_layout Plain Layout
24374 ] Atributos para la etiqueta interna.
24376 \begin_inset Quotes eld
24380 \begin_inset Flex Code
24383 \begin_layout Plain Layout
24384 class=`insetname_inner'
24390 \begin_inset Quotes erd
24396 \begin_layout Description
24397 \begin_inset Flex Code
24400 \begin_layout Plain Layout
24407 \begin_inset Flex Code
24410 \begin_layout Plain Layout
24416 ] La etiqueta interna, reemplazando
24417 \begin_inset Flex Code
24420 \begin_layout Plain Layout
24426 en los ejemplos de arriba.
24427 Por omisión, ninguna.
24430 \begin_layout Description
24431 \begin_inset Flex Code
24434 \begin_layout Plain Layout
24441 \begin_inset Flex Code
24444 \begin_layout Plain Layout
24451 \begin_inset space \thinspace{}
24455 \begin_inset Flex Code
24458 \begin_layout Plain Layout
24466 ] Si este recuadro representa un bloque de texto independiente (como una
24467 nota al pie) o bien representa material que está incluido en el texto circundan
24468 te (como una rama).
24472 \begin_layout Description
24473 \begin_inset Flex Code
24476 \begin_layout Plain Layout
24483 \begin_inset Flex Code
24486 \begin_layout Plain Layout
24492 ] Un rótulo para este recuadro, posiblemente incluyendo una referencia a
24494 Por ejemplo, para notas al pie, podría ser:
24495 \begin_inset Flex Code
24498 \begin_layout Plain Layout
24507 Esto es opcional y no hay valor predeterminado.
24510 \begin_layout Description
24511 \begin_inset Flex Code
24514 \begin_layout Plain Layout
24520 Información que saldrá en la sección
24521 \begin_inset Flex Code
24524 \begin_layout Plain Layout
24530 cuando se usa este estilo.
24531 Esto podría usarse, por ejemplo, para incluir un bloque
24532 \begin_inset Flex Code
24535 \begin_layout Plain Layout
24541 que defina un controlador
24542 \begin_inset Flex Code
24545 \begin_layout Plain Layout
24554 \begin_layout Description
24555 \begin_inset Flex Code
24558 \begin_layout Plain Layout
24564 Información de estilo CSS a incluir cuando se usa este estilo.
24565 Esto será automáticamente envuelto en un bloque
24566 \begin_inset Flex Code
24569 \begin_layout Plain Layout
24575 generado por el formato, por lo que solo hay que incluir el propio CSS.
24578 \begin_layout Description
24579 \begin_inset Flex Code
24582 \begin_layout Plain Layout
24589 \begin_inset Flex Code
24592 \begin_layout Plain Layout
24598 ] La etiqueta a usar para el rótulo principal, reemplazando
24599 \begin_inset Flex Code
24602 \begin_layout Plain Layout
24608 en los ejemplos de arriba.
24609 El valor por omisión depende de
24610 \begin_inset Flex Code
24613 \begin_layout Plain Layout
24620 \begin_inset Flex Code
24623 \begin_layout Plain Layout
24630 \begin_inset Flex Code
24633 \begin_layout Plain Layout
24639 ; si es falso, el valor por omisión es
24640 \begin_inset Flex Code
24643 \begin_layout Plain Layout
24652 \begin_layout Subsection
24656 \begin_layout Standard
24657 La salida XHTML para flotantes también se puede controlar mediante información
24658 en archivos 'layout'.
24659 La salida tiene la forma:
24662 \begin_layout LyX-Code
24664 \begin_inset Quotes erd
24668 \begin_inset Quotes erd
24674 \begin_layout LyX-Code
24675 Contents of the float.
24678 \begin_layout LyX-Code
24682 \begin_layout Standard
24683 La leyenda, si la hay, es un recuadro separado y se generará como tal.
24684 Su aspecto puede controlarse con InsetLayout para recuadros de leyendas.
24688 \begin_layout Description
24689 \begin_inset Flex Code
24692 \begin_layout Plain Layout
24699 \begin_inset Flex Code
24702 \begin_layout Plain Layout
24708 ] Especifica información de los atributos a generar con la etiqueta principal,
24710 \begin_inset Quotes eld
24714 \begin_inset Flex Code
24717 \begin_layout Plain Layout
24718 class=`myfloat' onclick=`\SpecialChar ldots
24725 \begin_inset Quotes erd
24729 Por omisión, \SpecialChar LyX
24731 \begin_inset Quotes eld
24735 \begin_inset Flex Code
24738 \begin_layout Plain Layout
24739 class=`float float-floattype'
24745 \begin_inset Quotes erd
24749 \begin_inset Flex Code
24752 \begin_layout Plain Layout
24758 es el nombre en \SpecialChar LyX
24759 para este tipo de flotante, como determina la declaración
24761 \begin_inset CommandInset ref
24763 reference "subsec:Flotantes"
24767 ), aunque en minúsculas y con los caracteres no alfanuméricos sustituidos
24768 por guiones bajos, por ejemplo: float-table.
24771 \begin_layout Description
24772 \begin_inset Flex Code
24775 \begin_layout Plain Layout
24781 Información de estilo CSS a incluir cuando se usa este flotante.
24782 Esto será automáticamente envuelto en un bloque
24783 \begin_inset Flex Code
24786 \begin_layout Plain Layout
24792 generado por el formato, por lo que solo hay que incluir el propio CSS.
24795 \begin_layout Description
24796 \begin_inset Flex Code
24799 \begin_layout Plain Layout
24806 \begin_inset Flex Code
24809 \begin_layout Plain Layout
24815 ] La etiqueta a usar para este flotante, reemplazando "
24816 \begin_inset Flex Code
24819 \begin_layout Plain Layout
24825 " en el ejemplo de arriba.
24826 El valor por omisión es
24827 \begin_inset Flex Code
24830 \begin_layout Plain Layout
24836 y raramente habrá que cambiarlo.
24839 \begin_layout Subsection
24840 Formato de la Bibliografía
24843 \begin_layout Standard
24844 La bibliografía se puede formatear usando bloques
24845 \begin_inset Flex Code
24848 \begin_layout Plain Layout
24856 \begin_inset CommandInset ref
24858 reference "subsec:Descripción-formato-cita"
24865 \begin_layout Subsection
24866 CSS generado por \SpecialChar LyX
24870 \begin_layout Standard
24871 Hemos mencionado ya que \SpecialChar LyX
24872 generará reglas de estilo CSS predeterminadas para
24873 recuadros y estilos de párrafo, basados en la información suministrada
24874 para otros formatos.
24875 En esta sección comentaremos qué información usa \SpecialChar LyX
24879 \begin_layout Standard
24880 Actualmente, \SpecialChar LyX
24881 auto-genera CSS solo para información sobre tipografías, haciendo
24883 \begin_inset Flex Code
24886 \begin_layout Plain Layout
24893 \begin_inset Flex Code
24896 \begin_layout Plain Layout
24903 \begin_inset Flex Code
24906 \begin_layout Plain Layout
24913 \begin_inset Flex Code
24916 \begin_layout Plain Layout
24922 especificados en la declaración
24923 \begin_inset Flex Code
24926 \begin_layout Plain Layout
24934 \begin_inset CommandInset ref
24936 reference "subsec:Tipografía"
24940 .) La traducción es bastante sencilla y evidente.
24942 \begin_inset Quotes eld
24946 \begin_inset Flex Code
24949 \begin_layout Plain Layout
24956 \begin_inset Quotes erd
24960 \begin_inset Quotes eld
24964 \begin_inset Flex Code
24967 \begin_layout Plain Layout
24968 font-family: sans-serif;
24974 \begin_inset Quotes erd
24978 La correspondencia entre tamaños \SpecialChar LyX
24979 y tamaños CSS es un poco menos obvia,
24980 pero intuitiva en todo caso.
24982 \begin_inset Flex Code
24985 \begin_layout Plain Layout
24992 \begin_inset Flex URL
24995 \begin_layout Plain Layout
25006 \begin_layout Chapter
25007 Inserción de material externo
25008 \begin_inset CommandInset label
25010 name "cap:Inserción-de-material"
25017 \begin_layout Standard
25018 \begin_inset Box Shadowbox
25028 height_special "totalheight"
25033 backgroundcolor "none"
25036 \begin_layout Plain Layout
25037 AVISO: Esta parte de la documentación no ha sido actualizada desde hace
25039 Esperamos que aún sea adecuada, pero no hay garantías.
25047 \begin_layout Standard
25048 El uso de material de procedencia externa a \SpecialChar LyX
25049 se trata con detalle en el
25055 En el presente documento se trata sobre lo que debe suceder entre bambalinas
25056 para incluir nuevas clases de material.
25059 \begin_layout Section
25063 \begin_layout Standard
25064 La característica material externo se basa en el concepto
25069 Una plantilla es una especificación de la forma en que \SpecialChar LyX
25071 ciertos tipos de material.
25072 De por sí, \SpecialChar LyX
25073 incluye plantillas predefinidas para figuras Xfig, varios tipos
25074 de imágenes raster, diagramas de ajedrez y notación musical LilyPond.
25075 Puedes comprobar la lista actual en el menú
25076 \begin_inset Flex Noun
25079 \begin_layout Plain Layout
25080 Insertar\SpecialChar menuseparator
25081 Archivo\SpecialChar menuseparator
25088 Además, es posible construir plantillas propias para soportar determinado
25090 Más tarde describiremos con más detalle lo que esto implica, y esperamos
25091 que nos envíes tus plantillas para que se puedan incluir en próximas versiones
25092 de \SpecialChar LyX
25096 \begin_layout Standard
25097 Otra idea básica de la característica material externo es distinguir entre
25098 el archivo original que sirve como base para el material final y el archivo
25099 generado que se incluye en el documento impreso o exportado.
25100 Por ejemplo, consideremos el caso de una figura hecha con
25101 \begin_inset Flex Code
25104 \begin_layout Plain Layout
25111 El programa Xfig en sí mismo trabaja sobre un archivo original con extensión
25113 \begin_inset Flex Code
25116 \begin_layout Plain Layout
25123 Dentro de Xfig, se crea o modifica una figura y se guarda como un archivo
25125 \begin_inset Flex Code
25128 \begin_layout Plain Layout
25135 Para incluir la figura en un documento, se ejecuta
25136 \begin_inset Flex Code
25139 \begin_layout Plain Layout
25145 con el fin de crear un archivo PostScript que puede incluirse fácilmente
25146 en el archivo \SpecialChar LaTeX
25148 En este caso, el archivo
25149 \begin_inset Flex Code
25152 \begin_layout Plain Layout
25158 es el original, y el archivo PostScript es el archivo generado.
25161 \begin_layout Standard
25162 Esta distinción es importante para permitir la actualización del material
25163 durante el proceso de escritura del documento.
25164 Además, provee la flexibilidad necesaria para soportar múltiples formatos
25166 Por ejemplo, en el caso de un archivo de texto sencillo, no es una brillante
25167 idea incluir la figura como PostScript puro.
25168 En vez de esto, es preferible incluir solo una referencia a la figura o
25169 bien probar algún convertidor de gráficos a Ascii para que el resultado
25170 final se parezca al gráfico real.
25171 La gestión de material externo de \SpecialChar LyX
25172 permite hacer esto porque se basa en
25173 parámetros apropiados para los diferentes formatos de exportación soportados.
25176 \begin_layout Standard
25177 Además de soportar la generación de diferentes productos de acuerdo con
25178 el formato de exportación, existe una profunda integración con las aplicaciones
25179 de edición y visualización.
25180 En el caso de figuras Xfig, es posible editar el archivo original en Xfig
25181 con un simple clic derecho sobre el recuadro y también previsualizar el
25182 PostScript generado con ghostview.
25183 Se acabaron los enredos con la línea de comandos y/o el navegador de archivos
25184 para localizar y manipular los archivos originales o los generados.
25185 De esta manera, se pueden por fin aprovechar las ventajas de muy diversas
25186 aplicaciones importantes para la composición de los documentos, y por tanto
25187 aumentar el rendimiento.
25190 \begin_layout Section
25191 El archivo de configuración de plantillas externas
25194 \begin_layout Standard
25195 Es relativamente fácil añadir en \SpecialChar LyX
25196 definiciones personalizadas de plantillas
25198 Sin embargo, hay que ser consciente de que hacer esto de manera descuidada
25199 generará muy probablemente un agujero de seguridad fácil de explotar.
25200 Así pues, antes de hacer esto, lee por favor la discusión sobre seguridad
25202 \begin_inset CommandInset ref
25204 reference "sec:Discusión-sobre-seguridad"
25211 \begin_layout Standard
25212 Una vez dicho esto, te animamos a que envíes cualquiera plantilla interesante
25216 \begin_layout Standard
25217 Las plantillas externas se definen en el archivo
25220 \begin_inset Flex Code
25223 \begin_layout Plain Layout
25231 files that are stored in the
25232 \begin_inset Flex Code
25235 \begin_layout Plain Layout
25238 LyXDir/lib/xtemplates/
25244 Each template is defined in a file of its own.
25255 \begin_inset Flex Code
25258 \begin_layout Plain Layout
25261 UserDir/xtemplates/
25266 or copy existing templates to that directory in order to modify them.
25272 \begin_layout Standard
25273 Una plantilla típica tiene un aspecto como este:
25276 \begin_layout LyX-Code
25280 \begin_layout LyX-Code
25281 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
25284 \begin_layout LyX-Code
25288 \begin_layout LyX-Code
25292 \begin_layout LyX-Code
25296 \begin_layout LyX-Code
25300 \begin_layout LyX-Code
25304 \begin_layout LyX-Code
25305 AutomaticProduction true
25308 \begin_layout LyX-Code
25312 \begin_layout LyX-Code
25316 \begin_layout LyX-Code
25320 \begin_layout LyX-Code
25321 TransformCommand Rotate RotationLatexCommand
25324 \begin_layout LyX-Code
25325 TransformCommand Resize ResizeLatexCommand
25328 \begin_layout LyX-Code
25329 Product "$$RotateFront$$ResizeFront
25332 \begin_layout LyX-Code
25337 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
25340 \begin_layout LyX-Code
25341 $$ResizeBack$$RotateBack"
25344 \begin_layout LyX-Code
25348 \begin_layout LyX-Code
25349 UpdateResult "$$AbsPath$$Basename.pstex_t"
25352 \begin_layout LyX-Code
25353 Requirement "graphicx"
25356 \begin_layout LyX-Code
25357 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
25360 \begin_layout LyX-Code
25361 ReferencedFile latex "$$AbsPath$$Basename.eps"
25364 \begin_layout LyX-Code
25365 ReferencedFile dvi "$$AbsPath$$Basename.eps"
25368 \begin_layout LyX-Code
25372 \begin_layout LyX-Code
25376 \begin_layout LyX-Code
25377 TransformCommand Rotate RotationLatexCommand
25380 \begin_layout LyX-Code
25381 TransformCommand Resize ResizeLatexCommand
25384 \begin_layout LyX-Code
25385 Product "$$RotateFront$$ResizeFront
25388 \begin_layout LyX-Code
25393 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
25396 \begin_layout LyX-Code
25397 $$ResizeBack$$RotateBack"
25400 \begin_layout LyX-Code
25401 UpdateFormat pdftex
25404 \begin_layout LyX-Code
25405 UpdateResult "$$AbsPath$$Basename.pdftex_t"
25408 \begin_layout LyX-Code
25409 Requirement "graphicx"
25412 \begin_layout LyX-Code
25413 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
25416 \begin_layout LyX-Code
25417 ReferencedFile latex "$$AbsPath$$Basename.pdf"
25420 \begin_layout LyX-Code
25424 \begin_layout LyX-Code
25428 \begin_layout LyX-Code
25429 Product "$$Contents(
25431 "$$AbsPath$$Basename.asc
25436 \begin_layout LyX-Code
25437 UpdateFormat asciixfig
25440 \begin_layout LyX-Code
25441 UpdateResult "$$AbsPath$$Basename.asc"
25444 \begin_layout LyX-Code
25448 \begin_layout LyX-Code
25452 \begin_layout LyX-Code
25453 Product "<graphic fileref=
25455 "$$AbsOrRelPathMaster$$Basename.eps
25460 \begin_layout LyX-Code
25464 \begin_layout LyX-Code
25468 \begin_layout LyX-Code
25469 UpdateResult "$$AbsPath$$Basename.eps"
25472 \begin_layout LyX-Code
25473 ReferencedFile docbook "$$AbsPath$$Basename.eps"
25476 \begin_layout LyX-Code
25477 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
25480 \begin_layout LyX-Code
25484 \begin_layout LyX-Code
25485 Product "[XFig: $$FName]"
25488 \begin_layout LyX-Code
25492 \begin_layout LyX-Code
25496 \begin_layout Standard
25497 Como puedes ver, la plantilla se incluye entre
25498 \begin_inset Flex Code
25501 \begin_layout Plain Layout
25509 \begin_inset Flex Code
25512 \begin_layout Plain Layout
25519 Contiene una cabecera que especifica algunas configuraciones generales
25520 y, por cada formato de archivo de documento primario soportado, una sección
25522 \begin_inset Flex Code
25525 \begin_layout Plain Layout
25533 \begin_inset Flex Code
25536 \begin_layout Plain Layout
25545 \begin_layout Subsection
25546 La cabecera de la plantilla
25549 \begin_layout Description
25550 \begin_inset Flex Code
25553 \begin_layout Plain Layout
25554 AutomaticProduction
25555 \begin_inset space ~
25563 Si el archivo representado por la plantilla debe ser generado por \SpecialChar LyX
25565 Este comando debe aparecer exactamente una vez.
25568 \begin_layout Description
25569 \begin_inset Flex Code
25572 \begin_layout Plain Layout
25574 \begin_inset space ~
25582 Un patrón global que se usa en el diálogo del archivo para filtrar los
25584 Si hay más de una posible extensión de archivo (p.
25585 \begin_inset space \thinspace{}
25589 \begin_inset space ~
25593 \begin_inset Flex Code
25596 \begin_layout Plain Layout
25603 \begin_inset Flex Code
25606 \begin_layout Plain Layout
25612 ), se pone algo como
25613 \begin_inset Flex Code
25616 \begin_layout Plain Layout
25623 Este comando debe aparecer exactamente una vez.
25626 \begin_layout Description
25627 \begin_inset Flex Code
25630 \begin_layout Plain Layout
25632 \begin_inset space ~
25640 El texto mostrado sobre el botón.
25641 Este comando debe aparecer exactamente una vez.
25644 \begin_layout Description
25645 \begin_inset Flex Code
25648 \begin_layout Plain Layout
25650 \begin_inset space ~
25654 \begin_inset space ~
25662 El texto de ayuda que se muestra en diálogo.
25663 Da suficiente información sobre lo que puede proporcionar la plantilla.
25664 Este comando debe aparecer exactamente una vez.
25667 \begin_layout Description
25668 \begin_inset Flex Code
25671 \begin_layout Plain Layout
25673 \begin_inset space ~
25681 El formato de archivo del original.
25682 Debe ser el nombre de un formato conocido por \SpecialChar LyX
25684 \begin_inset CommandInset ref
25686 reference "sec:Formatos"
25692 \begin_inset Quotes cld
25696 \begin_inset Flex Code
25699 \begin_layout Plain Layout
25706 \begin_inset Quotes crd
25709 si la plantilla puede manejar archivos originales o más de un formato.
25710 En este caso, \SpecialChar LyX
25711 intentará inspeccionar el archivo mismo para deducir su
25713 Este comando debe aparecer exactamente una vez.
25716 \begin_layout Description
25717 \begin_inset Flex Code
25720 \begin_layout Plain Layout
25722 \begin_inset space ~
25730 Un nombre único para la plantilla.
25731 No debe contener macros de sustitución (véase abajo).
25734 \begin_layout Description
25735 \begin_inset Flex Code
25738 \begin_layout Plain Layout
25740 \begin_inset space ~
25743 Rotate|Resize|Clip|Extra
25748 Este comando especifica qué transformaciones son soportadas por esta plantilla.
25749 Puede aparecer ninguna o varias veces.
25750 Este comando facilita las correspondientes pestañas en el diálogo de material
25753 \begin_inset Flex Code
25756 \begin_layout Plain Layout
25762 debe tener el correspondiente
25763 \begin_inset Flex Code
25766 \begin_layout Plain Layout
25773 \begin_inset Flex Code
25776 \begin_layout Plain Layout
25783 \begin_inset Flex Code
25786 \begin_layout Plain Layout
25793 De lo contrario la transformación no será soportada por ese formato.
25797 \begin_layout Subsection
25801 \begin_layout Description
25802 \begin_inset Flex Code
25805 \begin_layout Plain Layout
25807 \begin_inset space ~
25810 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
25815 El formato de archivo del documento primario para el que es esta definición
25817 No toda plantilla tiene una representación sensible en los formatos de
25818 archivo de todos los documentos.
25819 No obstante, es preferible definir una sección
25820 \begin_inset Flex Code
25823 \begin_layout Plain Layout
25829 para todos los formatos.
25830 Se usa un texto postizo si no hay representación disponible.
25831 Entonces, al menos, se puede ver una referencia al material externo en
25832 el documento exportado.
25835 \begin_layout Description
25836 \begin_inset Flex Code
25839 \begin_layout Plain Layout
25841 \begin_inset space ~
25845 \begin_inset space ~
25853 Este comando define una macro adicional,
25854 \begin_inset Flex Code
25857 \begin_layout Plain Layout
25863 , para sustitución en
25864 \begin_inset Flex Code
25867 \begin_layout Plain Layout
25875 \begin_inset Flex Code
25878 \begin_layout Plain Layout
25884 puede contener en sí mismo macros de sustitución.
25885 La ventaja sobre el uso de
25886 \begin_inset Flex Code
25889 \begin_layout Plain Layout
25896 \begin_inset Flex Code
25899 \begin_layout Plain Layout
25905 es que el valor sustituido de
25906 \begin_inset Flex Code
25909 \begin_layout Plain Layout
25915 está saneado así que es un argumento opcional válido en el formato del
25917 Este comando puede aparecer ninguna o más veces.
25920 \begin_layout Description
25921 \begin_inset Flex Code
25924 \begin_layout Plain Layout
25926 \begin_inset space ~
25934 El texto que se inserta en el documento exportado.
25935 Realmente este es el comando más importante y puede ser bastante complejo.
25936 Este comando debe aparecer exactamente una vez.
25939 \begin_layout Description
25940 \begin_inset Flex Code
25943 \begin_layout Plain Layout
25945 \begin_inset space ~
25953 Este comando especifica un fragmento de preámbulo que se incluirá en el
25954 preámbulo \SpecialChar LaTeX
25956 Tiene que definirse usando
25957 \begin_inset Flex Code
25960 \begin_layout Plain Layout
25968 \begin_inset Flex Code
25971 \begin_layout Plain Layout
25978 Este comando puede aparecer ninguna o más veces.
25981 \begin_layout Description
25982 \begin_inset Flex Code
25985 \begin_layout Plain Layout
25987 \begin_inset space ~
25991 \begin_inset space ~
25999 Este comando indica los archivos que se crean por el proceso de conversión
26000 y que son necesarios para un formato de exportación particular.
26001 Si el nombre del archivo es relativo, se interpreta como relativo al documento
26003 Este comando puede darse ninguna o más veces.
26006 \begin_layout Description
26007 \begin_inset Flex Code
26010 \begin_layout Plain Layout
26012 \begin_inset space ~
26020 El nombre de un paquete \SpecialChar LaTeX
26022 El paquete se incuye mediante
26023 \begin_inset Flex Code
26026 \begin_layout Plain Layout
26034 en el preámbulo \SpecialChar LaTeX
26036 Este comando puede aparecer ninguna o más veces.
26039 \begin_layout Description
26040 \begin_inset Flex Code
26043 \begin_layout Plain Layout
26045 \begin_inset space ~
26049 \begin_inset space ~
26052 RotationLatexCommand
26057 Este comando especifica que el comando \SpecialChar LaTeX
26058 incluido debería usarse para la
26060 Este comando puede aparecer una vez o ninguna.
26063 \begin_layout Description
26064 \begin_inset Flex Code
26067 \begin_layout Plain Layout
26069 \begin_inset space ~
26073 \begin_inset space ~
26081 Este comando especifica que el comando \SpecialChar LaTeX
26082 incluido debería usarse para cambiar
26084 Este comando puede aparecer una vez o ninguna.
26087 \begin_layout Description
26088 \begin_inset Flex Code
26091 \begin_layout Plain Layout
26093 \begin_inset space ~
26097 \begin_inset space ~
26100 RotationLatexOption
26105 Este comando especifica que la rotación se hace mediante un argumento opcional.
26106 Este comando puede aparecer una vez o ninguna.
26109 \begin_layout Description
26110 \begin_inset Flex Code
26113 \begin_layout Plain Layout
26115 \begin_inset space ~
26119 \begin_inset space ~
26127 Este comando especifica que el cambio de tamaño se hace mediante un argumento
26129 Este comando puede aparecer una vez o ninguna
26132 \begin_layout Description
26133 \begin_inset Flex Code
26136 \begin_layout Plain Layout
26138 \begin_inset space ~
26142 \begin_inset space ~
26150 Este comando especifica que el recorte se hace mediante un argumento opcional.
26151 Este comando puede aparecer una vez o ninguna.
26154 \begin_layout Description
26155 \begin_inset Flex Code
26158 \begin_layout Plain Layout
26160 \begin_inset space ~
26164 \begin_inset space ~
26172 Este comando especifica que se usa un argumento extra opcional.
26173 Este comando puede aparecer una vez o ninguna.
26177 \begin_layout Description
26178 \begin_inset Flex Code
26181 \begin_layout Plain Layout
26183 \begin_inset space ~
26191 El formato de archivo del archivo convertido.
26192 Debe ser el nombre de un formato conocido por \SpecialChar LyX
26194 \begin_inset Flex Noun
26197 \begin_layout Plain Layout
26204 \begin_inset Flex Noun
26207 \begin_layout Plain Layout
26208 Gestión de archivos
26214 \begin_inset Flex Noun
26217 \begin_layout Plain Layout
26218 Herramientas\SpecialChar menuseparator
26225 Este comando debe aparecer exactamente una vez.
26226 Si el formato del archivo resultante es PDF, debes especificar el formato
26228 \begin_inset Flex Code
26231 \begin_layout Plain Layout
26238 Es el formato PDF usado para incluir gráficos.
26239 Los otros formatos PDF definidos son para exportación de documentos.
26242 \begin_layout Description
26243 \begin_inset Flex Code
26246 \begin_layout Plain Layout
26248 \begin_inset space ~
26256 El nombre de archivo del archivo convertido.
26257 El nombre de archivo debe ser absoluto.
26258 Este comando debe aparecer exactamente una vez.
26261 \begin_layout Subsection
26262 Definiciones de preámbulo
26265 \begin_layout Standard
26266 El archivo de configuración de plantillas externas puede contener definiciones
26267 de preámbulo adicionales encerradas entre
26268 \begin_inset Flex Code
26271 \begin_layout Plain Layout
26279 \begin_inset Flex Code
26282 \begin_layout Plain Layout
26289 Se pueden usar por las plantillas en la sección
26290 \begin_inset Flex Code
26293 \begin_layout Plain Layout
26302 \begin_layout Section
26303 El mecanismo de sustitución
26306 \begin_layout Standard
26307 Cuando la función de material externo recurre a un programa externo, se
26308 hace sobre la base de un comando definido en el archivo de configuración
26310 Estos comandos pueden contener varias macros que se expanden antes de su
26312 La ejecución tiene lugar siempre en el directorio del documento.
26316 \begin_layout Standard
26317 Además, cada vez que el material externo se va a mostrar, el nombre será
26318 generado por el mecanismo de sustitución, y la mayoría de los demás comandos
26319 en la definición de la plantilla soportan también sustitución.
26323 \begin_layout Standard
26324 Las macros disponibles son las siguientes:
26327 \begin_layout Description
26328 \begin_inset Flex Code
26331 \begin_layout Plain Layout
26332 $$AbsOrRelPathMaster
26337 La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
26341 \begin_layout Description
26342 \begin_inset Flex Code
26345 \begin_layout Plain Layout
26346 $$AbsOrRelPathParent
26351 La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
26355 \begin_layout Description
26356 \begin_inset Flex Code
26359 \begin_layout Plain Layout
26365 La ruta absoluta del archivo.
26368 \begin_layout Description
26369 \begin_inset Flex Code
26372 \begin_layout Plain Layout
26378 El nombre de archivo sin ruta y sin la extensión.
26381 \begin_layout Description
26382 \begin_inset Flex Code
26385 \begin_layout Plain Layout
26387 \begin_inset Quotes eld
26391 \begin_inset Quotes erd
26399 Esta macro expandirá los contenidos del archivo con el nombre
26400 \begin_inset Flex Code
26403 \begin_layout Plain Layout
26412 \begin_layout Description
26413 \begin_inset Flex Code
26416 \begin_layout Plain Layout
26422 La extensión de archivo (incluyendo el punto).
26425 \begin_layout Description
26426 \begin_inset Flex Code
26429 \begin_layout Plain Layout
26436 \begin_inset Quotes cld
26440 \begin_inset Quotes crd
26443 si el archivo está en formato JPEG, si no será
26444 \begin_inset Quotes eld
26448 \begin_inset Quotes erd
26452 Esto es útil para evitar conversiones innecesarias para formatos de salida
26453 que soporten tanto PNG como JPEG.
26454 La plantilla predefinida RasterImage usa esta macro para el formato de
26455 salida pdf\SpecialChar TeX
26459 \begin_layout Description
26460 \begin_inset Flex Code
26463 \begin_layout Plain Layout
26469 El nombre de archivo del archivo especificado en el diálogo de material
26471 Esto es bien un nombre absoluto, bien relativo al documento \SpecialChar LyX
26475 \begin_layout Description
26476 \begin_inset Flex Code
26479 \begin_layout Plain Layout
26485 La parte de la ruta de
26486 \begin_inset Flex Code
26489 \begin_layout Plain Layout
26495 (nombre absoluto o relativo al documento \SpecialChar LyX
26499 \begin_layout Description
26500 \begin_inset Flex Code
26503 \begin_layout Plain Layout
26509 La ruta del archivo, relativa al documento maestro \SpecialChar LyX
26513 \begin_layout Description
26514 \begin_inset Flex Code
26517 \begin_layout Plain Layout
26523 La ruta del archivo, relativa al documento \SpecialChar LyX
26527 \begin_layout Description
26528 \begin_inset Flex Code
26531 \begin_layout Plain Layout
26537 Esta macro expandirá a la ruta absoluta del directorio de sistema.
26538 Esto se usa habitualmente para apuntar a los varios guiones de ayuda que
26539 se empaquetan con \SpecialChar LyX
26543 \begin_layout Description
26544 \begin_inset Flex Code
26547 \begin_layout Plain Layout
26553 Un nombre y ruta completa a un directorio temporal que será borrado automáticam
26554 ente siempre que el documento se cierra, o se suprime la inserción de material
26558 \begin_layout Standard
26559 Todas las macros de ruta contienen un separador de rastreo del directorio,
26560 así se puede construir, p.
26561 \begin_inset space \thinspace{}
26564 e., el nombre de archivo absoluto con
26565 \begin_inset Flex Code
26568 \begin_layout Plain Layout
26569 $$AbsPath$$Basename$$Extension
26577 \begin_layout Standard
26578 Las macros anteriores son sustituidas en todos los comandos a menos que
26579 se indique lo contrario.
26581 \begin_inset Flex Code
26584 \begin_layout Plain Layout
26590 soporta adicionalmente las siguientes sustituciones si se habilitan por
26592 \begin_inset Flex Code
26595 \begin_layout Plain Layout
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 parte delantera del comando para cambiar el tamaño.
26627 \begin_layout Description
26628 \begin_inset Flex Code
26631 \begin_layout Plain Layout
26637 La parte trasera del comando para cambiar el tamaño.
26640 \begin_layout Description
26641 \begin_inset Flex Code
26644 \begin_layout Plain Layout
26650 La parte delantera del comando para la rotación.
26653 \begin_layout Description
26654 \begin_inset Flex Code
26657 \begin_layout Plain Layout
26663 La parte trasera del comando para la rotación.
26666 \begin_layout Standard
26667 La cadena de valor del comando
26668 \begin_inset Flex Code
26671 \begin_layout Plain Layout
26677 soporta adicionalmente las siguientes sustituciones si éstas se han habilitado
26679 \begin_inset Flex Code
26682 \begin_layout Plain Layout
26689 \begin_inset Flex Code
26692 \begin_layout Plain Layout
26701 \begin_layout Description
26702 \begin_inset Flex Code
26705 \begin_layout Plain Layout
26714 \begin_layout Description
26715 \begin_inset Flex Code
26718 \begin_layout Plain Layout
26727 \begin_layout Description
26728 \begin_inset Flex Code
26731 \begin_layout Plain Layout
26737 La opción cambio de tamaño.
26740 \begin_layout Description
26741 \begin_inset Flex Code
26744 \begin_layout Plain Layout
26750 La opción rotación.
26753 \begin_layout Standard
26754 Te puedes preguntar por qué hay tantas macros de ruta.
26755 Por dos razones, principalmente:
26758 \begin_layout Enumerate
26759 Los nombres de archivo relativo y absoluto deberían permanecer relativo
26760 o absoluto, respectivamente.
26761 Los usuarios pueden tener razones para preferir cualquiera de ambas formas.
26762 Los nombres relativos son útiles para documentos portables que deberían
26763 funcionar en máquinas diferentes, por ejemplo.
26764 Los nombres absolutos pueden ser requeridos por algunos programas.
26767 \begin_layout Enumerate
26769 procesa los nombres de archivo relativos de manera diferente a \SpecialChar LyX
26771 programas en archivos anidados incluidos.
26772 Para \SpecialChar LyX
26773 , un nombre de archivo relativo es siempre relativo al documento que
26774 contiene el nombre de archivo.
26775 Para \SpecialChar LaTeX
26776 , es siempre relativo al documento maestro.
26777 Estas dos definiciones son idénticas si se tiene solo un documento, pero
26778 son distintas si se tiene un documento maestro que incluye documentos parciales.
26779 Esto quiere decir que los nombres de archivo relativos deben ser transformados
26780 cuando se presentan a \SpecialChar LaTeX
26782 Afortunadamente, \SpecialChar LyX
26783 hace esto automáticamente si se eligen las macros correctas.
26786 \begin_layout Standard
26787 Así pues, ¿qué macros de ruta deberían emplearse en las definiciones de
26788 plantillas nuevas? La regla no es difícil:
26791 \begin_layout Itemize
26793 \begin_inset Flex Code
26796 \begin_layout Plain Layout
26802 si se requiere una ruta absoluta.
26805 \begin_layout Itemize
26807 \begin_inset Flex Code
26810 \begin_layout Plain Layout
26811 $$AbsOrRelPathMaster
26816 si la cadena sustituida es algún tipo de entrada \SpecialChar LaTeX
26820 \begin_layout Itemize
26822 \begin_inset Flex Code
26825 \begin_layout Plain Layout
26826 $$AbsOrRelPathParent
26831 con el fin de preservar la elección del usuario.
26834 \begin_layout Standard
26835 Hay casos especiales en los que esta regla no funciona y se necesitan, p.
26836 \begin_inset space \thinspace{}
26839 e., nombres relativos, pero normalmente funcionará bien.
26840 Un ejemplo de uno de estos casos es el comando
26841 \begin_inset Flex Code
26844 \begin_layout Plain Layout
26845 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
26850 en la plantilla XFig de arriba: no podemos usar el nombre absoluto porque
26851 el copiador para archivos
26852 \begin_inset Flex Code
26855 \begin_layout Plain Layout
26861 necesita el nombre relativo para reescribir el contenido del archivo.
26864 \begin_layout Section
26865 Discusión sobre seguridad
26866 \begin_inset CommandInset label
26868 name "sec:Discusión-sobre-seguridad"
26875 \begin_layout Standard
26876 La función material externo interactúa con muchos programas externos y lo
26877 hace de forma automática, así que hemos de tener en cuenta las implicaciones
26878 de seguridad que esto conlleva.
26879 En particular, puesto que tienes la opción de incluir tus propios archivos
26880 y/o cadenas de parámetros y estos se expanden en un comando, parece posible
26881 crear un documento malicioso que ejecute comandos arbitrarios cuando un
26882 usuario ve o imprime el documento.
26883 Esto es algo que definitivamente queremos evitar.
26887 \begin_layout Standard
26888 Sin embargo, dado que los comandos de material externo se especifican solo
26889 en el archivo de configuración de la plantilla, no hay problemas de seguridad
26890 si \SpecialChar LyX
26891 está adecuadamente configurado solo con plantillas seguras.
26892 Esto es así porque los programas externos se invocan con la llamada al
26894 \begin_inset Flex Code
26897 \begin_layout Plain Layout
26903 más bien que con la llamada
26904 \begin_inset Flex Code
26907 \begin_layout Plain Layout
26913 , de modo que no es posible ejecutar comandos arbitrarios desde la sección
26914 del nombre de archivo o de parámetros mediante el shell.
26917 \begin_layout Standard
26918 Esto implica además que hay restricciones en las cadenas de comandos que
26919 puedes usar en las plantillas de material externo.
26920 En particular, las tuberías y la redirección no están fácilmente disponibles.
26921 Esto debe ser así para que \SpecialChar LyX
26923 Si quieres usar algunas características de shell, deberías escribir un
26924 guión seguro para hacerlo de manera controlada, y después invocar el guión
26925 desde la cadena de comandos.
26928 \begin_layout Standard
26929 Es posible diseñar una plantilla que interactúe directamente con el shell,
26930 pero puesto que esto permitiría a un usuario malicioso ejecutar comandos
26931 arbitrarios escribiendo nombres de archivo y/o parámetros astutos, generalmente
26932 recomendamos usar solo guiones seguros que trabajen con la llamada
26933 \begin_inset Flex Code
26936 \begin_layout Plain Layout
26942 al sistema en forma controlada.
26943 Por supuesto, para usar en un entorno controlado, puede ser tentador caer
26944 en el uso de guiones de shell ordinarios.
26945 Si lo haces así, sé consciente de que vas a suministrar un agujero se seguridad
26946 fácilmente explotable en tu sistema.
26947 Evidentemente, es de razón que tales plantillas inseguras nunca serán incluidas
26948 en la distribución estándar de \SpecialChar LyX
26949 , aunque alentamos a la gente a que, a la
26950 usanza del software libre, envíe nuevas plantillas.
26951 No obstante, \SpecialChar LyX
26952 nunca tendrá plantillas inseguras tal y como se distribuye
26953 por los canales oficiales.
26956 \begin_layout Standard
26957 Incluir material externo suministra mucha potencia y has de ser cuidadoso
26958 en no introducir riesgos de seguridad a costa de esta potencia.
26959 Un sutil error en una simple línea en un guión aparentemente inocente puede
26960 abrir la puerta a graves problemas de seguridad.
26961 Así, si no comprendes totalmente estos asuntos, recomendamos consultar
26962 a un profesional entendido en seguridad o al equipo de desarrollo de \SpecialChar LyX
26964 tienes dudas acerca de si una plantilla dada es o no segura.
26965 Y hazlo antes de usarla en un entorno no controlado.
26968 \begin_layout Chapter
26970 Lista de funciones soportadas por \SpecialChar LyX
26971 en archivos de formato
26972 \begin_inset CommandInset label
26974 name "cap:Lista-de-funciones"
26981 \begin_layout Standard
26983 \begin_inset Tabular
26984 <lyxtabular version="3" rows="11" columns="8">
26985 <features tabularvalignment="middle">
26986 <column alignment="left" valignment="top">
26987 <column alignment="left" valignment="top">
26988 <column alignment="left" valignment="top">
26989 <column alignment="left" valignment="top">
26990 <column alignment="left" valignment="top">
26991 <column alignment="left" valignment="top">
26992 <column alignment="left" valignment="top">
26993 <column alignment="left" valignment="top">
26995 <cell alignment="left" valignment="top" usebox="none">
26998 \begin_layout Plain Layout
27004 <cell alignment="left" valignment="top" usebox="none">
27007 \begin_layout Plain Layout
27013 <cell alignment="left" valignment="top" usebox="none">
27016 \begin_layout Plain Layout
27022 <cell alignment="left" valignment="top" usebox="none">
27025 \begin_layout Plain Layout
27031 <cell alignment="center" valignment="top" usebox="none">
27034 \begin_layout Plain Layout
27040 <cell alignment="center" valignment="top" usebox="none">
27043 \begin_layout Plain Layout
27049 <cell alignment="center" valignment="top" usebox="none">
27052 \begin_layout Plain Layout
27058 <cell alignment="center" valignment="top" usebox="none">
27061 \begin_layout Plain Layout
27069 <cell alignment="left" valignment="top" usebox="none">
27072 \begin_layout Plain Layout
27078 <cell alignment="left" valignment="top" usebox="none">
27081 \begin_layout Plain Layout
27087 <cell alignment="left" valignment="top" usebox="none">
27090 \begin_layout Plain Layout
27096 <cell alignment="left" valignment="top" usebox="none">
27099 \begin_layout Plain Layout
27105 <cell alignment="center" valignment="top" usebox="none">
27108 \begin_layout Plain Layout
27114 <cell alignment="center" valignment="top" usebox="none">
27117 \begin_layout Plain Layout
27123 <cell alignment="center" valignment="top" usebox="none">
27126 \begin_layout Plain Layout
27132 <cell alignment="center" valignment="top" usebox="none">
27135 \begin_layout Plain Layout
27143 <cell alignment="left" valignment="top" usebox="none">
27146 \begin_layout Plain Layout
27152 <cell alignment="left" valignment="top" usebox="none">
27155 \begin_layout Plain Layout
27161 <cell alignment="left" valignment="top" usebox="none">
27164 \begin_layout Plain Layout
27170 <cell alignment="left" valignment="top" usebox="none">
27173 \begin_layout Plain Layout
27179 <cell alignment="center" valignment="top" usebox="none">
27182 \begin_layout Plain Layout
27188 <cell alignment="center" valignment="top" usebox="none">
27191 \begin_layout Plain Layout
27197 <cell alignment="center" valignment="top" usebox="none">
27200 \begin_layout Plain Layout
27206 <cell alignment="center" valignment="top" usebox="none">
27209 \begin_layout Plain Layout
27217 <cell alignment="left" valignment="top" usebox="none">
27220 \begin_layout Plain Layout
27226 <cell alignment="left" valignment="top" usebox="none">
27229 \begin_layout Plain Layout
27235 <cell alignment="left" valignment="top" usebox="none">
27238 \begin_layout Plain Layout
27244 <cell alignment="left" valignment="top" usebox="none">
27247 \begin_layout Plain Layout
27253 <cell alignment="center" valignment="top" usebox="none">
27256 \begin_layout Plain Layout
27262 <cell alignment="center" valignment="top" usebox="none">
27265 \begin_layout Plain Layout
27271 <cell alignment="center" valignment="top" usebox="none">
27274 \begin_layout Plain Layout
27280 <cell alignment="center" valignment="top" usebox="none">
27283 \begin_layout Plain Layout
27291 <cell alignment="left" valignment="top" usebox="none">
27294 \begin_layout Plain Layout
27300 <cell alignment="left" valignment="top" usebox="none">
27303 \begin_layout Plain Layout
27309 <cell alignment="left" valignment="top" usebox="none">
27312 \begin_layout Plain Layout
27318 <cell alignment="left" valignment="top" usebox="none">
27321 \begin_layout Plain Layout
27327 <cell alignment="center" valignment="top" usebox="none">
27330 \begin_layout Plain Layout
27336 <cell alignment="center" valignment="top" usebox="none">
27339 \begin_layout Plain Layout
27345 <cell alignment="center" valignment="top" usebox="none">
27348 \begin_layout Plain Layout
27354 <cell alignment="center" valignment="top" usebox="none">
27357 \begin_layout Plain Layout
27365 <cell alignment="left" valignment="top" usebox="none">
27368 \begin_layout Plain Layout
27374 <cell alignment="left" valignment="top" usebox="none">
27377 \begin_layout Plain Layout
27383 <cell alignment="left" valignment="top" usebox="none">
27386 \begin_layout Plain Layout
27392 <cell alignment="left" valignment="top" usebox="none">
27395 \begin_layout Plain Layout
27401 <cell alignment="center" valignment="top" usebox="none">
27404 \begin_layout Plain Layout
27410 <cell alignment="center" valignment="top" usebox="none">
27413 \begin_layout Plain Layout
27419 <cell alignment="center" valignment="top" usebox="none">
27422 \begin_layout Plain Layout
27428 <cell alignment="center" valignment="top" usebox="none">
27431 \begin_layout Plain Layout
27439 <cell alignment="left" valignment="top" usebox="none">
27442 \begin_layout Plain Layout
27448 <cell alignment="left" valignment="top" usebox="none">
27451 \begin_layout Plain Layout
27457 <cell alignment="left" valignment="top" usebox="none">
27460 \begin_layout Plain Layout
27466 <cell alignment="left" valignment="top" usebox="none">
27469 \begin_layout Plain Layout
27475 <cell alignment="center" valignment="top" usebox="none">
27478 \begin_layout Plain Layout
27484 <cell alignment="center" valignment="top" usebox="none">
27487 \begin_layout Plain Layout
27493 <cell alignment="center" valignment="top" usebox="none">
27496 \begin_layout Plain Layout
27502 <cell alignment="center" valignment="top" usebox="none">
27505 \begin_layout Plain Layout
27513 <cell alignment="left" valignment="top" usebox="none">
27516 \begin_layout Plain Layout
27522 <cell alignment="left" valignment="top" usebox="none">
27525 \begin_layout Plain Layout
27531 <cell alignment="left" valignment="top" usebox="none">
27534 \begin_layout Plain Layout
27540 <cell alignment="left" valignment="top" usebox="none">
27543 \begin_layout Plain Layout
27549 <cell alignment="center" valignment="top" usebox="none">
27552 \begin_layout Plain Layout
27558 <cell alignment="center" valignment="top" usebox="none">
27561 \begin_layout Plain Layout
27567 <cell alignment="center" valignment="top" usebox="none">
27570 \begin_layout Plain Layout
27576 <cell alignment="center" valignment="top" usebox="none">
27579 \begin_layout Plain Layout
27587 <cell alignment="left" valignment="top" usebox="none">
27590 \begin_layout Plain Layout
27596 <cell alignment="left" valignment="top" usebox="none">
27599 \begin_layout Plain Layout
27605 <cell alignment="left" valignment="top" usebox="none">
27608 \begin_layout Plain Layout
27614 <cell alignment="left" valignment="top" usebox="none">
27617 \begin_layout Plain Layout
27623 <cell alignment="center" valignment="top" usebox="none">
27626 \begin_layout Plain Layout
27632 <cell alignment="center" valignment="top" usebox="none">
27635 \begin_layout Plain Layout
27641 <cell alignment="center" valignment="top" usebox="none">
27644 \begin_layout Plain Layout
27650 <cell alignment="center" valignment="top" usebox="none">
27653 \begin_layout Plain Layout
27661 <cell alignment="left" valignment="top" usebox="none">
27664 \begin_layout Plain Layout
27670 <cell alignment="left" valignment="top" usebox="none">
27673 \begin_layout Plain Layout
27679 <cell alignment="left" valignment="top" usebox="none">
27682 \begin_layout Plain Layout
27688 <cell alignment="left" valignment="top" usebox="none">
27691 \begin_layout Plain Layout
27697 <cell alignment="center" valignment="top" usebox="none">
27700 \begin_layout Plain Layout
27706 <cell alignment="center" valignment="top" usebox="none">
27709 \begin_layout Plain Layout
27715 <cell alignment="center" valignment="top" usebox="none">
27718 \begin_layout Plain Layout
27724 <cell alignment="center" valignment="top" usebox="none">
27727 \begin_layout Plain Layout
27735 <cell alignment="center" valignment="top" usebox="none">
27738 \begin_layout Plain Layout
27744 <cell alignment="center" valignment="top" usebox="none">
27747 \begin_layout Plain Layout
27753 <cell alignment="center" valignment="top" usebox="none">
27756 \begin_layout Plain Layout
27762 <cell alignment="center" valignment="top" usebox="none">
27765 \begin_layout Plain Layout
27771 <cell alignment="center" valignment="top" usebox="none">
27774 \begin_layout Plain Layout
27780 <cell alignment="center" valignment="top" usebox="none">
27783 \begin_layout Plain Layout
27789 <cell alignment="center" valignment="top" usebox="none">
27792 \begin_layout Plain Layout
27798 <cell alignment="center" valignment="top" usebox="none">
27801 \begin_layout Plain Layout
27815 \begin_layout Chapter
27816 Nombres de colores disponibles para archivos de formato
27817 \begin_inset CommandInset label
27819 name "cap:Nombres-de-colores"
27826 \begin_layout Standard
27827 Los colores listados son los colores estándar y los que se pueden modificar
27828 en las preferencias de \SpecialChar LyX
27832 \begin_layout Description
27839 Ningún color en particular, transparente o ausente
27842 \begin_layout Description
27846 \begin_layout Description
27850 \begin_layout Description
27854 \begin_layout Description
27858 \begin_layout Description
27862 \begin_layout Description
27866 \begin_layout Description
27870 \begin_layout Description
27874 \begin_layout Description
27875 added_space Color marcador espacio añadido
27878 \begin_layout Description
27879 addedtext Color texto añadido
27882 \begin_layout Description
27883 appendix Color marcador de apéndice
27886 \begin_layout Description
27887 background Color de fondo
27890 \begin_layout Description
27891 bottomarea Color área inferior
27894 \begin_layout Description
27895 branchlabel Color etiqueta de ramas
27898 \begin_layout Description
27899 buttonbg Color fondo de botón
27902 \begin_layout Description
27903 buttonhoverbg Color fondo de botón en foco
27906 \begin_layout Description
27907 buttonframe Color para marcos de botones de recuadro
27910 \begin_layout Description
27911 changebar Color barra de cambios
27914 \begin_layout Description
27915 changedtextauthor1 Color autor 1 de texto cambiado
27918 \begin_layout Description
27919 changedtextauthor2 Color autor 2 de texto cambiado
27922 \begin_layout Description
27923 changedtextauthor3 Color autor 3 de texto cambiado
27926 \begin_layout Description
27927 changedtextauthor4 Color autor 4 de texto cambiado
27930 \begin_layout Description
27931 changedtextauthor5 Color autor 5 de texto cambiado
27934 \begin_layout Description
27935 collapsable_inset_frame Color marco de recuadro plegable
27938 \begin_layout Description
27939 collapsable_inset_text Color texto de recuadro plegable
27942 \begin_layout Description
27943 command Color texto recuadros de comando
27946 \begin_layout Description
27947 commandbg Color fondo recuadros de comando
27950 \begin_layout Description
27951 commandframe Color marco recuadros de comando
27954 \begin_layout Description
27955 comment Color comentarios
27958 \begin_layout Description
27959 commentbg Color fondo de comentarios
27962 \begin_layout Description
27963 cursor Color cursor
27966 \begin_layout Description
27967 deletedtext Color texto borrado
27970 \begin_layout Description
27971 deletedtextmodifier Color modificación de texto borrado
27974 \begin_layout Description
27975 depthbar Color barra de anidación en margen
27978 \begin_layout Description
27979 eolmarker Color marcador fin de línea
27982 \begin_layout Description
27983 error Color cuadro de error \SpecialChar LaTeX
27987 \begin_layout Description
27988 footlabel Color etiqueta de notas a pie de página
27991 \begin_layout Description
27992 graphicsbg Color fondo de recuadros de inserción de gráficos
27995 \begin_layout Description
27996 greyedout Color etiqueta de recuadros de notas grises
27999 \begin_layout Description
28000 greyedoutbg Color fondo de recuadros de notas grises
28003 \begin_layout Description
28004 greyedouttext Color texto de recuadros de notas grises
28007 \begin_layout Description
28008 indexlabel Color etiqueta de recuadros de índice
28011 \begin_layout Description
28012 ignore El color es ignorado
28015 \begin_layout Description
28016 inherit El color es heredado
28019 \begin_layout Description
28020 inlinecompletion Color autofinalización en línea
28023 \begin_layout Description
28024 insetbg Color fondo de marcador de recuadro
28027 \begin_layout Description
28028 insetframe Color marco de marcador de recuadro
28031 \begin_layout Description
28032 language Color marcador de palabras en otros idiomas
28035 \begin_layout Description
28036 latex Color texto en modo \SpecialChar LaTeX
28040 \begin_layout Description
28041 listingsbg Color fondo de recuadro listado de código
28044 \begin_layout Description
28045 marginlabel Color etiqueta de notas al margen
28048 \begin_layout Description
28049 math Color texto de recuadro de ecuación
28052 \begin_layout Description
28053 mathbg Color fondo de recuadro de ecuación
28056 \begin_layout Description
28057 mathcorners Color marco de recuadro de ecuación fuera de foco
28060 \begin_layout Description
28061 mathframe Color marco de recuadro de ecuación en foco
28064 \begin_layout Description
28065 mathline Color línea de ecuación
28068 \begin_layout Description
28069 mathmacrobg Color fondo de recuadro de macro matemática
28072 \begin_layout Description
28073 mathmacroblend Color mezclado macro matemática
28076 \begin_layout Description
28077 mathmacroframe Color marco de macro matemática
28080 \begin_layout Description
28081 mathmacrohoverbg Color fondo de recuadro de macro matemática bajo el ratón
28084 \begin_layout Description
28085 mathmacrolabel Color etiqueta macro matemática
28088 \begin_layout Description
28089 mathmacronewarg Color plantilla de macro para nuevos parámetros
28092 \begin_layout Description
28093 mathmacrooldarg Color plantilla de macro para antiguos parámetros
28096 \begin_layout Description
28097 newpage Color página nueva
28100 \begin_layout Description
28101 nonunique_inlinecompletion Color autofinalización en línea parte no única
28104 \begin_layout Description
28105 notebg Color fondo de notas
28108 \begin_layout Description
28109 notelabel Color etiqueta de notas
28112 \begin_layout Description
28113 pagebreak Color salto de página/línea
28116 \begin_layout Description
28117 paragraphmarker Color símbolo marcador de fin de párrafo
28120 \begin_layout Description
28121 phantomtext Color texto de recuadro fantasma
28124 \begin_layout Description
28125 preview Color vista preliminar
28128 \begin_layout Description
28129 previewframe Color marco vista preliminar
28132 \begin_layout Description
28133 regexpframe Color marco regexp
28136 \begin_layout Description
28137 selection Color fondo de texto seleccionado
28140 \begin_layout Description
28141 selectiontext Color de texto seleccionado
28144 \begin_layout Description
28145 shadedbg Color fondo de marco coloreado
28148 \begin_layout Description
28149 special Color texto de caracteres especiales
28152 \begin_layout Description
28153 tabularline Color línea de cuadro/tabla
28156 \begin_layout Description
28157 tabularonoffline Color línea de cuadro/tabla on/off
28160 \begin_layout Description
28161 urllabel Color etiqueta de recuadros URL
28164 \begin_layout Description
28165 urltext Color texto de recuadros URL