1 #LyX 2.4 created this file. For more info see https://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 no
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
57 \font_typewriter_osf false
58 \font_sf_scale 100 100
59 \font_tt_scale 100 100
61 \use_dash_ligatures false
63 \default_output_format pdf2
65 \bibtex_command default
66 \index_command default
70 \pdf_title "Manual Personalización de LyX"
71 \pdf_author "Equipo LyX"
72 \pdf_subject "LyX-documentation Customization"
73 \pdf_keywords "LyX, documentation, customization"
75 \pdf_bookmarksnumbered true
76 \pdf_bookmarksopen true
77 \pdf_bookmarksopenlevel 1
82 \pdf_pdfusetitle false
83 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
86 \use_package amsmath 1
87 \use_package amssymb 1
90 \use_package mathdots 1
91 \use_package mathtools 1
93 \use_package stackrel 1
94 \use_package stmaryrd 1
95 \use_package undertilde 1
97 \cite_engine_type default
101 \paperorientation portrait
107 \notefontcolor #0000ff
119 \paragraph_separation indent
120 \paragraph_indentation default
122 \math_indentation default
123 \math_numbering_side default
128 \paperpagestyle headings
130 \tracking_changes false
131 \postpone_fragile_content false
132 \output_changes false
141 Personalizar \SpecialChar LyX
142 : Características para el usuario avanzado
146 por el equipo \SpecialChar LyX
151 \begin_layout Plain Layout
153 Si tienes correcciones o comentarios, envíalos, por favor, a la lista de
154 correo de Documentación de \SpecialChar LyX
156 \begin_inset CommandInset href
158 target "lyx-docs@lists.lyx.org"
166 \begin_inset Quotes cld
170 \begin_inset Quotes crd
173 en la cabecera de asunto, y envía una cc al actual mantenedor de este documento
174 , Richard Kimberly Heck <rikiheck@lyx.org>.
180 \begin_inset Newline newline
184 \begin_inset Newline newline
190 \begin_layout Standard
191 \begin_inset CommandInset toc
192 LatexCommand tableofcontents
199 \begin_layout Chapter
203 \begin_layout Standard
204 Este manual trata de las características de \SpecialChar LyX
205 que pueden ser modificadas
207 En él abordamos temas como atajos de teclado, opciones de vista previa
208 en pantalla, opciones de impresora, envío de comandos mediante \SpecialChar LyX
210 internacionalización, instalación de nuevas clases de \SpecialChar LaTeX
214 Seguro que no podemos aspirar a tratar todo lo que se puede cambiar, —nuestross
215 desarrolladores añaden características nuevas más deprisa de lo que las
216 podemos documentar— pero explicaremos las modificaciones más comunes y
217 y esperamos orientarte en la dirección correcta para algunas más desconocidas.
220 \begin_layout Standard
221 \begin_inset Branch OutDated
225 \begin_layout Standard
226 La rama OutDated contiene información de versiones anteriores de este documento
227 que ahora parece estar obsoleta.
228 Por omisión, esta información no aparece en la salida \SpecialChar LaTeX
237 \begin_layout Chapter
238 Archivos de configuración de \SpecialChar LyX
242 \begin_layout Standard
243 Este capítulo tiene por objetivo ayudarte a encontrar tu camino a través
244 de los archivos de configuración de \SpecialChar LyX
246 Antes de seguir leyendo deberías encontrar donde están los directorios
247 de bibliotecas y de usuario, consultando
248 \begin_inset Flex Noun
251 \begin_layout Plain Layout
252 Ayuda\SpecialChar menuseparator
253 Acerca de \SpecialChar LyX
260 El directorio de bibliotecas es el sitio en el que \SpecialChar LyX
262 de configuración de sistema; el directorio de usuario es donde puedes colocar
263 tus versiones modificadas.
264 En este documento, al primero lo denominaremos
265 \begin_inset Flex Code
268 \begin_layout Plain Layout
276 \begin_inset Flex Noun
279 \begin_layout Plain Layout
288 \begin_layout Section
290 \begin_inset Flex Code
293 \begin_layout Plain Layout
303 \begin_layout Standard
304 \begin_inset Flex Code
307 \begin_layout Plain Layout
314 y sus subdirectorios contienen archivos que pueden emplearse para personalizar
315 el comportamiento de \SpecialChar LyX
317 Puedes cambiar muchos de ellos desde dentro mismo de \SpecialChar LyX
320 \begin_inset Flex Noun
323 \begin_layout Plain Layout
324 Herramientas\SpecialChar menuseparator
331 La mayor parte de las adaptaciones personales que querrás hacer en \SpecialChar LyX
333 puede hacer en este diálogo.
334 Sin embargo, muchos otros aspectos internos de \SpecialChar LyX
335 pueden cambiarse modificando
337 \begin_inset Flex Code
340 \begin_layout Plain Layout
348 Estos archivos pertenecen a diversas categorías, descritas en las siguientes
352 \begin_layout Subsection
353 Archivos generados automáticamente
356 \begin_layout Standard
357 Los archivos que se encuentran en
358 \begin_inset Flex Noun
361 \begin_layout Plain Layout
367 se generan al configurar \SpecialChar LyX
369 Contienen varios valores predeterminados que se obtienen por inspección.
370 En general, no es buena idea modificarlos, puesto que podrían ser sobrescritos
371 en cualquier momento.
374 \begin_layout Labeling
375 \labelwidthstring 00.00.0000
376 \begin_inset Flex Code
379 \begin_layout Plain Layout
385 contiene valores predeterminados para varioscomandos.
388 \begin_layout Labeling
389 \labelwidthstring 00.00.0000
390 \begin_inset Flex Code
393 \begin_layout Plain Layout
399 contiene la lista de paquetes que han sido reconocidos por \SpecialChar LyX
401 No es utilizada por el propio \SpecialChar LyX
402 , pero la información extraida, y otras cosas
404 \begin_inset Flex Noun
407 \begin_layout Plain Layout
408 Ayuda\SpecialChar menuseparator
409 Configuración de \SpecialChar LaTeX
418 \begin_layout Labeling
419 \labelwidthstring 00.00.0000
420 \begin_inset Flex Code
423 \begin_layout Plain Layout
429 la lista de clases de textos encontradas en los directorios
430 \begin_inset Flex Code
433 \begin_layout Plain Layout
439 , junto con las clases de documentos \SpecialChar LaTeX
443 \begin_layout Labeling
444 \labelwidthstring 00.00.0000
445 \begin_inset Flex Code
448 \begin_layout Plain Layout
454 la lista de módulos de formato encontradas en los directorios
455 \begin_inset Flex Code
458 \begin_layout Plain Layout
467 \begin_layout Labeling
468 \labelwidthstring 00.00.0000
469 \begin_inset Flex Code
472 \begin_layout Plain Layout
478 lista de varios tipos de archivos relacionados con \SpecialChar LaTeX
479 encontrados en el sistema.
482 \begin_layout Labeling
483 \labelwidthstring 00.00.0000
484 \begin_inset Flex Code
487 \begin_layout Plain Layout
488 doc/\SpecialChar LaTeX
494 es generado automáticamente durante la configuración a partir del archivo
496 \begin_inset Flex Code
499 \begin_layout Plain Layout
507 Contiene información sobre la configuración de \SpecialChar LaTeX
511 \begin_layout Subsection
515 \begin_layout Standard
516 Estos directorios están duplicados en
517 \begin_inset Flex Code
520 \begin_layout Plain Layout
528 \begin_inset Flex Code
531 \begin_layout Plain Layout
538 Si determinado archivo existe en ambos sitios, se usará el de
539 \begin_inset Flex Code
542 \begin_layout Plain Layout
551 \begin_layout Labeling
552 \labelwidthstring 00.00.0000
553 \begin_inset Flex Code
556 \begin_layout Plain Layout
562 este directorio contiene archivos con la extensión
563 \begin_inset Flex Code
566 \begin_layout Plain Layout
572 que definen las combinaciones de teclas usadas en \SpecialChar LyX
574 Si ahí existe una versión nacional de un archivo bind llamado
575 \begin_inset Flex Code
578 \begin_layout Plain Layout
584 , ésta se usará en primer lugar.
587 \begin_layout Labeling
588 \labelwidthstring 00.00.0000
591 \begin_inset Flex Code
594 \begin_layout Plain Layout
602 contains files with the extension
603 \begin_inset Flex Code
606 \begin_layout Plain Layout
614 which define the diverse citation possibilities (natbib, biblatex etc.).
616 \begin_inset CommandInset ref
618 reference "subsec:Cite-Engine-Files"
628 \begin_layout Labeling
629 \labelwidthstring 00.00.0000
630 \begin_inset Flex Code
633 \begin_layout Plain Layout
639 contiene archivos gráficos que pueden ser incluidos en documentos.
643 \begin_layout Labeling
644 \labelwidthstring 00.00.0000
645 \begin_inset Flex Code
648 \begin_layout Plain Layout
654 contiene archivos de documentación de \SpecialChar LyX
655 (incluido éste que estás leyendo).
657 \begin_inset Flex Code
660 \begin_layout Plain Layout
667 merece atención especial, como se mencionó antes.
668 Si existe una versión nacional del documento de ayuda en el subdirectorio
670 \begin_inset Flex Code
673 \begin_layout Plain Layout
679 , éste se usará en primer lugar.
681 \begin_inset CommandInset ref
683 reference "cap:Internacionalización-de-LyX"
690 \begin_layout Labeling
691 \labelwidthstring 00.00.0000
692 \begin_inset Flex Code
695 \begin_layout Plain Layout
701 contiene archivos de ejemplo que describen el uso de algunas características.
702 Se puede acceder a ellos con el botón
703 \begin_inset Flex Noun
706 \begin_layout Plain Layout
712 en el buscador de archivos.
715 \begin_layout Labeling
716 \labelwidthstring 00.00.0000
717 \begin_inset Flex Code
720 \begin_layout Plain Layout
726 contiene archivos de imagen que se usan en el diálogo
727 \begin_inset Flex Noun
730 \begin_layout Plain Layout
731 Documento\SpecialChar menuseparator
738 Contiene además los iconos de las barras de herramientas y las enseñas
740 mostradas en su inicio.
743 \begin_layout Labeling
744 \labelwidthstring 00.00.0000
745 \begin_inset Flex Code
748 \begin_layout Plain Layout
754 contiene archivos de mapas de teclado.
756 \begin_inset CommandInset ref
758 reference "sec:keymap"
765 \begin_layout Labeling
766 \labelwidthstring 00.00.0000
767 \begin_inset Flex Code
770 \begin_layout Plain Layout
776 contiene las clases de textos y los archivos de los módulos descritos en
778 \begin_inset CommandInset ref
780 reference "cap:Instalación-de-nuevas"
787 \begin_layout Labeling
788 \labelwidthstring 00.00.0000
789 \begin_inset Flex Code
792 \begin_layout Plain Layout
798 contiene los guiones de Python
799 \begin_inset Flex Code
802 \begin_layout Plain Layout
808 para convertir entre versiones de \SpecialChar LyX
810 Pueden ejecutarse en línea de comandos si, digamos, quieres convertir ficheros
814 \begin_layout Labeling
815 \labelwidthstring 00.00.0000
816 \begin_inset Flex Code
819 \begin_layout Plain Layout
825 contiene algunos archivos que demuestran las capacidades de la característica
827 \begin_inset Flex Noun
830 \begin_layout Plain Layout
837 También contiene algunos guiones usados por el propio \SpecialChar LyX
841 \begin_layout Labeling
842 \labelwidthstring 00.00.0000
843 \begin_inset Flex Code
846 \begin_layout Plain Layout
852 contiene los archivos de plantillas estándar de \SpecialChar LyX
854 \begin_inset CommandInset ref
856 reference "subsec:Creación-de-plantillas"
863 \begin_layout Labeling
864 \labelwidthstring 00.00.0000
865 \begin_inset Flex Code
868 \begin_layout Plain Layout
874 contiene archivos con la extensión
875 \begin_inset Flex Code
878 \begin_layout Plain Layout
884 que definen la interfaz de usuario de \SpecialChar LyX
886 Esto es, archivos que definen qué ítems aparecen en qué menús y barras
892 \begin_layout Labeling
893 \labelwidthstring 00.00.0000
896 \begin_inset Flex Code
899 \begin_layout Plain Layout
907 contains files with the extension
908 \begin_inset Flex Code
911 \begin_layout Plain Layout
919 which define the templates for the insertion of external material to a
924 \begin_inset CommandInset ref
926 reference "cap:Inserción-de-material"
938 \begin_layout Subsection
939 Archivos que no necesitan modificaciones
942 \begin_layout Standard
943 Estos archivos son utilizados internamente por \SpecialChar LyX
944 y generalmente no deben
945 ser modificados sino por los desarrolladores.
948 \begin_layout Labeling
949 \labelwidthstring 00.00.0000
950 \begin_inset Flex Code
953 \begin_layout Plain Layout
959 contiene la lista de desarrolladores de \SpecialChar LyX
961 Se muestra con el menú
962 \begin_inset Flex Noun
965 \begin_layout Plain Layout
966 Ayuda\SpecialChar menuseparator
967 Acerca de \SpecialChar LyX
976 \begin_layout Labeling
977 \labelwidthstring 00.00.0000
978 \begin_inset Flex Code
981 \begin_layout Plain Layout
987 es un guión de \SpecialChar LaTeX
988 usado durante el proceso de configuración.
989 No lo ejecutes directamente.
992 \begin_layout Labeling
993 \labelwidthstring 00.00.0000
994 \begin_inset Flex Code
997 \begin_layout Plain Layout
1003 es el guión utilizado para la reconfiguración de \SpecialChar LyX
1005 Genera los archivos de configuración en el directorio desde el que se ha
1009 \begin_layout Subsection
1010 Otros archivos en un par de líneas
1013 \begin_layout Labeling
1014 \labelwidthstring 00.00.0000
1015 \begin_inset Flex Code
1018 \begin_layout Plain Layout
1024 contiene tablas que describen cómo los distintos códigos de caracteres
1025 se transcriben a Unicode.
1028 \begin_layout Labeling
1029 \labelwidthstring 00.00.0000
1030 \begin_inset Flex Code
1033 \begin_layout Plain Layout
1039 contiene una lista de los idiomas actualmente soportados por \SpecialChar LyX
1043 \begin_layout Labeling
1044 \labelwidthstring 00.00.0000
1045 \begin_inset Flex Code
1048 \begin_layout Plain Layout
1054 contiene información sobre tipografías soportadas.
1057 \begin_layout Labeling
1058 \labelwidthstring 00.00.0000
1059 \begin_inset Flex Code
1062 \begin_layout Plain Layout
1068 contiene traducciones para entornos de párrafo (véase
1069 \begin_inset CommandInset ref
1071 reference "subsec:I18n"
1078 \begin_layout Labeling
1079 \labelwidthstring 00.00.0000
1080 \begin_inset Flex Code
1083 \begin_layout Plain Layout
1089 contiene información sobre glifos unicode y su soporte por \SpecialChar LyX
1090 vía \SpecialChar LaTeX
1094 \begin_layout Section
1095 Directorio de configuración personal
1098 \begin_layout Standard
1099 Aunque uses \SpecialChar LyX
1100 como usuario sin privilegios, puedes adaptar su configuración
1103 \begin_inset Flex Code
1106 \begin_layout Plain Layout
1112 contiene todos los archivos de configuración personal.
1113 Es el directorio especificado como
1114 \begin_inset Quotes cld
1117 Directorio del usuario
1118 \begin_inset Quotes crd
1122 \begin_inset Flex Noun
1125 \begin_layout Plain Layout
1126 Ayuda\SpecialChar menuseparator
1127 Acerca de \SpecialChar LyX
1134 Este directorio se usa como espejo de
1135 \begin_inset Flex Code
1138 \begin_layout Plain Layout
1145 , que quiere decir que cada archivo en
1146 \begin_inset Flex Code
1149 \begin_layout Plain Layout
1155 es un equivalente del correspondiente archivo en
1156 \begin_inset Flex Code
1159 \begin_layout Plain Layout
1167 Cualquiera de los archivos de configuración descritos en las secciones
1168 anteriores puede estar en el directorio global del sistema, en cuyo caso
1169 afectará a todos los usuarios, y en tu directorio local para tu propio
1173 \begin_layout Standard
1174 Para clarificar las cosas vamos a poner unos ejemplos:
1177 \begin_layout Itemize
1178 Las preferencias establecidas en el diálogo
1179 \begin_inset Flex Noun
1182 \begin_layout Plain Layout
1183 Herramientas\SpecialChar menuseparator
1189 se guardan en un archivo
1190 \begin_inset Flex Code
1193 \begin_layout Plain Layout
1200 \begin_inset Flex Code
1203 \begin_layout Plain Layout
1212 \begin_layout Itemize
1213 Si reconfiguras mediante
1214 \begin_inset Flex Noun
1217 \begin_layout Plain Layout
1218 Herramientas\SpecialChar menuseparator
1226 \begin_inset Newline linebreak
1230 \begin_inset Flex Code
1233 \begin_layout Plain Layout
1239 , y los archivos resultantes se escriben en tu directorio de usuario.
1240 Esto significa que cualquier archivo adicional de clase de texto que pudieras
1242 \begin_inset Flex Code
1245 \begin_layout Plain Layout
1251 se sumará a la lista de clases en el diálogo
1252 \begin_inset Flex Noun
1255 \begin_layout Plain Layout
1256 Documento\SpecialChar menuseparator
1265 \begin_layout Itemize
1266 Si consigues alguna documentación actualizada del sitio de \SpecialChar LyX
1268 instalarla porque no tienes permisos para administrar tu sistema, solo
1269 has de copiar los archivos en
1270 \begin_inset Flex Code
1273 \begin_layout Plain Layout
1279 ¡y las entradas del menú
1280 \begin_inset Flex Noun
1283 \begin_layout Plain Layout
1292 \begin_layout Section
1293 Ejecutar \SpecialChar LyX
1294 con múltiples configuraciones
1297 \begin_layout Standard
1298 La libertad de configuración del directorio local puede no ser suficiente
1299 si quieres tener a tu disposición más de una configuración.
1300 Por ejemplo, si quisieras usar diferentes combinaciones de teclas o configuraci
1301 ones de impresora en distintos momentos.
1302 Esto lo puedes conseguir teniendo varios de estos directorios.
1303 Después especificas qué directorio usar al arrancar.
1306 \begin_layout Standard
1307 Ejecutando \SpecialChar LyX
1308 con la opción de línea de comandos
1309 \begin_inset Flex Code
1312 \begin_layout Plain Layout
1322 hace que el programa lea la configuración de ese directorio y no del predetermi
1324 (Puedes determinar el directorio predeterminado ejecutando \SpecialChar LyX
1327 \begin_inset Flex Code
1330 \begin_layout Plain Layout
1337 Si el directorio especificado no existe, \SpecialChar LyX
1338 propone su creación, tal como
1339 hace con el directorio predeterminado la primera vez que se ejecuta el
1341 Puedes modificar las opciones de configuración en ese directorio personal
1342 adicional exactamente igual que para el directorio predeterminado.
1343 Estos directorios son completamente independientes (pero sigue leyendo).
1344 Ten presente que establecer algún valor para la variable de entorno
1345 \begin_inset Flex Code
1348 \begin_layout Plain Layout
1354 tiene exactamente el mismo efecto.
1357 \begin_layout Standard
1358 Tener varias configuraciones también requiere más mantenimiento: si quieres
1359 añadir un nuevo formato a
1360 \begin_inset Flex Code
1363 \begin_layout Plain Layout
1369 que esté disponible en todas tus configuraciones, debes añadirlo a cada
1370 directorio por separado.
1371 Puedes evitarlo con el siguiente truco: después de que \SpecialChar LyX
1373 adicional, la mayoría de los subdirectorios (véase arriba) están vacíos.
1374 Si quieres que la nueva configuración sea una réplica de una existente,
1375 reemplaza el subdirectorio vacío con un enlace simbólico que apunte al
1376 subdirectorio deseado.
1377 Ten precaución, no obstante, con el subdirectorio
1378 \begin_inset Flex Code
1381 \begin_layout Plain Layout
1387 , puesto que contiene un archivo escrito por el guión de configuración (también
1389 \begin_inset Flex Noun
1392 \begin_layout Plain Layout
1393 Herramientas\SpecialChar menuseparator
1399 ) que es específico de la configuración.
1402 \begin_layout Chapter
1403 El diálogo Preferencias
1406 \begin_layout Standard
1407 Todas las opciones del diálogo de preferencias se describen en el apéndice
1421 Ahí encontrarás más detalles sobre algunas opciones.
1424 \begin_layout Section
1426 \begin_inset CommandInset label
1435 \begin_layout Standard
1436 El primer paso es definir tus propios formatos de archivo si no lo están
1438 Para hacerlo abre el diálogo
1439 \begin_inset Flex Noun
1442 \begin_layout Plain Layout
1443 Herramientas\SpecialChar menuseparator
1451 \begin_inset Flex Noun
1454 \begin_layout Plain Layout
1455 Gestión de archivos\SpecialChar menuseparator
1462 \begin_inset Flex Noun
1465 \begin_layout Plain Layout
1466 Nuevo\SpecialChar ldots
1472 para definir el nuevo formato.
1474 \begin_inset Flex Noun
1477 \begin_layout Plain Layout
1483 es para el nombre que identificará el formato en la GUI (interfaz gráfica
1486 \begin_inset Flex Noun
1489 \begin_layout Plain Layout
1495 se usa para identificar el formato internamente.
1496 Además deberás introducir una extensión de archivo.
1497 Todos estos son imprescindibles.
1499 \begin_inset Flex Noun
1502 \begin_layout Plain Layout
1508 sirve para asociar una combinación de teclas en los menús.
1509 (Por ejemplo, teclear
1510 \begin_inset Flex Noun
1513 \begin_layout Plain Layout
1520 \begin_inset Flex Noun
1523 \begin_layout Plain Layout
1526 Documento\SpecialChar menuseparator
1529 \SpecialChar menuseparator
1537 \begin_inset Flex Noun
1540 \begin_layout Plain Layout
1549 \begin_layout Standard
1550 Un Formato puede tener un
1551 \begin_inset Flex Noun
1554 \begin_layout Plain Layout
1561 \begin_inset Flex Noun
1564 \begin_layout Plain Layout
1571 Por ejemplo, podrías usar
1572 \begin_inset Flex Noun
1575 \begin_layout Plain Layout
1581 para ver archivos PostScript.
1582 Puedes introducir el comando para iniciar el programa en el campo correspondien
1584 Al definir este comando puedes usar las cuatro variables listadas en la
1586 El visor se lanza cuando ves una imagen en \SpecialChar LyX
1588 \begin_inset Flex Noun
1591 \begin_layout Plain Layout
1594 Documento\SpecialChar menuseparator
1601 El editor se lanza cuando pulsas el botón
1602 \begin_inset Flex Noun
1605 \begin_layout Plain Layout
1611 que se muestra al hacer clic derecho en un gráfico o en un material externo,
1615 \begin_layout Standard
1617 \begin_inset Flex Noun
1620 \begin_layout Plain Layout
1626 de un formato es opcional, pero si se especifica, debe ser único para todos
1628 Se usa para detectar archivos de ese formato de los contenidos de archivo.
1629 Para algunos formatos de archivo importantes no hay tipo MIME oficialmente
1631 \begin_inset CommandInset href
1634 target "http://www.iana.org/assignments/media-types/"
1640 Por tanto \SpecialChar LyX
1641 usa la lista extensa de tipos MIME especificada por
1642 \begin_inset CommandInset href
1644 name "freedesktop.org"
1645 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1653 \begin_layout Standard
1655 \begin_inset Flex Noun
1658 \begin_layout Plain Layout
1659 Formato de documento
1664 indica a \SpecialChar LyX
1665 que ese formato es adecuado para exportar.
1666 Si esto está marcado y existe una ruta de conversión adecuada (véase
1667 \begin_inset CommandInset ref
1669 reference "sec:Convertidores"
1673 ), el formato aparecerá en el menú
1674 \begin_inset Flex Noun
1677 \begin_layout Plain Layout
1678 Archivo\SpecialChar menuseparator
1685 También aparecerá en el menú
1686 \begin_inset Flex Noun
1689 \begin_layout Plain Layout
1692 Documento\SpecialChar menuseparator
1698 si se ha especificado un visor para ese formato.
1699 Los formatos puros de imagen, como
1700 \begin_inset Flex Code
1703 \begin_layout Plain Layout
1709 , no deberían usar esta opción.
1710 Los formatos que pueden corresponder tanto a gráficos vectoriales como
1712 \begin_inset Flex Code
1715 \begin_layout Plain Layout
1721 , sí deberían usarla.
1724 \begin_layout Standard
1726 \begin_inset Flex Noun
1729 \begin_layout Plain Layout
1730 Formato de gráfico vectorial
1735 indica a \SpecialChar LyX
1736 que el formato puede contener gráficos vectoriales.
1737 Esta información se emplea para determinar el formato objetivo de los gráficos
1738 incluidos para la exportación
1739 \begin_inset Flex Noun
1742 \begin_layout Plain Layout
1749 Los gráficos incluidos pueden requerir conversión a
1750 \begin_inset Flex Noun
1753 \begin_layout Plain Layout
1760 \begin_inset Flex Noun
1763 \begin_layout Plain Layout
1770 \begin_inset Flex Noun
1773 \begin_layout Plain Layout
1780 \begin_inset Flex Noun
1783 \begin_layout Plain Layout
1789 no puede manejar otros formatos de imagen.
1790 Si un archivo incluido no está ya en formato
1791 \begin_inset Flex Noun
1794 \begin_layout Plain Layout
1801 \begin_inset Flex Noun
1804 \begin_layout Plain Layout
1811 \begin_inset Flex Noun
1814 \begin_layout Plain Layout
1821 \begin_inset Flex Noun
1824 \begin_layout Plain Layout
1830 si la opción de formato vectorial está marcada, y si no a
1831 \begin_inset Flex Noun
1834 \begin_layout Plain Layout
1844 \begin_layout Section
1848 \begin_layout Standard
1849 Puesto que todas las conversiones de un formato a otro tienen lugar en el
1850 archivo temporal de \SpecialChar LyX
1851 , a veces es necesario modificar un archivo antes de
1852 copiarlo en el directorio temporal para que la conversión se pueda realizar.
1856 \begin_layout Plain Layout
1857 Por ejemplo, el archivo puede hacer referencia a otros archivos —imágenes,
1858 por ejemplo— mediante nombres de archivo relativos, y estos pueden resultar
1859 inválidos cuando el archivo se copia en el directorio temporal.
1864 Esto lo hace un Copiador: copia un archivo a (o desde) el directorio temporal
1865 y puede modificarlo en el proceso.
1868 \begin_layout Standard
1869 Las definiciones de los copiadores pueden usar ocho variables:
1872 \begin_layout Labeling
1873 \labelwidthstring 00.00.0000
1874 \begin_inset Flex Code
1877 \begin_layout Plain Layout
1883 El directorio de sistema de \SpecialChar LyX
1885 \begin_inset space \thinspace{}
1889 \begin_inset space \space{}
1893 \begin_inset Flex Noun
1896 \begin_layout Plain Layout
1905 \begin_layout Labeling
1906 \labelwidthstring 00.00.0000
1907 \begin_inset Flex Code
1910 \begin_layout Plain Layout
1916 El archivo de entrada
1919 \begin_layout Labeling
1920 \labelwidthstring 00.00.0000
1921 \begin_inset Flex Code
1924 \begin_layout Plain Layout
1930 El archivo de salida
1933 \begin_layout Labeling
1934 \labelwidthstring 00.00.0000
1935 \begin_inset Flex Code
1938 \begin_layout Plain Layout
1944 Nombre base (sin extensión) en el directorio temporal de \SpecialChar LyX
1948 \begin_layout Labeling
1949 \labelwidthstring 00.00.0000
1950 \begin_inset Flex Code
1953 \begin_layout Plain Layout
1959 Ruta completa al directorio temporal de \SpecialChar LyX
1963 \begin_layout Labeling
1964 \labelwidthstring 00.00.0000
1965 \begin_inset Flex Code
1968 \begin_layout Plain Layout
1974 Ruta completa al archivo original \SpecialChar LyX
1978 \begin_layout Labeling
1979 \labelwidthstring 00.00.0000
1980 \begin_inset Flex Code
1983 \begin_layout Plain Layout
1989 Nombre del archivo \SpecialChar LyX
1990 (sin ruta de directorio)
1993 \begin_layout Labeling
1994 \labelwidthstring 00.00.0000
1995 \begin_inset Flex Code
1998 \begin_layout Plain Layout
2004 El `nombre \SpecialChar LaTeX
2008 \begin_layout Standard
2009 El último debería ser el nombre de archivo tal como debería ponerse en un
2010 comando \SpecialChar LaTeX
2018 Solo es pertinente cuando se exportan archivos adecuados para esa inclusión.
2021 \begin_layout Standard
2022 Los copiadores pueden emplearse para hacer casi cualquier cosa con archivos
2024 Por ejemplo, supongamos que quieres copiar archivos
2025 \begin_inset Flex Noun
2028 \begin_layout Plain Layout
2034 generados a un directorio especial,
2035 \begin_inset Flex Code
2038 \begin_layout Plain Layout
2045 En ese caso deberías escribir un guión para intérprete de comandos tal
2049 \begin_layout Standard
2050 \begin_inset listings
2054 \begin_layout Plain Layout
2059 \begin_layout Plain Layout
2064 \begin_layout Plain Layout
2066 TOFILE=`basename $2`
2069 \begin_layout Plain Layout
2071 cp $FROMFILE /home/you/pdf/$TOFILE
2076 Guárdalo en tu directorio local, —
2077 \begin_inset Flex Code
2080 \begin_layout Plain Layout
2081 /home/you/.lyx/scripts/pdfcopier.sh
2086 , supongamos— y hazlo ejecutable si ello es necesario en tu sistema.
2087 Después, en el diálogo
2088 \begin_inset Flex Noun
2091 \begin_layout Plain Layout
2092 Herramientas\SpecialChar menuseparator
2099 \begin_inset Flex Noun
2102 \begin_layout Plain Layout
2103 Gestión de archivos\SpecialChar menuseparator
2109 , selecciona el formato
2110 \begin_inset Flex Noun
2113 \begin_layout Plain Layout
2119 —u otro de los formatos pdf— e introduce
2120 \begin_inset Flex Code
2123 \begin_layout Plain Layout
2124 pdfcopier.sh $$i $$o
2130 \begin_inset Flex Noun
2133 \begin_layout Plain Layout
2142 \begin_layout Standard
2144 usa los copiadores en varias de sus propias conversiones.
2145 Por ejemplo, si se encuentran los programas apropiados, \SpecialChar LyX
2146 instalará copiadores
2148 \begin_inset Flex Noun
2151 \begin_layout Plain Layout
2158 \begin_inset Flex Noun
2161 \begin_layout Plain Layout
2163 \begin_inset space ~
2172 Cuando se exporta a estos formatos, el copiador se encarga de que se copien
2173 no solo el archivo HTML principal, sino también los diversos archivos asociados
2174 (estilos, imágenes, etc).
2175 Todos estos archivos se escriben en un subdirectorio del directorio en
2176 el que se encuentre el archivo original de \SpecialChar LyX
2181 \begin_layout Plain Layout
2182 Este copiador puede adaptarse.
2183 El argumento opcional
2184 \begin_inset Quotes cld
2188 \begin_inset Quotes crd
2191 acepta una lista, separada por comas, con las extensiones que deben copiarse;
2192 si se omite se copiarán todos los archivos.
2194 \begin_inset Quotes cld
2198 \begin_inset Quotes crd
2201 determina la extensión añadida al directorio generado.
2203 \begin_inset Quotes cld
2207 \begin_inset Flex Noun
2210 \begin_layout Plain Layout
2218 \begin_inset Quotes crd
2221 , así, el HTML generado a partir de
2222 \begin_inset Flex Noun
2225 \begin_layout Plain Layout
2232 \begin_inset Flex Noun
2235 \begin_layout Plain Layout
2236 /ruta/a/archivo.html.\SpecialChar LyX
2250 \begin_layout Section
2252 \begin_inset CommandInset label
2254 name "sec:Convertidores"
2261 \begin_layout Standard
2262 Puedes definir tus propios convertidores para convertir archivos entre distintos
2264 Se hace en el diálogo
2265 \begin_inset Flex Noun
2268 \begin_layout Plain Layout
2269 Herramientas\SpecialChar menuseparator
2270 Preferencias\SpecialChar menuseparator
2271 Gestión de archivos\SpecialChar menuseparator
2280 \begin_layout Standard
2281 Para definir un nuevo convertidor de un formato a otro, selecciónalos en
2282 las listas desplegables
2283 \begin_inset Flex Noun
2286 \begin_layout Plain Layout
2288 \begin_inset space ~
2297 \begin_inset Flex Noun
2300 \begin_layout Plain Layout
2302 \begin_inset space ~
2310 , introduce el comando necesario para la conversión y después pulsa el botón
2312 \begin_inset Flex Noun
2315 \begin_layout Plain Layout
2322 En la definición de convertidores se pueden usar distintas variables:
2325 \begin_layout Labeling
2326 \labelwidthstring 00.00.0000
2327 \begin_inset Flex Code
2330 \begin_layout Plain Layout
2336 El directorio de sistema de \SpecialChar LyX
2340 \begin_layout Labeling
2341 \labelwidthstring 00.00.0000
2342 \begin_inset Flex Code
2345 \begin_layout Plain Layout
2351 El archivo de entrada
2354 \begin_layout Labeling
2355 \labelwidthstring 00.00.0000
2356 \begin_inset Flex Code
2359 \begin_layout Plain Layout
2365 El archivo de salida
2368 \begin_layout Labeling
2369 \labelwidthstring 00.00.0000
2370 \begin_inset Flex Code
2373 \begin_layout Plain Layout
2379 El nombre del archivo base del archivo de entrada (sin la extensión)
2382 \begin_layout Labeling
2383 \labelwidthstring 00.00.0000
2384 \begin_inset Flex Code
2387 \begin_layout Plain Layout
2393 La ruta al archivo de entrada
2396 \begin_layout Labeling
2397 \labelwidthstring 00.00.0000
2398 \begin_inset Flex Code
2401 \begin_layout Plain Layout
2407 La ruta al archivo de entrada original (esto es diferente de $$p cuando
2408 se invoca una cadena de convertidores).
2411 \begin_layout Labeling
2412 \labelwidthstring 00.00.0000
2413 \begin_inset Flex Code
2416 \begin_layout Plain Layout
2422 El nombre iconv para la codificación del documento.
2425 \begin_layout Standard
2427 \begin_inset Flex Noun
2430 \begin_layout Plain Layout
2436 puedes introducir los siguientes, separados por comas:
2439 \begin_layout Labeling
2440 \labelwidthstring 00.00.0000
2441 \begin_inset Flex Code
2444 \begin_layout Plain Layout
2450 Este convertidor ejecuta alguna forma de \SpecialChar LaTeX
2452 Hará estar disponibles los registros de errores \SpecialChar LaTeX
2457 \begin_layout Labeling
2458 \labelwidthstring 00.00.0000
2459 \begin_inset Flex Code
2462 \begin_layout Plain Layout
2468 Necesita el archivo \SpecialChar LaTeX
2470 \begin_inset Flex Noun
2473 \begin_layout Plain Layout
2482 \begin_layout Labeling
2483 \labelwidthstring 00.00.0000
2484 \begin_inset Flex Code
2487 \begin_layout Plain Layout
2494 \begin_inset Quotes cld
2498 \begin_inset Quotes crd
2501 archivo del trastero, que en la práctica quiere decir un archivo \SpecialChar LaTeX
2503 el que queremos exportar, sin
2504 \begin_inset Flex Code
2507 \begin_layout Plain Layout
2516 \begin_layout Labeling
2517 \labelwidthstring 00.00.0000
2518 \begin_inset Flex Code
2521 \begin_layout Plain Layout
2530 \begin_layout Standard
2531 Las tres siguientes no son realmente indicadores porque aceptan un argumento
2533 \begin_inset Flex Noun
2536 \begin_layout Plain Layout
2538 \begin_inset space ~
2542 \begin_inset space ~
2553 \begin_layout Labeling
2554 \labelwidthstring 00.00.0000
2555 \begin_inset Flex Code
2558 \begin_layout Plain Layout
2564 Si se pone, el error estándar del convertidor se redirecciona a un archivo
2566 \begin_inset Flex Code
2569 \begin_layout Plain Layout
2575 , y el guión dado como argumento se ejecutará como:
2576 \begin_inset Flex Code
2579 \begin_layout Plain Layout
2580 script <infile.out >infile.log
2586 El argumento puede contener
2587 \begin_inset Flex Code
2590 \begin_layout Plain Layout
2599 \begin_layout Labeling
2600 \labelwidthstring 00.00.0000
2601 \begin_inset Flex Code
2604 \begin_layout Plain Layout
2610 El nombre del directorio en el que el convertidor descargará los archivos
2613 no creará ese directorio y no copia nada en él, aunque copiará este directorio
2615 El argumento puede contener
2616 \begin_inset Flex Code
2619 \begin_layout Plain Layout
2625 , que será reemplazado por el nombre base de los archivos de entrada y de
2626 salida, respectivamente, cuando se copia el directorio.
2627 \begin_inset Newline newline
2630 Ten en cuenta que resultdir y usetempdir no tienen sentido juntos.
2631 El último será ignorado si se da el primero.
2634 \begin_layout Labeling
2635 \labelwidthstring 00.00.0000
2636 \begin_inset Flex Code
2639 \begin_layout Plain Layout
2645 Determina el nombre del archivo de salida y puede contener
2646 \begin_inset Flex Code
2649 \begin_layout Plain Layout
2656 Solo es sensible con
2657 \begin_inset Flex Code
2660 \begin_layout Plain Layout
2666 y además es opcional; si no se da, por omisión es `index'.
2669 \begin_layout Standard
2670 Ninguno de estos tres últimos se usan actualmente en ninguno de los convertidore
2671 s que son instalados por \SpecialChar LyX
2675 \begin_layout Standard
2676 No tienes que definir convertidores entre todos los formatos que quieras
2678 Por ejemplo, observarás que no hay convertidor `\SpecialChar LyX
2679 a PostScript', sin embargo
2681 exporta a PostScript.
2682 Lo hace creando primero un archivo \SpecialChar LaTeX
2683 (no es necesario un convertidor para
2684 esto), que luego es convertido a DVI mediante el convertidor `\SpecialChar LaTeX
2686 y por último convierte el archivo DVI resultante a PostScript.
2688 encuentra automáticamente estas 'cadenas' de convertidores y siempre escogerá
2689 la cadena más corta posible.
2690 Sin embargo, aún puedes definir múltiples métodos de conversión entre formatos.
2691 Por ejemplo, la configuración estándar de \SpecialChar LyX
2692 provee cinco caminos para convertir
2697 \begin_layout Enumerate
2698 directamente, usando
2699 \begin_inset Flex Noun
2702 \begin_layout Plain Layout
2711 \begin_layout Enumerate
2712 mediante (DVI y) PostScript, usando
2713 \begin_inset Flex Noun
2716 \begin_layout Plain Layout
2725 \begin_layout Enumerate
2726 mediante DVI, usando
2727 \begin_inset Flex Noun
2730 \begin_layout Plain Layout
2739 \begin_layout Enumerate
2740 directamente, usando
2741 \begin_inset Flex Noun
2744 \begin_layout Plain Layout
2754 \begin_layout Enumerate
2755 directamente, usando
2756 \begin_inset Flex Noun
2759 \begin_layout Plain Layout
2769 \begin_layout Standard
2770 Para construir estas cadenas alternativas tienes que definir múltiples 'formatos
2771 de archivo' objetivo, como se describe en la sección
2772 \begin_inset space ~
2776 \begin_inset CommandInset ref
2778 reference "sec:Formatos"
2783 Por ejemplo, en la configuración estándar, se definen los formatos llamados
2785 \begin_inset Flex Noun
2788 \begin_layout Plain Layout
2795 \begin_inset Flex Noun
2798 \begin_layout Plain Layout
2805 \begin_inset Flex Noun
2808 \begin_layout Plain Layout
2815 \begin_inset Flex Noun
2818 \begin_layout Plain Layout
2825 \begin_inset Flex Noun
2828 \begin_layout Plain Layout
2835 \begin_inset Flex Noun
2838 \begin_layout Plain Layout
2845 \begin_inset Flex Noun
2848 \begin_layout Plain Layout
2855 \begin_inset Flex Noun
2858 \begin_layout Plain Layout
2866 \begin_inset Flex Noun
2869 \begin_layout Plain Layout
2876 \begin_inset Flex Noun
2879 \begin_layout Plain Layout
2886 ), todos ellos compartiendo la extensión
2887 \begin_inset Flex Noun
2890 \begin_layout Plain Layout
2896 , y que corresponden a los métodos de conversión antes mencionados.
2899 \begin_layout Chapter
2900 Internacionalización de \SpecialChar LyX
2902 \begin_inset CommandInset label
2904 name "cap:Internacionalización-de-LyX"
2911 \begin_layout Standard
2913 soporta el uso de una interfaz traducida.
2914 La última vez que lo comprobamos, \SpecialChar LyX
2915 suministraba textos en treinta idiomas.
2916 El idioma elegido se denomina
2921 (Para lecciones adicionales sobre configuración de idiomas, véase también
2923 \begin_inset Quotes cld
2927 \begin_inset Quotes crd
2930 del sistema operativo.
2931 En Linux, la página de manual de
2932 \begin_inset Flex Code
2935 \begin_layout Plain Layout
2941 es un buen punto de partida).
2945 \begin_layout Standard
2946 Hay que advertir que estas traducciones funcionarán pero tienen algunos
2948 En particular, todos los diálogos se han diseñado con el inglés en mente,
2949 lo que significa que algún texto traducido podría ser demasiado largo para
2950 ajustarse al espacio asignado.
2951 Esto solo es un problema de presentación en pantalla y no causará ningún
2953 Además, encontrarás que algunas traducciones no definen atajos de teclado
2955 A veces, simplemente no hay letras libres suficientes para ello.
2956 Otras veces, el traductor todavía no lo ha completado.
2957 Nuestro equipo de traducción, al que podrías unirte si quieres,
2961 \begin_layout Plain Layout
2962 Si usas con fluidez un idioma distinto del inglés, ¡unirse a estos equipos
2963 es una estupenda forma de corresponder a la comunidad \SpecialChar LyX
2969 intentará, por supuesto, corregir estas deficiencias en futuras versiones
2974 \begin_layout Section
2975 Traducción de \SpecialChar LyX
2979 \begin_layout Subsection
2980 Traducción de la interfaz gráfica de usuario (mensajes de texto)
2983 \begin_layout Standard
2985 utiliza la biblioteca GNU
2986 \begin_inset Flex Code
2989 \begin_layout Plain Layout
2995 para manejar la internacionalización de la interfaz.
2996 Para que \SpecialChar LyX
2997 hable tu idioma preferido en todos los menús y diálogos es necesario
2999 \begin_inset Flex Code
3002 \begin_layout Plain Layout
3009 Si está disponible, tendrás que generar a partir de él un archivo
3010 \begin_inset Flex Code
3013 \begin_layout Plain Layout
3020 El procedimiento para hacer todo esto se explica en la documentación de
3022 \begin_inset Flex Code
3025 \begin_layout Plain Layout
3032 Puedes hacer esto solo para ti, pero también podrías compartir el resultado
3033 de tu trabajo con el resto de la comunidad \SpecialChar LyX
3035 Envía un mensaje a la lista de desarrolladores de \SpecialChar LyX
3036 para más información
3037 sobre cómo proceder.
3040 \begin_layout Standard
3041 En resumen, esto es lo que deberías hacer (xx indica el código del idioma):
3044 \begin_layout Itemize
3045 Inspecciona el código fuente de \SpecialChar LyX
3048 \begin_inset CommandInset href
3050 name "información en la web"
3051 target "https://www.lyx.org/HowToUseGIT"
3059 \begin_layout Itemize
3061 \begin_inset Flex Code
3064 \begin_layout Plain Layout
3070 a la carpeta de los archivos
3071 \begin_inset Flex Code
3074 \begin_layout Plain Layout
3081 Después lo renombras como
3082 \begin_inset Flex Code
3085 \begin_layout Plain Layout
3093 \begin_inset Flex Code
3096 \begin_layout Plain Layout
3102 no está por ningún sitio, puede rehacerse con el comando de consola
3103 \begin_inset Flex Code
3106 \begin_layout Plain Layout
3112 en ese directorio, o puedes usar como muestra un archivo
3113 \begin_inset Flex Code
3116 \begin_layout Plain Layout
3122 de algún otro idioma).
3125 \begin_layout Itemize
3127 \begin_inset Flex Code
3130 \begin_layout Plain Layout
3140 \begin_layout Plain Layout
3141 Es un archivo de texto, se puede editar en cualquier editor de texto.
3142 Pero hay programas especializados para editar estos archivos, como
3146 (para todas las plataformas) o
3155 tiene un `modo' para editar archivos
3156 \begin_inset Flex Code
3159 \begin_layout Plain Layout
3166 \begin_inset Flex URL
3169 \begin_layout Plain Layout
3171 https://www.gnu.org/software/gettext/manual/html_node/PO-Mode.html#PO-Mode
3181 Para algunos nombres de menú y otros artilugios hay además atajos de teclado
3182 que deberían traducirse.
3183 Dichas teclas se marcan con una `|' delante, y deberían traducirse de acuerdo
3184 con las palabras y frases del idioma.
3185 Además tendrías que rellenar la información al principio del nuevo archivo
3187 \begin_inset Flex Code
3190 \begin_layout Plain Layout
3196 , correo electrónico, etc., para que la gente sepa dónde enviarte sugerencias
3197 o divertidas diatribas.
3200 \begin_layout Standard
3201 Si estás haciendo esto solo para ti, entonces:
3204 \begin_layout Itemize
3206 \begin_inset Flex Code
3209 \begin_layout Plain Layout
3217 \begin_inset Flex Code
3220 \begin_layout Plain Layout
3221 msgfmt -o xx.mo < xx.po
3229 \begin_layout Itemize
3231 \begin_inset Flex Code
3234 \begin_layout Plain Layout
3240 a tu directorio local, en la carpeta apropiada para los mensajes de las
3241 aplicaciones en el idioma xx, con el nombre
3242 \begin_inset Flex Code
3245 \begin_layout Plain Layout
3252 \begin_inset space \thinspace{}
3256 \begin_inset space \space{}
3260 \begin_inset Flex Code
3263 \begin_layout Plain Layout
3264 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3274 \begin_layout Standard
3275 Sin embargo, ya se ha dicho, lo mejor sería poder añadir el nuevo archivo
3277 \begin_inset Flex Code
3280 \begin_layout Plain Layout
3286 a la distribución de \SpecialChar LyX
3287 , para que otros puedan usarlo.
3288 Esto requiere hacer cambios en \SpecialChar LyX
3289 , así que envía un correo a la lista de
3290 desarrolladores si estás interesado en hacerlo.
3293 \begin_layout Subsubsection
3297 \begin_layout Standard
3298 A veces resulta que un mensaje en inglés tiene diversas traducciones en
3300 Un ejemplo es la palabra
3301 \begin_inset Flex Code
3304 \begin_layout Plain Layout
3310 , que en alemán se puede traducir por Nach o Bis, según el sentido exacto
3312 \begin_inset Quotes cld
3316 \begin_inset Quotes crd
3321 \begin_inset Flex Code
3324 \begin_layout Plain Layout
3330 no maneja tales traducciones ambiguas.
3331 Por lo tanto, debes añadir alguna información contextual al mensaje: en
3333 \begin_inset Flex Code
3336 \begin_layout Plain Layout
3343 \begin_inset Flex Code
3346 \begin_layout Plain Layout
3347 To[[as in 'From format x to format y']]
3353 \begin_inset Flex Code
3356 \begin_layout Plain Layout
3357 To[[as in 'From page x to page y']]
3363 Ahora las dos apariciones de
3364 \begin_inset Flex Code
3367 \begin_layout Plain Layout
3374 \begin_inset Flex Code
3377 \begin_layout Plain Layout
3383 y pueden traducirse correctamente por Nach y Bis, respectivamente.
3386 \begin_layout Standard
3387 Por supuesto que la información contextual debe eliminarse del mensaje original
3388 si no se usa en la traducción.
3389 Por eso hay que ponerla entre dobles corchetes al final del mensaje (véase
3391 El mecanismo de traducción de \SpecialChar LyX
3392 asegura que todo lo que va entre corchetes
3393 al final de los mensajes se quita antes de mostrarlos.
3396 \begin_layout Subsection
3397 Traducción de la documentación
3400 \begin_layout Standard
3401 La documentación en línea (menú
3404 \begin_inset Flex Noun
3407 \begin_layout Plain Layout
3421 ) puede (¡debería!) traducirse.
3422 Si hay versiones traducidas de la documentación disponible
3426 \begin_layout Plain Layout
3427 Hasta marzo de 2008, al menos algunos de los documentos han sido traducidos
3428 a catorce idiomas, y el Tutorial está disponible en algunos más.
3434 \begin_inset Flex Code
3437 \begin_layout Plain Layout
3443 está adecuadamente configurado, \SpecialChar LyX
3445 \begin_inset Quotes cld
3449 \begin_inset Quotes crd
3454 busca las traducciones en
3457 \begin_inset Flex Code
3460 \begin_layout Plain Layout
3479 es el código para el idioma en uso actualmente.
3480 Si no hay versión traducida se presentará por omisión la versión inglesa
3482 Ten en cuenta que las versiones traducidas deben tener los mismos nombres
3487 de antes) que el original.
3488 Si te animas a traducir documentación (¡de paso, una excelente manera de
3489 leerla atentamente!), hay algunas cosas que deberías tener en cuenta:
3492 \begin_layout Itemize
3493 Consulta la web de traducción de la documentación en
3494 \begin_inset CommandInset href
3496 name "https://www.lyx.org/Translation"
3497 target "https://www.lyx.org/Translation"
3503 Así podrás comprobar el estado actual de traducción de documentos a tu
3505 También si hay alguien que esté coordinando la traducción a tu idioma.
3506 Si no hay nadie comunícanos, por favor, si estás interesado en ello.
3509 \begin_layout Standard
3510 Una vez que te has decidido a empezar, he aquí algunos consejos que te pueden
3511 ahorrar inconvenientes:
3514 \begin_layout Itemize
3515 ¡Únete al equipo de documentación! En
3518 \begin_inset Flex Noun
3521 \begin_layout Plain Layout
3522 Ayuda\SpecialChar menuseparator
3532 , que por cierto, es el primer documento que se debería traducir, hay informació
3533 n sobre cómo hacerlo.
3536 \begin_layout Itemize
3537 Infórmate sobre las normas tipográficas de tu idioma.
3538 La tipografía es un antiguo arte que ha desarrollado durante siglos una
3539 gran variedad de convenciones en diversas partes del mundo.
3540 Estudia también la terminología profesional de los tipógrafos en tu país.
3541 Inventar tu propia terminología sólo provocará confusión.
3544 (¡Cuidado! La tipografía es adictiva!)
3547 \begin_layout Itemize
3548 Haz una copia del documento para trabajar sobre ella.
3549 Puedes guardarla como archivo personal de traducción en tu directorio
3556 \begin_layout Itemize
3557 De vez en cuando el documento original (del equipo \SpecialChar LyX
3559 Usa el visor de fuentes en
3560 \begin_inset CommandInset href
3562 name "https://www.lyx.org/trac/timeline"
3563 target "https://www.lyx.org/trac/timeline"
3568 para ver los cambios realizados.
3569 De esta manera puedes ver fácilmente qué partes del documento traducido
3570 necesitan actualizarse.
3573 \begin_layout Standard
3574 Si encuentras un error en el documento original, ¡corríjelo y notifica los
3575 cambios al equipo de documentación! (¿No te has olvidado de contactar con
3576 el equipo de documentación, verdad?)
3579 \begin_layout Standard
3580 \begin_inset Branch OutDated
3584 \begin_layout Section
3585 International Keyboard Support
3588 \begin_layout Standard
3591 [Editor's Note: The following section is by
3599 It needs to be fixed to conform to the new Documentation Style sheet and
3600 to make use of the new v1.0 features.
3601 The whole thing also needs to be merged with the section following it.-jw
3602 It may also be badly out of date.-rh (2008)]
3605 \begin_layout Subsection
3606 Defining Own Keymaps: Keymap File Format
3609 \begin_layout Standard
3610 Let's look at a keyboard definition file a little closer.
3611 It is a plain text file defining
3614 \begin_layout Itemize
3615 key-to-key or key-to-string translations
3618 \begin_layout Itemize
3622 \begin_layout Itemize
3623 dead keys exceptions
3626 \begin_layout Standard
3627 To define key-to-key or key-to-string translation, use this command:
3630 \begin_layout Quotation
3631 \begin_inset Flex Code
3634 \begin_layout Plain Layout
3643 \begin_inset Flex Code
3646 \begin_layout Plain Layout
3655 \begin_layout Standard
3657 \begin_inset Flex Code
3660 \begin_layout Plain Layout
3666 is the key to be translated and
3667 \begin_inset Flex Code
3670 \begin_layout Plain Layout
3676 is the string to be inserted into the document.
3677 To define dead keys, use:
3680 \begin_layout Quotation
3681 \begin_inset Flex Code
3684 \begin_layout Plain Layout
3693 \begin_inset Flex Code
3696 \begin_layout Plain Layout
3705 \begin_layout Standard
3707 \begin_inset Flex Code
3710 \begin_layout Plain Layout
3716 is a keyboard key and
3717 \begin_inset Flex Code
3720 \begin_layout Plain Layout
3727 The following dead keys are supported (shortcut name is in parentheses):
3730 \begin_layout Quotation
3734 \begin_inset space \hfill{}
3740 \begin_layout Quotation
3742 \begin_inset space \hfill{}
3748 \begin_layout Quotation
3750 \begin_inset space \hfill{}
3756 \begin_layout Quotation
3758 \begin_inset space \hfill{}
3764 \begin_layout Quotation
3766 \begin_inset space \hfill{}
3772 \begin_layout Quotation
3774 \begin_inset space \hfill{}
3781 \begin_layout Plain Layout
3793 \begin_layout Quotation
3795 \begin_inset space \hfill{}
3801 \begin_layout Quotation
3803 \begin_inset space \hfill{}
3810 \begin_layout Plain Layout
3822 \begin_layout Quotation
3824 \begin_inset space \hfill{}
3830 \begin_layout Quotation
3832 \begin_inset space \hfill{}
3838 \begin_layout Quotation
3840 \begin_inset space \hfill{}
3847 \begin_layout Plain Layout
3859 \begin_layout Quotation
3861 \begin_inset space \hfill{}
3868 \begin_layout Plain Layout
3880 \begin_layout Quotation
3882 \begin_inset space \hfill{}
3888 \begin_layout Quotation
3889 hungarian umlaut (hug)
3890 \begin_inset space \hfill{}
3896 \begin_layout Quotation
3898 \begin_inset space \hfill{}
3904 \begin_layout Quotation
3906 \begin_inset space \hfill{}
3913 \begin_layout Plain Layout
3925 \begin_layout Standard
3926 Since in many international keyboards there are exceptions to what some
3927 dead keys should do, you can define them using
3930 \begin_layout Quotation
3931 \begin_inset Flex Code
3934 \begin_layout Plain Layout
3942 deadkey key outstring
3945 \begin_layout Standard
3946 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
3950 \begin_layout Quotation
3951 \begin_inset Flex Code
3954 \begin_layout Plain Layout
3967 \begin_layout Standard
3968 to make it work correctly.
3969 Also, you have to define as exceptions dead keys over i and j, to remove
3970 the dot from them before inserting an accent mark.
3971 I will change this when the time comes, but so far I haven't had time.
3974 \begin_layout Standard
3975 Oh, and about characters: backslash is escaped, so to enter it, you'll need
3978 \begin_inset Flex Code
3981 \begin_layout Plain Layout
3987 have different meaning.
3989 \begin_inset Flex Code
3992 \begin_layout Plain Layout
3998 marks comments, quotes start and end \SpecialChar LaTeX
4000 To enter quote, you'll need to use
4001 \begin_inset Flex Code
4004 \begin_layout Plain Layout
4013 \begin_inset Flex Code
4016 \begin_layout Plain Layout
4023 \begin_inset Flex Code
4026 \begin_layout Plain Layout
4037 \begin_layout Standard
4038 If you make a keyboard description file that works for your language, please
4039 mail it to me, so I can include it in the next keymap distribution.
4042 \begin_layout Standard
4043 More keywords will be supported in keymap configuration file in future,
4047 \begin_layout Itemize
4048 \begin_inset Flex Code
4051 \begin_layout Plain Layout
4062 \begin_inset space \hfill{}
4066 \begin_inset Flex Code
4069 \begin_layout Plain Layout
4078 \begin_layout Itemize
4079 \begin_inset Flex Code
4082 \begin_layout Plain Layout
4093 \begin_inset space \hfill{}
4097 \begin_inset Flex Code
4100 \begin_layout Plain Layout
4106 an external keymap translation program
4109 \begin_layout Standard
4110 Also, it should look into
4111 \begin_inset Flex Code
4114 \begin_layout Plain Layout
4120 file for defaults, too (for example, a
4121 \begin_inset Flex Code
4124 \begin_layout Plain Layout
4132 option to include default keyboard).
4140 \begin_layout Section
4141 \begin_inset CommandInset label
4147 Cosas sobre teclados internacionales
4150 \begin_layout Standard
4151 \begin_inset Note Note
4154 \begin_layout Plain Layout
4155 Al revisar este documento en marzo de 2008, no examiné este asunto porque
4157 Sería bueno que alguien pudiera hacerlo.
4166 \begin_layout Standard
4167 Las dos secciones siguientes describen con detalle la sintaxis de los archivos
4169 \begin_inset Flex Code
4172 \begin_layout Plain Layout
4181 \begin_inset Flex Code
4184 \begin_layout Plain Layout
4193 Deberían servir de ayuda para diseñar tus propios mapas de teclado si los
4194 suministrados no satisfacen tus necesidades.
4197 \begin_layout Subsection
4201 \begin_layout Standard
4203 \begin_inset Flex Code
4206 \begin_layout Plain Layout
4212 asocia pulsaciones de teclas con caracteres o secuencias de ellos.
4213 Como sugiere el nombre, sirve para trazar un mapa del teclado.
4214 En esta sección se describen las palabras clave
4215 \begin_inset Flex Code
4218 \begin_layout Plain Layout
4227 \begin_inset Flex Code
4230 \begin_layout Plain Layout
4239 \begin_inset Flex Code
4242 \begin_layout Plain Layout
4251 \begin_inset Flex Code
4254 \begin_layout Plain Layout
4263 \begin_inset Flex Code
4266 \begin_layout Plain Layout
4275 \begin_layout Labeling
4276 \labelwidthstring 00.00.0000
4277 \begin_inset Flex Code
4280 \begin_layout Plain Layout
4288 Asocia un carácter a una cadena
4291 \begin_layout LyX-Code
4306 \begin_layout Standard
4320 , la doble comilla (") y la barra invertida (
4322 ) deben escaparse con una barra (
4327 \begin_layout Standard
4328 Un ejemplo de una declaración de
4329 \begin_inset Flex Noun
4332 \begin_layout Plain Layout
4340 para hacer que el símbolo
4341 \begin_inset Flex Noun
4344 \begin_layout Plain Layout
4352 sea generado por la tecla
4353 \begin_inset Flex Noun
4356 \begin_layout Plain Layout
4367 \begin_layout LyX-Code
4373 \begin_layout Labeling
4374 \labelwidthstring 00.00.0000
4375 \begin_inset Flex Code
4378 \begin_layout Plain Layout
4386 Especifica un carácter acentuado
4389 \begin_layout LyX-Code
4398 \begin_layout Standard
4399 Esto hará que el carácter
4407 sobre el(los) carácter(es) permitido(s)
4412 Este es el mecanismo de tecla muerta
4416 \begin_layout Plain Layout
4426 se refiere a una tecla que no genera ningún carácter por sí mismo, pero
4427 seguida de otra tecla genera el carácter acentuado deseado.
4428 Por ejemplo, un caráter con diéresis, ü, se genera de esta manera.
4437 \begin_layout Standard
4442 y después una tecla que no está entre las permitidas (
4446 ), en la salida obtendrás el carácter
4450 seguido por el otro carácter, el no permitido.
4451 Hay que tener en cuenta que
4452 \begin_inset Flex Noun
4455 \begin_layout Plain Layout
4463 cancela una tecla muerta, de modo que si pulsas
4468 \begin_inset Flex Noun
4471 \begin_layout Plain Layout
4479 , el cursor no retrocede una posición sino que anula el efecto que
4483 hubiera tenido sobre la siguiente pulsación.
4486 \begin_layout Standard
4487 En el ejemplo siguiente, el carácter ' va a generar un acento agudo permitido
4488 sobre los caracteres a, e, i, o, u, A, E, I, O, U:
4491 \begin_layout LyX-Code
4494 kmod ' acute aeiouAEIOU
4497 \begin_layout Labeling
4498 \labelwidthstring 00.00.0000
4499 \begin_inset Flex Code
4502 \begin_layout Plain Layout
4508 Especifica una excepción para el carácter acentuado
4511 \begin_layout LyX-Code
4520 \begin_layout Standard
4521 Define una excepción para el
4534 debe haber sido asignado a una pulsación con una declaración previa de
4536 \begin_inset Flex Code
4539 \begin_layout Plain Layout
4555 no debe estar en el conjunto
4564 Si tecleas la secuencia
4573 Si dicha declaración no existe en el archivo
4574 \begin_inset Flex Code
4577 \begin_layout Plain Layout
4597 es el primer argumento de la declaración
4598 \begin_inset Flex Code
4601 \begin_layout Plain Layout
4614 \begin_layout Standard
4615 El comando siguiente generará äi cuando teclees agudo-i ('i):
4618 \begin_layout LyX-Code
4632 \begin_layout Labeling
4633 \labelwidthstring 00.00.0000
4634 \begin_inset Flex Code
4637 \begin_layout Plain Layout
4643 Combina dos caracteres acentos
4646 \begin_layout LyX-Code
4652 accent1 accent2 allowed
4655 \begin_layout Standard
4656 Esto es bastante esotérico.
4657 Permite combinar el efecto de
4665 (¡en ese orden!) sobre los caracteres permitidos
4678 deben haber sido declaradas con un comando
4679 \begin_inset Flex Code
4682 \begin_layout Plain Layout
4700 \begin_layout Standard
4701 Considera este ejemplo del archivo
4702 \begin_inset Flex Code
4705 \begin_layout Plain Layout
4716 \begin_layout LyX-Code
4719 kmod ; acute aeioyvhAEIOYVH
4723 kcomb acute umlaut iyIY
4726 \begin_layout Standard
4728 \begin_inset Flex Noun
4731 \begin_layout Plain Layout
4739 y obtener el efecto de
4740 \begin_inset Flex Code
4743 \begin_layout Plain Layout
4756 En este caso un retroceso cancela la última tecla muerta, así que si tecleas
4758 \begin_inset Flex Noun
4761 \begin_layout Plain Layout
4770 \begin_inset Flex Code
4773 \begin_layout Plain Layout
4786 \begin_layout Subsection
4790 \begin_layout Standard
4791 Después de realizados el mapa
4792 \begin_inset Flex Code
4795 \begin_layout Plain Layout
4804 \begin_inset Flex Code
4807 \begin_layout Plain Layout
4817 traza el mapa de las cadenas que los símbolos generan para los caracteres
4818 en la tipografía actual.
4819 La distribución de \SpecialChar LyX
4820 actualmente incluye al menos los archivos
4821 \begin_inset Flex Code
4824 \begin_layout Plain Layout
4833 \begin_inset Flex Code
4836 \begin_layout Plain Layout
4847 \begin_layout Standard
4848 En general el archivo
4849 \begin_inset Flex Code
4852 \begin_layout Plain Layout
4860 es una secuencia de declaraciones de la forma:
4863 \begin_layout LyX-Code
4876 \begin_layout Standard
4877 Por ejemplo, para asociar
4878 \begin_inset Flex Noun
4881 \begin_layout Plain Layout
4891 al correspondiente carácter en el conjunto iso-8859-1 (233), se usa:
4894 \begin_layout LyX-Code
4902 \begin_layout Standard
4904 \begin_inset Flex Code
4907 \begin_layout Plain Layout
4916 \begin_inset Flex Code
4919 \begin_layout Plain Layout
4930 Anotar que el mismo carácter puede aplicarse a más de una cadena.
4932 \begin_inset Flex Code
4935 \begin_layout Plain Layout
4946 \begin_layout LyX-Code
4958 \begin_inset Newline newline
4974 \begin_layout Standard
4976 no puede encontrar una declaración para la cadena por una tecla o una
4977 secuencia con tecla muerta, intentará si aparece como un carácter acentuado
4978 y probará a dibujar un acento sobre el carácter en la pantalla.
4981 \begin_layout Subsection
4985 \begin_layout Standard
4986 Hay una segunda manera de añadir soporte para caracteres internacionales
4987 mediante las denominadas teclas muertas.
4988 Una tecla muerta trabaja en combinación con una letra para generar un carácter
4990 Aquí explicaremos como crear una sencillísima tecla muerta para ilustrar
4994 \begin_layout Standard
4995 Supongamos que necesitas el carácter circunflejo
4996 \begin_inset Quotes cld
5000 \begin_inset Quotes crd
5004 Podrías asociar la tecla
5005 \begin_inset Flex Noun
5008 \begin_layout Plain Layout
5015 \begin_inset Flex Noun
5018 \begin_layout Plain Layout
5024 ) al comando \SpecialChar LyX
5026 \begin_inset Flex Code
5029 \begin_layout Plain Layout
5036 \begin_inset Flex Code
5039 \begin_layout Plain Layout
5046 Ahora, cuando pulses la tecla
5047 \begin_inset Flex Noun
5050 \begin_layout Plain Layout
5056 seguida de una letra, obtendrás esa letra con circunflejo sobre ella.
5057 Por ejemplo, la secuencia
5058 \begin_inset Quotes cld
5062 \begin_inset Flex Noun
5065 \begin_layout Plain Layout
5072 \begin_inset Quotes crd
5076 \begin_inset Quotes cld
5080 \begin_inset Quotes crd
5085 \begin_inset Quotes cld
5089 \begin_inset Flex Code
5092 \begin_layout Plain Layout
5099 \begin_inset Quotes crd
5102 , sin embargo, \SpecialChar LyX
5103 no imprime nada puesto que
5104 \begin_inset Flex Noun
5107 \begin_layout Plain Layout
5113 nunca lleva un circunflejo.
5115 \begin_inset Flex Noun
5118 \begin_layout Plain Layout
5124 tras una tecla muerta imprime el acento solo.
5125 ¡Advierte este último punto! Si asocias una tecla a una tecla muerta necesitará
5126 s reasociar el carácter de esa tecla a otra tecla.
5128 \begin_inset Flex Noun
5131 \begin_layout Plain Layout
5137 a una cedilla es una mala idea, puesto que solo obtendrás cedillas en lugar
5141 \begin_layout Standard
5142 Una forma habitual de asociar teclas muertas es usar
5143 \begin_inset Flex Noun
5146 \begin_layout Plain Layout
5153 \begin_inset Flex Noun
5156 \begin_layout Plain Layout
5163 \begin_inset Flex Noun
5166 \begin_layout Plain Layout
5172 en combinación con un acento, como
5173 \begin_inset Quotes cld
5177 \begin_inset Flex Noun
5180 \begin_layout Plain Layout
5187 \begin_inset Quotes crd
5191 \begin_inset Quotes cld
5195 \begin_inset Flex Noun
5198 \begin_layout Plain Layout
5205 \begin_inset Quotes crd
5209 \begin_inset Quotes cld
5213 \begin_inset Flex Noun
5216 \begin_layout Plain Layout
5223 \begin_inset Quotes crd
5227 Otra forma incluye el uso de
5228 \begin_inset Flex Code
5231 \begin_layout Plain Layout
5238 \begin_inset Flex Code
5241 \begin_layout Plain Layout
5247 para configurar la tecla especial
5248 \begin_inset Flex Code
5251 \begin_layout Plain Layout
5258 Esta tecla actúa de alguna forma como
5259 \begin_inset Flex Noun
5262 \begin_layout Plain Layout
5268 y permite teclas a caracteres acentuados.
5269 También puedes transformar teclas en muertas asociándolas a algo como
5270 \begin_inset Flex Code
5273 \begin_layout Plain Layout
5279 y después asociando esta tecla simbólica al correspondiente comando \SpecialChar LyX
5284 \begin_layout Plain Layout
5289 : Esto es exactamente lo que hago en mis archivos
5290 \begin_inset Flex Code
5293 \begin_layout Plain Layout
5300 \begin_inset Flex Code
5303 \begin_layout Plain Layout
5311 \begin_inset Flex Noun
5314 \begin_layout Plain Layout
5316 \begin_inset space ~
5325 \begin_inset Flex Code
5328 \begin_layout Plain Layout
5334 y unas cuantas de estas teclas simbólicas
5335 \begin_inset Quotes cld
5339 \begin_inset Flex Code
5342 \begin_layout Plain Layout
5349 \begin_inset Quotes crd
5352 asociadas a cosas como
5353 \begin_inset Flex Noun
5356 \begin_layout Plain Layout
5358 \begin_inset space ~
5367 \begin_inset Flex Noun
5370 \begin_layout Plain Layout
5372 \begin_inset space ~
5381 Así es como genero mis caracteres acentuados.
5386 Puedes hacer casi cualquier cosa con la tecla
5387 \begin_inset Flex Code
5390 \begin_layout Plain Layout
5397 \begin_inset Flex Noun
5400 \begin_layout Plain Layout
5406 , una tecla de función de reserva, etc.
5407 En cuanto a los comandos \SpecialChar LyX
5408 que generan acentos, consulta la entrada para
5410 \begin_inset Flex Code
5413 \begin_layout Plain Layout
5424 Ahí encontrarás la lista completa.
5427 \begin_layout Subsection
5428 Guardar la configuración de idioma
5431 \begin_layout Standard
5432 Puedes editar tus preferencias para que el entorno de idioma adecuado sea
5433 automáticamente configurado al iniciar \SpecialChar LyX
5435 \begin_inset Flex Noun
5438 \begin_layout Plain Layout
5439 Herramientas\SpecialChar menuseparator
5448 \begin_layout Chapter
5449 Instalación de nuevas clases de documento, formatos y plantillas
5450 \begin_inset CommandInset label
5452 name "cap:Instalación-de-nuevas"
5457 \begin_inset Argument 1
5460 \begin_layout Plain Layout
5461 Instalación de clases, formatos \SpecialChar ldots
5470 \begin_layout Standard
5471 En este capítulo describimos los procedimientos para crear e instalar nuevos
5472 archivos de plantillas y formatos de \SpecialChar LyX
5473 , así como repasar la instalación
5474 correcta de nuevas clases de documentos \SpecialChar LaTeX
5478 \begin_layout Standard
5479 En primer lugar, permite que digamos algo sobre la relación entre \SpecialChar LyX
5480 y \SpecialChar LaTeX
5482 Lo que hay que entender es que, en cierto sentido, \SpecialChar LyX
5483 no sabe nada de \SpecialChar LaTeX
5485 Desde el punto de vista de \SpecialChar LyX
5486 , \SpecialChar LaTeX
5487 solo es uno más de los varios
5488 \begin_inset Quotes cld
5492 \begin_inset Quotes crd
5495 en los que es capaz de generar salida.
5496 Otros son DocBook, texto sencillo y XHTML.
5498 es, por supuesto, un formato particularmente importante, pero muy poca
5499 de la información que \SpecialChar LyX
5500 tiene sobre \SpecialChar LaTeX
5501 está realmente contenida en el propio
5506 \begin_layout Plain Layout
5507 Algunos comandos son lo bastante complejos como para ser incluidos en el
5508 código de \SpecialChar LyX
5510 Pero en general los desarrolladores consideran esto una mala cosa.
5516 Esa información, incluso para las clases estándar como
5520 , está almacenada en 'archivos de formato (
5525 De igual manera \SpecialChar LyX
5526 no sabe gran cosa sobre DocBook o XHTML.
5527 Esa información está en los archivos de formato.
5530 \begin_layout Standard
5531 El archivo de formato para una determinada clase de documento se puede considera
5532 r como un manual de instrucciones para traducir las estructuras de \SpecialChar LyX
5534 y sus estilos, ciertos tipos de recuadros, etc.— a las estructuras correspondien
5535 tes de \SpecialChar LaTeX
5537 Por ejemplo, casi todo lo que \SpecialChar LyX
5539 \begin_inset Flex Code
5542 \begin_layout Plain Layout
5548 está contenido en el archivo
5549 \begin_inset Flex Code
5552 \begin_layout Plain Layout
5558 y en otros archivos incluidos en este.
5559 Por esta razón, quien intente escribir archivos de formato debería empezar
5560 por estudiar los archivos existentes.
5561 Un buen sitio para empezar es
5562 \begin_inset Flex Code
5565 \begin_layout Plain Layout
5571 , que está incluido en
5572 \begin_inset Flex Code
5575 \begin_layout Plain Layout
5582 \begin_inset Flex Code
5585 \begin_layout Plain Layout
5591 y muchos otros archivos de formato para clases de documento.
5592 En este archivo se definen las secciones y demás:
5593 \begin_inset Flex Code
5596 \begin_layout Plain Layout
5602 indica a \SpecialChar LyX
5603 como traducir los párrafos con estilos como Sección, Subsección,
5604 etc., a los comandos y etiquetas correspondientes en \SpecialChar LaTeX
5607 \begin_inset Flex Code
5610 \begin_layout Plain Layout
5616 solo incluye, básicamente, varios de estos archivos
5617 \begin_inset Flex Code
5620 \begin_layout Plain Layout
5629 \begin_layout Standard
5630 Pero definir la correspondencia \SpecialChar LyX
5632 no es lo único que hacen los archivos
5634 Su otra tarea es definir cómo aparecerán en pantalla las estructuras de
5637 El hecho de que los archivos de formato tengan estas dos tareas es a veces
5638 fuente de confusión, porque son totalmente independientes.
5639 Indicar a \SpecialChar LyX
5640 cómo traducir cierto estilo de párrafo a \SpecialChar LaTeX
5641 no le dice cómo mostrarlo
5642 en pantalla; a la inversa, indicar cómo mostrar en pantalla un estilo de
5643 párrafo no tiene nada que ver con su traducción a \SpecialChar LaTeX
5644 (solo permite indicar
5645 a \SpecialChar LaTeX
5647 Así pues, en general, cuando defines una nueva construcción en \SpecialChar LyX
5649 tienes que hacer dos cosas: 1) indicar la traducción a \SpecialChar LaTeX
5651 presentación en pantalla.
5654 \begin_layout Standard
5655 Gran parte de lo dicho es cierto, también, en relación con otros formatos
5656 de salida, aunque XHTML es un poco diferente porque en este caso \SpecialChar LyX
5661 , en cierta medida, de usar la información de la presentación de un párrafo
5662 en pantalla para generar la presentación (en forma de CSS) del párrafo
5664 Incluso en este caso, no obstante, la distinción entre lo que hace \SpecialChar LyX
5666 e y la forma en que las cosas se muestran externamente sigue en vigor, y
5667 ambas se pueden controlar separadamente.
5669 \begin_inset CommandInset ref
5671 reference "sec:Etiquetas-para-XHTML"
5678 \begin_layout Section
5679 Instalación de nuevos archivos \SpecialChar LaTeX
5683 \begin_layout Standard
5684 Algunas instalaciones quizá no incluyan un paquete \SpecialChar LaTeX
5685 que te gustaría usar
5688 Por ejemplo, podrías necesitar Foil\SpecialChar TeX
5689 , un paquete para preparar transparencias
5690 o diapositivas para proyectores.
5691 Las modernas distribuciones de \SpecialChar LaTeX
5692 como \SpecialChar TeX
5693 Live (2008 o posterior) o MiK\SpecialChar TeX
5695 una interfaz de usuario para eso.
5696 Por ejemplo, en MiK\SpecialChar TeX
5698 \begin_inset Quotes cld
5701 Administrador de paquetes
5702 \begin_inset Quotes crd
5705 para obtener una lista de los disponibles.
5706 Para instalar uno, haz clic derecho sobre él o usa el botón de la herramienta
5710 \begin_layout Standard
5711 Si tu distribución \SpecialChar LaTeX
5713 \begin_inset Quotes cld
5716 administrador de paquetes
5717 \begin_inset Quotes crd
5720 , o si el paquete no está disponible en ella, sigue los siguientes pasos
5721 para instalarlo manualmente:
5724 \begin_layout Enumerate
5725 Consigue el paquete de
5726 \begin_inset CommandInset href
5729 target "http://www.ctan.org/"
5737 \begin_layout Enumerate
5738 Si el paquete contiene un archivo con la extensión
5739 \begin_inset Quotes cld
5743 \begin_inset Flex Code
5746 \begin_layout Plain Layout
5753 \begin_inset Quotes crd
5756 (es el caso de Foil\SpecialChar TeX
5757 ) abre una consola, cambia a la carpeta del archivo
5758 y ejecuta el comando
5759 \begin_inset Flex Code
5762 \begin_layout Plain Layout
5769 Así desempaquetamos y disponemos de todos los archivos para instalar.
5770 La mayoría de paquetes \SpecialChar LaTeX
5771 no están empaquetados y podemos saltar este paso.
5774 \begin_layout Enumerate
5775 Tienes que decidir si el paquete estará disponible para todos los usuarios
5780 \begin_layout Enumerate
5781 En sistemas *nix (Linux, OSX, etc.), si el paquete va estar disponible para
5782 todos los usuarios del sistema, hay que instalarlo en el árbol 'local'
5784 , de lo contrario instálalo en tu directorio \SpecialChar TeX
5786 La ubicación de estos árboles, si no existen ya, depende del sistema.
5787 Para encontrarlos mira en el archivo
5788 \begin_inset Flex Code
5791 \begin_layout Plain Layout
5801 \begin_layout Plain Layout
5802 Usualmente es el directorio
5806 , aunque se puede ejecutar el comando
5807 \begin_inset Flex Code
5810 \begin_layout Plain Layout
5821 La ubicación del árbol `local' de \SpecialChar TeX
5822 está definida por la variable
5823 \begin_inset Flex Code
5826 \begin_layout Plain Layout
5832 ; generalmente algo como
5834 /usr/local/share/texmf/
5836 o /usr/local/texlive/XXXX donde XXXX es el año de la distribución \SpecialChar TeX
5839 La ubicación del árbol `user' de \SpecialChar TeX
5841 \begin_inset Flex Code
5844 \begin_layout Plain Layout
5855 \begin_inset Flex Code
5858 \begin_layout Plain Layout
5867 (Si estas variables no están predefinidas, debes hacerlo.) Probablemente
5868 necesites permiso de administrador para crear o modificar el árbol `local',
5869 pero no para el árbol `user'.
5870 \begin_inset Newline newline
5873 En general, es recomendable instalar en el árbol `user' porque no será modificad
5874 o o sobrescrito al actualizar el sistema.
5875 Además, se guardará copia de él cuando hagas copia de seguridad de tu directori
5876 o `home' (que debe ser lo habitual).
5879 \begin_layout Enumerate
5880 En Windows, para que el nuevo paquete esté disponible a todos los usuarios,
5881 cambia a la carpeta donde está instalado \SpecialChar LaTeX
5890 , (En MiK\SpecialChar TeX
5904 ) crea una nueva carpeta
5905 \begin_inset Flex Code
5908 \begin_layout Plain Layout
5914 y copia en ella todos los archivos del paquete.
5915 Para hacer el paquete disponible solo a un usuario o si no dispones de
5916 permisos, haz lo mismo pero en el directorio de \SpecialChar LaTeX
5918 \begin_inset space \thinspace{}
5921 ej., en MiK\SpecialChar TeX
5923 \begin_inset space ~
5927 \begin_inset Newline newline
5934 Documents and Settings
5941 \begin_inset Newline newline
5945 \begin_inset Phantom HPhantom
5948 \begin_layout Plain Layout
5966 \begin_inset Newline newline
5970 \begin_inset Newline newline
5998 \begin_layout Enumerate
5999 Ahora hay que decir a \SpecialChar LaTeX
6000 que hay archivos nuevos.
6001 Esto depende de la distribución de \SpecialChar LaTeX
6006 \begin_layout Enumerate
6007 Para \SpecialChar TeX
6008 Live ejecuta el comando
6009 \begin_inset Flex Code
6012 \begin_layout Plain Layout
6019 Si el paquete se instaló para todos los usuarios harán falta permisos de
6023 \begin_layout Enumerate
6024 Para MiK\SpecialChar TeX
6025 , si el paquete se instaló para todos los usuarios, inicia el programa
6027 \begin_inset Quotes eld
6031 \begin_inset space ~
6035 \begin_inset Quotes erd
6039 \begin_inset Quotes eld
6043 \begin_inset Quotes erd
6047 Si no, inicia el programa
6048 \begin_inset Quotes eld
6052 \begin_inset Quotes erd
6059 \begin_layout Enumerate
6060 Finalmente, hay que decir a \SpecialChar LyX
6061 que hay nuevos paquetes disponibles.
6063 \begin_inset Flex Noun
6066 \begin_layout Plain Layout
6067 Herramientas\SpecialChar menuseparator
6073 y reinicia \SpecialChar LyX
6077 \begin_layout Standard
6078 Ya está instalado el paquete.
6079 En nuestro ejemplo, la clase de documento
6080 \begin_inset Flex Code
6083 \begin_layout Plain Layout
6085 \begin_inset space ~
6093 estará ahora disponible en
6094 \begin_inset Flex Noun
6097 \begin_layout Plain Layout
6098 Documento\SpecialChar menuseparator
6099 Configuración\SpecialChar menuseparator
6101 \begin_inset space ~
6105 \begin_inset space ~
6117 \begin_layout Standard
6118 Si quieres usar una clase de documento \SpecialChar LaTeX
6119 que no aparece listada en
6120 \begin_inset Flex Noun
6123 \begin_layout Plain Layout
6124 Documento\SpecialChar menuseparator
6125 Configuración\SpecialChar menuseparator
6127 \begin_inset space ~
6131 \begin_inset space ~
6139 , debes crear un archivo de formato (`layout') para ella.
6140 Este es el tema de la sección siguiente.
6143 \begin_layout Section
6144 Tipos de archivos de formato
6147 \begin_layout Standard
6148 Esta sección describe los diversos tipos de arhivos de \SpecialChar LyX
6149 que contienen informació
6152 \begin_inset Flex Code
6155 \begin_layout Plain Layout
6161 describen estilos de párrafo y de carácter, y determinan cómo los debería
6162 presentar \SpecialChar LyX
6163 y cómo deberían traducirse a \SpecialChar LaTeX
6164 , DocBook, XHTML o cualquier otro
6165 formato de salida que se vaya a usar.
6169 \begin_layout Standard
6170 Intentaremos aquí dar una minuciosa descripción del proceso; sin embargo,
6171 hay tantos tipos diferentes de documentos soportados por clases de \SpecialChar LaTeX
6173 no podemos aspirar a tratar todas las distintas posibilidades o problemas
6174 que puedas encontrar.
6175 La lista de usuarios de \SpecialChar LyX
6176 es frecuentada por gente con mucha experiencia
6177 en el diseño de formatos deseosa de compartir sus conocimientos.
6180 \begin_layout Standard
6181 Cuando te pongas a escribir un nuevo formato, es de gran ayuda echar un
6182 vistazo a los formatos de ejemplo suministrados con \SpecialChar LyX
6184 Si escribes un `layout' de \SpecialChar LyX
6185 para una clase de documento \SpecialChar LaTeX
6187 podría ser útil también a otros, no dudes en compartir tu labor enviándola
6189 \begin_inset CommandInset href
6191 name "sección 'Layouts' en wiki LyX"
6192 target "https://wiki.lyx.org/Layouts/Layouts"
6197 o incluso a la lista de desarrolladores de \SpecialChar LyX
6198 para poderlo incluir en la
6203 \begin_layout Plain Layout
6204 Hay que advertir que \SpecialChar LyX
6205 se acoge a la licencia GPL, por tanto cualquier material
6206 aportado debe tener la misma licencia.
6214 \begin_layout Subsection
6216 \begin_inset CommandInset label
6218 name "subsec:Módulos-de-formato"
6225 \begin_layout Standard
6226 Hemos hablado hasta ahora de `archivos de formato'.
6227 Pero hay distintos tipos de archivos con información sobre formatos.
6228 Estrictamente, los archivos de formato tienen la extensión
6229 \begin_inset Flex Code
6232 \begin_layout Plain Layout
6238 y proporcionan a \SpecialChar LyX
6239 información sobre las clases de documento.
6240 Sin embargo, a partir de \SpecialChar LyX
6241 1.6, esta información puede proporcionarse también
6246 , que tienen la extensión
6247 \begin_inset Flex Code
6250 \begin_layout Plain Layout
6257 Los módulos son a los paquetes \SpecialChar LaTeX
6258 lo que los formatos a las clases \SpecialChar LaTeX
6260 módulos —como el módulo Notas finales— dan soporte específico a un paquete
6261 determinado —en este caso
6262 \begin_inset Flex Code
6265 \begin_layout Plain Layout
6272 En cierto sentido, los módulos de formato son similares a los `archivos
6277 \begin_layout Plain Layout
6278 Estos pueden tener cualquier extensión pero, por convenio, se usa la extensión
6280 \begin_inset Flex Code
6283 \begin_layout Plain Layout
6295 \begin_inset Flex Code
6298 \begin_layout Plain Layout
6304 —, ya que, como estos, los módulos no son específicos para una clase de
6305 documento dada, sino que se pueden usar con muchos formatos diferentes.
6306 La diferencia es que el uso de un archivo incluido con
6307 \begin_inset Flex Code
6310 \begin_layout Plain Layout
6316 requiere editar dicho archivo, mientras que los módulos se seleccionan
6318 \begin_inset Flex Noun
6321 \begin_layout Plain Layout
6322 Documento\SpecialChar menuseparator
6332 \begin_layout Standard
6333 La construcción de módulos es la forma más fácil de iniciarse en la edición
6334 del formato, puesto que puede ser tan sencillo como añadir un nuevo estilo
6335 de párrafo o un recuadro flexible.
6336 No obstante, los módulos pueden, en principio, contener cualquier cosa
6337 que pueda contener un archivo `layout'.
6340 \begin_layout Standard
6341 Después de crear un módulo nuevo y copiarlo en la carpeta
6342 \begin_inset Flex Code
6345 \begin_layout Plain Layout
6351 , tendrás que reconfigurar \SpecialChar LyX
6352 y reiniciar después para que el módulo aparezca
6354 Sin embargo, los cambios que hagas al módulo se verán inmediatamente si
6356 \begin_inset Flex Noun
6359 \begin_layout Plain Layout
6360 Documento\SpecialChar menuseparator
6366 , seleccionas lo que sea y después pulsas
6367 \begin_inset Quotes cld
6371 \begin_inset Quotes crd
6377 Es muy recomendable guardar el trabajo antes de hacer eso.
6382 es muy recomendable no intentar editar los módulos mientras se está trabajando
6383 simultáneamente en un documento
6386 Aunque los desarrolladores, por supuesto, se esfuerzan en mantener la estabilid
6387 ad de \SpecialChar LyX
6388 en estas situaciones, errores sintácticos y similares en el archivo
6389 del módulo podrían causar extraños comportamientos.
6392 \begin_layout Subsubsection
6396 \begin_layout Standard
6397 Los módulos son a \SpecialChar LyX
6398 lo que los paquetes a \SpecialChar LaTeX
6400 Sin embargo, a veces puede suceder que necesites un recuadro específico
6401 o un estilo de carácter solo para un documento, y escribir un módulo que
6402 estará disponible también para otros documentos tiene poco sentido.
6403 En estos casos, lo que necesitas es el
6404 \begin_inset Quotes cld
6408 \begin_inset Quotes crd
6415 \begin_layout Standard
6418 Documento\SpecialChar menuseparator
6419 Configuración\SpecialChar menuseparator
6423 El gran cuadro de texto permite introducir todo lo que podría incluirse
6424 en un archivo de formato o en un módulo.
6425 De hecho, el formato local de un documento se puede considerar como un
6426 módulo que le pertenece solo a él.
6427 Por tanto, en particular, hay que introducir una etiqueta
6428 \begin_inset Flex Code
6431 \begin_layout Plain Layout
6438 Cualquier formato es aceptable, pero debería usarse normalmente el actual
6440 (En \SpecialChar LyX
6447 el formato actual es
6456 \begin_layout Standard
6457 Una vez introducido algo en el panel
6458 \begin_inset Flex Code
6461 \begin_layout Plain Layout
6469 \begin_inset Quotes cld
6473 \begin_inset Quotes crd
6477 Pulsando ese botón \SpecialChar LyX
6478 determinará si lo introducido es información válida
6479 para el formato elegido.
6481 informará del resultado pero, desafortunadamente, no indicará qué errores
6482 pudiera haber habido.
6483 Sin embargo, si \SpecialChar LyX
6484 se ha arrancado en una terminal se verán ahí los errores.
6485 El formato local no se podrá guardar hasta que se haya introducido algo
6489 \begin_layout Standard
6490 Las advertencias al final de la sección anterior se aplican también aquí.
6491 Es mejor no enredar con formato local mientras se está trabajando, especialment
6492 e si no se ha guardado el documento.
6493 Dicho esto, usar formato local en un documento de prueba puede ser una
6494 forma muy conveniente de probar ideas de formato, o incluso de empezar
6495 a desarrollar un módulo.
6498 \begin_layout Subsection
6499 Formato para archivos
6500 \begin_inset Flex Noun
6503 \begin_layout Plain Layout
6512 \begin_layout Standard
6513 Probablemente te vas a encontrar con dos situaciones a la hora de querer
6514 soportar una nueva clase de documento \SpecialChar LaTeX
6515 , según se trate de archivos de estilo
6517 \begin_inset Flex Code
6520 \begin_layout Plain Layout
6526 ) o de archivos de clases \SpecialChar LaTeX2e
6528 \begin_inset Flex Code
6531 \begin_layout Plain Layout
6538 Dar soporte a un nuevo estilo es bastante fácil.
6539 Dar soporte a una nueva clase es un poco más difícil.
6540 Trataremos el primer caso en esta sección y el otro en la siguiente.
6541 Lo mismo cabe decir, por supuesto, para el soporte de un nuevo DocBook
6545 \begin_layout Standard
6546 El caso más sencillo es aquel en el que la nueva clase de documento se suministr
6547 a como archivo de estilo que se usará conjuntamente con una clase ya soportada.
6548 Para nuestro ejemplo supondremos que el archivo de estilo se llama
6549 \begin_inset Flex Noun
6552 \begin_layout Plain Layout
6558 y que se usará conjuntamente con
6559 \begin_inset Flex Noun
6562 \begin_layout Plain Layout
6568 , que es una clase estándar.
6571 \begin_layout Standard
6572 Empieza por copiar el archivo `layout' existente en tu directorio local:
6576 \begin_layout Plain Layout
6577 Evidentemente, cuál es tu directorio local variará según la plataforma,
6578 y además \SpecialChar LyX
6579 permite especificarlo al inicio usando la opción
6580 \begin_inset Flex Code
6583 \begin_layout Plain Layout
6597 \begin_layout LyX-Code
6598 cp report.layout ~/.lyx/layouts/myclass.layout
6601 \begin_layout Standard
6603 \begin_inset Flex Code
6606 \begin_layout Plain Layout
6615 \begin_layout LyX-Code
6618 DeclareLaTeXClass{report}
6621 \begin_layout Standard
6625 \begin_layout LyX-Code
6628 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
6631 \begin_layout Standard
6635 \begin_layout LyX-Code
6637 \begin_inset Newline newline
6643 \begin_inset Newline newline
6649 \begin_layout Standard
6650 cerca del principio del archivo.
6653 \begin_layout Standard
6654 Inicia \SpecialChar LyX
6656 \begin_inset Flex Noun
6659 \begin_layout Plain Layout
6660 Herramientas\SpecialChar menuseparator
6667 Después reinicia \SpecialChar LyX
6668 y haz una prueba con un documento nuevo.
6670 \begin_inset Flex Noun
6673 \begin_layout Plain Layout
6674 Documento\SpecialChar menuseparator
6681 \begin_inset Quotes cld
6685 \begin_inset Flex Noun
6688 \begin_layout Plain Layout
6695 \begin_inset Quotes crd
6698 en la lista de clases de documento.
6699 Es probable que algunos de los comandos de secciones y demás en tu nueva
6700 clase funcionen de distinta manera a como lo hacen en la clase estándar
6702 \begin_inset Flex Code
6705 \begin_layout Plain Layout
6711 en este ejemplo—, de modo que si quieres, ahora puedes enredar un rato
6712 con los ajustes de las distintas secciones.
6713 La información del formato de las secciones se encuentra en
6714 \begin_inset Flex Code
6717 \begin_layout Plain Layout
6723 , pero no necesitas copiar ni cambiar este archivo.
6724 Simplemente añade tus cambios a tu archivo `layout' después de la línea
6726 \begin_inset Flex Code
6729 \begin_layout Plain Layout
6736 \begin_inset Flex Code
6739 \begin_layout Plain Layout
6746 Por ejemplo, podrías añadir estas líneas:
6749 \begin_layout LyX-Code
6753 \begin_layout LyX-Code
6757 \begin_layout LyX-Code
6761 \begin_layout LyX-Code
6765 \begin_layout LyX-Code
6769 \begin_layout Standard
6770 para cambiar la tipografía de los encabezados de capítulo a sans-serif.
6771 Esto sobrescribirá (o, en este caso, añadirá) la declaración para el estilo
6776 \begin_layout Standard
6777 Tu nuevo paquete puede proporcionar además comandos o entornos no presentes
6779 En este caso, los añadirás al archivo `layout'.
6781 \begin_inset space ~
6785 \begin_inset CommandInset ref
6787 reference "sec:Estructura-del-archivo-layout"
6791 para información sobre cómo hacerlo.
6794 \begin_layout Standard
6796 \begin_inset Flex Noun
6799 \begin_layout Plain Layout
6805 se puede usar con diferentes clases de documento, e incluso si no es así,
6806 lo más sencillo sería escribir un módulo que puedes cargar con la clase
6808 El módulo más simple posible podría ser:
6811 \begin_layout LyX-Code
6814 DeclareLyXModule{My Package}
6817 \begin_layout LyX-Code
6821 \begin_layout LyX-Code
6822 #Support for mypkg.sty.
6825 \begin_layout LyX-Code
6827 \begin_inset Newline newline
6833 \begin_layout LyX-Code
6841 \begin_inset Newline newline
6847 \begin_layout LyX-Code
6849 \begin_inset Newline newline
6855 \begin_inset Newline newline
6861 \begin_layout Standard
6862 Un módulo más complejo podría modificar el comportamiento de alguna estructura
6863 ya existente o definir algunas nuevas.
6864 De nuevo te remitimos a sección
6865 \begin_inset space ~
6869 \begin_inset CommandInset ref
6871 reference "sec:Estructura-del-archivo-layout"
6878 \begin_layout Subsection
6879 Formato para archivos
6880 \begin_inset Flex Noun
6883 \begin_layout Plain Layout
6892 \begin_layout Standard
6893 En este caso hay dos opciones.
6894 Una, que el archivo de clase esté él mismo basado en una clase de documento
6896 Por ejemplo, muchas clases de tesis están basadas en
6897 \begin_inset Flex Noun
6900 \begin_layout Plain Layout
6907 Para ver si el tuyo lo está, busca una línea parecida a
6910 \begin_layout LyX-Code
6916 \begin_layout Standard
6918 Si está, entonces puedes proceder en gran parte como en la sección anterior,
6919 aunque la línea Declare\SpecialChar LaTeX
6920 Class será diferente.
6921 Si tu nueva clase es tesis y está basada en book, la línea debería poner:
6925 \begin_layout Plain Layout
6926 Y será mucho más fácil si guardas el archivo como
6927 \begin_inset Flex Code
6930 \begin_layout Plain Layout
6937 supone que la clase de documento tiene el mismo nombre que el archivo
6947 \begin_layout LyX-Code
6950 DeclareLaTeXClass[thesis,book]{thesis}
6953 \begin_layout Standard
6954 Si, por el contrario, la nueva clase no está basada en una ya existente,
6955 probablemente tendrás que ir pensando en tu propio formato.
6956 Recomendamos firmemente copiar un archivo de formato existente que use
6957 una clase de \SpecialChar LaTeX
6958 parecida y modificarlo, si es posible.
6959 O al menos, usa un archivo existente como punto de partida para ver qué
6960 items son los que te deben preocupar.
6961 Los detalles se discuten a continuación.
6964 \begin_layout Subsection
6965 Creación de plantillas
6966 \begin_inset CommandInset label
6968 name "subsec:Creación-de-plantillas"
6975 \begin_layout Standard
6976 Una vez escrito un archivo de formato para una clase nueva de documento,
6977 podrías pensar en escribir además una
6982 Una plantilla funciona como una especie de tutorial para tu formato, mostrando
6983 cómo podría usarse, aunque sea con contenido irrelevante.
6984 Naturalmente, puedes echar un vistazo a las plantillas incluidas en \SpecialChar LyX
6989 \begin_layout Standard
6990 Las plantillas se crean exactamente igual que un documento normal: usando
6993 La única diferencia es que los documentos corrientes tienen todos los ajustes
6994 posibles, incluso el esquema de tipografías y el tamaño del papel.
6995 Generalmente, un usuario no desea que una plantilla sobrescriba sus ajustes
6996 preferidos para dichos parámetros.
6997 Por esta razón, el diseñador de una plantilla debería quitar comandos como
6999 \begin_inset Flex Code
7002 \begin_layout Plain Layout
7011 \begin_inset Flex Code
7014 \begin_layout Plain Layout
7022 de los archivos de plantillas de \SpecialChar LyX
7024 Esto se puede hacer con cualquier editor de texto sencillo, por ejemplo
7026 \begin_inset Flex Code
7029 \begin_layout Plain Layout
7036 \begin_inset Flex Code
7039 \begin_layout Plain Layout
7049 \begin_layout Standard
7050 Los archivos editados de plantillas que has creado se ubican en
7051 \begin_inset Flex Code
7054 \begin_layout Plain Layout
7060 , copia los que uses del directorio global de plantillas en
7061 \begin_inset Flex Code
7064 \begin_layout Plain Layout
7071 al mismo sitio y redefine la ruta a las plantillas en el diálogo
7072 \begin_inset Flex Noun
7075 \begin_layout Plain Layout
7076 Herramientas\SpecialChar menuseparator
7077 Preferencias\SpecialChar menuseparator
7086 \begin_layout Standard
7087 De paso advertiremos que hay una plantilla,
7088 \begin_inset Flex Code
7091 \begin_layout Plain Layout
7097 , que tiene un papel especial: esta plantilla se carga cada vez que abres
7098 un documento nuevo con
7099 \begin_inset Flex Noun
7102 \begin_layout Plain Layout
7103 Archivo\SpecialChar menuseparator
7109 , con el fin de proporcionar ajustes predeterminados por omisión.
7110 Para (re)crear esta plantilla desde dentro de \SpecialChar LyX
7111 , lo que debes hacer es abrir
7112 un documento, establecer los ajustes deseados y usar el botón
7113 \begin_inset Flex Noun
7116 \begin_layout Plain Layout
7117 Guardar como predeterminados
7125 \begin_layout Subsection
7126 Actualización de antiguos archivos de formato
7129 \begin_layout Standard
7130 El formato de los archivos de formato cambia con cada nueva versión de \SpecialChar LyX
7132 de modo que los antiguos archivos de formato deben ser convertidos.
7134 lee un archivo de formato con formato antiguo lanzará la herramienta
7136 \begin_inset Flex Code
7139 \begin_layout Plain Layout
7145 , que lo convierte a un archivo temporal con el formato actual.
7146 El archivo original se deja sin tocar.
7147 Si lo usas a menudo y lo quieres convertir permanentemente para evitar
7148 que \SpecialChar LyX
7149 tenga que hacerlo cada vez, ejecuta el convertidor a mano:
7152 \begin_layout Enumerate
7154 \begin_inset Flex Code
7157 \begin_layout Plain Layout
7164 \begin_inset Flex Code
7167 \begin_layout Plain Layout
7176 \begin_layout Enumerate
7178 \begin_inset Newline newline
7182 \begin_inset Flex Code
7185 \begin_layout Plain Layout
7186 python \SpecialChar LyX
7187 Dir/scripts/layout2layout.py myclass.old myclass.layout
7193 \begin_inset Newline newline
7197 \begin_inset Flex Code
7200 \begin_layout Plain Layout
7207 es el nombre de tu directorio \SpecialChar LyX
7211 \begin_layout Standard
7212 La conversión manual no puede manejar archivos incluidos, así que estos
7213 tendrán que convertirse separadamente.
7216 \begin_layout Subsection
7219 \begin_inset CommandInset label
7221 name "subsec:Cite-Engine-Files"
7228 \begin_layout Standard
7231 A specific form of layout files are the so-called
7232 \begin_inset Flex Code
7235 \begin_layout Plain Layout
7243 files that are located in the
7244 \begin_inset Flex Code
7247 \begin_layout Plain Layout
7256 Their purpose is to define the specifics of \SpecialChar LaTeX
7257 packages aimed at bibliography
7270 , but also the way how normal Bib\SpecialChar TeX
7271 citations (without additional packages)
7272 are handled in \SpecialChar LyX
7273 is defined in such a file.
7277 \begin_layout Standard
7280 More specifically, it is defined which packages \SpecialChar LyX
7281 needs to load, which citation
7282 commands are available, how these are to be displayed in \SpecialChar LyX
7284 the dialogs, the context menus) as well as in the XHTML and plain text
7286 Furthermore, the files specify available style variants (author-year, numerical
7287 , etc.) and their specifics.
7288 The cite engine files are also used to generate the options that are available
7291 Document\SpecialChar menuseparator
7292 Settings\SpecialChar menuseparator
7293 Bibliography\SpecialChar menuseparator
7299 \begin_layout Standard
7302 Even though a cite engine file is essentially a normal layout file that
7303 could theoretically include any layout information, it usually primarily
7304 includes some specific parameters such as
7305 \begin_inset Flex Code
7308 \begin_layout Plain Layout
7317 \begin_inset Flex Code
7320 \begin_layout Plain Layout
7329 \begin_inset Flex Code
7332 \begin_layout Plain Layout
7341 \begin_inset Flex Code
7344 \begin_layout Plain Layout
7353 The syntax of the latter two is described in
7356 \begin_inset CommandInset ref
7358 reference "subsec:Citation-engine-description"
7366 \begin_inset CommandInset ref
7368 reference "subsec:Descripción-formato-cita"
7374 as well as in the files themselves.
7377 \begin_layout Section
7378 Estructura del archivo `layout'
7379 \begin_inset CommandInset label
7381 name "sec:Estructura-del-archivo-layout"
7388 \begin_layout Standard
7389 Ha llegado por fin el momento de ponerte manos a la obra y crear o editar
7390 tu propio archivo de formato; las siguientes secciones describen aquello
7391 a lo que te vas a enfrentar.
7392 Nuestro consejo es ir despacito, probando y guardando a menudo.
7393 En realidad no es para tanto, pero la multitud de opciones puede llegar
7394 a abrumarte si intentas hacer muchas cosas a la vez.
7395 Resulta más sencillo usar formatos existentes de \SpecialChar LyX
7396 como ejemplo o referencia
7397 y modificarlos según tus necesidades.
7400 \begin_layout Standard
7401 Todos los rótulos o etiquetas en los archivos de formato son insensibles
7402 a las mayúsculas; esto significa que
7403 \begin_inset Flex Code
7406 \begin_layout Plain Layout
7413 \begin_inset Flex Code
7416 \begin_layout Plain Layout
7423 \begin_inset Flex Code
7426 \begin_layout Plain Layout
7432 son el mismo comando.
7433 Los valores posibles se imprimen entre corchetes detrás del nombre de la
7435 Si en una descripción de una clase de texto no se especifica una característica
7436 , el valor por omisión se escribe en estilo
7437 \begin_inset Flex Code
7440 \begin_layout Plain Layout
7449 Si el argumento tiene un tipo de dato como
7450 \begin_inset Quotes cld
7454 \begin_inset Quotes crd
7458 \begin_inset Quotes cld
7462 \begin_inset Quotes crd
7465 , el valor por omisión se muestra de esta manera:
7466 \begin_inset Flex Code
7469 \begin_layout Plain Layout
7480 \begin_layout Subsection
7481 Declaración de la clase de documento y clasificación
7484 \begin_layout Standard
7485 Las líneas de un archivo de formato que empiezan con
7486 \begin_inset Flex Code
7489 \begin_layout Plain Layout
7496 Hay una excepción a esta regla: todos los formatos deben comenzar con líneas
7500 \begin_layout LyX-Code
7503 #% Do not delete the line below; configure depends on this
7507 \begin_layout Plain Layout
7511 \begin_inset space \thinspace{}
7516 : No borrar la línea siguiente; la configuración depende de ella
7524 \begin_layout LyX-Code
7529 DeclareLaTeXClass{Article (Standard Class)}
7532 \begin_layout LyX-Code
7537 DeclareCategory{Articles}
7540 \begin_layout Standard
7541 La segunda y tercera líneas se usan en la (re)configuración de \SpecialChar LyX
7543 El archivo `layout' es leido por el guión de \SpecialChar LaTeX
7545 \begin_inset Flex Code
7548 \begin_layout Plain Layout
7554 de un modo especial tal que
7555 \begin_inset Flex Code
7558 \begin_layout Plain Layout
7565 La primera línea es solo un comentario, la segunda contiene la declaración
7566 obligatoria de la clase de texto y la tercera línea contiene la clasificación
7567 opcional de la clase.
7568 Si estas líneas aparecen en un archivo llamado
7569 \begin_inset Flex Code
7572 \begin_layout Plain Layout
7578 , entonces definen una clase de texto de nombre
7579 \begin_inset Flex Code
7582 \begin_layout Plain Layout
7588 (el nombre del archivo de formato) que usa la clase de documento \SpecialChar LaTeX
7590 \begin_inset Flex Code
7593 \begin_layout Plain Layout
7599 (por omisión se usa el mismo nombre para ambos).
7601 \begin_inset Quotes cld
7604 Article (Standard Class)
7605 \begin_inset Quotes crd
7608 se utiliza como descripción de la clase de texto y es la que aparece en
7610 \begin_inset Flex Noun
7613 \begin_layout Plain Layout
7614 Documento\SpecialChar menuseparator
7622 \begin_inset Quotes cld
7626 \begin_inset Quotes crd
7629 en el ejemplo) también se usa en el diálogo
7630 \begin_inset Flex Noun
7633 \begin_layout Plain Layout
7634 Documento\SpecialChar menuseparator
7640 : las clases de texto se agrupan por estas categorías (generalmente son
7641 géneros, así son categorías típicas
7642 \begin_inset Quotes cld
7646 \begin_inset Quotes crd
7650 \begin_inset Quotes cld
7654 \begin_inset Quotes crd
7658 \begin_inset Quotes cld
7662 \begin_inset Quotes crd
7666 \begin_inset Quotes cld
7670 \begin_inset Quotes crd
7674 \begin_inset Quotes cld
7678 \begin_inset Quotes crd
7682 \begin_inset Quotes cld
7686 \begin_inset Quotes crd
7690 Si no se ha declarado categoría la clase se pondrá en el grupo
7691 \begin_inset Quotes cld
7695 \begin_inset Quotes crd
7701 \begin_layout Standard
7702 Supongamos que has escrito tu propia clase de texto, que utiliza la clase
7704 \begin_inset Flex Code
7707 \begin_layout Plain Layout
7713 , pero en la que has cambiado el aspecto de los encabezados de sección.
7714 Si lo pones en un archivo
7715 \begin_inset Flex Code
7718 \begin_layout Plain Layout
7724 , la cabecera de este archivo debería ser:
7727 \begin_layout LyX-Code
7730 #% Do not delete the line below; configure depends on this
7733 \begin_layout LyX-Code
7738 DeclareLaTeXClass[article]{Article (con Mis Encabezados)}
7741 \begin_layout LyX-Code
7746 DeclareCategory{Articles}
7749 \begin_layout Standard
7750 Esto declara la clase de texto
7751 \begin_inset Flex Code
7754 \begin_layout Plain Layout
7760 , asociada con la clase de documento \SpecialChar LaTeX
7762 \begin_inset Flex Code
7765 \begin_layout Plain Layout
7771 , y cuya descripción es
7772 \begin_inset Quotes cld
7775 Article (con Mis Encabezados)
7776 \begin_inset Quotes crd
7780 Si la clase de texto depende de varios paquetes, puedes declararla así:
7783 \begin_layout LyX-Code
7786 #% Do not delete the line below; configure depends on this
7789 \begin_layout LyX-Code
7794 DeclareLaTeXClass[article,foo.sty]{Article (con Mis Encabezados)}
7797 \begin_layout LyX-Code
7802 DeclareCategory{Articles}
7805 \begin_layout Standard
7806 Esto indica que la clase de texto utiliza el paquete foo.sty.
7807 Finalmente, también es posible declarar clases para código DocBook.
7808 Una declaración típica podría ser:
7811 \begin_layout LyX-Code
7814 #% Do not delete the line below; configure depends on this
7817 \begin_layout LyX-Code
7822 DeclareDocBookClass[article]{SGML (DocBook Article)}
7825 \begin_layout LyX-Code
7830 DeclareCategory{Articles}
7833 \begin_layout Standard
7834 Anotar que estas declaraciones pueden llevar también un parámetro opcional
7835 que declare el nombre de la clase de documento (pero no una lista).
7838 \begin_layout Standard
7839 Así, para ser lo más explícito posible, la forma de la declaración del formato
7843 \begin_layout LyX-Code
7848 DeclareLaTeXClass[class,package.sty]{descripción del formato}
7851 \begin_layout LyX-Code
7856 DeclareCategory{category}
7859 \begin_layout Standard
7860 La clase solo debe especificarse si el nombre de archivo de la clase \SpecialChar LaTeX
7862 el nombre de archivo del formato son diferentes; si el nombre del archivo
7863 de clase no se especifica, \SpecialChar LyX
7864 simplemente supondrá que es el mismo que el
7865 del archivo de formato.
7868 \begin_layout Standard
7869 Cuando la clase de texto se ha modificado según tus necesidades, lo que
7870 debes hacer es copiarla a
7871 \begin_inset Flex Code
7874 \begin_layout Plain Layout
7882 \begin_inset Flex Code
7885 \begin_layout Plain Layout
7892 \begin_inset Flex Noun
7895 \begin_layout Plain Layout
7896 Herramientas\SpecialChar menuseparator
7902 , y reiniciar \SpecialChar LyX
7904 Ahora la nueva clase de texto debería estar disponible junto con las demás.
7907 \begin_layout Standard
7908 Una vez instalado el `layout', puedes editarlo y ver los cambios sin tener
7909 que reconfigurar ni reiniciar \SpecialChar LyX
7915 \begin_layout Plain Layout
7916 En versiones de \SpecialChar LyX
7917 anteriores a 1.6 no era así.
7918 Como resultado, la edición de archivos de formato podía llevar mucho tiempo,
7919 pues constantemente había que reconfigurar y reiniciar.
7924 Se puede forzar la recarga del formato en uso mediante la función \SpecialChar LyX
7926 \begin_inset Flex Noun
7929 \begin_layout Plain Layout
7936 No hay atajo predeterminado para esta función —aunque por supuesto, puedes
7937 asociarle tú mismo una secuencia de teclas—.
7938 Normalmente usarás esta función introduciéndola simplemente en el
7946 \begin_layout Standard
7951 : Esto es mucho más que una
7952 \begin_inset Quotes cld
7955 característica avanzada
7956 \begin_inset Quotes crd
7964 recomendable que no intentes editar tu formato mientras estés trabajando
7965 en un documento importante.
7966 Usa un documento de prueba.
7967 Los errores sintácticos y similares en tu archivo de formato podrían provocar
7968 comportamientos extraños.
7969 En particular, tales errores podrían provocar que \SpecialChar LyX
7970 vea el formato actual
7971 como inválido e intente cambiar a algún otro.
7975 \begin_layout Plain Layout
7976 En realidad, los errores en la sintaxis pueden causar incluso el cierre
7978 , porque ciertos tipos de error pueden hacer que \SpecialChar LyX
7984 información de formato.
7985 Por favor ten cuidado.
7990 El equipo \SpecialChar LyX
7991 procura que \SpecialChar LyX
7992 se mantenga estable en estos casos, pero es mejor
7997 \begin_layout Plain Layout
7998 De todos modos, haz copias de seguridad regularmente.
7999 Y sé bueno con mamá.
8008 \begin_layout Subsection
8009 Declaración de un módulo
8012 \begin_layout Standard
8013 Un módulo debe empezar con una línea como la siguiente:
8016 \begin_layout LyX-Code
8019 DeclareLyXModule[endnotes.sty]{Endnotes}
8022 \begin_layout Standard
8023 El argumento imprescindible es, entre llaves, el nombre del módulo tal como
8025 \begin_inset Flex Noun
8028 \begin_layout Plain Layout
8029 Documento\SpecialChar menuseparator
8030 Configuración\SpecialChar menuseparator
8037 El argumento entre corchetes es opcional: declara cualesquiera paquetes
8039 de los que depende el módulo.
8040 También es posible usar la forma
8041 \begin_inset Flex Noun
8044 \begin_layout Plain Layout
8050 como argumento opcional, que declara que el módulo solo puede usarse cuando
8051 existe una cadena de conversión entre los formatos `
8052 \begin_inset Flex Code
8055 \begin_layout Plain Layout
8062 \begin_inset Flex Code
8065 \begin_layout Plain Layout
8074 \begin_layout Standard
8075 La declaración del módulo debe proseguir con líneas como las siguientes:
8079 \begin_layout Plain Layout
8080 Preferiblemente en inglés si el módulo se va a publicar en \SpecialChar LyX
8082 Esta descripción aparecerá en la lista de mensajes para ser traducidos
8083 en la siguiente actualización de la interfaz.
8091 \begin_layout LyX-Code
8095 \begin_layout LyX-Code
8096 #Adds an endnote command, in addition to footnotes.
8100 \begin_layout LyX-Code
8101 #You will need to add
8103 theendnotes in \SpecialChar TeX
8107 \begin_layout LyX-Code
8108 #want the endnotes to appear.
8112 \begin_layout LyX-Code
8116 \begin_layout LyX-Code
8117 #Requires: somemodule | othermodule
8120 \begin_layout LyX-Code
8121 #Excludes: badmodule
8124 \begin_layout Standard
8125 La descripción se usa en
8126 \begin_inset Flex Noun
8129 \begin_layout Plain Layout
8130 Documento\SpecialChar menuseparator
8131 Configuración\SpecialChar menuseparator
8137 para proporcionar al usuario información sobre las acciones del módulo.
8139 \begin_inset Flex Code
8142 \begin_layout Plain Layout
8148 sirve para identificar otros módulos con los que se debe usar este; la
8150 \begin_inset Flex Code
8153 \begin_layout Plain Layout
8159 identifica los módulos con los que este no se puede usar.
8160 Ambas son opcionales, y, como se ve, varios módulos deben separarse con
8161 el símbolo tubería: |.
8162 Anotar que los módulos requeridos se tratan de forma disyuntiva: debe usarse
8167 de los módulos requeridos.
8173 Aquí, los módulos se identifican por sus nombres de archivo sin la extensión
8175 \begin_inset Flex Code
8178 \begin_layout Plain Layout
8186 \begin_inset Flex Code
8189 \begin_layout Plain Layout
8196 \begin_inset Flex Code
8199 \begin_layout Plain Layout
8208 \begin_layout Subsection
8211 The CiteEngine file declaration
8214 \begin_layout Standard
8217 A cite engine file must begin with a line like the following:
8220 \begin_layout LyX-Code
8225 DeclareLyXCiteEngineModule[biblatex.sty]{Biblatex}
8228 \begin_layout Standard
8231 The mandatory argument, in curly brackets, is the name of the module, as
8233 \begin_inset Flex Noun
8236 \begin_layout Plain Layout
8239 Document\SpecialChar menuseparator
8240 Settings\SpecialChar menuseparator
8247 The argument in square brackets is optional: It declares any \SpecialChar LaTeX
8249 on which the cite engine depends.
8252 \begin_layout Standard
8255 The cite engine declaration should then be followed by lines like the following:
8259 \begin_layout Plain Layout
8262 Preferably in English if the module should be published with \SpecialChar LyX
8264 This description will appear in the list of messages to be translated and
8265 will be thus translated with the next interface update.
8273 \begin_layout LyX-Code
8279 \begin_layout LyX-Code
8282 # Biblatex supports many author-year and numerical styles.
8285 \begin_layout LyX-Code
8288 # It is mainly aimed at the Humanities.
8292 \begin_layout LyX-Code
8295 # customizable, fully localized and provides many features
8298 \begin_layout LyX-Code
8301 # that are not possible with BibTeX.
8302 The use of 'biber' as
8305 \begin_layout LyX-Code
8308 # bibliography processor is advised.
8311 \begin_layout LyX-Code
8317 \begin_layout Standard
8320 The description is used in
8321 \begin_inset Flex Noun
8324 \begin_layout Plain Layout
8327 Document\SpecialChar menuseparator
8328 Settings\SpecialChar menuseparator
8334 to provide the user with information about the cite engine.
8337 \begin_layout Subsection
8341 \begin_layout Standard
8342 La primera línea no comentada de cualquier archivo `layout', `inc' o `module'
8347 contener el número de formato del archivo:
8350 \begin_layout Description
8351 \begin_inset Flex Code
8354 \begin_layout Plain Layout
8361 \begin_inset Flex Code
8364 \begin_layout Plain Layout
8370 ] El número de formato del archivo de formato (`layout').
8373 \begin_layout Standard
8374 Esta etiqueta se introdujo en \SpecialChar LyX
8376 \begin_inset space ~
8380 Los archivos anteriores no tienen un número explícito y se consideran como
8382 \begin_inset Flex Code
8385 \begin_layout Plain Layout
8387 \begin_inset space ~
8396 El número para la versión actual de \SpecialChar LyX
8404 Cada versión de \SpecialChar LyX
8405 es capaz de leer los formatos de versiones anteriores,
8406 de la misma forma que puede leer archivos producidos con versiones de \SpecialChar LyX
8409 Sin embargo, no está previsto convertir a formatos anteriores.
8412 \begin_layout Subsection
8413 Parámetros generales de clases de texto
8414 \begin_inset CommandInset label
8416 name "subsec:Parámetros-generales-clases"
8423 \begin_layout Standard
8424 Estos son los parámetros generales que describen completamente una clase
8430 significa que deban aparecer en archivos
8431 \begin_inset Flex Code
8434 \begin_layout Plain Layout
8440 en vez de en módulos.
8441 Un módulo puede contener cualquier etiqueta de formato).
8444 \begin_layout Description
8445 \begin_inset Flex Code
8448 \begin_layout Plain Layout
8454 Añade información para el bloque
8455 \begin_inset Flex Code
8458 \begin_layout Plain Layout
8464 cuando el documento se exporte a XHTML.
8465 Típicamente, debería usarse para exportar información de estilo CSS, aunque
8466 se puede usar para cualquier cosa que pueda aparecer en
8467 \begin_inset Flex Code
8470 \begin_layout Plain Layout
8478 \begin_inset Quotes eld
8482 \begin_inset Flex Code
8485 \begin_layout Plain Layout
8492 \begin_inset Quotes erd
8498 \begin_layout Description
8499 \begin_inset Flex Code
8502 \begin_layout Plain Layout
8508 Añade información al preámbulo del documento.
8510 \begin_inset Quotes cld
8514 \begin_inset Flex Code
8517 \begin_layout Plain Layout
8524 \begin_inset Quotes crd
8530 \begin_layout Description
8533 \begin_inset Flex Code
8536 \begin_layout Plain Layout
8544 Defines the possibilities for displaying citation references.
8546 \begin_inset CommandInset ref
8548 reference "subsec:Citation-engine-description"
8557 \begin_inset Quotes eld
8561 \begin_inset Flex Code
8564 \begin_layout Plain Layout
8573 \begin_inset Quotes erd
8577 Primarily used in cite engine files (see
8578 \begin_inset CommandInset ref
8580 reference "subsec:Cite-Engine-Files"
8590 \begin_layout Description
8591 \begin_inset Flex Code
8594 \begin_layout Plain Layout
8600 Define formatos a usar en la presentación de información bibliográfica.
8602 \begin_inset space ~
8606 \begin_inset CommandInset ref
8608 reference "subsec:Descripción-formato-cita"
8614 \begin_inset Quotes eld
8618 \begin_inset Flex Code
8621 \begin_layout Plain Layout
8628 \begin_inset Quotes erd
8634 Primarily used in cite engine files (see
8635 \begin_inset CommandInset ref
8637 reference "subsec:Cite-Engine-Files"
8647 \begin_layout Description
8650 \begin_inset Flex Code
8653 \begin_layout Plain Layout
8662 \begin_inset Flex Code
8665 \begin_layout Plain Layout
8675 \begin_inset Flex Code
8678 \begin_layout Plain Layout
8686 ] Determines whether
8690 or Bib\SpecialChar TeX
8691 is used to generate a Bibliography.
8692 Primarily used in cite engine files (see
8693 \begin_inset CommandInset ref
8695 reference "subsec:Cite-Engine-Files"
8705 \begin_layout Description
8706 \begin_inset Flex Code
8709 \begin_layout Plain Layout
8715 Describe varias opciones globales soportadas por la clase de documento.
8717 \begin_inset space ~
8721 \begin_inset CommandInset ref
8723 reference "subsec:ClassOptions"
8727 para una descripción.
8729 \begin_inset Quotes cld
8733 \begin_inset Flex Code
8736 \begin_layout Plain Layout
8743 \begin_inset Quotes crd
8749 \begin_layout Description
8750 \begin_inset Flex Code
8753 \begin_layout Plain Layout
8760 \begin_inset Flex Code
8763 \begin_layout Plain Layout
8772 \begin_inset space \thinspace{}
8776 \begin_inset Flex Code
8779 \begin_layout Plain Layout
8785 ] Establece el número de columnas por omisión.
8786 Se puede cambiar en el diálogo
8787 \begin_inset Flex Noun
8790 \begin_layout Plain Layout
8791 Documento\SpecialChar menuseparator
8800 \begin_layout Description
8801 \begin_inset Flex Code
8804 \begin_layout Plain Layout
8810 Esta secuencia define un nuevo contador.
8812 \begin_inset space ~
8816 \begin_inset CommandInset ref
8818 reference "subsec:Contadores"
8824 \begin_inset Quotes cld
8828 \begin_inset Flex Code
8831 \begin_layout Plain Layout
8838 \begin_inset Quotes crd
8844 \begin_layout Description
8845 \begin_inset Flex Code
8848 \begin_layout Plain Layout
8854 Establece la tipografía por omisión para presentar el documento.
8856 \begin_inset space ~
8860 \begin_inset CommandInset ref
8862 reference "subsec:Tipografía"
8866 para cómo declarar tipografías.
8868 \begin_inset Quotes cld
8872 \begin_inset Flex Code
8875 \begin_layout Plain Layout
8882 \begin_inset Quotes crd
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 ] Especifica un módulo que se incluirá por omisión en esta clase de documento;
8909 deberá declararse por su nombre de archivo sin la extensión
8910 \begin_inset Flex Code
8913 \begin_layout Plain Layout
8920 El usuario puede, aún así, quitar el módulo, pero estará activo al principio.
8921 (Esto se aplica solo cuando se crean archivos nuevos, o si esta clase se
8922 elige para un documento existente.)
8925 \begin_layout Description
8926 \begin_inset Flex Code
8929 \begin_layout Plain Layout
8936 \begin_inset Flex Code
8939 \begin_layout Plain Layout
8945 ] Este es el estilo que será asignado a párrafos nuevos, generalmente
8946 \begin_inset Flex Noun
8949 \begin_layout Plain Layout
8956 Si no se especifica, se escogerá por omisión el primer estilo definido,
8957 pero es muy recomendable usar esta instrucción.
8960 \begin_layout Description
8961 \begin_inset Flex Code
8964 \begin_layout Plain Layout
8971 \begin_inset Flex Code
8974 \begin_layout Plain Layout
8980 ] Indica que el módulo en cuestión (que debería especificarse por el nombre
8981 de archivo sin la extensión
8982 \begin_inset Flex Code
8985 \begin_layout Plain Layout
8991 ) no puede utilizarse con esta clase de documento.
8992 Esto podría usarse en un archivo de formato específico de una publicación
8993 para, digamos, impedir el empleo del módulo
8994 \begin_inset Flex Code
8997 \begin_layout Plain Layout
9003 , que numera los teoremas y demás por secciones.
9008 puede utilizarse en un módulo.
9009 Los módulos tienen su propia forma de excluir otros módulos (véase
9010 \begin_inset space ~
9014 \begin_inset CommandInset ref
9016 reference "subsec:Módulos-de-formato"
9023 \begin_layout Description
9024 \begin_inset Flex Code
9027 \begin_layout Plain Layout
9033 Define un nuevo flotante.
9035 \begin_inset space ~
9039 \begin_inset CommandInset ref
9041 reference "subsec:Flotantes"
9047 \begin_inset Quotes cld
9051 \begin_inset Flex Code
9054 \begin_layout Plain Layout
9061 \begin_inset Quotes crd
9067 \begin_layout Description
9068 \begin_inset Flex Code
9071 \begin_layout Plain Layout
9077 Da información para el bloque
9078 \begin_inset Flex Code
9081 \begin_layout Plain Layout
9087 cuando esta clase de documento se exporte a XHTML.
9088 Advertir que esto sobrescribirá completamente cualquier declaración anterior
9090 \begin_inset Flex Code
9093 \begin_layout Plain Layout
9100 \begin_inset Flex Code
9103 \begin_layout Plain Layout
9111 \begin_inset Flex Code
9114 \begin_layout Plain Layout
9120 si solo quieres añadir material al preámbulo).
9122 \begin_inset Quotes eld
9126 \begin_inset Flex Code
9129 \begin_layout Plain Layout
9136 \begin_inset Quotes erd
9142 \begin_layout Description
9143 \begin_inset Flex Code
9146 \begin_layout Plain Layout
9153 \begin_inset Flex Code
9156 \begin_layout Plain Layout
9162 ] El estilo a usar para el índice general, bibliografía, etc., cuando el
9163 documento se exporte a HTML.
9164 Para article, normalmente será
9165 \begin_inset Flex Code
9168 \begin_layout Plain Layout
9175 \begin_inset Flex Code
9178 \begin_layout Plain Layout
9185 Si no se especifica, \SpecialChar LyX
9186 intentará deducir qué formato usar.
9189 \begin_layout Description
9190 \begin_inset Flex Code
9193 \begin_layout Plain Layout
9200 \begin_inset Flex Code
9203 \begin_layout Plain Layout
9209 ] Modifica las propiedades del contador dado.
9210 Si el contador no existe, esta sección se ignora.
9212 \begin_inset Quotes eld
9216 \begin_inset Flex Code
9219 \begin_layout Plain Layout
9226 \begin_inset Quotes erd
9230 \begin_inset Newline newline
9234 \begin_inset space ~
9238 \begin_inset CommandInset ref
9240 reference "subsec:Contadores"
9247 \begin_layout Description
9248 \begin_inset Flex Code
9251 \begin_layout Plain Layout
9258 \begin_inset Flex Code
9261 \begin_layout Plain Layout
9267 ] Permite incluir otro archivo de definición de formato en el tuyo con el
9268 fin de evitar la duplicación de comandos.
9269 Ejemplos habituales son los archivos de formatos estándar, como
9270 \begin_inset Flex Code
9273 \begin_layout Plain Layout
9279 , que contiene la mayoría de los diseños básicos.
9282 \begin_layout Description
9283 \begin_inset Flex Code
9286 \begin_layout Plain Layout
9293 \begin_inset Flex Code
9296 \begin_layout Plain Layout
9302 ] Esta sección (re)define el formato de un recuadro.
9303 Puede aplicarse a uno existente o a uno nuevo, definido por el usuario,
9305 \begin_inset space \thinspace{}
9308 e., un nuevo estilo de texto.
9310 \begin_inset space ~
9314 \begin_inset CommandInset ref
9316 reference "subsec:estilo-del-texto"
9320 para más información.
9322 \begin_inset Quotes cld
9326 \begin_inset Flex Code
9329 \begin_layout Plain Layout
9336 \begin_inset Quotes crd
9342 \begin_layout Description
9343 \begin_inset Flex Code
9346 \begin_layout Plain Layout
9353 \begin_inset Flex Code
9356 \begin_layout Plain Layout
9362 ] Una cadena que indica la anchura del margen izquierdo en la pantalla,
9364 \begin_inset Quotes cld
9368 \begin_inset Flex Code
9371 \begin_layout Plain Layout
9378 \begin_inset Quotes crd
9382 (Esto no es una `longitud', como
9383 \begin_inset Quotes cld
9387 \begin_inset Quotes crd
9393 \begin_layout Description
9396 \begin_inset Flex Code
9399 \begin_layout Plain Layout
9408 \begin_inset Flex Code
9411 \begin_layout Plain Layout
9419 ] An integer that determines the maximal number of names displayed in an
9420 author-year citation before the citation switches to
9421 \begin_inset Quotes eld
9425 \begin_inset Quotes erd
9429 Primarily used in cite engine files (see
9430 \begin_inset CommandInset ref
9432 reference "subsec:Cite-Engine-Files"
9442 \begin_layout Description
9443 \begin_inset Flex Code
9446 \begin_layout Plain Layout
9453 \begin_inset Flex Code
9456 \begin_layout Plain Layout
9462 ] Modifica las propiedades del estilo de párrafo dado.
9463 Si el estilo no existe, esta sección se ignora.
9465 \begin_inset Quotes eld
9469 \begin_inset Flex Code
9472 \begin_layout Plain Layout
9479 \begin_inset Quotes erd
9485 \begin_layout Description
9486 \begin_inset Flex Code
9489 \begin_layout Plain Layout
9496 \begin_inset Flex Code
9499 \begin_layout Plain Layout
9505 ] Este comando elimina un contador existente, generalmente uno definido
9506 en un archivo incluido.
9509 \begin_layout Description
9510 \begin_inset Flex Code
9513 \begin_layout Plain Layout
9520 \begin_inset Flex Code
9523 \begin_layout Plain Layout
9529 ] Este comando borra un flotante existente.
9530 Es particularmente útil si quieres suprimir un flotante que ha sido definido
9531 en un archivo de entrada.
9534 \begin_layout Description
9535 \begin_inset Flex Code
9538 \begin_layout Plain Layout
9545 \begin_inset Flex Code
9548 \begin_layout Plain Layout
9554 ] Este comando borra un estilo existente.
9557 \begin_layout Description
9558 \begin_inset Flex Code
9561 \begin_layout Plain Layout
9568 \begin_inset Flex Code
9571 \begin_layout Plain Layout
9577 ] El formato de archivo (tal como se define en las preferencias de \SpecialChar LyX
9580 Principalmente, es útil cuando
9581 \begin_inset Flex Code
9584 \begin_layout Plain Layout
9591 \begin_inset Flex Code
9594 \begin_layout Plain Layout
9600 y se quiere definir un nuevo tipo de documento `literate'.
9601 Esta cadena se redefine a
9602 \begin_inset Quotes cld
9606 \begin_inset Flex Code
9609 \begin_layout Plain Layout
9616 \begin_inset Quotes crd
9620 \begin_inset Quotes cld
9624 \begin_inset Flex Code
9627 \begin_layout Plain Layout
9634 \begin_inset Quotes crd
9637 si se encuentra el correspondiente parámetro
9638 \begin_inset Flex Code
9641 \begin_layout Plain Layout
9650 \begin_layout Description
9651 \begin_inset Flex Code
9654 \begin_layout Plain Layout
9661 \begin_inset Flex Code
9664 \begin_layout Plain Layout
9675 \begin_inset Flex Code
9678 \begin_layout Plain Layout
9685 \begin_inset Flex Code
9688 \begin_layout Plain Layout
9694 ] Indica qué clase de documentos de salida que usan esta clase se generarán.
9697 \begin_layout Description
9698 \begin_inset Flex Code
9701 \begin_layout Plain Layout
9708 \begin_inset Flex Code
9711 \begin_layout Plain Layout
9718 \begin_inset Flex Code
9721 \begin_layout Plain Layout
9727 ] Especifica opciones, dadas en el segundo
9731 , para el paquete nombrado en el primer
9737 \begin_inset Quotes cld
9741 \begin_inset Flex Code
9744 \begin_layout Plain Layout
9745 PackageOptions natbib square
9751 \begin_inset Quotes crd
9755 \begin_inset Flex Code
9758 \begin_layout Plain Layout
9764 se cargue con la opción
9765 \begin_inset Flex Code
9768 \begin_layout Plain Layout
9775 (Para \SpecialChar TeX
9776 pertos, esto hace que \SpecialChar LyX
9778 \begin_inset Flex Code
9781 \begin_layout Plain Layout
9784 PassOptionsToPackage{natbib}{square}
9790 \begin_inset Flex Code
9793 \begin_layout Plain Layout
9802 \begin_layout Description
9803 \begin_inset Flex Code
9806 \begin_layout Plain Layout
9813 \begin_inset Flex Code
9816 \begin_layout Plain Layout
9825 \begin_inset Flex Code
9828 \begin_layout Plain Layout
9835 \begin_inset Flex Code
9838 \begin_layout Plain Layout
9848 El estilo de página predeterminado de la clase.
9849 Puede cambiarse en el diálogo
9850 \begin_inset Flex Noun
9853 \begin_layout Plain Layout
9854 Documento\SpecialChar menuseparator
9863 \begin_layout Description
9864 \begin_inset Flex Code
9867 \begin_layout Plain Layout
9873 Establece el preámbulo \SpecialChar LaTeX
9875 Anotar que esto anulará completamente cualesquiera declaraciones
9876 \begin_inset Flex Code
9879 \begin_layout Plain Layout
9886 \begin_inset Flex Code
9889 \begin_layout Plain Layout
9897 \begin_inset Flex Code
9900 \begin_layout Plain Layout
9906 si solo quieres añadir material al preámbulo).
9908 \begin_inset Quotes cld
9912 \begin_inset Flex Code
9915 \begin_layout Plain Layout
9922 \begin_inset Quotes crd
9928 \begin_layout Description
9929 \begin_inset Flex Code
9932 \begin_layout Plain Layout
9939 \begin_inset Flex Code
9942 \begin_layout Plain Layout
9949 \begin_inset Flex Code
9952 \begin_layout Plain Layout
9961 \begin_inset Flex Code
9964 \begin_layout Plain Layout
9970 ] Si la clase ya proporciona, o no, la característica
9971 \begin_inset Flex Code
9974 \begin_layout Plain Layout
9981 Una característica es en general el nombre de un paquete (
9982 \begin_inset Flex Code
9985 \begin_layout Plain Layout
9992 \begin_inset Flex Code
9995 \begin_layout Plain Layout
10001 , \SpecialChar ldots
10003 \begin_inset Flex Code
10006 \begin_layout Plain Layout
10013 \begin_inset Flex Code
10016 \begin_layout Plain Layout
10022 ,\SpecialChar ldots
10024 Véase en el capítulo
10025 \begin_inset space ~
10029 \begin_inset CommandInset ref
10031 reference "cap:Lista-de-funciones"
10035 la lista de características.
10038 \begin_layout Description
10039 \begin_inset Flex Code
10042 \begin_layout Plain Layout
10049 \begin_inset Flex Code
10052 \begin_layout Plain Layout
10058 ] Indica que este formato proporciona la funcionalidad del módulo mencionado,
10059 que deberá especificarse con su nombre de archivo sin la extensión
10060 \begin_inset Flex Code
10063 \begin_layout Plain Layout
10070 Esto se usará típicamente si el formato incluye el módulo directamente,
10071 preferiblemente a usar la etiqueta
10072 \begin_inset Flex Code
10075 \begin_layout Plain Layout
10081 para indicar que debería utilizarse.
10082 Podría ser empleado en un módulo que provea una implementación alternativa
10083 de la misma funcionalidad.
10086 \begin_layout Description
10087 \begin_inset Flex Code
10090 \begin_layout Plain Layout
10097 \begin_inset Flex Code
10100 \begin_layout Plain Layout
10106 ] Crea un nuevo estilo (entorno) de párrafo si no existe.
10107 Si el estilo existe se ignora esta sección.
10109 \begin_inset Quotes eld
10113 \begin_inset Flex Code
10116 \begin_layout Plain Layout
10123 \begin_inset Quotes erd
10129 \begin_layout Description
10130 \begin_inset Flex Code
10133 \begin_layout Plain Layout
10140 \begin_inset Flex Code
10143 \begin_layout Plain Layout
10149 ] Si la clase requiere la característica
10150 \begin_inset Flex Code
10153 \begin_layout Plain Layout
10160 Múltiples características deben separarse con comas.
10161 Multiple features must be separated by commas.
10162 Anotar que solo se pueden demandar características soportadas.
10163 (Véase la lista en el capítulo
10164 \begin_inset space ~
10168 \begin_inset CommandInset ref
10170 reference "cap:Lista-de-funciones"
10175 Si necesitas un paquete con opciones específicas puedes usar además
10176 \begin_inset Flex Code
10179 \begin_layout Plain Layout
10188 \begin_layout Description
10189 \begin_inset Flex Code
10192 \begin_layout Plain Layout
10199 \begin_inset Flex Code
10202 \begin_layout Plain Layout
10208 ] Una cadena que indica la anchura del margen derecho en la pantalla, por
10210 \begin_inset Quotes cld
10214 \begin_inset Flex Code
10217 \begin_layout Plain Layout
10224 \begin_inset Quotes crd
10230 \begin_layout Description
10231 \begin_inset Flex Code
10234 \begin_layout Plain Layout
10241 \begin_inset Flex Code
10244 \begin_layout Plain Layout
10250 ] Establece qué divisiones se numeran.
10251 Corresponde al contador \SpecialChar LaTeX
10253 \begin_inset Flex Code
10256 \begin_layout Plain Layout
10265 \begin_layout Description
10266 \begin_inset Flex Code
10269 \begin_layout Plain Layout
10278 \begin_inset Flex Code
10281 \begin_layout Plain Layout
10290 \begin_inset space \thinspace{}
10294 \begin_inset Flex Code
10297 \begin_layout Plain Layout
10303 ] Si debe imprimirse en una o en ambas caras del papel.
10304 Se puede cambiar en el diálogo
10305 \begin_inset Flex Noun
10308 \begin_layout Plain Layout
10309 Documento\SpecialChar menuseparator
10318 \begin_layout Description
10319 \begin_inset Flex Code
10322 \begin_layout Plain Layout
10329 \begin_inset Flex Code
10332 \begin_layout Plain Layout
10338 ] Esta secuencia define un nuevo estilo de párrafo.
10339 Si el estilo ya existe, en ese caso se redefinirán algunos de los parámetros.
10341 \begin_inset space ~
10345 \begin_inset CommandInset ref
10347 reference "subsec:Estilos-de-párrafo"
10353 \begin_inset Quotes cld
10357 \begin_inset Flex Code
10360 \begin_layout Plain Layout
10367 \begin_inset Quotes crd
10373 \begin_layout Description
10374 \begin_inset Flex Code
10377 \begin_layout Plain Layout
10384 \begin_inset Flex Code
10387 \begin_layout Plain Layout
10393 ] El nombre del comando de entorno a usar con
10394 \begin_inset Flex Code
10397 \begin_layout Plain Layout
10406 \begin_layout Description
10407 \begin_inset Flex Code
10410 \begin_layout Plain Layout
10417 \begin_inset Flex Code
10420 \begin_layout Plain Layout
10429 \begin_inset Flex Code
10432 \begin_layout Plain Layout
10438 ] Indica qué clase de diseño se emplea para definir el título de un documento.
10440 \begin_inset Flex Code
10443 \begin_layout Plain Layout
10449 significa que la macro con nombre
10450 \begin_inset Flex Code
10453 \begin_layout Plain Layout
10459 se insertará después del último formato que tiene
10460 \begin_inset Quotes cld
10464 \begin_inset Flex Code
10467 \begin_layout Plain Layout
10469 \begin_inset space ~
10478 \begin_inset Quotes crd
10483 \begin_inset Flex Code
10486 \begin_layout Plain Layout
10492 corresponde al caso en que todos los formatos que tienen
10493 \begin_inset Quotes cld
10497 \begin_inset Flex Code
10500 \begin_layout Plain Layout
10502 \begin_inset space ~
10511 \begin_inset Quotes crd
10514 debería ser incluido en el entorno
10515 \begin_inset Flex Code
10518 \begin_layout Plain Layout
10527 \begin_layout Description
10528 \begin_inset Flex Code
10531 \begin_layout Plain Layout
10538 \begin_inset Flex Code
10541 \begin_layout Plain Layout
10547 ] Establece qué divisiones se incluyen en el índice general.
10548 Corresponde al contador \SpecialChar LaTeX
10550 \begin_inset Flex Code
10553 \begin_layout Plain Layout
10562 \begin_layout Subsection
10564 \begin_inset Flex Code
10567 \begin_layout Plain Layout
10574 \begin_inset CommandInset label
10576 name "subsec:ClassOptions"
10583 \begin_layout Standard
10585 \begin_inset Flex Code
10588 \begin_layout Plain Layout
10594 puede contener las siguientes entradas:
10597 \begin_layout Description
10598 \begin_inset Flex Code
10601 \begin_layout Plain Layout
10608 \begin_inset Flex Code
10611 \begin_layout Plain Layout
10617 ] La lista de los tamaños de carácter disponibles para la tipografía principal
10618 del documento, separados por
10619 \begin_inset Quotes cld
10623 \begin_inset Flex Code
10626 \begin_layout Plain Layout
10633 \begin_inset Quotes crd
10639 \begin_layout Description
10640 \begin_inset Flex Code
10643 \begin_layout Plain Layout
10649 Para establecer la línea DTD con las clases con salida basada en XML.
10651 \begin_inset space \thinspace{}
10655 \begin_inset Quotes cld
10658 -//OASIS//DTD DocBook V4.2//EN
10659 \begin_inset Quotes crd
10665 \begin_layout Description
10666 \begin_inset Flex Code
10669 \begin_layout Plain Layout
10676 \begin_inset Flex Code
10679 \begin_layout Plain Layout
10685 ] Algunas opciones de clase de documento, separadas por coma, que se añadirán
10686 a la parte opcional del comando
10687 \begin_inset Flex Code
10690 \begin_layout Plain Layout
10701 \begin_layout Description
10702 \begin_inset Flex Code
10705 \begin_layout Plain Layout
10712 \begin_inset Flex Code
10715 \begin_layout Plain Layout
10716 string="empty|plain|headings|fancy"
10721 ] Lista de los estilos de página disponibles, separados por
10722 \begin_inset Quotes cld
10726 \begin_inset Flex Code
10729 \begin_layout Plain Layout
10736 \begin_inset Quotes crd
10742 \begin_layout Standard
10744 \begin_inset Flex Code
10747 \begin_layout Plain Layout
10754 \begin_inset Quotes cld
10758 \begin_inset Flex Code
10761 \begin_layout Plain Layout
10768 \begin_inset Quotes crd
10774 \begin_layout Subsection
10776 \begin_inset CommandInset label
10778 name "subsec:Estilos-de-párrafo"
10785 \begin_layout Standard
10786 Una descripción de estilo de párrafo tiene una aspecto como éste:
10790 \begin_layout Plain Layout
10791 Anotar que esto definirá un nuevo diseño o modificará uno existente.
10799 \begin_layout LyX-Code
10806 \begin_layout LyX-Code
10810 \begin_layout LyX-Code
10814 \begin_layout Standard
10815 donde se permiten los comandos siguientes:
10818 \begin_layout Description
10821 \begin_inset Flex Code
10824 \begin_layout Plain Layout
10833 \begin_inset Flex Code
10836 \begin_layout Plain Layout
10844 =""] This paragraph will appear in the table of contents of the given type.
10845 An empty string disables.
10846 See also the OutlinerName and the IsTocCaption commands.
10850 \begin_layout Description
10851 \begin_inset Flex Code
10854 \begin_layout Plain Layout
10861 \begin_inset Flex Code
10864 \begin_layout Plain Layout
10869 , left, right, center
10874 ] Alineación del párrafo.
10877 \begin_layout Description
10878 \begin_inset Flex Code
10881 \begin_layout Plain Layout
10888 \begin_inset Flex Code
10891 \begin_layout Plain Layout
10896 , left, right, center
10901 ] Una lista separada con comas de alineaciones permitidas.
10902 (Algunos estilos de \SpecialChar LaTeX
10903 prohiben ciertos alineamientos, ya que no tendrían
10905 Por ejemplo una alineación a la derecha o al centro de una lista numerada
10909 \begin_layout Description
10910 \begin_inset Flex Code
10913 \begin_layout Plain Layout
10920 \begin_inset Flex Code
10923 \begin_layout Plain Layout
10929 ] Define el número de argumento de un comando o entorno asociado al estilo
10931 Es útil para cosas como encabezados de sección y solo tiene sentido con
10934 Cada argumento (opcional o requerido) de un comando o entorno —excepto
10935 para el argumento requerido que se asocia con el contenido del propio párrafo—
10936 tiene una definición separada, en la que el número especifica el orden
10938 La definición debe finalizar con
10939 \begin_inset Flex Code
10942 \begin_layout Plain Layout
10949 Así, un comando con dos argumentos opcionales tiene:
10953 \begin_layout Quote
10959 \begin_layout Quote
10965 \begin_layout Quote
10971 \begin_layout Quote
10977 \begin_layout Quote
10983 \begin_layout Quote
10989 \begin_layout Standard
10990 En la definición de
10991 \begin_inset Flex Code
10994 \begin_layout Plain Layout
11000 son posibles las siguientes especificaciones:
11003 \begin_layout Itemize
11004 \begin_inset Flex Code
11007 \begin_layout Plain Layout
11014 \begin_inset Flex Code
11017 \begin_layout Plain Layout
11023 Secuencia que aparecerá tanto en el menú (a insertar este argumento) como
11024 en el botón de inserción del argumento (a menos que especifiques también
11026 \begin_inset Flex Code
11029 \begin_layout Plain Layout
11036 Para el menú puedes definir un acelerador agregando el carácter respectivo
11037 a la secuencia, separado con
11038 \begin_inset Quotes cld
11042 \begin_inset Quotes crd
11046 \begin_inset space \thinspace{}
11050 \begin_inset space \space{}
11054 \begin_inset Quotes cld
11058 \begin_inset Flex Code
11061 \begin_layout Plain Layout
11068 \begin_inset Quotes crd
11074 \begin_layout Itemize
11075 \begin_inset Flex Code
11078 \begin_layout Plain Layout
11085 \begin_inset Flex Code
11088 \begin_layout Plain Layout
11094 Secuencia separada para el menú Puedes definir un acelerador agregando
11095 el carácter respectivo a la secuencia, separado con
11096 \begin_inset Quotes cld
11100 \begin_inset Quotes crd
11104 \begin_inset space \thinspace{}
11108 \begin_inset space \space{}
11112 \begin_inset Quotes cld
11116 \begin_inset Flex Code
11119 \begin_layout Plain Layout
11126 \begin_inset Quotes crd
11130 Esta especificación es opcional.
11131 Si no se da se usará
11132 \begin_inset Flex Code
11135 \begin_layout Plain Layout
11144 \begin_layout Itemize
11145 \begin_inset Flex Code
11148 \begin_layout Plain Layout
11155 \begin_inset Flex Code
11158 \begin_layout Plain Layout
11164 Texto explicativo que se muestra en un recuadro sugerencia al planear sobre
11165 el recuadro del argumento.
11168 \begin_layout Itemize
11169 \begin_inset Flex Code
11172 \begin_layout Plain Layout
11179 \begin_inset Flex Code
11182 \begin_layout Plain Layout
11191 \begin_inset space \thinspace{}
11195 \begin_inset Flex Code
11198 \begin_layout Plain Layout
11204 ] Declara si es argumento obligatorio (1) u opcional (0).
11205 Los argumentos obligatorios se emitirán vacíos si no se dan, mientras que
11206 los opcionales no serán emitidos.
11207 Por omisión, los argumentos obligatorios se delimitan con
11208 \begin_inset Flex Code
11211 \begin_layout Plain Layout
11217 y los opcionales con
11218 \begin_inset Flex Code
11221 \begin_layout Plain Layout
11230 \begin_layout Itemize
11231 \begin_inset Flex Code
11234 \begin_layout Plain Layout
11241 \begin_inset Flex Code
11244 \begin_layout Plain Layout
11250 define otro argumento (por su número) que este argumento requiere para
11251 emitirse si él mismo es emitido.
11253 \begin_inset space \thinspace{}
11256 e., en comandos \SpecialChar LaTeX
11257 , los argumentos opcionales requieren a menudo argumentos
11258 opcionales previos para ser emitidos (al menos vacíos), como en
11259 \begin_inset Newline newline
11263 \begin_inset Flex Code
11266 \begin_layout Plain Layout
11269 command[][argument]{text}
11275 Esto se puede conseguir con la declaración
11276 \begin_inset Flex Code
11279 \begin_layout Plain Layout
11286 \begin_inset Flex Code
11289 \begin_layout Plain Layout
11298 \begin_layout Itemize
11299 \begin_inset Flex Code
11302 \begin_layout Plain Layout
11309 \begin_inset Flex Code
11312 \begin_layout Plain Layout
11318 define un delimitador izquierdo personalizado (en vez de
11319 \begin_inset Flex Code
11322 \begin_layout Plain Layout
11329 \begin_inset Flex Code
11332 \begin_layout Plain Layout
11339 Un salto de línea en la salida se puede indicar con
11340 \begin_inset Flex Code
11343 \begin_layout Plain Layout
11352 \begin_layout Itemize
11353 \begin_inset Flex Code
11356 \begin_layout Plain Layout
11363 \begin_inset Flex Code
11366 \begin_layout Plain Layout
11372 define un delimitador derecho personalizado (en vez de
11373 \begin_inset Flex Code
11376 \begin_layout Plain Layout
11383 \begin_inset Flex Code
11386 \begin_layout Plain Layout
11393 Un salto de línea en la salida se puede indicar con
11394 \begin_inset Flex Code
11397 \begin_layout Plain Layout
11406 \begin_layout Itemize
11407 \begin_inset Flex Code
11410 \begin_layout Plain Layout
11417 \begin_inset Flex Code
11420 \begin_layout Plain Layout
11426 define un argumento que se inserta si y solo si no se han dado argumentos
11427 específicos del usuario, o sea, si no se ha insertado ningún recuadro de
11428 argumento (también un recuadro de argumento vacío omite DefaultArg).
11429 Múltiples argumentos deben separarse con comas.
11432 \begin_layout Itemize
11433 \begin_inset Flex Code
11436 \begin_layout Plain Layout
11443 \begin_inset Flex Code
11446 \begin_layout Plain Layout
11452 define un argumento que se inserta en cualquier caso (solo o añadido a
11453 argumentos especificados por el usuario).
11454 Múltiples argumentos deben separarse con comas.
11457 \begin_layout Itemize
11458 \begin_inset Flex Code
11461 \begin_layout Plain Layout
11467 Tipografía usada para el contenido del argumento, véase
11468 \begin_inset CommandInset ref
11470 reference "subsec:Tipografía"
11477 \begin_layout Itemize
11478 \begin_inset Flex Code
11481 \begin_layout Plain Layout
11487 Tipografía usada para la etiqueta, véase
11488 \begin_inset CommandInset ref
11490 reference "subsec:Tipografía"
11497 \begin_layout Itemize
11498 \begin_inset Flex Code
11501 \begin_layout Plain Layout
11508 \begin_inset Flex Code
11511 \begin_layout Plain Layout
11516 , Minimalistic, Conglomerate
11521 ] describe el estilo de representación para los botones y el marco del recuadro
11525 \begin_layout Itemize
11526 \begin_inset Flex Code
11529 \begin_layout Plain Layout
11536 \begin_inset Flex Code
11539 \begin_layout Plain Layout
11546 \begin_inset Flex Code
11549 \begin_layout Plain Layout
11555 , este argumento se inserta automáticamente cuando se selecciona el estilo
11557 Actualmente solo se puede insertar automaticamente un argumento por estilo\SpecialChar breakableslash
11562 \begin_layout Itemize
11563 \begin_inset Flex Code
11566 \begin_layout Plain Layout
11573 \begin_inset Flex Code
11576 \begin_layout Plain Layout
11583 \begin_inset Flex Code
11586 \begin_layout Plain Layout
11592 , este argumento se insertará con una copia del co-texto (texto seleccionado
11593 o párrafo completo) como contenido.
11596 \begin_layout Itemize
11599 \begin_inset Flex Code
11602 \begin_layout Plain Layout
11611 \begin_inset Flex Code
11614 \begin_layout Plain Layout
11625 ] Whether the contents of this argument should be output in raw form, meaning
11626 without special translations that \SpecialChar LaTeX
11629 \begin_inset Flex Code
11632 \begin_layout Plain Layout
11640 status is inherited by the inset or paragraph layout the argument belongs
11641 to, true and false change the status for the given argument only.
11644 \begin_layout Itemize
11645 \begin_inset Flex Code
11648 \begin_layout Plain Layout
11655 \begin_inset Flex Code
11658 \begin_layout Plain Layout
11659 string of characters
11668 Define caracteres individuales que deberían emitirse en bruto, es decir,
11669 sin traducciones especiales que podría requerir \SpecialChar LaTeX
11671 Al contrario que PassThru, esto debe ser explícitamente definido para argumento
11673 Esto es, los argumentos no heredan PassThruChars de su recuadro de inserción
11677 \begin_layout Itemize
11680 \begin_inset Flex Code
11683 \begin_layout Plain Layout
11692 \begin_inset Flex Code
11695 \begin_layout Plain Layout
11705 \begin_inset space \thinspace{}
11709 \begin_inset Flex Code
11712 \begin_layout Plain Layout
11720 ] If this is set to 1, the argument will output its content in the corresponding
11721 item in the table of contents.
11725 \begin_layout Standard
11726 Por omisión, el texto introducido en el área de trabajo de \SpecialChar LyX
11728 respectivo de formato es el último argumento (obligatorio) de un comando
11730 \begin_inset Flex Code
11733 \begin_layout Plain Layout
11740 \begin_inset Flex Code
11743 \begin_layout Plain Layout
11750 Sin embargo, los argumentos con el prefijo
11751 \begin_inset Flex Code
11754 \begin_layout Plain Layout
11760 se emiten después de este argumento de área de trabajo.
11761 La numeración de este post-argumento reinicia a 1, así que el primer argumento
11762 siguiente al del área de trabajo es
11763 \begin_inset Flex Code
11766 \begin_layout Plain Layout
11773 Los post-argumentos se ignoran en cualquier otro
11774 \begin_inset Flex Code
11777 \begin_layout Plain Layout
11784 \begin_inset Flex Code
11787 \begin_layout Plain Layout
11796 \begin_layout Standard
11797 Los argumentos para
11798 \begin_inset Flex Code
11801 \begin_layout Plain Layout
11809 s de lista (como en
11810 \begin_inset Flex Code
11813 \begin_layout Plain Layout
11821 ) tienen el prefijo
11822 \begin_inset Flex Code
11825 \begin_layout Plain Layout
11831 seguido por el número (p.
11832 \begin_inset space \thinspace{}
11836 \begin_inset space \space{}
11840 \begin_inset Flex Code
11843 \begin_layout Plain Layout
11853 \begin_layout Description
11856 \begin_inset Flex Code
11859 \begin_layout Plain Layout
11867 Includes a comma-separated list of layouts that should be nested in and
11868 after the current layout.
11869 Only makes sense for nestable layouts (such as environments).
11871 \begin_inset Quotes eld
11875 \begin_inset Flex Code
11878 \begin_layout Plain Layout
11887 \begin_inset Quotes erd
11892 \begin_inset Flex Code
11895 \begin_layout Plain Layout
11906 \begin_layout Description
11907 \begin_inset Flex Code
11910 \begin_layout Plain Layout
11916 Esto sobrescribirá completamente cualquier anterior declaración
11917 \begin_inset Newline newline
11921 \begin_inset Flex Code
11924 \begin_layout Plain Layout
11932 \begin_inset Quotes eld
11936 \begin_inset Flex Code
11939 \begin_layout Plain Layout
11946 \begin_inset Quotes erd
11951 \begin_inset space ~
11955 \begin_inset CommandInset ref
11957 reference "subsec:I18n"
11961 para detalles sobre su uso.
11964 \begin_layout Description
11965 \begin_inset Flex Code
11968 \begin_layout Plain Layout
11975 \begin_inset Flex Code
11978 \begin_layout Plain Layout
11988 \begin_layout Plain Layout
11989 Anotar que aquí un 'float' es un número real, como: 1.5.
11994 El espacio vertical con el que el último de una cadena de párrafos con
11995 este estilo se separa del siguiente párrafo.
11996 Si el párrafo siguiente tiene otro estilo, las separaciones no son simplemente
11997 añadidas sino que se pone la máxima.
12000 \begin_layout Description
12001 \begin_inset Flex Code
12004 \begin_layout Plain Layout
12011 \begin_inset Flex Code
12014 \begin_layout Plain Layout
12020 La categoría para este estilo.
12021 Se usa para agrupar estilos relacionados en el recuadro de estilo en la
12022 barra de herramientas.
12023 Se puede poner cualquier cadena en 'string' pero mejor usar categorías
12024 existentes con tus propios estilos.
12027 \begin_layout Description
12028 \begin_inset Flex Code
12031 \begin_layout Plain Layout
12037 Profundidad del comando XML.
12038 Usado solo con formatos tipo XML.
12041 \begin_layout Description
12042 \begin_inset Flex Code
12045 \begin_layout Plain Layout
12052 \begin_inset Flex Code
12055 \begin_layout Plain Layout
12061 Copia todas las características de un estilo existente en el actual.
12065 \begin_layout Description
12066 \begin_inset Flex Code
12069 \begin_layout Plain Layout
12076 \begin_inset Flex Code
12079 \begin_layout Plain Layout
12085 ] El nombre de un estilo cuyo preámbulo debería salir
12090 Esto permite asegurar un orden de los retazos de preámbulo si las definiciones
12091 de macros dependen de otra.
12095 \begin_layout Plain Layout
12096 Anotar que, excepto esta funcionalidad, no hay forma de asegurar ningún
12097 orden de los preámbulos.
12098 El orden que se ve en una versión dada de \SpecialChar LyX
12099 puede cambiar sin previo aviso
12100 en versiones posteriores.
12108 \begin_layout Description
12109 \begin_inset Flex Code
12112 \begin_layout Plain Layout
12119 \begin_inset Flex Code
12122 \begin_layout Plain Layout
12127 , Box, Filled_Box, Static
12132 ] El tipo de etiqueta que se pone al final del párrafo (o secuencia de párrafos
12134 \begin_inset Flex Code
12137 \begin_layout Plain Layout
12144 \begin_inset Flex Code
12147 \begin_layout Plain Layout
12154 \begin_inset Flex Code
12157 \begin_layout Plain Layout
12164 \begin_inset Flex Code
12167 \begin_layout Plain Layout
12175 \begin_inset Flex Code
12178 \begin_layout Plain Layout
12185 \begin_inset Quotes cld
12189 \begin_inset Quotes crd
12193 \begin_inset Flex Code
12196 \begin_layout Plain Layout
12203 \begin_inset Flex Code
12206 \begin_layout Plain Layout
12207 \begin_inset space ~
12215 ) es un cuadrado blanco (resp.
12216 \begin_inset space ~
12219 negro) adecuado para marcas finales de demostraciones,
12220 \begin_inset Flex Code
12223 \begin_layout Plain Layout
12229 es una cadena de texto explícito.
12232 \begin_layout Description
12233 \begin_inset Flex Code
12236 \begin_layout Plain Layout
12243 \begin_inset Flex Code
12246 \begin_layout Plain Layout
12252 ] La secuencia usada para una etiqueta con un
12253 \begin_inset Flex Code
12256 \begin_layout Plain Layout
12263 \begin_inset Flex Code
12266 \begin_layout Plain Layout
12276 \begin_layout Description
12280 \begin_layout Plain Layout
12285 No estoy seguro de que estas configuraciones (Fill_Bottom, Fill_Top) tengan
12286 mucho uso, y probablemente se quitarán en próximas versiones.
12292 \begin_inset Note Note
12295 \begin_layout Plain Layout
12297 \begin_inset Quotes cld
12300 Espacio vertical encima
12301 \begin_inset Quotes crd
12305 \begin_inset Quotes cld
12308 Espacio vertical abajo
12309 \begin_inset Quotes erd
12312 en Editar\SpecialChar menuseparator
12313 Configuración de párrafo, esto parece obsoleto, como dice Jean-Marc
12324 \begin_layout Description
12325 \begin_inset Flex Code
12328 \begin_layout Plain Layout
12334 La tipografía usada para el cuerpo del texto
12340 \begin_inset space ~
12344 \begin_inset CommandInset ref
12346 reference "subsec:Tipografía"
12351 Anotar que al definir esta tipografía se define automáticamente la de la
12353 \begin_inset Flex Code
12356 \begin_layout Plain Layout
12363 Así que debería definirse primero ésta si se quiere definir también
12364 \begin_inset Flex Code
12367 \begin_layout Plain Layout
12376 \begin_layout Description
12377 \begin_inset Flex Code
12380 \begin_layout Plain Layout
12387 \begin_inset Flex Code
12390 \begin_layout Plain Layout
12396 ] Se usa para compatibilizar estilos nuevos a versiones estables de \SpecialChar LyX
12398 La primera versión estable que soporta esta etiqueta es \SpecialChar LyX
12400 El argumento es un número 0, -1 o cualquier valor mayor de cero.
12402 \begin_inset Flex Code
12405 \begin_layout Plain Layout
12411 de un estilo es mayor que cero, se escribirá siempre en la cabecera del
12413 Si un archivo .lyx es leido, las definiciones de estilo de la cabecera del
12414 documento se añaden a la clase de documento.
12415 Por eso, incluso versiones anteriores de \SpecialChar LyX
12416 pueden manejar el estilo.
12418 \begin_inset Flex Code
12421 \begin_layout Plain Layout
12427 es un número de versión: si el estilo es leido, y el número de versión
12428 es menor que el número de versión del estilo existente en la clase de documento
12429 , el nuevo se ignora.
12430 Si el número de versión es mayor, el estilo nuevo reemplaza al existente.
12431 -1 significa un número de versión infinito, o sea, el estilo se usa siempre.
12434 \begin_layout Description
12435 \begin_inset Flex Code
12438 \begin_layout Plain Layout
12447 \begin_inset Flex Code
12450 \begin_layout Plain Layout
12459 \begin_inset space \thinspace{}
12463 \begin_inset Flex Code
12466 \begin_layout Plain Layout
12472 ] Usualmente \SpecialChar LyX
12473 no permite insertar más de un espacio entre palabras, puesto
12474 que un espacio se considera como la separación entre dos palabras, no un
12475 carácter o símbolo por sí mismo.
12476 Esto es una buena cosa pero a veces puede ser molesta, por ejemplo, para
12477 escribir código de programas o de \SpecialChar LaTeX
12479 Por esta razón se puede habilitar
12480 \begin_inset Flex Code
12483 \begin_layout Plain Layout
12490 Anotar que \SpecialChar LyX
12491 creará espacios protegidos para los espacios adicionales en
12492 modos que no sean \SpecialChar LaTeX
12497 \begin_layout Description
12498 \begin_inset Flex Code
12501 \begin_layout Plain Layout
12507 Para la salida XHTML.
12509 \begin_inset CommandInset ref
12511 reference "subsec:Estilos-de-párrafo-XHTML"
12518 \begin_layout Description
12519 \begin_inset Flex Code
12522 \begin_layout Plain Layout
12528 [[FIXME]] (Usado solo con formatos tipo XML.)
12531 \begin_layout Description
12532 \begin_inset Flex Code
12535 \begin_layout Plain Layout
12544 \begin_inset Flex Code
12547 \begin_layout Plain Layout
12558 \begin_inset space \thinspace{}
12562 \begin_inset Flex Code
12565 \begin_layout Plain Layout
12572 \begin_inset Flex Code
12575 \begin_layout Plain Layout
12581 , marca el estilo para ser incluido en el preámbulo del documento en lugar
12582 de en el cuerpo del documento.
12583 Útil para clases de documento que piden informaciones tales como título
12584 y autor en el preámbulo.
12585 Esto solo funciona para estilos para los que
12586 \begin_inset Flex Code
12589 \begin_layout Plain Layout
12596 \begin_inset Flex Code
12599 \begin_layout Plain Layout
12606 \begin_inset Flex Code
12609 \begin_layout Plain Layout
12618 \begin_layout Description
12619 \begin_inset Flex Code
12622 \begin_layout Plain Layout
12631 \begin_inset Flex Code
12634 \begin_layout Plain Layout
12645 \begin_inset space \thinspace{}
12649 \begin_inset Flex Code
12652 \begin_layout Plain Layout
12659 \begin_inset Flex Code
12662 \begin_layout Plain Layout
12668 , marca el estilo como parte de un bloque de título (véanse también las
12670 \begin_inset Flex Code
12673 \begin_layout Plain Layout
12680 \begin_inset Flex Code
12683 \begin_layout Plain Layout
12692 \begin_layout Description
12695 \begin_inset Flex Code
12698 \begin_layout Plain Layout
12706 Includes a comma-separated list of layouts after which this one should
12708 Only makes sense with regard to nestable layouts (such as environments).
12710 \begin_inset Quotes eld
12714 \begin_inset Flex Code
12717 \begin_layout Plain Layout
12726 \begin_inset Quotes erd
12731 \begin_inset Flex Code
12734 \begin_layout Plain Layout
12745 \begin_layout Description
12748 \begin_inset Flex Code
12751 \begin_layout Plain Layout
12760 \begin_inset Flex Code
12763 \begin_layout Plain Layout
12773 \begin_inset space \thinspace{}
12777 \begin_inset Flex Code
12780 \begin_layout Plain Layout
12788 ] If this is set to 1 and AddToToc is enabled, the paragraph adds a summary
12789 of its contents in its item in the table of contents.
12790 Otherwise, only the label, if it exists, appears.
12793 \begin_layout Description
12794 \begin_inset Flex Code
12797 \begin_layout Plain Layout
12804 \begin_inset Flex Code
12807 \begin_layout Plain Layout
12813 ] La secuencia de comando \SpecialChar LaTeX
12814 que declara un ítem en una lista.
12815 El comando es para ser definido sin la barra invertida (por omisión es
12817 \begin_inset Quotes eld
12821 \begin_inset Quotes erd
12825 \begin_inset Flex Code
12828 \begin_layout Plain Layout
12836 en la salida \SpecialChar LaTeX
12840 \begin_layout Description
12841 \begin_inset Flex Code
12844 \begin_layout Plain Layout
12851 \begin_inset Flex Code
12854 \begin_layout Plain Layout
12860 ] Esto proporciona espacio extra entre párrafos que tienen el mismo formato.
12861 Si se ponen otros formatos en un entorno, cada uno es separado con el comando
12863 \begin_inset Flex Code
12866 \begin_layout Plain Layout
12873 Pero el conjunto de los ítems del entorno son separados adicionalmente
12875 \begin_inset Flex Code
12878 \begin_layout Plain Layout
12885 Anotar que esto es un
12890 \begin_layout Description
12891 \begin_inset Flex Code
12894 \begin_layout Plain Layout
12900 [[FIXME]] (Usado solo con formatos tipo XML.)
12903 \begin_layout Description
12904 \begin_inset Flex Code
12907 \begin_layout Plain Layout
12916 \begin_inset Flex Code
12919 \begin_layout Plain Layout
12930 \begin_inset space \thinspace{}
12934 \begin_inset Flex Code
12937 \begin_layout Plain Layout
12943 ] Habitualmente, \SpecialChar LyX
12944 no permite dejar un párrafo vacío, porque llevaría a una
12945 salida de \SpecialChar LaTeX
12947 Sin embargo, hay algunos casos donde podría ser útil: en una plantilla
12948 de carta, los campos requeridos pueden proporcionarse vacíos, así el usuario
12949 no los olvida; en algunos casos especiales, se puede usar un estilo que
12950 no contiene texto real como una especie de salto.
12953 \begin_layout Description
12954 \begin_inset Flex Code
12957 \begin_layout Plain Layout
12964 \begin_inset Flex Code
12967 \begin_layout Plain Layout
12973 ] El espacio vertical entre la etiqueta y el cuerpo del texto.
12974 Solo se usa para etiquetas que están sobre el cuerpo del texto (
12975 \begin_inset Flex Code
12978 \begin_layout Plain Layout
12985 \begin_inset Flex Code
12988 \begin_layout Plain Layout
12989 Centered_Top_Environment
12997 \begin_layout Description
12998 \begin_inset Flex Code
13001 \begin_layout Plain Layout
13008 \begin_inset Flex Code
13011 \begin_layout Plain Layout
13017 ] El nombre del contador para numeración automática.
13018 Con el fin de que el contador aparezca con su etiqueta, deberás referenciarla
13020 \begin_inset Flex Code
13023 \begin_layout Plain Layout
13030 Esto funcionará con
13031 \begin_inset Flex Code
13034 \begin_layout Plain Layout
13041 \begin_inset Flex Code
13044 \begin_layout Plain Layout
13051 \begin_inset Flex Code
13054 \begin_layout Plain Layout
13061 \begin_inset Flex Code
13064 \begin_layout Plain Layout
13071 \begin_inset Newline newline
13079 \begin_inset Flex Code
13082 \begin_layout Plain Layout
13089 \begin_inset Flex Code
13092 \begin_layout Plain Layout
13098 , aunque este caso es un poco complicado.
13099 Supongamos que declaras
13100 \begin_inset Quotes eld
13104 \begin_inset Flex Code
13107 \begin_layout Plain Layout
13108 LabelCounter myenum
13114 \begin_inset Quotes erd
13118 Entonces, los contadores reales usados son
13119 \begin_inset Flex Code
13122 \begin_layout Plain Layout
13129 \begin_inset Flex Code
13132 \begin_layout Plain Layout
13139 \begin_inset Flex Code
13142 \begin_layout Plain Layout
13149 \begin_inset Flex Code
13152 \begin_layout Plain Layout
13158 , como en \SpecialChar LaTeX
13160 Estos contadores deben declararse todos por separado.
13161 \begin_inset Newline newline
13165 \begin_inset CommandInset ref
13167 reference "subsec:Contadores"
13171 para detalles sobre contadores
13174 \begin_layout Description
13175 \begin_inset Flex Code
13178 \begin_layout Plain Layout
13184 La tipografía usada para la etiqueta.
13186 \begin_inset space ~
13190 \begin_inset CommandInset ref
13192 reference "subsec:Tipografía"
13199 \begin_layout Description
13200 \begin_inset Flex Code
13203 \begin_layout Plain Layout
13210 \begin_inset Flex Code
13213 \begin_layout Plain Layout
13219 ] Texto que indica cuánto se debe sangrar una etiqueta.
13222 \begin_layout Description
13223 \begin_inset Flex Code
13226 \begin_layout Plain Layout
13233 \begin_inset Flex Code
13236 \begin_layout Plain Layout
13242 ] Texto que indica el valor de espacio horizontal entre la etiqueta y el
13244 Solo se usa para etiquetas que no están sobre el cuerpo del texto.
13247 \begin_layout Description
13248 \begin_inset Flex Code
13251 \begin_layout Plain Layout
13258 \begin_inset Flex Code
13261 \begin_layout Plain Layout
13267 ] La cadena usada para una etiqueta del
13268 \begin_inset Flex Code
13271 \begin_layout Plain Layout
13278 \begin_inset Flex Code
13281 \begin_layout Plain Layout
13289 \begin_inset Flex Code
13292 \begin_layout Plain Layout
13298 está establecido, esta cadena puede contener los comandos especiales de
13299 formato descritos en la sección
13300 \begin_inset space ~
13304 \begin_inset CommandInset ref
13306 reference "subsec:Contadores"
13313 \begin_layout Description
13314 \begin_inset Flex Code
13317 \begin_layout Plain Layout
13318 LabelStringAppendix
13324 \begin_inset Flex Code
13327 \begin_layout Plain Layout
13333 ] Esta se usa en el apéndice en vez de
13334 \begin_inset Flex Code
13337 \begin_layout Plain Layout
13344 Anotar que toda declaración de
13345 \begin_inset Flex Code
13348 \begin_layout Plain Layout
13354 reconfigura también
13355 \begin_inset Newline newline
13359 \begin_inset Flex Code
13362 \begin_layout Plain Layout
13363 LabelStringAppendix
13371 \begin_layout Description
13372 \begin_inset Flex Code
13375 \begin_layout Plain Layout
13381 [FIXME] (Usado solo con formatos tipo XML.)
13384 \begin_layout Description
13385 \begin_inset Flex Code
13388 \begin_layout Plain Layout
13395 \begin_inset Flex Code
13398 \begin_layout Plain Layout
13403 , Manual, Static, Above,
13404 \begin_inset Newline newline
13407 Centered, Sensitive, Enumerate,
13408 \begin_inset Newline newline
13411 Itemize, Bibliography
13420 \begin_layout Description
13421 \begin_inset Flex Code
13424 \begin_layout Plain Layout
13430 significa que la etiqueta es la primera palabra (hasta elprimer espacio
13432 Usa espacios protegidos si quieres más de una palabra como etiqueta.
13436 \begin_layout Description
13437 \begin_inset Flex Code
13440 \begin_layout Plain Layout
13446 significa que la etiqueta es simplemente cualquier
13447 \begin_inset Flex Code
13450 \begin_layout Plain Layout
13456 declarado como tal.
13458 \begin_inset Quotes cld
13462 \begin_inset Quotes crd
13465 al comienzo del párrafo.
13467 \begin_inset Flex Code
13470 \begin_layout Plain Layout
13477 \begin_inset Flex Code
13480 \begin_layout Plain Layout
13486 , entonces se mostrará solo en el primer párrafo de cualquier secuencia
13487 de párrafos con el mismo
13488 \begin_inset Flex Code
13491 \begin_layout Plain Layout
13500 \begin_layout Description
13501 \begin_inset Flex Code
13504 \begin_layout Plain Layout
13511 \begin_inset space ~
13515 \begin_inset space ~
13519 \begin_inset Flex Code
13522 \begin_layout Plain Layout
13528 son casos especiales de
13529 \begin_inset Flex Code
13532 \begin_layout Plain Layout
13539 La etiqueta se imprimirá encima del párrafo, o al inicio de línea o centrado.
13543 \begin_layout Description
13544 \begin_inset Flex Code
13547 \begin_layout Plain Layout
13553 es un caso especial para las etiquetas de las leyendas de
13554 \begin_inset Quotes cld
13558 \begin_inset Quotes crd
13562 \begin_inset Quotes cld
13566 \begin_inset Quotes crd
13571 \begin_inset Flex Code
13574 \begin_layout Plain Layout
13580 quiere decir que la cadena (en código) de la etiqueta depende de la clase
13581 de flotante: Está codificado para ser `FloatType N', donde N es el valor
13582 del contador asociado al flotante.
13583 En el caso en que la leyenda se inserte adosada a un flotante
13584 \begin_inset Flex Code
13587 \begin_layout Plain Layout
13594 \begin_inset Quotes cld
13598 \begin_inset Quotes crd
13604 \begin_layout Description
13605 \begin_inset Flex Code
13608 \begin_layout Plain Layout
13614 produce los tipos habituales de etiquetas de enumeración.
13617 The number type needs to be set in the
13623 \begin_inset CommandInset ref
13625 reference "subsec:Contadores"
13632 \begin_layout Description
13633 \begin_inset Flex Code
13636 \begin_layout Plain Layout
13642 produce varias marcas para los distintos niveles.
13645 The bullet types displayed can be set via
13648 \begin_inset Flex Noun
13651 \begin_layout Plain Layout
13652 Documento\SpecialChar menuseparator
13653 Configuratción\SpecialChar menuseparator
13662 \begin_layout Description
13663 \begin_inset Flex Code
13666 \begin_layout Plain Layout
13672 solo debería emplearse con
13673 \begin_inset Flex Code
13676 \begin_layout Plain Layout
13677 LatexType BibEnvironment
13686 \begin_layout Description
13687 \begin_inset Flex Code
13690 \begin_layout Plain Layout
13696 Esto sobrescribirá completamente cualquier declaración anterior de
13697 \begin_inset Flex Code
13700 \begin_layout Plain Layout
13708 \begin_inset Quotes eld
13712 \begin_inset Flex Code
13715 \begin_layout Plain Layout
13722 \begin_inset Quotes erd
13727 \begin_inset CommandInset ref
13729 reference "subsec:I18n"
13733 para detallessobre su uso.
13736 \begin_layout Description
13737 \begin_inset Flex Code
13740 \begin_layout Plain Layout
13747 \begin_inset Flex Code
13750 \begin_layout Plain Layout
13756 ] El nombre correspondiente en \SpecialChar LaTeX
13757 , ya sea de un comando o de un entorno.
13760 \begin_layout Description
13761 \begin_inset Flex Code
13764 \begin_layout Plain Layout
13771 \begin_inset Flex Code
13774 \begin_layout Plain Layout
13780 ] Un parámetro opcional para el correspondiente
13781 \begin_inset Flex Code
13784 \begin_layout Plain Layout
13791 Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
13793 \begin_inset Flex Code
13796 \begin_layout Plain Layout
13802 para parámetros personalizables).
13803 Se emitirá como tal tras todos los
13804 \begin_inset Flex Code
13807 \begin_layout Plain Layout
13817 \begin_layout Description
13818 \begin_inset Flex Code
13821 \begin_layout Plain Layout
13828 \begin_inset Flex Code
13831 \begin_layout Plain Layout
13836 , Command, Environment, Item_Environment,
13837 \begin_inset Newline newline
13840 List_Environment, Bib_Environment
13845 ] Cómo debería traducirse el estilo a \SpecialChar LaTeX
13850 \begin_layout Plain Layout
13851 \begin_inset Flex Code
13854 \begin_layout Plain Layout
13860 es un poco engañoso porque estas reglas se aplican también a clases SGML.
13861 Consulta los archivos de clases SGML (archivos de nombre
13862 \begin_inset Flex Code
13865 \begin_layout Plain Layout
13871 ) para ejemplos concretos.
13880 \begin_layout Description
13881 \begin_inset Flex Code
13884 \begin_layout Plain Layout
13890 no significa nada especial.
13893 \begin_layout Description
13894 \begin_inset Flex Code
13897 \begin_layout Plain Layout
13904 \begin_inset Flex Code
13907 \begin_layout Plain Layout
13914 {\SpecialChar ldots
13923 \begin_layout Description
13924 \begin_inset Flex Code
13927 \begin_layout Plain Layout
13934 \begin_inset Flex Code
13937 \begin_layout Plain Layout
13944 }\SpecialChar ldots
13959 \begin_layout Description
13960 \begin_inset Flex Code
13963 \begin_layout Plain Layout
13970 \begin_inset Flex Code
13973 \begin_layout Plain Layout
13980 \begin_inset Flex Code
13983 \begin_layout Plain Layout
13991 se genera para cada párrafo de este entorno.
13994 \begin_layout Description
13995 \begin_inset Flex Code
13998 \begin_layout Plain Layout
14005 \begin_inset Flex Code
14008 \begin_layout Plain Layout
14015 \begin_inset Newline newline
14019 \begin_inset Flex Code
14022 \begin_layout Plain Layout
14028 se pasa como un argumento al entorno.
14029 \begin_inset Newline newline
14033 \begin_inset Flex Code
14036 \begin_layout Plain Layout
14042 puede definirse en el diálogo
14043 \begin_inset Flex Noun
14046 \begin_layout Plain Layout
14047 Editar\SpecialChar menuseparator
14048 Configuración de párrafos
14056 \begin_layout Description
14057 \begin_inset Flex Code
14060 \begin_layout Plain Layout
14067 \begin_inset Flex Code
14070 \begin_layout Plain Layout
14076 pero añade además el argumento obligatorio necesario (la etiqueta más larga)
14081 del entorno bibliografía:
14082 \begin_inset Newline newline
14086 \begin_inset Flex Code
14089 \begin_layout Plain Layout
14092 begin{thebibliography}{99}
14097 Por tanto solo es útil para entornos de bibliografía.
14098 La etiqueta más larga predeterminada
14099 \begin_inset Quotes cld
14103 \begin_inset Quotes crd
14106 puede cambiarla el usuario en la configuración de párrafo de un ítem bibliográf
14110 \begin_layout Standard
14111 Poniendo juntas las últimas cosas, la salida \SpecialChar LaTeX
14115 \begin_layout LyX-Code
14118 LatexName[LatexParam]{\SpecialChar ldots
14122 \begin_layout Standard
14126 \begin_layout LyX-Code
14129 begin{LatexName}[LatexParam] \SpecialChar ldots
14135 \begin_layout Standard
14136 dependiendo del tipo de \SpecialChar LaTeX
14141 \begin_layout Description
14142 \begin_inset Flex Code
14145 \begin_layout Plain Layout
14152 \begin_inset Flex Code
14155 \begin_layout Plain Layout
14161 ] Secuencia que se pone al inicio del contenido del estilo.
14162 Un salto de línea en la salida puede indicarse con
14163 \begin_inset Flex Code
14166 \begin_layout Plain Layout
14175 \begin_layout Description
14176 \begin_inset Flex Code
14179 \begin_layout Plain Layout
14186 \begin_inset Flex Code
14189 \begin_layout Plain Layout
14195 ] Si pones estilos en entornos, los
14196 \begin_inset Flex Code
14199 \begin_layout Plain Layout
14205 no son simplemente añadidos, sino aumentados en un factor
14206 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
14210 Anotar que este parámetro se usa también cuando
14211 \begin_inset Flex Code
14214 \begin_layout Plain Layout
14221 \begin_inset Flex Code
14224 \begin_layout Plain Layout
14231 \begin_inset Flex Code
14234 \begin_layout Plain Layout
14241 En ese caso se añade al margen manual o dinámico.
14242 \begin_inset Newline newline
14246 \begin_inset Quotes cld
14250 \begin_inset Flex Code
14253 \begin_layout Plain Layout
14260 \begin_inset Quotes crd
14263 significa que el párrafo se sangra con la anchura de
14264 \begin_inset Quotes cld
14268 \begin_inset Flex Code
14271 \begin_layout Plain Layout
14278 \begin_inset Quotes crd
14281 en la tipografía normal.
14282 Se puede obtener una anchura negativa anteponiendo
14283 \begin_inset Quotes cld
14287 \begin_inset Flex Code
14290 \begin_layout Plain Layout
14297 \begin_inset Quotes crd
14301 Se eligió este método para que el aspecto sea el mismo con cada una de
14302 las tipografías de pantalla usadas.
14305 \begin_layout Description
14306 \begin_inset Flex Code
14309 \begin_layout Plain Layout
14316 \begin_inset Flex Code
14319 \begin_layout Plain Layout
14324 , Manual, Dynamic, First_Dynamic, Right_Address_Box
14330 \begin_inset Newline newline
14333 El tipo de margen que el estilo tiene en el lado izquierdo.
14337 \begin_layout Description
14338 \begin_inset Flex Code
14341 \begin_layout Plain Layout
14347 significa un margen fijo.
14350 \begin_layout Description
14351 \begin_inset Flex Code
14354 \begin_layout Plain Layout
14360 significa que el margen izquierdo depende de la cadena introducida en el
14362 \begin_inset Flex Noun
14365 \begin_layout Plain Layout
14366 Editar\SpecialChar menuseparator
14367 Configuración del párrafo\SpecialChar ldots
14374 Esto se utiliza para componer bonitas listas sin tabuladores.
14377 \begin_layout Description
14378 \begin_inset Flex Code
14381 \begin_layout Plain Layout
14387 significa que el margen depende del tamaño de la etiqueta.
14388 Esto se usa para las cabeceras automáticas de las listas numeradas.
14389 Es obvio que la cabecera
14390 \begin_inset Quotes cld
14393 5.4.3.2.1 Cabecera muy larga
14394 \begin_inset Quotes crd
14397 debe tener un margen izquierdo más amplio (tan ancho como
14398 \begin_inset Quotes cld
14402 \begin_inset Quotes crd
14405 más el espacio) que
14406 \begin_inset Quotes cld
14409 3.2 Cabecera muy larga
14410 \begin_inset Quotes crd
14414 \begin_inset Quotes cld
14417 procesadores de texto
14418 \begin_inset Quotes crd
14421 corrientes no sean capaces de hacer esto.
14424 \begin_layout Description
14425 \begin_inset Flex Code
14428 \begin_layout Plain Layout
14434 es similar, pero solo la primera fila del párrafo es dinámica, mientras
14435 que las demás son estáticas; esto se emplea, por ejemplo, para descripciones.
14438 \begin_layout Description
14439 \begin_inset Flex Code
14442 \begin_layout Plain Layout
14448 significa que el margen se elige de manera que la fila más larga de este
14449 párrafo se adapte al margen derecho.
14450 Esto se emplea para componer una dirección en el lado derecho de la página.
14455 \begin_layout Description
14456 \begin_inset Flex Code
14459 \begin_layout Plain Layout
14466 \begin_inset Flex Code
14469 \begin_layout Plain Layout
14478 \begin_inset space \thinspace{}
14482 \begin_inset Flex Code
14485 \begin_layout Plain Layout
14491 ] Si los comandos frágiles en este estilo deberían ser protegidos,
14492 \begin_inset Flex Code
14495 \begin_layout Plain Layout
14508 si este comando debería él mismo ser protegido.)
14511 \begin_layout Description
14512 \begin_inset Flex Code
14515 \begin_layout Plain Layout
14522 \begin_inset Flex Code
14525 \begin_layout Plain Layout
14532 \begin_inset space \thinspace{}
14536 \begin_inset Flex Code
14539 \begin_layout Plain Layout
14547 ] Si las líneas nuevas se transforman en líneas nuevas \SpecialChar LaTeX
14549 \begin_inset Flex Code
14552 \begin_layout Plain Layout
14563 La transformación puede desactivarse para permitir una edición más confortable
14564 de \SpecialChar LaTeX
14565 en \SpecialChar LyX
14569 \begin_layout Description
14570 \begin_inset Flex Code
14573 \begin_layout Plain Layout
14580 \begin_inset Flex Code
14583 \begin_layout Plain Layout
14592 \begin_inset space \thinspace{}
14596 \begin_inset Flex Code
14599 \begin_layout Plain Layout
14605 ] Si se permite sangrar la primera fila del párrafo siguiente.
14607 \begin_inset Flex Code
14610 \begin_layout Plain Layout
14616 significa que no se permite hacerlo;
14617 \begin_inset Flex Code
14620 \begin_layout Plain Layout
14626 significa que puede hacerse si se desea.
14629 \begin_layout Description
14630 \begin_inset Flex Code
14633 \begin_layout Plain Layout
14640 \begin_inset Flex Code
14643 \begin_layout Plain Layout
14649 ] Nombre de un estilo que ha reemplazado este estilo.
14650 Esto se emplea para renombrar un estilo, mientras que se mantiene compatibilida
14654 \begin_layout Description
14655 \begin_inset Flex Code
14658 \begin_layout Plain Layout
14665 \begin_inset Flex Code
14668 \begin_layout Plain Layout
14675 \begin_inset space \thinspace{}
14679 \begin_inset Flex Code
14682 \begin_layout Plain Layout
14688 ] Determina si párrafos consecutivos del mismo tipo se tratan como si fueran
14690 Esto tiene el efecto de que
14691 \begin_inset Flex Code
14694 \begin_layout Plain Layout
14700 solo se imprime una vez delante de tal grupo.
14701 Por omisión, esto es así para
14702 \begin_inset Flex Code
14705 \begin_layout Plain Layout
14712 \begin_inset Flex Code
14715 \begin_layout Plain Layout
14722 \begin_inset Flex Code
14725 \begin_layout Plain Layout
14731 y no lo es para los demás tipos.
14734 \begin_layout Description
14735 \begin_inset Flex Code
14738 \begin_layout Plain Layout
14745 \begin_inset Flex Code
14748 \begin_layout Plain Layout
14757 \begin_inset space \thinspace{}
14761 \begin_inset Flex Code
14764 \begin_layout Plain Layout
14770 ] Indica que los párrafos no serán separados por una línea vacía en la salida
14772 , solo por un salto de línea; junto con
14773 \begin_inset Flex Code
14776 \begin_layout Plain Layout
14782 , esto permite emular un editor de texto simple (como un recuadro ERT).
14785 \begin_layout Description
14786 \begin_inset Flex Code
14789 \begin_layout Plain Layout
14796 \begin_inset Flex Code
14799 \begin_layout Plain Layout
14805 ] El sangrado de la primera línea de un párrafo.
14807 \begin_inset Flex Code
14810 \begin_layout Plain Layout
14816 estará fijado para un determinado estilo.
14817 La excepción es el estilo
14818 \begin_inset Flex Code
14821 \begin_layout Plain Layout
14827 , puesto que la sangría de un párrafo de estilo
14828 \begin_inset Flex Code
14831 \begin_layout Plain Layout
14837 puede prohibirse con
14838 \begin_inset Flex Code
14841 \begin_layout Plain Layout
14848 Además, los párrafos de estilo
14849 \begin_inset Flex Code
14852 \begin_layout Plain Layout
14858 dentro de entornos usan la sangría
14859 \begin_inset Flex Code
14862 \begin_layout Plain Layout
14868 del entorno, no su propio valor.
14869 Por ejemplo, los párrafos
14870 \begin_inset Flex Code
14873 \begin_layout Plain Layout
14879 en una enumeración no se sangran.
14882 \begin_layout Description
14883 \begin_inset Flex Code
14886 \begin_layout Plain Layout
14893 \begin_inset Flex Code
14896 \begin_layout Plain Layout
14902 ] El espacio vertical entre dos párrafos de este estilo.
14905 \begin_layout Description
14906 \begin_inset Flex Code
14909 \begin_layout Plain Layout
14916 \begin_inset Flex Code
14919 \begin_layout Plain Layout
14926 permite al usuario elegir entre
14927 \begin_inset Quotes cld
14931 \begin_inset Quotes crd
14935 \begin_inset Quotes cld
14939 \begin_inset Quotes crd
14942 para separar párrafos.
14944 \begin_inset Quotes cld
14948 \begin_inset Quotes crd
14951 , este valor es completamente ignorado.
14953 \begin_inset Quotes cld
14957 \begin_inset Quotes crd
14960 , el sangrado de un estilo tipo
14961 \begin_inset Quotes cld
14965 \begin_inset Quotes crd
14968 de \SpecialChar LaTeX
14969 se ignora y todos los párrafos son separados con este argumento
14970 \begin_inset Quotes cld
14974 \begin_inset Quotes crd
14978 El espacio vertical se calcula con
14979 \begin_inset Flex Code
14982 \begin_layout Plain Layout
14984 \begin_inset space ~
14993 \begin_inset Flex Code
14996 \begin_layout Plain Layout
15002 es la altura de una fila con la tipografía normal.
15003 De esta forma, el aspecto queda igual con diferentes tipografías de pantalla.
15006 \begin_layout Description
15007 \begin_inset Flex Code
15010 \begin_layout Plain Layout
15019 \begin_inset Flex Code
15022 \begin_layout Plain Layout
15033 \begin_inset space \thinspace{}
15037 \begin_inset Flex Code
15040 \begin_layout Plain Layout
15046 ] Si el contenido de este párrafo debería aparecer en la salida en forma
15047 cruda, es decir sin las traducciones especiales que \SpecialChar LaTeX
15051 \begin_layout Description
15052 \begin_inset Flex Code
15055 \begin_layout Plain Layout
15062 \begin_inset Flex Code
15065 \begin_layout Plain Layout
15075 Define caracteres individuales que deberían emitirse en bruto, o sea, sin
15076 traducciones especiales que \SpecialChar LaTeX
15080 \begin_layout Description
15081 \begin_inset Flex Code
15084 \begin_layout Plain Layout
15090 Información a incluir en el preámbulo \SpecialChar LaTeX
15091 cuando se usa este estilo.
15092 Utilizado para definir macros, paquetes a cargar, etc., requeridos por este
15093 estilo en particular.
15095 \begin_inset Quotes cld
15099 \begin_inset Flex Code
15102 \begin_layout Plain Layout
15109 \begin_inset Quotes crd
15115 \begin_layout Description
15116 \begin_inset Flex Code
15119 \begin_layout Plain Layout
15126 \begin_inset Flex Code
15129 \begin_layout Plain Layout
15135 ] El prefijo a usar cuando se crean etiquetas que se refieren a párrafos
15137 Esto permite el uso de referencias con formato.
15140 \begin_layout Description
15141 \begin_inset Flex Code
15144 \begin_layout Plain Layout
15153 \begin_inset Flex Code
15156 \begin_layout Plain Layout
15164 Si el estilo requiere la característica
15165 \begin_inset Flex Code
15168 \begin_layout Plain Layout
15175 \begin_inset CommandInset ref
15177 reference "cap:Lista-de-funciones"
15182 Si necesitas un paquete con opciones específicas puedes usar además
15183 \begin_inset Flex Code
15186 \begin_layout Plain Layout
15192 como un parámetro de clase de texto general (véase
15193 \begin_inset CommandInset ref
15195 reference "subsec:Parámetros-generales-clases"
15202 \begin_layout Description
15203 \begin_inset Flex Code
15206 \begin_layout Plain Layout
15213 \begin_inset Flex Code
15216 \begin_layout Plain Layout
15225 \begin_inset Flex Code
15228 \begin_layout Plain Layout
15234 ] Reinicia los argumentos de este estilo (como definido mediante la etiqueta
15236 \begin_inset Flex Code
15239 \begin_layout Plain Layout
15246 Es útil si has copiado un estilo mediante
15247 \begin_inset Flex Code
15250 \begin_layout Plain Layout
15256 , pero no quieres heredar sus argumentos (requerido y opcional).
15259 \begin_layout Description
15262 \begin_inset Flex Code
15265 \begin_layout Plain Layout
15274 \begin_inset Flex Code
15277 \begin_layout Plain Layout
15287 \begin_inset Flex Code
15290 \begin_layout Plain Layout
15298 ] Resumes a counter that is usually reset at each new sequence of layouts.
15299 This is currently only useful when
15300 \begin_inset Flex Code
15303 \begin_layout Plain Layout
15312 \begin_inset Flex Code
15315 \begin_layout Plain Layout
15326 \begin_layout Description
15327 \begin_inset Flex Code
15330 \begin_layout Plain Layout
15337 \begin_inset Flex Code
15340 \begin_layout Plain Layout
15346 ] Secuencia que se pone al final del contenido del formato.
15347 Un salto de línea en la salida se puede indicar con
15348 \begin_inset Flex Code
15351 \begin_layout Plain Layout
15360 \begin_layout Description
15361 \begin_inset Flex Code
15364 \begin_layout Plain Layout
15371 \begin_inset Flex Code
15374 \begin_layout Plain Layout
15381 \begin_inset Flex Code
15384 \begin_layout Plain Layout
15393 \begin_layout Description
15394 \begin_inset Flex Code
15397 \begin_layout Plain Layout
15404 \begin_inset Flex Code
15407 \begin_layout Plain Layout
15416 \begin_inset Flex Code
15419 \begin_layout Plain Layout
15426 \begin_inset Flex Code
15429 \begin_layout Plain Layout
15436 \begin_inset Flex Code
15439 \begin_layout Plain Layout
15441 \begin_inset space ~
15449 ] Esto define cuál debería ser el espacio predefinido en el estilo.
15451 \begin_inset Flex Code
15454 \begin_layout Plain Layout
15461 \begin_inset Flex Code
15464 \begin_layout Plain Layout
15471 \begin_inset Flex Code
15474 \begin_layout Plain Layout
15480 corresponden respectivamente a un multiplicador de 1, 1.25 y 1.667.
15481 Si se especifica el argumento
15482 \begin_inset Flex Code
15485 \begin_layout Plain Layout
15491 , entonces se debería proporcionar además un argumento numérico que será
15492 el valor real del multiplicador.
15493 Anotar que, al contrario que otros parámetros,
15494 \begin_inset Flex Code
15497 \begin_layout Plain Layout
15503 implica la generación de código \SpecialChar LaTeX
15504 específico, usando el paquete \SpecialChar LaTeX
15506 \begin_inset Flex Code
15509 \begin_layout Plain Layout
15518 \begin_layout Description
15519 \begin_inset Flex Code
15522 \begin_layout Plain Layout
15529 \begin_inset Flex Code
15532 \begin_layout Plain Layout
15541 \begin_inset space \thinspace{}
15547 \begin_inset Flex Code
15550 \begin_layout Plain Layout
15558 ] Corrección ortográfica de párrafos de este estilo.
15562 \begin_layout Description
15565 \begin_inset Flex Code
15568 \begin_layout Plain Layout
15577 \begin_inset Flex Code
15580 \begin_layout Plain Layout
15590 \begin_inset Flex Code
15593 \begin_layout Plain Layout
15601 ] Steps the master counter of a given counter at the beginning of a new
15602 sequence of layouts.
15603 This is currently only useful when
15604 \begin_inset Flex Code
15607 \begin_layout Plain Layout
15616 \begin_inset Flex Code
15619 \begin_layout Plain Layout
15630 \begin_layout Description
15631 \begin_inset Flex Code
15634 \begin_layout Plain Layout
15640 La tipografía para el cuerpo del texto.
15642 \begin_inset CommandInset ref
15644 reference "subsec:Tipografía"
15651 \begin_layout Description
15652 \begin_inset Flex Code
15655 \begin_layout Plain Layout
15662 \begin_inset Flex Code
15665 \begin_layout Plain Layout
15671 ] El nivel del estilo en el índice general.
15672 Esto se usa para la numeración automática de los encabezados de sección.
15675 \begin_layout Description
15676 \begin_inset Flex Code
15679 \begin_layout Plain Layout
15688 \begin_inset Flex Code
15691 \begin_layout Plain Layout
15700 \begin_inset Flex Code
15703 \begin_layout Plain Layout
15710 \begin_inset Flex Code
15713 \begin_layout Plain Layout
15719 ] Esta etiqueta determina si la sangría de primera línea de este párrafo
15720 puede conmutarse en el diálogo de configuración del párrafo.
15724 \begin_inset Flex Code
15727 \begin_layout Plain Layout
15737 , la sangría puede conmutarse si la configuración del documento usa estilo
15739 \begin_inset Quotes cld
15743 \begin_inset Quotes crd
15747 \begin_inset Flex Code
15750 \begin_layout Plain Layout
15756 , la sangría se puede conmutar siempre, no importa la configuración del
15758 \begin_inset Flex Code
15761 \begin_layout Plain Layout
15767 , la sangría nunca se puede conmutar.
15770 \begin_layout Description
15771 \begin_inset Flex Code
15774 \begin_layout Plain Layout
15781 \begin_inset Flex Code
15784 \begin_layout Plain Layout
15790 ] El espacio vertical con el que el primero de una cadena de párrafos con
15791 este estilo se separa del párrafo anterior.
15792 Si el párrafo anterior tiene otro estilo, la separación no es simplemente
15793 añadida, sino que se pone la máxima.
15796 \begin_layout Subsection
15797 Internacionalización de estilos de párrafo
15798 \begin_inset CommandInset label
15807 \begin_layout Standard
15809 ha soportado desde hace tiempo la internacionalización de la información
15810 de formato, pero, hasta la versión 2.0, esto se aplicaba solo a la interfaz
15811 de usuario y no a la salida, digamos, PDF.
15812 Así, por ej., autores franceses tenían que acudir a feos trucos para conseguir
15813 `Théorème 1' en vez de `Theorem 1'.
15814 Gracias a Georg Baum, este ya no es el caso.
15817 \begin_layout Standard
15819 \begin_inset Flex Code
15822 \begin_layout Plain Layout
15828 define texto que se mostrará en el documento exportado, puede usar
15829 \begin_inset Flex Code
15832 \begin_layout Plain Layout
15839 \begin_inset Flex Code
15842 \begin_layout Plain Layout
15848 para soportar correctamente documentos con idioma distinto del inglés e
15849 incluso documentos plurilingües.
15850 El siguiente extracto (del archivo
15851 \begin_inset Flex Code
15854 \begin_layout Plain Layout
15860 ) muestra cómo funciona:
15863 \begin_layout LyX-Code
15868 \begin_layout LyX-Code
15871 theoremstyle{remark}
15874 \begin_layout LyX-Code
15877 newtheorem{claim}[thm]{
15884 \begin_layout LyX-Code
15888 \begin_layout LyX-Code
15892 \begin_layout LyX-Code
15897 claimname}{_(Claim)}
15900 \begin_layout LyX-Code
15904 \begin_layout LyX-Code
15908 \begin_layout LyX-Code
15917 claimname}{_(Claim)}}
15920 \begin_layout LyX-Code
15925 \begin_layout Standard
15926 En principio, cualquier \SpecialChar LaTeX
15927 legal puede aparecer en las etiquetas
15928 \begin_inset Flex Code
15931 \begin_layout Plain Layout
15938 \begin_inset Flex Code
15941 \begin_layout Plain Layout
15947 , pero en la práctica el aspecto será generalmente como el mostrado aquí.
15948 La clave para una correcta traducción del texto impreso es la definición
15949 del comando \SpecialChar LaTeX
15951 \begin_inset Flex Code
15954 \begin_layout Plain Layout
15963 \begin_inset Flex Code
15966 \begin_layout Plain Layout
15978 \begin_layout Standard
15980 \begin_inset Flex Code
15983 \begin_layout Plain Layout
15989 proporciona internacionalización basada en el idioma global del documento.
15990 El contenido de la etiqueta se incluirá en el preámbulo, igual que con
15992 \begin_inset Flex Code
15995 \begin_layout Plain Layout
16002 Lo que la hace especial es el uso de la
16003 \begin_inset Quotes eld
16007 \begin_inset Quotes erd
16011 \begin_inset Flex Code
16014 \begin_layout Plain Layout
16020 , que será reemplazada, cuando \SpecialChar LyX
16021 genere la salida \SpecialChar LaTeX
16022 , por la traducción de
16023 su argumento al idioma del documento.
16026 \begin_layout Standard
16028 \begin_inset Flex Code
16031 \begin_layout Plain Layout
16037 es más compleja, puesto que está pensada para dar soporte a documentos
16038 plurilingües y ofrece una interfaz al paquete
16039 \begin_inset Flex Code
16042 \begin_layout Plain Layout
16049 Su contenido se añadirá al preámbulo una vez por cada idioma que aparezca
16051 En este caso, el argumento en
16052 \begin_inset Flex Code
16055 \begin_layout Plain Layout
16061 se reemplazará por su traducción al idioma en cuestión; la expresión
16062 \begin_inset Flex Code
16065 \begin_layout Plain Layout
16071 es reemplazada por el nombre del idioma (el usado por el paquete babel).
16074 \begin_layout Standard
16075 Un documento en alemán que también incluya una sección en francés tendría
16076 lo siguiente en el preámbulo:
16079 \begin_layout LyX-Code
16088 claimname}{Affirmation}}
16089 \begin_inset Newline newline
16100 claimname}{Behauptung}}
16101 \begin_inset Newline newline
16108 claimname}{Behauptung}
16111 \begin_layout Standard
16114 \begin_inset Flex Code
16117 \begin_layout Plain Layout
16123 conspirarán para producir el texto correcto en la salida.
16126 \begin_layout Standard
16127 Un punto importante a tener en cuenta aquí es que las traducciones son proporcio
16128 nadas por el propio \SpecialChar LyX
16129 , por medio del archivo
16130 \begin_inset Flex Code
16133 \begin_layout Plain Layout
16140 Esto quiere decir, en definitiva, que
16141 \begin_inset Flex Code
16144 \begin_layout Plain Layout
16151 \begin_inset Flex Code
16154 \begin_layout Plain Layout
16160 realmente solo son útiles en archivos de formato que son proporcionados
16161 por \SpecialChar LyX
16162 , puesto que el texto introducido en archivos de formato creados por
16163 el usuario no serán tenidos en cuenta por las rutinas de internacionalización
16164 de \SpecialChar LyX
16165 a menos que el archivo
16166 \begin_inset Flex Code
16169 \begin_layout Plain Layout
16175 se modifique como correponde.
16176 Sin embargo, cualquier formato creado con la intención de ser incluido
16177 en \SpecialChar LyX
16178 debería usar estas etiquetas en los lugares apropiados.
16179 Ten en cuenta que las traducciones de estilo de párrafo provistas por \SpecialChar LyX
16181 nunca cambian en actualizaciones menores (p.
16182 \begin_inset space \thinspace{}
16186 \begin_inset space \space{}
16189 de versión 2.1.x a 2.1.y).
16190 Sin embargo es muy probable que en actualizaciones mayores (p.
16191 \begin_inset space \thinspace{}
16195 \begin_inset space \space{}
16198 de 2.0.x a 2.1.y) se introduzcan nuevas traducciones o correcciones.
16201 \begin_layout Subsection
16203 \begin_inset CommandInset label
16205 name "subsec:Flotantes"
16212 \begin_layout Standard
16213 Es necesario definir los flotantes (
16214 \begin_inset Flex Noun
16217 \begin_layout Plain Layout
16224 \begin_inset Flex Noun
16227 \begin_layout Plain Layout
16233 , \SpecialChar ldots
16234 ) en la propia clase de texto.
16235 Los flotantes normales se incluyen en el archivo
16236 \begin_inset Flex Code
16239 \begin_layout Plain Layout
16245 , así que no tendrás más que añadir
16248 \begin_layout LyX-Code
16249 Input stdfloats.inc
16252 \begin_layout Standard
16253 en tu archivo de formato.
16254 Si quieres implementar una clase de texto que proponga algún otro tipo
16255 de flotante (como la clase AGU empaquetada con \SpecialChar LyX
16256 ), la información siguiente
16257 te servirá de ayuda:
16260 \begin_layout Description
16261 \begin_inset Flex Code
16264 \begin_layout Plain Layout
16271 \begin_inset Flex Code
16274 \begin_layout Plain Layout
16280 =!htbpH] Opciones de colocación permitidas para este tipo de flotante.
16281 El valor es una secuencia de caracteres:
16286 \begin_inset Quotes eld
16290 \begin_inset Quotes erd
16298 \begin_inset Quotes eld
16302 \begin_inset Quotes erd
16310 \begin_inset Quotes eld
16314 \begin_inset Quotes erd
16322 \begin_inset Quotes eld
16326 \begin_inset Quotes erd
16334 \begin_inset Quotes eld
16338 \begin_inset Quotes erd
16346 \begin_inset Quotes eld
16350 \begin_inset Quotes erd
16354 El orden no importa.
16355 Si las opciones de colocación no están permitidas usa string
16362 \begin_layout Description
16363 \begin_inset Flex Code
16366 \begin_layout Plain Layout
16373 \begin_inset Flex Code
16376 \begin_layout Plain Layout
16383 \begin_inset space \thinspace{}
16389 \begin_inset Flex Code
16392 \begin_layout Plain Layout
16400 ] Define si el flotante admite rotación mediante el paquete \SpecialChar LaTeX
16407 \begin_inset Flex Code
16410 \begin_layout Plain Layout
16416 si el flotante no soporta esta característica.
16419 \begin_layout Description
16420 \begin_inset Flex Code
16423 \begin_layout Plain Layout
16430 \begin_inset Flex Code
16433 \begin_layout Plain Layout
16440 \begin_inset space \thinspace{}
16446 \begin_inset Flex Code
16449 \begin_layout Plain Layout
16457 ] Define si el flotante tiene una variante asterisco que abarca columnas
16458 en un párrafo de dos columnas.
16460 \begin_inset Flex Code
16463 \begin_layout Plain Layout
16469 si el flotante no soporta esta característica.
16472 \begin_layout Description
16473 \begin_inset Flex Code
16476 \begin_layout Plain Layout
16483 \begin_inset Flex Code
16486 \begin_layout Plain Layout
16493 \begin_inset Quotes erd
16497 \begin_inset Quotes erd
16500 ] La extensión del nombre de un archivo auxiliar para la lista de figuras
16503 escribe las leyendas en este archivo.
16506 \begin_layout Description
16507 \begin_inset Flex Code
16510 \begin_layout Plain Layout
16517 \begin_inset Flex Code
16520 \begin_layout Plain Layout
16527 \begin_inset Quotes erd
16531 \begin_inset Quotes erd
16534 ] La cadena que se usará en los menús y también para la leyenda.
16535 Esto se traduce al idioma actual si se usa.
16538 \begin_layout Description
16539 \begin_inset Flex Code
16542 \begin_layout Plain Layout
16548 Controlan la salida XHTML.
16550 \begin_inset space ~
16554 \begin_inset CommandInset ref
16556 reference "sec:Etiquetas-para-XHTML"
16563 \begin_layout Description
16564 \begin_inset Flex Code
16567 \begin_layout Plain Layout
16576 \begin_inset Flex Code
16579 \begin_layout Plain Layout
16588 \begin_inset space \thinspace{}
16592 \begin_inset Flex Code
16595 \begin_layout Plain Layout
16601 ] Indica si el flotante está ya definido en la clase de documento o si necesitam
16602 os cargar el paquete \SpecialChar LaTeX
16604 \begin_inset Flex Code
16607 \begin_layout Plain Layout
16613 para definirlo sobre la marcha.
16615 \begin_inset Flex Code
16618 \begin_layout Plain Layout
16624 , que significa: usar
16625 \begin_inset Flex Code
16628 \begin_layout Plain Layout
16636 \begin_inset Flex Code
16639 \begin_layout Plain Layout
16645 si el flotante ya está definido por la clase de documento \SpecialChar LaTeX
16649 \begin_layout Description
16650 \begin_inset Flex Code
16653 \begin_layout Plain Layout
16660 \begin_inset Flex Code
16663 \begin_layout Plain Layout
16670 \begin_inset Quotes erd
16674 \begin_inset Quotes erd
16677 ] El comando usado para generar una lista de flotantes de este tipo; debe
16678 omitirse el precedente `
16686 \begin_inset Flex Code
16689 \begin_layout Plain Layout
16695 es `false', puesto que no hay una forma estándar de generar este comando.
16697 \begin_inset Flex Code
16700 \begin_layout Plain Layout
16706 es `true', porque en este caso sí hay una forma estándar de definir el
16710 \begin_layout Description
16711 \begin_inset Flex Code
16714 \begin_layout Plain Layout
16721 \begin_inset Flex Code
16724 \begin_layout Plain Layout
16731 \begin_inset Quotes erd
16735 \begin_inset Quotes erd
16738 ] Un título para una lista de flotantes de este tipo (índice de figuras,
16739 tablas o lo que sea).
16740 Se usa para el nombre del recuadro en \SpecialChar LyX
16741 ; se pasa a \SpecialChar LaTeX
16742 para usarlo como título
16743 allí; y se usa como título en la salida.
16744 Será traducido al idioma del documento.
16747 \begin_layout Description
16748 \begin_inset Flex Code
16751 \begin_layout Plain Layout
16758 \begin_inset Flex Code
16761 \begin_layout Plain Layout
16768 \begin_inset Quotes erd
16772 \begin_inset Quotes erd
16775 ] Este argumento (opcional) determina si los flotantes de esta clase serán
16776 numerados dentro de alguna unidad de sección del documento.
16778 \begin_inset Flex Code
16781 \begin_layout Plain Layout
16788 \begin_inset Quotes cld
16792 \begin_inset Flex Code
16795 \begin_layout Plain Layout
16802 \begin_inset Quotes crd
16805 , los flotantes serán numerados dentro de los capítulos.
16808 \begin_layout Description
16809 \begin_inset Flex Code
16812 \begin_layout Plain Layout
16819 \begin_inset Flex Code
16822 \begin_layout Plain Layout
16829 \begin_inset Quotes erd
16833 \begin_inset Quotes erd
16836 ] La colocación por omisión para la clase dada de flotantes.
16838 \begin_inset Flex Code
16841 \begin_layout Plain Layout
16847 deberá ser un estándar \SpecialChar LaTeX
16849 \begin_inset Flex Code
16852 \begin_layout Plain Layout
16859 \begin_inset Flex Code
16862 \begin_layout Plain Layout
16869 \begin_inset Flex Code
16872 \begin_layout Plain Layout
16879 \begin_inset Flex Code
16882 \begin_layout Plain Layout
16889 \begin_inset Quotes cld
16893 \begin_inset Quotes crd
16897 \begin_inset Quotes cld
16901 \begin_inset Quotes crd
16905 \begin_inset Quotes cld
16909 \begin_inset Quotes crd
16913 \begin_inset Quotes cld
16917 \begin_inset Quotes crd
16920 (aquí), respectivamente.
16924 \begin_layout Plain Layout
16925 Anotar que el orden de estas letras en la cadena es irrelevante, como en
16932 Por encima de éstos hay un nuevo tipo,
16933 \begin_inset Flex Code
16936 \begin_layout Plain Layout
16942 , que no corresponde realmente a un flotante, ya que se refiere a: ponerlo
16944 \begin_inset Quotes cld
16948 \begin_inset Quotes crd
16951 , y en ninguna otra parte.
16952 Anotar que, sin embargo, el colocador
16953 \begin_inset Flex Code
16956 \begin_layout Plain Layout
16962 es especial y, debido a detalles de implementación, no puede usarse en
16963 tipos de flotantes no empotrados.
16964 Si no comprendes lo que esto significa, usa solo
16965 \begin_inset Quotes cld
16969 \begin_inset Flex Code
16972 \begin_layout Plain Layout
16979 \begin_inset Quotes crd
16985 \begin_layout Description
16986 \begin_inset Flex Code
16989 \begin_layout Plain Layout
16996 \begin_inset Flex Code
16999 \begin_layout Plain Layout
17005 ] El prefijo a usar cuando se crean etiquetas referidas a flotantes de este
17007 Esto permite el uso de referencias con formato.
17008 Puedes quitar cualquier
17009 \begin_inset Flex Code
17012 \begin_layout Plain Layout
17018 puesto por un estilo copiado usando el valor especial
17019 \begin_inset Quotes eld
17023 \begin_inset Quotes erd
17026 , todas mayúsculas.
17029 \begin_layout Description
17030 \begin_inset Flex Code
17033 \begin_layout Plain Layout
17040 \begin_inset Flex Code
17043 \begin_layout Plain Layout
17050 \begin_inset Quotes erd
17054 \begin_inset Quotes erd
17057 ] El estilo usado cuando se define el flotante con
17058 \begin_inset Flex Code
17061 \begin_layout Plain Layout
17072 \begin_layout Description
17073 \begin_inset Flex Code
17076 \begin_layout Plain Layout
17083 \begin_inset Flex Code
17086 \begin_layout Plain Layout
17093 \begin_inset Quotes erd
17097 \begin_inset Quotes erd
17101 \begin_inset Quotes cld
17105 \begin_inset Quotes crd
17108 de la nueva clase de flotante, como programa o algoritmo.
17109 Después del apropiado
17110 \begin_inset Flex Code
17113 \begin_layout Plain Layout
17121 , comandos tales como
17122 \begin_inset Flex Code
17125 \begin_layout Plain Layout
17134 \begin_inset Flex Code
17137 \begin_layout Plain Layout
17145 estarán disponibles.
17148 \begin_layout Description
17149 \begin_inset Flex Code
17152 \begin_layout Plain Layout
17159 \begin_inset Flex Code
17162 \begin_layout Plain Layout
17169 \begin_inset space \thinspace{}
17173 \begin_inset Flex Code
17176 \begin_layout Plain Layout
17184 ] Nos dice si este flotante se define usando el paquete \SpecialChar LaTeX
17186 \begin_inset Flex Code
17189 \begin_layout Plain Layout
17195 , bien por el archivo de clase o por un paquete, o bien sobre la marcha
17196 por el propio \SpecialChar LyX
17200 \begin_layout Standard
17201 Anotar que al definir un flotante con tipo
17202 \begin_inset Flex Code
17205 \begin_layout Plain Layout
17213 automáticamente se define el correspondiente contador con nombre
17214 \begin_inset Flex Code
17217 \begin_layout Plain Layout
17228 \begin_layout Subsection
17229 Recuadros flexibles y formato del recuadro
17230 \begin_inset CommandInset label
17232 name "subsec:estilo-del-texto"
17239 \begin_layout Standard
17240 Los recuadros flexibles son de tres tipos:
17243 \begin_layout Itemize
17245 \begin_inset Flex Code
17248 \begin_layout Plain Layout
17254 ): estos definen diseños semánticos correspondientes a comandos \SpecialChar LaTeX
17256 \begin_inset Flex Code
17259 \begin_layout Plain Layout
17268 \begin_inset Flex Code
17271 \begin_layout Plain Layout
17282 \begin_layout Itemize
17283 definido por el usuario (
17284 \begin_inset Flex Code
17287 \begin_layout Plain Layout
17293 ): estos se pueden usar para definir recuadros plegables personalizados,
17294 del tipo de los de código \SpecialChar TeX
17295 , notas al pie y similares.
17296 Un ejemplo obvio es un recuadro de nota final, definido en el módulo del
17298 \begin_inset Flex Code
17301 \begin_layout Plain Layout
17310 \begin_layout Itemize
17312 \begin_inset Flex Code
17315 \begin_layout Plain Layout
17321 ): para usar con las clases DocBook.
17324 \begin_layout Standard
17325 Los recuadros flexibles se definen usando la etiqueta
17326 \begin_inset Flex Code
17329 \begin_layout Plain Layout
17335 , que se explicará en un momento.
17338 \begin_layout Standard
17340 \begin_inset Flex Code
17343 \begin_layout Plain Layout
17349 también sirve para otra función: puede utilizarse para personalizar el
17350 diseño general de muchos tipos diferentes de recuadros.
17352 \begin_inset Flex Code
17355 \begin_layout Plain Layout
17361 permite personalizar los parámetros de diseño de notas al pie, notas al
17362 margen, notas, recuadros de código \SpecialChar TeX
17363 (ERT), ramas, listados de programa,
17364 índices, cuadros, tablas, algoritmos, URL, y leyendas, así como para definir
17365 recuadros flexibles.
17368 \begin_layout Standard
17370 \begin_inset Flex Code
17373 \begin_layout Plain Layout
17379 debe comenzar con una línea de la forma:
17382 \begin_layout LyX-Code
17386 \begin_layout Standard
17388 \begin_inset Flex Code
17391 \begin_layout Plain Layout
17397 indica el recuadro cuyo formato se va a definir, y hay cuatro casos.
17400 \begin_layout Enumerate
17401 Se va a modificar el formato para un tipo de recuadro preexistente.
17403 \begin_inset Flex Code
17406 \begin_layout Plain Layout
17412 puede ser uno cualquiera de los siguientes:
17413 \begin_inset Flex Code
17416 \begin_layout Plain Layout
17423 \begin_inset Flex Code
17426 \begin_layout Plain Layout
17433 \begin_inset Flex Code
17436 \begin_layout Plain Layout
17443 \begin_inset Flex Code
17446 \begin_layout Plain Layout
17453 \begin_inset Flex Code
17456 \begin_layout Plain Layout
17463 \begin_inset Flex Code
17466 \begin_layout Plain Layout
17473 \begin_inset Flex Code
17476 \begin_layout Plain Layout
17483 \begin_inset Flex Code
17486 \begin_layout Plain Layout
17493 \begin_inset Flex Code
17496 \begin_layout Plain Layout
17503 \begin_inset Flex Code
17506 \begin_layout Plain Layout
17513 \begin_inset Flex Code
17516 \begin_layout Plain Layout
17523 \begin_inset Flex Code
17526 \begin_layout Plain Layout
17533 \begin_inset Flex Code
17536 \begin_layout Plain Layout
17543 \begin_inset Flex Code
17546 \begin_layout Plain Layout
17553 \begin_inset Flex Code
17556 \begin_layout Plain Layout
17563 \begin_inset Flex Code
17566 \begin_layout Plain Layout
17573 \begin_inset Flex Code
17576 \begin_layout Plain Layout
17583 \begin_inset Flex Code
17586 \begin_layout Plain Layout
17593 \begin_inset Flex Code
17596 \begin_layout Plain Layout
17603 \begin_inset Flex Code
17606 \begin_layout Plain Layout
17616 \begin_layout Enumerate
17617 Se va a definir el formato para un recuadro flexible.
17619 \begin_inset Flex Code
17622 \begin_layout Plain Layout
17629 \begin_inset Quotes cld
17633 \begin_inset Flex Code
17636 \begin_layout Plain Layout
17643 \begin_inset Quotes crd
17647 \begin_inset Flex Code
17650 \begin_layout Plain Layout
17656 ser cualquier identificador válido no utilizado por un recuadro preexistente.
17657 El identificador puede incluir espacios, pero en este caso debe ponerse
17658 todo entre comillas.
17659 Ten en cuenta que la definición de un flexible debe incluir
17664 \begin_inset Flex Code
17667 \begin_layout Plain Layout
17674 declarando qué tipo de recuadro define.
17677 \begin_layout Enumerate
17678 Se va a definir el formato para rama específica de usuario.
17680 \begin_inset Flex Code
17683 \begin_layout Plain Layout
17689 debe ser de la forma
17690 \begin_inset Quotes cld
17694 \begin_inset Flex Code
17697 \begin_layout Plain Layout
17704 \begin_inset Quotes crd
17708 \begin_inset Flex Code
17711 \begin_layout Plain Layout
17717 puede ser cualquier identificador válido de rama definido en el documento
17719 Este identificador puede incluir espacios, pero, en ese caso todo debe
17721 El propósito principal de esta característica es permitir a \SpecialChar LaTeX
17723 específicas como necesite el usuario.
17726 \begin_layout Enumerate
17727 Se va a definir el formato de una leyenda específica de usuario (o clase).
17729 \begin_inset Flex Code
17732 \begin_layout Plain Layout
17738 debe ser de la forma
17739 \begin_inset Quotes cld
17743 \begin_inset Flex Code
17746 \begin_layout Plain Layout
17753 \begin_inset Quotes crd
17757 \begin_inset Flex Code
17760 \begin_layout Plain Layout
17766 especifica el nombre de la leyenda como aparece en el menú.
17767 Repasa la leyenda estándar (
17768 \begin_inset Flex Code
17771 \begin_layout Plain Layout
17777 ), las leyendas específicas de las clases KOMA-Script (
17778 \begin_inset Flex Code
17781 \begin_layout Plain Layout
17788 \begin_inset Flex Code
17791 \begin_layout Plain Layout
17800 \begin_inset space ~
17806 \begin_inset Flex Code
17809 \begin_layout Plain Layout
17815 ) para aplicaciones.
17818 \begin_layout Standard
17820 \begin_inset Flex Code
17823 \begin_layout Plain Layout
17829 puede contener las siguientes entradas:
17832 \begin_layout Description
17835 \begin_inset Flex Code
17838 \begin_layout Plain Layout
17847 \begin_inset Flex Code
17850 \begin_layout Plain Layout
17858 =""] This inset will appear in the table of contents of the given type.
17859 An empty string disables.
17860 See also the OutlinerName and the IsTocCaption commands.
17861 This is only implemented for Flex insets.
17865 \begin_layout Description
17866 \begin_inset Flex Code
17869 \begin_layout Plain Layout
17876 \begin_inset Flex Code
17879 \begin_layout Plain Layout
17885 ] Define el número de argumento de un comando\SpecialChar breakableslash
17886 entorno asociado con el formato
17888 La definición debe terminar con
17889 \begin_inset Flex Code
17892 \begin_layout Plain Layout
17900 \begin_inset CommandInset ref
17902 reference "subsec:Estilos-de-párrafo"
17909 \begin_layout Description
17910 \begin_inset Flex Code
17913 \begin_layout Plain Layout
17919 Preámbulo para comandos de cambio de idioma; véase
17920 \begin_inset CommandInset ref
17922 reference "subsec:I18n"
17929 \begin_layout Description
17930 \begin_inset Flex Code
17933 \begin_layout Plain Layout
17940 \begin_inset Flex Code
17943 \begin_layout Plain Layout
17949 ] El color para el fondo del recuadro.
17950 Véase la lista de colores en
17951 \begin_inset CommandInset ref
17953 reference "cap:Nombres-de-colores"
17960 \begin_layout Description
17961 \begin_inset Flex Code
17964 \begin_layout Plain Layout
17971 \begin_inset Flex Code
17974 \begin_layout Plain Layout
17983 \begin_inset space \thinspace{}
17987 \begin_inset Flex Code
17990 \begin_layout Plain Layout
17996 ] Si usar no el contenido del recuadro como etiqueta del mismo cuando el
17997 recuadro se cierra.
17998 Por omisión, falso.
18001 \begin_layout Description
18002 \begin_inset Flex Code
18005 \begin_layout Plain Layout
18012 \begin_inset Flex Code
18015 \begin_layout Plain Layout
18021 ] Como los estilos de párrafo, véase
18022 \begin_inset CommandInset ref
18024 reference "subsec:Estilos-de-párrafo"
18029 Ten en cuenta que debes especificar el tipo completo, p.
18030 \begin_inset space \thinspace{}
18034 \begin_inset space ~
18038 \begin_inset Flex Code
18041 \begin_layout Plain Layout
18042 CopyStyle Flex:<name>
18050 \begin_layout Description
18051 \begin_inset Flex Code
18054 \begin_layout Plain Layout
18061 \begin_inset Flex Code
18064 \begin_layout Plain Layout
18073 \begin_inset space \thinspace{}
18077 \begin_inset Flex Code
18080 \begin_layout Plain Layout
18086 ] Indica si el usuario puede emplear el diálogo Configuración del párrafo
18087 para modificar el párrafo.
18090 \begin_layout Description
18091 \begin_inset Flex Code
18094 \begin_layout Plain Layout
18101 \begin_inset Flex Code
18104 \begin_layout Plain Layout
18111 \begin_inset Flex Code
18114 \begin_layout Plain Layout
18121 \begin_inset Flex Code
18124 \begin_layout Plain Layout
18130 , que describe el estilo de presentación para el marco y los botones del
18132 Las notas al pie usan generalmente
18133 \begin_inset Flex Code
18136 \begin_layout Plain Layout
18142 , los recuadros de código \SpecialChar TeX
18144 \begin_inset Flex Code
18147 \begin_layout Plain Layout
18153 , y los de estilos del texto
18154 \begin_inset Flex Code
18157 \begin_layout Plain Layout
18166 \begin_layout Description
18167 \begin_inset Flex Code
18170 \begin_layout Plain Layout
18177 \begin_inset Flex Code
18180 \begin_layout Plain Layout
18187 \begin_inset space \thinspace{}
18191 \begin_inset Flex Code
18194 \begin_layout Plain Layout
18203 \begin_inset Flex Code
18206 \begin_layout Plain Layout
18213 \begin_inset Flex Code
18216 \begin_layout Plain Layout
18223 Indica si el entorno se ubicará en su propio espacio en la salida o si
18224 aparecerá en línea con el texto circundante.
18225 Si se pone falso, se supone que el entorno \SpecialChar LaTeX
18226 ignora los espacios en blanco
18227 (incluyendo un carácter de línea nueva) después de las etiquetas
18228 \begin_inset Flex Code
18231 \begin_layout Plain Layout
18244 \begin_inset Flex Code
18247 \begin_layout Plain Layout
18260 Por omisión, verdadero.
18263 \begin_layout Description
18264 \begin_inset Flex Code
18267 \begin_layout Plain Layout
18273 Requerido al final de las declaraciones de formato del recuadro
18274 \begin_inset Flex Code
18277 \begin_layout Plain Layout
18286 \begin_layout Description
18287 \begin_inset Flex Code
18290 \begin_layout Plain Layout
18296 La tipografía usada tanto para el cuerpo del texto como para la etiqueta.
18298 \begin_inset CommandInset ref
18300 reference "subsec:Tipografía"
18305 Anotar que al definir esta tipografía se define automáticamente el mismo
18306 valor para la etiqueta,
18307 \begin_inset Flex Code
18310 \begin_layout Plain Layout
18316 , así que define aquella primero y después define
18317 \begin_inset Flex Code
18320 \begin_layout Plain Layout
18326 si las quieres diferentes.
18329 \begin_layout Description
18330 \begin_inset Flex Code
18333 \begin_layout Plain Layout
18334 FixedWidthPreambleEncoding
18340 \begin_inset Flex Code
18343 \begin_layout Plain Layout
18352 \begin_inset space \thinspace{}
18356 \begin_inset Flex Code
18359 \begin_layout Plain Layout
18365 ] Fuerza una codificación de ancho fijo para el contenido traducido del
18367 \begin_inset Flex Code
18370 \begin_layout Plain Layout
18377 \begin_inset Flex Code
18380 \begin_layout Plain Layout
18386 generado por este formato.
18387 Esto es necesario para paquetes especiales \SpecialChar LaTeX
18392 que no trabajan con codificaciones de ancho variable como
18397 Esta configuración se ignora si se usan soportes \SpecialChar LaTeX
18398 compatibles totalmente
18399 con Unicode como Xe\SpecialChar TeX
18400 o Lua\SpecialChar TeX
18404 \begin_layout Description
18405 \begin_inset Flex Code
18408 \begin_layout Plain Layout
18409 ForceLocalFontSwitch
18415 \begin_inset Flex Code
18418 \begin_layout Plain Layout
18427 \begin_inset space \thinspace{}
18431 \begin_inset Flex Code
18434 \begin_layout Plain Layout
18440 ] Cuando se usa babel, usar siempre un cambiador de fuente local (
18441 \begin_inset Flex Code
18444 \begin_layout Plain Layout
18452 ), nunca uno global (como
18453 \begin_inset Flex Code
18456 \begin_layout Plain Layout
18467 \begin_layout Description
18468 \begin_inset Flex Code
18471 \begin_layout Plain Layout
18478 \begin_inset Flex Code
18481 \begin_layout Plain Layout
18490 \begin_inset space \thinspace{}
18494 \begin_inset Flex Code
18497 \begin_layout Plain Layout
18504 \begin_inset Quotes cld
18508 \begin_inset Quotes crd
18511 que genera salida Izquierda-Derecha (latin), p.
18512 \begin_inset space \thinspace{}
18516 \begin_inset space \space{}
18519 en código \SpecialChar TeX
18524 \begin_layout Description
18525 \begin_inset Flex Code
18528 \begin_layout Plain Layout
18535 \begin_inset Flex Code
18538 \begin_layout Plain Layout
18547 \begin_inset space \thinspace{}
18551 \begin_inset Flex Code
18554 \begin_layout Plain Layout
18560 ] Fuerza un salto de línea en la salida \SpecialChar LaTeX
18561 antes de iniciarse el recuadro
18562 de inserción y después de finalizar.
18563 Esto asegura que el recuadro mismo se ubique en sus propias líneas, con
18567 \begin_layout Description
18568 \begin_inset Flex Code
18571 \begin_layout Plain Layout
18578 \begin_inset Flex Code
18581 \begin_layout Plain Layout
18590 \begin_inset space \thinspace{}
18594 \begin_inset Flex Code
18597 \begin_layout Plain Layout
18603 ] Indica si debería usarse
18604 \begin_inset Flex Code
18607 \begin_layout Plain Layout
18613 o, por el contrario el usuario puede cambiar el estilo de párrafo del recuadro.
18616 \begin_layout Description
18617 \begin_inset Flex Code
18620 \begin_layout Plain Layout
18629 \begin_inset Flex Code
18632 \begin_layout Plain Layout
18641 \begin_inset space \thinspace{}
18645 \begin_inset Flex Code
18648 \begin_layout Plain Layout
18654 ] Como en estilos de párrafo, véase
18655 \begin_inset CommandInset ref
18657 reference "subsec:Estilos-de-párrafo"
18664 \begin_layout Description
18665 \begin_inset Flex Code
18668 \begin_layout Plain Layout
18674 Controlan la salida XHTML.
18676 \begin_inset CommandInset ref
18678 reference "sec:Etiquetas-para-XHTML"
18685 \begin_layout Description
18686 \begin_inset Flex Code
18689 \begin_layout Plain Layout
18696 \begin_inset Flex Code
18699 \begin_layout Plain Layout
18708 \begin_inset space \thinspace{}
18712 \begin_inset Flex Code
18715 \begin_layout Plain Layout
18721 ] Incluye o no el contenido de este inset en la cadena generada para el
18722 panel 'Navegador de contorno'
18724 for all table of contents, regardless of the AddToToc setting
18727 El no sería, por ejemplo, para que el contenido de una nota al pie en un
18728 encabezado de sección no aparezca en el índice que se despliega en el navegador
18729 de contorno, sin embargo, normalmente sí se incluiría el contenido de un
18730 estilo de carácter.
18731 Predeterminado es false: no incluir.
18734 \begin_layout Description
18737 \begin_inset Flex Code
18740 \begin_layout Plain Layout
18749 \begin_inset Flex Code
18752 \begin_layout Plain Layout
18762 \begin_inset space \thinspace{}
18766 \begin_inset Flex Code
18769 \begin_layout Plain Layout
18777 ] If this is set to 1 and AddToToc is enabled, the inset adds a summary
18778 of its contents in its item in the table of contents.
18779 Otherwise, only the label appears.
18782 \begin_layout Description
18783 \begin_inset Flex Code
18786 \begin_layout Plain Layout
18795 \begin_inset Flex Code
18798 \begin_layout Plain Layout
18809 \begin_inset space \thinspace{}
18813 \begin_inset Flex Code
18816 \begin_layout Plain Layout
18822 ] Como en estilos de párrafo, véase
18823 \begin_inset CommandInset ref
18825 reference "subsec:Estilos-de-párrafo"
18832 \begin_layout Description
18833 \begin_inset Flex Code
18836 \begin_layout Plain Layout
18842 La tipografía para la etiqueta.
18844 \begin_inset CommandInset ref
18846 reference "subsec:Tipografía"
18851 Anotar que esta definición nunca puede aparecer antes de
18852 \begin_inset Flex Code
18855 \begin_layout Plain Layout
18861 , para que sea efectiva.
18864 \begin_layout Description
18865 \begin_inset Flex Code
18868 \begin_layout Plain Layout
18875 \begin_inset Flex Code
18878 \begin_layout Plain Layout
18885 \begin_inset Quotes erd
18889 \begin_inset Quotes erd
18892 ] Lo que se mostrará sobre el botón u otra parte como etiqueta del recuadro.
18893 Algunos tipos de recuadro (
18894 \begin_inset Flex Code
18897 \begin_layout Plain Layout
18898 código \SpecialChar TeX
18905 \begin_inset Flex Code
18908 \begin_layout Plain Layout
18914 ) modifican esta etiqueta sobre la marcha.
18917 \begin_layout Description
18918 \begin_inset Flex Code
18921 \begin_layout Plain Layout
18927 Preámbulo dependiente del idioma; véase
18928 \begin_inset CommandInset ref
18930 reference "subsec:I18n"
18937 \begin_layout Description
18938 \begin_inset Flex Code
18941 \begin_layout Plain Layout
18948 \begin_inset Flex Code
18951 \begin_layout Plain Layout
18957 ] El nombre \SpecialChar LaTeX
18958 correspondiente al asunto.
18959 Cualquier nombre de entorno o de comando.
18962 \begin_layout Description
18963 \begin_inset Flex Code
18966 \begin_layout Plain Layout
18973 \begin_inset Flex Code
18976 \begin_layout Plain Layout
18982 ] El parámetro opcional para el correspondiente
18983 \begin_inset Flex Code
18986 \begin_layout Plain Layout
18992 , incluyendo posibles pares de corchetes,
18993 \begin_inset Flex Code
18996 \begin_layout Plain Layout
19003 Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
19005 \begin_inset Flex Code
19008 \begin_layout Plain Layout
19014 para parámetros personalizables).
19015 Se emitirá como tal después de todos los
19016 \begin_inset Flex Code
19019 \begin_layout Plain Layout
19029 \begin_layout Description
19030 \begin_inset Flex Code
19033 \begin_layout Plain Layout
19040 \begin_inset Flex Code
19043 \begin_layout Plain Layout
19044 Command, Environment, None
19049 ] Cómo debería traducirse el estilo en \SpecialChar LaTeX
19054 \begin_layout Plain Layout
19055 \begin_inset Flex Code
19058 \begin_layout Plain Layout
19064 es quizás un poco confuso porque estas eglas se aplican también a clases.
19065 Mira los archivos de clase SGML para ejemplos concretos.
19074 \begin_layout Description
19075 \begin_inset Flex Code
19078 \begin_layout Plain Layout
19084 significa nada especial
19087 \begin_layout Description
19088 \begin_inset Flex Code
19091 \begin_layout Plain Layout
19098 \begin_inset Flex Code
19101 \begin_layout Plain Layout
19108 {\SpecialChar ldots
19117 \begin_layout Description
19118 \begin_inset Flex Code
19121 \begin_layout Plain Layout
19128 \begin_inset Flex Code
19131 \begin_layout Plain Layout
19138 }\SpecialChar ldots
19153 \begin_layout Standard
19154 Poniendo juntas las últimas cosas, la salida \SpecialChar LaTeX
19158 \begin_layout LyX-Code
19161 LatexName[LatexParam]{\SpecialChar ldots
19165 \begin_layout Standard
19169 \begin_layout LyX-Code
19172 begin{LatexName}[LatexParam] \SpecialChar ldots
19178 \begin_layout Standard
19179 dependiendo del tipo de \SpecialChar LaTeX
19184 \begin_layout Description
19185 \begin_inset Flex Code
19188 \begin_layout Plain Layout
19195 \begin_inset Flex Code
19198 \begin_layout Plain Layout
19204 ] Secuencia que se pone al comienzo del contenido del formato.
19205 Un salto de línea en la salida se indica con
19206 \begin_inset Flex Code
19209 \begin_layout Plain Layout
19218 \begin_layout Description
19219 \begin_inset Flex Code
19222 \begin_layout Plain Layout
19229 \begin_inset Flex Code
19232 \begin_layout Plain Layout
19239 \begin_inset Flex Code
19242 \begin_layout Plain Layout
19249 \begin_inset Flex Code
19252 \begin_layout Plain Layout
19259 \begin_inset Flex Code
19262 \begin_layout Plain Layout
19268 (indicando una definición ficticia que finaliza definiciones de estilos
19270 Esta entrada es requerida y solo es significativa para recuadros flexibles.
19271 Entre otras cosas, determina en qué menús aparecerá este recuadro.
19273 \begin_inset Flex Code
19276 \begin_layout Plain Layout
19283 \begin_inset Flex Code
19286 \begin_layout Plain Layout
19293 \begin_inset Flex Code
19296 \begin_layout Plain Layout
19303 \begin_inset Flex Code
19306 \begin_layout Plain Layout
19318 \begin_inset Flex Code
19321 \begin_layout Plain Layout
19327 se puede poner como verdadero, o
19328 \begin_inset Flex Code
19331 \begin_layout Plain Layout
19341 e, para recuadros de estilos
19342 \begin_inset Flex Code
19345 \begin_layout Plain Layout
19356 \begin_inset Flex Code
19359 \begin_layout Plain Layout
19368 \begin_layout Description
19369 \begin_inset Flex Code
19372 \begin_layout Plain Layout
19379 \begin_inset Flex Code
19382 \begin_layout Plain Layout
19391 \begin_inset space \thinspace{}
19395 \begin_inset Flex Code
19398 \begin_layout Plain Layout
19404 ] Indica si se permiten múltiples párrafos en este recuadro.
19405 Además establecerá para CustomPars el mismo valor y para ForcePlain el
19407 Estos pueden modificarse a otros valores si se usan
19414 \begin_layout Description
19415 \begin_inset Flex Code
19418 \begin_layout Plain Layout
19425 \begin_inset Flex Code
19428 \begin_layout Plain Layout
19437 \begin_inset space \thinspace{}
19441 \begin_inset Flex Code
19444 \begin_layout Plain Layout
19450 ] Si los comandos frágiles deben o no ser
19451 \begin_inset Flex Code
19454 \begin_layout Plain Layout
19462 'ed en este recuadro.
19467 si el comando mismo debe ser protegido
19472 \begin_layout Description
19473 \begin_inset Flex Code
19476 \begin_layout Plain Layout
19483 \begin_inset Flex Code
19486 \begin_layout Plain Layout
19493 \begin_inset Flex Code
19496 \begin_layout Plain Layout
19505 \begin_layout Description
19506 \begin_inset Flex Code
19509 \begin_layout Plain Layout
19516 \begin_inset Flex Code
19519 \begin_layout Plain Layout
19526 \begin_inset Flex Code
19529 \begin_layout Plain Layout
19535 que ha recolocado este
19536 \begin_inset Flex Code
19539 \begin_layout Plain Layout
19546 Se usa para renombrar un
19547 \begin_inset Flex Code
19550 \begin_layout Plain Layout
19556 , mientras se mantiene compatibilidad hacia atrás.
19559 \begin_layout Description
19560 \begin_inset Flex Code
19563 \begin_layout Plain Layout
19570 \begin_inset Flex Code
19573 \begin_layout Plain Layout
19582 \begin_inset space \thinspace{}
19586 \begin_inset Flex Code
19589 \begin_layout Plain Layout
19595 ] Igual que para estilos de párrafo, véase
19596 \begin_inset CommandInset ref
19598 reference "subsec:Estilos-de-párrafo"
19603 Por omisión es falso.
19606 \begin_layout Description
19607 \begin_inset Flex Code
19610 \begin_layout Plain Layout
19619 \begin_inset Flex Code
19622 \begin_layout Plain Layout
19633 \begin_inset space \thinspace{}
19637 \begin_inset Flex Code
19640 \begin_layout Plain Layout
19646 ] Igual que para estilos de párrafo, véase
19647 \begin_inset CommandInset ref
19649 reference "subsec:Estilos-de-párrafo"
19656 \begin_layout Description
19657 \begin_inset Flex Code
19660 \begin_layout Plain Layout
19666 Igual que para estilos de párrafo, véase
19667 \begin_inset CommandInset ref
19669 reference "subsec:Estilos-de-párrafo"
19676 \begin_layout Description
19677 \begin_inset Flex Code
19680 \begin_layout Plain Layout
19687 \begin_inset Flex Code
19690 \begin_layout Plain Layout
19696 ] Prefijo a usar cuando se crean etiquetas que se refieren a recuadros de
19698 Esto permite el uso de referencias con formato.
19701 \begin_layout Description
19702 \begin_inset Flex Code
19705 \begin_layout Plain Layout
19712 \begin_inset Flex Code
19715 \begin_layout Plain Layout
19721 ] Igual que para estilos de párrafo, véase
19722 \begin_inset CommandInset ref
19724 reference "subsec:Estilos-de-párrafo"
19731 \begin_layout Description
19732 \begin_inset Flex Code
19735 \begin_layout Plain Layout
19742 \begin_inset Flex Code
19745 \begin_layout Plain Layout
19754 \begin_inset space \thinspace{}
19758 \begin_inset Flex Code
19761 \begin_layout Plain Layout
19767 ] Reinicia los argumentos \SpecialChar LaTeX
19768 de este formato (como se definen con
19769 \begin_inset Flex Code
19772 \begin_layout Plain Layout
19779 Es útil si has copiado un estilo con
19780 \begin_inset Flex Code
19783 \begin_layout Plain Layout
19789 , pero no quieres heredar sus argumentos (requerido y opcional).
19792 \begin_layout Description
19793 \begin_inset Flex Code
19796 \begin_layout Plain Layout
19803 \begin_inset Flex Code
19806 \begin_layout Plain Layout
19813 \begin_inset space \thinspace{}
19817 \begin_inset Flex Code
19820 \begin_layout Plain Layout
19828 ] Si este recuadro debería usar la tipografía de su entorno o la suya propia.
19829 Por omisión es la tipografía de su entorno.
19832 \begin_layout Description
19833 \begin_inset Flex Code
19836 \begin_layout Plain Layout
19843 \begin_inset Flex Code
19846 \begin_layout Plain Layout
19852 ] Secuencia que se pone al final del contenido del formato.
19853 Un salto de línea en la salida se indica con
19854 \begin_inset Flex Code
19857 \begin_layout Plain Layout
19866 \begin_layout Description
19867 \begin_inset Flex Code
19870 \begin_layout Plain Layout
19877 \begin_inset Flex Code
19880 \begin_layout Plain Layout
19887 \begin_inset space \thinspace{}
19891 \begin_inset Flex Code
19894 \begin_layout Plain Layout
19902 ] Revisar la ortografía del contenido del recuadro.
19906 \begin_layout Subsection
19908 \begin_inset CommandInset label
19910 name "subsec:Contadores"
19917 \begin_layout Standard
19918 Es necesario definir los contadores (
19919 \begin_inset Flex Noun
19922 \begin_layout Plain Layout
19929 \begin_inset Flex Noun
19932 \begin_layout Plain Layout
19938 , \SpecialChar ldots
19939 ) en la propia clase de texto.
19940 Los contadores estándar están definidos en el archivo
19941 \begin_inset Flex Code
19944 \begin_layout Plain Layout
19950 , de modo que no tienes más que añadir
19953 \begin_layout LyX-Code
19954 Input stdcounters.inc
19957 \begin_layout Standard
19958 en el archivo de formato para que funcionen.
19959 Pero si quieres puedes definir contadores personalizados.
19960 La declaración de un contador debe comenzar con:
19963 \begin_layout LyX-Code
19967 \begin_layout Standard
19969 \begin_inset Flex Code
19972 \begin_layout Plain Layout
19978 es el nombre del contador.
19979 Hay que terminar con
19980 \begin_inset Flex Code
19983 \begin_layout Plain Layout
19992 \begin_layout Standard
19993 Se pueden usar además los parámetros siguientes:
19996 \begin_layout Description
19997 \begin_inset Flex Code
20000 \begin_layout Plain Layout
20007 \begin_inset Flex Code
20010 \begin_layout Plain Layout
20016 ] Establece el valor inicial para el contador, al cuál se reiniciará cada
20017 vez que suceda esto.
20018 Normalmente será 1.
20021 \begin_layout Description
20022 \begin_inset Flex Code
20025 \begin_layout Plain Layout
20032 \begin_inset Flex Code
20035 \begin_layout Plain Layout
20041 =""] Si se define esta cadena, indica cómo se muestra el contador.
20042 Al establecer este valor también se da el mismo valor a
20043 \begin_inset Flex Code
20046 \begin_layout Plain Layout
20047 LabelStringAppendix
20053 Para los valores de 'string' se pueden usar las estructuras siguientes:
20057 \begin_layout Itemize
20058 \begin_inset Flex Code
20061 \begin_layout Plain Layout
20069 será reemplazado por la expansión de
20070 \begin_inset Flex Code
20073 \begin_layout Plain Layout
20080 \begin_inset Newline newline
20084 \begin_inset Flex Code
20087 \begin_layout Plain Layout
20088 LabelStringAppendix
20094 \begin_inset Flex Code
20097 \begin_layout Plain Layout
20107 \begin_layout Itemize
20108 los valores del contador pueden expresarse usando macros tipo \SpecialChar LaTeX
20110 \begin_inset Flex Code
20113 \begin_layout Plain Layout
20130 \begin_inset Flex Code
20133 \begin_layout Plain Layout
20145 \begin_layout Plain Layout
20146 En realidad la cosa es un poco más compleja: cualquier
20150 distinto de los descritos a continuación generará números arábigos.
20151 No sería sorprendenta ver este cambio en el futuro.
20157 \begin_inset Flex Code
20160 \begin_layout Plain Layout
20166 : 1, 2, 3,\SpecialChar ldots
20168 \begin_inset Flex Code
20171 \begin_layout Plain Layout
20177 para minúsculas: a, b, c, \SpecialChar ldots
20179 \begin_inset Flex Code
20182 \begin_layout Plain Layout
20188 para mayúsculas: A, B, C, \SpecialChar ldots
20190 \begin_inset Flex Code
20193 \begin_layout Plain Layout
20199 números romanos en minúscula: i, ii, iii, \SpecialChar ldots
20204 \begin_layout Plain Layout
20210 \begin_inset space \thinspace{}
20218 \begin_inset Flex Code
20221 \begin_layout Plain Layout
20236 \begin_inset Flex Code
20239 \begin_layout Plain Layout
20253 los transforma automáticamente en versalitas
20258 , ya que los romanos en minúscula no se usan en español.
20265 \begin_inset Flex Code
20268 \begin_layout Plain Layout
20274 para romanos en mayúsculas: I, II, III\SpecialChar ldots
20276 \begin_inset Flex Code
20279 \begin_layout Plain Layout
20285 para números hebreos.
20289 \begin_layout Standard
20291 \begin_inset Flex Code
20294 \begin_layout Plain Layout
20300 , se construye un valor por omisión así: si el contador tiene un contador
20302 \begin_inset Flex Code
20305 \begin_layout Plain Layout
20312 \begin_inset Flex Code
20315 \begin_layout Plain Layout
20321 ), se usa la cadena
20322 \begin_inset Flex Code
20325 \begin_layout Plain Layout
20335 ; si no, se usa la cadena
20336 \begin_inset Flex Code
20339 \begin_layout Plain Layout
20350 \begin_layout Description
20351 \begin_inset Flex Code
20354 \begin_layout Plain Layout
20355 LabelStringAppendix
20361 \begin_inset Flex Code
20364 \begin_layout Plain Layout
20371 \begin_inset Flex Code
20374 \begin_layout Plain Layout
20380 , pero para el apéndice.
20383 \begin_layout Description
20384 \begin_inset Flex Code
20387 \begin_layout Plain Layout
20394 \begin_inset Flex Code
20397 \begin_layout Plain Layout
20404 \begin_inset Quotes erd
20408 \begin_inset Quotes erd
20411 ] Un formato para usar con las referencias a este contador.
20412 Por ejemplo, podríamos querer las referencias a los números de sección
20414 \begin_inset Quotes cld
20418 \begin_inset space ~
20422 \begin_inset Quotes crd
20426 La secuencia debería contener
20427 \begin_inset Quotes eld
20431 \begin_inset Quotes erd
20435 Esto será reemplazado por el número correspondiente del contador.
20436 Así pues, para secciones sería: Section ##.
20439 \begin_layout Description
20440 \begin_inset Flex Code
20443 \begin_layout Plain Layout
20450 \begin_inset Flex Code
20453 \begin_layout Plain Layout
20459 =""] Si esto se establece para el nombre de otro contador, el presente contador
20460 se reiniciará cada vez que el otro aumente.
20462 \begin_inset Flex Code
20465 \begin_layout Plain Layout
20471 se numera dentro de
20472 \begin_inset Flex Code
20475 \begin_layout Plain Layout
20484 \begin_layout Subsection
20485 Descripción de la tipografía
20486 \begin_inset CommandInset label
20488 name "subsec:Tipografía"
20495 \begin_layout Standard
20496 Una descripción de una tipografía se ve así:
20499 \begin_layout LyX-Code
20513 \begin_layout LyX-Code
20517 \begin_layout LyX-Code
20521 \begin_layout Standard
20522 Están disponibles los comandos siguientes:
20525 \begin_layout Description
20526 \begin_inset Flex Code
20529 \begin_layout Plain Layout
20536 \begin_inset Flex Code
20539 \begin_layout Plain Layout
20548 \begin_inset Flex Code
20551 \begin_layout Plain Layout
20558 \begin_inset Flex Code
20561 \begin_layout Plain Layout
20568 \begin_inset Flex Code
20571 \begin_layout Plain Layout
20578 \begin_inset Flex Code
20581 \begin_layout Plain Layout
20588 \begin_inset Flex Code
20591 \begin_layout Plain Layout
20598 \begin_inset Flex Code
20601 \begin_layout Plain Layout
20608 \begin_inset Flex Code
20611 \begin_layout Plain Layout
20618 \begin_inset Flex Code
20621 \begin_layout Plain Layout
20628 \begin_inset Flex Code
20631 \begin_layout Plain Layout
20638 \begin_inset Flex Code
20641 \begin_layout Plain Layout
20648 \begin_inset Flex Code
20651 \begin_layout Plain Layout
20658 \begin_inset Flex Code
20661 \begin_layout Plain Layout
20668 \begin_inset Flex Code
20671 \begin_layout Plain Layout
20678 \begin_inset Flex Code
20681 \begin_layout Plain Layout
20688 \begin_inset Flex Code
20691 \begin_layout Plain Layout
20698 \begin_inset Flex Code
20701 \begin_layout Plain Layout
20708 \begin_inset Flex Code
20711 \begin_layout Plain Layout
20718 \begin_inset Flex Code
20721 \begin_layout Plain Layout
20728 \begin_inset Flex Code
20731 \begin_layout Plain Layout
20740 \begin_layout Description
20741 \begin_inset Flex Code
20744 \begin_layout Plain Layout
20753 \begin_inset Flex Code
20756 \begin_layout Plain Layout
20767 \begin_inset Flex Code
20770 \begin_layout Plain Layout
20777 \begin_inset Flex Code
20780 \begin_layout Plain Layout
20789 \begin_layout Description
20790 \begin_inset Flex Code
20793 \begin_layout Plain Layout
20800 \begin_inset Flex Code
20803 \begin_layout Plain Layout
20809 ] Son argumentos válidos:
20810 \begin_inset Flex Code
20813 \begin_layout Plain Layout
20820 \begin_inset Flex Code
20823 \begin_layout Plain Layout
20830 \begin_inset Flex Code
20833 \begin_layout Plain Layout
20840 \begin_inset Flex Code
20843 \begin_layout Plain Layout
20850 \begin_inset Flex Code
20853 \begin_layout Plain Layout
20860 \begin_inset Flex Code
20863 \begin_layout Plain Layout
20870 \begin_inset Flex Code
20873 \begin_layout Plain Layout
20880 \begin_inset Flex Code
20883 \begin_layout Plain Layout
20890 \begin_inset Flex Code
20893 \begin_layout Plain Layout
20900 \begin_inset Flex Code
20903 \begin_layout Plain Layout
20910 \begin_inset Flex Code
20913 \begin_layout Plain Layout
20920 \begin_inset Flex Code
20923 \begin_layout Plain Layout
20930 Cada uno de ellos activa o desactiva el atributo correspondiente.
20932 \begin_inset Flex Code
20935 \begin_layout Plain Layout
20942 \begin_inset Flex Code
20945 \begin_layout Plain Layout
20952 \begin_inset Newline newline
20955 Si esto último parece superfluo, recordemos que la configuración de tipografías
20956 para el presente contexto se hereda generalmente del contexto circundante.
20958 \begin_inset Flex Code
20961 \begin_layout Plain Layout
20967 desactivaría el énfasis que estaba vigente, digamos, en un entorno teorema.
20970 \begin_layout Description
20971 \begin_inset Flex Code
20974 \begin_layout Plain Layout
20983 \begin_inset Flex Code
20986 \begin_layout Plain Layout
20997 \begin_inset Flex Code
21000 \begin_layout Plain Layout
21009 \begin_layout Description
21010 \begin_inset Flex Code
21013 \begin_layout Plain Layout
21022 \begin_inset Flex Code
21025 \begin_layout Plain Layout
21036 \begin_inset Flex Code
21039 \begin_layout Plain Layout
21046 \begin_inset Flex Code
21049 \begin_layout Plain Layout
21056 \begin_inset Flex Code
21059 \begin_layout Plain Layout
21068 \begin_layout Description
21069 \begin_inset Flex Code
21072 \begin_layout Plain Layout
21079 \begin_inset Flex Code
21082 \begin_layout Plain Layout
21089 \begin_inset Flex Code
21092 \begin_layout Plain Layout
21099 \begin_inset Flex Code
21102 \begin_layout Plain Layout
21111 \begin_inset Flex Code
21114 \begin_layout Plain Layout
21121 \begin_inset Flex Code
21124 \begin_layout Plain Layout
21131 \begin_inset Flex Code
21134 \begin_layout Plain Layout
21141 \begin_inset Flex Code
21144 \begin_layout Plain Layout
21151 \begin_inset Flex Code
21154 \begin_layout Plain Layout
21163 \begin_layout Subsection
21166 \begin_inset CommandInset label
21168 name "subsec:Citation-engine-description"
21172 Citation engine description
21175 \begin_layout Standard
21179 \begin_inset Flex Code
21182 \begin_layout Plain Layout
21190 blocks, as used mainly in cite engine files (see
21191 \begin_inset CommandInset ref
21193 reference "subsec:Cite-Engine-Files"
21200 ), define the citation commands provided by a specific
21201 \begin_inset Quotes eld
21205 \begin_inset Quotes erd
21209 A cite engine, in \SpecialChar LyX
21210 terms, is way specific way to format citations, using
21211 numbers, author names and/or years.
21212 Currently, \SpecialChar LyX
21213 supports three such engine types, namely:
21216 \begin_layout Enumerate
21219 \begin_inset Flex Code
21222 \begin_layout Plain Layout
21230 : the default Bib\SpecialChar TeX
21231 way to format citations, a simple numeric style (e.
21232 \begin_inset space \thinspace{}
21236 \begin_inset Quotes eld
21240 \begin_inset Quotes erd
21246 \begin_layout Enumerate
21249 \begin_inset Flex Code
21252 \begin_layout Plain Layout
21260 : Harvard-styled citations using author names and publication year (e.
21261 \begin_inset space \thinspace{}
21265 \begin_inset Quotes eld
21268 Smith and Miller (2017b)
21269 \begin_inset Quotes erd
21275 \begin_layout Enumerate
21278 \begin_inset Flex Code
21281 \begin_layout Plain Layout
21289 : extended numerical citations that also allow for author or title next
21291 \begin_inset space \thinspace{}
21295 \begin_inset Quotes eld
21298 Smith and Miller [1]
21299 \begin_inset Quotes erd
21305 \begin_layout Standard
21308 \begin_inset Flex Code
21311 \begin_layout Plain Layout
21319 blocks look like this:
21322 \begin_layout LyX-Code
21328 \begin_layout LyX-Code
21334 \begin_layout LyX-Code
21340 \begin_layout LyX-Code
21343 citeyearpar[][]=parencite*
21346 \begin_layout LyX-Code
21352 \begin_layout LyX-Code
21358 \begin_layout Standard
21362 \begin_inset Flex Code
21365 \begin_layout Plain Layout
21373 denotes the engine.
21374 The individual lines respectively define a cite command or cite command
21375 paradigm supported by this engine.
21376 The line can be as simple as a cite command that is used both to name the
21377 respective \SpecialChar LyX
21378 command and the \SpecialChar LaTeX
21379 output or more complex in order to differentiate
21381 The full syntax is:
21384 \begin_layout LyX-Code
21387 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
21390 \begin_layout Itemize
21393 \begin_inset Flex Code
21396 \begin_layout Plain Layout
21404 : The name as used in the
21405 \begin_inset Flex Code
21408 \begin_layout Plain Layout
21420 \begin_layout Standard
21423 For portability reasons, we try to use the same name for same-formatted
21424 commands in different cite packages (thus many names stem from natbib,
21425 and thus we need to differentiate a
21426 \begin_inset Flex Code
21429 \begin_layout Plain Layout
21437 sometimes, if the \SpecialChar LaTeX
21438 command names differ).
21442 \begin_layout Itemize
21445 \begin_inset Flex Code
21448 \begin_layout Plain Layout
21456 : a (comma-separated) list of commands that fall back to the given
21457 \begin_inset Flex Code
21460 \begin_layout Plain Layout
21468 in the current engine.
21469 This eases the switch of citation packages and engines.
21471 \begin_inset Flex Code
21474 \begin_layout Plain Layout
21483 \begin_inset Flex Code
21486 \begin_layout Plain Layout
21494 in layout definitions.
21497 \begin_layout Itemize
21500 \begin_inset Flex Code
21503 \begin_layout Plain Layout
21511 : The actual \SpecialChar LaTeX
21512 command that is output.
21516 \begin_layout Standard
21519 \begin_inset Flex Code
21522 \begin_layout Plain Layout
21531 \begin_inset Flex Code
21534 \begin_layout Plain Layout
21544 \begin_inset Flex Code
21547 \begin_layout Plain Layout
21556 \begin_inset Flex Code
21559 \begin_layout Plain Layout
21567 will be output to \SpecialChar LaTeX
21571 \begin_layout Standard
21577 \begin_layout Itemize
21580 Capitalization indicates that the command also has a capitalized form (
21581 \begin_inset Flex Code
21584 \begin_layout Plain Layout
21596 \begin_inset Flex Code
21599 \begin_layout Plain Layout
21610 These usually enforce up-casing of name prefixes (
21615 \begin_inset Formula $\Rightarrow$
21625 \begin_layout Itemize
21629 \begin_inset Flex Code
21632 \begin_layout Plain Layout
21640 indicate the number of optional arguments (there can be 0–2).
21643 \begin_layout Itemize
21647 \begin_inset Flex Code
21650 \begin_layout Plain Layout
21658 indicates there is a starred version of the command (
21659 \begin_inset Flex Code
21662 \begin_layout Plain Layout
21674 \begin_inset Flex Code
21677 \begin_layout Plain Layout
21692 \begin_layout Standard
21695 By default, the starred version means: Output all authors even if it should
21697 \begin_inset Quotes eld
21701 \begin_inset Quotes erd
21705 \begin_inset Flex Code
21708 \begin_layout Plain Layout
21719 \begin_layout Standard
21722 If the star has a different meaning for a given command, it can be specified
21724 \begin_inset Flex Code
21727 \begin_layout Plain Layout
21730 <!_stardesc!_stardesctooltip>
21736 Maximal two translatable macro keywords, marked by the prefix
21737 \begin_inset Flex Code
21740 \begin_layout Plain Layout
21749 The first points to the string that replaces the
21750 \begin_inset Quotes eld
21754 \begin_inset Quotes erd
21757 checkbox label in the citation dialog, the second one to an optional tool
21758 tip for this checkbox.
21762 \begin_layout Standard
21765 Note that these two macros have to be defined in a
21766 \begin_inset Flex Code
21769 \begin_layout Plain Layout
21777 (see next section), dropping the
21778 \begin_inset Flex Code
21781 \begin_layout Plain Layout
21789 from the prefix, like this:
21792 \begin_layout LyX-Code
21795 _stardesc Sta&rred command label
21798 \begin_layout LyX-Code
21801 _stardesctooltip Tooltip for the starred command checkbox.
21805 \begin_layout Itemize
21809 \begin_inset Flex Code
21812 \begin_layout Plain Layout
21820 indicates that this command features
21821 \begin_inset Quotes eld
21824 qualified citation lists
21825 \begin_inset Quotes erd
21833 -specific feature for multi-reference citations where an individual pre-
21834 and postnote can be given to each reference in the list.
21835 Please refer to the
21839 manual for details.
21842 \begin_layout Subsection
21843 \begin_inset CommandInset label
21845 name "subsec:Descripción-formato-cita"
21849 Descripción del formato de cita
21852 \begin_layout Standard
21854 \begin_inset Flex Code
21857 \begin_layout Plain Layout
21863 se usan para describir la forma en que debe mostrarse la información bibliográf
21864 ica, tanto en \SpecialChar LyX
21865 (en el diálogo de citas y en las ayudas emergentes, por ejemplo)
21866 como en la salida XHTML.
21867 El aspecto de unode estos bloques podría ser este:
21870 \begin_layout LyX-Code
21874 \begin_layout LyX-Code
21878 \begin_layout LyX-Code
21882 \begin_layout LyX-Code
21886 \begin_layout Standard
21892 \begin_layout LyX-Code
21898 \begin_layout LyX-Code
21904 \begin_layout LyX-Code
21910 \begin_layout LyX-Code
21916 \begin_layout Standard
21919 In the first case, the individual lines
21921 definen cómo se va a mostrar la información bibliográfica asociada con un
21922 artículo o libro, respectivamente, y tales definiciones se pueden dar para
21923 cualquier `tipo de entrada' que pudiera estar presente en un archivo Bib\SpecialChar TeX
21926 define un formato por omsión en el código fuente que se usará si no se
21927 da una definición específica.
21929 predefine varios formatos en el archivo
21930 \begin_inset Flex Code
21933 \begin_layout Plain Layout
21939 , que se incluye en la mayoría de las clases de documento de \SpecialChar LyX
21943 \begin_layout Standard
21946 In the second case, the lines define how a specific citation command (in
21948 \begin_inset Flex Code
21951 \begin_layout Plain Layout
21962 \begin_inset Flex Code
21965 \begin_layout Plain Layout
21975 ) is to be displayed on the citation inset label, in the citation dialog,
21976 menu or XHTML output.
21978 defines such formats for the citation style variants it supports via
21980 Document\SpecialChar menuseparator
21981 Setting\SpecialChar menuseparator
21982 Bibliography\SpecialChar ldots
21986 \begin_inset Flex Code
21989 \begin_layout Plain Layout
21997 files that are shipped with \SpecialChar LyX
21999 \begin_inset CommandInset ref
22001 reference "subsec:Cite-Engine-Files"
22011 \begin_layout Standard
22012 Las definiciones usan un lenguaje simple que permite reemplazar las claves
22013 Bib\SpecialChar TeX
22015 Las claves deben encerrarse entre símbolos
22016 \begin_inset Flex Code
22019 \begin_layout Plain Layout
22026 \begin_inset space \thinspace{}
22030 \begin_inset Flex Code
22033 \begin_layout Plain Layout
22040 Así, una simple definición sería:
22043 \begin_layout LyX-Code
22045 \begin_inset Quotes eld
22049 \begin_inset Quotes erd
22055 \begin_layout Standard
22056 Esto imprimiría el autor, una coma, a continuación el título entre comillas
22057 y un punto para finalizar.
22060 \begin_layout Standard
22061 A veces querrás, por supuesto, imprimir una clave solo si existe.
22062 Esto puede hacerse mediante una construcción condicional tal como:
22063 \begin_inset Flex Code
22066 \begin_layout Plain Layout
22068 \begin_inset space ~
22076 , que quiere decir: si la clave
22077 \begin_inset Flex Code
22080 \begin_layout Plain Layout
22087 \begin_inset Quotes eld
22091 \begin_inset space ~
22095 \begin_inset Quotes erd
22098 seguido de la clave.
22099 También es posible tener una cláusula de otro modo en el condicional, como:
22100 \begin_inset Newline newline
22104 \begin_inset Flex Code
22107 \begin_layout Plain Layout
22108 {%author%[[%author%]][[%editor%, ed.]]}
22114 \begin_inset Newline newline
22118 \begin_inset Flex Code
22121 \begin_layout Plain Layout
22127 se imprime si existe; por otra parte, se imprime la clave
22128 \begin_inset Flex Code
22131 \begin_layout Plain Layout
22138 \begin_inset Quotes eld
22142 \begin_inset space ~
22146 \begin_inset Quotes erd
22150 Advierte que la clave se encierra entre signos
22151 \begin_inset Flex Code
22154 \begin_layout Plain Layout
22160 ; el condicional entero se encierra entre llaves; y las cláusulas condicional
22161 y por otra parte se ponen entre cobles corchetes,
22162 \begin_inset Quotes eld
22166 \begin_inset Flex Code
22169 \begin_layout Plain Layout
22176 \begin_inset Quotes eld
22180 \begin_inset Quotes eld
22184 \begin_inset Flex Code
22187 \begin_layout Plain Layout
22194 \begin_inset Quotes erd
22198 No debe haber espacios entre ninguno de ellos.
22201 \begin_layout Standard
22204 Next to the entry keys, there are some special keys that can be used for
22205 these conditionals:
22208 \begin_layout Itemize
22211 \begin_inset Flex Code
22214 \begin_layout Plain Layout
22217 {%dialog%[[true]][[false]]}
22223 \begin_inset Quotes eld
22227 \begin_inset Quotes erd
22230 part for dialogs and menus, the
22231 \begin_inset Quotes eld
22235 \begin_inset Quotes erd
22238 part for other contexts (workarea, export)
22241 \begin_layout Itemize
22244 \begin_inset Flex Code
22247 \begin_layout Plain Layout
22250 {%export%[[true]][[false]]}
22256 \begin_inset Quotes eld
22260 \begin_inset Quotes erd
22263 part for export and menus, the
22264 \begin_inset Quotes eld
22268 \begin_inset Quotes erd
22271 part for other contexts (workarea, dialog)
22274 \begin_layout Itemize
22277 \begin_inset Flex Code
22280 \begin_layout Plain Layout
22289 \begin_inset Quotes eld
22293 \begin_inset Quotes erd
22296 part if another item follows (e.
22297 \begin_inset space \thinspace{}
22300 g., in a citation with multiple keys)
22303 \begin_layout Itemize
22306 \begin_inset Flex Code
22309 \begin_layout Plain Layout
22312 {%second%[[true]][[false]]}
22318 \begin_inset Quotes eld
22322 \begin_inset Quotes erd
22325 if this is the second of multiple items, else the
22326 \begin_inset Quotes eld
22330 \begin_inset Quotes erd
22336 \begin_layout Itemize
22339 \begin_inset Flex Code
22342 \begin_layout Plain Layout
22345 {%ifstar%[[true]][[false]]}
22351 \begin_inset Quotes eld
22355 \begin_inset Quotes erd
22358 part for starred citation commands (such as
22359 \begin_inset Flex Code
22362 \begin_layout Plain Layout
22372 ), the false part for unstarred
22375 \begin_layout Itemize
22378 \begin_inset Flex Code
22381 \begin_layout Plain Layout
22384 {%ifentrytype:<type>%[[true]][[false]]}
22390 \begin_inset Quotes eld
22394 \begin_inset Quotes erd
22397 if the current entry type matches
22398 \begin_inset Flex Code
22401 \begin_layout Plain Layout
22409 , else the false part (e.g., in a citation definition:
22410 \begin_inset Flex Code
22413 \begin_layout Plain Layout
22416 {%ifentrytype:book%[[this is a book]][[this is no book]]}
22424 \begin_layout Itemize
22427 \begin_inset Flex Code
22430 \begin_layout Plain Layout
22433 {%ifmultiple:<authortype>%[[true]][[false]]}
22439 \begin_inset Quotes eld
22443 \begin_inset Quotes erd
22446 if the current author type (author, editor etc.) has multiple authors, else
22447 the false part (e.g., in a bibliography definition:
22448 \begin_inset Flex Code
22451 \begin_layout Plain Layout
22454 {%ifmultiple:editor%[[eds.]][[ed.]]}
22462 \begin_layout Itemize
22465 \begin_inset Flex Code
22468 \begin_layout Plain Layout
22471 {%ifqualified%[[true]][[false]]}
22477 \begin_inset Quotes eld
22481 \begin_inset Quotes erd
22484 part if the current citation is a qualified citation list (a specific
22488 format for multi-reference citations), the false part if this is not the
22492 \begin_layout Standard
22496 \begin_inset Flex Code
22499 \begin_layout Plain Layout
22507 prints the author key as it is recorded in the bibliography file.
22508 This might not be what you want, since it will result in a string such
22510 \begin_inset Quotes eld
22513 Miller, Peter and Smith, Mary and White, Jane
22514 \begin_inset Quotes erd
22518 \begin_inset Quotes eld
22522 \begin_inset Quotes erd
22525 is used by Bib\SpecialChar TeX
22526 to delimit authors).
22528 therefore provides some methods to get properly formatted name lists (which
22529 will also get translated).
22530 The following keys are provided:
22533 \begin_layout Enumerate
22536 For name lists with pre- and surname, suitable for the main authors/editors
22537 of a bibliography item.
22539 \begin_inset Flex Code
22542 \begin_layout Plain Layout
22550 part denotes the kind of list that is requested (e.g.
22552 \begin_inset Flex Code
22555 \begin_layout Plain Layout
22567 \begin_layout Itemize
22570 \begin_inset Flex Code
22573 \begin_layout Plain Layout
22576 %abbrvnames:<nametype>%
22581 : Provides a name list which is abbreviated (with
22582 \begin_inset Quotes eld
22586 \begin_inset Quotes erd
22590 \begin_inset Flex Code
22593 \begin_layout Plain Layout
22604 \begin_layout Itemize
22607 \begin_inset Flex Code
22610 \begin_layout Plain Layout
22613 %fullnames:<nametype>%
22618 : Provides a full name list (never abbreviated with
22619 \begin_inset Quotes eld
22623 \begin_inset Quotes erd
22629 \begin_layout Itemize
22632 \begin_inset Flex Code
22635 \begin_layout Plain Layout
22638 %forceabbrvnames:<nametype>%
22643 : Provides a name list which is always abbreviated (with
22644 \begin_inset Quotes eld
22648 \begin_inset Quotes erd
22652 \begin_inset Flex Code
22655 \begin_layout Plain Layout
22667 \begin_layout Enumerate
22670 Alternative name lists with pre- and surname, if the order of pre- and surname
22671 inside the bibliography item differs (as in:
22672 \begin_inset Quotes eld
22675 Miller, John: Some text, in: Mary Smith, ed.: A volume
22676 \begin_inset Quotes erd
22683 \begin_layout Itemize
22686 \begin_inset Flex Code
22689 \begin_layout Plain Layout
22692 %abbrvbynames:<nametype>%
22697 : Provides a name list which is abbreviated (with
22698 \begin_inset Quotes eld
22702 \begin_inset Quotes erd
22706 \begin_inset Flex Code
22709 \begin_layout Plain Layout
22720 \begin_layout Itemize
22723 \begin_inset Flex Code
22726 \begin_layout Plain Layout
22729 %fullbynames:<nametype>%
22734 : Provides a full name list (never abbreviated with
22735 \begin_inset Quotes eld
22739 \begin_inset Quotes erd
22745 \begin_layout Itemize
22748 \begin_inset Flex Code
22751 \begin_layout Plain Layout
22754 %forceabbrvbynames:<nametype>%
22759 : Provides a name list which is always abbreviated (with
22760 \begin_inset Quotes eld
22764 \begin_inset Quotes erd
22768 \begin_inset Flex Code
22771 \begin_layout Plain Layout
22783 \begin_layout Enumerate
22786 And finally name lists which consist of family names only, as used in author-yea
22788 these do not take a
22789 \begin_inset Flex Code
22792 \begin_layout Plain Layout
22800 part, but always return either an author list or, if this does not exist,
22801 an editor list (as common in author-year labels):
22805 \begin_layout Itemize
22808 \begin_inset Flex Code
22811 \begin_layout Plain Layout
22819 : Provides a name list which is abbreviated (with
22820 \begin_inset Quotes eld
22824 \begin_inset Quotes erd
22828 \begin_inset Flex Code
22831 \begin_layout Plain Layout
22842 \begin_layout Itemize
22845 \begin_inset Flex Code
22848 \begin_layout Plain Layout
22856 : Provides a full name list (never abbreviated with
22857 \begin_inset Quotes eld
22861 \begin_inset Quotes erd
22867 \begin_layout Itemize
22870 \begin_inset Flex Code
22873 \begin_layout Plain Layout
22876 %forceabbrvciteauthor%
22881 : Provides a name list which is always abbreviated (with
22882 \begin_inset Quotes eld
22886 \begin_inset Quotes erd
22890 \begin_inset Flex Code
22893 \begin_layout Plain Layout
22905 \begin_layout Standard
22908 The order of pre- and surname in the former two lists can be adjusted by
22912 \begin_layout Itemize
22915 \begin_inset Flex Code
22918 \begin_layout Plain Layout
22921 !firstnameform %surname%, %prename%
22926 (first author in lists of type 1)
22929 \begin_layout Itemize
22932 \begin_inset Flex Code
22935 \begin_layout Plain Layout
22938 !othernameform %surname%, %prename%
22943 (other authors in lists of type 1)
22946 \begin_layout Itemize
22949 \begin_inset Flex Code
22952 \begin_layout Plain Layout
22955 !firstbynameform %prename% %surname%
22960 (first author in lists of type 2)
22963 \begin_layout Itemize
22966 \begin_inset Flex Code
22969 \begin_layout Plain Layout
22972 !otherbynameform %prename% %surname%
22977 (other authors in lists of type 2)
22980 \begin_layout Standard
22983 This allows you to configure namings like
22984 \begin_inset Quotes eld
22987 Miller, Peter and Mary Smith: \SpecialChar ldots
22988 , in: John Doe and Pat Green, eds.:\SpecialChar ldots
22990 \begin_inset Quotes erd
22996 \begin_layout Standard
22997 Hay otra pieza de sintaxis disponible en las definiciones, como esta:
22998 \begin_inset Flex Code
23001 \begin_layout Plain Layout
23008 Define una pieza de información para ser usada cuando creamos
23009 \begin_inset Quotes eld
23013 \begin_inset Quotes erd
23017 Obviamente, no queremos etiquetas HTML cuando escribimos texto sencillo,
23018 por tanto deben ponerse entre
23019 \begin_inset Quotes eld
23023 \begin_inset Quotes erd
23027 \begin_inset Quotes eld
23031 \begin_inset Quotes erd
23037 \begin_layout Standard
23038 Además, hay dos clases especiales de definiciones disponibles en un bloque
23040 \begin_inset Flex Code
23043 \begin_layout Plain Layout
23050 Un ejemplo de la primera sería:
23053 \begin_layout LyX-Code
23055 \begin_inset Quotes eld
23059 \begin_inset Quotes erd
23065 \begin_layout Standard
23066 Esto es una abreviación, o macro, y se puede usar tratándola como si fuera
23068 \begin_inset Flex Code
23071 \begin_layout Plain Layout
23080 \begin_inset Flex Code
23083 \begin_layout Plain Layout
23089 exactamente como trataría su definición.
23090 Por tanto, permítenos un
23098 \begin_layout LyX-Code
23102 \begin_layout Standard
23105 no caería en un bucle infinito, pero sí en uno muy largo.
23108 \begin_layout Standard
23109 El segundo tipo especial de definición sería como:
23112 \begin_layout LyX-Code
23116 \begin_layout Standard
23117 Esto define un trozo de texto traducible, que permite traducir partes relevantes
23118 de la bibliografía o de la cita.
23119 Puede incluirse en una definición tratándolo como una clave:
23120 \begin_inset Flex Code
23123 \begin_layout Plain Layout
23132 Note that there are two different translation paths: All definitions starting
23134 \begin_inset Flex Code
23137 \begin_layout Plain Layout
23145 , such as in the example above, will be translated to the currently active
23146 buffer language (so the translation will match the generated document).
23147 All definitions starting with underscore only will be translated to the
23149 This is the proper translation for strings that only occur in the dialogs
23150 or on buttons, such as this one:
23153 \begin_layout LyX-Code
23156 _addtobib Add to bibliography only.
23159 \begin_layout Standard
23160 Varios de estos cadenas de caracteres traducible están predefinidos en
23161 \begin_inset Flex Code
23164 \begin_layout Plain Layout
23170 y en los diversos archivos
23171 \begin_inset Flex Code
23174 \begin_layout Plain Layout
23181 Advertiremos que no son macros en el sentido definido.
23185 \begin_layout Standard
23186 Aquí hay, pues, un ejemplo que usa varias estas características:
23187 \begin_inset VSpace defskip
23193 \begin_layout Standard
23197 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %B_edtext%, ]]}]]}
23200 \begin_layout Standard
23201 \begin_inset VSpace defskip
23204 Así definimos una macro que imprime el autor seguido de coma, si la clave
23206 \begin_inset Flex Code
23209 \begin_layout Plain Layout
23215 está definida, o imprime el nombre del editor seguido por el texto
23216 \begin_inset Flex Code
23219 \begin_layout Plain Layout
23225 o su traducción (por omisión
23226 \begin_inset Quotes eld
23230 \begin_inset Quotes erd
23234 \begin_inset Flex Code
23237 \begin_layout Plain Layout
23244 De hecho, esto está definido en
23245 \begin_inset Flex Code
23248 \begin_layout Plain Layout
23254 , por tanto puedes usarlo en tus propias definiciones o redefiniciones,
23255 si cargas antes ese archivo.
23258 \begin_layout Section
23259 Etiquetas para la salida XHTML
23260 \begin_inset CommandInset label
23262 name "sec:Etiquetas-para-XHTML"
23269 \begin_layout Standard
23270 Como para \SpecialChar LaTeX
23271 o DocBook, el formato de salida XHTML en \SpecialChar LyX
23272 también se controla
23273 mediante la información contenida en archivos de formato.
23274 En general, \SpecialChar LyX
23275 provee valores predefinidos sensatos y, como se mencionó anteriorm
23276 ente, incluso construirá reglas de estilo CSS a partir de las otras etiquetas
23278 Por ejemplo, \SpecialChar LyX
23279 intentará usar la información proporcionada por la declaración
23281 \begin_inset Flex Code
23284 \begin_layout Plain Layout
23290 para el estilo Chapter para escribir CSS que formateará adecuadamente los
23291 encabezados de capítulo.
23294 \begin_layout Standard
23295 En muchos casos, por tanto, no tendrás que hacer nada para obtener una aceptable
23296 salida XHTML para tus propios entornos, recuadros personalizados y cosas
23298 Pero en ciertos casos querrás hacer cambios, y para eso \SpecialChar LyX
23300 número de etiquetas de formato que se pueden usar para personalizar los
23301 XHTML y CSS generados.
23304 \begin_layout Standard
23305 Advertimos que hay dos etiquetas,
23306 \begin_inset Flex Code
23309 \begin_layout Plain Layout
23316 \begin_inset Flex Code
23319 \begin_layout Plain Layout
23325 que pueden aparecer fuera de las declaraciones de estilos y recuadros.
23327 \begin_inset CommandInset ref
23329 reference "subsec:Parámetros-generales-clases"
23333 para detalles sobre esto.
23336 \begin_layout Subsection
23338 \begin_inset CommandInset label
23340 name "subsec:Estilos-de-párrafo-XHTML"
23347 \begin_layout Standard
23348 El tipo de XHTML que genera \SpecialChar LyX
23349 para un párrafo depende de si se trata de un
23350 párrafo normal, de un comando o de un entorno, en los que esto se determina
23351 por el contenido de la correspondiente etiqueta
23352 \begin_inset Flex Code
23355 \begin_layout Plain Layout
23366 \begin_layout Standard
23367 Para un comando o párrafo, la salida XHTML tiene la forma siguiente:
23370 \begin_layout LyX-Code
23374 \begin_inset Quotes erd
23378 \begin_inset Quotes erd
23384 \begin_layout LyX-Code
23388 \begin_inset Quotes erd
23392 \begin_inset Quotes erd
23398 \begin_layout LyX-Code
23401 Contents of the paragraph.
23404 \begin_layout LyX-Code
23410 \begin_layout Standard
23411 Por supuesto, `label tags´ se omiten si el párrafo no tiene etiqueta.
23414 \begin_layout Standard
23415 Para un entorno que no sea algún tipo de lista, XHTML toma la forma:
23418 \begin_layout LyX-Code
23422 \begin_inset Quotes erd
23426 \begin_inset Quotes erd
23432 \begin_layout LyX-Code
23436 \begin_inset Quotes erd
23440 \begin_inset Quotes erd
23444 \begin_inset Quotes erd
23448 \begin_inset Quotes erd
23451 >Environment Label</labeltag>First paragraph.</itemtag>
23454 \begin_layout LyX-Code
23457 <itemtag>Second paragraph.</itemtag>
23460 \begin_layout LyX-Code
23466 \begin_layout Standard
23467 La etiqueta se genera solo para el primer párrafo, como debería ser, por
23468 ejemplo, para un teorema.
23472 \begin_layout Standard
23473 Para una lista disponemos de una de estas formas:
23476 \begin_layout LyX-Code
23480 \begin_inset Quotes erd
23484 \begin_inset Quotes erd
23490 \begin_layout LyX-Code
23494 \begin_inset Quotes erd
23498 \begin_inset Quotes erd
23502 \begin_inset Quotes erd
23506 \begin_inset Quotes erd
23509 >List Label</labeltag>First item.</itemtag>
23512 \begin_layout LyX-Code
23516 \begin_inset Quotes erd
23520 \begin_inset Quotes erd
23524 \begin_inset Quotes erd
23528 \begin_inset Quotes erd
23531 >List Label</labeltag>Second item.</itemtag>
23534 \begin_layout LyX-Code
23540 \begin_layout LyX-Code
23544 \begin_layout LyX-Code
23548 \begin_inset Quotes erd
23552 \begin_inset Quotes erd
23558 \begin_layout LyX-Code
23562 \begin_inset Quotes erd
23566 \begin_inset Quotes erd
23569 >List Label</labeltag><itemtag attr=
23570 \begin_inset Quotes erd
23574 \begin_inset Quotes erd
23577 >First item.</itemtag>
23580 \begin_layout LyX-Code
23584 \begin_inset Quotes erd
23588 \begin_inset Quotes erd
23591 >List Label</labeltag><itemtag attr=
23592 \begin_inset Quotes erd
23596 \begin_inset Quotes erd
23599 >Second item.</itemtag>
23602 \begin_layout LyX-Code
23608 \begin_layout Standard
23609 Observa los diferentes órdenes de
23610 \begin_inset Flex Code
23613 \begin_layout Plain Layout
23620 \begin_inset Flex Code
23623 \begin_layout Plain Layout
23630 El orden que obtenemos depende del ajuste de
23631 \begin_inset Flex Code
23634 \begin_layout Plain Layout
23641 \begin_inset Flex Code
23644 \begin_layout Plain Layout
23650 es falso (por omisión), se obtiene el primero de ellos, con la etiqueta
23651 dentro del ítem; si verdadero, se obtiene el segundo, con la etiqueta fuera
23655 \begin_layout Standard
23656 Las etiquetas específicas y la salida de los atributos para cada tipo de
23657 párrafo puede ser controlado por medio de las etiquetas de formato que
23659 Como mencionamos antes, sin embargo, \SpecialChar LyX
23660 usa predefinidos adecuados para muchos
23661 de estos valores, por lo que generalmente no necesitarás hacer nada para
23662 obtener una buena salida XHTML.
23663 Partiendo de las etiquetas ya disponibles puedes afinar las cosas a tu
23667 \begin_layout Description
23668 \begin_inset Flex Code
23671 \begin_layout Plain Layout
23678 \begin_inset Flex Code
23681 \begin_layout Plain Layout
23687 ] Especifica información de los atributos a entregar con la etiqueta principal.
23689 \begin_inset Quotes eld
23693 \begin_inset Flex Code
23696 \begin_layout Plain Layout
23703 \begin_inset Quotes erd
23707 Por omisión, \SpecialChar LyX
23709 \begin_inset Quotes eld
23713 \begin_inset Flex Code
23716 \begin_layout Plain Layout
23723 \begin_inset Quotes erd
23727 \begin_inset Flex Code
23730 \begin_layout Plain Layout
23736 es el nombre del formato en \SpecialChar LyX
23737 , en minúsculas, por ejemplo: chapter.
23742 debería contener ninguna información de estilo.
23744 \begin_inset Flex Code
23747 \begin_layout Plain Layout
23753 para ese propósito.
23756 \begin_layout Description
23757 \begin_inset Flex Code
23760 \begin_layout Plain Layout
23767 \begin_inset Flex Code
23770 \begin_layout Plain Layout
23779 \begin_inset space \thinspace{}
23783 \begin_inset Flex Code
23786 \begin_layout Plain Layout
23792 ] Si producir la información CSS predeterminada que \SpecialChar LyX
23793 genera para este formato,
23794 incluso si se proporciona explícitamente información adicional mediante
23796 \begin_inset Flex Code
23799 \begin_layout Plain Layout
23807 \begin_inset Flex Code
23810 \begin_layout Plain Layout
23816 permite alterar o aumentar el CSS generado, no sobrescribirlo totalmente.
23818 \begin_inset Flex Code
23821 \begin_layout Plain Layout
23830 \begin_layout Description
23831 \begin_inset Flex Code
23834 \begin_layout Plain Layout
23841 \begin_inset Flex Code
23844 \begin_layout Plain Layout
23850 ] Etiqueta a usar para párrafos individuales de entornos, reemplazando
23851 \begin_inset Flex Code
23854 \begin_layout Plain Layout
23860 en los ejemplos de arriba.
23862 \begin_inset Flex Code
23865 \begin_layout Plain Layout
23874 \begin_layout Description
23875 \begin_inset Flex Code
23878 \begin_layout Plain Layout
23885 \begin_inset Flex Code
23888 \begin_layout Plain Layout
23894 ] Atributos para la etiqueta ítem.
23896 \begin_inset Newline newline
23900 \begin_inset Quotes eld
23904 \begin_inset Flex Code
23907 \begin_layout Plain Layout
23908 class=`layoutname_item'
23914 \begin_inset Quotes erd
23922 debería contener ninguna información de estilo.
23924 \begin_inset Flex Code
23927 \begin_layout Plain Layout
23933 para ese propósito.
23936 \begin_layout Description
23937 \begin_inset Flex Code
23940 \begin_layout Plain Layout
23947 \begin_inset Flex Code
23950 \begin_layout Plain Layout
23956 ] Etiqueta a usar para rótulos de párrafos e ítems, reemplazando
23957 \begin_inset Flex Code
23960 \begin_layout Plain Layout
23966 en los ejemplos de arriba.
23968 \begin_inset Flex Code
23971 \begin_layout Plain Layout
23978 \begin_inset Flex Code
23981 \begin_layout Plain Layout
23988 \begin_inset Flex Code
23991 \begin_layout Plain Layout
23998 \begin_inset Flex Code
24001 \begin_layout Plain Layout
24002 Centered_Top_Environment
24007 , en cuyos casos es
24008 \begin_inset Flex Code
24011 \begin_layout Plain Layout
24020 \begin_layout Description
24021 \begin_inset Flex Code
24024 \begin_layout Plain Layout
24031 \begin_inset Flex Code
24034 \begin_layout Plain Layout
24040 ] Atributos para la etiqueta del rótulo.
24042 \begin_inset Newline newline
24046 \begin_inset Quotes eld
24050 \begin_inset Flex Code
24053 \begin_layout Plain Layout
24054 class=`layoutname_label'
24060 \begin_inset Quotes erd
24068 debería contener ninguna información de estilo.
24070 \begin_inset Flex Code
24073 \begin_layout Plain Layout
24079 para ese propósito.
24082 \begin_layout Description
24083 \begin_inset Flex Code
24086 \begin_layout Plain Layout
24093 \begin_inset Flex Code
24096 \begin_layout Plain Layout
24105 \begin_inset space \thinspace{}
24109 \begin_inset Flex Code
24112 \begin_layout Plain Layout
24118 ] Solo es significativo para entornos tipo lista, esta etiqueta controla
24119 si la etiqueta de rótulo se genera antes o dentro de la etiqueta de ítem.
24120 Se usa, por ejemplo, en el entorno descripción, donde queremos `
24121 \begin_inset Flex Code
24124 \begin_layout Plain Layout
24125 <dt>\SpecialChar ldots
24126 </dt><dd>\SpecialChar ldots
24134 \begin_inset Flex Code
24137 \begin_layout Plain Layout
24143 : la etiqueta de rótulo se genera dentro de la etiqueta de ítem.
24146 \begin_layout Description
24147 \begin_inset Flex Code
24150 \begin_layout Plain Layout
24156 Información para generar en la sección
24157 \begin_inset Flex Code
24160 \begin_layout Plain Layout
24166 cuando se usa este estilo.
24167 Esto podría, por ejemplo, utilizarse para incluir un bloque
24168 \begin_inset Flex Code
24171 \begin_layout Plain Layout
24177 definiendo un controlador
24178 \begin_inset Flex Code
24181 \begin_layout Plain Layout
24190 \begin_layout Description
24191 \begin_inset Flex Code
24194 \begin_layout Plain Layout
24200 Información de estilo CSS a incluir cuando se usa este estilo.
24201 Advertimos que esto será automáticamente envuelto en un bloque
24202 \begin_inset Flex Code
24205 \begin_layout Plain Layout
24211 generado por el formato, por tanto solo es necesario incluir el propio
24214 \begin_inset Flex Code
24217 \begin_layout Plain Layout
24226 \begin_layout Description
24227 \begin_inset Flex Code
24230 \begin_layout Plain Layout
24237 \begin_inset Flex Code
24240 \begin_layout Plain Layout
24246 ] Etiqueta para el rótulo principal, reemplazando
24247 \begin_inset Flex Code
24250 \begin_layout Plain Layout
24256 en losejemplos de arriba.
24258 \begin_inset Flex Code
24261 \begin_layout Plain Layout
24270 \begin_layout Description
24271 \begin_inset Flex Code
24274 \begin_layout Plain Layout
24281 \begin_inset Flex Code
24284 \begin_layout Plain Layout
24293 \begin_inset space \thinspace{}
24297 \begin_inset Flex Code
24300 \begin_layout Plain Layout
24306 ] Marca este estilo como el que se va a usar para generar la etiqueta
24307 \begin_inset Flex Code
24310 \begin_layout Plain Layout
24316 para el archivo XHTML.
24317 Por omisión, es falso.
24319 \begin_inset Flex Code
24322 \begin_layout Plain Layout
24328 lo establece verdadero para el entorno
24329 \begin_inset Flex Code
24332 \begin_layout Plain Layout
24342 \begin_layout Subsection
24346 \begin_layout Standard
24347 La salida XHTML de los recuadros también se puede controlar por información
24348 en archivos 'layout'.
24352 \begin_layout Plain Layout
24353 Por ahora, esto solo es cierto para recuadros de
24354 \begin_inset Quotes eld
24358 \begin_inset Quotes erd
24361 (recuadros en los que puedes escribir) y no para recuadros de
24362 \begin_inset Quotes eld
24366 \begin_inset Quotes erd
24369 (recuadros asociados con cuadros de diálogo).
24374 También en este caso, \SpecialChar LyX
24375 intenta proporcionar valores predefinidos adecuados,
24376 y construye reglas de estilo CSS, pero todo puede personalizarse.
24379 \begin_layout Standard
24380 Para los recuadros, \SpecialChar LyX
24381 produce XHTML en la forma:
24384 \begin_layout LyX-Code
24386 \begin_inset Quotes erd
24390 \begin_inset Quotes erd
24396 \begin_layout LyX-Code
24397 <labeltag>Label</labeltag>
24400 \begin_layout LyX-Code
24402 \begin_inset Quotes erd
24406 \begin_inset Quotes erd
24409 >Contents of the inset.</innertag>
24412 \begin_layout LyX-Code
24416 \begin_layout Standard
24417 Si el recuadro permite párrafos múltiples —o sea, si
24418 \begin_inset Flex Code
24421 \begin_layout Plain Layout
24427 es verdadero— el contenido del recuadro se generará en forma de párrafos
24428 estructurados según los estilos usados para dichos párrafos (normal, cita,
24430 El rótulo de la etiqueta se omite si el párrafo no lo tiene y, por el momento,
24432 \begin_inset Flex Code
24435 \begin_layout Plain Layout
24442 La etiqueta interior es opcional y, por omisión, no aparece.
24445 \begin_layout Standard
24446 Las etiquetas y atributos específicos para cada recuadro se pueden controlar
24447 mediante las siguientes etiquetas de formato.
24450 \begin_layout Description
24451 \begin_inset Flex Code
24454 \begin_layout Plain Layout
24461 \begin_inset Flex Code
24464 \begin_layout Plain Layout
24470 ] Especifica información de atributos a generar con la etiqueta principal.
24472 \begin_inset Quotes eld
24476 \begin_inset Flex Code
24479 \begin_layout Plain Layout
24480 class=`myinset' onclick=`\SpecialChar ldots
24487 \begin_inset Quotes erd
24491 Por omisión, \SpecialChar LyX
24493 \begin_inset Quotes eld
24497 \begin_inset Flex Code
24500 \begin_layout Plain Layout
24507 \begin_inset Quotes erd
24511 \begin_inset Flex Code
24514 \begin_layout Plain Layout
24520 es el nombre del recuadro en \SpecialChar LyX
24521 , en minúsculas y con los caracteres no alfanuméri
24522 cos convertidos en guiones bajos, por ejemplo: footnote.
24525 \begin_layout Description
24526 \begin_inset Flex Code
24529 \begin_layout Plain Layout
24536 \begin_inset Flex Code
24539 \begin_layout Plain Layout
24548 \begin_inset space \thinspace{}
24552 \begin_inset Flex Code
24555 \begin_layout Plain Layout
24561 ] Si producir la información CSS predeterminadad que \SpecialChar LyX
24562 genera para este formato,
24563 incluso si se da explícitamente información adicional con
24564 \begin_inset Flex Code
24567 \begin_layout Plain Layout
24575 \begin_inset Flex Code
24578 \begin_layout Plain Layout
24584 parmite alterar o aumentar el CSS generado, en vez de sobrescribirlo.
24588 \begin_layout Description
24589 \begin_inset Flex Code
24592 \begin_layout Plain Layout
24599 \begin_inset Flex Code
24602 \begin_layout Plain Layout
24608 ] Atributos para la etiqueta interna.
24610 \begin_inset Newline newline
24614 \begin_inset Quotes eld
24618 \begin_inset Flex Code
24621 \begin_layout Plain Layout
24622 class=`insetname_inner'
24628 \begin_inset Quotes erd
24634 \begin_layout Description
24635 \begin_inset Flex Code
24638 \begin_layout Plain Layout
24645 \begin_inset Flex Code
24648 \begin_layout Plain Layout
24654 ] La etiqueta interna, reemplazando
24655 \begin_inset Flex Code
24658 \begin_layout Plain Layout
24664 en los ejemplos de arriba.
24665 Por omisión, ninguna.
24668 \begin_layout Description
24669 \begin_inset Flex Code
24672 \begin_layout Plain Layout
24679 \begin_inset Flex Code
24682 \begin_layout Plain Layout
24689 \begin_inset space \thinspace{}
24693 \begin_inset Flex Code
24696 \begin_layout Plain Layout
24704 ] Si este recuadro representa un bloque de texto independiente (como una
24705 nota al pie) o bien representa material que está incluido en el texto circundan
24706 te (como una rama).
24710 \begin_layout Description
24711 \begin_inset Flex Code
24714 \begin_layout Plain Layout
24721 \begin_inset Flex Code
24724 \begin_layout Plain Layout
24730 ] Un rótulo para este recuadro, posiblemente incluyendo una referencia a
24732 Por ejemplo, para notas al pie, podría ser:
24733 \begin_inset Flex Code
24736 \begin_layout Plain Layout
24745 Esto es opcional y no hay valor predeterminado.
24748 \begin_layout Description
24749 \begin_inset Flex Code
24752 \begin_layout Plain Layout
24758 Información que saldrá en la sección
24759 \begin_inset Flex Code
24762 \begin_layout Plain Layout
24768 cuando se usa este estilo.
24769 Esto podría usarse, por ejemplo, para incluir un bloque
24770 \begin_inset Flex Code
24773 \begin_layout Plain Layout
24779 que defina un controlador
24780 \begin_inset Flex Code
24783 \begin_layout Plain Layout
24792 \begin_layout Description
24793 \begin_inset Flex Code
24796 \begin_layout Plain Layout
24802 Información de estilo CSS a incluir cuando se usa este estilo.
24803 Esto será automáticamente envuelto en un bloque
24804 \begin_inset Flex Code
24807 \begin_layout Plain Layout
24813 generado por el formato, por lo que solo hay que incluir el propio CSS.
24816 \begin_layout Description
24817 \begin_inset Flex Code
24820 \begin_layout Plain Layout
24827 \begin_inset Flex Code
24830 \begin_layout Plain Layout
24836 ] La etiqueta a usar para el rótulo principal, reemplazando
24837 \begin_inset Flex Code
24840 \begin_layout Plain Layout
24846 en los ejemplos de arriba.
24847 El valor por omisión depende de
24848 \begin_inset Flex Code
24851 \begin_layout Plain Layout
24858 \begin_inset Flex Code
24861 \begin_layout Plain Layout
24868 \begin_inset Flex Code
24871 \begin_layout Plain Layout
24877 ; si es falso, el valor por omisión es
24878 \begin_inset Flex Code
24881 \begin_layout Plain Layout
24890 \begin_layout Subsection
24894 \begin_layout Standard
24895 La salida XHTML para flotantes también se puede controlar mediante información
24896 en archivos 'layout'.
24897 La salida tiene la forma:
24900 \begin_layout LyX-Code
24902 \begin_inset Quotes erd
24906 \begin_inset Quotes erd
24912 \begin_layout LyX-Code
24913 Contents of the float.
24916 \begin_layout LyX-Code
24920 \begin_layout Standard
24921 La leyenda, si la hay, es un recuadro separado y se generará como tal.
24922 Su aspecto puede controlarse con InsetLayout para recuadros de leyendas.
24926 \begin_layout Description
24927 \begin_inset Flex Code
24930 \begin_layout Plain Layout
24937 \begin_inset Flex Code
24940 \begin_layout Plain Layout
24946 ] Especifica información de los atributos a generar con la etiqueta principal,
24948 \begin_inset Quotes eld
24952 \begin_inset Flex Code
24955 \begin_layout Plain Layout
24956 class=`myfloat' onclick=`\SpecialChar ldots
24963 \begin_inset Quotes erd
24967 Por omisión, \SpecialChar LyX
24969 \begin_inset Quotes eld
24973 \begin_inset Flex Code
24976 \begin_layout Plain Layout
24977 class=`float float-floattype'
24983 \begin_inset Quotes erd
24987 \begin_inset Flex Code
24990 \begin_layout Plain Layout
24996 es el nombre en \SpecialChar LyX
24997 para este tipo de flotante, como determina la declaración
24999 \begin_inset CommandInset ref
25001 reference "subsec:Flotantes"
25005 ), aunque en minúsculas y con los caracteres no alfanuméricos sustituidos
25006 por guiones bajos, por ejemplo: float-table.
25009 \begin_layout Description
25010 \begin_inset Flex Code
25013 \begin_layout Plain Layout
25019 Información de estilo CSS a incluir cuando se usa este flotante.
25020 Esto será automáticamente envuelto en un bloque
25021 \begin_inset Flex Code
25024 \begin_layout Plain Layout
25030 generado por el formato, por lo que solo hay que incluir el propio CSS.
25033 \begin_layout Description
25034 \begin_inset Flex Code
25037 \begin_layout Plain Layout
25044 \begin_inset Flex Code
25047 \begin_layout Plain Layout
25053 ] La etiqueta a usar para este flotante, reemplazando "
25054 \begin_inset Flex Code
25057 \begin_layout Plain Layout
25063 " en el ejemplo de arriba.
25064 El valor por omisión es
25065 \begin_inset Flex Code
25068 \begin_layout Plain Layout
25074 y raramente habrá que cambiarlo.
25077 \begin_layout Subsection
25078 Formato de la Bibliografía
25081 \begin_layout Standard
25082 La bibliografía se puede formatear usando bloques
25083 \begin_inset Flex Code
25086 \begin_layout Plain Layout
25094 \begin_inset CommandInset ref
25096 reference "subsec:Descripción-formato-cita"
25103 \begin_layout Subsection
25104 CSS generado por \SpecialChar LyX
25108 \begin_layout Standard
25109 Hemos mencionado ya que \SpecialChar LyX
25110 generará reglas de estilo CSS predeterminadas para
25111 recuadros y estilos de párrafo, basados en la información suministrada
25112 para otros formatos.
25113 En esta sección comentaremos qué información usa \SpecialChar LyX
25117 \begin_layout Standard
25118 Actualmente, \SpecialChar LyX
25119 auto-genera CSS solo para información sobre tipografías, haciendo
25121 \begin_inset Flex Code
25124 \begin_layout Plain Layout
25131 \begin_inset Flex Code
25134 \begin_layout Plain Layout
25141 \begin_inset Flex Code
25144 \begin_layout Plain Layout
25151 \begin_inset Flex Code
25154 \begin_layout Plain Layout
25160 especificados en la declaración
25161 \begin_inset Flex Code
25164 \begin_layout Plain Layout
25172 \begin_inset CommandInset ref
25174 reference "subsec:Tipografía"
25178 .) La traducción es bastante sencilla y evidente.
25180 \begin_inset Quotes eld
25184 \begin_inset Flex Code
25187 \begin_layout Plain Layout
25194 \begin_inset Quotes erd
25198 \begin_inset Quotes eld
25202 \begin_inset Flex Code
25205 \begin_layout Plain Layout
25206 font-family: sans-serif;
25212 \begin_inset Quotes erd
25216 La correspondencia entre tamaños \SpecialChar LyX
25217 y tamaños CSS es un poco menos obvia,
25218 pero intuitiva en todo caso.
25220 \begin_inset Flex Code
25223 \begin_layout Plain Layout
25230 \begin_inset Flex URL
25233 \begin_layout Plain Layout
25244 \begin_layout Chapter
25245 Inserción de material externo
25246 \begin_inset CommandInset label
25248 name "cap:Inserción-de-material"
25255 \begin_layout Standard
25256 \begin_inset Box Shadowbox
25266 height_special "totalheight"
25271 backgroundcolor "none"
25274 \begin_layout Plain Layout
25275 AVISO: Esta parte de la documentación no ha sido actualizada desde hace
25277 Esperamos que aún sea adecuada, pero no hay garantías.
25285 \begin_layout Standard
25286 El uso de material de procedencia externa a \SpecialChar LyX
25287 se trata con detalle en el
25293 En el presente documento se trata sobre lo que debe suceder entre bambalinas
25294 para incluir nuevas clases de material.
25297 \begin_layout Section
25301 \begin_layout Standard
25302 La característica material externo se basa en el concepto
25307 Una plantilla es una especificación de la forma en que \SpecialChar LyX
25309 ciertos tipos de material.
25310 De por sí, \SpecialChar LyX
25311 incluye plantillas predefinidas para figuras Xfig, varios tipos
25312 de imágenes raster, diagramas de ajedrez y notación musical LilyPond.
25313 Puedes comprobar la lista actual en el menú
25314 \begin_inset Flex Noun
25317 \begin_layout Plain Layout
25318 Insertar\SpecialChar menuseparator
25319 Archivo\SpecialChar menuseparator
25326 Además, es posible construir plantillas propias para soportar determinado
25328 Más tarde describiremos con más detalle lo que esto implica, y esperamos
25329 que nos envíes tus plantillas para que se puedan incluir en próximas versiones
25330 de \SpecialChar LyX
25334 \begin_layout Standard
25335 Otra idea básica de la característica material externo es distinguir entre
25336 el archivo original que sirve como base para el material final y el archivo
25337 generado que se incluye en el documento impreso o exportado.
25338 Por ejemplo, consideremos el caso de una figura hecha con
25339 \begin_inset Flex Code
25342 \begin_layout Plain Layout
25349 El programa Xfig en sí mismo trabaja sobre un archivo original con extensión
25351 \begin_inset Flex Code
25354 \begin_layout Plain Layout
25361 Dentro de Xfig, se crea o modifica una figura y se guarda como un archivo
25363 \begin_inset Flex Code
25366 \begin_layout Plain Layout
25373 Para incluir la figura en un documento, se ejecuta
25374 \begin_inset Flex Code
25377 \begin_layout Plain Layout
25383 con el fin de crear un archivo PostScript que puede incluirse fácilmente
25384 en el archivo \SpecialChar LaTeX
25386 En este caso, el archivo
25387 \begin_inset Flex Code
25390 \begin_layout Plain Layout
25396 es el original, y el archivo PostScript es el archivo generado.
25399 \begin_layout Standard
25400 Esta distinción es importante para permitir la actualización del material
25401 durante el proceso de escritura del documento.
25402 Además, provee la flexibilidad necesaria para soportar múltiples formatos
25404 Por ejemplo, en el caso de un archivo de texto sencillo, no es una brillante
25405 idea incluir la figura como PostScript puro.
25406 En vez de esto, es preferible incluir solo una referencia a la figura o
25407 bien probar algún convertidor de gráficos a Ascii para que el resultado
25408 final se parezca al gráfico real.
25409 La gestión de material externo de \SpecialChar LyX
25410 permite hacer esto porque se basa en
25411 parámetros apropiados para los diferentes formatos de exportación soportados.
25414 \begin_layout Standard
25415 Además de soportar la generación de diferentes productos de acuerdo con
25416 el formato de exportación, existe una profunda integración con las aplicaciones
25417 de edición y visualización.
25418 En el caso de figuras Xfig, es posible editar el archivo original en Xfig
25419 con un simple clic derecho sobre el recuadro y también previsualizar el
25420 PostScript generado con ghostview.
25421 Se acabaron los enredos con la línea de comandos y/o el navegador de archivos
25422 para localizar y manipular los archivos originales o los generados.
25423 De esta manera, se pueden por fin aprovechar las ventajas de muy diversas
25424 aplicaciones importantes para la composición de los documentos, y por tanto
25425 aumentar el rendimiento.
25428 \begin_layout Section
25429 El archivo de configuración de plantillas externas
25432 \begin_layout Standard
25433 Es relativamente fácil añadir en \SpecialChar LyX
25434 definiciones personalizadas de plantillas
25436 Sin embargo, hay que ser consciente de que hacer esto de manera descuidada
25437 generará muy probablemente un agujero de seguridad fácil de explotar.
25438 Así pues, antes de hacer esto, lee por favor la discusión sobre seguridad
25440 \begin_inset CommandInset ref
25442 reference "sec:Discusión-sobre-seguridad"
25449 \begin_layout Standard
25450 Una vez dicho esto, te animamos a que envíes cualquiera plantilla interesante
25454 \begin_layout Standard
25455 Las plantillas externas se definen en el archivo
25458 \begin_inset Flex Code
25461 \begin_layout Plain Layout
25469 files that are stored in the
25470 \begin_inset Flex Code
25473 \begin_layout Plain Layout
25476 LyXDir/lib/xtemplates/
25482 Each template is defined in a file of its own.
25493 \begin_inset Flex Code
25496 \begin_layout Plain Layout
25499 UserDir/xtemplates/
25504 or copy existing templates to that directory in order to modify them.
25510 \begin_layout Standard
25511 Una plantilla típica tiene un aspecto como este:
25514 \begin_layout LyX-Code
25518 \begin_layout LyX-Code
25519 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
25522 \begin_layout LyX-Code
25526 \begin_layout LyX-Code
25530 \begin_layout LyX-Code
25534 \begin_layout LyX-Code
25538 \begin_layout LyX-Code
25542 \begin_layout LyX-Code
25543 AutomaticProduction true
25546 \begin_layout LyX-Code
25550 \begin_layout LyX-Code
25554 \begin_layout LyX-Code
25558 \begin_layout LyX-Code
25559 TransformCommand Rotate RotationLatexCommand
25562 \begin_layout LyX-Code
25563 TransformCommand Resize ResizeLatexCommand
25566 \begin_layout LyX-Code
25567 Product "$$RotateFront$$ResizeFront
25570 \begin_layout LyX-Code
25575 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
25578 \begin_layout LyX-Code
25579 $$ResizeBack$$RotateBack"
25582 \begin_layout LyX-Code
25586 \begin_layout LyX-Code
25587 UpdateResult "$$AbsPath$$Basename.pstex_t"
25590 \begin_layout LyX-Code
25591 Requirement "graphicx"
25594 \begin_layout LyX-Code
25595 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
25598 \begin_layout LyX-Code
25599 ReferencedFile latex "$$AbsPath$$Basename.eps"
25602 \begin_layout LyX-Code
25603 ReferencedFile dvi "$$AbsPath$$Basename.eps"
25606 \begin_layout LyX-Code
25610 \begin_layout LyX-Code
25614 \begin_layout LyX-Code
25615 TransformCommand Rotate RotationLatexCommand
25618 \begin_layout LyX-Code
25619 TransformCommand Resize ResizeLatexCommand
25622 \begin_layout LyX-Code
25623 Product "$$RotateFront$$ResizeFront
25626 \begin_layout LyX-Code
25631 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
25634 \begin_layout LyX-Code
25635 $$ResizeBack$$RotateBack"
25638 \begin_layout LyX-Code
25639 UpdateFormat pdftex
25642 \begin_layout LyX-Code
25643 UpdateResult "$$AbsPath$$Basename.pdftex_t"
25646 \begin_layout LyX-Code
25647 Requirement "graphicx"
25650 \begin_layout LyX-Code
25651 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
25654 \begin_layout LyX-Code
25655 ReferencedFile latex "$$AbsPath$$Basename.pdf"
25658 \begin_layout LyX-Code
25662 \begin_layout LyX-Code
25666 \begin_layout LyX-Code
25667 Product "$$Contents(
25669 "$$AbsPath$$Basename.asc
25674 \begin_layout LyX-Code
25675 UpdateFormat asciixfig
25678 \begin_layout LyX-Code
25679 UpdateResult "$$AbsPath$$Basename.asc"
25682 \begin_layout LyX-Code
25686 \begin_layout LyX-Code
25690 \begin_layout LyX-Code
25691 Product "<graphic fileref=
25693 "$$AbsOrRelPathMaster$$Basename.eps
25698 \begin_layout LyX-Code
25702 \begin_layout LyX-Code
25706 \begin_layout LyX-Code
25707 UpdateResult "$$AbsPath$$Basename.eps"
25710 \begin_layout LyX-Code
25711 ReferencedFile docbook "$$AbsPath$$Basename.eps"
25714 \begin_layout LyX-Code
25715 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
25718 \begin_layout LyX-Code
25722 \begin_layout LyX-Code
25723 Product "[XFig: $$FName]"
25726 \begin_layout LyX-Code
25730 \begin_layout LyX-Code
25734 \begin_layout Standard
25735 Como puedes ver, la plantilla se incluye entre
25736 \begin_inset Flex Code
25739 \begin_layout Plain Layout
25747 \begin_inset Flex Code
25750 \begin_layout Plain Layout
25757 Contiene una cabecera que especifica algunas configuraciones generales
25758 y, por cada formato de archivo de documento primario soportado, una sección
25760 \begin_inset Flex Code
25763 \begin_layout Plain Layout
25771 \begin_inset Flex Code
25774 \begin_layout Plain Layout
25783 \begin_layout Subsection
25784 La cabecera de la plantilla
25787 \begin_layout Description
25788 \begin_inset Flex Code
25791 \begin_layout Plain Layout
25792 AutomaticProduction
25793 \begin_inset space ~
25801 Si el archivo representado por la plantilla debe ser generado por \SpecialChar LyX
25803 Este comando debe aparecer exactamente una vez.
25806 \begin_layout Description
25807 \begin_inset Flex Code
25810 \begin_layout Plain Layout
25812 \begin_inset space ~
25820 Un patrón global que se usa en el diálogo del archivo para filtrar los
25822 Si hay más de una posible extensión de archivo (p.
25823 \begin_inset space \thinspace{}
25827 \begin_inset space ~
25831 \begin_inset Flex Code
25834 \begin_layout Plain Layout
25841 \begin_inset Flex Code
25844 \begin_layout Plain Layout
25850 ), se pone algo como
25851 \begin_inset Flex Code
25854 \begin_layout Plain Layout
25861 Este comando debe aparecer exactamente una vez.
25864 \begin_layout Description
25865 \begin_inset Flex Code
25868 \begin_layout Plain Layout
25870 \begin_inset space ~
25878 El texto mostrado sobre el botón.
25879 Este comando debe aparecer exactamente una vez.
25882 \begin_layout Description
25883 \begin_inset Flex Code
25886 \begin_layout Plain Layout
25888 \begin_inset space ~
25892 \begin_inset space ~
25900 El texto de ayuda que se muestra en diálogo.
25901 Da suficiente información sobre lo que puede proporcionar la plantilla.
25902 Este comando debe aparecer exactamente una vez.
25905 \begin_layout Description
25906 \begin_inset Flex Code
25909 \begin_layout Plain Layout
25911 \begin_inset space ~
25919 El formato de archivo del original.
25920 Debe ser el nombre de un formato conocido por \SpecialChar LyX
25922 \begin_inset CommandInset ref
25924 reference "sec:Formatos"
25930 \begin_inset Quotes cld
25934 \begin_inset Flex Code
25937 \begin_layout Plain Layout
25944 \begin_inset Quotes crd
25947 si la plantilla puede manejar archivos originales o más de un formato.
25948 En este caso, \SpecialChar LyX
25949 intentará inspeccionar el archivo mismo para deducir su
25951 Este comando debe aparecer exactamente una vez.
25954 \begin_layout Description
25955 \begin_inset Flex Code
25958 \begin_layout Plain Layout
25960 \begin_inset space ~
25968 Un nombre único para la plantilla.
25969 No debe contener macros de sustitución (véase abajo).
25972 \begin_layout Description
25973 \begin_inset Flex Code
25976 \begin_layout Plain Layout
25978 \begin_inset space ~
25981 Rotate|Resize|Clip|Extra
25986 Este comando especifica qué transformaciones son soportadas por esta plantilla.
25987 Puede aparecer ninguna o varias veces.
25988 Este comando facilita las correspondientes pestañas en el diálogo de material
25991 \begin_inset Flex Code
25994 \begin_layout Plain Layout
26000 debe tener el correspondiente
26001 \begin_inset Flex Code
26004 \begin_layout Plain Layout
26011 \begin_inset Flex Code
26014 \begin_layout Plain Layout
26021 \begin_inset Flex Code
26024 \begin_layout Plain Layout
26031 De lo contrario la transformación no será soportada por ese formato.
26035 \begin_layout Subsection
26039 \begin_layout Description
26040 \begin_inset Flex Code
26043 \begin_layout Plain Layout
26045 \begin_inset space ~
26048 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
26053 El formato de archivo del documento primario para el que es esta definición
26055 No toda plantilla tiene una representación sensible en los formatos de
26056 archivo de todos los documentos.
26057 No obstante, es preferible definir una sección
26058 \begin_inset Flex Code
26061 \begin_layout Plain Layout
26067 para todos los formatos.
26068 Se usa un texto postizo si no hay representación disponible.
26069 Entonces, al menos, se puede ver una referencia al material externo en
26070 el documento exportado.
26073 \begin_layout Description
26074 \begin_inset Flex Code
26077 \begin_layout Plain Layout
26079 \begin_inset space ~
26083 \begin_inset space ~
26091 Este comando define una macro adicional,
26092 \begin_inset Flex Code
26095 \begin_layout Plain Layout
26101 , para sustitución en
26102 \begin_inset Flex Code
26105 \begin_layout Plain Layout
26113 \begin_inset Flex Code
26116 \begin_layout Plain Layout
26122 puede contener en sí mismo macros de sustitución.
26123 La ventaja sobre el uso de
26124 \begin_inset Flex Code
26127 \begin_layout Plain Layout
26134 \begin_inset Flex Code
26137 \begin_layout Plain Layout
26143 es que el valor sustituido de
26144 \begin_inset Flex Code
26147 \begin_layout Plain Layout
26153 está saneado así que es un argumento opcional válido en el formato del
26155 Este comando puede aparecer ninguna o más veces.
26158 \begin_layout Description
26159 \begin_inset Flex Code
26162 \begin_layout Plain Layout
26164 \begin_inset space ~
26172 El texto que se inserta en el documento exportado.
26173 Realmente este es el comando más importante y puede ser bastante complejo.
26174 Este comando debe aparecer exactamente una vez.
26177 \begin_layout Description
26178 \begin_inset Flex Code
26181 \begin_layout Plain Layout
26183 \begin_inset space ~
26191 Este comando especifica un fragmento de preámbulo que se incluirá en el
26192 preámbulo \SpecialChar LaTeX
26194 Tiene que definirse usando
26195 \begin_inset Flex Code
26198 \begin_layout Plain Layout
26206 \begin_inset Flex Code
26209 \begin_layout Plain Layout
26216 Este comando puede aparecer ninguna o más veces.
26219 \begin_layout Description
26220 \begin_inset Flex Code
26223 \begin_layout Plain Layout
26225 \begin_inset space ~
26229 \begin_inset space ~
26237 Este comando indica los archivos que se crean por el proceso de conversión
26238 y que son necesarios para un formato de exportación particular.
26239 Si el nombre del archivo es relativo, se interpreta como relativo al documento
26241 Este comando puede darse ninguna o más veces.
26244 \begin_layout Description
26245 \begin_inset Flex Code
26248 \begin_layout Plain Layout
26250 \begin_inset space ~
26258 El nombre de un paquete \SpecialChar LaTeX
26260 El paquete se incuye mediante
26261 \begin_inset Flex Code
26264 \begin_layout Plain Layout
26272 en el preámbulo \SpecialChar LaTeX
26274 Este comando puede aparecer ninguna o más veces.
26277 \begin_layout Description
26278 \begin_inset Flex Code
26281 \begin_layout Plain Layout
26283 \begin_inset space ~
26287 \begin_inset space ~
26290 RotationLatexCommand
26295 Este comando especifica que el comando \SpecialChar LaTeX
26296 incluido debería usarse para la
26298 Este comando puede aparecer una vez o ninguna.
26301 \begin_layout Description
26302 \begin_inset Flex Code
26305 \begin_layout Plain Layout
26307 \begin_inset space ~
26311 \begin_inset space ~
26319 Este comando especifica que el comando \SpecialChar LaTeX
26320 incluido debería usarse para cambiar
26322 Este comando puede aparecer una vez o ninguna.
26325 \begin_layout Description
26326 \begin_inset Flex Code
26329 \begin_layout Plain Layout
26331 \begin_inset space ~
26335 \begin_inset space ~
26338 RotationLatexOption
26343 Este comando especifica que la rotación se hace mediante un argumento opcional.
26344 Este comando puede aparecer una vez o ninguna.
26347 \begin_layout Description
26348 \begin_inset Flex Code
26351 \begin_layout Plain Layout
26353 \begin_inset space ~
26357 \begin_inset space ~
26365 Este comando especifica que el cambio de tamaño se hace mediante un argumento
26367 Este comando puede aparecer una vez o ninguna
26370 \begin_layout Description
26371 \begin_inset Flex Code
26374 \begin_layout Plain Layout
26376 \begin_inset space ~
26380 \begin_inset space ~
26388 Este comando especifica que el recorte se hace mediante un argumento opcional.
26389 Este comando puede aparecer una vez o ninguna.
26392 \begin_layout Description
26393 \begin_inset Flex Code
26396 \begin_layout Plain Layout
26398 \begin_inset space ~
26402 \begin_inset space ~
26410 Este comando especifica que se usa un argumento extra opcional.
26411 Este comando puede aparecer una vez o ninguna.
26415 \begin_layout Description
26416 \begin_inset Flex Code
26419 \begin_layout Plain Layout
26421 \begin_inset space ~
26429 El formato de archivo del archivo convertido.
26430 Debe ser el nombre de un formato conocido por \SpecialChar LyX
26432 \begin_inset Flex Noun
26435 \begin_layout Plain Layout
26442 \begin_inset Flex Noun
26445 \begin_layout Plain Layout
26446 Gestión de archivos
26452 \begin_inset Flex Noun
26455 \begin_layout Plain Layout
26456 Herramientas\SpecialChar menuseparator
26463 Este comando debe aparecer exactamente una vez.
26464 Si el formato del archivo resultante es PDF, debes especificar el formato
26466 \begin_inset Flex Code
26469 \begin_layout Plain Layout
26476 Es el formato PDF usado para incluir gráficos.
26477 Los otros formatos PDF definidos son para exportación de documentos.
26480 \begin_layout Description
26481 \begin_inset Flex Code
26484 \begin_layout Plain Layout
26486 \begin_inset space ~
26494 El nombre de archivo del archivo convertido.
26495 El nombre de archivo debe ser absoluto.
26496 Este comando debe aparecer exactamente una vez.
26499 \begin_layout Subsection
26500 Definiciones de preámbulo
26503 \begin_layout Standard
26504 El archivo de configuración de plantillas externas puede contener definiciones
26505 de preámbulo adicionales encerradas entre
26506 \begin_inset Flex Code
26509 \begin_layout Plain Layout
26517 \begin_inset Flex Code
26520 \begin_layout Plain Layout
26527 Se pueden usar por las plantillas en la sección
26528 \begin_inset Flex Code
26531 \begin_layout Plain Layout
26540 \begin_layout Section
26541 El mecanismo de sustitución
26544 \begin_layout Standard
26545 Cuando la función de material externo recurre a un programa externo, se
26546 hace sobre la base de un comando definido en el archivo de configuración
26548 Estos comandos pueden contener varias macros que se expanden antes de su
26550 La ejecución tiene lugar siempre en el directorio del documento.
26554 \begin_layout Standard
26555 Además, cada vez que el material externo se va a mostrar, el nombre será
26556 generado por el mecanismo de sustitución, y la mayoría de los demás comandos
26557 en la definición de la plantilla soportan también sustitución.
26561 \begin_layout Standard
26562 Las macros disponibles son las siguientes:
26565 \begin_layout Description
26566 \begin_inset Flex Code
26569 \begin_layout Plain Layout
26570 $$AbsOrRelPathMaster
26575 La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
26579 \begin_layout Description
26580 \begin_inset Flex Code
26583 \begin_layout Plain Layout
26584 $$AbsOrRelPathParent
26589 La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
26593 \begin_layout Description
26594 \begin_inset Flex Code
26597 \begin_layout Plain Layout
26603 La ruta absoluta del archivo.
26606 \begin_layout Description
26607 \begin_inset Flex Code
26610 \begin_layout Plain Layout
26616 El nombre de archivo sin ruta y sin la extensión.
26619 \begin_layout Description
26620 \begin_inset Flex Code
26623 \begin_layout Plain Layout
26625 \begin_inset Quotes eld
26629 \begin_inset Quotes erd
26637 Esta macro expandirá los contenidos del archivo con el nombre
26638 \begin_inset Flex Code
26641 \begin_layout Plain Layout
26650 \begin_layout Description
26651 \begin_inset Flex Code
26654 \begin_layout Plain Layout
26660 La extensión de archivo (incluyendo el punto).
26663 \begin_layout Description
26664 \begin_inset Flex Code
26667 \begin_layout Plain Layout
26674 \begin_inset Quotes cld
26678 \begin_inset Quotes crd
26681 si el archivo está en formato JPEG, si no será
26682 \begin_inset Quotes eld
26686 \begin_inset Quotes erd
26690 Esto es útil para evitar conversiones innecesarias para formatos de salida
26691 que soporten tanto PNG como JPEG.
26692 La plantilla predefinida RasterImage usa esta macro para el formato de
26693 salida pdf\SpecialChar TeX
26697 \begin_layout Description
26698 \begin_inset Flex Code
26701 \begin_layout Plain Layout
26707 El nombre de archivo del archivo especificado en el diálogo de material
26709 Esto es bien un nombre absoluto, bien relativo al documento \SpecialChar LyX
26713 \begin_layout Description
26714 \begin_inset Flex Code
26717 \begin_layout Plain Layout
26723 La parte de la ruta de
26724 \begin_inset Flex Code
26727 \begin_layout Plain Layout
26733 (nombre absoluto o relativo al documento \SpecialChar LyX
26737 \begin_layout Description
26738 \begin_inset Flex Code
26741 \begin_layout Plain Layout
26747 La ruta del archivo, relativa al documento maestro \SpecialChar LyX
26751 \begin_layout Description
26752 \begin_inset Flex Code
26755 \begin_layout Plain Layout
26761 La ruta del archivo, relativa al documento \SpecialChar LyX
26765 \begin_layout Description
26766 \begin_inset Flex Code
26769 \begin_layout Plain Layout
26775 Esta macro expandirá a la ruta absoluta del directorio de sistema.
26776 Esto se usa habitualmente para apuntar a los varios guiones de ayuda que
26777 se empaquetan con \SpecialChar LyX
26781 \begin_layout Description
26782 \begin_inset Flex Code
26785 \begin_layout Plain Layout
26791 Un nombre y ruta completa a un directorio temporal que será borrado automáticam
26792 ente siempre que el documento se cierra, o se suprime la inserción de material
26796 \begin_layout Standard
26797 Todas las macros de ruta contienen un separador de rastreo del directorio,
26798 así se puede construir, p.
26799 \begin_inset space \thinspace{}
26802 e., el nombre de archivo absoluto con
26803 \begin_inset Flex Code
26806 \begin_layout Plain Layout
26807 $$AbsPath$$Basename$$Extension
26815 \begin_layout Standard
26816 Las macros anteriores son sustituidas en todos los comandos a menos que
26817 se indique lo contrario.
26819 \begin_inset Flex Code
26822 \begin_layout Plain Layout
26828 soporta adicionalmente las siguientes sustituciones si se habilitan por
26830 \begin_inset Flex Code
26833 \begin_layout Plain Layout
26840 \begin_inset Flex Code
26843 \begin_layout Plain Layout
26852 \begin_layout Description
26853 \begin_inset Flex Code
26856 \begin_layout Plain Layout
26862 La parte delantera del comando para cambiar el tamaño.
26865 \begin_layout Description
26866 \begin_inset Flex Code
26869 \begin_layout Plain Layout
26875 La parte trasera del comando para cambiar el tamaño.
26878 \begin_layout Description
26879 \begin_inset Flex Code
26882 \begin_layout Plain Layout
26888 La parte delantera del comando para la rotación.
26891 \begin_layout Description
26892 \begin_inset Flex Code
26895 \begin_layout Plain Layout
26901 La parte trasera del comando para la rotación.
26904 \begin_layout Standard
26905 La cadena de valor del comando
26906 \begin_inset Flex Code
26909 \begin_layout Plain Layout
26915 soporta adicionalmente las siguientes sustituciones si éstas se han habilitado
26917 \begin_inset Flex Code
26920 \begin_layout Plain Layout
26927 \begin_inset Flex Code
26930 \begin_layout Plain Layout
26939 \begin_layout Description
26940 \begin_inset Flex Code
26943 \begin_layout Plain Layout
26952 \begin_layout Description
26953 \begin_inset Flex Code
26956 \begin_layout Plain Layout
26965 \begin_layout Description
26966 \begin_inset Flex Code
26969 \begin_layout Plain Layout
26975 La opción cambio de tamaño.
26978 \begin_layout Description
26979 \begin_inset Flex Code
26982 \begin_layout Plain Layout
26988 La opción rotación.
26991 \begin_layout Standard
26992 Te puedes preguntar por qué hay tantas macros de ruta.
26993 Por dos razones, principalmente:
26996 \begin_layout Enumerate
26997 Los nombres de archivo relativo y absoluto deberían permanecer relativo
26998 o absoluto, respectivamente.
26999 Los usuarios pueden tener razones para preferir cualquiera de ambas formas.
27000 Los nombres relativos son útiles para documentos portables que deberían
27001 funcionar en máquinas diferentes, por ejemplo.
27002 Los nombres absolutos pueden ser requeridos por algunos programas.
27005 \begin_layout Enumerate
27007 procesa los nombres de archivo relativos de manera diferente a \SpecialChar LyX
27009 programas en archivos anidados incluidos.
27010 Para \SpecialChar LyX
27011 , un nombre de archivo relativo es siempre relativo al documento que
27012 contiene el nombre de archivo.
27013 Para \SpecialChar LaTeX
27014 , es siempre relativo al documento maestro.
27015 Estas dos definiciones son idénticas si se tiene solo un documento, pero
27016 son distintas si se tiene un documento maestro que incluye documentos parciales.
27017 Esto quiere decir que los nombres de archivo relativos deben ser transformados
27018 cuando se presentan a \SpecialChar LaTeX
27020 Afortunadamente, \SpecialChar LyX
27021 hace esto automáticamente si se eligen las macros correctas.
27024 \begin_layout Standard
27025 Así pues, ¿qué macros de ruta deberían emplearse en las definiciones de
27026 plantillas nuevas? La regla no es difícil:
27029 \begin_layout Itemize
27031 \begin_inset Flex Code
27034 \begin_layout Plain Layout
27040 si se requiere una ruta absoluta.
27043 \begin_layout Itemize
27045 \begin_inset Flex Code
27048 \begin_layout Plain Layout
27049 $$AbsOrRelPathMaster
27054 si la cadena sustituida es algún tipo de entrada \SpecialChar LaTeX
27058 \begin_layout Itemize
27060 \begin_inset Flex Code
27063 \begin_layout Plain Layout
27064 $$AbsOrRelPathParent
27069 con el fin de preservar la elección del usuario.
27072 \begin_layout Standard
27073 Hay casos especiales en los que esta regla no funciona y se necesitan, p.
27074 \begin_inset space \thinspace{}
27077 e., nombres relativos, pero normalmente funcionará bien.
27078 Un ejemplo de uno de estos casos es el comando
27079 \begin_inset Flex Code
27082 \begin_layout Plain Layout
27083 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
27088 en la plantilla XFig de arriba: no podemos usar el nombre absoluto porque
27089 el copiador para archivos
27090 \begin_inset Flex Code
27093 \begin_layout Plain Layout
27099 necesita el nombre relativo para reescribir el contenido del archivo.
27102 \begin_layout Section
27103 Discusión sobre seguridad
27104 \begin_inset CommandInset label
27106 name "sec:Discusión-sobre-seguridad"
27113 \begin_layout Standard
27114 La función material externo interactúa con muchos programas externos y lo
27115 hace de forma automática, así que hemos de tener en cuenta las implicaciones
27116 de seguridad que esto conlleva.
27117 En particular, puesto que tienes la opción de incluir tus propios archivos
27118 y/o cadenas de parámetros y estos se expanden en un comando, parece posible
27119 crear un documento malicioso que ejecute comandos arbitrarios cuando un
27120 usuario ve o imprime el documento.
27121 Esto es algo que definitivamente queremos evitar.
27125 \begin_layout Standard
27126 Sin embargo, dado que los comandos de material externo se especifican solo
27127 en el archivo de configuración de la plantilla, no hay problemas de seguridad
27128 si \SpecialChar LyX
27129 está adecuadamente configurado solo con plantillas seguras.
27130 Esto es así porque los programas externos se invocan con la llamada al
27132 \begin_inset Flex Code
27135 \begin_layout Plain Layout
27141 más bien que con la llamada
27142 \begin_inset Flex Code
27145 \begin_layout Plain Layout
27151 , de modo que no es posible ejecutar comandos arbitrarios desde la sección
27152 del nombre de archivo o de parámetros mediante el shell.
27155 \begin_layout Standard
27156 Esto implica además que hay restricciones en las cadenas de comandos que
27157 puedes usar en las plantillas de material externo.
27158 En particular, las tuberías y la redirección no están fácilmente disponibles.
27159 Esto debe ser así para que \SpecialChar LyX
27161 Si quieres usar algunas características de shell, deberías escribir un
27162 guión seguro para hacerlo de manera controlada, y después invocar el guión
27163 desde la cadena de comandos.
27166 \begin_layout Standard
27167 Es posible diseñar una plantilla que interactúe directamente con el shell,
27168 pero puesto que esto permitiría a un usuario malicioso ejecutar comandos
27169 arbitrarios escribiendo nombres de archivo y/o parámetros astutos, generalmente
27170 recomendamos usar solo guiones seguros que trabajen con la llamada
27171 \begin_inset Flex Code
27174 \begin_layout Plain Layout
27180 al sistema en forma controlada.
27181 Por supuesto, para usar en un entorno controlado, puede ser tentador caer
27182 en el uso de guiones de shell ordinarios.
27183 Si lo haces así, sé consciente de que vas a suministrar un agujero se seguridad
27184 fácilmente explotable en tu sistema.
27185 Evidentemente, es de razón que tales plantillas inseguras nunca serán incluidas
27186 en la distribución estándar de \SpecialChar LyX
27187 , aunque alentamos a la gente a que, a la
27188 usanza del software libre, envíe nuevas plantillas.
27189 No obstante, \SpecialChar LyX
27190 nunca tendrá plantillas inseguras tal y como se distribuye
27191 por los canales oficiales.
27194 \begin_layout Standard
27195 Incluir material externo suministra mucha potencia y has de ser cuidadoso
27196 en no introducir riesgos de seguridad a costa de esta potencia.
27197 Un sutil error en una simple línea en un guión aparentemente inocente puede
27198 abrir la puerta a graves problemas de seguridad.
27199 Así, si no comprendes totalmente estos asuntos, recomendamos consultar
27200 a un profesional entendido en seguridad o al equipo de desarrollo de \SpecialChar LyX
27202 tienes dudas acerca de si una plantilla dada es o no segura.
27203 Y hazlo antes de usarla en un entorno no controlado.
27206 \begin_layout Chapter
27208 Lista de funciones soportadas por \SpecialChar LyX
27209 en archivos de formato
27210 \begin_inset CommandInset label
27212 name "cap:Lista-de-funciones"
27219 \begin_layout Standard
27221 \begin_inset Tabular
27222 <lyxtabular version="3" rows="11" columns="8">
27223 <features tabularvalignment="middle">
27224 <column alignment="left" valignment="top">
27225 <column alignment="left" valignment="top">
27226 <column alignment="left" valignment="top">
27227 <column alignment="left" valignment="top">
27228 <column alignment="left" valignment="top">
27229 <column alignment="left" valignment="top">
27230 <column alignment="left" valignment="top">
27231 <column alignment="left" valignment="top">
27233 <cell alignment="left" valignment="top" usebox="none">
27236 \begin_layout Plain Layout
27242 <cell alignment="left" valignment="top" usebox="none">
27245 \begin_layout Plain Layout
27251 <cell alignment="left" valignment="top" usebox="none">
27254 \begin_layout Plain Layout
27260 <cell alignment="left" valignment="top" usebox="none">
27263 \begin_layout Plain Layout
27269 <cell alignment="center" valignment="top" usebox="none">
27272 \begin_layout Plain Layout
27278 <cell alignment="center" valignment="top" usebox="none">
27281 \begin_layout Plain Layout
27287 <cell alignment="center" valignment="top" usebox="none">
27290 \begin_layout Plain Layout
27296 <cell alignment="center" valignment="top" usebox="none">
27299 \begin_layout Plain Layout
27307 <cell alignment="left" valignment="top" usebox="none">
27310 \begin_layout Plain Layout
27316 <cell alignment="left" valignment="top" usebox="none">
27319 \begin_layout Plain Layout
27325 <cell alignment="left" valignment="top" usebox="none">
27328 \begin_layout Plain Layout
27334 <cell alignment="left" valignment="top" usebox="none">
27337 \begin_layout Plain Layout
27343 <cell alignment="center" valignment="top" usebox="none">
27346 \begin_layout Plain Layout
27352 <cell alignment="center" valignment="top" usebox="none">
27355 \begin_layout Plain Layout
27361 <cell alignment="center" valignment="top" usebox="none">
27364 \begin_layout Plain Layout
27370 <cell alignment="center" valignment="top" usebox="none">
27373 \begin_layout Plain Layout
27381 <cell alignment="left" valignment="top" usebox="none">
27384 \begin_layout Plain Layout
27390 <cell alignment="left" valignment="top" usebox="none">
27393 \begin_layout Plain Layout
27399 <cell alignment="left" valignment="top" usebox="none">
27402 \begin_layout Plain Layout
27408 <cell alignment="left" valignment="top" usebox="none">
27411 \begin_layout Plain Layout
27417 <cell alignment="center" valignment="top" usebox="none">
27420 \begin_layout Plain Layout
27426 <cell alignment="center" valignment="top" usebox="none">
27429 \begin_layout Plain Layout
27435 <cell alignment="center" valignment="top" usebox="none">
27438 \begin_layout Plain Layout
27444 <cell alignment="center" valignment="top" usebox="none">
27447 \begin_layout Plain Layout
27455 <cell alignment="left" valignment="top" usebox="none">
27458 \begin_layout Plain Layout
27464 <cell alignment="left" valignment="top" usebox="none">
27467 \begin_layout Plain Layout
27473 <cell alignment="left" valignment="top" usebox="none">
27476 \begin_layout Plain Layout
27482 <cell alignment="left" valignment="top" usebox="none">
27485 \begin_layout Plain Layout
27491 <cell alignment="center" valignment="top" usebox="none">
27494 \begin_layout Plain Layout
27500 <cell alignment="center" valignment="top" usebox="none">
27503 \begin_layout Plain Layout
27509 <cell alignment="center" valignment="top" usebox="none">
27512 \begin_layout Plain Layout
27518 <cell alignment="center" valignment="top" usebox="none">
27521 \begin_layout Plain Layout
27529 <cell alignment="left" valignment="top" usebox="none">
27532 \begin_layout Plain Layout
27538 <cell alignment="left" valignment="top" usebox="none">
27541 \begin_layout Plain Layout
27547 <cell alignment="left" valignment="top" usebox="none">
27550 \begin_layout Plain Layout
27556 <cell alignment="left" valignment="top" usebox="none">
27559 \begin_layout Plain Layout
27565 <cell alignment="center" valignment="top" usebox="none">
27568 \begin_layout Plain Layout
27574 <cell alignment="center" valignment="top" usebox="none">
27577 \begin_layout Plain Layout
27583 <cell alignment="center" valignment="top" usebox="none">
27586 \begin_layout Plain Layout
27592 <cell alignment="center" valignment="top" usebox="none">
27595 \begin_layout Plain Layout
27603 <cell alignment="left" valignment="top" usebox="none">
27606 \begin_layout Plain Layout
27612 <cell alignment="left" valignment="top" usebox="none">
27615 \begin_layout Plain Layout
27621 <cell alignment="left" valignment="top" usebox="none">
27624 \begin_layout Plain Layout
27630 <cell alignment="left" valignment="top" usebox="none">
27633 \begin_layout Plain Layout
27639 <cell alignment="center" valignment="top" usebox="none">
27642 \begin_layout Plain Layout
27648 <cell alignment="center" valignment="top" usebox="none">
27651 \begin_layout Plain Layout
27657 <cell alignment="center" valignment="top" usebox="none">
27660 \begin_layout Plain Layout
27666 <cell alignment="center" valignment="top" usebox="none">
27669 \begin_layout Plain Layout
27677 <cell alignment="left" valignment="top" usebox="none">
27680 \begin_layout Plain Layout
27686 <cell alignment="left" valignment="top" usebox="none">
27689 \begin_layout Plain Layout
27695 <cell alignment="left" valignment="top" usebox="none">
27698 \begin_layout Plain Layout
27704 <cell alignment="left" valignment="top" usebox="none">
27707 \begin_layout Plain Layout
27713 <cell alignment="center" valignment="top" usebox="none">
27716 \begin_layout Plain Layout
27722 <cell alignment="center" valignment="top" usebox="none">
27725 \begin_layout Plain Layout
27731 <cell alignment="center" valignment="top" usebox="none">
27734 \begin_layout Plain Layout
27740 <cell alignment="center" valignment="top" usebox="none">
27743 \begin_layout Plain Layout
27751 <cell alignment="left" valignment="top" usebox="none">
27754 \begin_layout Plain Layout
27760 <cell alignment="left" valignment="top" usebox="none">
27763 \begin_layout Plain Layout
27769 <cell alignment="left" valignment="top" usebox="none">
27772 \begin_layout Plain Layout
27778 <cell alignment="left" valignment="top" usebox="none">
27781 \begin_layout Plain Layout
27787 <cell alignment="center" valignment="top" usebox="none">
27790 \begin_layout Plain Layout
27796 <cell alignment="center" valignment="top" usebox="none">
27799 \begin_layout Plain Layout
27805 <cell alignment="center" valignment="top" usebox="none">
27808 \begin_layout Plain Layout
27814 <cell alignment="center" valignment="top" usebox="none">
27817 \begin_layout Plain Layout
27825 <cell alignment="left" valignment="top" usebox="none">
27828 \begin_layout Plain Layout
27834 <cell alignment="left" valignment="top" usebox="none">
27837 \begin_layout Plain Layout
27843 <cell alignment="left" valignment="top" usebox="none">
27846 \begin_layout Plain Layout
27852 <cell alignment="left" valignment="top" usebox="none">
27855 \begin_layout Plain Layout
27861 <cell alignment="center" valignment="top" usebox="none">
27864 \begin_layout Plain Layout
27870 <cell alignment="center" valignment="top" usebox="none">
27873 \begin_layout Plain Layout
27879 <cell alignment="center" valignment="top" usebox="none">
27882 \begin_layout Plain Layout
27888 <cell alignment="center" valignment="top" usebox="none">
27891 \begin_layout Plain Layout
27899 <cell alignment="left" valignment="top" usebox="none">
27902 \begin_layout Plain Layout
27908 <cell alignment="left" valignment="top" usebox="none">
27911 \begin_layout Plain Layout
27917 <cell alignment="left" valignment="top" usebox="none">
27920 \begin_layout Plain Layout
27926 <cell alignment="left" valignment="top" usebox="none">
27929 \begin_layout Plain Layout
27935 <cell alignment="center" valignment="top" usebox="none">
27938 \begin_layout Plain Layout
27944 <cell alignment="center" valignment="top" usebox="none">
27947 \begin_layout Plain Layout
27953 <cell alignment="center" valignment="top" usebox="none">
27956 \begin_layout Plain Layout
27962 <cell alignment="center" valignment="top" usebox="none">
27965 \begin_layout Plain Layout
27973 <cell alignment="center" valignment="top" usebox="none">
27976 \begin_layout Plain Layout
27982 <cell alignment="center" valignment="top" usebox="none">
27985 \begin_layout Plain Layout
27991 <cell alignment="center" valignment="top" usebox="none">
27994 \begin_layout Plain Layout
28000 <cell alignment="center" valignment="top" usebox="none">
28003 \begin_layout Plain Layout
28009 <cell alignment="center" valignment="top" usebox="none">
28012 \begin_layout Plain Layout
28018 <cell alignment="center" valignment="top" usebox="none">
28021 \begin_layout Plain Layout
28027 <cell alignment="center" valignment="top" usebox="none">
28030 \begin_layout Plain Layout
28036 <cell alignment="center" valignment="top" usebox="none">
28039 \begin_layout Plain Layout
28053 \begin_layout Chapter
28054 Nombres de colores disponibles para archivos de formato
28055 \begin_inset CommandInset label
28057 name "cap:Nombres-de-colores"
28064 \begin_layout Standard
28065 Los colores listados son los colores estándar y los que se pueden modificar
28066 en las preferencias de \SpecialChar LyX
28070 \begin_layout Section
28076 \begin_layout Standard
28079 The following are no real colors, but rather act on color definitions:
28082 \begin_layout Description
28083 ignore El color es ignorado
28086 \begin_layout Description
28087 inherit El color es heredado
28090 \begin_layout Description
28097 Ningún color en particular, transparente o ausente
28100 \begin_layout Section
28106 \begin_layout Standard
28109 These are fixed colors that cannot me customized:
28112 \begin_layout Description
28116 \begin_layout Description
28120 \begin_layout Description
28124 \begin_layout Description
28128 \begin_layout Description
28132 \begin_layout Description
28136 \begin_layout Description
28140 \begin_layout Description
28144 \begin_layout Description
28148 \begin_layout Description
28152 \begin_layout Description
28156 \begin_layout Description
28160 \begin_layout Description
28164 \begin_layout Description
28168 \begin_layout Description
28172 \begin_layout Description
28176 \begin_layout Description
28180 \begin_layout Description
28184 \begin_layout Description
28188 \begin_layout Section
28194 \begin_layout Standard
28197 These are the colors allocated to specific elements in
28200 \begin_inset Flex Noun
28203 \begin_layout Plain Layout
28204 Herramientas\SpecialChar menuseparator
28213 \begin_layout Description
28214 added_space Color espacio añadido
28217 \begin_layout Description
28218 addedtext Color texto añadido
28221 \begin_layout Description
28222 appendix Color marcador de apéndice
28225 \begin_layout Description
28226 background Color de fondo
28229 \begin_layout Description
28230 bottomarea Color área inferior
28233 \begin_layout Description
28234 branchlabel Color etiqueta de ramas
28237 \begin_layout Description
28238 buttonbg Color fondo de botón
28241 \begin_layout Description
28242 buttonframe Color para marcos de botones de recuadro
28245 \begin_layout Description
28246 buttonhoverbg Color fondo de botón en foco
28249 \begin_layout Description
28250 changebar Color barra de cambios
28253 \begin_layout Description
28254 changedtextauthor1 Color autor 1 de texto cambiado
28257 \begin_layout Description
28258 changedtextauthor2 Color autor 2 de texto cambiado
28261 \begin_layout Description
28262 changedtextauthor3 Color autor 3 de texto cambiado
28265 \begin_layout Description
28266 changedtextauthor4 Color autor 4 de texto cambiado
28269 \begin_layout Description
28270 changedtextauthor5 Color autor 5 de texto cambiado
28273 \begin_layout Description
28274 collapsibletext Color texto de recuadro plegable
28277 \begin_layout Description
28278 collapsibleframe Color marco de recuadro plegable
28281 \begin_layout Description
28282 command Color texto recuadros de comando
28285 \begin_layout Description
28286 commandbg Color fondo recuadros de comando
28289 \begin_layout Description
28290 commandframe Color marco recuadros de comando
28293 \begin_layout Description
28294 comment Color etiqueta de comentarios
28297 \begin_layout Description
28298 commentbg Color fondo de comentarios
28301 \begin_layout Description
28302 cursor Color cursor
28305 \begin_layout Description
28306 deletedtext Color texto borrado
28309 \begin_layout Description
28310 deletedtextmodifier Color modificación de texto borrado
28313 \begin_layout Description
28314 depthbar Color barra de anidación en margen
28317 \begin_layout Description
28318 eolmarker Color marcador fin de línea
28321 \begin_layout Description
28322 error Color cuadro de error \SpecialChar LaTeX
28326 \begin_layout Description
28327 footlabel Color etiqueta de notas a pie de página
28330 \begin_layout Description
28336 \begin_layout Description
28337 graphicsbg Color fondo de recuadros de inserción de gráficos
28340 \begin_layout Description
28341 greyedoutbg Color fondo de recuadros de notas grises
28344 \begin_layout Description
28345 greyedoutlabel Color etiqueta de recuadros de notas grises
28348 \begin_layout Description
28349 greyedouttext Color texto de recuadros de notas grises
28352 \begin_layout Description
28353 indexlabel Color etiqueta de recuadros de índice
28356 \begin_layout Description
28357 inlinecompletion Color autofinalización en línea
28360 \begin_layout Description
28361 insetbg Color fondo de marcador de recuadro
28364 \begin_layout Description
28365 insetframe Color marco de marcador de recuadro
28368 \begin_layout Description
28369 language Color marcador de palabras en otros idiomas
28372 \begin_layout Description
28373 latex Color texto en modo \SpecialChar LaTeX
28377 \begin_layout Description
28378 listingsbg Color fondo de recuadro listado de código
28381 \begin_layout Description
28382 marginlabel Color etiqueta de notas al margen
28385 \begin_layout Description
28386 math Color texto de recuadro de ecuación
28389 \begin_layout Description
28390 mathbg Color fondo de recuadro de ecuación
28393 \begin_layout Description
28394 mathcorners Color marco de recuadro de ecuación fuera de foco
28397 \begin_layout Description
28398 mathframe Color marco de recuadro de ecuación en foco
28401 \begin_layout Description
28402 mathline Color línea de ecuación
28405 \begin_layout Description
28406 mathmacrobg Color fondo de recuadro de macro matemática
28409 \begin_layout Description
28410 mathmacroblend Color mezclado macro matemática
28413 \begin_layout Description
28414 mathmacroframe Color marco de macro matemática
28417 \begin_layout Description
28418 mathmacrohoverbg Color fondo de recuadro de macro matemática bajo el ratón
28421 \begin_layout Description
28422 mathmacrolabel Color etiqueta macro matemática
28425 \begin_layout Description
28426 mathmacronewarg Color plantilla de macro para nuevos parámetros
28429 \begin_layout Description
28430 mathmacrooldarg Color plantilla de macro para antiguos parámetros
28433 \begin_layout Description
28434 newpage Color página nueva
28437 \begin_layout Description
28438 nonunique_inlinecompletion Color autofinalización en línea parte no única
28441 \begin_layout Description
28442 note Color etiqueta de notas
28445 \begin_layout Description
28446 notebg Color fondo de notas
28449 \begin_layout Description
28450 pagebreak Color salto de página/línea
28453 \begin_layout Description
28454 paragraphmarker Color símbolo marcador de fin de párrafo
28457 \begin_layout Description
28458 phantomtext Color texto de recuadro fantasma
28461 \begin_layout Description
28462 preview Color vista preliminar
28465 \begin_layout Description
28466 previewframe Color marco vista preliminar
28469 \begin_layout Description
28470 regexpframe Color marco regexp
28473 \begin_layout Description
28476 scroll Color that indicates when a row can be scrolled
28479 \begin_layout Description
28480 selection Color fondo de texto seleccionado
28483 \begin_layout Description
28484 selectiontext Color de texto seleccionado
28487 \begin_layout Description
28488 shadedbg Color fondo de marco coloreado
28491 \begin_layout Description
28492 special Color texto de caracteres especiales
28495 \begin_layout Description
28496 tabularline Color línea de cuadro/tabla
28499 \begin_layout Description
28500 tabularonoffline Color línea de cuadro/tabla on/off
28503 \begin_layout Description
28504 urllabel Color etiqueta de recuadros URL
28507 \begin_layout Description
28508 urltext Color texto de recuadros URL