1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/es/
9 % DO NOT ALTER THIS PREAMBLE!!!
11 % This preamble is designed to ensure that the manual prints
12 % out as advertised. If you mess with this preamble,
13 % parts of this document may not print out as expected. If you
14 % have problems LaTeXing this file, please contact
15 % the documentation team
16 % email: lyx-docs@lists.lyx.org
18 % the pages of the TOC is numbered roman
19 % and a pdf-bookmark for the TOC is added
20 \let\myTOC\tableofcontents
21 \renewcommand\tableofcontents{%
23 \pdfbookmark[1]{\contentsname}{}
27 \@ifpackageloaded{babel}{
28 % increase link area for cross-references and autoname them,
29 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
30 \addto\extrasspanish{%
31 \renewcommand*{\equationautorefname}[1]{}%
32 \renewcommand{\sectionautorefname}{sec.\negthinspace}%
33 \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
34 \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
38 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
39 \use_default_options false
43 \maintain_unincluded_children false
45 \language_package default
48 \font_roman "lmodern" "default"
49 \font_sans "lmss" "default"
50 \font_typewriter "lmtt" "default"
51 \font_math "auto" "auto"
52 \font_default_family default
53 \use_non_tex_fonts false
56 \font_sf_scale 100 100
57 \font_tt_scale 100 100
59 \use_dash_ligatures false
61 \default_output_format pdf2
63 \bibtex_command default
64 \index_command default
68 \pdf_title "Manual Personalización de LyX"
69 \pdf_author "Equipo LyX"
70 \pdf_subject "LyX-documentation Customization"
71 \pdf_keywords "LyX, documentation, customization"
73 \pdf_bookmarksnumbered true
74 \pdf_bookmarksopen true
75 \pdf_bookmarksopenlevel 1
80 \pdf_pdfusetitle false
81 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
84 \use_package amsmath 1
85 \use_package amssymb 1
88 \use_package mathdots 1
89 \use_package mathtools 1
91 \use_package stackrel 1
92 \use_package stmaryrd 1
93 \use_package undertilde 1
95 \cite_engine_type default
99 \paperorientation portrait
104 \notefontcolor #0000ff
116 \paragraph_separation indent
117 \paragraph_indentation default
119 \math_indentation default
120 \math_numbering_side default
125 \paperpagestyle headings
126 \tracking_changes true
127 \output_changes false
131 \author -712698321 "Jürgen Spitzmüller"
137 Personalizar \SpecialChar LyX
138 : Características para el usuario avanzado
142 por el equipo \SpecialChar LyX
147 \begin_layout Plain Layout
149 Si tienes correcciones o comentarios, envíalos, por favor, a la lista de
150 correo de Documentación de \SpecialChar LyX
152 \begin_inset CommandInset href
154 target "lyx-docs@lists.lyx.org"
162 \begin_inset Quotes cld
166 \begin_inset Quotes crd
169 en la cabecera de asunto, y envía una cc al actual mantenedor de este documento
170 , Richard Heck <rgheck@comcast.net>.
176 \begin_inset Newline newline
180 \begin_inset Newline newline
186 \begin_layout Standard
187 \begin_inset CommandInset toc
188 LatexCommand tableofcontents
195 \begin_layout Chapter
199 \begin_layout Standard
200 Este manual trata de las características de \SpecialChar LyX
201 que pueden ser modificadas
203 En él abordamos temas como atajos de teclado, opciones de vista previa
204 en pantalla, opciones de impresora, envío de comandos mediante \SpecialChar LyX
206 internacionalización, instalación de nuevas clases de \SpecialChar LaTeX
210 Seguro que no podemos aspirar a tratar todo lo que se puede cambiar, —nuestross
211 desarrolladores añaden características nuevas más deprisa de lo que las
212 podemos documentar— pero explicaremos las modificaciones más comunes y
213 y esperamos orientarte en la dirección correcta para algunas más desconocidas.
216 \begin_layout Standard
217 \begin_inset Branch OutDated
221 \begin_layout Standard
222 La rama OutDated contiene información de versiones anteriores de este documento
223 que ahora parece estar obsoleta.
224 Por omisión, esta información no aparece en la salida \SpecialChar LaTeX
233 \begin_layout Chapter
234 Archivos de configuración de \SpecialChar LyX
238 \begin_layout Standard
239 Este capítulo tiene por objetivo ayudarte a encontrar tu camino a través
240 de los archivos de configuración de \SpecialChar LyX
242 Antes de seguir leyendo deberías encontrar donde están los directorios
243 de bibliotecas y de usuario, consultando
244 \begin_inset Flex Noun
247 \begin_layout Plain Layout
248 Ayuda\SpecialChar menuseparator
249 Acerca de \SpecialChar LyX
256 El directorio de bibliotecas es el sitio en el que \SpecialChar LyX
258 de configuración de sistema; el directorio de usuario es donde puedes colocar
259 tus versiones modificadas.
260 En este documento, al primero lo denominaremos
261 \begin_inset Flex Code
264 \begin_layout Plain Layout
272 \begin_inset Flex Noun
275 \begin_layout Plain Layout
284 \begin_layout Section
286 \begin_inset Flex Code
289 \begin_layout Plain Layout
299 \begin_layout Standard
300 \begin_inset Flex Code
303 \begin_layout Plain Layout
310 y sus subdirectorios contienen archivos que pueden emplearse para personalizar
311 el comportamiento de \SpecialChar LyX
313 Puedes cambiar muchos de ellos desde dentro mismo de \SpecialChar LyX
316 \begin_inset Flex Noun
319 \begin_layout Plain Layout
320 Herramientas\SpecialChar menuseparator
327 La mayor parte de las adaptaciones personales que querrás hacer en \SpecialChar LyX
329 puede hacer en este diálogo.
330 Sin embargo, muchos otros aspectos internos de \SpecialChar LyX
331 pueden cambiarse modificando
333 \begin_inset Flex Code
336 \begin_layout Plain Layout
344 Estos archivos pertenecen a diversas categorías, descritas en las siguientes
348 \begin_layout Subsection
349 Archivos generados automáticamente
352 \begin_layout Standard
353 Los archivos que se encuentran en
354 \begin_inset Flex Noun
357 \begin_layout Plain Layout
363 se generan al configurar \SpecialChar LyX
365 Contienen varios valores predeterminados que se obtienen por inspección.
366 En general, no es buena idea modificarlos, puesto que podrían ser sobrescritos
367 en cualquier momento.
370 \begin_layout Labeling
371 \labelwidthstring 00.00.0000
372 \begin_inset Flex Code
375 \begin_layout Plain Layout
381 contiene valores predeterminados para varioscomandos.
384 \begin_layout Labeling
385 \labelwidthstring 00.00.0000
386 \begin_inset Flex Code
389 \begin_layout Plain Layout
395 contiene la lista de paquetes que han sido reconocidos por \SpecialChar LyX
397 No es utilizada por el propio \SpecialChar LyX
398 , pero la información extraida, y otras cosas
400 \begin_inset Flex Noun
403 \begin_layout Plain Layout
404 Ayuda\SpecialChar menuseparator
405 Configuración de \SpecialChar LaTeX
414 \begin_layout Labeling
415 \labelwidthstring 00.00.0000
416 \begin_inset Flex Code
419 \begin_layout Plain Layout
425 la lista de clases de textos encontradas en los directorios
426 \begin_inset Flex Code
429 \begin_layout Plain Layout
435 , junto con las clases de documentos \SpecialChar LaTeX
439 \begin_layout Labeling
440 \labelwidthstring 00.00.0000
441 \begin_inset Flex Code
444 \begin_layout Plain Layout
450 la lista de módulos de formato encontradas en los directorios
451 \begin_inset Flex Code
454 \begin_layout Plain Layout
463 \begin_layout Labeling
464 \labelwidthstring 00.00.0000
465 \begin_inset Flex Code
468 \begin_layout Plain Layout
474 lista de varios tipos de archivos relacionados con \SpecialChar LaTeX
475 encontrados en el sistema.
478 \begin_layout Labeling
479 \labelwidthstring 00.00.0000
480 \begin_inset Flex Code
483 \begin_layout Plain Layout
484 doc/\SpecialChar LaTeX
490 es generado automáticamente durante la configuración a partir del archivo
492 \begin_inset Flex Code
495 \begin_layout Plain Layout
503 Contiene información sobre la configuración de \SpecialChar LaTeX
507 \begin_layout Subsection
511 \begin_layout Standard
512 Estos directorios están duplicados en
513 \begin_inset Flex Code
516 \begin_layout Plain Layout
524 \begin_inset Flex Code
527 \begin_layout Plain Layout
534 Si determinado archivo existe en ambos sitios, se usará el de
535 \begin_inset Flex Code
538 \begin_layout Plain Layout
547 \begin_layout Labeling
548 \labelwidthstring 00.00.0000
549 \begin_inset Flex Code
552 \begin_layout Plain Layout
558 este directorio contiene archivos con la extensión
559 \begin_inset Flex Code
562 \begin_layout Plain Layout
568 que definen las combinaciones de teclas usadas en \SpecialChar LyX
570 Si ahí existe una versión nacional de un archivo bind llamado
571 \begin_inset Flex Code
574 \begin_layout Plain Layout
580 , ésta se usará en primer lugar.
583 \begin_layout Labeling
584 \labelwidthstring 00.00.0000
587 \begin_inset Flex Code
590 \begin_layout Plain Layout
598 contains files with the extension
599 \begin_inset Flex Code
602 \begin_layout Plain Layout
610 which define the diverse citation possibilities (natbib, biblatex etc.).
612 \begin_inset CommandInset ref
614 reference "subsec:Cite-Engine-Files"
624 \begin_layout Labeling
625 \labelwidthstring 00.00.0000
626 \begin_inset Flex Code
629 \begin_layout Plain Layout
635 contiene archivos gráficos que pueden ser incluidos en documentos.
639 \begin_layout Labeling
640 \labelwidthstring 00.00.0000
641 \begin_inset Flex Code
644 \begin_layout Plain Layout
650 contiene archivos de documentación de \SpecialChar LyX
651 (incluido éste que estás leyendo).
653 \begin_inset Flex Code
656 \begin_layout Plain Layout
663 merece atención especial, como se mencionó antes.
664 Si existe una versión nacional del documento de ayuda en el subdirectorio
666 \begin_inset Flex Code
669 \begin_layout Plain Layout
675 , éste se usará en primer lugar.
677 \begin_inset CommandInset ref
679 reference "cap:Internacionalización-de-LyX"
686 \begin_layout Labeling
687 \labelwidthstring 00.00.0000
688 \begin_inset Flex Code
691 \begin_layout Plain Layout
697 contiene archivos de ejemplo que describen el uso de algunas características.
698 Se puede acceder a ellos con el botón
699 \begin_inset Flex Noun
702 \begin_layout Plain Layout
708 en el buscador de archivos.
711 \begin_layout Labeling
712 \labelwidthstring 00.00.0000
713 \begin_inset Flex Code
716 \begin_layout Plain Layout
722 contiene archivos de imagen que se usan en el diálogo
723 \begin_inset Flex Noun
726 \begin_layout Plain Layout
727 Documento\SpecialChar menuseparator
734 Contiene además los iconos de las barras de herramientas y las enseñas
736 mostradas en su inicio.
739 \begin_layout Labeling
740 \labelwidthstring 00.00.0000
741 \begin_inset Flex Code
744 \begin_layout Plain Layout
750 contiene archivos de mapas de teclado.
752 \begin_inset CommandInset ref
754 reference "sec:keymap"
761 \begin_layout Labeling
762 \labelwidthstring 00.00.0000
763 \begin_inset Flex Code
766 \begin_layout Plain Layout
772 contiene las clases de textos y los archivos de los módulos descritos en
774 \begin_inset CommandInset ref
776 reference "cap:Instalación-de-nuevas"
783 \begin_layout Labeling
784 \labelwidthstring 00.00.0000
785 \begin_inset Flex Code
788 \begin_layout Plain Layout
794 contiene los guiones de Python
795 \begin_inset Flex Code
798 \begin_layout Plain Layout
804 para convertir entre versiones de \SpecialChar LyX
806 Pueden ejecutarse en línea de comandos si, digamos, quieres convertir ficheros
810 \begin_layout Labeling
811 \labelwidthstring 00.00.0000
812 \begin_inset Flex Code
815 \begin_layout Plain Layout
821 contiene algunos archivos que demuestran las capacidades de la característica
823 \begin_inset Flex Noun
826 \begin_layout Plain Layout
833 También contiene algunos guiones usados por el propio \SpecialChar LyX
837 \begin_layout Labeling
838 \labelwidthstring 00.00.0000
839 \begin_inset Flex Code
842 \begin_layout Plain Layout
848 contiene los archivos de plantillas estándar de \SpecialChar LyX
850 \begin_inset CommandInset ref
852 reference "subsec:Creación-de-plantillas"
859 \begin_layout Labeling
860 \labelwidthstring 00.00.0000
861 \begin_inset Flex Code
864 \begin_layout Plain Layout
870 contiene archivos con la extensión
871 \begin_inset Flex Code
874 \begin_layout Plain Layout
880 que definen la interfaz de usuario de \SpecialChar LyX
882 Esto es, archivos que definen qué ítems aparecen en qué menús y barras
888 \begin_layout Labeling
889 \labelwidthstring 00.00.0000
892 \begin_inset Flex Code
895 \begin_layout Plain Layout
903 contains files with the extension
904 \begin_inset Flex Code
907 \begin_layout Plain Layout
915 which define the templates for the insertion of external material to a
918 \begin_inset CommandInset ref
920 reference "chap:Including-External-Material"
927 \begin_layout Subsection
928 Archivos que no necesitan modificaciones
931 \begin_layout Standard
932 Estos archivos son utilizados internamente por \SpecialChar LyX
933 y generalmente no deben
934 ser modificados sino por los desarrolladores.
937 \begin_layout Labeling
938 \labelwidthstring 00.00.0000
939 \begin_inset Flex Code
942 \begin_layout Plain Layout
948 contiene la lista de desarrolladores de \SpecialChar LyX
950 Se muestra con el menú
951 \begin_inset Flex Noun
954 \begin_layout Plain Layout
955 Ayuda\SpecialChar menuseparator
956 Acerca de \SpecialChar LyX
965 \begin_layout Labeling
966 \labelwidthstring 00.00.0000
967 \begin_inset Flex Code
970 \begin_layout Plain Layout
976 es un guión de \SpecialChar LaTeX
977 usado durante el proceso de configuración.
978 No lo ejecutes directamente.
981 \begin_layout Labeling
982 \labelwidthstring 00.00.0000
983 \begin_inset Flex Code
986 \begin_layout Plain Layout
992 es el guión utilizado para la reconfiguración de \SpecialChar LyX
994 Genera los archivos de configuración en el directorio desde el que se ha
998 \begin_layout Subsection
999 Otros archivos en un par de líneas
1002 \begin_layout Labeling
1003 \labelwidthstring 00.00.0000
1004 \begin_inset Flex Code
1007 \begin_layout Plain Layout
1013 contiene tablas que describen cómo los distintos códigos de caracteres
1014 se transcriben a Unicode.
1017 \begin_layout Labeling
1018 \labelwidthstring 00.00.0000
1019 \begin_inset Flex Code
1022 \begin_layout Plain Layout
1028 contiene una lista de los idiomas actualmente soportados por \SpecialChar LyX
1032 \begin_layout Labeling
1033 \labelwidthstring 00.00.0000
1034 \begin_inset Flex Code
1037 \begin_layout Plain Layout
1043 contiene información sobre tipografías soportadas.
1046 \begin_layout Labeling
1047 \labelwidthstring 00.00.0000
1048 \begin_inset Flex Code
1051 \begin_layout Plain Layout
1057 contiene traducciones para entornos de párrafo (véase
1058 \begin_inset CommandInset ref
1060 reference "subsec:I18n"
1067 \begin_layout Labeling
1068 \labelwidthstring 00.00.0000
1069 \begin_inset Flex Code
1072 \begin_layout Plain Layout
1078 contiene información sobre glifos unicode y su soporte por \SpecialChar LyX
1079 vía \SpecialChar LaTeX
1083 \begin_layout Section
1084 Directorio de configuración personal
1087 \begin_layout Standard
1088 Aunque uses \SpecialChar LyX
1089 como usuario sin privilegios, puedes adaptar su configuración
1092 \begin_inset Flex Code
1095 \begin_layout Plain Layout
1101 contiene todos los archivos de configuración personal.
1102 Es el directorio especificado como
1103 \begin_inset Quotes cld
1106 Directorio del usuario
1107 \begin_inset Quotes crd
1111 \begin_inset Flex Noun
1114 \begin_layout Plain Layout
1115 Ayuda\SpecialChar menuseparator
1116 Acerca de \SpecialChar LyX
1123 Este directorio se usa como espejo de
1124 \begin_inset Flex Code
1127 \begin_layout Plain Layout
1134 , que quiere decir que cada archivo en
1135 \begin_inset Flex Code
1138 \begin_layout Plain Layout
1144 es un equivalente del correspondiente archivo en
1145 \begin_inset Flex Code
1148 \begin_layout Plain Layout
1156 Cualquiera de los archivos de configuración descritos en las secciones
1157 anteriores puede estar en el directorio global del sistema, en cuyo caso
1158 afectará a todos los usuarios, y en tu directorio local para tu propio
1162 \begin_layout Standard
1163 Para clarificar las cosas vamos a poner unos ejemplos:
1166 \begin_layout Itemize
1167 Las preferencias establecidas en el diálogo
1168 \begin_inset Flex Noun
1171 \begin_layout Plain Layout
1172 Herramientas\SpecialChar menuseparator
1178 se guardan en un archivo
1179 \begin_inset Flex Code
1182 \begin_layout Plain Layout
1189 \begin_inset Flex Code
1192 \begin_layout Plain Layout
1201 \begin_layout Itemize
1202 Si reconfiguras mediante
1203 \begin_inset Flex Noun
1206 \begin_layout Plain Layout
1207 Herramientas\SpecialChar menuseparator
1215 \begin_inset Newline linebreak
1219 \begin_inset Flex Code
1222 \begin_layout Plain Layout
1228 , y los archivos resultantes se escriben en tu directorio de usuario.
1229 Esto significa que cualquier archivo adicional de clase de texto que pudieras
1231 \begin_inset Flex Code
1234 \begin_layout Plain Layout
1240 se sumará a la lista de clases en el diálogo
1241 \begin_inset Flex Noun
1244 \begin_layout Plain Layout
1245 Documento\SpecialChar menuseparator
1254 \begin_layout Itemize
1255 Si consigues alguna documentación actualizada del sitio de \SpecialChar LyX
1257 instalarla porque no tienes permisos para administrar tu sistema, solo
1258 has de copiar los archivos en
1259 \begin_inset Flex Code
1262 \begin_layout Plain Layout
1268 ¡y las entradas del menú
1269 \begin_inset Flex Noun
1272 \begin_layout Plain Layout
1281 \begin_layout Section
1282 Ejecutar \SpecialChar LyX
1283 con múltiples configuraciones
1286 \begin_layout Standard
1287 La libertad de configuración del directorio local puede no ser suficiente
1288 si quieres tener a tu disposición más de una configuración.
1289 Por ejemplo, si quisieras usar diferentes combinaciones de teclas o configuraci
1290 ones de impresora en distintos momentos.
1291 Esto lo puedes conseguir teniendo varios de estos directorios.
1292 Después especificas qué directorio usar al arrancar.
1295 \begin_layout Standard
1296 Ejecutando \SpecialChar LyX
1297 con la opción de línea de comandos
1298 \begin_inset Flex Code
1301 \begin_layout Plain Layout
1311 hace que el programa lea la configuración de ese directorio y no del predetermi
1313 (Puedes determinar el directorio predeterminado ejecutando \SpecialChar LyX
1316 \begin_inset Flex Code
1319 \begin_layout Plain Layout
1326 Si el directorio especificado no existe, \SpecialChar LyX
1327 propone su creación, tal como
1328 hace con el directorio predeterminado la primera vez que se ejecuta el
1330 Puedes modificar las opciones de configuración en ese directorio personal
1331 adicional exactamente igual que para el directorio predeterminado.
1332 Estos directorios son completamente independientes (pero sigue leyendo).
1333 Ten presente que establecer algún valor para la variable de entorno
1334 \begin_inset Flex Code
1337 \begin_layout Plain Layout
1343 tiene exactamente el mismo efecto.
1346 \begin_layout Standard
1347 Tener varias configuraciones también requiere más mantenimiento: si quieres
1348 añadir un nuevo formato a
1349 \begin_inset Flex Code
1352 \begin_layout Plain Layout
1358 que esté disponible en todas tus configuraciones, debes añadirlo a cada
1359 directorio por separado.
1360 Puedes evitarlo con el siguiente truco: después de que \SpecialChar LyX
1362 adicional, la mayoría de los subdirectorios (véase arriba) están vacíos.
1363 Si quieres que la nueva configuración sea una réplica de una existente,
1364 reemplaza el subdirectorio vacío con un enlace simbólico que apunte al
1365 subdirectorio deseado.
1366 Ten precaución, no obstante, con el subdirectorio
1367 \begin_inset Flex Code
1370 \begin_layout Plain Layout
1376 , puesto que contiene un archivo escrito por el guión de configuración (también
1378 \begin_inset Flex Noun
1381 \begin_layout Plain Layout
1382 Herramientas\SpecialChar menuseparator
1388 ) que es específico de la configuración.
1391 \begin_layout Chapter
1392 El diálogo Preferencias
1395 \begin_layout Standard
1396 Todas las opciones del diálogo de preferencias se describen en el apéndice
1410 Ahí encontrarás más detalles sobre algunas opciones.
1413 \begin_layout Section
1415 \begin_inset CommandInset label
1424 \begin_layout Standard
1425 El primer paso es definir tus propios formatos de archivo si no lo están
1427 Para hacerlo abre el diálogo
1428 \begin_inset Flex Noun
1431 \begin_layout Plain Layout
1432 Herramientas\SpecialChar menuseparator
1440 \begin_inset Flex Noun
1443 \begin_layout Plain Layout
1444 Gestión de archivos\SpecialChar menuseparator
1451 \begin_inset Flex Noun
1454 \begin_layout Plain Layout
1455 Nuevo\SpecialChar ldots
1461 para definir el nuevo formato.
1463 \begin_inset Flex Noun
1466 \begin_layout Plain Layout
1472 es para el nombre que identificará el formato en la GUI (interfaz gráfica
1475 \begin_inset Flex Noun
1478 \begin_layout Plain Layout
1484 se usa para identificar el formato internamente.
1485 Además deberás introducir una extensión de archivo.
1486 Todos estos son imprescindibles.
1488 \begin_inset Flex Noun
1491 \begin_layout Plain Layout
1497 sirve para asociar una combinación de teclas en los menús.
1498 (Por ejemplo, teclear
1499 \begin_inset Flex Noun
1502 \begin_layout Plain Layout
1509 \begin_inset Flex Noun
1512 \begin_layout Plain Layout
1515 Documento\SpecialChar menuseparator
1518 \SpecialChar menuseparator
1526 \begin_inset Flex Noun
1529 \begin_layout Plain Layout
1538 \begin_layout Standard
1539 Un Formato puede tener un
1540 \begin_inset Flex Noun
1543 \begin_layout Plain Layout
1550 \begin_inset Flex Noun
1553 \begin_layout Plain Layout
1560 Por ejemplo, podrías usar
1561 \begin_inset Flex Noun
1564 \begin_layout Plain Layout
1570 para ver archivos PostScript.
1571 Puedes introducir el comando para iniciar el programa en el campo correspondien
1573 Al definir este comando puedes usar las cuatro variables listadas en la
1575 El visor se lanza cuando ves una imagen en \SpecialChar LyX
1577 \begin_inset Flex Noun
1580 \begin_layout Plain Layout
1583 Documento\SpecialChar menuseparator
1590 El editor se lanza cuando pulsas el botón
1591 \begin_inset Flex Noun
1594 \begin_layout Plain Layout
1600 que se muestra al hacer clic derecho en un gráfico o en un material externo,
1604 \begin_layout Standard
1606 \begin_inset Flex Noun
1609 \begin_layout Plain Layout
1615 de un formato es opcional, pero si se especifica, debe ser único para todos
1617 Se usa para detectar archivos de ese formato de los contenidos de archivo.
1618 Para algunos formatos de archivo importantes no hay tipo MIME oficialmente
1620 \begin_inset CommandInset href
1623 target "http://www.iana.org/assignments/media-types/"
1629 Por tanto \SpecialChar LyX
1630 usa la lista extensa de tipos MIME especificada por
1631 \begin_inset CommandInset href
1633 name "freedesktop.org"
1634 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1642 \begin_layout Standard
1644 \begin_inset Flex Noun
1647 \begin_layout Plain Layout
1648 Formato de documento
1653 indica a \SpecialChar LyX
1654 que ese formato es adecuado para exportar.
1655 Si esto está marcado y existe una ruta de conversión adecuada (véase
1656 \begin_inset CommandInset ref
1658 reference "sec:Convertidores"
1662 ), el formato aparecerá en el menú
1663 \begin_inset Flex Noun
1666 \begin_layout Plain Layout
1667 Archivo\SpecialChar menuseparator
1674 También aparecerá en el menú
1675 \begin_inset Flex Noun
1678 \begin_layout Plain Layout
1681 Documento\SpecialChar menuseparator
1687 si se ha especificado un visor para ese formato.
1688 Los formatos puros de imagen, como
1689 \begin_inset Flex Code
1692 \begin_layout Plain Layout
1698 , no deberían usar esta opción.
1699 Los formatos que pueden corresponder tanto a gráficos vectoriales como
1701 \begin_inset Flex Code
1704 \begin_layout Plain Layout
1710 , sí deberían usarla.
1713 \begin_layout Standard
1715 \begin_inset Flex Noun
1718 \begin_layout Plain Layout
1719 Formato de gráfico vectorial
1724 indica a \SpecialChar LyX
1725 que el formato puede contener gráficos vectoriales.
1726 Esta información se emplea para determinar el formato objetivo de los gráficos
1727 incluidos para la exportación
1728 \begin_inset Flex Noun
1731 \begin_layout Plain Layout
1738 Los gráficos incluidos pueden requerir conversión a
1739 \begin_inset Flex Noun
1742 \begin_layout Plain Layout
1749 \begin_inset Flex Noun
1752 \begin_layout Plain Layout
1759 \begin_inset Flex Noun
1762 \begin_layout Plain Layout
1769 \begin_inset Flex Noun
1772 \begin_layout Plain Layout
1778 no puede manejar otros formatos de imagen.
1779 Si un archivo incluido no está ya en formato
1780 \begin_inset Flex Noun
1783 \begin_layout Plain Layout
1790 \begin_inset Flex Noun
1793 \begin_layout Plain Layout
1800 \begin_inset Flex Noun
1803 \begin_layout Plain Layout
1810 \begin_inset Flex Noun
1813 \begin_layout Plain Layout
1819 si la opción de formato vectorial está marcada, y si no a
1820 \begin_inset Flex Noun
1823 \begin_layout Plain Layout
1833 \begin_layout Section
1837 \begin_layout Standard
1838 Puesto que todas las conversiones de un formato a otro tienen lugar en el
1839 archivo temporal de \SpecialChar LyX
1840 , a veces es necesario modificar un archivo antes de
1841 copiarlo en el directorio temporal para que la conversión se pueda realizar.
1845 \begin_layout Plain Layout
1846 Por ejemplo, el archivo puede hacer referencia a otros archivos —imágenes,
1847 por ejemplo— mediante nombres de archivo relativos, y estos pueden resultar
1848 inválidos cuando el archivo se copia en el directorio temporal.
1853 Esto lo hace un Copiador: copia un archivo a (o desde) el directorio temporal
1854 y puede modificarlo en el proceso.
1857 \begin_layout Standard
1858 Las definiciones de los copiadores pueden usar ocho variables:
1861 \begin_layout Labeling
1862 \labelwidthstring 00.00.0000
1863 \begin_inset Flex Code
1866 \begin_layout Plain Layout
1872 El directorio de sistema de \SpecialChar LyX
1874 \begin_inset space \thinspace{}
1878 \begin_inset space \space{}
1882 \begin_inset Flex Noun
1885 \begin_layout Plain Layout
1894 \begin_layout Labeling
1895 \labelwidthstring 00.00.0000
1896 \begin_inset Flex Code
1899 \begin_layout Plain Layout
1905 El archivo de entrada
1908 \begin_layout Labeling
1909 \labelwidthstring 00.00.0000
1910 \begin_inset Flex Code
1913 \begin_layout Plain Layout
1919 El archivo de salida
1922 \begin_layout Labeling
1923 \labelwidthstring 00.00.0000
1924 \begin_inset Flex Code
1927 \begin_layout Plain Layout
1933 Nombre base (sin extensión) en el directorio temporal de \SpecialChar LyX
1937 \begin_layout Labeling
1938 \labelwidthstring 00.00.0000
1939 \begin_inset Flex Code
1942 \begin_layout Plain Layout
1948 Ruta completa al directorio temporal de \SpecialChar LyX
1952 \begin_layout Labeling
1953 \labelwidthstring 00.00.0000
1954 \begin_inset Flex Code
1957 \begin_layout Plain Layout
1963 Ruta completa al archivo original \SpecialChar LyX
1967 \begin_layout Labeling
1968 \labelwidthstring 00.00.0000
1969 \begin_inset Flex Code
1972 \begin_layout Plain Layout
1978 Nombre del archivo \SpecialChar LyX
1979 (sin ruta de directorio)
1982 \begin_layout Labeling
1983 \labelwidthstring 00.00.0000
1984 \begin_inset Flex Code
1987 \begin_layout Plain Layout
1993 El `nombre \SpecialChar LaTeX
1997 \begin_layout Standard
1998 El último debería ser el nombre de archivo tal como debería ponerse en un
1999 comando \SpecialChar LaTeX
2007 Solo es pertinente cuando se exportan archivos adecuados para esa inclusión.
2010 \begin_layout Standard
2011 Los copiadores pueden emplearse para hacer casi cualquier cosa con archivos
2013 Por ejemplo, supongamos que quieres copiar archivos
2014 \begin_inset Flex Noun
2017 \begin_layout Plain Layout
2023 generados a un directorio especial,
2024 \begin_inset Flex Code
2027 \begin_layout Plain Layout
2034 En ese caso deberías escribir un guión para intérprete de comandos tal
2038 \begin_layout Standard
2039 \begin_inset listings
2043 \begin_layout Plain Layout
2048 \begin_layout Plain Layout
2053 \begin_layout Plain Layout
2055 TOFILE=`basename $2`
2058 \begin_layout Plain Layout
2060 cp $FROMFILE /home/you/pdf/$TOFILE
2065 Guárdalo en tu directorio local, —
2066 \begin_inset Flex Code
2069 \begin_layout Plain Layout
2070 /home/you/.lyx/scripts/pdfcopier.sh
2075 , supongamos— y hazlo ejecutable si ello es necesario en tu sistema.
2076 Después, en el diálogo
2077 \begin_inset Flex Noun
2080 \begin_layout Plain Layout
2081 Herramientas\SpecialChar menuseparator
2088 \begin_inset Flex Noun
2091 \begin_layout Plain Layout
2092 Gestión de archivos\SpecialChar menuseparator
2098 , selecciona el formato
2099 \begin_inset Flex Noun
2102 \begin_layout Plain Layout
2108 —u otro de los formatos pdf— e introduce
2109 \begin_inset Flex Code
2112 \begin_layout Plain Layout
2113 pdfcopier.sh $$i $$o
2119 \begin_inset Flex Noun
2122 \begin_layout Plain Layout
2131 \begin_layout Standard
2133 usa los copiadores en varias de sus propias conversiones.
2134 Por ejemplo, si se encuentran los programas apropiados, \SpecialChar LyX
2135 instalará copiadores
2137 \begin_inset Flex Noun
2140 \begin_layout Plain Layout
2147 \begin_inset Flex Noun
2150 \begin_layout Plain Layout
2152 \begin_inset space ~
2161 Cuando se exporta a estos formatos, el copiador se encarga de que se copien
2162 no solo el archivo HTML principal, sino también los diversos archivos asociados
2163 (estilos, imágenes, etc).
2164 Todos estos archivos se escriben en un subdirectorio del directorio en
2165 el que se encuentre el archivo original de \SpecialChar LyX
2170 \begin_layout Plain Layout
2171 Este copiador puede adaptarse.
2172 El argumento opcional
2173 \begin_inset Quotes cld
2177 \begin_inset Quotes crd
2180 acepta una lista, separada por comas, con las extensiones que deben copiarse;
2181 si se omite se copiarán todos los archivos.
2183 \begin_inset Quotes cld
2187 \begin_inset Quotes crd
2190 determina la extensión añadida al directorio generado.
2192 \begin_inset Quotes cld
2196 \begin_inset Flex Noun
2199 \begin_layout Plain Layout
2207 \begin_inset Quotes crd
2210 , así, el HTML generado a partir de
2211 \begin_inset Flex Noun
2214 \begin_layout Plain Layout
2221 \begin_inset Flex Noun
2224 \begin_layout Plain Layout
2225 /ruta/a/archivo.html.\SpecialChar LyX
2239 \begin_layout Section
2241 \begin_inset CommandInset label
2243 name "sec:Convertidores"
2250 \begin_layout Standard
2251 Puedes definir tus propios convertidores para convertir archivos entre distintos
2253 Se hace en el diálogo
2254 \begin_inset Flex Noun
2257 \begin_layout Plain Layout
2258 Herramientas\SpecialChar menuseparator
2259 Preferencias\SpecialChar menuseparator
2260 Gestión de archivos\SpecialChar menuseparator
2269 \begin_layout Standard
2270 Para definir un nuevo convertidor de un formato a otro, selecciónalos en
2271 las listas desplegables
2272 \begin_inset Flex Noun
2275 \begin_layout Plain Layout
2277 \begin_inset space ~
2286 \begin_inset Flex Noun
2289 \begin_layout Plain Layout
2291 \begin_inset space ~
2299 , introduce el comando necesario para la conversión y después pulsa el botón
2301 \begin_inset Flex Noun
2304 \begin_layout Plain Layout
2311 En la definición de convertidores se pueden usar distintas variables:
2314 \begin_layout Labeling
2315 \labelwidthstring 00.00.0000
2316 \begin_inset Flex Code
2319 \begin_layout Plain Layout
2325 El directorio de sistema de \SpecialChar LyX
2329 \begin_layout Labeling
2330 \labelwidthstring 00.00.0000
2331 \begin_inset Flex Code
2334 \begin_layout Plain Layout
2340 El archivo de entrada
2343 \begin_layout Labeling
2344 \labelwidthstring 00.00.0000
2345 \begin_inset Flex Code
2348 \begin_layout Plain Layout
2354 El archivo de salida
2357 \begin_layout Labeling
2358 \labelwidthstring 00.00.0000
2359 \begin_inset Flex Code
2362 \begin_layout Plain Layout
2368 El nombre del archivo base del archivo de entrada (sin la extensión)
2371 \begin_layout Labeling
2372 \labelwidthstring 00.00.0000
2373 \begin_inset Flex Code
2376 \begin_layout Plain Layout
2382 La ruta al archivo de entrada
2385 \begin_layout Labeling
2386 \labelwidthstring 00.00.0000
2387 \begin_inset Flex Code
2390 \begin_layout Plain Layout
2396 La ruta al archivo de entrada original (esto es diferente de $$p cuando
2397 se invoca una cadena de convertidores).
2400 \begin_layout Labeling
2401 \labelwidthstring 00.00.0000
2402 \begin_inset Flex Code
2405 \begin_layout Plain Layout
2411 El nombre iconv para la codificación del documento.
2414 \begin_layout Standard
2416 \begin_inset Flex Noun
2419 \begin_layout Plain Layout
2425 puedes introducir los siguientes, separados por comas:
2428 \begin_layout Labeling
2429 \labelwidthstring 00.00.0000
2430 \begin_inset Flex Code
2433 \begin_layout Plain Layout
2439 Este convertidor ejecuta alguna forma de \SpecialChar LaTeX
2441 Hará estar disponibles los registros de errores \SpecialChar LaTeX
2446 \begin_layout Labeling
2447 \labelwidthstring 00.00.0000
2448 \begin_inset Flex Code
2451 \begin_layout Plain Layout
2457 Necesita el archivo \SpecialChar LaTeX
2459 \begin_inset Flex Noun
2462 \begin_layout Plain Layout
2471 \begin_layout Labeling
2472 \labelwidthstring 00.00.0000
2473 \begin_inset Flex Code
2476 \begin_layout Plain Layout
2483 \begin_inset Quotes cld
2487 \begin_inset Quotes crd
2490 archivo del trastero, que en la práctica quiere decir un archivo \SpecialChar LaTeX
2492 el que queremos exportar, sin
2493 \begin_inset Flex Code
2496 \begin_layout Plain Layout
2505 \begin_layout Labeling
2506 \labelwidthstring 00.00.0000
2507 \begin_inset Flex Code
2510 \begin_layout Plain Layout
2519 \begin_layout Standard
2520 Las tres siguientes no son realmente indicadores porque aceptan un argumento
2522 \begin_inset Flex Noun
2525 \begin_layout Plain Layout
2527 \begin_inset space ~
2531 \begin_inset space ~
2542 \begin_layout Labeling
2543 \labelwidthstring 00.00.0000
2544 \begin_inset Flex Code
2547 \begin_layout Plain Layout
2553 Si se pone, el error estándar del convertidor se redirecciona a un archivo
2555 \begin_inset Flex Code
2558 \begin_layout Plain Layout
2564 , y el guión dado como argumento se ejecutará como:
2565 \begin_inset Flex Code
2568 \begin_layout Plain Layout
2569 script <infile.out >infile.log
2575 El argumento puede contener
2576 \begin_inset Flex Code
2579 \begin_layout Plain Layout
2588 \begin_layout Labeling
2589 \labelwidthstring 00.00.0000
2590 \begin_inset Flex Code
2593 \begin_layout Plain Layout
2599 El nombre del directorio en el que el convertidor descargará los archivos
2602 no creará ese directorio y no copia nada en él, aunque copiará este directorio
2604 El argumento puede contener
2605 \begin_inset Flex Code
2608 \begin_layout Plain Layout
2614 , que será reemplazado por el nombre base de los archivos de entrada y de
2615 salida, respectivamente, cuando se copia el directorio.
2616 \begin_inset Newline newline
2619 Ten en cuenta que resultdir y usetempdir no tienen sentido juntos.
2620 El último será ignorado si se da el primero.
2623 \begin_layout Labeling
2624 \labelwidthstring 00.00.0000
2625 \begin_inset Flex Code
2628 \begin_layout Plain Layout
2634 Determina el nombre del archivo de salida y puede contener
2635 \begin_inset Flex Code
2638 \begin_layout Plain Layout
2645 Solo es sensible con
2646 \begin_inset Flex Code
2649 \begin_layout Plain Layout
2655 y además es opcional; si no se da, por omisión es `index'.
2658 \begin_layout Standard
2659 Ninguno de estos tres últimos se usan actualmente en ninguno de los convertidore
2660 s que son instalados por \SpecialChar LyX
2664 \begin_layout Standard
2665 No tienes que definir convertidores entre todos los formatos que quieras
2667 Por ejemplo, observarás que no hay convertidor `\SpecialChar LyX
2668 a PostScript', sin embargo
2670 exporta a PostScript.
2671 Lo hace creando primero un archivo \SpecialChar LaTeX
2672 (no es necesario un convertidor para
2673 esto), que luego es convertido a DVI mediante el convertidor `\SpecialChar LaTeX
2675 y por último convierte el archivo DVI resultante a PostScript.
2677 encuentra automáticamente estas 'cadenas' de convertidores y siempre escogerá
2678 la cadena más corta posible.
2679 Sin embargo, aún puedes definir múltiples métodos de conversión entre formatos.
2680 Por ejemplo, la configuración estándar de \SpecialChar LyX
2681 provee cinco caminos para convertir
2686 \begin_layout Enumerate
2687 directamente, usando
2688 \begin_inset Flex Noun
2691 \begin_layout Plain Layout
2700 \begin_layout Enumerate
2701 mediante (DVI y) PostScript, usando
2702 \begin_inset Flex Noun
2705 \begin_layout Plain Layout
2714 \begin_layout Enumerate
2715 mediante DVI, usando
2716 \begin_inset Flex Noun
2719 \begin_layout Plain Layout
2728 \begin_layout Enumerate
2729 directamente, usando
2730 \begin_inset Flex Noun
2733 \begin_layout Plain Layout
2743 \begin_layout Enumerate
2744 directamente, usando
2745 \begin_inset Flex Noun
2748 \begin_layout Plain Layout
2758 \begin_layout Standard
2759 Para construir estas cadenas alternativas tienes que definir múltiples 'formatos
2760 de archivo' objetivo, como se describe en la sección
2761 \begin_inset space ~
2765 \begin_inset CommandInset ref
2767 reference "sec:Formatos"
2772 Por ejemplo, en la configuración estándar, se definen los formatos llamados
2774 \begin_inset Flex Noun
2777 \begin_layout Plain Layout
2784 \begin_inset Flex Noun
2787 \begin_layout Plain Layout
2794 \begin_inset Flex Noun
2797 \begin_layout Plain Layout
2804 \begin_inset Flex Noun
2807 \begin_layout Plain Layout
2814 \begin_inset Flex Noun
2817 \begin_layout Plain Layout
2824 \begin_inset Flex Noun
2827 \begin_layout Plain Layout
2834 \begin_inset Flex Noun
2837 \begin_layout Plain Layout
2844 \begin_inset Flex Noun
2847 \begin_layout Plain Layout
2855 \begin_inset Flex Noun
2858 \begin_layout Plain Layout
2865 \begin_inset Flex Noun
2868 \begin_layout Plain Layout
2875 ), todos ellos compartiendo la extensión
2876 \begin_inset Flex Noun
2879 \begin_layout Plain Layout
2885 , y que corresponden a los métodos de conversión antes mencionados.
2888 \begin_layout Chapter
2889 Internacionalización de \SpecialChar LyX
2891 \begin_inset CommandInset label
2893 name "cap:Internacionalización-de-LyX"
2900 \begin_layout Standard
2902 soporta el uso de una interfaz traducida.
2903 La última vez que lo comprobamos, \SpecialChar LyX
2904 suministraba textos en treinta idiomas.
2905 El idioma elegido se denomina
2910 (Para lecciones adicionales sobre configuración de idiomas, véase también
2912 \begin_inset Quotes cld
2916 \begin_inset Quotes crd
2919 del sistema operativo.
2920 En Linux, la página de manual de
2921 \begin_inset Flex Code
2924 \begin_layout Plain Layout
2930 es un buen punto de partida).
2934 \begin_layout Standard
2935 Hay que advertir que estas traducciones funcionarán pero tienen algunos
2937 En particular, todos los diálogos se han diseñado con el inglés en mente,
2938 lo que significa que algún texto traducido podría ser demasiado largo para
2939 ajustarse al espacio asignado.
2940 Esto solo es un problema de presentación en pantalla y no causará ningún
2942 Además, encontrarás que algunas traducciones no definen atajos de teclado
2944 A veces, simplemente no hay letras libres suficientes para ello.
2945 Otras veces, el traductor todavía no lo ha completado.
2946 Nuestro equipo de traducción, al que podrías unirte si quieres,
2950 \begin_layout Plain Layout
2951 Si usas con fluidez un idioma distinto del inglés, ¡unirse a estos equipos
2952 es una estupenda forma de corresponder a la comunidad \SpecialChar LyX
2958 intentará, por supuesto, corregir estas deficiencias en futuras versiones
2963 \begin_layout Section
2964 Traducción de \SpecialChar LyX
2968 \begin_layout Subsection
2969 Traducción de la interfaz gráfica de usuario (mensajes de texto)
2972 \begin_layout Standard
2974 utiliza la biblioteca GNU
2975 \begin_inset Flex Code
2978 \begin_layout Plain Layout
2984 para manejar la internacionalización de la interfaz.
2985 Para que \SpecialChar LyX
2986 hable tu idioma preferido en todos los menús y diálogos es necesario
2988 \begin_inset Flex Code
2991 \begin_layout Plain Layout
2998 Si está disponible, tendrás que generar a partir de él un archivo
2999 \begin_inset Flex Code
3002 \begin_layout Plain Layout
3009 El procedimiento para hacer todo esto se explica en la documentación de
3011 \begin_inset Flex Code
3014 \begin_layout Plain Layout
3021 Puedes hacer esto solo para ti, pero también podrías compartir el resultado
3022 de tu trabajo con el resto de la comunidad \SpecialChar LyX
3024 Envía un mensaje a la lista de desarrolladores de \SpecialChar LyX
3025 para más información
3026 sobre cómo proceder.
3029 \begin_layout Standard
3030 En resumen, esto es lo que deberías hacer (xx indica el código del idioma):
3033 \begin_layout Itemize
3034 Inspecciona el código fuente de \SpecialChar LyX
3037 \begin_inset CommandInset href
3039 name "información en la web"
3040 target "https://www.lyx.org/HowToUseGIT"
3048 \begin_layout Itemize
3050 \begin_inset Flex Code
3053 \begin_layout Plain Layout
3059 a la carpeta de los archivos
3060 \begin_inset Flex Code
3063 \begin_layout Plain Layout
3070 Después lo renombras como
3071 \begin_inset Flex Code
3074 \begin_layout Plain Layout
3082 \begin_inset Flex Code
3085 \begin_layout Plain Layout
3091 no está por ningún sitio, puede rehacerse con el comando de consola
3092 \begin_inset Flex Code
3095 \begin_layout Plain Layout
3101 en ese directorio, o puedes usar como muestra un archivo
3102 \begin_inset Flex Code
3105 \begin_layout Plain Layout
3111 de algún otro idioma).
3114 \begin_layout Itemize
3116 \begin_inset Flex Code
3119 \begin_layout Plain Layout
3129 \begin_layout Plain Layout
3130 Es un archivo de texto, se puede editar en cualquier editor de texto.
3131 Pero hay programas especializados para editar estos archivos, como
3135 (para todas las plataformas) o
3144 tiene un `modo' para editar archivos
3145 \begin_inset Flex Code
3148 \begin_layout Plain Layout
3155 \begin_inset Flex URL
3158 \begin_layout Plain Layout
3160 https://www.gnu.org/software/gettext/manual/html_node/PO-Mode.html
3172 Para algunos nombres de menú y otros artilugios hay además atajos de teclado
3173 que deberían traducirse.
3174 Dichas teclas se marcan con una `|' delante, y deberían traducirse de acuerdo
3175 con las palabras y frases del idioma.
3176 Además tendrías que rellenar la información al principio del nuevo archivo
3178 \begin_inset Flex Code
3181 \begin_layout Plain Layout
3187 , correo electrónico, etc., para que la gente sepa dónde enviarte sugerencias
3188 o divertidas diatribas.
3191 \begin_layout Standard
3192 Si estás haciendo esto solo para ti, entonces:
3195 \begin_layout Itemize
3197 \begin_inset Flex Code
3200 \begin_layout Plain Layout
3208 \begin_inset Flex Code
3211 \begin_layout Plain Layout
3212 msgfmt -o xx.mo < xx.po
3220 \begin_layout Itemize
3222 \begin_inset Flex Code
3225 \begin_layout Plain Layout
3231 a tu directorio local, en la carpeta apropiada para los mensajes de las
3232 aplicaciones en el idioma xx, con el nombre
3233 \begin_inset Flex Code
3236 \begin_layout Plain Layout
3243 \begin_inset space \thinspace{}
3247 \begin_inset space \space{}
3251 \begin_inset Flex Code
3254 \begin_layout Plain Layout
3255 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3265 \begin_layout Standard
3266 Sin embargo, ya se ha dicho, lo mejor sería poder añadir el nuevo archivo
3268 \begin_inset Flex Code
3271 \begin_layout Plain Layout
3277 a la distribución de \SpecialChar LyX
3278 , para que otros puedan usarlo.
3279 Esto requiere hacer cambios en \SpecialChar LyX
3280 , así que envía un correo a la lista de
3281 desarrolladores si estás interesado en hacerlo.
3284 \begin_layout Subsubsection
3288 \begin_layout Standard
3289 A veces resulta que un mensaje en inglés tiene diversas traducciones en
3291 Un ejemplo es la palabra
3292 \begin_inset Flex Code
3295 \begin_layout Plain Layout
3301 , que en alemán se puede traducir por Nach o Bis, según el sentido exacto
3303 \begin_inset Quotes cld
3307 \begin_inset Quotes crd
3312 \begin_inset Flex Code
3315 \begin_layout Plain Layout
3321 no maneja tales traducciones ambiguas.
3322 Por lo tanto, debes añadir alguna información contextual al mensaje: en
3324 \begin_inset Flex Code
3327 \begin_layout Plain Layout
3334 \begin_inset Flex Code
3337 \begin_layout Plain Layout
3338 To[[as in 'From format x to format y']]
3344 \begin_inset Flex Code
3347 \begin_layout Plain Layout
3348 To[[as in 'From page x to page y']]
3354 Ahora las dos apariciones de
3355 \begin_inset Flex Code
3358 \begin_layout Plain Layout
3365 \begin_inset Flex Code
3368 \begin_layout Plain Layout
3374 y pueden traducirse correctamente por Nach y Bis, respectivamente.
3377 \begin_layout Standard
3378 Por supuesto que la información contextual debe eliminarse del mensaje original
3379 si no se usa en la traducción.
3380 Por eso hay que ponerla entre dobles corchetes al final del mensaje (véase
3382 El mecanismo de traducción de \SpecialChar LyX
3383 asegura que todo lo que va entre corchetes
3384 al final de los mensajes se quita antes de mostrarlos.
3387 \begin_layout Subsection
3388 Traducción de la documentación
3391 \begin_layout Standard
3392 La documentación en línea (menú
3395 \begin_inset Flex Noun
3398 \begin_layout Plain Layout
3412 ) puede (¡debería!) traducirse.
3413 Si hay versiones traducidas de la documentación disponible
3417 \begin_layout Plain Layout
3418 Hasta marzo de 2008, al menos algunos de los documentos han sido traducidos
3419 a catorce idiomas, y el Tutorial está disponible en algunos más.
3425 \begin_inset Flex Code
3428 \begin_layout Plain Layout
3434 está adecuadamente configurado, \SpecialChar LyX
3436 \begin_inset Quotes cld
3440 \begin_inset Quotes crd
3445 busca las traducciones en
3448 \begin_inset Flex Code
3451 \begin_layout Plain Layout
3470 es el código para el idioma en uso actualmente.
3471 Si no hay versión traducida se presentará por omisión la versión inglesa
3473 Ten en cuenta que las versiones traducidas deben tener los mismos nombres
3478 de antes) que el original.
3479 Si te animas a traducir documentación (¡de paso, una excelente manera de
3480 leerla atentamente!), hay algunas cosas que deberías tener en cuenta:
3483 \begin_layout Itemize
3484 Consulta la web de traducción de la documentación en
3485 \begin_inset CommandInset href
3487 name "https://www.lyx.org/Translation"
3488 target "https://www.lyx.org/Translation"
3494 Así podrás comprobar el estado actual de traducción de documentos a tu
3496 También si hay alguien que esté coordinando la traducción a tu idioma.
3497 Si no hay nadie comunícanos, por favor, si estás interesado en ello.
3500 \begin_layout Standard
3501 Una vez que te has decidido a empezar, he aquí algunos consejos que te pueden
3502 ahorrar inconvenientes:
3505 \begin_layout Itemize
3506 ¡Únete al equipo de documentación! En
3509 \begin_inset Flex Noun
3512 \begin_layout Plain Layout
3513 Ayuda\SpecialChar menuseparator
3523 , que por cierto, es el primer documento que se debería traducir, hay informació
3524 n sobre cómo hacerlo.
3527 \begin_layout Itemize
3528 Infórmate sobre las normas tipográficas de tu idioma.
3529 La tipografía es un antiguo arte que ha desarrollado durante siglos una
3530 gran variedad de convenciones en diversas partes del mundo.
3531 Estudia también la terminología profesional de los tipógrafos en tu país.
3532 Inventar tu propia terminología sólo provocará confusión.
3535 (¡Cuidado! La tipografía es adictiva!)
3538 \begin_layout Itemize
3539 Haz una copia del documento para trabajar sobre ella.
3540 Puedes guardarla como archivo personal de traducción en tu directorio
3547 \begin_layout Itemize
3548 De vez en cuando el documento original (del equipo \SpecialChar LyX
3550 Usa el visor de fuentes en
3551 \begin_inset CommandInset href
3553 name "https://www.lyx.org/trac/timeline"
3554 target "https://www.lyx.org/trac/timeline"
3559 para ver los cambios realizados.
3560 De esta manera puedes ver fácilmente qué partes del documento traducido
3561 necesitan actualizarse.
3564 \begin_layout Standard
3565 Si encuentras un error en el documento original, ¡corríjelo y notifica los
3566 cambios al equipo de documentación! (¿No te has olvidado de contactar con
3567 el equipo de documentación, verdad?)
3570 \begin_layout Standard
3571 \begin_inset Branch OutDated
3575 \begin_layout Section
3576 International Keyboard Support
3579 \begin_layout Standard
3582 [Editor's Note: The following section is by
3590 It needs to be fixed to conform to the new Documentation Style sheet and
3591 to make use of the new v1.0 features.
3592 The whole thing also needs to be merged with the section following it.-jw
3593 It may also be badly out of date.-rh (2008)]
3596 \begin_layout Subsection
3597 Defining Own Keymaps: Keymap File Format
3600 \begin_layout Standard
3601 Let's look at a keyboard definition file a little closer.
3602 It is a plain text file defining
3605 \begin_layout Itemize
3606 key-to-key or key-to-string translations
3609 \begin_layout Itemize
3613 \begin_layout Itemize
3614 dead keys exceptions
3617 \begin_layout Standard
3618 To define key-to-key or key-to-string translation, use this command:
3621 \begin_layout Quotation
3622 \begin_inset Flex Code
3625 \begin_layout Plain Layout
3634 \begin_inset Flex Code
3637 \begin_layout Plain Layout
3646 \begin_layout Standard
3648 \begin_inset Flex Code
3651 \begin_layout Plain Layout
3657 is the key to be translated and
3658 \begin_inset Flex Code
3661 \begin_layout Plain Layout
3667 is the string to be inserted into the document.
3668 To define dead keys, use:
3671 \begin_layout Quotation
3672 \begin_inset Flex Code
3675 \begin_layout Plain Layout
3684 \begin_inset Flex Code
3687 \begin_layout Plain Layout
3696 \begin_layout Standard
3698 \begin_inset Flex Code
3701 \begin_layout Plain Layout
3707 is a keyboard key and
3708 \begin_inset Flex Code
3711 \begin_layout Plain Layout
3718 The following dead keys are supported (shortcut name is in parentheses):
3721 \begin_layout Quotation
3725 \begin_inset space \hfill{}
3731 \begin_layout Quotation
3733 \begin_inset space \hfill{}
3739 \begin_layout Quotation
3741 \begin_inset space \hfill{}
3747 \begin_layout Quotation
3749 \begin_inset space \hfill{}
3755 \begin_layout Quotation
3757 \begin_inset space \hfill{}
3763 \begin_layout Quotation
3765 \begin_inset space \hfill{}
3772 \begin_layout Plain Layout
3784 \begin_layout Quotation
3786 \begin_inset space \hfill{}
3792 \begin_layout Quotation
3794 \begin_inset space \hfill{}
3801 \begin_layout Plain Layout
3813 \begin_layout Quotation
3815 \begin_inset space \hfill{}
3821 \begin_layout Quotation
3823 \begin_inset space \hfill{}
3829 \begin_layout Quotation
3831 \begin_inset space \hfill{}
3838 \begin_layout Plain Layout
3850 \begin_layout Quotation
3852 \begin_inset space \hfill{}
3859 \begin_layout Plain Layout
3871 \begin_layout Quotation
3873 \begin_inset space \hfill{}
3879 \begin_layout Quotation
3880 hungarian umlaut (hug)
3881 \begin_inset space \hfill{}
3887 \begin_layout Quotation
3889 \begin_inset space \hfill{}
3895 \begin_layout Quotation
3897 \begin_inset space \hfill{}
3904 \begin_layout Plain Layout
3916 \begin_layout Standard
3917 Since in many international keyboards there are exceptions to what some
3918 dead keys should do, you can define them using
3921 \begin_layout Quotation
3922 \begin_inset Flex Code
3925 \begin_layout Plain Layout
3933 deadkey key outstring
3936 \begin_layout Standard
3937 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
3941 \begin_layout Quotation
3942 \begin_inset Flex Code
3945 \begin_layout Plain Layout
3958 \begin_layout Standard
3959 to make it work correctly.
3960 Also, you have to define as exceptions dead keys over i and j, to remove
3961 the dot from them before inserting an accent mark.
3962 I will change this when the time comes, but so far I haven't had time.
3965 \begin_layout Standard
3966 Oh, and about characters: backslash is escaped, so to enter it, you'll need
3969 \begin_inset Flex Code
3972 \begin_layout Plain Layout
3978 have different meaning.
3980 \begin_inset Flex Code
3983 \begin_layout Plain Layout
3989 marks comments, quotes start and end \SpecialChar LaTeX
3991 To enter quote, you'll need to use
3992 \begin_inset Flex Code
3995 \begin_layout Plain Layout
4004 \begin_inset Flex Code
4007 \begin_layout Plain Layout
4014 \begin_inset Flex Code
4017 \begin_layout Plain Layout
4028 \begin_layout Standard
4029 If you make a keyboard description file that works for your language, please
4030 mail it to me, so I can include it in the next keymap distribution.
4033 \begin_layout Standard
4034 More keywords will be supported in keymap configuration file in future,
4038 \begin_layout Itemize
4039 \begin_inset Flex Code
4042 \begin_layout Plain Layout
4053 \begin_inset space \hfill{}
4057 \begin_inset Flex Code
4060 \begin_layout Plain Layout
4069 \begin_layout Itemize
4070 \begin_inset Flex Code
4073 \begin_layout Plain Layout
4084 \begin_inset space \hfill{}
4088 \begin_inset Flex Code
4091 \begin_layout Plain Layout
4097 an external keymap translation program
4100 \begin_layout Standard
4101 Also, it should look into
4102 \begin_inset Flex Code
4105 \begin_layout Plain Layout
4111 file for defaults, too (for example, a
4112 \begin_inset Flex Code
4115 \begin_layout Plain Layout
4123 option to include default keyboard).
4131 \begin_layout Section
4132 \begin_inset CommandInset label
4138 Cosas sobre teclados internacionales
4141 \begin_layout Standard
4142 \begin_inset Note Note
4145 \begin_layout Plain Layout
4146 Al revisar este documento en marzo de 2008, no examiné este asunto porque
4148 Sería bueno que alguien pudiera hacerlo.
4157 \begin_layout Standard
4158 Las dos secciones siguientes describen con detalle la sintaxis de los archivos
4160 \begin_inset Flex Code
4163 \begin_layout Plain Layout
4172 \begin_inset Flex Code
4175 \begin_layout Plain Layout
4184 Deberían servir de ayuda para diseñar tus propios mapas de teclado si los
4185 suministrados no satisfacen tus necesidades.
4188 \begin_layout Subsection
4192 \begin_layout Standard
4194 \begin_inset Flex Code
4197 \begin_layout Plain Layout
4203 asocia pulsaciones de teclas con caracteres o secuencias de ellos.
4204 Como sugiere el nombre, sirve para trazar un mapa del teclado.
4205 En esta sección se describen las palabras clave
4206 \begin_inset Flex Code
4209 \begin_layout Plain Layout
4218 \begin_inset Flex Code
4221 \begin_layout Plain Layout
4230 \begin_inset Flex Code
4233 \begin_layout Plain Layout
4242 \begin_inset Flex Code
4245 \begin_layout Plain Layout
4254 \begin_inset Flex Code
4257 \begin_layout Plain Layout
4266 \begin_layout Labeling
4267 \labelwidthstring 00.00.0000
4268 \begin_inset Flex Code
4271 \begin_layout Plain Layout
4279 Asocia un carácter a una cadena
4282 \begin_layout LyX-Code
4297 \begin_layout Standard
4311 , la doble comilla (") y la barra invertida (
4313 ) deben escaparse con una barra (
4318 \begin_layout Standard
4319 Un ejemplo de una declaración de
4320 \begin_inset Flex Noun
4323 \begin_layout Plain Layout
4331 para hacer que el símbolo
4332 \begin_inset Flex Noun
4335 \begin_layout Plain Layout
4343 sea generado por la tecla
4344 \begin_inset Flex Noun
4347 \begin_layout Plain Layout
4358 \begin_layout LyX-Code
4364 \begin_layout Labeling
4365 \labelwidthstring 00.00.0000
4366 \begin_inset Flex Code
4369 \begin_layout Plain Layout
4377 Especifica un carácter acentuado
4380 \begin_layout LyX-Code
4389 \begin_layout Standard
4390 Esto hará que el carácter
4398 sobre el(los) carácter(es) permitido(s)
4403 Este es el mecanismo de tecla muerta
4407 \begin_layout Plain Layout
4417 se refiere a una tecla que no genera ningún carácter por sí mismo, pero
4418 seguida de otra tecla genera el carácter acentuado deseado.
4419 Por ejemplo, un caráter con diéresis, ü, se genera de esta manera.
4428 \begin_layout Standard
4433 y después una tecla que no está entre las permitidas (
4437 ), en la salida obtendrás el carácter
4441 seguido por el otro carácter, el no permitido.
4442 Hay que tener en cuenta que
4443 \begin_inset Flex Noun
4446 \begin_layout Plain Layout
4454 cancela una tecla muerta, de modo que si pulsas
4459 \begin_inset Flex Noun
4462 \begin_layout Plain Layout
4470 , el cursor no retrocede una posición sino que anula el efecto que
4474 hubiera tenido sobre la siguiente pulsación.
4477 \begin_layout Standard
4478 En el ejemplo siguiente, el carácter ' va a generar un acento agudo permitido
4479 sobre los caracteres a, e, i, o, u, A, E, I, O, U:
4482 \begin_layout LyX-Code
4485 kmod ' acute aeiouAEIOU
4488 \begin_layout Labeling
4489 \labelwidthstring 00.00.0000
4490 \begin_inset Flex Code
4493 \begin_layout Plain Layout
4499 Especifica una excepción para el carácter acentuado
4502 \begin_layout LyX-Code
4511 \begin_layout Standard
4512 Define una excepción para el
4525 debe haber sido asignado a una pulsación con una declaración previa de
4527 \begin_inset Flex Code
4530 \begin_layout Plain Layout
4546 no debe estar en el conjunto
4555 Si tecleas la secuencia
4564 Si dicha declaración no existe en el archivo
4565 \begin_inset Flex Code
4568 \begin_layout Plain Layout
4588 es el primer argumento de la declaración
4589 \begin_inset Flex Code
4592 \begin_layout Plain Layout
4605 \begin_layout Standard
4606 El comando siguiente generará äi cuando teclees agudo-i ('i):
4609 \begin_layout LyX-Code
4623 \begin_layout Labeling
4624 \labelwidthstring 00.00.0000
4625 \begin_inset Flex Code
4628 \begin_layout Plain Layout
4634 Combina dos caracteres acentos
4637 \begin_layout LyX-Code
4643 accent1 accent2 allowed
4646 \begin_layout Standard
4647 Esto es bastante esotérico.
4648 Permite combinar el efecto de
4656 (¡en ese orden!) sobre los caracteres permitidos
4669 deben haber sido declaradas con un comando
4670 \begin_inset Flex Code
4673 \begin_layout Plain Layout
4691 \begin_layout Standard
4692 Considera este ejemplo del archivo
4693 \begin_inset Flex Code
4696 \begin_layout Plain Layout
4707 \begin_layout LyX-Code
4710 kmod ; acute aeioyvhAEIOYVH
4714 kcomb acute umlaut iyIY
4717 \begin_layout Standard
4719 \begin_inset Flex Noun
4722 \begin_layout Plain Layout
4730 y obtener el efecto de
4731 \begin_inset Flex Code
4734 \begin_layout Plain Layout
4747 En este caso un retroceso cancela la última tecla muerta, así que si tecleas
4749 \begin_inset Flex Noun
4752 \begin_layout Plain Layout
4761 \begin_inset Flex Code
4764 \begin_layout Plain Layout
4777 \begin_layout Subsection
4781 \begin_layout Standard
4782 Después de realizados el mapa
4783 \begin_inset Flex Code
4786 \begin_layout Plain Layout
4795 \begin_inset Flex Code
4798 \begin_layout Plain Layout
4808 traza el mapa de las cadenas que los símbolos generan para los caracteres
4809 en la tipografía actual.
4810 La distribución de \SpecialChar LyX
4811 actualmente incluye al menos los archivos
4812 \begin_inset Flex Code
4815 \begin_layout Plain Layout
4824 \begin_inset Flex Code
4827 \begin_layout Plain Layout
4838 \begin_layout Standard
4839 En general el archivo
4840 \begin_inset Flex Code
4843 \begin_layout Plain Layout
4851 es una secuencia de declaraciones de la forma:
4854 \begin_layout LyX-Code
4867 \begin_layout Standard
4868 Por ejemplo, para asociar
4869 \begin_inset Flex Noun
4872 \begin_layout Plain Layout
4882 al correspondiente carácter en el conjunto iso-8859-1 (233), se usa:
4885 \begin_layout LyX-Code
4893 \begin_layout Standard
4895 \begin_inset Flex Code
4898 \begin_layout Plain Layout
4907 \begin_inset Flex Code
4910 \begin_layout Plain Layout
4921 Anotar que el mismo carácter puede aplicarse a más de una cadena.
4923 \begin_inset Flex Code
4926 \begin_layout Plain Layout
4937 \begin_layout LyX-Code
4949 \begin_inset Newline newline
4965 \begin_layout Standard
4967 no puede encontrar una declaración para la cadena por una tecla o una
4968 secuencia con tecla muerta, intentará si aparece como un carácter acentuado
4969 y probará a dibujar un acento sobre el carácter en la pantalla.
4972 \begin_layout Subsection
4976 \begin_layout Standard
4977 Hay una segunda manera de añadir soporte para caracteres internacionales
4978 mediante las denominadas teclas muertas.
4979 Una tecla muerta trabaja en combinación con una letra para generar un carácter
4981 Aquí explicaremos como crear una sencillísima tecla muerta para ilustrar
4985 \begin_layout Standard
4986 Supongamos que necesitas el carácter circunflejo
4987 \begin_inset Quotes cld
4991 \begin_inset Quotes crd
4995 Podrías asociar la tecla
4996 \begin_inset Flex Noun
4999 \begin_layout Plain Layout
5006 \begin_inset Flex Noun
5009 \begin_layout Plain Layout
5015 ) al comando \SpecialChar LyX
5017 \begin_inset Flex Code
5020 \begin_layout Plain Layout
5027 \begin_inset Flex Code
5030 \begin_layout Plain Layout
5037 Ahora, cuando pulses la tecla
5038 \begin_inset Flex Noun
5041 \begin_layout Plain Layout
5047 seguida de una letra, obtendrás esa letra con circunflejo sobre ella.
5048 Por ejemplo, la secuencia
5049 \begin_inset Quotes cld
5053 \begin_inset Flex Noun
5056 \begin_layout Plain Layout
5063 \begin_inset Quotes crd
5067 \begin_inset Quotes cld
5071 \begin_inset Quotes crd
5076 \begin_inset Quotes cld
5080 \begin_inset Flex Code
5083 \begin_layout Plain Layout
5090 \begin_inset Quotes crd
5093 , sin embargo, \SpecialChar LyX
5094 no imprime nada puesto que
5095 \begin_inset Flex Noun
5098 \begin_layout Plain Layout
5104 nunca lleva un circunflejo.
5106 \begin_inset Flex Noun
5109 \begin_layout Plain Layout
5115 tras una tecla muerta imprime el acento solo.
5116 ¡Advierte este último punto! Si asocias una tecla a una tecla muerta necesitará
5117 s reasociar el carácter de esa tecla a otra tecla.
5119 \begin_inset Flex Noun
5122 \begin_layout Plain Layout
5128 a una cedilla es una mala idea, puesto que solo obtendrás cedillas en lugar
5132 \begin_layout Standard
5133 Una forma habitual de asociar teclas muertas es usar
5134 \begin_inset Flex Noun
5137 \begin_layout Plain Layout
5144 \begin_inset Flex Noun
5147 \begin_layout Plain Layout
5154 \begin_inset Flex Noun
5157 \begin_layout Plain Layout
5163 en combinación con un acento, como
5164 \begin_inset Quotes cld
5168 \begin_inset Flex Noun
5171 \begin_layout Plain Layout
5178 \begin_inset Quotes crd
5182 \begin_inset Quotes cld
5186 \begin_inset Flex Noun
5189 \begin_layout Plain Layout
5196 \begin_inset Quotes crd
5200 \begin_inset Quotes cld
5204 \begin_inset Flex Noun
5207 \begin_layout Plain Layout
5214 \begin_inset Quotes crd
5218 Otra forma incluye el uso de
5219 \begin_inset Flex Code
5222 \begin_layout Plain Layout
5229 \begin_inset Flex Code
5232 \begin_layout Plain Layout
5238 para configurar la tecla especial
5239 \begin_inset Flex Code
5242 \begin_layout Plain Layout
5249 Esta tecla actúa de alguna forma como
5250 \begin_inset Flex Noun
5253 \begin_layout Plain Layout
5259 y permite teclas a caracteres acentuados.
5260 También puedes transformar teclas en muertas asociándolas a algo como
5261 \begin_inset Flex Code
5264 \begin_layout Plain Layout
5270 y después asociando esta tecla simbólica al correspondiente comando \SpecialChar LyX
5275 \begin_layout Plain Layout
5280 : Esto es exactamente lo que hago en mis archivos
5281 \begin_inset Flex Code
5284 \begin_layout Plain Layout
5291 \begin_inset Flex Code
5294 \begin_layout Plain Layout
5302 \begin_inset Flex Noun
5305 \begin_layout Plain Layout
5307 \begin_inset space ~
5316 \begin_inset Flex Code
5319 \begin_layout Plain Layout
5325 y unas cuantas de estas teclas simbólicas
5326 \begin_inset Quotes cld
5330 \begin_inset Flex Code
5333 \begin_layout Plain Layout
5340 \begin_inset Quotes crd
5343 asociadas a cosas como
5344 \begin_inset Flex Noun
5347 \begin_layout Plain Layout
5349 \begin_inset space ~
5358 \begin_inset Flex Noun
5361 \begin_layout Plain Layout
5363 \begin_inset space ~
5372 Así es como genero mis caracteres acentuados.
5377 Puedes hacer casi cualquier cosa con la tecla
5378 \begin_inset Flex Code
5381 \begin_layout Plain Layout
5388 \begin_inset Flex Noun
5391 \begin_layout Plain Layout
5397 , una tecla de función de reserva, etc.
5398 En cuanto a los comandos \SpecialChar LyX
5399 que generan acentos, consulta la entrada para
5401 \begin_inset Flex Code
5404 \begin_layout Plain Layout
5415 Ahí encontrarás la lista completa.
5418 \begin_layout Subsection
5419 Guardar la configuración de idioma
5422 \begin_layout Standard
5423 Puedes editar tus preferencias para que el entorno de idioma adecuado sea
5424 automáticamente configurado al iniciar \SpecialChar LyX
5426 \begin_inset Flex Noun
5429 \begin_layout Plain Layout
5430 Herramientas\SpecialChar menuseparator
5439 \begin_layout Chapter
5440 Instalación de nuevas clases de documento, formatos y plantillas
5441 \begin_inset CommandInset label
5443 name "cap:Instalación-de-nuevas"
5448 \begin_inset Argument 1
5451 \begin_layout Plain Layout
5452 Instalación de clases, formatos \SpecialChar ldots
5461 \begin_layout Standard
5462 En este capítulo describimos los procedimientos para crear e instalar nuevos
5463 archivos de plantillas y formatos de \SpecialChar LyX
5464 , así como repasar la instalación
5465 correcta de nuevas clases de documentos \SpecialChar LaTeX
5469 \begin_layout Standard
5470 En primer lugar, permite que digamos algo sobre la relación entre \SpecialChar LyX
5471 y \SpecialChar LaTeX
5473 Lo que hay que entender es que, en cierto sentido, \SpecialChar LyX
5474 no sabe nada de \SpecialChar LaTeX
5476 Desde el punto de vista de \SpecialChar LyX
5477 , \SpecialChar LaTeX
5478 solo es uno más de los varios
5479 \begin_inset Quotes cld
5483 \begin_inset Quotes crd
5486 en los que es capaz de generar salida.
5487 Otros son DocBook, texto sencillo y XHTML.
5489 es, por supuesto, un formato particularmente importante, pero muy poca
5490 de la información que \SpecialChar LyX
5491 tiene sobre \SpecialChar LaTeX
5492 está realmente contenida en el propio
5497 \begin_layout Plain Layout
5498 Algunos comandos son lo bastante complejos como para ser incluidos en el
5499 código de \SpecialChar LyX
5501 Pero en general los desarrolladores consideran esto una mala cosa.
5507 Esa información, incluso para las clases estándar como
5511 , está almacenada en 'archivos de formato (
5516 De igual manera \SpecialChar LyX
5517 no sabe gran cosa sobre DocBook o XHTML.
5518 Esa información está en los archivos de formato.
5521 \begin_layout Standard
5522 El archivo de formato para una determinada clase de documento se puede considera
5523 r como un manual de instrucciones para traducir las estructuras de \SpecialChar LyX
5525 y sus estilos, ciertos tipos de recuadros, etc.— a las estructuras correspondien
5526 tes de \SpecialChar LaTeX
5528 Por ejemplo, casi todo lo que \SpecialChar LyX
5530 \begin_inset Flex Code
5533 \begin_layout Plain Layout
5539 está contenido en el archivo
5540 \begin_inset Flex Code
5543 \begin_layout Plain Layout
5549 y en otros archivos incluidos en este.
5550 Por esta razón, quien intente escribir archivos de formato debería empezar
5551 por estudiar los archivos existentes.
5552 Un buen sitio para empezar es
5553 \begin_inset Flex Code
5556 \begin_layout Plain Layout
5562 , que está incluido en
5563 \begin_inset Flex Code
5566 \begin_layout Plain Layout
5573 \begin_inset Flex Code
5576 \begin_layout Plain Layout
5582 y muchos otros archivos de formato para clases de documento.
5583 En este archivo se definen las secciones y demás:
5584 \begin_inset Flex Code
5587 \begin_layout Plain Layout
5593 indica a \SpecialChar LyX
5594 como traducir los párrafos con estilos como Sección, Subsección,
5595 etc., a los comandos y etiquetas correspondientes en \SpecialChar LaTeX
5598 \begin_inset Flex Code
5601 \begin_layout Plain Layout
5607 solo incluye, básicamente, varios de estos archivos
5608 \begin_inset Flex Code
5611 \begin_layout Plain Layout
5620 \begin_layout Standard
5621 Pero definir la correspondencia \SpecialChar LyX
5623 no es lo único que hacen los archivos
5625 Su otra tarea es definir cómo aparecerán en pantalla las estructuras de
5628 El hecho de que los archivos de formato tengan estas dos tareas es a veces
5629 fuente de confusión, porque son totalmente independientes.
5630 Indicar a \SpecialChar LyX
5631 cómo traducir cierto estilo de párrafo a \SpecialChar LaTeX
5632 no le dice cómo mostrarlo
5633 en pantalla; a la inversa, indicar cómo mostrar en pantalla un estilo de
5634 párrafo no tiene nada que ver con su traducción a \SpecialChar LaTeX
5635 (solo permite indicar
5636 a \SpecialChar LaTeX
5638 Así pues, en general, cuando defines una nueva construcción en \SpecialChar LyX
5640 tienes que hacer dos cosas: 1) indicar la traducción a \SpecialChar LaTeX
5642 presentación en pantalla.
5645 \begin_layout Standard
5646 Gran parte de lo dicho es cierto, también, en relación con otros formatos
5647 de salida, aunque XHTML es un poco diferente porque en este caso \SpecialChar LyX
5652 , en cierta medida, de usar la información de la presentación de un párrafo
5653 en pantalla para generar la presentación (en forma de CSS) del párrafo
5655 Incluso en este caso, no obstante, la distinción entre lo que hace \SpecialChar LyX
5657 e y la forma en que las cosas se muestran externamente sigue en vigor, y
5658 ambas se pueden controlar separadamente.
5660 \begin_inset CommandInset ref
5662 reference "sec:Etiquetas-para-XHTML"
5669 \begin_layout Section
5670 Instalación de nuevos archivos \SpecialChar LaTeX
5674 \begin_layout Standard
5675 Algunas instalaciones quizá no incluyan un paquete \SpecialChar LaTeX
5676 que te gustaría usar
5679 Por ejemplo, podrías necesitar Foil\SpecialChar TeX
5680 , un paquete para preparar transparencias
5681 o diapositivas para proyectores.
5682 Las modernas distribuciones de \SpecialChar LaTeX
5683 como \SpecialChar TeX
5684 Live (2008 o posterior) o MiK\SpecialChar TeX
5686 una interfaz de usuario para eso.
5687 Por ejemplo, en MiK\SpecialChar TeX
5689 \begin_inset Quotes cld
5692 Administrador de paquetes
5693 \begin_inset Quotes crd
5696 para obtener una lista de los disponibles.
5697 Para instalar uno, haz clic derecho sobre él o usa el botón de la herramienta
5701 \begin_layout Standard
5702 Si tu distribución \SpecialChar LaTeX
5704 \begin_inset Quotes cld
5707 administrador de paquetes
5708 \begin_inset Quotes crd
5711 , o si el paquete no está disponible en ella, sigue los siguientes pasos
5712 para instalarlo manualmente:
5715 \begin_layout Enumerate
5716 Consigue el paquete de
5717 \begin_inset CommandInset href
5720 target "http://www.ctan.org/"
5728 \begin_layout Enumerate
5729 Si el paquete contiene un archivo con la extensión
5730 \begin_inset Quotes cld
5734 \begin_inset Flex Code
5737 \begin_layout Plain Layout
5744 \begin_inset Quotes crd
5747 (es el caso de Foil\SpecialChar TeX
5748 ) abre una consola, cambia a la carpeta del archivo
5749 y ejecuta el comando
5750 \begin_inset Flex Code
5753 \begin_layout Plain Layout
5760 Así desempaquetamos y disponemos de todos los archivos para instalar.
5761 La mayoría de paquetes \SpecialChar LaTeX
5762 no están empaquetados y podemos saltar este paso.
5765 \begin_layout Enumerate
5766 Tienes que decidir si el paquete estará disponible para todos los usuarios
5771 \begin_layout Enumerate
5772 En sistemas *nix (Linux, OSX, etc.), si el paquete va estar disponible para
5773 todos los usuarios del sistema, hay que instalarlo en el árbol 'local'
5775 , de lo contrario instálalo en tu directorio \SpecialChar TeX
5777 La ubicación de estos árboles, si no existen ya, depende del sistema.
5778 Para encontrarlos mira en el archivo
5779 \begin_inset Flex Code
5782 \begin_layout Plain Layout
5792 \begin_layout Plain Layout
5793 Usualmente es el directorio
5797 , aunque se puede ejecutar el comando
5798 \begin_inset Flex Code
5801 \begin_layout Plain Layout
5812 La ubicación del árbol `local' de \SpecialChar TeX
5813 está definida por la variable
5814 \begin_inset Flex Code
5817 \begin_layout Plain Layout
5823 ; generalmente algo como
5825 /usr/local/share/texmf/
5827 o /usr/local/texlive/XXXX donde XXXX es el año de la distribución \SpecialChar TeX
5830 La ubicación del árbol `user' de \SpecialChar TeX
5832 \begin_inset Flex Code
5835 \begin_layout Plain Layout
5846 \begin_inset Flex Code
5849 \begin_layout Plain Layout
5858 (Si estas variables no están predefinidas, debes hacerlo.) Probablemente
5859 necesites permiso de administrador para crear o modificar el árbol `local',
5860 pero no para el árbol `user'.
5861 \begin_inset Newline newline
5864 En general, es recomendable instalar en el árbol `user' porque no será modificad
5865 o o sobrescrito al actualizar el sistema.
5866 Además, se guardará copia de él cuando hagas copia de seguridad de tu directori
5867 o `home' (que debe ser lo habitual).
5870 \begin_layout Enumerate
5871 En Windows, para que el nuevo paquete esté disponible a todos los usuarios,
5872 cambia a la carpeta donde está instalado \SpecialChar LaTeX
5881 , (En MiK\SpecialChar TeX
5895 ) crea una nueva carpeta
5896 \begin_inset Flex Code
5899 \begin_layout Plain Layout
5905 y copia en ella todos los archivos del paquete.
5906 Para hacer el paquete disponible solo a un usuario o si no dispones de
5907 permisos, haz lo mismo pero en el directorio de \SpecialChar LaTeX
5909 \begin_inset space \thinspace{}
5912 ej., en MiK\SpecialChar TeX
5914 \begin_inset space ~
5918 \begin_inset Newline newline
5925 Documents and Settings
5932 \begin_inset Newline newline
5936 \begin_inset Phantom HPhantom
5939 \begin_layout Plain Layout
5957 \begin_inset Newline newline
5961 \begin_inset Newline newline
5989 \begin_layout Enumerate
5990 Ahora hay que decir a \SpecialChar LaTeX
5991 que hay archivos nuevos.
5992 Esto depende de la distribución de \SpecialChar LaTeX
5997 \begin_layout Enumerate
5998 Para \SpecialChar TeX
5999 Live ejecuta el comando
6000 \begin_inset Flex Code
6003 \begin_layout Plain Layout
6010 Si el paquete se instaló para todos los usuarios harán falta permisos de
6014 \begin_layout Enumerate
6015 Para MiK\SpecialChar TeX
6016 , si el paquete se instaló para todos los usuarios, inicia el programa
6018 \begin_inset Quotes eld
6022 \begin_inset space ~
6026 \begin_inset Quotes erd
6030 \begin_inset Quotes eld
6034 \begin_inset Quotes erd
6038 Si no, inicia el programa
6039 \begin_inset Quotes eld
6043 \begin_inset Quotes erd
6050 \begin_layout Enumerate
6051 Finalmente, hay que decir a \SpecialChar LyX
6052 que hay nuevos paquetes disponibles.
6054 \begin_inset Flex Noun
6057 \begin_layout Plain Layout
6058 Herramientas\SpecialChar menuseparator
6064 y reinicia \SpecialChar LyX
6068 \begin_layout Standard
6069 Ya está instalado el paquete.
6070 En nuestro ejemplo, la clase de documento
6071 \begin_inset Flex Code
6074 \begin_layout Plain Layout
6076 \begin_inset space ~
6084 estará ahora disponible en
6085 \begin_inset Flex Noun
6088 \begin_layout Plain Layout
6089 Documento\SpecialChar menuseparator
6090 Configuración\SpecialChar menuseparator
6092 \begin_inset space ~
6096 \begin_inset space ~
6108 \begin_layout Standard
6109 Si quieres usar una clase de documento \SpecialChar LaTeX
6110 que no aparece listada en
6111 \begin_inset Flex Noun
6114 \begin_layout Plain Layout
6115 Documento\SpecialChar menuseparator
6116 Configuración\SpecialChar menuseparator
6118 \begin_inset space ~
6122 \begin_inset space ~
6130 , debes crear un archivo de formato (`layout') para ella.
6131 Este es el tema de la sección siguiente.
6134 \begin_layout Section
6135 Tipos de archivos de formato
6138 \begin_layout Standard
6139 Esta sección describe los diversos tipos de arhivos de \SpecialChar LyX
6140 que contienen informació
6143 \begin_inset Flex Code
6146 \begin_layout Plain Layout
6152 describen estilos de párrafo y de carácter, y determinan cómo los debería
6153 presentar \SpecialChar LyX
6154 y cómo deberían traducirse a \SpecialChar LaTeX
6155 , DocBook, XHTML o cualquier otro
6156 formato de salida que se vaya a usar.
6160 \begin_layout Standard
6161 Intentaremos aquí dar una minuciosa descripción del proceso; sin embargo,
6162 hay tantos tipos diferentes de documentos soportados por clases de \SpecialChar LaTeX
6164 no podemos aspirar a tratar todas las distintas posibilidades o problemas
6165 que puedas encontrar.
6166 La lista de usuarios de \SpecialChar LyX
6167 es frecuentada por gente con mucha experiencia
6168 en el diseño de formatos deseosa de compartir sus conocimientos.
6171 \begin_layout Standard
6172 Cuando te pongas a escribir un nuevo formato, es de gran ayuda echar un
6173 vistazo a los formatos de ejemplo suministrados con \SpecialChar LyX
6175 Si escribes un `layout' de \SpecialChar LyX
6176 para una clase de documento \SpecialChar LaTeX
6178 podría ser útil también a otros, no dudes en compartir tu labor enviándola
6180 \begin_inset CommandInset href
6182 name "sección 'Layouts' en wiki LyX"
6183 target "https://wiki.lyx.org/Layouts/Layouts"
6188 o incluso a la lista de desarrolladores de \SpecialChar LyX
6189 para poderlo incluir en la
6194 \begin_layout Plain Layout
6195 Hay que advertir que \SpecialChar LyX
6196 se acoge a la licencia GPL, por tanto cualquier material
6197 aportado debe tener la misma licencia.
6205 \begin_layout Subsection
6207 \begin_inset CommandInset label
6209 name "subsec:Módulos-de-formato"
6216 \begin_layout Standard
6217 Hemos hablado hasta ahora de `archivos de formato'.
6218 Pero hay distintos tipos de archivos con información sobre formatos.
6219 Estrictamente, los archivos de formato tienen la extensión
6220 \begin_inset Flex Code
6223 \begin_layout Plain Layout
6229 y proporcionan a \SpecialChar LyX
6230 información sobre las clases de documento.
6231 Sin embargo, a partir de \SpecialChar LyX
6232 1.6, esta información puede proporcionarse también
6237 , que tienen la extensión
6238 \begin_inset Flex Code
6241 \begin_layout Plain Layout
6248 Los módulos son a los paquetes \SpecialChar LaTeX
6249 lo que los formatos a las clases \SpecialChar LaTeX
6251 módulos —como el módulo Notas finales— dan soporte específico a un paquete
6252 determinado —en este caso
6253 \begin_inset Flex Code
6256 \begin_layout Plain Layout
6263 En cierto sentido, los módulos de formato son similares a los `archivos
6268 \begin_layout Plain Layout
6269 Estos pueden tener cualquier extensión pero, por convenio, se usa la extensión
6271 \begin_inset Flex Code
6274 \begin_layout Plain Layout
6286 \begin_inset Flex Code
6289 \begin_layout Plain Layout
6295 —, ya que, como estos, los módulos no son específicos para una clase de
6296 documento dada, sino que se pueden usar con muchos formatos diferentes.
6297 La diferencia es que el uso de un archivo incluido con
6298 \begin_inset Flex Code
6301 \begin_layout Plain Layout
6307 requiere editar dicho archivo, mientras que los módulos se seleccionan
6309 \begin_inset Flex Noun
6312 \begin_layout Plain Layout
6313 Documento\SpecialChar menuseparator
6323 \begin_layout Standard
6324 La construcción de módulos es la forma más fácil de iniciarse en la edición
6325 del formato, puesto que puede ser tan sencillo como añadir un nuevo estilo
6326 de párrafo o un recuadro flexible.
6327 No obstante, los módulos pueden, en principio, contener cualquier cosa
6328 que pueda contener un archivo `layout'.
6331 \begin_layout Standard
6332 Después de crear un módulo nuevo y copiarlo en la carpeta
6333 \begin_inset Flex Code
6336 \begin_layout Plain Layout
6342 , tendrás que reconfigurar \SpecialChar LyX
6343 y reiniciar después para que el módulo aparezca
6345 Sin embargo, los cambios que hagas al módulo se verán inmediatamente si
6347 \begin_inset Flex Noun
6350 \begin_layout Plain Layout
6351 Documento\SpecialChar menuseparator
6357 , seleccionas lo que sea y después pulsas
6358 \begin_inset Quotes cld
6362 \begin_inset Quotes crd
6368 Es muy recomendable guardar el trabajo antes de hacer eso.
6373 es muy recomendable no intentar editar los módulos mientras se está trabajando
6374 simultáneamente en un documento
6377 Aunque los desarrolladores, por supuesto, se esfuerzan en mantener la estabilid
6378 ad de \SpecialChar LyX
6379 en estas situaciones, errores sintácticos y similares en el archivo
6380 del módulo podrían causar extraños comportamientos.
6383 \begin_layout Subsubsection
6387 \begin_layout Standard
6388 Los módulos son a \SpecialChar LyX
6389 lo que los paquetes a \SpecialChar LaTeX
6391 Sin embargo, a veces puede suceder que necesites un recuadro específico
6392 o un estilo de carácter solo para un documento, y escribir un módulo que
6393 estará disponible también para otros documentos tiene poco sentido.
6394 En estos casos, lo que necesitas es el
6395 \begin_inset Quotes cld
6399 \begin_inset Quotes crd
6406 \begin_layout Standard
6409 Documento\SpecialChar menuseparator
6410 Configuración\SpecialChar menuseparator
6414 El gran cuadro de texto permite introducir todo lo que podría incluirse
6415 en un archivo de formato o en un módulo.
6416 De hecho, el formato local de un documento se puede considerar como un
6417 módulo que le pertenece solo a él.
6418 Por tanto, en particular, hay que introducir una etiqueta
6419 \begin_inset Flex Code
6422 \begin_layout Plain Layout
6429 Cualquier formato es aceptable, pero debería usarse normalmente el actual
6431 (En \SpecialChar LyX
6432 2.2 el formato actual es 60).
6435 \begin_layout Standard
6436 Una vez introducido algo en el panel
6437 \begin_inset Flex Code
6440 \begin_layout Plain Layout
6448 \begin_inset Quotes cld
6452 \begin_inset Quotes crd
6456 Pulsando ese botón \SpecialChar LyX
6457 determinará si lo introducido es información válida
6458 para el formato elegido.
6460 informará del resultado pero, desafortunadamente, no indicará qué errores
6461 pudiera haber habido.
6462 Sin embargo, si \SpecialChar LyX
6463 se ha arrancado en una terminal se verán ahí los errores.
6464 El formato local no se podrá guardar hasta que se haya introducido algo
6468 \begin_layout Standard
6469 Las advertencias al final de la sección anterior se aplican también aquí.
6470 Es mejor no enredar con formato local mientras se está trabajando, especialment
6471 e si no se ha guardado el documento.
6472 Dicho esto, usar formato local en un documento de prueba puede ser una
6473 forma muy conveniente de probar ideas de formato, o incluso de empezar
6474 a desarrollar un módulo.
6477 \begin_layout Subsection
6478 Formato para archivos
6479 \begin_inset Flex Noun
6482 \begin_layout Plain Layout
6491 \begin_layout Standard
6492 Probablemente te vas a encontrar con dos situaciones a la hora de querer
6493 soportar una nueva clase de documento \SpecialChar LaTeX
6494 , según se trate de archivos de estilo
6496 \begin_inset Flex Code
6499 \begin_layout Plain Layout
6505 ) o de archivos de clases \SpecialChar LaTeX2e
6507 \begin_inset Flex Code
6510 \begin_layout Plain Layout
6517 Dar soporte a un nuevo estilo es bastante fácil.
6518 Dar soporte a una nueva clase es un poco más difícil.
6519 Trataremos el primer caso en esta sección y el otro en la siguiente.
6520 Lo mismo cabe decir, por supuesto, para el soporte de un nuevo DocBook
6524 \begin_layout Standard
6525 El caso más sencillo es aquel en el que la nueva clase de documento se suministr
6526 a como archivo de estilo que se usará conjuntamente con una clase ya soportada.
6527 Para nuestro ejemplo supondremos que el archivo de estilo se llama
6528 \begin_inset Flex Noun
6531 \begin_layout Plain Layout
6537 y que se usará conjuntamente con
6538 \begin_inset Flex Noun
6541 \begin_layout Plain Layout
6547 , que es una clase estándar.
6550 \begin_layout Standard
6551 Empieza por copiar el archivo `layout' existente en tu directorio local:
6555 \begin_layout Plain Layout
6556 Evidentemente, cuál es tu directorio local variará según la plataforma,
6557 y además \SpecialChar LyX
6558 permite especificarlo al inicio usando la opción
6559 \begin_inset Flex Code
6562 \begin_layout Plain Layout
6576 \begin_layout LyX-Code
6577 cp report.layout ~/.lyx/layouts/myclass.layout
6580 \begin_layout Standard
6582 \begin_inset Flex Code
6585 \begin_layout Plain Layout
6594 \begin_layout LyX-Code
6597 DeclareLaTeXClass{report}
6600 \begin_layout Standard
6604 \begin_layout LyX-Code
6607 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
6610 \begin_layout Standard
6614 \begin_layout LyX-Code
6616 \begin_inset Newline newline
6622 \begin_inset Newline newline
6628 \begin_layout Standard
6629 cerca del principio del archivo.
6632 \begin_layout Standard
6633 Inicia \SpecialChar LyX
6635 \begin_inset Flex Noun
6638 \begin_layout Plain Layout
6639 Herramientas\SpecialChar menuseparator
6646 Después reinicia \SpecialChar LyX
6647 y haz una prueba con un documento nuevo.
6649 \begin_inset Flex Noun
6652 \begin_layout Plain Layout
6653 Documento\SpecialChar menuseparator
6660 \begin_inset Quotes cld
6664 \begin_inset Flex Noun
6667 \begin_layout Plain Layout
6674 \begin_inset Quotes crd
6677 en la lista de clases de documento.
6678 Es probable que algunos de los comandos de secciones y demás en tu nueva
6679 clase funcionen de distinta manera a como lo hacen en la clase estándar
6681 \begin_inset Flex Code
6684 \begin_layout Plain Layout
6690 en este ejemplo—, de modo que si quieres, ahora puedes enredar un rato
6691 con los ajustes de las distintas secciones.
6692 La información del formato de las secciones se encuentra en
6693 \begin_inset Flex Code
6696 \begin_layout Plain Layout
6702 , pero no necesitas copiar ni cambiar este archivo.
6703 Simplemente añade tus cambios a tu archivo `layout' después de la línea
6705 \begin_inset Flex Code
6708 \begin_layout Plain Layout
6715 \begin_inset Flex Code
6718 \begin_layout Plain Layout
6725 Por ejemplo, podrías añadir estas líneas:
6728 \begin_layout LyX-Code
6732 \begin_layout LyX-Code
6736 \begin_layout LyX-Code
6740 \begin_layout LyX-Code
6744 \begin_layout LyX-Code
6748 \begin_layout Standard
6749 para cambiar la tipografía de los encabezados de capítulo a sans-serif.
6750 Esto sobrescribirá (o, en este caso, añadirá) la declaración para el estilo
6755 \begin_layout Standard
6756 Tu nuevo paquete puede proporcionar además comandos o entornos no presentes
6758 En este caso, los añadirás al archivo `layout'.
6760 \begin_inset space ~
6764 \begin_inset CommandInset ref
6766 reference "sec:Estructura-del-archivo-layout"
6770 para información sobre cómo hacerlo.
6773 \begin_layout Standard
6775 \begin_inset Flex Noun
6778 \begin_layout Plain Layout
6784 se puede usar con diferentes clases de documento, e incluso si no es así,
6785 lo más sencillo sería escribir un módulo que puedes cargar con la clase
6787 El módulo más simple posible podría ser:
6790 \begin_layout LyX-Code
6793 DeclareLyXModule{My Package}
6796 \begin_layout LyX-Code
6800 \begin_layout LyX-Code
6801 #Support for mypkg.sty.
6804 \begin_layout LyX-Code
6806 \begin_inset Newline newline
6812 \begin_layout LyX-Code
6814 \begin_inset Newline newline
6820 \begin_layout LyX-Code
6822 \begin_inset Newline newline
6828 \begin_inset Newline newline
6834 \begin_layout Standard
6835 Un módulo más complejo podría modificar el comportamiento de alguna estructura
6836 ya existente o definir algunas nuevas.
6837 De nuevo te remitimos a sección
6838 \begin_inset space ~
6842 \begin_inset CommandInset ref
6844 reference "sec:Estructura-del-archivo-layout"
6851 \begin_layout Subsection
6852 Formato para archivos
6853 \begin_inset Flex Noun
6856 \begin_layout Plain Layout
6865 \begin_layout Standard
6866 En este caso hay dos opciones.
6867 Una, que el archivo de clase esté él mismo basado en una clase de documento
6869 Por ejemplo, muchas clases de tesis están basadas en
6870 \begin_inset Flex Noun
6873 \begin_layout Plain Layout
6880 Para ver si el tuyo lo está, busca una línea parecida a
6883 \begin_layout LyX-Code
6889 \begin_layout Standard
6891 Si está, entonces puedes proceder en gran parte como en la sección anterior,
6892 aunque la línea Declare\SpecialChar LaTeX
6893 Class será diferente.
6894 Si tu nueva clase es tesis y está basada en book, la línea debería poner:
6898 \begin_layout Plain Layout
6899 Y será mucho más fácil si guardas el archivo como
6900 \begin_inset Flex Code
6903 \begin_layout Plain Layout
6910 supone que la clase de documento tiene el mismo nombre que el archivo
6920 \begin_layout LyX-Code
6923 DeclareLaTeXClass[thesis,book]{thesis}
6926 \begin_layout Standard
6927 Si, por el contrario, la nueva clase no está basada en una ya existente,
6928 probablemente tendrás que ir pensando en tu propio formato.
6929 Recomendamos firmemente copiar un archivo de formato existente que use
6930 una clase de \SpecialChar LaTeX
6931 parecida y modificarlo, si es posible.
6932 O al menos, usa un archivo existente como punto de partida para ver qué
6933 items son los que te deben preocupar.
6934 Los detalles se discuten a continuación.
6937 \begin_layout Subsection
6938 Creación de plantillas
6939 \begin_inset CommandInset label
6941 name "subsec:Creación-de-plantillas"
6948 \begin_layout Standard
6949 Una vez escrito un archivo de formato para una clase nueva de documento,
6950 podrías pensar en escribir además una
6955 Una plantilla funciona como una especie de tutorial para tu formato, mostrando
6956 cómo podría usarse, aunque sea con contenido irrelevante.
6957 Naturalmente, puedes echar un vistazo a las plantillas incluidas en \SpecialChar LyX
6962 \begin_layout Standard
6963 Las plantillas se crean exactamente igual que un documento normal: usando
6966 La única diferencia es que los documentos corrientes tienen todos los ajustes
6967 posibles, incluso el esquema de tipografías y el tamaño del papel.
6968 Generalmente, un usuario no desea que una plantilla sobrescriba sus ajustes
6969 preferidos para dichos parámetros.
6970 Por esta razón, el diseñador de una plantilla debería quitar comandos como
6972 \begin_inset Flex Code
6975 \begin_layout Plain Layout
6984 \begin_inset Flex Code
6987 \begin_layout Plain Layout
6995 de los archivos de plantillas de \SpecialChar LyX
6997 Esto se puede hacer con cualquier editor de texto sencillo, por ejemplo
6999 \begin_inset Flex Code
7002 \begin_layout Plain Layout
7009 \begin_inset Flex Code
7012 \begin_layout Plain Layout
7022 \begin_layout Standard
7023 Los archivos editados de plantillas que has creado se ubican en
7024 \begin_inset Flex Code
7027 \begin_layout Plain Layout
7033 , copia los que uses del directorio global de plantillas en
7034 \begin_inset Flex Code
7037 \begin_layout Plain Layout
7044 al mismo sitio y redefine la ruta a las plantillas en el diálogo
7045 \begin_inset Flex Noun
7048 \begin_layout Plain Layout
7049 Herramientas\SpecialChar menuseparator
7050 Preferencias\SpecialChar menuseparator
7059 \begin_layout Standard
7060 De paso advertiremos que hay una plantilla,
7061 \begin_inset Flex Code
7064 \begin_layout Plain Layout
7070 , que tiene un papel especial: esta plantilla se carga cada vez que abres
7071 un documento nuevo con
7072 \begin_inset Flex Noun
7075 \begin_layout Plain Layout
7076 Archivo\SpecialChar menuseparator
7082 , con el fin de proporcionar ajustes predeterminados por omisión.
7083 Para (re)crear esta plantilla desde dentro de \SpecialChar LyX
7084 , lo que debes hacer es abrir
7085 un documento, establecer los ajustes deseados y usar el botón
7086 \begin_inset Flex Noun
7089 \begin_layout Plain Layout
7090 Guardar como predeterminados
7098 \begin_layout Subsection
7099 Actualización de antiguos archivos de formato
7102 \begin_layout Standard
7103 El formato de los archivos de formato cambia con cada nueva versión de \SpecialChar LyX
7105 de modo que los antiguos archivos de formato deben ser convertidos.
7107 lee un archivo de formato con formato antiguo lanzará la herramienta
7109 \begin_inset Flex Code
7112 \begin_layout Plain Layout
7118 , que lo convierte a un archivo temporal con el formato actual.
7119 El archivo original se deja sin tocar.
7120 Si lo usas a menudo y lo quieres convertir permanentemente para evitar
7121 que \SpecialChar LyX
7122 tenga que hacerlo cada vez, ejecuta el convertidor a mano:
7125 \begin_layout Enumerate
7127 \begin_inset Flex Code
7130 \begin_layout Plain Layout
7137 \begin_inset Flex Code
7140 \begin_layout Plain Layout
7149 \begin_layout Enumerate
7151 \begin_inset Newline newline
7155 \begin_inset Flex Code
7158 \begin_layout Plain Layout
7159 python \SpecialChar LyX
7160 Dir/scripts/layout2layout.py myclass.old myclass.layout
7166 \begin_inset Newline newline
7170 \begin_inset Flex Code
7173 \begin_layout Plain Layout
7180 es el nombre de tu directorio \SpecialChar LyX
7184 \begin_layout Standard
7185 La conversión manual no puede manejar archivos incluidos, así que estos
7186 tendrán que convertirse separadamente.
7189 \begin_layout Subsection
7192 \begin_inset CommandInset label
7194 name "subsec:Cite-Engine-Files"
7201 \begin_layout Standard
7204 A specific form of layout files are the so-called
7205 \begin_inset Flex Code
7208 \begin_layout Plain Layout
7216 files that are located in the
7217 \begin_inset Flex Code
7220 \begin_layout Plain Layout
7229 Their purpose is to define the specifics of \SpecialChar LaTeX
7230 packages aimed at bibliography
7243 , but also the way how normal Bib\SpecialChar TeX
7244 citations (without additional packages)
7245 are handled in \SpecialChar LyX
7246 is defined in such a file.
7250 \begin_layout Standard
7253 More specifically, it is defined which packages \SpecialChar LyX
7254 needs to load, which citation
7255 commands are available, how these are to be displayed in \SpecialChar LyX
7257 the dialogs, the context menus) as well as in the XHTML and plain text
7259 Furthermore, the files specify available style variants (author-year, numerical
7260 , etc.) and their specifics.
7261 The cite engine files are also used to generate the options that are available
7264 Document\SpecialChar menuseparator
7265 Settings\SpecialChar menuseparator
7266 Bibliography\SpecialChar menuseparator
7272 \begin_layout Standard
7275 Even though a cite engine file is essentially a normal layout file that
7276 could theoretically include any layout information, it usually primarily
7277 includes some specific parameters such as
7278 \begin_inset Flex Code
7281 \begin_layout Plain Layout
7290 \begin_inset Flex Code
7293 \begin_layout Plain Layout
7302 \begin_inset Flex Code
7305 \begin_layout Plain Layout
7314 \begin_inset Flex Code
7317 \begin_layout Plain Layout
7326 The syntax of the latter two is described in
7329 \begin_inset CommandInset ref
7331 reference "subsec:Citation-engine-description"
7339 \begin_inset CommandInset ref
7341 reference "subsec:Descripción-formato-cita"
7347 as well as in the files themselves.
7350 \begin_layout Section
7351 Estructura del archivo `layout'
7352 \begin_inset CommandInset label
7354 name "sec:Estructura-del-archivo-layout"
7361 \begin_layout Standard
7362 Ha llegado por fin el momento de ponerte manos a la obra y crear o editar
7363 tu propio archivo de formato; las siguientes secciones describen aquello
7364 a lo que te vas a enfrentar.
7365 Nuestro consejo es ir despacito, probando y guardando a menudo.
7366 En realidad no es para tanto, pero la multitud de opciones puede llegar
7367 a abrumarte si intentas hacer muchas cosas a la vez.
7368 Resulta más sencillo usar formatos existentes de \SpecialChar LyX
7369 como ejemplo o referencia
7370 y modificarlos según tus necesidades.
7373 \begin_layout Standard
7374 Todos los rótulos o etiquetas en los archivos de formato son insensibles
7375 a las mayúsculas; esto significa que
7376 \begin_inset Flex Code
7379 \begin_layout Plain Layout
7386 \begin_inset Flex Code
7389 \begin_layout Plain Layout
7396 \begin_inset Flex Code
7399 \begin_layout Plain Layout
7405 son el mismo comando.
7406 Los valores posibles se imprimen entre corchetes detrás del nombre de la
7408 Si en una descripción de una clase de texto no se especifica una característica
7409 , el valor por omisión se escribe en estilo
7410 \begin_inset Flex Code
7413 \begin_layout Plain Layout
7422 Si el argumento tiene un tipo de dato como
7423 \begin_inset Quotes cld
7427 \begin_inset Quotes crd
7431 \begin_inset Quotes cld
7435 \begin_inset Quotes crd
7438 , el valor por omisión se muestra de esta manera:
7439 \begin_inset Flex Code
7442 \begin_layout Plain Layout
7453 \begin_layout Subsection
7454 Declaración de la clase de documento y clasificación
7457 \begin_layout Standard
7458 Las líneas de un archivo de formato que empiezan con
7459 \begin_inset Flex Code
7462 \begin_layout Plain Layout
7469 Hay una excepción a esta regla: todos los formatos deben comenzar con líneas
7473 \begin_layout LyX-Code
7476 #% Do not delete the line below; configure depends on this
7480 \begin_layout Plain Layout
7484 \begin_inset space \thinspace{}
7489 : No borrar la línea siguiente; la configuración depende de ella
7497 \begin_layout LyX-Code
7502 DeclareLaTeXClass{Article (Standard Class)}
7505 \begin_layout LyX-Code
7510 DeclareCategory{Articles}
7513 \begin_layout Standard
7514 La segunda y tercera líneas se usan en la (re)configuración de \SpecialChar LyX
7516 El archivo `layout' es leido por el guión de \SpecialChar LaTeX
7518 \begin_inset Flex Code
7521 \begin_layout Plain Layout
7527 de un modo especial tal que
7528 \begin_inset Flex Code
7531 \begin_layout Plain Layout
7538 La primera línea es solo un comentario, la segunda contiene la declaración
7539 obligatoria de la clase de texto y la tercera línea contiene la clasificación
7540 opcional de la clase.
7541 Si estas líneas aparecen en un archivo llamado
7542 \begin_inset Flex Code
7545 \begin_layout Plain Layout
7551 , entonces definen una clase de texto de nombre
7552 \begin_inset Flex Code
7555 \begin_layout Plain Layout
7561 (el nombre del archivo de formato) que usa la clase de documento \SpecialChar LaTeX
7563 \begin_inset Flex Code
7566 \begin_layout Plain Layout
7572 (por omisión se usa el mismo nombre para ambos).
7574 \begin_inset Quotes cld
7577 Article (Standard Class)
7578 \begin_inset Quotes crd
7581 se utiliza como descripción de la clase de texto y es la que aparece en
7583 \begin_inset Flex Noun
7586 \begin_layout Plain Layout
7587 Documento\SpecialChar menuseparator
7595 \begin_inset Quotes cld
7599 \begin_inset Quotes crd
7602 en el ejemplo) también se usa en el diálogo
7603 \begin_inset Flex Noun
7606 \begin_layout Plain Layout
7607 Documento\SpecialChar menuseparator
7613 : las clases de texto se agrupan por estas categorías (generalmente son
7614 géneros, así son categorías típicas
7615 \begin_inset Quotes cld
7619 \begin_inset Quotes crd
7623 \begin_inset Quotes cld
7627 \begin_inset Quotes crd
7631 \begin_inset Quotes cld
7635 \begin_inset Quotes crd
7639 \begin_inset Quotes cld
7643 \begin_inset Quotes crd
7647 \begin_inset Quotes cld
7651 \begin_inset Quotes crd
7655 \begin_inset Quotes cld
7659 \begin_inset Quotes crd
7663 Si no se ha declarado categoría la clase se pondrá en el grupo
7664 \begin_inset Quotes cld
7668 \begin_inset Quotes crd
7674 \begin_layout Standard
7675 Supongamos que has escrito tu propia clase de texto, que utiliza la clase
7677 \begin_inset Flex Code
7680 \begin_layout Plain Layout
7686 , pero en la que has cambiado el aspecto de los encabezados de sección.
7687 Si lo pones en un archivo
7688 \begin_inset Flex Code
7691 \begin_layout Plain Layout
7697 , la cabecera de este archivo debería ser:
7700 \begin_layout LyX-Code
7703 #% Do not delete the line below; configure depends on this
7706 \begin_layout LyX-Code
7711 DeclareLaTeXClass[article]{Article (con Mis Encabezados)}
7714 \begin_layout LyX-Code
7719 DeclareCategory{Articles}
7722 \begin_layout Standard
7723 Esto declara la clase de texto
7724 \begin_inset Flex Code
7727 \begin_layout Plain Layout
7733 , asociada con la clase de documento \SpecialChar LaTeX
7735 \begin_inset Flex Code
7738 \begin_layout Plain Layout
7744 , y cuya descripción es
7745 \begin_inset Quotes cld
7748 Article (con Mis Encabezados)
7749 \begin_inset Quotes crd
7753 Si la clase de texto depende de varios paquetes, puedes declararla así:
7756 \begin_layout LyX-Code
7759 #% Do not delete the line below; configure depends on this
7762 \begin_layout LyX-Code
7767 DeclareLaTeXClass[article,foo.sty]{Article (con Mis Encabezados)}
7770 \begin_layout LyX-Code
7775 DeclareCategory{Articles}
7778 \begin_layout Standard
7779 Esto indica que la clase de texto utiliza el paquete foo.sty.
7780 Finalmente, también es posible declarar clases para código DocBook.
7781 Una declaración típica podría ser:
7784 \begin_layout LyX-Code
7787 #% Do not delete the line below; configure depends on this
7790 \begin_layout LyX-Code
7795 DeclareDocBookClass[article]{SGML (DocBook Article)}
7798 \begin_layout LyX-Code
7803 DeclareCategory{Articles}
7806 \begin_layout Standard
7807 Anotar que estas declaraciones pueden llevar también un parámetro opcional
7808 que declare el nombre de la clase de documento (pero no una lista).
7811 \begin_layout Standard
7812 Así, para ser lo más explícito posible, la forma de la declaración del formato
7816 \begin_layout LyX-Code
7821 DeclareLaTeXClass[class,package.sty]{descripción del formato}
7824 \begin_layout LyX-Code
7829 DeclareCategory{category}
7832 \begin_layout Standard
7833 La clase solo debe especificarse si el nombre de archivo de la clase \SpecialChar LaTeX
7835 el nombre de archivo del formato son diferentes; si el nombre del archivo
7836 de clase no se especifica, \SpecialChar LyX
7837 simplemente supondrá que es el mismo que el
7838 del archivo de formato.
7841 \begin_layout Standard
7842 Cuando la clase de texto se ha modificado según tus necesidades, lo que
7843 debes hacer es copiarla a
7844 \begin_inset Flex Code
7847 \begin_layout Plain Layout
7855 \begin_inset Flex Code
7858 \begin_layout Plain Layout
7865 \begin_inset Flex Noun
7868 \begin_layout Plain Layout
7869 Herramientas\SpecialChar menuseparator
7875 , y reiniciar \SpecialChar LyX
7877 Ahora la nueva clase de texto debería estar disponible junto con las demás.
7880 \begin_layout Standard
7881 Una vez instalado el `layout', puedes editarlo y ver los cambios sin tener
7882 que reconfigurar ni reiniciar \SpecialChar LyX
7888 \begin_layout Plain Layout
7889 En versiones de \SpecialChar LyX
7890 anteriores a 1.6 no era así.
7891 Como resultado, la edición de archivos de formato podía llevar mucho tiempo,
7892 pues constantemente había que reconfigurar y reiniciar.
7897 Se puede forzar la recarga del formato en uso mediante la función \SpecialChar LyX
7899 \begin_inset Flex Noun
7902 \begin_layout Plain Layout
7909 No hay atajo predeterminado para esta función —aunque por supuesto, puedes
7910 asociarle tú mismo una secuencia de teclas—.
7911 Normalmente usarás esta función introduciéndola simplemente en el
7919 \begin_layout Standard
7924 : Esto es mucho más que una
7925 \begin_inset Quotes cld
7928 característica avanzada
7929 \begin_inset Quotes crd
7937 recomendable que no intentes editar tu formato mientras estés trabajando
7938 en un documento importante.
7939 Usa un documento de prueba.
7940 Los errores sintácticos y similares en tu archivo de formato podrían provocar
7941 comportamientos extraños.
7942 En particular, tales errores podrían provocar que \SpecialChar LyX
7943 vea el formato actual
7944 como inválido e intente cambiar a algún otro.
7948 \begin_layout Plain Layout
7949 En realidad, los errores en la sintaxis pueden causar incluso el cierre
7951 , porque ciertos tipos de error pueden hacer que \SpecialChar LyX
7957 información de formato.
7958 Por favor ten cuidado.
7963 El equipo \SpecialChar LyX
7964 procura que \SpecialChar LyX
7965 se mantenga estable en estos casos, pero es mejor
7970 \begin_layout Plain Layout
7971 De todos modos, haz copias de seguridad regularmente.
7972 Y sé bueno con mamá.
7981 \begin_layout Subsection
7982 Declaración de un módulo
7985 \begin_layout Standard
7986 Un módulo debe empezar con una línea como la siguiente:
7989 \begin_layout LyX-Code
7992 DeclareLyXModule[endnotes.sty]{Endnotes}
7995 \begin_layout Standard
7996 El argumento imprescindible es, entre llaves, el nombre del módulo tal como
7998 \begin_inset Flex Noun
8001 \begin_layout Plain Layout
8002 Documento\SpecialChar menuseparator
8003 Configuración\SpecialChar menuseparator
8010 El argumento entre corchetes es opcional: declara cualesquiera paquetes
8012 de los que depende el módulo.
8013 También es posible usar la forma
8014 \begin_inset Flex Noun
8017 \begin_layout Plain Layout
8023 como argumento opcional, que declara que el módulo solo puede usarse cuando
8024 existe una cadena de conversión entre los formatos `
8025 \begin_inset Flex Code
8028 \begin_layout Plain Layout
8035 \begin_inset Flex Code
8038 \begin_layout Plain Layout
8047 \begin_layout Standard
8048 La declaración del módulo debe proseguir con líneas como las siguientes:
8052 \begin_layout Plain Layout
8053 Preferiblemente en inglés si el módulo se va a publicar en \SpecialChar LyX
8055 Esta descripción aparecerá en la lista de mensajes para ser traducidos
8056 en la siguiente actualización de la interfaz.
8064 \begin_layout LyX-Code
8068 \begin_layout LyX-Code
8069 #Adds an endnote command, in addition to footnotes.
8073 \begin_layout LyX-Code
8074 #You will need to add
8076 theendnotes in \SpecialChar TeX
8080 \begin_layout LyX-Code
8081 #want the endnotes to appear.
8085 \begin_layout LyX-Code
8089 \begin_layout LyX-Code
8090 #Requires: somemodule | othermodule
8093 \begin_layout LyX-Code
8094 #Excludes: badmodule
8097 \begin_layout Standard
8098 La descripción se usa en
8099 \begin_inset Flex Noun
8102 \begin_layout Plain Layout
8103 Documento\SpecialChar menuseparator
8104 Configuración\SpecialChar menuseparator
8110 para proporcionar al usuario información sobre las acciones del módulo.
8112 \begin_inset Flex Code
8115 \begin_layout Plain Layout
8121 sirve para identificar otros módulos con los que se debe usar este; la
8123 \begin_inset Flex Code
8126 \begin_layout Plain Layout
8132 identifica los módulos con los que este no se puede usar.
8133 Ambas son opcionales, y, como se ve, varios módulos deben separarse con
8134 el símbolo tubería: |.
8135 Anotar que los módulos requeridos se tratan de forma disyuntiva: debe usarse
8140 de los módulos requeridos.
8146 Aquí, los módulos se identifican por sus nombres de archivo sin la extensión
8148 \begin_inset Flex Code
8151 \begin_layout Plain Layout
8159 \begin_inset Flex Code
8162 \begin_layout Plain Layout
8169 \begin_inset Flex Code
8172 \begin_layout Plain Layout
8181 \begin_layout Subsection
8184 The CiteEngine file declaration
8187 \begin_layout Standard
8190 A cite engine file must begin with a line like the following:
8193 \begin_layout LyX-Code
8198 DeclareLyXCiteEngineModule[biblatex.sty]{Biblatex}
8201 \begin_layout Standard
8204 The mandatory argument, in curly brackets, is the name of the module, as
8206 \begin_inset Flex Noun
8209 \begin_layout Plain Layout
8212 Document\SpecialChar menuseparator
8213 Settings\SpecialChar menuseparator
8220 The argument in square brackets is optional: It declares any \SpecialChar LaTeX
8222 on which the cite engine depends.
8225 \begin_layout Standard
8228 The cite engine declaration should then be followed by lines like the following:
8232 \begin_layout Plain Layout
8235 Preferably in English if the module should be published with \SpecialChar LyX
8237 This description will appear in the list of messages to be translated and
8238 will be thus translated with the next interface update.
8246 \begin_layout LyX-Code
8252 \begin_layout LyX-Code
8255 # Biblatex supports many author-year and numerical styles.
8258 \begin_layout LyX-Code
8261 # It is mainly aimed at the Humanities.
8265 \begin_layout LyX-Code
8268 # customizable, fully localized and provides many features
8271 \begin_layout LyX-Code
8274 # that are not possible with BibTeX.
8275 The use of 'biber' as
8278 \begin_layout LyX-Code
8281 # bibliography processor is advised.
8284 \begin_layout LyX-Code
8290 \begin_layout Standard
8293 The description is used in
8294 \begin_inset Flex Noun
8297 \begin_layout Plain Layout
8300 Document\SpecialChar menuseparator
8301 Settings\SpecialChar menuseparator
8307 to provide the user with information about the cite engine.
8310 \begin_layout Subsection
8314 \begin_layout Standard
8315 La primera línea no comentada de cualquier archivo `layout', `inc' o `module'
8320 contener el número de formato del archivo:
8323 \begin_layout Description
8324 \begin_inset Flex Code
8327 \begin_layout Plain Layout
8334 \begin_inset Flex Code
8337 \begin_layout Plain Layout
8343 ] El número de formato del archivo de formato (`layout').
8346 \begin_layout Standard
8347 Esta etiqueta se introdujo en \SpecialChar LyX
8349 \begin_inset space ~
8353 Los archivos anteriores no tienen un número explícito y se consideran como
8355 \begin_inset Flex Code
8358 \begin_layout Plain Layout
8360 \begin_inset space ~
8369 El número para la versión actual de \SpecialChar LyX
8371 Cada versión de \SpecialChar LyX
8372 es capaz de leer los formatos de versiones anteriores,
8373 de la misma forma que puede leer archivos producidos con versiones de \SpecialChar LyX
8376 Sin embargo, no está previsto convertir a formatos anteriores.
8379 \begin_layout Subsection
8380 Parámetros generales de clases de texto
8381 \begin_inset CommandInset label
8383 name "subsec:Parámetros-generales-clases"
8390 \begin_layout Standard
8391 Estos son los parámetros generales que describen completamente una clase
8397 significa que deban aparecer en archivos
8398 \begin_inset Flex Code
8401 \begin_layout Plain Layout
8407 en vez de en módulos.
8408 Un módulo puede contener cualquier etiqueta de formato).
8411 \begin_layout Description
8412 \begin_inset Flex Code
8415 \begin_layout Plain Layout
8421 Añade información para el bloque
8422 \begin_inset Flex Code
8425 \begin_layout Plain Layout
8431 cuando el documento se exporte a XHTML.
8432 Típicamente, debería usarse para exportar información de estilo CSS, aunque
8433 se puede usar para cualquier cosa que pueda aparecer en
8434 \begin_inset Flex Code
8437 \begin_layout Plain Layout
8445 \begin_inset Quotes eld
8449 \begin_inset Flex Code
8452 \begin_layout Plain Layout
8459 \begin_inset Quotes erd
8465 \begin_layout Description
8466 \begin_inset Flex Code
8469 \begin_layout Plain Layout
8475 Añade información al preámbulo del documento.
8477 \begin_inset Quotes cld
8481 \begin_inset Flex Code
8484 \begin_layout Plain Layout
8491 \begin_inset Quotes crd
8497 \begin_layout Description
8500 \begin_inset Flex Code
8503 \begin_layout Plain Layout
8511 Defines the possibilities for displaying citation references.
8513 \begin_inset CommandInset ref
8515 reference "subsec:Citation-engine-description"
8524 \begin_inset Quotes eld
8528 \begin_inset Flex Code
8531 \begin_layout Plain Layout
8540 \begin_inset Quotes erd
8544 Primarily used in cite engine files (see
8545 \begin_inset CommandInset ref
8547 reference "subsec:Cite-Engine-Files"
8557 \begin_layout Description
8558 \begin_inset Flex Code
8561 \begin_layout Plain Layout
8567 Define formatos a usar en la presentación de información bibliográfica.
8569 \begin_inset space ~
8573 \begin_inset CommandInset ref
8575 reference "subsec:Descripción-formato-cita"
8581 \begin_inset Quotes eld
8585 \begin_inset Flex Code
8588 \begin_layout Plain Layout
8595 \begin_inset Quotes erd
8601 Primarily used in cite engine files (see
8602 \begin_inset CommandInset ref
8604 reference "subsec:Cite-Engine-Files"
8614 \begin_layout Description
8617 \begin_inset Flex Code
8620 \begin_layout Plain Layout
8629 \begin_inset Flex Code
8632 \begin_layout Plain Layout
8642 \begin_inset Flex Code
8645 \begin_layout Plain Layout
8653 ] Determines whether
8657 or Bib\SpecialChar TeX
8658 is used to generate a Bibliography.
8659 Primarily used in cite engine files (see
8660 \begin_inset CommandInset ref
8662 reference "subsec:Cite-Engine-Files"
8672 \begin_layout Description
8673 \begin_inset Flex Code
8676 \begin_layout Plain Layout
8682 Describe varias opciones globales soportadas por la clase de documento.
8684 \begin_inset space ~
8688 \begin_inset CommandInset ref
8690 reference "subsec:ClassOptions"
8694 para una descripción.
8696 \begin_inset Quotes cld
8700 \begin_inset Flex Code
8703 \begin_layout Plain Layout
8710 \begin_inset Quotes crd
8716 \begin_layout Description
8717 \begin_inset Flex Code
8720 \begin_layout Plain Layout
8727 \begin_inset Flex Code
8730 \begin_layout Plain Layout
8739 \begin_inset space \thinspace{}
8743 \begin_inset Flex Code
8746 \begin_layout Plain Layout
8752 ] Establece el número de columnas por omisión.
8753 Se puede cambiar en el diálogo
8754 \begin_inset Flex Noun
8757 \begin_layout Plain Layout
8758 Documento\SpecialChar menuseparator
8767 \begin_layout Description
8768 \begin_inset Flex Code
8771 \begin_layout Plain Layout
8777 Esta secuencia define un nuevo contador.
8779 \begin_inset space ~
8783 \begin_inset CommandInset ref
8785 reference "subsec:Contadores"
8791 \begin_inset Quotes cld
8795 \begin_inset Flex Code
8798 \begin_layout Plain Layout
8805 \begin_inset Quotes crd
8811 \begin_layout Description
8812 \begin_inset Flex Code
8815 \begin_layout Plain Layout
8821 Establece la tipografía por omisión para presentar el documento.
8823 \begin_inset space ~
8827 \begin_inset CommandInset ref
8829 reference "subsec:Tipografía"
8833 para cómo declarar tipografías.
8835 \begin_inset Quotes cld
8839 \begin_inset Flex Code
8842 \begin_layout Plain Layout
8849 \begin_inset Quotes crd
8855 \begin_layout Description
8856 \begin_inset Flex Code
8859 \begin_layout Plain Layout
8866 \begin_inset Flex Code
8869 \begin_layout Plain Layout
8875 ] Especifica un módulo que se incluirá por omisión en esta clase de documento;
8876 deberá declararse por su nombre de archivo sin la extensión
8877 \begin_inset Flex Code
8880 \begin_layout Plain Layout
8887 El usuario puede, aún así, quitar el módulo, pero estará activo al principio.
8888 (Esto se aplica solo cuando se crean archivos nuevos, o si esta clase se
8889 elige para un documento existente.)
8892 \begin_layout Description
8893 \begin_inset Flex Code
8896 \begin_layout Plain Layout
8903 \begin_inset Flex Code
8906 \begin_layout Plain Layout
8912 ] Este es el estilo que será asignado a párrafos nuevos, generalmente
8913 \begin_inset Flex Noun
8916 \begin_layout Plain Layout
8923 Si no se especifica, se escogerá por omisión el primer estilo definido,
8924 pero es muy recomendable usar esta instrucción.
8927 \begin_layout Description
8928 \begin_inset Flex Code
8931 \begin_layout Plain Layout
8938 \begin_inset Flex Code
8941 \begin_layout Plain Layout
8947 ] Indica que el módulo en cuestión (que debería especificarse por el nombre
8948 de archivo sin la extensión
8949 \begin_inset Flex Code
8952 \begin_layout Plain Layout
8958 ) no puede utilizarse con esta clase de documento.
8959 Esto podría usarse en un archivo de formato específico de una publicación
8960 para, digamos, impedir el empleo del módulo
8961 \begin_inset Flex Code
8964 \begin_layout Plain Layout
8970 , que numera los teoremas y demás por secciones.
8975 puede utilizarse en un módulo.
8976 Los módulos tienen su propia forma de excluir otros módulos (véase
8977 \begin_inset space ~
8981 \begin_inset CommandInset ref
8983 reference "subsec:Módulos-de-formato"
8990 \begin_layout Description
8991 \begin_inset Flex Code
8994 \begin_layout Plain Layout
9000 Define un nuevo flotante.
9002 \begin_inset space ~
9006 \begin_inset CommandInset ref
9008 reference "subsec:Flotantes"
9014 \begin_inset Quotes cld
9018 \begin_inset Flex Code
9021 \begin_layout Plain Layout
9028 \begin_inset Quotes crd
9034 \begin_layout Description
9035 \begin_inset Flex Code
9038 \begin_layout Plain Layout
9044 Da información para el bloque
9045 \begin_inset Flex Code
9048 \begin_layout Plain Layout
9054 cuando esta clase de documento se exporte a XHTML.
9055 Advertir que esto sobrescribirá completamente cualquier declaración anterior
9057 \begin_inset Flex Code
9060 \begin_layout Plain Layout
9067 \begin_inset Flex Code
9070 \begin_layout Plain Layout
9078 \begin_inset Flex Code
9081 \begin_layout Plain Layout
9087 si solo quieres añadir material al preámbulo).
9089 \begin_inset Quotes eld
9093 \begin_inset Flex Code
9096 \begin_layout Plain Layout
9103 \begin_inset Quotes erd
9109 \begin_layout Description
9110 \begin_inset Flex Code
9113 \begin_layout Plain Layout
9120 \begin_inset Flex Code
9123 \begin_layout Plain Layout
9129 ] El estilo a usar para el índice general, bibliografía, etc., cuando el
9130 documento se exporte a HTML.
9131 Para article, normalmente será
9132 \begin_inset Flex Code
9135 \begin_layout Plain Layout
9142 \begin_inset Flex Code
9145 \begin_layout Plain Layout
9152 Si no se especifica, \SpecialChar LyX
9153 intentará deducir qué formato usar.
9156 \begin_layout Description
9157 \begin_inset Flex Code
9160 \begin_layout Plain Layout
9167 \begin_inset Flex Code
9170 \begin_layout Plain Layout
9176 ] Modifica las propiedades del contador dado.
9177 Si el contador no existe, esta sección se ignora.
9179 \begin_inset Quotes eld
9183 \begin_inset Flex Code
9186 \begin_layout Plain Layout
9193 \begin_inset Quotes erd
9197 \begin_inset Newline newline
9201 \begin_inset space ~
9205 \begin_inset CommandInset ref
9207 reference "subsec:Contadores"
9214 \begin_layout Description
9215 \begin_inset Flex Code
9218 \begin_layout Plain Layout
9225 \begin_inset Flex Code
9228 \begin_layout Plain Layout
9234 ] Permite incluir otro archivo de definición de formato en el tuyo con el
9235 fin de evitar la duplicación de comandos.
9236 Ejemplos habituales son los archivos de formatos estándar, como
9237 \begin_inset Flex Code
9240 \begin_layout Plain Layout
9246 , que contiene la mayoría de los diseños básicos.
9249 \begin_layout Description
9250 \begin_inset Flex Code
9253 \begin_layout Plain Layout
9260 \begin_inset Flex Code
9263 \begin_layout Plain Layout
9269 ] Esta sección (re)define el formato de un recuadro.
9270 Puede aplicarse a uno existente o a uno nuevo, definido por el usuario,
9272 \begin_inset space \thinspace{}
9275 e., un nuevo estilo de texto.
9277 \begin_inset space ~
9281 \begin_inset CommandInset ref
9283 reference "subsec:estilo-del-texto"
9287 para más información.
9289 \begin_inset Quotes cld
9293 \begin_inset Flex Code
9296 \begin_layout Plain Layout
9303 \begin_inset Quotes crd
9309 \begin_layout Description
9310 \begin_inset Flex Code
9313 \begin_layout Plain Layout
9320 \begin_inset Flex Code
9323 \begin_layout Plain Layout
9329 ] Una cadena que indica la anchura del margen izquierdo en la pantalla,
9331 \begin_inset Quotes cld
9335 \begin_inset Flex Code
9338 \begin_layout Plain Layout
9345 \begin_inset Quotes crd
9349 (Esto no es una `longitud', como
9350 \begin_inset Quotes cld
9354 \begin_inset Quotes crd
9360 \begin_layout Description
9363 \begin_inset Flex Code
9366 \begin_layout Plain Layout
9375 \begin_inset Flex Code
9378 \begin_layout Plain Layout
9386 ] An integer that determines the maximal number of names displayed in an
9387 author-year citation before the citation switches to
9388 \begin_inset Quotes eld
9392 \begin_inset Quotes erd
9396 Primarily used in cite engine files (see
9397 \begin_inset CommandInset ref
9399 reference "subsec:Cite-Engine-Files"
9409 \begin_layout Description
9410 \begin_inset Flex Code
9413 \begin_layout Plain Layout
9420 \begin_inset Flex Code
9423 \begin_layout Plain Layout
9429 ] Modifica las propiedades del estilo de párrafo dado.
9430 Si el estilo no existe, esta sección se ignora.
9432 \begin_inset Quotes eld
9436 \begin_inset Flex Code
9439 \begin_layout Plain Layout
9446 \begin_inset Quotes erd
9452 \begin_layout Description
9453 \begin_inset Flex Code
9456 \begin_layout Plain Layout
9463 \begin_inset Flex Code
9466 \begin_layout Plain Layout
9472 ] Este comando elimina un contador existente, generalmente uno definido
9473 en un archivo incluido.
9476 \begin_layout Description
9477 \begin_inset Flex Code
9480 \begin_layout Plain Layout
9487 \begin_inset Flex Code
9490 \begin_layout Plain Layout
9496 ] Este comando borra un flotante existente.
9497 Es particularmente útil si quieres suprimir un flotante que ha sido definido
9498 en un archivo de entrada.
9501 \begin_layout Description
9502 \begin_inset Flex Code
9505 \begin_layout Plain Layout
9512 \begin_inset Flex Code
9515 \begin_layout Plain Layout
9521 ] Este comando borra un estilo existente.
9524 \begin_layout Description
9525 \begin_inset Flex Code
9528 \begin_layout Plain Layout
9535 \begin_inset Flex Code
9538 \begin_layout Plain Layout
9544 ] El formato de archivo (tal como se define en las preferencias de \SpecialChar LyX
9547 Principalmente, es útil cuando
9548 \begin_inset Flex Code
9551 \begin_layout Plain Layout
9558 \begin_inset Flex Code
9561 \begin_layout Plain Layout
9567 y se quiere definir un nuevo tipo de documento `literate'.
9568 Esta cadena se redefine a
9569 \begin_inset Quotes cld
9573 \begin_inset Flex Code
9576 \begin_layout Plain Layout
9583 \begin_inset Quotes crd
9587 \begin_inset Quotes cld
9591 \begin_inset Flex Code
9594 \begin_layout Plain Layout
9601 \begin_inset Quotes crd
9604 si se encuentra el correspondiente parámetro
9605 \begin_inset Flex Code
9608 \begin_layout Plain Layout
9617 \begin_layout Description
9618 \begin_inset Flex Code
9621 \begin_layout Plain Layout
9628 \begin_inset Flex Code
9631 \begin_layout Plain Layout
9642 \begin_inset Flex Code
9645 \begin_layout Plain Layout
9652 \begin_inset Flex Code
9655 \begin_layout Plain Layout
9661 ] Indica qué clase de documentos de salida que usan esta clase se generarán.
9664 \begin_layout Description
9665 \begin_inset Flex Code
9668 \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 ] Especifica opciones, dadas en el segundo
9698 , para el paquete nombrado en el primer
9704 \begin_inset Quotes cld
9708 \begin_inset Flex Code
9711 \begin_layout Plain Layout
9712 PackageOptions natbib square
9718 \begin_inset Quotes crd
9722 \begin_inset Flex Code
9725 \begin_layout Plain Layout
9731 se cargue con la opción
9732 \begin_inset Flex Code
9735 \begin_layout Plain Layout
9742 (Para \SpecialChar TeX
9743 pertos, esto hace que \SpecialChar LyX
9745 \begin_inset Flex Code
9748 \begin_layout Plain Layout
9751 PassOptionsToPackage{natbib}{square}
9757 \begin_inset Flex Code
9760 \begin_layout Plain Layout
9769 \begin_layout Description
9770 \begin_inset Flex Code
9773 \begin_layout Plain Layout
9780 \begin_inset Flex Code
9783 \begin_layout Plain Layout
9792 \begin_inset Flex Code
9795 \begin_layout Plain Layout
9802 \begin_inset Flex Code
9805 \begin_layout Plain Layout
9815 El estilo de página predeterminado de la clase.
9816 Puede cambiarse en el diálogo
9817 \begin_inset Flex Noun
9820 \begin_layout Plain Layout
9821 Documento\SpecialChar menuseparator
9830 \begin_layout Description
9831 \begin_inset Flex Code
9834 \begin_layout Plain Layout
9840 Establece el preámbulo \SpecialChar LaTeX
9842 Anotar que esto anulará completamente cualesquiera declaraciones
9843 \begin_inset Flex Code
9846 \begin_layout Plain Layout
9853 \begin_inset Flex Code
9856 \begin_layout Plain Layout
9864 \begin_inset Flex Code
9867 \begin_layout Plain Layout
9873 si solo quieres añadir material al preámbulo).
9875 \begin_inset Quotes cld
9879 \begin_inset Flex Code
9882 \begin_layout Plain Layout
9889 \begin_inset Quotes crd
9895 \begin_layout Description
9896 \begin_inset Flex Code
9899 \begin_layout Plain Layout
9906 \begin_inset Flex Code
9909 \begin_layout Plain Layout
9916 \begin_inset Flex Code
9919 \begin_layout Plain Layout
9928 \begin_inset Flex Code
9931 \begin_layout Plain Layout
9937 ] Si la clase ya proporciona, o no, la característica
9938 \begin_inset Flex Code
9941 \begin_layout Plain Layout
9948 Una característica es en general el nombre de un paquete (
9949 \begin_inset Flex Code
9952 \begin_layout Plain Layout
9959 \begin_inset Flex Code
9962 \begin_layout Plain Layout
9968 , \SpecialChar ldots
9970 \begin_inset Flex Code
9973 \begin_layout Plain Layout
9980 \begin_inset Flex Code
9983 \begin_layout Plain Layout
9991 Véase en el capítulo
9992 \begin_inset space ~
9996 \begin_inset CommandInset ref
9998 reference "cap:Lista-de-funciones"
10002 la lista de características.
10005 \begin_layout Description
10006 \begin_inset Flex Code
10009 \begin_layout Plain Layout
10016 \begin_inset Flex Code
10019 \begin_layout Plain Layout
10025 ] Indica que este formato proporciona la funcionalidad del módulo mencionado,
10026 que deberá especificarse con su nombre de archivo sin la extensión
10027 \begin_inset Flex Code
10030 \begin_layout Plain Layout
10037 Esto se usará típicamente si el formato incluye el módulo directamente,
10038 preferiblemente a usar la etiqueta
10039 \begin_inset Flex Code
10042 \begin_layout Plain Layout
10048 para indicar que debería utilizarse.
10049 Podría ser empleado en un módulo que provea una implementación alternativa
10050 de la misma funcionalidad.
10053 \begin_layout Description
10054 \begin_inset Flex Code
10057 \begin_layout Plain Layout
10064 \begin_inset Flex Code
10067 \begin_layout Plain Layout
10073 ] Crea un nuevo estilo (entorno) de párrafo si no existe.
10074 Si el estilo existe se ignora esta sección.
10076 \begin_inset Quotes eld
10080 \begin_inset Flex Code
10083 \begin_layout Plain Layout
10090 \begin_inset Quotes erd
10096 \begin_layout Description
10097 \begin_inset Flex Code
10100 \begin_layout Plain Layout
10107 \begin_inset Flex Code
10110 \begin_layout Plain Layout
10116 ] Si la clase requiere la característica
10117 \begin_inset Flex Code
10120 \begin_layout Plain Layout
10127 Múltiples características deben separarse con comas.
10128 Multiple features must be separated by commas.
10129 Anotar que solo se pueden demandar características soportadas.
10130 (Véase la lista en el capítulo
10131 \begin_inset space ~
10135 \begin_inset CommandInset ref
10137 reference "cap:Lista-de-funciones"
10142 Si necesitas un paquete con opciones específicas puedes usar además
10143 \begin_inset Flex Code
10146 \begin_layout Plain Layout
10155 \begin_layout Description
10156 \begin_inset Flex Code
10159 \begin_layout Plain Layout
10166 \begin_inset Flex Code
10169 \begin_layout Plain Layout
10175 ] Una cadena que indica la anchura del margen derecho en la pantalla, por
10177 \begin_inset Quotes cld
10181 \begin_inset Flex Code
10184 \begin_layout Plain Layout
10191 \begin_inset Quotes crd
10197 \begin_layout Description
10198 \begin_inset Flex Code
10201 \begin_layout Plain Layout
10208 \begin_inset Flex Code
10211 \begin_layout Plain Layout
10217 ] Establece qué divisiones se numeran.
10218 Corresponde al contador \SpecialChar LaTeX
10220 \begin_inset Flex Code
10223 \begin_layout Plain Layout
10232 \begin_layout Description
10233 \begin_inset Flex Code
10236 \begin_layout Plain Layout
10245 \begin_inset Flex Code
10248 \begin_layout Plain Layout
10257 \begin_inset space \thinspace{}
10261 \begin_inset Flex Code
10264 \begin_layout Plain Layout
10270 ] Si debe imprimirse en una o en ambas caras del papel.
10271 Se puede cambiar en el diálogo
10272 \begin_inset Flex Noun
10275 \begin_layout Plain Layout
10276 Documento\SpecialChar menuseparator
10285 \begin_layout Description
10286 \begin_inset Flex Code
10289 \begin_layout Plain Layout
10296 \begin_inset Flex Code
10299 \begin_layout Plain Layout
10305 ] Esta secuencia define un nuevo estilo de párrafo.
10306 Si el estilo ya existe, en ese caso se redefinirán algunos de los parámetros.
10308 \begin_inset space ~
10312 \begin_inset CommandInset ref
10314 reference "subsec:Estilos-de-párrafo"
10320 \begin_inset Quotes cld
10324 \begin_inset Flex Code
10327 \begin_layout Plain Layout
10334 \begin_inset Quotes crd
10340 \begin_layout Description
10341 \begin_inset Flex Code
10344 \begin_layout Plain Layout
10351 \begin_inset Flex Code
10354 \begin_layout Plain Layout
10360 ] El nombre del comando de entorno a usar con
10361 \begin_inset Flex Code
10364 \begin_layout Plain Layout
10373 \begin_layout Description
10374 \begin_inset Flex Code
10377 \begin_layout Plain Layout
10384 \begin_inset Flex Code
10387 \begin_layout Plain Layout
10396 \begin_inset Flex Code
10399 \begin_layout Plain Layout
10405 ] Indica qué clase de diseño se emplea para definir el título de un documento.
10407 \begin_inset Flex Code
10410 \begin_layout Plain Layout
10416 significa que la macro con nombre
10417 \begin_inset Flex Code
10420 \begin_layout Plain Layout
10426 se insertará después del último formato que tiene
10427 \begin_inset Quotes cld
10431 \begin_inset Flex Code
10434 \begin_layout Plain Layout
10436 \begin_inset space ~
10445 \begin_inset Quotes crd
10450 \begin_inset Flex Code
10453 \begin_layout Plain Layout
10459 corresponde al caso en que todos los formatos que tienen
10460 \begin_inset Quotes cld
10464 \begin_inset Flex Code
10467 \begin_layout Plain Layout
10469 \begin_inset space ~
10478 \begin_inset Quotes crd
10481 debería ser incluido en el entorno
10482 \begin_inset Flex Code
10485 \begin_layout Plain Layout
10494 \begin_layout Description
10495 \begin_inset Flex Code
10498 \begin_layout Plain Layout
10505 \begin_inset Flex Code
10508 \begin_layout Plain Layout
10514 ] Establece qué divisiones se incluyen en el índice general.
10515 Corresponde al contador \SpecialChar LaTeX
10517 \begin_inset Flex Code
10520 \begin_layout Plain Layout
10529 \begin_layout Subsection
10531 \begin_inset Flex Code
10534 \begin_layout Plain Layout
10541 \begin_inset CommandInset label
10543 name "subsec:ClassOptions"
10550 \begin_layout Standard
10552 \begin_inset Flex Code
10555 \begin_layout Plain Layout
10561 puede contener las siguientes entradas:
10564 \begin_layout Description
10565 \begin_inset Flex Code
10568 \begin_layout Plain Layout
10575 \begin_inset Flex Code
10578 \begin_layout Plain Layout
10584 ] La lista de los tamaños de carácter disponibles para la tipografía principal
10585 del documento, separados por
10586 \begin_inset Quotes cld
10590 \begin_inset Flex Code
10593 \begin_layout Plain Layout
10600 \begin_inset Quotes crd
10606 \begin_layout Description
10607 \begin_inset Flex Code
10610 \begin_layout Plain Layout
10616 Para establecer la línea DTD con las clases con salida basada en XML.
10618 \begin_inset space \thinspace{}
10622 \begin_inset Quotes cld
10625 -//OASIS//DTD DocBook V4.2//EN
10626 \begin_inset Quotes crd
10632 \begin_layout Description
10633 \begin_inset Flex Code
10636 \begin_layout Plain Layout
10643 \begin_inset Flex Code
10646 \begin_layout Plain Layout
10652 ] Algunas opciones de clase de documento, separadas por coma, que se añadirán
10653 a la parte opcional del comando
10654 \begin_inset Flex Code
10657 \begin_layout Plain Layout
10668 \begin_layout Description
10669 \begin_inset Flex Code
10672 \begin_layout Plain Layout
10679 \begin_inset Flex Code
10682 \begin_layout Plain Layout
10683 string="empty|plain|headings|fancy"
10688 ] Lista de los estilos de página disponibles, separados por
10689 \begin_inset Quotes cld
10693 \begin_inset Flex Code
10696 \begin_layout Plain Layout
10703 \begin_inset Quotes crd
10709 \begin_layout Standard
10711 \begin_inset Flex Code
10714 \begin_layout Plain Layout
10721 \begin_inset Quotes cld
10725 \begin_inset Flex Code
10728 \begin_layout Plain Layout
10735 \begin_inset Quotes crd
10741 \begin_layout Subsection
10743 \begin_inset CommandInset label
10745 name "subsec:Estilos-de-párrafo"
10752 \begin_layout Standard
10753 Una descripción de estilo de párrafo tiene una aspecto como éste:
10757 \begin_layout Plain Layout
10758 Anotar que esto definirá un nuevo diseño o modificará uno existente.
10766 \begin_layout LyX-Code
10773 \begin_layout LyX-Code
10777 \begin_layout LyX-Code
10781 \begin_layout Standard
10782 donde se permiten los comandos siguientes:
10785 \begin_layout Description
10788 \begin_inset Flex Code
10791 \begin_layout Plain Layout
10800 \begin_inset Flex Code
10803 \begin_layout Plain Layout
10811 =""] This paragraph will appear in the table of contents of the given type.
10812 An empty string disables.
10813 See also the OutlinerName and the IsTocCaption commands.
10817 \begin_layout Description
10818 \begin_inset Flex Code
10821 \begin_layout Plain Layout
10828 \begin_inset Flex Code
10831 \begin_layout Plain Layout
10836 , left, right, center
10841 ] Alineación del párrafo.
10844 \begin_layout Description
10845 \begin_inset Flex Code
10848 \begin_layout Plain Layout
10855 \begin_inset Flex Code
10858 \begin_layout Plain Layout
10863 , left, right, center
10868 ] Una lista separada con comas de alineaciones permitidas.
10869 (Algunos estilos de \SpecialChar LaTeX
10870 prohiben ciertos alineamientos, ya que no tendrían
10872 Por ejemplo una alineación a la derecha o al centro de una lista numerada
10876 \begin_layout Description
10877 \begin_inset Flex Code
10880 \begin_layout Plain Layout
10887 \begin_inset Flex Code
10890 \begin_layout Plain Layout
10896 ] Define el número de argumento de un comando o entorno asociado al estilo
10898 Es útil para cosas como encabezados de sección y solo tiene sentido con
10901 Cada argumento (opcional o requerido) de un comando o entorno —excepto
10902 para el argumento requerido que se asocia con el contenido del propio párrafo—
10903 tiene una definición separada, en la que el número especifica el orden
10905 La definición debe finalizar con
10906 \begin_inset Flex Code
10909 \begin_layout Plain Layout
10916 Así, un comando con dos argumentos opcionales tiene:
10920 \begin_layout Quote
10926 \begin_layout Quote
10932 \begin_layout Quote
10938 \begin_layout Quote
10944 \begin_layout Quote
10950 \begin_layout Quote
10956 \begin_layout Standard
10957 En la definición de
10958 \begin_inset Flex Code
10961 \begin_layout Plain Layout
10967 son posibles las siguientes especificaciones:
10970 \begin_layout Itemize
10971 \begin_inset Flex Code
10974 \begin_layout Plain Layout
10981 \begin_inset Flex Code
10984 \begin_layout Plain Layout
10990 Secuencia que aparecerá tanto en el menú (a insertar este argumento) como
10991 en el botón de inserción del argumento (a menos que especifiques también
10993 \begin_inset Flex Code
10996 \begin_layout Plain Layout
11003 Para el menú puedes definir un acelerador agregando el carácter respectivo
11004 a la secuencia, separado con
11005 \begin_inset Quotes cld
11009 \begin_inset Quotes crd
11013 \begin_inset space \thinspace{}
11017 \begin_inset space \space{}
11021 \begin_inset Quotes cld
11025 \begin_inset Flex Code
11028 \begin_layout Plain Layout
11035 \begin_inset Quotes crd
11041 \begin_layout Itemize
11042 \begin_inset Flex Code
11045 \begin_layout Plain Layout
11052 \begin_inset Flex Code
11055 \begin_layout Plain Layout
11061 Secuencia separada para el menú Puedes definir un acelerador agregando
11062 el carácter respectivo a la secuencia, separado con
11063 \begin_inset Quotes cld
11067 \begin_inset Quotes crd
11071 \begin_inset space \thinspace{}
11075 \begin_inset space \space{}
11079 \begin_inset Quotes cld
11083 \begin_inset Flex Code
11086 \begin_layout Plain Layout
11093 \begin_inset Quotes crd
11097 Esta especificación es opcional.
11098 Si no se da se usará
11099 \begin_inset Flex Code
11102 \begin_layout Plain Layout
11111 \begin_layout Itemize
11112 \begin_inset Flex Code
11115 \begin_layout Plain Layout
11122 \begin_inset Flex Code
11125 \begin_layout Plain Layout
11131 Texto explicativo que se muestra en un recuadro sugerencia al planear sobre
11132 el recuadro del argumento.
11135 \begin_layout Itemize
11136 \begin_inset Flex Code
11139 \begin_layout Plain Layout
11146 \begin_inset Flex Code
11149 \begin_layout Plain Layout
11158 \begin_inset space \thinspace{}
11162 \begin_inset Flex Code
11165 \begin_layout Plain Layout
11171 ] Declara si es argumento obligatorio (1) u opcional (0).
11172 Los argumentos obligatorios se emitirán vacíos si no se dan, mientras que
11173 los opcionales no serán emitidos.
11174 Por omisión, los argumentos obligatorios se delimitan con
11175 \begin_inset Flex Code
11178 \begin_layout Plain Layout
11184 y los opcionales con
11185 \begin_inset Flex Code
11188 \begin_layout Plain Layout
11197 \begin_layout Itemize
11198 \begin_inset Flex Code
11201 \begin_layout Plain Layout
11208 \begin_inset Flex Code
11211 \begin_layout Plain Layout
11217 define otro argumento (por su número) que este argumento requiere para
11218 emitirse si él mismo es emitido.
11220 \begin_inset space \thinspace{}
11223 e., en comandos \SpecialChar LaTeX
11224 , los argumentos opcionales requieren a menudo argumentos
11225 opcionales previos para ser emitidos (al menos vacíos), como en
11226 \begin_inset Newline newline
11230 \begin_inset Flex Code
11233 \begin_layout Plain Layout
11236 command[][argument]{text}
11242 Esto se puede conseguir con la declaración
11243 \begin_inset Flex Code
11246 \begin_layout Plain Layout
11253 \begin_inset Flex Code
11256 \begin_layout Plain Layout
11265 \begin_layout Itemize
11266 \begin_inset Flex Code
11269 \begin_layout Plain Layout
11276 \begin_inset Flex Code
11279 \begin_layout Plain Layout
11285 define un delimitador izquierdo personalizado (en vez de
11286 \begin_inset Flex Code
11289 \begin_layout Plain Layout
11296 \begin_inset Flex Code
11299 \begin_layout Plain Layout
11306 Un salto de línea en la salida se puede indicar con
11307 \begin_inset Flex Code
11310 \begin_layout Plain Layout
11319 \begin_layout Itemize
11320 \begin_inset Flex Code
11323 \begin_layout Plain Layout
11330 \begin_inset Flex Code
11333 \begin_layout Plain Layout
11339 define un delimitador derecho personalizado (en vez de
11340 \begin_inset Flex Code
11343 \begin_layout Plain Layout
11350 \begin_inset Flex Code
11353 \begin_layout Plain Layout
11360 Un salto de línea en la salida se puede indicar con
11361 \begin_inset Flex Code
11364 \begin_layout Plain Layout
11373 \begin_layout Itemize
11374 \begin_inset Flex Code
11377 \begin_layout Plain Layout
11384 \begin_inset Flex Code
11387 \begin_layout Plain Layout
11393 define un argumento que se inserta si y solo si no se han dado argumentos
11394 específicos del usuario, o sea, si no se ha insertado ningún recuadro de
11395 argumento (también un recuadro de argumento vacío omite DefaultArg).
11396 Múltiples argumentos deben separarse con comas.
11399 \begin_layout Itemize
11400 \begin_inset Flex Code
11403 \begin_layout Plain Layout
11410 \begin_inset Flex Code
11413 \begin_layout Plain Layout
11419 define un argumento que se inserta en cualquier caso (solo o añadido a
11420 argumentos especificados por el usuario).
11421 Múltiples argumentos deben separarse con comas.
11424 \begin_layout Itemize
11425 \begin_inset Flex Code
11428 \begin_layout Plain Layout
11434 Tipografía usada para el contenido del argumento, véase
11435 \begin_inset CommandInset ref
11437 reference "subsec:Tipografía"
11444 \begin_layout Itemize
11445 \begin_inset Flex Code
11448 \begin_layout Plain Layout
11454 Tipografía usada para la etiqueta, véase
11455 \begin_inset CommandInset ref
11457 reference "subsec:Tipografía"
11464 \begin_layout Itemize
11465 \begin_inset Flex Code
11468 \begin_layout Plain Layout
11475 \begin_inset Flex Code
11478 \begin_layout Plain Layout
11483 , Minimalistic, Conglomerate
11488 ] describe el estilo de representación para los botones y el marco del recuadro
11492 \begin_layout Itemize
11493 \begin_inset Flex Code
11496 \begin_layout Plain Layout
11503 \begin_inset Flex Code
11506 \begin_layout Plain Layout
11513 \begin_inset Flex Code
11516 \begin_layout Plain Layout
11522 , este argumento se inserta automáticamente cuando se selecciona el estilo
11524 Actualmente solo se puede insertar automaticamente un argumento por estilo\SpecialChar breakableslash
11529 \begin_layout Itemize
11530 \begin_inset Flex Code
11533 \begin_layout Plain Layout
11540 \begin_inset Flex Code
11543 \begin_layout Plain Layout
11550 \begin_inset Flex Code
11553 \begin_layout Plain Layout
11559 , este argumento se insertará con una copia del co-texto (texto seleccionado
11560 o párrafo completo) como contenido.
11563 \begin_layout Itemize
11566 \begin_inset Flex Code
11569 \begin_layout Plain Layout
11578 \begin_inset Flex Code
11581 \begin_layout Plain Layout
11592 ] Whether the contents of this argument should be output in raw form, meaning
11593 without special translations that \SpecialChar LaTeX
11596 \begin_inset Flex Code
11599 \begin_layout Plain Layout
11607 status is inherited by the inset or paragraph layout the argument belongs
11608 to, true and false change the status for the given argument only.
11611 \begin_layout Itemize
11612 \begin_inset Flex Code
11615 \begin_layout Plain Layout
11622 \begin_inset Flex Code
11625 \begin_layout Plain Layout
11626 string of characters
11635 Define caracteres individuales que deberían emitirse en bruto, es decir,
11636 sin traducciones especiales que podría requerir \SpecialChar LaTeX
11638 Al contrario que PassThru, esto debe ser explícitamente definido para argumento
11640 Esto es, los argumentos no heredan PassThruChars de su recuadro de inserción
11644 \begin_layout Itemize
11647 \begin_inset Flex Code
11650 \begin_layout Plain Layout
11659 \begin_inset Flex Code
11662 \begin_layout Plain Layout
11672 \begin_inset space \thinspace{}
11676 \begin_inset Flex Code
11679 \begin_layout Plain Layout
11687 ] If this is set to 1, the argument will output its content in the corresponding
11688 item in the table of contents.
11692 \begin_layout Standard
11693 Por omisión, el texto introducido en el área de trabajo de \SpecialChar LyX
11695 respectivo de formato es el último argumento (obligatorio) de un comando
11697 \begin_inset Flex Code
11700 \begin_layout Plain Layout
11707 \begin_inset Flex Code
11710 \begin_layout Plain Layout
11717 Sin embargo, los argumentos con el prefijo
11718 \begin_inset Flex Code
11721 \begin_layout Plain Layout
11727 se emiten después de este argumento de área de trabajo.
11728 La numeración de este post-argumento reinicia a 1, así que el primer argumento
11729 siguiente al del área de trabajo es
11730 \begin_inset Flex Code
11733 \begin_layout Plain Layout
11740 Los post-argumentos se ignoran en cualquier otro
11741 \begin_inset Flex Code
11744 \begin_layout Plain Layout
11751 \begin_inset Flex Code
11754 \begin_layout Plain Layout
11763 \begin_layout Standard
11764 Los argumentos para
11765 \begin_inset Flex Code
11768 \begin_layout Plain Layout
11776 s de lista (como en
11777 \begin_inset Flex Code
11780 \begin_layout Plain Layout
11788 ) tienen el prefijo
11789 \begin_inset Flex Code
11792 \begin_layout Plain Layout
11798 seguido por el número (p.
11799 \begin_inset space \thinspace{}
11803 \begin_inset space \space{}
11807 \begin_inset Flex Code
11810 \begin_layout Plain Layout
11820 \begin_layout Description
11822 \change_inserted -712698321 1514710560
11825 \begin_inset Flex Code
11828 \begin_layout Plain Layout
11830 \change_inserted -712698321 1514710560
11838 Includes a comma-separated list of layout names that should be nested in
11839 and after the current one.
11840 Only makes sense for nestable layouts (such as environments).
11842 \begin_inset Quotes eld
11846 \begin_inset Flex Code
11849 \begin_layout Plain Layout
11851 \change_inserted -712698321 1514710560
11860 \begin_inset Quotes erd
11865 \begin_inset Flex Code
11868 \begin_layout Plain Layout
11870 \change_inserted -712698321 1514710560
11883 \begin_layout Description
11884 \begin_inset Flex Code
11887 \begin_layout Plain Layout
11893 Esto sobrescribirá completamente cualquier anterior declaración
11894 \begin_inset Newline newline
11898 \begin_inset Flex Code
11901 \begin_layout Plain Layout
11909 \begin_inset Quotes eld
11913 \begin_inset Flex Code
11916 \begin_layout Plain Layout
11923 \begin_inset Quotes erd
11928 \begin_inset space ~
11932 \begin_inset CommandInset ref
11934 reference "subsec:I18n"
11938 para detalles sobre su uso.
11941 \begin_layout Description
11942 \begin_inset Flex Code
11945 \begin_layout Plain Layout
11952 \begin_inset Flex Code
11955 \begin_layout Plain Layout
11965 \begin_layout Plain Layout
11966 Anotar que aquí un 'float' es un número real, como: 1.5.
11971 El espacio vertical con el que el último de una cadena de párrafos con
11972 este estilo se separa del siguiente párrafo.
11973 Si el párrafo siguiente tiene otro estilo, las separaciones no son simplemente
11974 añadidas sino que se pone la máxima.
11977 \begin_layout Description
11978 \begin_inset Flex Code
11981 \begin_layout Plain Layout
11988 \begin_inset Flex Code
11991 \begin_layout Plain Layout
11997 La categoría para este estilo.
11998 Se usa para agrupar estilos relacionados en el recuadro de estilo en la
11999 barra de herramientas.
12000 Se puede poner cualquier cadena en 'string' pero mejor usar categorías
12001 existentes con tus propios estilos.
12004 \begin_layout Description
12005 \begin_inset Flex Code
12008 \begin_layout Plain Layout
12014 Profundidad del comando XML.
12015 Usado solo con formatos tipo XML.
12018 \begin_layout Description
12019 \begin_inset Flex Code
12022 \begin_layout Plain Layout
12029 \begin_inset Flex Code
12032 \begin_layout Plain Layout
12038 Copia todas las características de un estilo existente en el actual.
12042 \begin_layout Description
12043 \begin_inset Flex Code
12046 \begin_layout Plain Layout
12053 \begin_inset Flex Code
12056 \begin_layout Plain Layout
12062 ] El nombre de un estilo cuyo preámbulo debería salir
12067 Esto permite asegurar un orden de los retazos de preámbulo si las definiciones
12068 de macros dependen de otra.
12072 \begin_layout Plain Layout
12073 Anotar que, excepto esta funcionalidad, no hay forma de asegurar ningún
12074 orden de los preámbulos.
12075 El orden que se ve en una versión dada de \SpecialChar LyX
12076 puede cambiar sin previo aviso
12077 en versiones posteriores.
12085 \begin_layout Description
12086 \begin_inset Flex Code
12089 \begin_layout Plain Layout
12096 \begin_inset Flex Code
12099 \begin_layout Plain Layout
12104 , Box, Filled_Box, Static
12109 ] El tipo de etiqueta que se pone al final del párrafo (o secuencia de párrafos
12111 \begin_inset Flex Code
12114 \begin_layout Plain Layout
12121 \begin_inset Flex Code
12124 \begin_layout Plain Layout
12131 \begin_inset Flex Code
12134 \begin_layout Plain Layout
12141 \begin_inset Flex Code
12144 \begin_layout Plain Layout
12152 \begin_inset Flex Code
12155 \begin_layout Plain Layout
12162 \begin_inset Quotes cld
12166 \begin_inset Quotes crd
12170 \begin_inset Flex Code
12173 \begin_layout Plain Layout
12180 \begin_inset Flex Code
12183 \begin_layout Plain Layout
12184 \begin_inset space ~
12192 ) es un cuadrado blanco (resp.
12193 \begin_inset space ~
12196 negro) adecuado para marcas finales de demostraciones,
12197 \begin_inset Flex Code
12200 \begin_layout Plain Layout
12206 es una cadena de texto explícito.
12209 \begin_layout Description
12210 \begin_inset Flex Code
12213 \begin_layout Plain Layout
12220 \begin_inset Flex Code
12223 \begin_layout Plain Layout
12229 ] La secuencia usada para una etiqueta con un
12230 \begin_inset Flex Code
12233 \begin_layout Plain Layout
12240 \begin_inset Flex Code
12243 \begin_layout Plain Layout
12253 \begin_layout Description
12257 \begin_layout Plain Layout
12262 No estoy seguro de que estas configuraciones (Fill_Bottom, Fill_Top) tengan
12263 mucho uso, y probablemente se quitarán en próximas versiones.
12269 \begin_inset Note Note
12272 \begin_layout Plain Layout
12274 \begin_inset Quotes cld
12277 Espacio vertical encima
12278 \begin_inset Quotes crd
12282 \begin_inset Quotes cld
12285 Espacio vertical abajo
12286 \begin_inset Quotes erd
12289 en Editar\SpecialChar menuseparator
12290 Configuración de párrafo, esto parece obsoleto, como dice Jean-Marc
12301 \begin_layout Description
12302 \begin_inset Flex Code
12305 \begin_layout Plain Layout
12311 La tipografía usada para el cuerpo del texto
12317 \begin_inset space ~
12321 \begin_inset CommandInset ref
12323 reference "subsec:Tipografía"
12328 Anotar que al definir esta tipografía se define automáticamente la de la
12330 \begin_inset Flex Code
12333 \begin_layout Plain Layout
12340 Así que debería definirse primero ésta si se quiere definir también
12341 \begin_inset Flex Code
12344 \begin_layout Plain Layout
12353 \begin_layout Description
12354 \begin_inset Flex Code
12357 \begin_layout Plain Layout
12364 \begin_inset Flex Code
12367 \begin_layout Plain Layout
12373 ] Se usa para compatibilizar estilos nuevos a versiones estables de \SpecialChar LyX
12375 La primera versión estable que soporta esta etiqueta es \SpecialChar LyX
12377 El argumento es un número 0, -1 o cualquier valor mayor de cero.
12379 \begin_inset Flex Code
12382 \begin_layout Plain Layout
12388 de un estilo es mayor que cero, se escribirá siempre en la cabecera del
12390 Si un archivo .lyx es leido, las definiciones de estilo de la cabecera del
12391 documento se añaden a la clase de documento.
12392 Por eso, incluso versiones anteriores de \SpecialChar LyX
12393 pueden manejar el estilo.
12395 \begin_inset Flex Code
12398 \begin_layout Plain Layout
12404 es un número de versión: si el estilo es leido, y el número de versión
12405 es menor que el número de versión del estilo existente en la clase de documento
12406 , el nuevo se ignora.
12407 Si el número de versión es mayor, el estilo nuevo reemplaza al existente.
12408 -1 significa un número de versión infinito, o sea, el estilo se usa siempre.
12411 \begin_layout Description
12412 \begin_inset Flex Code
12415 \begin_layout Plain Layout
12424 \begin_inset Flex Code
12427 \begin_layout Plain Layout
12436 \begin_inset space \thinspace{}
12440 \begin_inset Flex Code
12443 \begin_layout Plain Layout
12449 ] Usualmente \SpecialChar LyX
12450 no permite insertar más de un espacio entre palabras, puesto
12451 que un espacio se considera como la separación entre dos palabras, no un
12452 carácter o símbolo por sí mismo.
12453 Esto es una buena cosa pero a veces puede ser molesta, por ejemplo, para
12454 escribir código de programas o de \SpecialChar LaTeX
12456 Por esta razón se puede habilitar
12457 \begin_inset Flex Code
12460 \begin_layout Plain Layout
12467 Anotar que \SpecialChar LyX
12468 creará espacios protegidos para los espacios adicionales en
12469 modos que no sean \SpecialChar LaTeX
12474 \begin_layout Description
12475 \begin_inset Flex Code
12478 \begin_layout Plain Layout
12484 Para la salida XHTML.
12486 \begin_inset CommandInset ref
12488 reference "subsec:Estilos-de-párrafo-XHTML"
12495 \begin_layout Description
12496 \begin_inset Flex Code
12499 \begin_layout Plain Layout
12505 [[FIXME]] (Usado solo con formatos tipo XML.)
12508 \begin_layout Description
12509 \begin_inset Flex Code
12512 \begin_layout Plain Layout
12521 \begin_inset Flex Code
12524 \begin_layout Plain Layout
12535 \begin_inset space \thinspace{}
12539 \begin_inset Flex Code
12542 \begin_layout Plain Layout
12549 \begin_inset Flex Code
12552 \begin_layout Plain Layout
12558 , marca el estilo para ser incluido en el preámbulo del documento en lugar
12559 de en el cuerpo del documento.
12560 Útil para clases de documento que piden informaciones tales como título
12561 y autor en el preámbulo.
12562 Esto solo funciona para estilos para los que
12563 \begin_inset Flex Code
12566 \begin_layout Plain Layout
12573 \begin_inset Flex Code
12576 \begin_layout Plain Layout
12583 \begin_inset Flex Code
12586 \begin_layout Plain Layout
12595 \begin_layout Description
12596 \begin_inset Flex Code
12599 \begin_layout Plain Layout
12608 \begin_inset Flex Code
12611 \begin_layout Plain Layout
12622 \begin_inset space \thinspace{}
12626 \begin_inset Flex Code
12629 \begin_layout Plain Layout
12636 \begin_inset Flex Code
12639 \begin_layout Plain Layout
12645 , marca el estilo como parte de un bloque de título (véanse también las
12647 \begin_inset Flex Code
12650 \begin_layout Plain Layout
12657 \begin_inset Flex Code
12660 \begin_layout Plain Layout
12667 \change_inserted -712698321 1514710606
12671 \begin_layout Description
12673 \change_inserted -712698321 1514710606
12676 \begin_inset Flex Code
12679 \begin_layout Plain Layout
12681 \change_inserted -712698321 1514710606
12689 Includes a comma-separated list of layout names after which this one should
12691 Only makes sense with regard to nestable layouts (such as environments).
12693 \begin_inset Quotes eld
12697 \begin_inset Flex Code
12700 \begin_layout Plain Layout
12702 \change_inserted -712698321 1514710606
12711 \begin_inset Quotes erd
12716 \begin_inset Flex Code
12719 \begin_layout Plain Layout
12721 \change_inserted -712698321 1514710757
12734 \begin_layout Description
12737 \begin_inset Flex Code
12740 \begin_layout Plain Layout
12749 \begin_inset Flex Code
12752 \begin_layout Plain Layout
12762 \begin_inset space \thinspace{}
12766 \begin_inset Flex Code
12769 \begin_layout Plain Layout
12777 ] If this is set to 1 and AddToToc is enabled, the paragraph adds a summary
12778 of its contents in its item in the table of contents.
12779 Otherwise, only the label, if it exists, appears.
12782 \begin_layout Description
12783 \begin_inset Flex Code
12786 \begin_layout Plain Layout
12793 \begin_inset Flex Code
12796 \begin_layout Plain Layout
12802 ] La secuencia de comando \SpecialChar LaTeX
12803 que declara un ítem en una lista.
12804 El comando es para ser definido sin la barra invertida (por omisión es
12806 \begin_inset Quotes eld
12810 \begin_inset Quotes erd
12814 \begin_inset Flex Code
12817 \begin_layout Plain Layout
12825 en la salida \SpecialChar LaTeX
12829 \begin_layout Description
12830 \begin_inset Flex Code
12833 \begin_layout Plain Layout
12840 \begin_inset Flex Code
12843 \begin_layout Plain Layout
12849 ] Esto proporciona espacio extra entre párrafos que tienen el mismo formato.
12850 Si se ponen otros formatos en un entorno, cada uno es separado con el comando
12852 \begin_inset Flex Code
12855 \begin_layout Plain Layout
12862 Pero el conjunto de los ítems del entorno son separados adicionalmente
12864 \begin_inset Flex Code
12867 \begin_layout Plain Layout
12874 Anotar que esto es un
12879 \begin_layout Description
12880 \begin_inset Flex Code
12883 \begin_layout Plain Layout
12889 [[FIXME]] (Usado solo con formatos tipo XML.)
12892 \begin_layout Description
12893 \begin_inset Flex Code
12896 \begin_layout Plain Layout
12905 \begin_inset Flex Code
12908 \begin_layout Plain Layout
12919 \begin_inset space \thinspace{}
12923 \begin_inset Flex Code
12926 \begin_layout Plain Layout
12932 ] Habitualmente, \SpecialChar LyX
12933 no permite dejar un párrafo vacío, porque llevaría a una
12934 salida de \SpecialChar LaTeX
12936 Sin embargo, hay algunos casos donde podría ser útil: en una plantilla
12937 de carta, los campos requeridos pueden proporcionarse vacíos, así el usuario
12938 no los olvida; en algunos casos especiales, se puede usar un estilo que
12939 no contiene texto real como una especie de salto.
12942 \begin_layout Description
12943 \begin_inset Flex Code
12946 \begin_layout Plain Layout
12953 \begin_inset Flex Code
12956 \begin_layout Plain Layout
12962 ] El espacio vertical entre la etiqueta y el cuerpo del texto.
12963 Solo se usa para etiquetas que están sobre el cuerpo del texto (
12964 \begin_inset Flex Code
12967 \begin_layout Plain Layout
12974 \begin_inset Flex Code
12977 \begin_layout Plain Layout
12978 Centered_Top_Environment
12986 \begin_layout Description
12987 \begin_inset Flex Code
12990 \begin_layout Plain Layout
12997 \begin_inset Flex Code
13000 \begin_layout Plain Layout
13006 ] El nombre del contador para numeración automática.
13007 Con el fin de que el contador aparezca con su etiqueta, deberás referenciarla
13009 \begin_inset Flex Code
13012 \begin_layout Plain Layout
13019 Esto funcionará con
13020 \begin_inset Flex Code
13023 \begin_layout Plain Layout
13030 \begin_inset Flex Code
13033 \begin_layout Plain Layout
13040 \begin_inset Flex Code
13043 \begin_layout Plain Layout
13050 \begin_inset Flex Code
13053 \begin_layout Plain Layout
13060 \begin_inset Newline newline
13068 \begin_inset Flex Code
13071 \begin_layout Plain Layout
13078 \begin_inset Flex Code
13081 \begin_layout Plain Layout
13087 , aunque este caso es un poco complicado.
13088 Supongamos que declaras
13089 \begin_inset Quotes eld
13093 \begin_inset Flex Code
13096 \begin_layout Plain Layout
13097 LabelCounter myenum
13103 \begin_inset Quotes erd
13107 Entonces, los contadores reales usados son
13108 \begin_inset Flex Code
13111 \begin_layout Plain Layout
13118 \begin_inset Flex Code
13121 \begin_layout Plain Layout
13128 \begin_inset Flex Code
13131 \begin_layout Plain Layout
13138 \begin_inset Flex Code
13141 \begin_layout Plain Layout
13147 , como en \SpecialChar LaTeX
13149 Estos contadores deben declararse todos por separado.
13150 \begin_inset Newline newline
13154 \begin_inset CommandInset ref
13156 reference "subsec:Contadores"
13160 para detalles sobre contadores
13163 \begin_layout Description
13164 \begin_inset Flex Code
13167 \begin_layout Plain Layout
13173 La tipografía usada para la etiqueta.
13175 \begin_inset space ~
13179 \begin_inset CommandInset ref
13181 reference "subsec:Tipografía"
13188 \begin_layout Description
13189 \begin_inset Flex Code
13192 \begin_layout Plain Layout
13199 \begin_inset Flex Code
13202 \begin_layout Plain Layout
13208 ] Texto que indica cuánto se debe sangrar una etiqueta.
13211 \begin_layout Description
13212 \begin_inset Flex Code
13215 \begin_layout Plain Layout
13222 \begin_inset Flex Code
13225 \begin_layout Plain Layout
13231 ] Texto que indica el valor de espacio horizontal entre la etiqueta y el
13233 Solo se usa para etiquetas que no están sobre el cuerpo del texto.
13236 \begin_layout Description
13237 \begin_inset Flex Code
13240 \begin_layout Plain Layout
13247 \begin_inset Flex Code
13250 \begin_layout Plain Layout
13256 ] La cadena usada para una etiqueta del
13257 \begin_inset Flex Code
13260 \begin_layout Plain Layout
13267 \begin_inset Flex Code
13270 \begin_layout Plain Layout
13278 \begin_inset Flex Code
13281 \begin_layout Plain Layout
13287 está establecido, esta cadena puede contener los comandos especiales de
13288 formato descritos en la sección
13289 \begin_inset space ~
13293 \begin_inset CommandInset ref
13295 reference "subsec:Contadores"
13302 \begin_layout Description
13303 \begin_inset Flex Code
13306 \begin_layout Plain Layout
13307 LabelStringAppendix
13313 \begin_inset Flex Code
13316 \begin_layout Plain Layout
13322 ] Esta se usa en el apéndice en vez de
13323 \begin_inset Flex Code
13326 \begin_layout Plain Layout
13333 Anotar que toda declaración de
13334 \begin_inset Flex Code
13337 \begin_layout Plain Layout
13343 reconfigura también
13344 \begin_inset Newline newline
13348 \begin_inset Flex Code
13351 \begin_layout Plain Layout
13352 LabelStringAppendix
13360 \begin_layout Description
13361 \begin_inset Flex Code
13364 \begin_layout Plain Layout
13370 [FIXME] (Usado solo con formatos tipo XML.)
13373 \begin_layout Description
13374 \begin_inset Flex Code
13377 \begin_layout Plain Layout
13384 \begin_inset Flex Code
13387 \begin_layout Plain Layout
13392 , Manual, Static, Above,
13393 \begin_inset Newline newline
13396 Centered, Sensitive, Enumerate,
13397 \begin_inset Newline newline
13400 Itemize, Bibliography
13409 \begin_layout Description
13410 \begin_inset Flex Code
13413 \begin_layout Plain Layout
13419 significa que la etiqueta es la primera palabra (hasta elprimer espacio
13421 Usa espacios protegidos si quieres más de una palabra como etiqueta.
13425 \begin_layout Description
13426 \begin_inset Flex Code
13429 \begin_layout Plain Layout
13435 significa que la etiqueta es simplemente cualquier
13436 \begin_inset Flex Code
13439 \begin_layout Plain Layout
13445 declarado como tal.
13447 \begin_inset Quotes cld
13451 \begin_inset Quotes crd
13454 al comienzo del párrafo.
13456 \begin_inset Flex Code
13459 \begin_layout Plain Layout
13466 \begin_inset Flex Code
13469 \begin_layout Plain Layout
13475 , entonces se mostrará solo en el primer párrafo de cualquier secuencia
13476 de párrafos con el mismo
13477 \begin_inset Flex Code
13480 \begin_layout Plain Layout
13489 \begin_layout Description
13490 \begin_inset Flex Code
13493 \begin_layout Plain Layout
13500 \begin_inset space ~
13504 \begin_inset space ~
13508 \begin_inset Flex Code
13511 \begin_layout Plain Layout
13517 son casos especiales de
13518 \begin_inset Flex Code
13521 \begin_layout Plain Layout
13528 La etiqueta se imprimirá encima del párrafo, o al inicio de línea o centrado.
13532 \begin_layout Description
13533 \begin_inset Flex Code
13536 \begin_layout Plain Layout
13542 es un caso especial para las etiquetas de las leyendas de
13543 \begin_inset Quotes cld
13547 \begin_inset Quotes crd
13551 \begin_inset Quotes cld
13555 \begin_inset Quotes crd
13560 \begin_inset Flex Code
13563 \begin_layout Plain Layout
13569 quiere decir que la cadena (en código) de la etiqueta depende de la clase
13570 de flotante: Está codificado para ser `FloatType N', donde N es el valor
13571 del contador asociado al flotante.
13572 En el caso en que la leyenda se inserte adosada a un flotante
13573 \begin_inset Flex Code
13576 \begin_layout Plain Layout
13583 \begin_inset Quotes cld
13587 \begin_inset Quotes crd
13593 \begin_layout Description
13594 \begin_inset Flex Code
13597 \begin_layout Plain Layout
13603 produce los tipos habituales de etiquetas de enumeración.
13606 The number type needs to be set in the
13612 \begin_inset CommandInset ref
13614 reference "subsec:Contadores"
13621 \begin_layout Description
13622 \begin_inset Flex Code
13625 \begin_layout Plain Layout
13631 produce varias marcas para los distintos niveles.
13634 The bullet types displayed can be set via
13637 \begin_inset Flex Noun
13640 \begin_layout Plain Layout
13641 Documento\SpecialChar menuseparator
13642 Configuratción\SpecialChar menuseparator
13651 \begin_layout Description
13652 \begin_inset Flex Code
13655 \begin_layout Plain Layout
13661 solo debería emplearse con
13662 \begin_inset Flex Code
13665 \begin_layout Plain Layout
13666 LatexType BibEnvironment
13675 \begin_layout Description
13676 \begin_inset Flex Code
13679 \begin_layout Plain Layout
13685 Esto sobrescribirá completamente cualquier declaración anterior de
13686 \begin_inset Flex Code
13689 \begin_layout Plain Layout
13697 \begin_inset Quotes eld
13701 \begin_inset Flex Code
13704 \begin_layout Plain Layout
13711 \begin_inset Quotes erd
13716 \begin_inset CommandInset ref
13718 reference "subsec:I18n"
13722 para detallessobre su uso.
13725 \begin_layout Description
13726 \begin_inset Flex Code
13729 \begin_layout Plain Layout
13736 \begin_inset Flex Code
13739 \begin_layout Plain Layout
13745 ] El nombre correspondiente en \SpecialChar LaTeX
13746 , ya sea de un comando o de un entorno.
13749 \begin_layout Description
13750 \begin_inset Flex Code
13753 \begin_layout Plain Layout
13760 \begin_inset Flex Code
13763 \begin_layout Plain Layout
13769 ] Un parámetro opcional para el correspondiente
13770 \begin_inset Flex Code
13773 \begin_layout Plain Layout
13780 Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
13782 \begin_inset Flex Code
13785 \begin_layout Plain Layout
13791 para parámetros personalizables).
13792 Se emitirá como tal tras todos los
13793 \begin_inset Flex Code
13796 \begin_layout Plain Layout
13806 \begin_layout Description
13807 \begin_inset Flex Code
13810 \begin_layout Plain Layout
13817 \begin_inset Flex Code
13820 \begin_layout Plain Layout
13825 , Command, Environment, Item_Environment,
13826 \begin_inset Newline newline
13829 List_Environment, Bib_Environment
13834 ] Cómo debería traducirse el estilo a \SpecialChar LaTeX
13839 \begin_layout Plain Layout
13840 \begin_inset Flex Code
13843 \begin_layout Plain Layout
13849 es un poco engañoso porque estas reglas se aplican también a clases SGML.
13850 Consulta los archivos de clases SGML (archivos de nombre
13851 \begin_inset Flex Code
13854 \begin_layout Plain Layout
13860 ) para ejemplos concretos.
13869 \begin_layout Description
13870 \begin_inset Flex Code
13873 \begin_layout Plain Layout
13879 no significa nada especial.
13882 \begin_layout Description
13883 \begin_inset Flex Code
13886 \begin_layout Plain Layout
13893 \begin_inset Flex Code
13896 \begin_layout Plain Layout
13903 {\SpecialChar ldots
13912 \begin_layout Description
13913 \begin_inset Flex Code
13916 \begin_layout Plain Layout
13923 \begin_inset Flex Code
13926 \begin_layout Plain Layout
13933 }\SpecialChar ldots
13948 \begin_layout Description
13949 \begin_inset Flex Code
13952 \begin_layout Plain Layout
13959 \begin_inset Flex Code
13962 \begin_layout Plain Layout
13969 \begin_inset Flex Code
13972 \begin_layout Plain Layout
13980 se genera para cada párrafo de este entorno.
13983 \begin_layout Description
13984 \begin_inset Flex Code
13987 \begin_layout Plain Layout
13994 \begin_inset Flex Code
13997 \begin_layout Plain Layout
14004 \begin_inset Newline newline
14008 \begin_inset Flex Code
14011 \begin_layout Plain Layout
14017 se pasa como un argumento al entorno.
14018 \begin_inset Newline newline
14022 \begin_inset Flex Code
14025 \begin_layout Plain Layout
14031 puede definirse en el diálogo
14032 \begin_inset Flex Noun
14035 \begin_layout Plain Layout
14036 Editar\SpecialChar menuseparator
14037 Configuración de párrafos
14045 \begin_layout Description
14046 \begin_inset Flex Code
14049 \begin_layout Plain Layout
14056 \begin_inset Flex Code
14059 \begin_layout Plain Layout
14065 pero añade además el argumento obligatorio necesario (la etiqueta más larga)
14070 del entorno bibliografía:
14071 \begin_inset Newline newline
14075 \begin_inset Flex Code
14078 \begin_layout Plain Layout
14081 begin{thebibliography}{99}
14086 Por tanto solo es útil para entornos de bibliografía.
14087 La etiqueta más larga predeterminada
14088 \begin_inset Quotes cld
14092 \begin_inset Quotes crd
14095 puede cambiarla el usuario en la configuración de párrafo de un ítem bibliográf
14099 \begin_layout Standard
14100 Poniendo juntas las últimas cosas, la salida \SpecialChar LaTeX
14104 \begin_layout LyX-Code
14107 LatexName[LatexParam]{\SpecialChar ldots
14111 \begin_layout Standard
14115 \begin_layout LyX-Code
14118 begin{LatexName}[LatexParam] \SpecialChar ldots
14124 \begin_layout Standard
14125 dependiendo del tipo de \SpecialChar LaTeX
14130 \begin_layout Description
14131 \begin_inset Flex Code
14134 \begin_layout Plain Layout
14141 \begin_inset Flex Code
14144 \begin_layout Plain Layout
14150 ] Secuencia que se pone al inicio del contenido del estilo.
14151 Un salto de línea en la salida puede indicarse con
14152 \begin_inset Flex Code
14155 \begin_layout Plain Layout
14164 \begin_layout Description
14165 \begin_inset Flex Code
14168 \begin_layout Plain Layout
14175 \begin_inset Flex Code
14178 \begin_layout Plain Layout
14184 ] Si pones estilos en entornos, los
14185 \begin_inset Flex Code
14188 \begin_layout Plain Layout
14194 no son simplemente añadidos, sino aumentados en un factor
14195 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
14199 Anotar que este parámetro se usa también cuando
14200 \begin_inset Flex Code
14203 \begin_layout Plain Layout
14210 \begin_inset Flex Code
14213 \begin_layout Plain Layout
14220 \begin_inset Flex Code
14223 \begin_layout Plain Layout
14230 En ese caso se añade al margen manual o dinámico.
14231 \begin_inset Newline newline
14235 \begin_inset Quotes cld
14239 \begin_inset Flex Code
14242 \begin_layout Plain Layout
14249 \begin_inset Quotes crd
14252 significa que el párrafo se sangra con la anchura de
14253 \begin_inset Quotes cld
14257 \begin_inset Flex Code
14260 \begin_layout Plain Layout
14267 \begin_inset Quotes crd
14270 en la tipografía normal.
14271 Se puede obtener una anchura negativa anteponiendo
14272 \begin_inset Quotes cld
14276 \begin_inset Flex Code
14279 \begin_layout Plain Layout
14286 \begin_inset Quotes crd
14290 Se eligió este método para que el aspecto sea el mismo con cada una de
14291 las tipografías de pantalla usadas.
14294 \begin_layout Description
14295 \begin_inset Flex Code
14298 \begin_layout Plain Layout
14305 \begin_inset Flex Code
14308 \begin_layout Plain Layout
14313 , Manual, Dynamic, First_Dynamic, Right_Address_Box
14319 \begin_inset Newline newline
14322 El tipo de margen que el estilo tiene en el lado izquierdo.
14326 \begin_layout Description
14327 \begin_inset Flex Code
14330 \begin_layout Plain Layout
14336 significa un margen fijo.
14339 \begin_layout Description
14340 \begin_inset Flex Code
14343 \begin_layout Plain Layout
14349 significa que el margen izquierdo depende de la cadena introducida en el
14351 \begin_inset Flex Noun
14354 \begin_layout Plain Layout
14355 Editar\SpecialChar menuseparator
14356 Configuración del párrafo\SpecialChar ldots
14363 Esto se utiliza para componer bonitas listas sin tabuladores.
14366 \begin_layout Description
14367 \begin_inset Flex Code
14370 \begin_layout Plain Layout
14376 significa que el margen depende del tamaño de la etiqueta.
14377 Esto se usa para las cabeceras automáticas de las listas numeradas.
14378 Es obvio que la cabecera
14379 \begin_inset Quotes cld
14382 5.4.3.2.1 Cabecera muy larga
14383 \begin_inset Quotes crd
14386 debe tener un margen izquierdo más amplio (tan ancho como
14387 \begin_inset Quotes cld
14391 \begin_inset Quotes crd
14394 más el espacio) que
14395 \begin_inset Quotes cld
14398 3.2 Cabecera muy larga
14399 \begin_inset Quotes crd
14403 \begin_inset Quotes cld
14406 procesadores de texto
14407 \begin_inset Quotes crd
14410 corrientes no sean capaces de hacer esto.
14413 \begin_layout Description
14414 \begin_inset Flex Code
14417 \begin_layout Plain Layout
14423 es similar, pero solo la primera fila del párrafo es dinámica, mientras
14424 que las demás son estáticas; esto se emplea, por ejemplo, para descripciones.
14427 \begin_layout Description
14428 \begin_inset Flex Code
14431 \begin_layout Plain Layout
14437 significa que el margen se elige de manera que la fila más larga de este
14438 párrafo se adapte al margen derecho.
14439 Esto se emplea para componer una dirección en el lado derecho de la página.
14444 \begin_layout Description
14445 \begin_inset Flex Code
14448 \begin_layout Plain Layout
14455 \begin_inset Flex Code
14458 \begin_layout Plain Layout
14467 \begin_inset space \thinspace{}
14471 \begin_inset Flex Code
14474 \begin_layout Plain Layout
14480 ] Si los comandos frágiles en este estilo deberían ser protegidos,
14481 \begin_inset Flex Code
14484 \begin_layout Plain Layout
14497 si este comando debería él mismo ser protegido.)
14500 \begin_layout Description
14501 \begin_inset Flex Code
14504 \begin_layout Plain Layout
14511 \begin_inset Flex Code
14514 \begin_layout Plain Layout
14521 \begin_inset space \thinspace{}
14525 \begin_inset Flex Code
14528 \begin_layout Plain Layout
14536 ] Si las líneas nuevas se transforman en líneas nuevas \SpecialChar LaTeX
14538 \begin_inset Flex Code
14541 \begin_layout Plain Layout
14552 La transformación puede desactivarse para permitir una edición más confortable
14553 de \SpecialChar LaTeX
14554 en \SpecialChar LyX
14558 \begin_layout Description
14559 \begin_inset Flex Code
14562 \begin_layout Plain Layout
14569 \begin_inset Flex Code
14572 \begin_layout Plain Layout
14581 \begin_inset space \thinspace{}
14585 \begin_inset Flex Code
14588 \begin_layout Plain Layout
14594 ] Si se permite sangrar la primera fila del párrafo siguiente.
14596 \begin_inset Flex Code
14599 \begin_layout Plain Layout
14605 significa que no se permite hacerlo;
14606 \begin_inset Flex Code
14609 \begin_layout Plain Layout
14615 significa que puede hacerse si se desea.
14618 \begin_layout Description
14619 \begin_inset Flex Code
14622 \begin_layout Plain Layout
14629 \begin_inset Flex Code
14632 \begin_layout Plain Layout
14638 ] Nombre de un estilo que ha reemplazado este estilo.
14639 Esto se emplea para renombrar un estilo, mientras que se mantiene compatibilida
14643 \begin_layout Description
14644 \begin_inset Flex Code
14647 \begin_layout Plain Layout
14654 \begin_inset Flex Code
14657 \begin_layout Plain Layout
14664 \begin_inset space \thinspace{}
14668 \begin_inset Flex Code
14671 \begin_layout Plain Layout
14677 ] Determina si párrafos consecutivos del mismo tipo se tratan como si fueran
14679 Esto tiene el efecto de que
14680 \begin_inset Flex Code
14683 \begin_layout Plain Layout
14689 solo se imprime una vez delante de tal grupo.
14690 Por omisión, esto es así para
14691 \begin_inset Flex Code
14694 \begin_layout Plain Layout
14701 \begin_inset Flex Code
14704 \begin_layout Plain Layout
14711 \begin_inset Flex Code
14714 \begin_layout Plain Layout
14720 y no lo es para los demás tipos.
14723 \begin_layout Description
14724 \begin_inset Flex Code
14727 \begin_layout Plain Layout
14734 \begin_inset Flex Code
14737 \begin_layout Plain Layout
14746 \begin_inset space \thinspace{}
14750 \begin_inset Flex Code
14753 \begin_layout Plain Layout
14759 ] Indica que los párrafos no serán separados por una línea vacía en la salida
14761 , solo por un salto de línea; junto con
14762 \begin_inset Flex Code
14765 \begin_layout Plain Layout
14771 , esto permite emular un editor de texto simple (como un recuadro ERT).
14774 \begin_layout Description
14775 \begin_inset Flex Code
14778 \begin_layout Plain Layout
14785 \begin_inset Flex Code
14788 \begin_layout Plain Layout
14794 ] El sangrado de la primera línea de un párrafo.
14796 \begin_inset Flex Code
14799 \begin_layout Plain Layout
14805 estará fijado para un determinado estilo.
14806 La excepción es el estilo
14807 \begin_inset Flex Code
14810 \begin_layout Plain Layout
14816 , puesto que la sangría de un párrafo de estilo
14817 \begin_inset Flex Code
14820 \begin_layout Plain Layout
14826 puede prohibirse con
14827 \begin_inset Flex Code
14830 \begin_layout Plain Layout
14837 Además, los párrafos de estilo
14838 \begin_inset Flex Code
14841 \begin_layout Plain Layout
14847 dentro de entornos usan la sangría
14848 \begin_inset Flex Code
14851 \begin_layout Plain Layout
14857 del entorno, no su propio valor.
14858 Por ejemplo, los párrafos
14859 \begin_inset Flex Code
14862 \begin_layout Plain Layout
14868 en una enumeración no se sangran.
14871 \begin_layout Description
14872 \begin_inset Flex Code
14875 \begin_layout Plain Layout
14882 \begin_inset Flex Code
14885 \begin_layout Plain Layout
14891 ] El espacio vertical entre dos párrafos de este estilo.
14894 \begin_layout Description
14895 \begin_inset Flex Code
14898 \begin_layout Plain Layout
14905 \begin_inset Flex Code
14908 \begin_layout Plain Layout
14915 permite al usuario elegir entre
14916 \begin_inset Quotes cld
14920 \begin_inset Quotes crd
14924 \begin_inset Quotes cld
14928 \begin_inset Quotes crd
14931 para separar párrafos.
14933 \begin_inset Quotes cld
14937 \begin_inset Quotes crd
14940 , este valor es completamente ignorado.
14942 \begin_inset Quotes cld
14946 \begin_inset Quotes crd
14949 , el sangrado de un estilo tipo
14950 \begin_inset Quotes cld
14954 \begin_inset Quotes crd
14957 de \SpecialChar LaTeX
14958 se ignora y todos los párrafos son separados con este argumento
14959 \begin_inset Quotes cld
14963 \begin_inset Quotes crd
14967 El espacio vertical se calcula con
14968 \begin_inset Flex Code
14971 \begin_layout Plain Layout
14973 \begin_inset space ~
14982 \begin_inset Flex Code
14985 \begin_layout Plain Layout
14991 es la altura de una fila con la tipografía normal.
14992 De esta forma, el aspecto queda igual con diferentes tipografías de pantalla.
14995 \begin_layout Description
14996 \begin_inset Flex Code
14999 \begin_layout Plain Layout
15008 \begin_inset Flex Code
15011 \begin_layout Plain Layout
15022 \begin_inset space \thinspace{}
15026 \begin_inset Flex Code
15029 \begin_layout Plain Layout
15035 ] Si el contenido de este párrafo debería aparecer en la salida en forma
15036 cruda, es decir sin las traducciones especiales que \SpecialChar LaTeX
15040 \begin_layout Description
15041 \begin_inset Flex Code
15044 \begin_layout Plain Layout
15051 \begin_inset Flex Code
15054 \begin_layout Plain Layout
15064 Define caracteres individuales que deberían emitirse en bruto, o sea, sin
15065 traducciones especiales que \SpecialChar LaTeX
15069 \begin_layout Description
15070 \begin_inset Flex Code
15073 \begin_layout Plain Layout
15079 Información a incluir en el preámbulo \SpecialChar LaTeX
15080 cuando se usa este estilo.
15081 Utilizado para definir macros, paquetes a cargar, etc., requeridos por este
15082 estilo en particular.
15084 \begin_inset Quotes cld
15088 \begin_inset Flex Code
15091 \begin_layout Plain Layout
15098 \begin_inset Quotes crd
15104 \begin_layout Description
15105 \begin_inset Flex Code
15108 \begin_layout Plain Layout
15115 \begin_inset Flex Code
15118 \begin_layout Plain Layout
15124 ] El prefijo a usar cuando se crean etiquetas que se refieren a párrafos
15126 Esto permite el uso de referencias con formato.
15129 \begin_layout Description
15130 \begin_inset Flex Code
15133 \begin_layout Plain Layout
15142 \begin_inset Flex Code
15145 \begin_layout Plain Layout
15153 Si el estilo requiere la característica
15154 \begin_inset Flex Code
15157 \begin_layout Plain Layout
15164 \begin_inset CommandInset ref
15166 reference "cap:Lista-de-funciones"
15171 Si necesitas un paquete con opciones específicas puedes usar además
15172 \begin_inset Flex Code
15175 \begin_layout Plain Layout
15181 como un parámetro de clase de texto general (véase
15182 \begin_inset CommandInset ref
15184 reference "subsec:Parámetros-generales-clases"
15191 \begin_layout Description
15192 \begin_inset Flex Code
15195 \begin_layout Plain Layout
15202 \begin_inset Flex Code
15205 \begin_layout Plain Layout
15214 \begin_inset Flex Code
15217 \begin_layout Plain Layout
15223 ] Reinicia los argumentos de este estilo (como definido mediante la etiqueta
15225 \begin_inset Flex Code
15228 \begin_layout Plain Layout
15235 Es útil si has copiado un estilo mediante
15236 \begin_inset Flex Code
15239 \begin_layout Plain Layout
15245 , pero no quieres heredar sus argumentos (requerido y opcional).
15248 \begin_layout Description
15251 \begin_inset Flex Code
15254 \begin_layout Plain Layout
15263 \begin_inset Flex Code
15266 \begin_layout Plain Layout
15276 \begin_inset Flex Code
15279 \begin_layout Plain Layout
15287 ] Resumes a counter that is usually reset at each new sequence of layouts.
15288 This is currently only useful when
15289 \begin_inset Flex Code
15292 \begin_layout Plain Layout
15301 \begin_inset Flex Code
15304 \begin_layout Plain Layout
15315 \begin_layout Description
15316 \begin_inset Flex Code
15319 \begin_layout Plain Layout
15326 \begin_inset Flex Code
15329 \begin_layout Plain Layout
15335 ] Secuencia que se pone al final del contenido del formato.
15336 Un salto de línea en la salida se puede indicar con
15337 \begin_inset Flex Code
15340 \begin_layout Plain Layout
15349 \begin_layout Description
15350 \begin_inset Flex Code
15353 \begin_layout Plain Layout
15360 \begin_inset Flex Code
15363 \begin_layout Plain Layout
15370 \begin_inset Flex Code
15373 \begin_layout Plain Layout
15382 \begin_layout Description
15383 \begin_inset Flex Code
15386 \begin_layout Plain Layout
15393 \begin_inset Flex Code
15396 \begin_layout Plain Layout
15405 \begin_inset Flex Code
15408 \begin_layout Plain Layout
15415 \begin_inset Flex Code
15418 \begin_layout Plain Layout
15425 \begin_inset Flex Code
15428 \begin_layout Plain Layout
15430 \begin_inset space ~
15438 ] Esto define cuál debería ser el espacio predefinido en el estilo.
15440 \begin_inset Flex Code
15443 \begin_layout Plain Layout
15450 \begin_inset Flex Code
15453 \begin_layout Plain Layout
15460 \begin_inset Flex Code
15463 \begin_layout Plain Layout
15469 corresponden respectivamente a un multiplicador de 1, 1.25 y 1.667.
15470 Si se especifica el argumento
15471 \begin_inset Flex Code
15474 \begin_layout Plain Layout
15480 , entonces se debería proporcionar además un argumento numérico que será
15481 el valor real del multiplicador.
15482 Anotar que, al contrario que otros parámetros,
15483 \begin_inset Flex Code
15486 \begin_layout Plain Layout
15492 implica la generación de código \SpecialChar LaTeX
15493 específico, usando el paquete \SpecialChar LaTeX
15495 \begin_inset Flex Code
15498 \begin_layout Plain Layout
15507 \begin_layout Description
15508 \begin_inset Flex Code
15511 \begin_layout Plain Layout
15518 \begin_inset Flex Code
15521 \begin_layout Plain Layout
15530 \begin_inset space \thinspace{}
15536 \begin_inset Flex Code
15539 \begin_layout Plain Layout
15547 ] Corrección ortográfica de párrafos de este estilo.
15551 \begin_layout Description
15554 \begin_inset Flex Code
15557 \begin_layout Plain Layout
15566 \begin_inset Flex Code
15569 \begin_layout Plain Layout
15579 \begin_inset Flex Code
15582 \begin_layout Plain Layout
15590 ] Steps the master counter of a given counter at the beginning of a new
15591 sequence of layouts.
15592 This is currently only useful when
15593 \begin_inset Flex Code
15596 \begin_layout Plain Layout
15605 \begin_inset Flex Code
15608 \begin_layout Plain Layout
15619 \begin_layout Description
15620 \begin_inset Flex Code
15623 \begin_layout Plain Layout
15629 La tipografía para el cuerpo del texto.
15631 \begin_inset CommandInset ref
15633 reference "subsec:Tipografía"
15640 \begin_layout Description
15641 \begin_inset Flex Code
15644 \begin_layout Plain Layout
15651 \begin_inset Flex Code
15654 \begin_layout Plain Layout
15660 ] El nivel del estilo en el índice general.
15661 Esto se usa para la numeración automática de los encabezados de sección.
15664 \begin_layout Description
15665 \begin_inset Flex Code
15668 \begin_layout Plain Layout
15677 \begin_inset Flex Code
15680 \begin_layout Plain Layout
15689 \begin_inset Flex Code
15692 \begin_layout Plain Layout
15699 \begin_inset Flex Code
15702 \begin_layout Plain Layout
15708 ] Esta etiqueta determina si la sangría de primera línea de este párrafo
15709 puede conmutarse en el diálogo de configuración del párrafo.
15713 \begin_inset Flex Code
15716 \begin_layout Plain Layout
15726 , la sangría puede conmutarse si la configuración del documento usa estilo
15728 \begin_inset Quotes cld
15732 \begin_inset Quotes crd
15736 \begin_inset Flex Code
15739 \begin_layout Plain Layout
15745 , la sangría se puede conmutar siempre, no importa la configuración del
15747 \begin_inset Flex Code
15750 \begin_layout Plain Layout
15756 , la sangría nunca se puede conmutar.
15759 \begin_layout Description
15760 \begin_inset Flex Code
15763 \begin_layout Plain Layout
15770 \begin_inset Flex Code
15773 \begin_layout Plain Layout
15779 ] El espacio vertical con el que el primero de una cadena de párrafos con
15780 este estilo se separa del párrafo anterior.
15781 Si el párrafo anterior tiene otro estilo, la separación no es simplemente
15782 añadida, sino que se pone la máxima.
15785 \begin_layout Subsection
15786 Internacionalización de estilos de párrafo
15787 \begin_inset CommandInset label
15796 \begin_layout Standard
15798 ha soportado desde hace tiempo la internacionalización de la información
15799 de formato, pero, hasta la versión 2.0, esto se aplicaba solo a la interfaz
15800 de usuario y no a la salida, digamos, PDF.
15801 Así, por ej., autores franceses tenían que acudir a feos trucos para conseguir
15802 `Théorème 1' en vez de `Theorem 1'.
15803 Gracias a Georg Baum, este ya no es el caso.
15806 \begin_layout Standard
15808 \begin_inset Flex Code
15811 \begin_layout Plain Layout
15817 define texto que se mostrará en el documento exportado, puede usar
15818 \begin_inset Flex Code
15821 \begin_layout Plain Layout
15828 \begin_inset Flex Code
15831 \begin_layout Plain Layout
15837 para soportar correctamente documentos con idioma distinto del inglés e
15838 incluso documentos plurilingües.
15839 El siguiente extracto (del archivo
15840 \begin_inset Flex Code
15843 \begin_layout Plain Layout
15849 ) muestra cómo funciona:
15852 \begin_layout LyX-Code
15857 \begin_layout LyX-Code
15860 theoremstyle{remark}
15863 \begin_layout LyX-Code
15866 newtheorem{claim}[thm]{
15873 \begin_layout LyX-Code
15877 \begin_layout LyX-Code
15881 \begin_layout LyX-Code
15886 claimname}{_(Claim)}
15889 \begin_layout LyX-Code
15893 \begin_layout LyX-Code
15897 \begin_layout LyX-Code
15906 claimname}{_(Claim)}}
15909 \begin_layout LyX-Code
15914 \begin_layout Standard
15915 En principio, cualquier \SpecialChar LaTeX
15916 legal puede aparecer en las etiquetas
15917 \begin_inset Flex Code
15920 \begin_layout Plain Layout
15927 \begin_inset Flex Code
15930 \begin_layout Plain Layout
15936 , pero en la práctica el aspecto será generalmente como el mostrado aquí.
15937 La clave para una correcta traducción del texto impreso es la definición
15938 del comando \SpecialChar LaTeX
15940 \begin_inset Flex Code
15943 \begin_layout Plain Layout
15952 \begin_inset Flex Code
15955 \begin_layout Plain Layout
15967 \begin_layout Standard
15969 \begin_inset Flex Code
15972 \begin_layout Plain Layout
15978 proporciona internacionalización basada en el idioma global del documento.
15979 El contenido de la etiqueta se incluirá en el preámbulo, igual que con
15981 \begin_inset Flex Code
15984 \begin_layout Plain Layout
15991 Lo que la hace especial es el uso de la
15992 \begin_inset Quotes eld
15996 \begin_inset Quotes erd
16000 \begin_inset Flex Code
16003 \begin_layout Plain Layout
16009 , que será reemplazada, cuando \SpecialChar LyX
16010 genere la salida \SpecialChar LaTeX
16011 , por la traducción de
16012 su argumento al idioma del documento.
16015 \begin_layout Standard
16017 \begin_inset Flex Code
16020 \begin_layout Plain Layout
16026 es más compleja, puesto que está pensada para dar soporte a documentos
16027 plurilingües y ofrece una interfaz al paquete
16028 \begin_inset Flex Code
16031 \begin_layout Plain Layout
16038 Su contenido se añadirá al preámbulo una vez por cada idioma que aparezca
16040 En este caso, el argumento en
16041 \begin_inset Flex Code
16044 \begin_layout Plain Layout
16050 se reemplazará por su traducción al idioma en cuestión; la expresión
16051 \begin_inset Flex Code
16054 \begin_layout Plain Layout
16060 es reemplazada por el nombre del idioma (el usado por el paquete babel).
16063 \begin_layout Standard
16064 Un documento en alemán que también incluya una sección en francés tendría
16065 lo siguiente en el preámbulo:
16068 \begin_layout LyX-Code
16077 claimname}{Affirmation}}
16078 \begin_inset Newline newline
16089 claimname}{Behauptung}}
16090 \begin_inset Newline newline
16097 claimname}{Behauptung}
16100 \begin_layout Standard
16103 \begin_inset Flex Code
16106 \begin_layout Plain Layout
16112 conspirarán para producir el texto correcto en la salida.
16115 \begin_layout Standard
16116 Un punto importante a tener en cuenta aquí es que las traducciones son proporcio
16117 nadas por el propio \SpecialChar LyX
16118 , por medio del archivo
16119 \begin_inset Flex Code
16122 \begin_layout Plain Layout
16129 Esto quiere decir, en definitiva, que
16130 \begin_inset Flex Code
16133 \begin_layout Plain Layout
16140 \begin_inset Flex Code
16143 \begin_layout Plain Layout
16149 realmente solo son útiles en archivos de formato que son proporcionados
16150 por \SpecialChar LyX
16151 , puesto que el texto introducido en archivos de formato creados por
16152 el usuario no serán tenidos en cuenta por las rutinas de internacionalización
16153 de \SpecialChar LyX
16154 a menos que el archivo
16155 \begin_inset Flex Code
16158 \begin_layout Plain Layout
16164 se modifique como correponde.
16165 Sin embargo, cualquier formato creado con la intención de ser incluido
16166 en \SpecialChar LyX
16167 debería usar estas etiquetas en los lugares apropiados.
16168 Ten en cuenta que las traducciones de estilo de párrafo provistas por \SpecialChar LyX
16170 nunca cambian en actualizaciones menores (p.
16171 \begin_inset space \thinspace{}
16175 \begin_inset space \space{}
16178 de versión 2.1.x a 2.1.y).
16179 Sin embargo es muy probable que en actualizaciones mayores (p.
16180 \begin_inset space \thinspace{}
16184 \begin_inset space \space{}
16187 de 2.0.x a 2.1.y) se introduzcan nuevas traducciones o correcciones.
16190 \begin_layout Subsection
16192 \begin_inset CommandInset label
16194 name "subsec:Flotantes"
16201 \begin_layout Standard
16202 Es necesario definir los flotantes (
16203 \begin_inset Flex Noun
16206 \begin_layout Plain Layout
16213 \begin_inset Flex Noun
16216 \begin_layout Plain Layout
16222 , \SpecialChar ldots
16223 ) en la propia clase de texto.
16224 Los flotantes normales se incluyen en el archivo
16225 \begin_inset Flex Code
16228 \begin_layout Plain Layout
16234 , así que no tendrás más que añadir
16237 \begin_layout LyX-Code
16238 Input stdfloats.inc
16241 \begin_layout Standard
16242 en tu archivo de formato.
16243 Si quieres implementar una clase de texto que proponga algún otro tipo
16244 de flotante (como la clase AGU empaquetada con \SpecialChar LyX
16245 ), la información siguiente
16246 te servirá de ayuda:
16249 \begin_layout Description
16250 \begin_inset Flex Code
16253 \begin_layout Plain Layout
16260 \begin_inset Flex Code
16263 \begin_layout Plain Layout
16269 =!htbpH] Opciones de colocación permitidas para este tipo de flotante.
16270 El valor es una secuencia de caracteres:
16275 \begin_inset Quotes eld
16279 \begin_inset Quotes erd
16287 \begin_inset Quotes eld
16291 \begin_inset Quotes erd
16299 \begin_inset Quotes eld
16303 \begin_inset Quotes erd
16311 \begin_inset Quotes eld
16315 \begin_inset Quotes erd
16323 \begin_inset Quotes eld
16327 \begin_inset Quotes erd
16335 \begin_inset Quotes eld
16339 \begin_inset Quotes erd
16343 El orden no importa.
16344 Si las opciones de colocación no están permitidas usa string
16351 \begin_layout Description
16352 \begin_inset Flex Code
16355 \begin_layout Plain Layout
16362 \begin_inset Flex Code
16365 \begin_layout Plain Layout
16372 \begin_inset space \thinspace{}
16378 \begin_inset Flex Code
16381 \begin_layout Plain Layout
16389 ] Define si el flotante admite rotación mediante el paquete \SpecialChar LaTeX
16396 \begin_inset Flex Code
16399 \begin_layout Plain Layout
16405 si el flotante no soporta esta característica.
16408 \begin_layout Description
16409 \begin_inset Flex Code
16412 \begin_layout Plain Layout
16419 \begin_inset Flex Code
16422 \begin_layout Plain Layout
16429 \begin_inset space \thinspace{}
16435 \begin_inset Flex Code
16438 \begin_layout Plain Layout
16446 ] Define si el flotante tiene una variante asterisco que abarca columnas
16447 en un párrafo de dos columnas.
16449 \begin_inset Flex Code
16452 \begin_layout Plain Layout
16458 si el flotante no soporta esta característica.
16461 \begin_layout Description
16462 \begin_inset Flex Code
16465 \begin_layout Plain Layout
16472 \begin_inset Flex Code
16475 \begin_layout Plain Layout
16482 \begin_inset Quotes erd
16486 \begin_inset Quotes erd
16489 ] La extensión del nombre de un archivo auxiliar para la lista de figuras
16492 escribe las leyendas en este archivo.
16495 \begin_layout Description
16496 \begin_inset Flex Code
16499 \begin_layout Plain Layout
16506 \begin_inset Flex Code
16509 \begin_layout Plain Layout
16516 \begin_inset Quotes erd
16520 \begin_inset Quotes erd
16523 ] La cadena que se usará en los menús y también para la leyenda.
16524 Esto se traduce al idioma actual si se usa.
16527 \begin_layout Description
16528 \begin_inset Flex Code
16531 \begin_layout Plain Layout
16537 Controlan la salida XHTML.
16539 \begin_inset space ~
16543 \begin_inset CommandInset ref
16545 reference "sec:Etiquetas-para-XHTML"
16552 \begin_layout Description
16553 \begin_inset Flex Code
16556 \begin_layout Plain Layout
16565 \begin_inset Flex Code
16568 \begin_layout Plain Layout
16577 \begin_inset space \thinspace{}
16581 \begin_inset Flex Code
16584 \begin_layout Plain Layout
16590 ] Indica si el flotante está ya definido en la clase de documento o si necesitam
16591 os cargar el paquete \SpecialChar LaTeX
16593 \begin_inset Flex Code
16596 \begin_layout Plain Layout
16602 para definirlo sobre la marcha.
16604 \begin_inset Flex Code
16607 \begin_layout Plain Layout
16613 , que significa: usar
16614 \begin_inset Flex Code
16617 \begin_layout Plain Layout
16625 \begin_inset Flex Code
16628 \begin_layout Plain Layout
16634 si el flotante ya está definido por la clase de documento \SpecialChar LaTeX
16638 \begin_layout Description
16639 \begin_inset Flex Code
16642 \begin_layout Plain Layout
16649 \begin_inset Flex Code
16652 \begin_layout Plain Layout
16659 \begin_inset Quotes erd
16663 \begin_inset Quotes erd
16666 ] El comando usado para generar una lista de flotantes de este tipo; debe
16667 omitirse el precedente `
16675 \begin_inset Flex Code
16678 \begin_layout Plain Layout
16684 es `false', puesto que no hay una forma estándar de generar este comando.
16686 \begin_inset Flex Code
16689 \begin_layout Plain Layout
16695 es `true', porque en este caso sí hay una forma estándar de definir el
16699 \begin_layout Description
16700 \begin_inset Flex Code
16703 \begin_layout Plain Layout
16710 \begin_inset Flex Code
16713 \begin_layout Plain Layout
16720 \begin_inset Quotes erd
16724 \begin_inset Quotes erd
16727 ] Un título para una lista de flotantes de este tipo (índice de figuras,
16728 tablas o lo que sea).
16729 Se usa para el nombre del recuadro en \SpecialChar LyX
16730 ; se pasa a \SpecialChar LaTeX
16731 para usarlo como título
16732 allí; y se usa como título en la salida.
16733 Será traducido al idioma del documento.
16736 \begin_layout Description
16737 \begin_inset Flex Code
16740 \begin_layout Plain Layout
16747 \begin_inset Flex Code
16750 \begin_layout Plain Layout
16757 \begin_inset Quotes erd
16761 \begin_inset Quotes erd
16764 ] Este argumento (opcional) determina si los flotantes de esta clase serán
16765 numerados dentro de alguna unidad de sección del documento.
16767 \begin_inset Flex Code
16770 \begin_layout Plain Layout
16777 \begin_inset Quotes cld
16781 \begin_inset Flex Code
16784 \begin_layout Plain Layout
16791 \begin_inset Quotes crd
16794 , los flotantes serán numerados dentro de los capítulos.
16797 \begin_layout Description
16798 \begin_inset Flex Code
16801 \begin_layout Plain Layout
16808 \begin_inset Flex Code
16811 \begin_layout Plain Layout
16818 \begin_inset Quotes erd
16822 \begin_inset Quotes erd
16825 ] La colocación por omisión para la clase dada de flotantes.
16827 \begin_inset Flex Code
16830 \begin_layout Plain Layout
16836 deberá ser un estándar \SpecialChar LaTeX
16838 \begin_inset Flex Code
16841 \begin_layout Plain Layout
16848 \begin_inset Flex Code
16851 \begin_layout Plain Layout
16858 \begin_inset Flex Code
16861 \begin_layout Plain Layout
16868 \begin_inset Flex Code
16871 \begin_layout Plain Layout
16878 \begin_inset Quotes cld
16882 \begin_inset Quotes crd
16886 \begin_inset Quotes cld
16890 \begin_inset Quotes crd
16894 \begin_inset Quotes cld
16898 \begin_inset Quotes crd
16902 \begin_inset Quotes cld
16906 \begin_inset Quotes crd
16909 (aquí), respectivamente.
16913 \begin_layout Plain Layout
16914 Anotar que el orden de estas letras en la cadena es irrelevante, como en
16921 Por encima de éstos hay un nuevo tipo,
16922 \begin_inset Flex Code
16925 \begin_layout Plain Layout
16931 , que no corresponde realmente a un flotante, ya que se refiere a: ponerlo
16933 \begin_inset Quotes cld
16937 \begin_inset Quotes crd
16940 , y en ninguna otra parte.
16941 Anotar que, sin embargo, el colocador
16942 \begin_inset Flex Code
16945 \begin_layout Plain Layout
16951 es especial y, debido a detalles de implementación, no puede usarse en
16952 tipos de flotantes no empotrados.
16953 Si no comprendes lo que esto significa, usa solo
16954 \begin_inset Quotes cld
16958 \begin_inset Flex Code
16961 \begin_layout Plain Layout
16968 \begin_inset Quotes crd
16974 \begin_layout Description
16975 \begin_inset Flex Code
16978 \begin_layout Plain Layout
16985 \begin_inset Flex Code
16988 \begin_layout Plain Layout
16994 ] El prefijo a usar cuando se crean etiquetas referidas a flotantes de este
16996 Esto permite el uso de referencias con formato.
16997 Puedes quitar cualquier
16998 \begin_inset Flex Code
17001 \begin_layout Plain Layout
17007 puesto por un estilo copiado usando el valor especial
17008 \begin_inset Quotes eld
17012 \begin_inset Quotes erd
17015 , todas mayúsculas.
17018 \begin_layout Description
17019 \begin_inset Flex Code
17022 \begin_layout Plain Layout
17029 \begin_inset Flex Code
17032 \begin_layout Plain Layout
17039 \begin_inset Quotes erd
17043 \begin_inset Quotes erd
17046 ] El estilo usado cuando se define el flotante con
17047 \begin_inset Flex Code
17050 \begin_layout Plain Layout
17061 \begin_layout Description
17062 \begin_inset Flex Code
17065 \begin_layout Plain Layout
17072 \begin_inset Flex Code
17075 \begin_layout Plain Layout
17082 \begin_inset Quotes erd
17086 \begin_inset Quotes erd
17090 \begin_inset Quotes cld
17094 \begin_inset Quotes crd
17097 de la nueva clase de flotante, como programa o algoritmo.
17098 Después del apropiado
17099 \begin_inset Flex Code
17102 \begin_layout Plain Layout
17110 , comandos tales como
17111 \begin_inset Flex Code
17114 \begin_layout Plain Layout
17123 \begin_inset Flex Code
17126 \begin_layout Plain Layout
17134 estarán disponibles.
17137 \begin_layout Description
17138 \begin_inset Flex Code
17141 \begin_layout Plain Layout
17148 \begin_inset Flex Code
17151 \begin_layout Plain Layout
17158 \begin_inset space \thinspace{}
17162 \begin_inset Flex Code
17165 \begin_layout Plain Layout
17173 ] Nos dice si este flotante se define usando el paquete \SpecialChar LaTeX
17175 \begin_inset Flex Code
17178 \begin_layout Plain Layout
17184 , bien por el archivo de clase o por un paquete, o bien sobre la marcha
17185 por el propio \SpecialChar LyX
17189 \begin_layout Standard
17190 Anotar que al definir un flotante con tipo
17191 \begin_inset Flex Code
17194 \begin_layout Plain Layout
17202 automáticamente se define el correspondiente contador con nombre
17203 \begin_inset Flex Code
17206 \begin_layout Plain Layout
17217 \begin_layout Subsection
17218 Recuadros flexibles y formato del recuadro
17219 \begin_inset CommandInset label
17221 name "subsec:estilo-del-texto"
17228 \begin_layout Standard
17229 Los recuadros flexibles son de tres tipos:
17232 \begin_layout Itemize
17234 \begin_inset Flex Code
17237 \begin_layout Plain Layout
17243 ): estos definen diseños semánticos correspondientes a comandos \SpecialChar LaTeX
17245 \begin_inset Flex Code
17248 \begin_layout Plain Layout
17257 \begin_inset Flex Code
17260 \begin_layout Plain Layout
17271 \begin_layout Itemize
17272 definido por el usuario (
17273 \begin_inset Flex Code
17276 \begin_layout Plain Layout
17282 ): estos se pueden usar para definir recuadros plegables personalizados,
17283 del tipo de los de código \SpecialChar TeX
17284 , notas al pie y similares.
17285 Un ejemplo obvio es un recuadro de nota final, definido en el módulo del
17287 \begin_inset Flex Code
17290 \begin_layout Plain Layout
17299 \begin_layout Itemize
17301 \begin_inset Flex Code
17304 \begin_layout Plain Layout
17310 ): para usar con las clases DocBook.
17313 \begin_layout Standard
17314 Los recuadros flexibles se definen usando la etiqueta
17315 \begin_inset Flex Code
17318 \begin_layout Plain Layout
17324 , que se explicará en un momento.
17327 \begin_layout Standard
17329 \begin_inset Flex Code
17332 \begin_layout Plain Layout
17338 también sirve para otra función: puede utilizarse para personalizar el
17339 diseño general de muchos tipos diferentes de recuadros.
17341 \begin_inset Flex Code
17344 \begin_layout Plain Layout
17350 permite personalizar los parámetros de diseño de notas al pie, notas al
17351 margen, notas, recuadros de código \SpecialChar TeX
17352 (ERT), ramas, listados de programa,
17353 índices, cuadros, tablas, algoritmos, URL, y leyendas, así como para definir
17354 recuadros flexibles.
17357 \begin_layout Standard
17359 \begin_inset Flex Code
17362 \begin_layout Plain Layout
17368 debe comenzar con una línea de la forma:
17371 \begin_layout LyX-Code
17375 \begin_layout Standard
17377 \begin_inset Flex Code
17380 \begin_layout Plain Layout
17386 indica el recuadro cuyo formato se va a definir, y hay cuatro casos.
17389 \begin_layout Enumerate
17390 Se va a modificar el formato para un tipo de recuadro preexistente.
17392 \begin_inset Flex Code
17395 \begin_layout Plain Layout
17401 puede ser uno cualquiera de los siguientes:
17402 \begin_inset Flex Code
17405 \begin_layout Plain Layout
17412 \begin_inset Flex Code
17415 \begin_layout Plain Layout
17422 \begin_inset Flex Code
17425 \begin_layout Plain Layout
17432 \begin_inset Flex Code
17435 \begin_layout Plain Layout
17442 \begin_inset Flex Code
17445 \begin_layout Plain Layout
17452 \begin_inset Flex Code
17455 \begin_layout Plain Layout
17462 \begin_inset Flex Code
17465 \begin_layout Plain Layout
17472 \begin_inset Flex Code
17475 \begin_layout Plain Layout
17482 \begin_inset Flex Code
17485 \begin_layout Plain Layout
17492 \begin_inset Flex Code
17495 \begin_layout Plain Layout
17502 \begin_inset Flex Code
17505 \begin_layout Plain Layout
17512 \begin_inset Flex Code
17515 \begin_layout Plain Layout
17522 \begin_inset Flex Code
17525 \begin_layout Plain Layout
17532 \begin_inset Flex Code
17535 \begin_layout Plain Layout
17542 \begin_inset Flex Code
17545 \begin_layout Plain Layout
17552 \begin_inset Flex Code
17555 \begin_layout Plain Layout
17562 \begin_inset Flex Code
17565 \begin_layout Plain Layout
17572 \begin_inset Flex Code
17575 \begin_layout Plain Layout
17582 \begin_inset Flex Code
17585 \begin_layout Plain Layout
17592 \begin_inset Flex Code
17595 \begin_layout Plain Layout
17605 \begin_layout Enumerate
17606 Se va a definir el formato para un recuadro flexible.
17608 \begin_inset Flex Code
17611 \begin_layout Plain Layout
17618 \begin_inset Quotes cld
17622 \begin_inset Flex Code
17625 \begin_layout Plain Layout
17632 \begin_inset Quotes crd
17636 \begin_inset Flex Code
17639 \begin_layout Plain Layout
17645 ser cualquier identificador válido no utilizado por un recuadro preexistente.
17646 El identificador puede incluir espacios, pero en este caso debe ponerse
17647 todo entre comillas.
17648 Ten en cuenta que la definición de un flexible debe incluir
17653 \begin_inset Flex Code
17656 \begin_layout Plain Layout
17663 declarando qué tipo de recuadro define.
17666 \begin_layout Enumerate
17667 Se va a definir el formato para rama específica de usuario.
17669 \begin_inset Flex Code
17672 \begin_layout Plain Layout
17678 debe ser de la forma
17679 \begin_inset Quotes cld
17683 \begin_inset Flex Code
17686 \begin_layout Plain Layout
17693 \begin_inset Quotes crd
17697 \begin_inset Flex Code
17700 \begin_layout Plain Layout
17706 puede ser cualquier identificador válido de rama definido en el documento
17708 Este identificador puede incluir espacios, pero, en ese caso todo debe
17710 El propósito principal de esta característica es permitir a \SpecialChar LaTeX
17712 específicas como necesite el usuario.
17715 \begin_layout Enumerate
17716 Se va a definir el formato de una leyenda específica de usuario (o clase).
17718 \begin_inset Flex Code
17721 \begin_layout Plain Layout
17727 debe ser de la forma
17728 \begin_inset Quotes cld
17732 \begin_inset Flex Code
17735 \begin_layout Plain Layout
17742 \begin_inset Quotes crd
17746 \begin_inset Flex Code
17749 \begin_layout Plain Layout
17755 especifica el nombre de la leyenda como aparece en el menú.
17756 Repasa la leyenda estándar (
17757 \begin_inset Flex Code
17760 \begin_layout Plain Layout
17766 ), las leyendas específicas de las clases KOMA-Script (
17767 \begin_inset Flex Code
17770 \begin_layout Plain Layout
17777 \begin_inset Flex Code
17780 \begin_layout Plain Layout
17789 \begin_inset space ~
17795 \begin_inset Flex Code
17798 \begin_layout Plain Layout
17804 ) para aplicaciones.
17807 \begin_layout Standard
17809 \begin_inset Flex Code
17812 \begin_layout Plain Layout
17818 puede contener las siguientes entradas:
17821 \begin_layout Description
17824 \begin_inset Flex Code
17827 \begin_layout Plain Layout
17836 \begin_inset Flex Code
17839 \begin_layout Plain Layout
17847 =""] This inset will appear in the table of contents of the given type.
17848 An empty string disables.
17849 See also the OutlinerName and the IsTocCaption commands.
17850 This is only implemented for Flex insets.
17854 \begin_layout Description
17855 \begin_inset Flex Code
17858 \begin_layout Plain Layout
17865 \begin_inset Flex Code
17868 \begin_layout Plain Layout
17874 ] Define el número de argumento de un comando\SpecialChar breakableslash
17875 entorno asociado con el formato
17877 La definición debe terminar con
17878 \begin_inset Flex Code
17881 \begin_layout Plain Layout
17889 \begin_inset CommandInset ref
17891 reference "subsec:Estilos-de-párrafo"
17898 \begin_layout Description
17899 \begin_inset Flex Code
17902 \begin_layout Plain Layout
17908 Preámbulo para comandos de cambio de idioma; véase
17909 \begin_inset CommandInset ref
17911 reference "subsec:I18n"
17918 \begin_layout Description
17919 \begin_inset Flex Code
17922 \begin_layout Plain Layout
17929 \begin_inset Flex Code
17932 \begin_layout Plain Layout
17938 ] El color para el fondo del recuadro.
17939 Véase la lista de colores en
17940 \begin_inset CommandInset ref
17942 reference "cap:Nombres-de-colores"
17949 \begin_layout Description
17950 \begin_inset Flex Code
17953 \begin_layout Plain Layout
17960 \begin_inset Flex Code
17963 \begin_layout Plain Layout
17972 \begin_inset space \thinspace{}
17976 \begin_inset Flex Code
17979 \begin_layout Plain Layout
17985 ] Si usar no el contenido del recuadro como etiqueta del mismo cuando el
17986 recuadro se cierra.
17987 Por omisión, falso.
17990 \begin_layout Description
17991 \begin_inset Flex Code
17994 \begin_layout Plain Layout
18001 \begin_inset Flex Code
18004 \begin_layout Plain Layout
18010 ] Como los estilos de párrafo, véase
18011 \begin_inset CommandInset ref
18013 reference "subsec:Estilos-de-párrafo"
18018 Ten en cuenta que debes especificar el tipo completo, p.
18019 \begin_inset space \thinspace{}
18023 \begin_inset space ~
18027 \begin_inset Flex Code
18030 \begin_layout Plain Layout
18031 CopyStyle Flex:<name>
18039 \begin_layout Description
18040 \begin_inset Flex Code
18043 \begin_layout Plain Layout
18050 \begin_inset Flex Code
18053 \begin_layout Plain Layout
18062 \begin_inset space \thinspace{}
18066 \begin_inset Flex Code
18069 \begin_layout Plain Layout
18075 ] Indica si el usuario puede emplear el diálogo Configuración del párrafo
18076 para modificar el párrafo.
18079 \begin_layout Description
18080 \begin_inset Flex Code
18083 \begin_layout Plain Layout
18090 \begin_inset Flex Code
18093 \begin_layout Plain Layout
18100 \begin_inset Flex Code
18103 \begin_layout Plain Layout
18110 \begin_inset Flex Code
18113 \begin_layout Plain Layout
18119 , que describe el estilo de presentación para el marco y los botones del
18121 Las notas al pie usan generalmente
18122 \begin_inset Flex Code
18125 \begin_layout Plain Layout
18131 , los recuadros de código \SpecialChar TeX
18133 \begin_inset Flex Code
18136 \begin_layout Plain Layout
18142 , y los de estilos del texto
18143 \begin_inset Flex Code
18146 \begin_layout Plain Layout
18155 \begin_layout Description
18156 \begin_inset Flex Code
18159 \begin_layout Plain Layout
18166 \begin_inset Flex Code
18169 \begin_layout Plain Layout
18176 \begin_inset space \thinspace{}
18180 \begin_inset Flex Code
18183 \begin_layout Plain Layout
18192 \begin_inset Flex Code
18195 \begin_layout Plain Layout
18202 \begin_inset Flex Code
18205 \begin_layout Plain Layout
18212 Indica si el entorno se ubicará en su propio espacio en la salida o si
18213 aparecerá en línea con el texto circundante.
18214 Si se pone falso, se supone que el entorno \SpecialChar LaTeX
18215 ignora los espacios en blanco
18216 (incluyendo un carácter de línea nueva) después de las etiquetas
18217 \begin_inset Flex Code
18220 \begin_layout Plain Layout
18233 \begin_inset Flex Code
18236 \begin_layout Plain Layout
18249 Por omisión, verdadero.
18252 \begin_layout Description
18253 \begin_inset Flex Code
18256 \begin_layout Plain Layout
18262 Requerido al final de las declaraciones de formato del recuadro
18263 \begin_inset Flex Code
18266 \begin_layout Plain Layout
18275 \begin_layout Description
18276 \begin_inset Flex Code
18279 \begin_layout Plain Layout
18285 La tipografía usada tanto para el cuerpo del texto como para la etiqueta.
18287 \begin_inset CommandInset ref
18289 reference "subsec:Tipografía"
18294 Anotar que al definir esta tipografía se define automáticamente el mismo
18295 valor para la etiqueta,
18296 \begin_inset Flex Code
18299 \begin_layout Plain Layout
18305 , así que define aquella primero y después define
18306 \begin_inset Flex Code
18309 \begin_layout Plain Layout
18315 si las quieres diferentes.
18318 \begin_layout Description
18319 \begin_inset Flex Code
18322 \begin_layout Plain Layout
18323 FixedWidthPreambleEncoding
18329 \begin_inset Flex Code
18332 \begin_layout Plain Layout
18341 \begin_inset space \thinspace{}
18345 \begin_inset Flex Code
18348 \begin_layout Plain Layout
18354 ] Fuerza una codificación de ancho fijo para el contenido traducido del
18356 \begin_inset Flex Code
18359 \begin_layout Plain Layout
18366 \begin_inset Flex Code
18369 \begin_layout Plain Layout
18375 generado por este formato.
18376 Esto es necesario para paquetes especiales \SpecialChar LaTeX
18381 que no trabajan con codificaciones de ancho variable como
18386 Esta configuración se ignora si se usan soportes \SpecialChar LaTeX
18387 compatibles totalmente
18388 con Unicode como Xe\SpecialChar TeX
18389 o Lua\SpecialChar TeX
18393 \begin_layout Description
18394 \begin_inset Flex Code
18397 \begin_layout Plain Layout
18398 ForceLocalFontSwitch
18404 \begin_inset Flex Code
18407 \begin_layout Plain Layout
18416 \begin_inset space \thinspace{}
18420 \begin_inset Flex Code
18423 \begin_layout Plain Layout
18429 ] Cuando se usa babel, usar siempre un cambiador de fuente local (
18430 \begin_inset Flex Code
18433 \begin_layout Plain Layout
18441 ), nunca uno global (como
18442 \begin_inset Flex Code
18445 \begin_layout Plain Layout
18456 \begin_layout Description
18457 \begin_inset Flex Code
18460 \begin_layout Plain Layout
18467 \begin_inset Flex Code
18470 \begin_layout Plain Layout
18479 \begin_inset space \thinspace{}
18483 \begin_inset Flex Code
18486 \begin_layout Plain Layout
18493 \begin_inset Quotes cld
18497 \begin_inset Quotes crd
18500 que genera salida Izquierda-Derecha (latin), p.
18501 \begin_inset space \thinspace{}
18505 \begin_inset space \space{}
18508 en código \SpecialChar TeX
18513 \begin_layout Description
18514 \begin_inset Flex Code
18517 \begin_layout Plain Layout
18524 \begin_inset Flex Code
18527 \begin_layout Plain Layout
18536 \begin_inset space \thinspace{}
18540 \begin_inset Flex Code
18543 \begin_layout Plain Layout
18549 ] Fuerza un salto de línea en la salida \SpecialChar LaTeX
18550 antes de iniciarse el recuadro
18551 de inserción y después de finalizar.
18552 Esto asegura que el recuadro mismo se ubique en sus propias líneas, con
18556 \begin_layout Description
18557 \begin_inset Flex Code
18560 \begin_layout Plain Layout
18567 \begin_inset Flex Code
18570 \begin_layout Plain Layout
18579 \begin_inset space \thinspace{}
18583 \begin_inset Flex Code
18586 \begin_layout Plain Layout
18592 ] Indica si debería usarse
18593 \begin_inset Flex Code
18596 \begin_layout Plain Layout
18602 o, por el contrario el usuario puede cambiar el estilo de párrafo del recuadro.
18605 \begin_layout Description
18606 \begin_inset Flex Code
18609 \begin_layout Plain Layout
18618 \begin_inset Flex Code
18621 \begin_layout Plain Layout
18630 \begin_inset space \thinspace{}
18634 \begin_inset Flex Code
18637 \begin_layout Plain Layout
18643 ] Como en estilos de párrafo, véase
18644 \begin_inset CommandInset ref
18646 reference "subsec:Estilos-de-párrafo"
18653 \begin_layout Description
18654 \begin_inset Flex Code
18657 \begin_layout Plain Layout
18663 Controlan la salida XHTML.
18665 \begin_inset CommandInset ref
18667 reference "sec:Etiquetas-para-XHTML"
18674 \begin_layout Description
18675 \begin_inset Flex Code
18678 \begin_layout Plain Layout
18685 \begin_inset Flex Code
18688 \begin_layout Plain Layout
18697 \begin_inset space \thinspace{}
18701 \begin_inset Flex Code
18704 \begin_layout Plain Layout
18710 ] Incluye o no el contenido de este inset en la cadena generada para el
18711 panel 'Navegador de contorno'
18713 for all table of contents, regardless of the AddToToc setting
18716 El no sería, por ejemplo, para que el contenido de una nota al pie en un
18717 encabezado de sección no aparezca en el índice que se despliega en el navegador
18718 de contorno, sin embargo, normalmente sí se incluiría el contenido de un
18719 estilo de carácter.
18720 Predeterminado es false: no incluir.
18723 \begin_layout Description
18726 \begin_inset Flex Code
18729 \begin_layout Plain Layout
18738 \begin_inset Flex Code
18741 \begin_layout Plain Layout
18751 \begin_inset space \thinspace{}
18755 \begin_inset Flex Code
18758 \begin_layout Plain Layout
18766 ] If this is set to 1 and AddToToc is enabled, the inset adds a summary
18767 of its contents in its item in the table of contents.
18768 Otherwise, only the label appears.
18771 \begin_layout Description
18772 \begin_inset Flex Code
18775 \begin_layout Plain Layout
18784 \begin_inset Flex Code
18787 \begin_layout Plain Layout
18798 \begin_inset space \thinspace{}
18802 \begin_inset Flex Code
18805 \begin_layout Plain Layout
18811 ] Como en estilos de párrafo, véase
18812 \begin_inset CommandInset ref
18814 reference "subsec:Estilos-de-párrafo"
18821 \begin_layout Description
18822 \begin_inset Flex Code
18825 \begin_layout Plain Layout
18831 La tipografía para la etiqueta.
18833 \begin_inset CommandInset ref
18835 reference "subsec:Tipografía"
18840 Anotar que esta definición nunca puede aparecer antes de
18841 \begin_inset Flex Code
18844 \begin_layout Plain Layout
18850 , para que sea efectiva.
18853 \begin_layout Description
18854 \begin_inset Flex Code
18857 \begin_layout Plain Layout
18864 \begin_inset Flex Code
18867 \begin_layout Plain Layout
18874 \begin_inset Quotes erd
18878 \begin_inset Quotes erd
18881 ] Lo que se mostrará sobre el botón u otra parte como etiqueta del recuadro.
18882 Algunos tipos de recuadro (
18883 \begin_inset Flex Code
18886 \begin_layout Plain Layout
18887 código \SpecialChar TeX
18894 \begin_inset Flex Code
18897 \begin_layout Plain Layout
18903 ) modifican esta etiqueta sobre la marcha.
18906 \begin_layout Description
18907 \begin_inset Flex Code
18910 \begin_layout Plain Layout
18916 Preámbulo dependiente del idioma; véase
18917 \begin_inset CommandInset ref
18919 reference "subsec:I18n"
18926 \begin_layout Description
18927 \begin_inset Flex Code
18930 \begin_layout Plain Layout
18937 \begin_inset Flex Code
18940 \begin_layout Plain Layout
18946 ] El nombre \SpecialChar LaTeX
18947 correspondiente al asunto.
18948 Cualquier nombre de entorno o de comando.
18951 \begin_layout Description
18952 \begin_inset Flex Code
18955 \begin_layout Plain Layout
18962 \begin_inset Flex Code
18965 \begin_layout Plain Layout
18971 ] El parámetro opcional para el correspondiente
18972 \begin_inset Flex Code
18975 \begin_layout Plain Layout
18981 , incluyendo posibles pares de corchetes,
18982 \begin_inset Flex Code
18985 \begin_layout Plain Layout
18992 Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
18994 \begin_inset Flex Code
18997 \begin_layout Plain Layout
19003 para parámetros personalizables).
19004 Se emitirá como tal después de todos los
19005 \begin_inset Flex Code
19008 \begin_layout Plain Layout
19018 \begin_layout Description
19019 \begin_inset Flex Code
19022 \begin_layout Plain Layout
19029 \begin_inset Flex Code
19032 \begin_layout Plain Layout
19033 Command, Environment, None
19038 ] Cómo debería traducirse el estilo en \SpecialChar LaTeX
19043 \begin_layout Plain Layout
19044 \begin_inset Flex Code
19047 \begin_layout Plain Layout
19053 es quizás un poco confuso porque estas eglas se aplican también a clases.
19054 Mira los archivos de clase SGML para ejemplos concretos.
19063 \begin_layout Description
19064 \begin_inset Flex Code
19067 \begin_layout Plain Layout
19073 significa nada especial
19076 \begin_layout Description
19077 \begin_inset Flex Code
19080 \begin_layout Plain Layout
19087 \begin_inset Flex Code
19090 \begin_layout Plain Layout
19097 {\SpecialChar ldots
19106 \begin_layout Description
19107 \begin_inset Flex Code
19110 \begin_layout Plain Layout
19117 \begin_inset Flex Code
19120 \begin_layout Plain Layout
19127 }\SpecialChar ldots
19142 \begin_layout Standard
19143 Poniendo juntas las últimas cosas, la salida \SpecialChar LaTeX
19147 \begin_layout LyX-Code
19150 LatexName[LatexParam]{\SpecialChar ldots
19154 \begin_layout Standard
19158 \begin_layout LyX-Code
19161 begin{LatexName}[LatexParam] \SpecialChar ldots
19167 \begin_layout Standard
19168 dependiendo del tipo de \SpecialChar LaTeX
19173 \begin_layout Description
19174 \begin_inset Flex Code
19177 \begin_layout Plain Layout
19184 \begin_inset Flex Code
19187 \begin_layout Plain Layout
19193 ] Secuencia que se pone al comienzo del contenido del formato.
19194 Un salto de línea en la salida se indica con
19195 \begin_inset Flex Code
19198 \begin_layout Plain Layout
19207 \begin_layout Description
19208 \begin_inset Flex Code
19211 \begin_layout Plain Layout
19218 \begin_inset Flex Code
19221 \begin_layout Plain Layout
19228 \begin_inset Flex Code
19231 \begin_layout Plain Layout
19238 \begin_inset Flex Code
19241 \begin_layout Plain Layout
19248 \begin_inset Flex Code
19251 \begin_layout Plain Layout
19257 (indicando una definición ficticia que finaliza definiciones de estilos
19259 Esta entrada es requerida y solo es significativa para recuadros flexibles.
19260 Entre otras cosas, determina en qué menús aparecerá este recuadro.
19262 \begin_inset Flex Code
19265 \begin_layout Plain Layout
19272 \begin_inset Flex Code
19275 \begin_layout Plain Layout
19282 \begin_inset Flex Code
19285 \begin_layout Plain Layout
19292 \begin_inset Flex Code
19295 \begin_layout Plain Layout
19307 \begin_inset Flex Code
19310 \begin_layout Plain Layout
19316 se puede poner como verdadero, o
19317 \begin_inset Flex Code
19320 \begin_layout Plain Layout
19330 e, para recuadros de estilos
19331 \begin_inset Flex Code
19334 \begin_layout Plain Layout
19345 \begin_inset Flex Code
19348 \begin_layout Plain Layout
19357 \begin_layout Description
19358 \begin_inset Flex Code
19361 \begin_layout Plain Layout
19368 \begin_inset Flex Code
19371 \begin_layout Plain Layout
19380 \begin_inset space \thinspace{}
19384 \begin_inset Flex Code
19387 \begin_layout Plain Layout
19393 ] Indica si se permiten múltiples párrafos en este recuadro.
19394 Además establecerá para CustomPars el mismo valor y para ForcePlain el
19396 Estos pueden modificarse a otros valores si se usan
19403 \begin_layout Description
19404 \begin_inset Flex Code
19407 \begin_layout Plain Layout
19414 \begin_inset Flex Code
19417 \begin_layout Plain Layout
19426 \begin_inset space \thinspace{}
19430 \begin_inset Flex Code
19433 \begin_layout Plain Layout
19439 ] Si los comandos frágiles deben o no ser
19440 \begin_inset Flex Code
19443 \begin_layout Plain Layout
19451 'ed en este recuadro.
19456 si el comando mismo debe ser protegido
19461 \begin_layout Description
19462 \begin_inset Flex Code
19465 \begin_layout Plain Layout
19472 \begin_inset Flex Code
19475 \begin_layout Plain Layout
19482 \begin_inset Flex Code
19485 \begin_layout Plain Layout
19494 \begin_layout Description
19495 \begin_inset Flex Code
19498 \begin_layout Plain Layout
19505 \begin_inset Flex Code
19508 \begin_layout Plain Layout
19515 \begin_inset Flex Code
19518 \begin_layout Plain Layout
19524 que ha recolocado este
19525 \begin_inset Flex Code
19528 \begin_layout Plain Layout
19535 Se usa para renombrar un
19536 \begin_inset Flex Code
19539 \begin_layout Plain Layout
19545 , mientras se mantiene compatibilidad hacia atrás.
19548 \begin_layout Description
19549 \begin_inset Flex Code
19552 \begin_layout Plain Layout
19559 \begin_inset Flex Code
19562 \begin_layout Plain Layout
19571 \begin_inset space \thinspace{}
19575 \begin_inset Flex Code
19578 \begin_layout Plain Layout
19584 ] Igual que para estilos de párrafo, véase
19585 \begin_inset CommandInset ref
19587 reference "subsec:Estilos-de-párrafo"
19592 Por omisión es falso.
19595 \begin_layout Description
19596 \begin_inset Flex Code
19599 \begin_layout Plain Layout
19608 \begin_inset Flex Code
19611 \begin_layout Plain Layout
19622 \begin_inset space \thinspace{}
19626 \begin_inset Flex Code
19629 \begin_layout Plain Layout
19635 ] Igual que para estilos de párrafo, véase
19636 \begin_inset CommandInset ref
19638 reference "subsec:Estilos-de-párrafo"
19645 \begin_layout Description
19646 \begin_inset Flex Code
19649 \begin_layout Plain Layout
19655 Igual que para estilos de párrafo, véase
19656 \begin_inset CommandInset ref
19658 reference "subsec:Estilos-de-párrafo"
19665 \begin_layout Description
19666 \begin_inset Flex Code
19669 \begin_layout Plain Layout
19676 \begin_inset Flex Code
19679 \begin_layout Plain Layout
19685 ] Prefijo a usar cuando se crean etiquetas que se refieren a recuadros de
19687 Esto permite el uso de referencias con formato.
19690 \begin_layout Description
19691 \begin_inset Flex Code
19694 \begin_layout Plain Layout
19701 \begin_inset Flex Code
19704 \begin_layout Plain Layout
19710 ] Igual que para estilos de párrafo, véase
19711 \begin_inset CommandInset ref
19713 reference "subsec:Estilos-de-párrafo"
19720 \begin_layout Description
19721 \begin_inset Flex Code
19724 \begin_layout Plain Layout
19731 \begin_inset Flex Code
19734 \begin_layout Plain Layout
19743 \begin_inset space \thinspace{}
19747 \begin_inset Flex Code
19750 \begin_layout Plain Layout
19756 ] Reinicia los argumentos \SpecialChar LaTeX
19757 de este formato (como se definen con
19758 \begin_inset Flex Code
19761 \begin_layout Plain Layout
19768 Es útil si has copiado un estilo con
19769 \begin_inset Flex Code
19772 \begin_layout Plain Layout
19778 , pero no quieres heredar sus argumentos (requerido y opcional).
19781 \begin_layout Description
19782 \begin_inset Flex Code
19785 \begin_layout Plain Layout
19792 \begin_inset Flex Code
19795 \begin_layout Plain Layout
19802 \begin_inset space \thinspace{}
19806 \begin_inset Flex Code
19809 \begin_layout Plain Layout
19817 ] Si este recuadro debería usar la tipografía de su entorno o la suya propia.
19818 Por omisión es la tipografía de su entorno.
19821 \begin_layout Description
19822 \begin_inset Flex Code
19825 \begin_layout Plain Layout
19832 \begin_inset Flex Code
19835 \begin_layout Plain Layout
19841 ] Secuencia que se pone al final del contenido del formato.
19842 Un salto de línea en la salida se indica con
19843 \begin_inset Flex Code
19846 \begin_layout Plain Layout
19855 \begin_layout Description
19856 \begin_inset Flex Code
19859 \begin_layout Plain Layout
19866 \begin_inset Flex Code
19869 \begin_layout Plain Layout
19876 \begin_inset space \thinspace{}
19880 \begin_inset Flex Code
19883 \begin_layout Plain Layout
19891 ] Revisar la ortografía del contenido del recuadro.
19895 \begin_layout Subsection
19897 \begin_inset CommandInset label
19899 name "subsec:Contadores"
19906 \begin_layout Standard
19907 Es necesario definir los contadores (
19908 \begin_inset Flex Noun
19911 \begin_layout Plain Layout
19918 \begin_inset Flex Noun
19921 \begin_layout Plain Layout
19927 , \SpecialChar ldots
19928 ) en la propia clase de texto.
19929 Los contadores estándar están definidos en el archivo
19930 \begin_inset Flex Code
19933 \begin_layout Plain Layout
19939 , de modo que no tienes más que añadir
19942 \begin_layout LyX-Code
19943 Input stdcounters.inc
19946 \begin_layout Standard
19947 en el archivo de formato para que funcionen.
19948 Pero si quieres puedes definir contadores personalizados.
19949 La declaración de un contador debe comenzar con:
19952 \begin_layout LyX-Code
19956 \begin_layout Standard
19958 \begin_inset Flex Code
19961 \begin_layout Plain Layout
19967 es el nombre del contador.
19968 Hay que terminar con
19969 \begin_inset Flex Code
19972 \begin_layout Plain Layout
19981 \begin_layout Standard
19982 Se pueden usar además los parámetros siguientes:
19985 \begin_layout Description
19986 \begin_inset Flex Code
19989 \begin_layout Plain Layout
19996 \begin_inset Flex Code
19999 \begin_layout Plain Layout
20005 ] Establece el valor inicial para el contador, al cuál se reiniciará cada
20006 vez que suceda esto.
20007 Normalmente será 1.
20010 \begin_layout Description
20011 \begin_inset Flex Code
20014 \begin_layout Plain Layout
20021 \begin_inset Flex Code
20024 \begin_layout Plain Layout
20030 =""] Si se define esta cadena, indica cómo se muestra el contador.
20031 Al establecer este valor también se da el mismo valor a
20032 \begin_inset Flex Code
20035 \begin_layout Plain Layout
20036 LabelStringAppendix
20042 Para los valores de 'string' se pueden usar las estructuras siguientes:
20046 \begin_layout Itemize
20047 \begin_inset Flex Code
20050 \begin_layout Plain Layout
20058 será reemplazado por la expansión de
20059 \begin_inset Flex Code
20062 \begin_layout Plain Layout
20069 \begin_inset Newline newline
20073 \begin_inset Flex Code
20076 \begin_layout Plain Layout
20077 LabelStringAppendix
20083 \begin_inset Flex Code
20086 \begin_layout Plain Layout
20096 \begin_layout Itemize
20097 los valores del contador pueden expresarse usando macros tipo \SpecialChar LaTeX
20099 \begin_inset Flex Code
20102 \begin_layout Plain Layout
20119 \begin_inset Flex Code
20122 \begin_layout Plain Layout
20134 \begin_layout Plain Layout
20135 En realidad la cosa es un poco más compleja: cualquier
20139 distinto de los descritos a continuación generará números arábigos.
20140 No sería sorprendenta ver este cambio en el futuro.
20146 \begin_inset Flex Code
20149 \begin_layout Plain Layout
20155 : 1, 2, 3,\SpecialChar ldots
20157 \begin_inset Flex Code
20160 \begin_layout Plain Layout
20166 para minúsculas: a, b, c, \SpecialChar ldots
20168 \begin_inset Flex Code
20171 \begin_layout Plain Layout
20177 para mayúsculas: A, B, C, \SpecialChar ldots
20179 \begin_inset Flex Code
20182 \begin_layout Plain Layout
20188 números romanos en minúscula: i, ii, iii, \SpecialChar ldots
20193 \begin_layout Plain Layout
20199 \begin_inset space \thinspace{}
20207 \begin_inset Flex Code
20210 \begin_layout Plain Layout
20225 \begin_inset Flex Code
20228 \begin_layout Plain Layout
20242 los transforma automáticamente en versalitas
20247 , ya que los romanos en minúscula no se usan en español.
20254 \begin_inset Flex Code
20257 \begin_layout Plain Layout
20263 para romanos en mayúsculas: I, II, III\SpecialChar ldots
20265 \begin_inset Flex Code
20268 \begin_layout Plain Layout
20274 para números hebreos.
20278 \begin_layout Standard
20280 \begin_inset Flex Code
20283 \begin_layout Plain Layout
20289 , se construye un valor por omisión así: si el contador tiene un contador
20291 \begin_inset Flex Code
20294 \begin_layout Plain Layout
20301 \begin_inset Flex Code
20304 \begin_layout Plain Layout
20310 ), se usa la cadena
20311 \begin_inset Flex Code
20314 \begin_layout Plain Layout
20324 ; si no, se usa la cadena
20325 \begin_inset Flex Code
20328 \begin_layout Plain Layout
20339 \begin_layout Description
20340 \begin_inset Flex Code
20343 \begin_layout Plain Layout
20344 LabelStringAppendix
20350 \begin_inset Flex Code
20353 \begin_layout Plain Layout
20360 \begin_inset Flex Code
20363 \begin_layout Plain Layout
20369 , pero para el apéndice.
20372 \begin_layout Description
20373 \begin_inset Flex Code
20376 \begin_layout Plain Layout
20383 \begin_inset Flex Code
20386 \begin_layout Plain Layout
20393 \begin_inset Quotes erd
20397 \begin_inset Quotes erd
20400 ] Un formato para usar con las referencias a este contador.
20401 Por ejemplo, podríamos querer las referencias a los números de sección
20403 \begin_inset Quotes cld
20407 \begin_inset space ~
20411 \begin_inset Quotes crd
20415 La secuencia debería contener
20416 \begin_inset Quotes eld
20420 \begin_inset Quotes erd
20424 Esto será reemplazado por el número correspondiente del contador.
20425 Así pues, para secciones sería: Section ##.
20428 \begin_layout Description
20429 \begin_inset Flex Code
20432 \begin_layout Plain Layout
20439 \begin_inset Flex Code
20442 \begin_layout Plain Layout
20448 =""] Si esto se establece para el nombre de otro contador, el presente contador
20449 se reiniciará cada vez que el otro aumente.
20451 \begin_inset Flex Code
20454 \begin_layout Plain Layout
20460 se numera dentro de
20461 \begin_inset Flex Code
20464 \begin_layout Plain Layout
20473 \begin_layout Subsection
20474 Descripción de la tipografía
20475 \begin_inset CommandInset label
20477 name "subsec:Tipografía"
20484 \begin_layout Standard
20485 Una descripción de una tipografía se ve así:
20488 \begin_layout LyX-Code
20502 \begin_layout LyX-Code
20506 \begin_layout LyX-Code
20510 \begin_layout Standard
20511 Están disponibles los comandos siguientes:
20514 \begin_layout Description
20515 \begin_inset Flex Code
20518 \begin_layout Plain Layout
20525 \begin_inset Flex Code
20528 \begin_layout Plain Layout
20537 \begin_inset Flex Code
20540 \begin_layout Plain Layout
20547 \begin_inset Flex Code
20550 \begin_layout Plain Layout
20557 \begin_inset Flex Code
20560 \begin_layout Plain Layout
20567 \begin_inset Flex Code
20570 \begin_layout Plain Layout
20577 \begin_inset Flex Code
20580 \begin_layout Plain Layout
20587 \begin_inset Flex Code
20590 \begin_layout Plain Layout
20597 \begin_inset Flex Code
20600 \begin_layout Plain Layout
20607 \begin_inset Flex Code
20610 \begin_layout Plain Layout
20617 \begin_inset Flex Code
20620 \begin_layout Plain Layout
20627 \begin_inset Flex Code
20630 \begin_layout Plain Layout
20637 \begin_inset Flex Code
20640 \begin_layout Plain Layout
20647 \begin_inset Flex Code
20650 \begin_layout Plain Layout
20657 \begin_inset Flex Code
20660 \begin_layout Plain Layout
20667 \begin_inset Flex Code
20670 \begin_layout Plain Layout
20677 \begin_inset Flex Code
20680 \begin_layout Plain Layout
20687 \begin_inset Flex Code
20690 \begin_layout Plain Layout
20697 \begin_inset Flex Code
20700 \begin_layout Plain Layout
20707 \begin_inset Flex Code
20710 \begin_layout Plain Layout
20717 \begin_inset Flex Code
20720 \begin_layout Plain Layout
20729 \begin_layout Description
20730 \begin_inset Flex Code
20733 \begin_layout Plain Layout
20742 \begin_inset Flex Code
20745 \begin_layout Plain Layout
20756 \begin_inset Flex Code
20759 \begin_layout Plain Layout
20766 \begin_inset Flex Code
20769 \begin_layout Plain Layout
20778 \begin_layout Description
20779 \begin_inset Flex Code
20782 \begin_layout Plain Layout
20789 \begin_inset Flex Code
20792 \begin_layout Plain Layout
20798 ] Son argumentos válidos:
20799 \begin_inset Flex Code
20802 \begin_layout Plain Layout
20809 \begin_inset Flex Code
20812 \begin_layout Plain Layout
20819 \begin_inset Flex Code
20822 \begin_layout Plain Layout
20829 \begin_inset Flex Code
20832 \begin_layout Plain Layout
20839 \begin_inset Flex Code
20842 \begin_layout Plain Layout
20849 \begin_inset Flex Code
20852 \begin_layout Plain Layout
20859 \begin_inset Flex Code
20862 \begin_layout Plain Layout
20869 \begin_inset Flex Code
20872 \begin_layout Plain Layout
20879 \begin_inset Flex Code
20882 \begin_layout Plain Layout
20889 \begin_inset Flex Code
20892 \begin_layout Plain Layout
20899 \begin_inset Flex Code
20902 \begin_layout Plain Layout
20909 \begin_inset Flex Code
20912 \begin_layout Plain Layout
20919 Cada uno de ellos activa o desactiva el atributo correspondiente.
20921 \begin_inset Flex Code
20924 \begin_layout Plain Layout
20931 \begin_inset Flex Code
20934 \begin_layout Plain Layout
20941 \begin_inset Newline newline
20944 Si esto último parece superfluo, recordemos que la configuración de tipografías
20945 para el presente contexto se hereda generalmente del contexto circundante.
20947 \begin_inset Flex Code
20950 \begin_layout Plain Layout
20956 desactivaría el énfasis que estaba vigente, digamos, en un entorno teorema.
20959 \begin_layout Description
20960 \begin_inset Flex Code
20963 \begin_layout Plain Layout
20972 \begin_inset Flex Code
20975 \begin_layout Plain Layout
20986 \begin_inset Flex Code
20989 \begin_layout Plain Layout
20998 \begin_layout Description
20999 \begin_inset Flex Code
21002 \begin_layout Plain Layout
21011 \begin_inset Flex Code
21014 \begin_layout Plain Layout
21025 \begin_inset Flex Code
21028 \begin_layout Plain Layout
21035 \begin_inset Flex Code
21038 \begin_layout Plain Layout
21045 \begin_inset Flex Code
21048 \begin_layout Plain Layout
21057 \begin_layout Description
21058 \begin_inset Flex Code
21061 \begin_layout Plain Layout
21068 \begin_inset Flex Code
21071 \begin_layout Plain Layout
21078 \begin_inset Flex Code
21081 \begin_layout Plain Layout
21088 \begin_inset Flex Code
21091 \begin_layout Plain Layout
21100 \begin_inset Flex Code
21103 \begin_layout Plain Layout
21110 \begin_inset Flex Code
21113 \begin_layout Plain Layout
21120 \begin_inset Flex Code
21123 \begin_layout Plain Layout
21130 \begin_inset Flex Code
21133 \begin_layout Plain Layout
21140 \begin_inset Flex Code
21143 \begin_layout Plain Layout
21152 \begin_layout Subsection
21155 \begin_inset CommandInset label
21157 name "subsec:Citation-engine-description"
21161 Citation engine description
21164 \begin_layout Standard
21168 \begin_inset Flex Code
21171 \begin_layout Plain Layout
21179 blocks, as used mainly in cite engine files (see
21180 \begin_inset CommandInset ref
21182 reference "subsec:Cite-Engine-Files"
21189 ), define the citation commands provided by a specific
21190 \begin_inset Quotes eld
21194 \begin_inset Quotes erd
21198 A cite engine, in \SpecialChar LyX
21199 terms, is way specific way to format citations, using
21200 numbers, author names and/or years.
21201 Currently, \SpecialChar LyX
21202 supports three such engine types, namely:
21205 \begin_layout Enumerate
21208 \begin_inset Flex Code
21211 \begin_layout Plain Layout
21219 : the default Bib\SpecialChar TeX
21220 way to format citations, a simple numeric style (e.
21221 \begin_inset space \thinspace{}
21225 \begin_inset Quotes eld
21229 \begin_inset Quotes erd
21235 \begin_layout Enumerate
21238 \begin_inset Flex Code
21241 \begin_layout Plain Layout
21249 : Harvard-styled citations using author names and publication year (e.
21250 \begin_inset space \thinspace{}
21254 \begin_inset Quotes eld
21257 Smith and Miller (2017b)
21258 \begin_inset Quotes erd
21264 \begin_layout Enumerate
21267 \begin_inset Flex Code
21270 \begin_layout Plain Layout
21278 : extended numerical citations that also allow for author or title next
21280 \begin_inset space \thinspace{}
21284 \begin_inset Quotes eld
21287 Smith and Miller [1]
21288 \begin_inset Quotes erd
21294 \begin_layout Standard
21297 \begin_inset Flex Code
21300 \begin_layout Plain Layout
21308 blocks look like this:
21311 \begin_layout LyX-Code
21317 \begin_layout LyX-Code
21323 \begin_layout LyX-Code
21329 \begin_layout LyX-Code
21332 citeyearpar[][]=parencite*
21335 \begin_layout LyX-Code
21341 \begin_layout LyX-Code
21347 \begin_layout Standard
21351 \begin_inset Flex Code
21354 \begin_layout Plain Layout
21362 denotes the engine.
21363 The individual lines respectively define a cite command or cite command
21364 paradigm supported by this engine.
21365 The line can be as simple as a cite command that is used both to name the
21366 respective \SpecialChar LyX
21367 command and the \SpecialChar LaTeX
21368 output or more complex in order to differentiate
21370 The full syntax is:
21373 \begin_layout LyX-Code
21376 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
21379 \begin_layout Itemize
21382 \begin_inset Flex Code
21385 \begin_layout Plain Layout
21393 : The name as used in the
21394 \begin_inset Flex Code
21397 \begin_layout Plain Layout
21409 \begin_layout Standard
21412 For portability reasons, we try to use the same name for same-formatted
21413 commands in different cite packages (thus many names stem from natbib,
21414 and thus we need to differentiate a
21415 \begin_inset Flex Code
21418 \begin_layout Plain Layout
21426 sometimes, if the \SpecialChar LaTeX
21427 command names differ).
21431 \begin_layout Itemize
21434 \begin_inset Flex Code
21437 \begin_layout Plain Layout
21445 : a (comma-separated) list of commands that fall back to the given
21446 \begin_inset Flex Code
21449 \begin_layout Plain Layout
21457 in the current engine.
21458 This eases the switch of citation packages and engines.
21460 \begin_inset Flex Code
21463 \begin_layout Plain Layout
21472 \begin_inset Flex Code
21475 \begin_layout Plain Layout
21483 in layout definitions.
21486 \begin_layout Itemize
21489 \begin_inset Flex Code
21492 \begin_layout Plain Layout
21500 : The actual \SpecialChar LaTeX
21501 command that is output.
21505 \begin_layout Standard
21508 \begin_inset Flex Code
21511 \begin_layout Plain Layout
21520 \begin_inset Flex Code
21523 \begin_layout Plain Layout
21533 \begin_inset Flex Code
21536 \begin_layout Plain Layout
21545 \begin_inset Flex Code
21548 \begin_layout Plain Layout
21556 will be output to \SpecialChar LaTeX
21560 \begin_layout Standard
21566 \begin_layout Itemize
21569 Capitalization indicates that the command also has a capitalized form (
21570 \begin_inset Flex Code
21573 \begin_layout Plain Layout
21585 \begin_inset Flex Code
21588 \begin_layout Plain Layout
21599 These usually enforce up-casing of name prefixes (
21604 \begin_inset Formula $\Rightarrow$
21614 \begin_layout Itemize
21618 \begin_inset Flex Code
21621 \begin_layout Plain Layout
21629 indicate the number of optional arguments (there can be 0–2).
21632 \begin_layout Itemize
21636 \begin_inset Flex Code
21639 \begin_layout Plain Layout
21647 indicates there is a starred version of the command (
21648 \begin_inset Flex Code
21651 \begin_layout Plain Layout
21663 \begin_inset Flex Code
21666 \begin_layout Plain Layout
21681 \begin_layout Standard
21684 By default, the starred version means: Output all authors even if it should
21686 \begin_inset Quotes eld
21690 \begin_inset Quotes erd
21694 \begin_inset Flex Code
21697 \begin_layout Plain Layout
21708 \begin_layout Standard
21711 If the star has a different meaning for a given command, it can be specified
21713 \begin_inset Flex Code
21716 \begin_layout Plain Layout
21719 <!_stardesc!_stardesctooltip>
21725 Maximal two translatable macro keywords, marked by the prefix
21726 \begin_inset Flex Code
21729 \begin_layout Plain Layout
21738 The first points to the string that replaces the
21739 \begin_inset Quotes eld
21743 \begin_inset Quotes erd
21746 checkbox label in the citation dialog, the second one to an optional tool
21747 tip for this checkbox.
21751 \begin_layout Standard
21754 Note that these two macros have to be defined in a
21755 \begin_inset Flex Code
21758 \begin_layout Plain Layout
21766 (see next section), dropping the
21767 \begin_inset Flex Code
21770 \begin_layout Plain Layout
21778 from the prefix, like this:
21781 \begin_layout LyX-Code
21784 _stardesc Sta&rred command label
21787 \begin_layout LyX-Code
21790 _stardesctooltip Tooltip for the starred command checkbox.
21794 \begin_layout Itemize
21798 \begin_inset Flex Code
21801 \begin_layout Plain Layout
21809 indicates that this command features
21810 \begin_inset Quotes eld
21813 qualified citation lists
21814 \begin_inset Quotes erd
21822 -specific feature for multi-reference citations where an individual pre-
21823 and postnote can be given to each reference in the list.
21824 Please refer to the
21828 manual for details.
21831 \begin_layout Subsection
21832 \begin_inset CommandInset label
21834 name "subsec:Descripción-formato-cita"
21838 Descripción del formato de cita
21841 \begin_layout Standard
21843 \begin_inset Flex Code
21846 \begin_layout Plain Layout
21852 se usan para describir la forma en que debe mostrarse la información bibliográf
21853 ica, tanto en \SpecialChar LyX
21854 (en el diálogo de citas y en las ayudas emergentes, por ejemplo)
21855 como en la salida XHTML.
21856 El aspecto de unode estos bloques podría ser este:
21859 \begin_layout LyX-Code
21863 \begin_layout LyX-Code
21867 \begin_layout LyX-Code
21871 \begin_layout LyX-Code
21875 \begin_layout Standard
21881 \begin_layout LyX-Code
21887 \begin_layout LyX-Code
21893 \begin_layout LyX-Code
21899 \begin_layout LyX-Code
21905 \begin_layout Standard
21908 In the first case, the individual lines
21910 definen cómo se va a mostrar la información bibliográfica asociada con un
21911 artículo o libro, respectivamente, y tales definiciones se pueden dar para
21912 cualquier `tipo de entrada' que pudiera estar presente en un archivo Bib\SpecialChar TeX
21915 define un formato por omsión en el código fuente que se usará si no se
21916 da una definición específica.
21918 predefine varios formatos en el archivo
21919 \begin_inset Flex Code
21922 \begin_layout Plain Layout
21928 , que se incluye en la mayoría de las clases de documento de \SpecialChar LyX
21932 \begin_layout Standard
21935 In the second case, the lines define how a specific citation command (in
21937 \begin_inset Flex Code
21940 \begin_layout Plain Layout
21951 \begin_inset Flex Code
21954 \begin_layout Plain Layout
21964 ) is to be displayed on the citation inset label, in the citation dialog,
21965 menu or XHTML output.
21967 defines such formats for the citation style variants it supports via
21969 Document\SpecialChar menuseparator
21970 Setting\SpecialChar menuseparator
21971 Bibliography\SpecialChar ldots
21975 \begin_inset Flex Code
21978 \begin_layout Plain Layout
21986 files that are shipped with \SpecialChar LyX
21988 \begin_inset CommandInset ref
21990 reference "subsec:Cite-Engine-Files"
22000 \begin_layout Standard
22001 Las definiciones usan un lenguaje simple que permite reemplazar las claves
22002 Bib\SpecialChar TeX
22004 Las claves deben encerrarse entre símbolos
22005 \begin_inset Flex Code
22008 \begin_layout Plain Layout
22015 \begin_inset space \thinspace{}
22019 \begin_inset Flex Code
22022 \begin_layout Plain Layout
22029 Así, una simple definición sería:
22032 \begin_layout LyX-Code
22034 \begin_inset Quotes eld
22038 \begin_inset Quotes erd
22044 \begin_layout Standard
22045 Esto imprimiría el autor, una coma, a continuación el título entre comillas
22046 y un punto para finalizar.
22049 \begin_layout Standard
22050 A veces querrás, por supuesto, imprimir una clave solo si existe.
22051 Esto puede hacerse mediante una construcción condicional tal como:
22052 \begin_inset Flex Code
22055 \begin_layout Plain Layout
22057 \begin_inset space ~
22065 , que quiere decir: si la clave
22066 \begin_inset Flex Code
22069 \begin_layout Plain Layout
22076 \begin_inset Quotes eld
22080 \begin_inset space ~
22084 \begin_inset Quotes erd
22087 seguido de la clave.
22088 También es posible tener una cláusula de otro modo en el condicional, como:
22089 \begin_inset Newline newline
22093 \begin_inset Flex Code
22096 \begin_layout Plain Layout
22097 {%author%[[%author%]][[%editor%, ed.]]}
22103 \begin_inset Newline newline
22107 \begin_inset Flex Code
22110 \begin_layout Plain Layout
22116 se imprime si existe; por otra parte, se imprime la clave
22117 \begin_inset Flex Code
22120 \begin_layout Plain Layout
22127 \begin_inset Quotes eld
22131 \begin_inset space ~
22135 \begin_inset Quotes erd
22139 Advierte que la clave se encierra entre signos
22140 \begin_inset Flex Code
22143 \begin_layout Plain Layout
22149 ; el condicional entero se encierra entre llaves; y las cláusulas condicional
22150 y por otra parte se ponen entre cobles corchetes,
22151 \begin_inset Quotes eld
22155 \begin_inset Flex Code
22158 \begin_layout Plain Layout
22165 \begin_inset Quotes eld
22169 \begin_inset Quotes eld
22173 \begin_inset Flex Code
22176 \begin_layout Plain Layout
22183 \begin_inset Quotes erd
22187 No debe haber espacios entre ninguno de ellos.
22190 \begin_layout Standard
22193 Next to the entry keys, there are some special keys that can be used for
22194 these conditionals:
22197 \begin_layout Itemize
22200 \begin_inset Flex Code
22203 \begin_layout Plain Layout
22206 {%dialog%[[true]][[false]]}
22212 \begin_inset Quotes eld
22216 \begin_inset Quotes erd
22219 part for dialogs and menus, the
22220 \begin_inset Quotes eld
22224 \begin_inset Quotes erd
22227 part for other contexts (workarea, export)
22230 \begin_layout Itemize
22233 \begin_inset Flex Code
22236 \begin_layout Plain Layout
22239 {%export%[[true]][[false]]}
22245 \begin_inset Quotes eld
22249 \begin_inset Quotes erd
22252 part for export and menus, the
22253 \begin_inset Quotes eld
22257 \begin_inset Quotes erd
22260 part for other contexts (workarea, dialog)
22263 \begin_layout Itemize
22266 \begin_inset Flex Code
22269 \begin_layout Plain Layout
22278 \begin_inset Quotes eld
22282 \begin_inset Quotes erd
22285 part if another item follows (e.
22286 \begin_inset space \thinspace{}
22289 g., in a citation with multiple keys)
22292 \begin_layout Itemize
22295 \begin_inset Flex Code
22298 \begin_layout Plain Layout
22301 {%second%[[true]][[false]]}
22307 \begin_inset Quotes eld
22311 \begin_inset Quotes erd
22314 if this is the second of multiple items, else the
22315 \begin_inset Quotes eld
22319 \begin_inset Quotes erd
22325 \begin_layout Itemize
22328 \begin_inset Flex Code
22331 \begin_layout Plain Layout
22334 {%ifstar%[[true]][[false]]}
22340 \begin_inset Quotes eld
22344 \begin_inset Quotes erd
22347 part for starred citation commands (such as
22348 \begin_inset Flex Code
22351 \begin_layout Plain Layout
22361 ), the false part for unstarred
22364 \begin_layout Itemize
22367 \begin_inset Flex Code
22370 \begin_layout Plain Layout
22373 {%ifentrytype:<type>%[[true]][[false]]}
22379 \begin_inset Quotes eld
22383 \begin_inset Quotes erd
22386 if the current entry type matches
22387 \begin_inset Flex Code
22390 \begin_layout Plain Layout
22398 , else the false part (e.g., in a citation definition:
22399 \begin_inset Flex Code
22402 \begin_layout Plain Layout
22405 {%ifentrytype:book%[[this is a book]][[this is no book]]}
22413 \begin_layout Itemize
22416 \begin_inset Flex Code
22419 \begin_layout Plain Layout
22422 {%ifmultiple:<authortype>%[[true]][[false]]}
22428 \begin_inset Quotes eld
22432 \begin_inset Quotes erd
22435 if the current author type (author, editor etc.) has multiple authors, else
22436 the false part (e.g., in a bibliography definition:
22437 \begin_inset Flex Code
22440 \begin_layout Plain Layout
22443 {%ifmultiple:editor%[[eds.]][[ed.]]}
22451 \begin_layout Itemize
22454 \begin_inset Flex Code
22457 \begin_layout Plain Layout
22460 {%ifqualified%[[true]][[false]]}
22466 \begin_inset Quotes eld
22470 \begin_inset Quotes erd
22473 part if the current citation is a qualified citation list (a specific
22477 format for multi-reference citations), the false part if this is not the
22481 \begin_layout Standard
22485 \begin_inset Flex Code
22488 \begin_layout Plain Layout
22496 prints the author key as it is recorded in the bibliography file.
22497 This might not be what you want, since it will result in a string such
22499 \begin_inset Quotes eld
22502 Miller, Peter and Smith, Mary and White, Jane
22503 \begin_inset Quotes erd
22507 \begin_inset Quotes eld
22511 \begin_inset Quotes erd
22514 is used by Bib\SpecialChar TeX
22515 to delimit authors).
22517 therefore provides some methods to get properly formatted name lists (which
22518 will also get translated).
22519 The following keys are provided:
22522 \begin_layout Enumerate
22525 For name lists with pre- and surname, suitable for the main authors/editors
22526 of a bibliography item.
22528 \begin_inset Flex Code
22531 \begin_layout Plain Layout
22539 part denotes the kind of list that is requested (e.g.
22541 \begin_inset Flex Code
22544 \begin_layout Plain Layout
22556 \begin_layout Itemize
22559 \begin_inset Flex Code
22562 \begin_layout Plain Layout
22565 %abbrvnames:<nametype>%
22570 : Provides a name list which is abbreviated (with
22571 \begin_inset Quotes eld
22575 \begin_inset Quotes erd
22579 \begin_inset Flex Code
22582 \begin_layout Plain Layout
22593 \begin_layout Itemize
22596 \begin_inset Flex Code
22599 \begin_layout Plain Layout
22602 %fullnames:<nametype>%
22607 : Provides a full name list (never abbreviated with
22608 \begin_inset Quotes eld
22612 \begin_inset Quotes erd
22618 \begin_layout Itemize
22621 \begin_inset Flex Code
22624 \begin_layout Plain Layout
22627 %forceabbrvnames:<nametype>%
22632 : Provides a name list which is always abbreviated (with
22633 \begin_inset Quotes eld
22637 \begin_inset Quotes erd
22641 \begin_inset Flex Code
22644 \begin_layout Plain Layout
22656 \begin_layout Enumerate
22659 Alternative name lists with pre- and surname, if the order of pre- and surname
22660 inside the bibliography item differs (as in:
22661 \begin_inset Quotes eld
22664 Miller, John: Some text, in: Mary Smith, ed.: A volume
22665 \begin_inset Quotes erd
22672 \begin_layout Itemize
22675 \begin_inset Flex Code
22678 \begin_layout Plain Layout
22681 %abbrvbynames:<nametype>%
22686 : Provides a name list which is abbreviated (with
22687 \begin_inset Quotes eld
22691 \begin_inset Quotes erd
22695 \begin_inset Flex Code
22698 \begin_layout Plain Layout
22709 \begin_layout Itemize
22712 \begin_inset Flex Code
22715 \begin_layout Plain Layout
22718 %fullbynames:<nametype>%
22723 : Provides a full name list (never abbreviated with
22724 \begin_inset Quotes eld
22728 \begin_inset Quotes erd
22734 \begin_layout Itemize
22737 \begin_inset Flex Code
22740 \begin_layout Plain Layout
22743 %forceabbrvbynames:<nametype>%
22748 : Provides a name list which is always abbreviated (with
22749 \begin_inset Quotes eld
22753 \begin_inset Quotes erd
22757 \begin_inset Flex Code
22760 \begin_layout Plain Layout
22772 \begin_layout Enumerate
22775 And finally name lists which consist of family names only, as used in author-yea
22777 these do not take a
22778 \begin_inset Flex Code
22781 \begin_layout Plain Layout
22789 part, but always return either an author list or, if this does not exist,
22790 an editor list (as common in author-year labels):
22794 \begin_layout Itemize
22797 \begin_inset Flex Code
22800 \begin_layout Plain Layout
22808 : Provides a name list which is abbreviated (with
22809 \begin_inset Quotes eld
22813 \begin_inset Quotes erd
22817 \begin_inset Flex Code
22820 \begin_layout Plain Layout
22831 \begin_layout Itemize
22834 \begin_inset Flex Code
22837 \begin_layout Plain Layout
22845 : Provides a full name list (never abbreviated with
22846 \begin_inset Quotes eld
22850 \begin_inset Quotes erd
22856 \begin_layout Itemize
22859 \begin_inset Flex Code
22862 \begin_layout Plain Layout
22865 %forceabbrvciteauthor%
22870 : Provides a name list which is always abbreviated (with
22871 \begin_inset Quotes eld
22875 \begin_inset Quotes erd
22879 \begin_inset Flex Code
22882 \begin_layout Plain Layout
22894 \begin_layout Standard
22897 The order of pre- and surname in the former two lists can be adjusted by
22901 \begin_layout Itemize
22904 \begin_inset Flex Code
22907 \begin_layout Plain Layout
22910 !firstnameform %surname%, %prename%
22915 (first author in lists of type 1)
22918 \begin_layout Itemize
22921 \begin_inset Flex Code
22924 \begin_layout Plain Layout
22927 !othernameform %surname%, %prename%
22932 (other authors in lists of type 1)
22935 \begin_layout Itemize
22938 \begin_inset Flex Code
22941 \begin_layout Plain Layout
22944 !firstbynameform %prename% %surname%
22949 (first author in lists of type 2)
22952 \begin_layout Itemize
22955 \begin_inset Flex Code
22958 \begin_layout Plain Layout
22961 !otherbynameform %prename% %surname%
22966 (other authors in lists of type 2)
22969 \begin_layout Standard
22972 This allows you to configure namings like
22973 \begin_inset Quotes eld
22976 Miller, Peter and Mary Smith: \SpecialChar ldots
22977 , in: John Doe and Pat Green, eds.:\SpecialChar ldots
22979 \begin_inset Quotes erd
22985 \begin_layout Standard
22986 Hay otra pieza de sintaxis disponible en las definiciones, como esta:
22987 \begin_inset Flex Code
22990 \begin_layout Plain Layout
22997 Define una pieza de información para ser usada cuando creamos
22998 \begin_inset Quotes eld
23002 \begin_inset Quotes erd
23006 Obviamente, no queremos etiquetas HTML cuando escribimos texto sencillo,
23007 por tanto deben ponerse entre
23008 \begin_inset Quotes eld
23012 \begin_inset Quotes erd
23016 \begin_inset Quotes eld
23020 \begin_inset Quotes erd
23026 \begin_layout Standard
23027 Además, hay dos clases especiales de definiciones disponibles en un bloque
23029 \begin_inset Flex Code
23032 \begin_layout Plain Layout
23039 Un ejemplo de la primera sería:
23042 \begin_layout LyX-Code
23044 \begin_inset Quotes eld
23048 \begin_inset Quotes erd
23054 \begin_layout Standard
23055 Esto es una abreviación, o macro, y se puede usar tratándola como si fuera
23057 \begin_inset Flex Code
23060 \begin_layout Plain Layout
23069 \begin_inset Flex Code
23072 \begin_layout Plain Layout
23078 exactamente como trataría su definición.
23079 Por tanto, permítenos un
23087 \begin_layout LyX-Code
23091 \begin_layout Standard
23094 no caería en un bucle infinito, pero sí en uno muy largo.
23097 \begin_layout Standard
23098 El segundo tipo especial de definición sería como:
23101 \begin_layout LyX-Code
23105 \begin_layout Standard
23106 Esto define un trozo de texto traducible, que permite traducir partes relevantes
23112 Puede incluirse en una definición tratándolo como una clave:
23113 \begin_inset Flex Code
23116 \begin_layout Plain Layout
23123 Varios de estos están predefinidos en
23124 \begin_inset Flex Code
23127 \begin_layout Plain Layout
23136 \begin_inset Flex Code
23139 \begin_layout Plain Layout
23150 Advertiremos que no son macros en el sentido definido.
23154 \begin_layout Standard
23155 Aquí hay, pues, un ejemplo que usa todas estas características:
23156 \begin_inset VSpace defskip
23162 \begin_layout Standard
23166 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %_edtext%, ]]}]]}
23169 \begin_layout Standard
23170 \begin_inset VSpace defskip
23173 Así definimos una macro que imprime el autor seguido de coma, si la clave
23175 \begin_inset Flex Code
23178 \begin_layout Plain Layout
23184 está definida, o imprime el nombre del editor seguido por el texto
23185 \begin_inset Flex Code
23188 \begin_layout Plain Layout
23194 o su traducción (por omisión
23195 \begin_inset Quotes eld
23199 \begin_inset Quotes erd
23203 \begin_inset Flex Code
23206 \begin_layout Plain Layout
23213 De hecho, esto está definido en
23214 \begin_inset Flex Code
23217 \begin_layout Plain Layout
23223 , por tanto puedes usarlo en tus propias definiciones o redefiniciones,
23224 si cargas antes ese archivo.
23227 \begin_layout Section
23228 Etiquetas para la salida XHTML
23229 \begin_inset CommandInset label
23231 name "sec:Etiquetas-para-XHTML"
23238 \begin_layout Standard
23239 Como para \SpecialChar LaTeX
23240 o DocBook, el formato de salida XHTML en \SpecialChar LyX
23241 también se controla
23242 mediante la información contenida en archivos de formato.
23243 En general, \SpecialChar LyX
23244 provee valores predefinidos sensatos y, como se mencionó anteriorm
23245 ente, incluso construirá reglas de estilo CSS a partir de las otras etiquetas
23247 Por ejemplo, \SpecialChar LyX
23248 intentará usar la información proporcionada por la declaración
23250 \begin_inset Flex Code
23253 \begin_layout Plain Layout
23259 para el estilo Chapter para escribir CSS que formateará adecuadamente los
23260 encabezados de capítulo.
23263 \begin_layout Standard
23264 En muchos casos, por tanto, no tendrás que hacer nada para obtener una aceptable
23265 salida XHTML para tus propios entornos, recuadros personalizados y cosas
23267 Pero en ciertos casos querrás hacer cambios, y para eso \SpecialChar LyX
23269 número de etiquetas de formato que se pueden usar para personalizar los
23270 XHTML y CSS generados.
23273 \begin_layout Standard
23274 Advertimos que hay dos etiquetas,
23275 \begin_inset Flex Code
23278 \begin_layout Plain Layout
23285 \begin_inset Flex Code
23288 \begin_layout Plain Layout
23294 que pueden aparecer fuera de las declaraciones de estilos y recuadros.
23296 \begin_inset CommandInset ref
23298 reference "subsec:Parámetros-generales-clases"
23302 para detalles sobre esto.
23305 \begin_layout Subsection
23307 \begin_inset CommandInset label
23309 name "subsec:Estilos-de-párrafo-XHTML"
23316 \begin_layout Standard
23317 El tipo de XHTML que genera \SpecialChar LyX
23318 para un párrafo depende de si se trata de un
23319 párrafo normal, de un comando o de un entorno, en los que esto se determina
23320 por el contenido de la correspondiente etiqueta
23321 \begin_inset Flex Code
23324 \begin_layout Plain Layout
23335 \begin_layout Standard
23336 Para un comando o párrafo, la salida XHTML tiene la forma siguiente:
23339 \begin_layout LyX-Code
23343 \begin_inset Quotes erd
23347 \begin_inset Quotes erd
23353 \begin_layout LyX-Code
23357 \begin_inset Quotes erd
23361 \begin_inset Quotes erd
23367 \begin_layout LyX-Code
23370 Contents of the paragraph.
23373 \begin_layout LyX-Code
23379 \begin_layout Standard
23380 Por supuesto, `label tags´ se omiten si el párrafo no tiene etiqueta.
23383 \begin_layout Standard
23384 Para un entorno que no sea algún tipo de lista, XHTML toma la forma:
23387 \begin_layout LyX-Code
23391 \begin_inset Quotes erd
23395 \begin_inset Quotes erd
23401 \begin_layout LyX-Code
23405 \begin_inset Quotes erd
23409 \begin_inset Quotes erd
23413 \begin_inset Quotes erd
23417 \begin_inset Quotes erd
23420 >Environment Label</labeltag>First paragraph.</itemtag>
23423 \begin_layout LyX-Code
23426 <itemtag>Second paragraph.</itemtag>
23429 \begin_layout LyX-Code
23435 \begin_layout Standard
23436 La etiqueta se genera solo para el primer párrafo, como debería ser, por
23437 ejemplo, para un teorema.
23441 \begin_layout Standard
23442 Para una lista disponemos de una de estas formas:
23445 \begin_layout LyX-Code
23449 \begin_inset Quotes erd
23453 \begin_inset Quotes erd
23459 \begin_layout LyX-Code
23463 \begin_inset Quotes erd
23467 \begin_inset Quotes erd
23471 \begin_inset Quotes erd
23475 \begin_inset Quotes erd
23478 >List Label</labeltag>First item.</itemtag>
23481 \begin_layout LyX-Code
23485 \begin_inset Quotes erd
23489 \begin_inset Quotes erd
23493 \begin_inset Quotes erd
23497 \begin_inset Quotes erd
23500 >List Label</labeltag>Second item.</itemtag>
23503 \begin_layout LyX-Code
23509 \begin_layout LyX-Code
23513 \begin_layout LyX-Code
23517 \begin_inset Quotes erd
23521 \begin_inset Quotes erd
23527 \begin_layout LyX-Code
23531 \begin_inset Quotes erd
23535 \begin_inset Quotes erd
23538 >List Label</labeltag><itemtag attr=
23539 \begin_inset Quotes erd
23543 \begin_inset Quotes erd
23546 >First item.</itemtag>
23549 \begin_layout LyX-Code
23553 \begin_inset Quotes erd
23557 \begin_inset Quotes erd
23560 >List Label</labeltag><itemtag attr=
23561 \begin_inset Quotes erd
23565 \begin_inset Quotes erd
23568 >Second item.</itemtag>
23571 \begin_layout LyX-Code
23577 \begin_layout Standard
23578 Observa los diferentes órdenes de
23579 \begin_inset Flex Code
23582 \begin_layout Plain Layout
23589 \begin_inset Flex Code
23592 \begin_layout Plain Layout
23599 El orden que obtenemos depende del ajuste de
23600 \begin_inset Flex Code
23603 \begin_layout Plain Layout
23610 \begin_inset Flex Code
23613 \begin_layout Plain Layout
23619 es falso (por omisión), se obtiene el primero de ellos, con la etiqueta
23620 dentro del ítem; si verdadero, se obtiene el segundo, con la etiqueta fuera
23624 \begin_layout Standard
23625 Las etiquetas específicas y la salida de los atributos para cada tipo de
23626 párrafo puede ser controlado por medio de las etiquetas de formato que
23628 Como mencionamos antes, sin embargo, \SpecialChar LyX
23629 usa predefinidos adecuados para muchos
23630 de estos valores, por lo que generalmente no necesitarás hacer nada para
23631 obtener una buena salida XHTML.
23632 Partiendo de las etiquetas ya disponibles puedes afinar las cosas a tu
23636 \begin_layout Description
23637 \begin_inset Flex Code
23640 \begin_layout Plain Layout
23647 \begin_inset Flex Code
23650 \begin_layout Plain Layout
23656 ] Especifica información de los atributos a entregar con la etiqueta principal.
23658 \begin_inset Quotes eld
23662 \begin_inset Flex Code
23665 \begin_layout Plain Layout
23672 \begin_inset Quotes erd
23676 Por omisión, \SpecialChar LyX
23678 \begin_inset Quotes eld
23682 \begin_inset Flex Code
23685 \begin_layout Plain Layout
23692 \begin_inset Quotes erd
23696 \begin_inset Flex Code
23699 \begin_layout Plain Layout
23705 es el nombre del formato en \SpecialChar LyX
23706 , en minúsculas, por ejemplo: chapter.
23711 debería contener ninguna información de estilo.
23713 \begin_inset Flex Code
23716 \begin_layout Plain Layout
23722 para ese propósito.
23725 \begin_layout Description
23726 \begin_inset Flex Code
23729 \begin_layout Plain Layout
23736 \begin_inset Flex Code
23739 \begin_layout Plain Layout
23748 \begin_inset space \thinspace{}
23752 \begin_inset Flex Code
23755 \begin_layout Plain Layout
23761 ] Si producir la información CSS predeterminada que \SpecialChar LyX
23762 genera para este formato,
23763 incluso si se proporciona explícitamente información adicional mediante
23765 \begin_inset Flex Code
23768 \begin_layout Plain Layout
23776 \begin_inset Flex Code
23779 \begin_layout Plain Layout
23785 permite alterar o aumentar el CSS generado, no sobrescribirlo totalmente.
23787 \begin_inset Flex Code
23790 \begin_layout Plain Layout
23799 \begin_layout Description
23800 \begin_inset Flex Code
23803 \begin_layout Plain Layout
23810 \begin_inset Flex Code
23813 \begin_layout Plain Layout
23819 ] Etiqueta a usar para párrafos individuales de entornos, reemplazando
23820 \begin_inset Flex Code
23823 \begin_layout Plain Layout
23829 en los ejemplos de arriba.
23831 \begin_inset Flex Code
23834 \begin_layout Plain Layout
23843 \begin_layout Description
23844 \begin_inset Flex Code
23847 \begin_layout Plain Layout
23854 \begin_inset Flex Code
23857 \begin_layout Plain Layout
23863 ] Atributos para la etiqueta ítem.
23865 \begin_inset Newline newline
23869 \begin_inset Quotes eld
23873 \begin_inset Flex Code
23876 \begin_layout Plain Layout
23877 class=`layoutname_item'
23883 \begin_inset Quotes erd
23891 debería contener ninguna información de estilo.
23893 \begin_inset Flex Code
23896 \begin_layout Plain Layout
23902 para ese propósito.
23905 \begin_layout Description
23906 \begin_inset Flex Code
23909 \begin_layout Plain Layout
23916 \begin_inset Flex Code
23919 \begin_layout Plain Layout
23925 ] Etiqueta a usar para rótulos de párrafos e ítems, reemplazando
23926 \begin_inset Flex Code
23929 \begin_layout Plain Layout
23935 en los ejemplos de arriba.
23937 \begin_inset Flex Code
23940 \begin_layout Plain Layout
23947 \begin_inset Flex Code
23950 \begin_layout Plain Layout
23957 \begin_inset Flex Code
23960 \begin_layout Plain Layout
23967 \begin_inset Flex Code
23970 \begin_layout Plain Layout
23971 Centered_Top_Environment
23976 , en cuyos casos es
23977 \begin_inset Flex Code
23980 \begin_layout Plain Layout
23989 \begin_layout Description
23990 \begin_inset Flex Code
23993 \begin_layout Plain Layout
24000 \begin_inset Flex Code
24003 \begin_layout Plain Layout
24009 ] Atributos para la etiqueta del rótulo.
24011 \begin_inset Newline newline
24015 \begin_inset Quotes eld
24019 \begin_inset Flex Code
24022 \begin_layout Plain Layout
24023 class=`layoutname_label'
24029 \begin_inset Quotes erd
24037 debería contener ninguna información de estilo.
24039 \begin_inset Flex Code
24042 \begin_layout Plain Layout
24048 para ese propósito.
24051 \begin_layout Description
24052 \begin_inset Flex Code
24055 \begin_layout Plain Layout
24062 \begin_inset Flex Code
24065 \begin_layout Plain Layout
24074 \begin_inset space \thinspace{}
24078 \begin_inset Flex Code
24081 \begin_layout Plain Layout
24087 ] Solo es significativo para entornos tipo lista, esta etiqueta controla
24088 si la etiqueta de rótulo se genera antes o dentro de la etiqueta de ítem.
24089 Se usa, por ejemplo, en el entorno descripción, donde queremos `
24090 \begin_inset Flex Code
24093 \begin_layout Plain Layout
24094 <dt>\SpecialChar ldots
24095 </dt><dd>\SpecialChar ldots
24103 \begin_inset Flex Code
24106 \begin_layout Plain Layout
24112 : la etiqueta de rótulo se genera dentro de la etiqueta de ítem.
24115 \begin_layout Description
24116 \begin_inset Flex Code
24119 \begin_layout Plain Layout
24125 Información para generar en la sección
24126 \begin_inset Flex Code
24129 \begin_layout Plain Layout
24135 cuando se usa este estilo.
24136 Esto podría, por ejemplo, utilizarse para incluir un bloque
24137 \begin_inset Flex Code
24140 \begin_layout Plain Layout
24146 definiendo un controlador
24147 \begin_inset Flex Code
24150 \begin_layout Plain Layout
24159 \begin_layout Description
24160 \begin_inset Flex Code
24163 \begin_layout Plain Layout
24169 Información de estilo CSS a incluir cuando se usa este estilo.
24170 Advertimos que esto será automáticamente envuelto en un bloque
24171 \begin_inset Flex Code
24174 \begin_layout Plain Layout
24180 generado por el formato, por tanto solo es necesario incluir el propio
24183 \begin_inset Flex Code
24186 \begin_layout Plain Layout
24195 \begin_layout Description
24196 \begin_inset Flex Code
24199 \begin_layout Plain Layout
24206 \begin_inset Flex Code
24209 \begin_layout Plain Layout
24215 ] Etiqueta para el rótulo principal, reemplazando
24216 \begin_inset Flex Code
24219 \begin_layout Plain Layout
24225 en losejemplos de arriba.
24227 \begin_inset Flex Code
24230 \begin_layout Plain Layout
24239 \begin_layout Description
24240 \begin_inset Flex Code
24243 \begin_layout Plain Layout
24250 \begin_inset Flex Code
24253 \begin_layout Plain Layout
24262 \begin_inset space \thinspace{}
24266 \begin_inset Flex Code
24269 \begin_layout Plain Layout
24275 ] Marca este estilo como el que se va a usar para generar la etiqueta
24276 \begin_inset Flex Code
24279 \begin_layout Plain Layout
24285 para el archivo XHTML.
24286 Por omisión, es falso.
24288 \begin_inset Flex Code
24291 \begin_layout Plain Layout
24297 lo establece verdadero para el entorno
24298 \begin_inset Flex Code
24301 \begin_layout Plain Layout
24311 \begin_layout Subsection
24315 \begin_layout Standard
24316 La salida XHTML de los recuadros también se puede controlar por información
24317 en archivos 'layout'.
24321 \begin_layout Plain Layout
24322 Por ahora, esto solo es cierto para recuadros de
24323 \begin_inset Quotes eld
24327 \begin_inset Quotes erd
24330 (recuadros en los que puedes escribir) y no para recuadros de
24331 \begin_inset Quotes eld
24335 \begin_inset Quotes erd
24338 (recuadros asociados con cuadros de diálogo).
24343 También en este caso, \SpecialChar LyX
24344 intenta proporcionar valores predefinidos adecuados,
24345 y construye reglas de estilo CSS, pero todo puede personalizarse.
24348 \begin_layout Standard
24349 Para los recuadros, \SpecialChar LyX
24350 produce XHTML en la forma:
24353 \begin_layout LyX-Code
24355 \begin_inset Quotes erd
24359 \begin_inset Quotes erd
24365 \begin_layout LyX-Code
24366 <labeltag>Label</labeltag>
24369 \begin_layout LyX-Code
24371 \begin_inset Quotes erd
24375 \begin_inset Quotes erd
24378 >Contents of the inset.</innertag>
24381 \begin_layout LyX-Code
24385 \begin_layout Standard
24386 Si el recuadro permite párrafos múltiples —o sea, si
24387 \begin_inset Flex Code
24390 \begin_layout Plain Layout
24396 es verdadero— el contenido del recuadro se generará en forma de párrafos
24397 estructurados según los estilos usados para dichos párrafos (normal, cita,
24399 El rótulo de la etiqueta se omite si el párrafo no lo tiene y, por el momento,
24401 \begin_inset Flex Code
24404 \begin_layout Plain Layout
24411 La etiqueta interior es opcional y, por omisión, no aparece.
24414 \begin_layout Standard
24415 Las etiquetas y atributos específicos para cada recuadro se pueden controlar
24416 mediante las siguientes etiquetas de formato.
24419 \begin_layout Description
24420 \begin_inset Flex Code
24423 \begin_layout Plain Layout
24430 \begin_inset Flex Code
24433 \begin_layout Plain Layout
24439 ] Especifica información de atributos a generar con la etiqueta principal.
24441 \begin_inset Quotes eld
24445 \begin_inset Flex Code
24448 \begin_layout Plain Layout
24449 class=`myinset' onclick=`\SpecialChar ldots
24456 \begin_inset Quotes erd
24460 Por omisión, \SpecialChar LyX
24462 \begin_inset Quotes eld
24466 \begin_inset Flex Code
24469 \begin_layout Plain Layout
24476 \begin_inset Quotes erd
24480 \begin_inset Flex Code
24483 \begin_layout Plain Layout
24489 es el nombre del recuadro en \SpecialChar LyX
24490 , en minúsculas y con los caracteres no alfanuméri
24491 cos convertidos en guiones bajos, por ejemplo: footnote.
24494 \begin_layout Description
24495 \begin_inset Flex Code
24498 \begin_layout Plain Layout
24505 \begin_inset Flex Code
24508 \begin_layout Plain Layout
24517 \begin_inset space \thinspace{}
24521 \begin_inset Flex Code
24524 \begin_layout Plain Layout
24530 ] Si producir la información CSS predeterminadad que \SpecialChar LyX
24531 genera para este formato,
24532 incluso si se da explícitamente información adicional con
24533 \begin_inset Flex Code
24536 \begin_layout Plain Layout
24544 \begin_inset Flex Code
24547 \begin_layout Plain Layout
24553 parmite alterar o aumentar el CSS generado, en vez de sobrescribirlo.
24557 \begin_layout Description
24558 \begin_inset Flex Code
24561 \begin_layout Plain Layout
24568 \begin_inset Flex Code
24571 \begin_layout Plain Layout
24577 ] Atributos para la etiqueta interna.
24579 \begin_inset Newline newline
24583 \begin_inset Quotes eld
24587 \begin_inset Flex Code
24590 \begin_layout Plain Layout
24591 class=`insetname_inner'
24597 \begin_inset Quotes erd
24603 \begin_layout Description
24604 \begin_inset Flex Code
24607 \begin_layout Plain Layout
24614 \begin_inset Flex Code
24617 \begin_layout Plain Layout
24623 ] La etiqueta interna, reemplazando
24624 \begin_inset Flex Code
24627 \begin_layout Plain Layout
24633 en los ejemplos de arriba.
24634 Por omisión, ninguna.
24637 \begin_layout Description
24638 \begin_inset Flex Code
24641 \begin_layout Plain Layout
24648 \begin_inset Flex Code
24651 \begin_layout Plain Layout
24658 \begin_inset space \thinspace{}
24662 \begin_inset Flex Code
24665 \begin_layout Plain Layout
24673 ] Si este recuadro representa un bloque de texto independiente (como una
24674 nota al pie) o bien representa material que está incluido en el texto circundan
24675 te (como una rama).
24679 \begin_layout Description
24680 \begin_inset Flex Code
24683 \begin_layout Plain Layout
24690 \begin_inset Flex Code
24693 \begin_layout Plain Layout
24699 ] Un rótulo para este recuadro, posiblemente incluyendo una referencia a
24701 Por ejemplo, para notas al pie, podría ser:
24702 \begin_inset Flex Code
24705 \begin_layout Plain Layout
24714 Esto es opcional y no hay valor predeterminado.
24717 \begin_layout Description
24718 \begin_inset Flex Code
24721 \begin_layout Plain Layout
24727 Información que saldrá en la sección
24728 \begin_inset Flex Code
24731 \begin_layout Plain Layout
24737 cuando se usa este estilo.
24738 Esto podría usarse, por ejemplo, para incluir un bloque
24739 \begin_inset Flex Code
24742 \begin_layout Plain Layout
24748 que defina un controlador
24749 \begin_inset Flex Code
24752 \begin_layout Plain Layout
24761 \begin_layout Description
24762 \begin_inset Flex Code
24765 \begin_layout Plain Layout
24771 Información de estilo CSS a incluir cuando se usa este estilo.
24772 Esto será automáticamente envuelto en un bloque
24773 \begin_inset Flex Code
24776 \begin_layout Plain Layout
24782 generado por el formato, por lo que solo hay que incluir el propio CSS.
24785 \begin_layout Description
24786 \begin_inset Flex Code
24789 \begin_layout Plain Layout
24796 \begin_inset Flex Code
24799 \begin_layout Plain Layout
24805 ] La etiqueta a usar para el rótulo principal, reemplazando
24806 \begin_inset Flex Code
24809 \begin_layout Plain Layout
24815 en los ejemplos de arriba.
24816 El valor por omisión depende de
24817 \begin_inset Flex Code
24820 \begin_layout Plain Layout
24827 \begin_inset Flex Code
24830 \begin_layout Plain Layout
24837 \begin_inset Flex Code
24840 \begin_layout Plain Layout
24846 ; si es falso, el valor por omisión es
24847 \begin_inset Flex Code
24850 \begin_layout Plain Layout
24859 \begin_layout Subsection
24863 \begin_layout Standard
24864 La salida XHTML para flotantes también se puede controlar mediante información
24865 en archivos 'layout'.
24866 La salida tiene la forma:
24869 \begin_layout LyX-Code
24871 \begin_inset Quotes erd
24875 \begin_inset Quotes erd
24881 \begin_layout LyX-Code
24882 Contents of the float.
24885 \begin_layout LyX-Code
24889 \begin_layout Standard
24890 La leyenda, si la hay, es un recuadro separado y se generará como tal.
24891 Su aspecto puede controlarse con InsetLayout para recuadros de leyendas.
24895 \begin_layout Description
24896 \begin_inset Flex Code
24899 \begin_layout Plain Layout
24906 \begin_inset Flex Code
24909 \begin_layout Plain Layout
24915 ] Especifica información de los atributos a generar con la etiqueta principal,
24917 \begin_inset Quotes eld
24921 \begin_inset Flex Code
24924 \begin_layout Plain Layout
24925 class=`myfloat' onclick=`\SpecialChar ldots
24932 \begin_inset Quotes erd
24936 Por omisión, \SpecialChar LyX
24938 \begin_inset Quotes eld
24942 \begin_inset Flex Code
24945 \begin_layout Plain Layout
24946 class=`float float-floattype'
24952 \begin_inset Quotes erd
24956 \begin_inset Flex Code
24959 \begin_layout Plain Layout
24965 es el nombre en \SpecialChar LyX
24966 para este tipo de flotante, como determina la declaración
24968 \begin_inset CommandInset ref
24970 reference "subsec:Flotantes"
24974 ), aunque en minúsculas y con los caracteres no alfanuméricos sustituidos
24975 por guiones bajos, por ejemplo: float-table.
24978 \begin_layout Description
24979 \begin_inset Flex Code
24982 \begin_layout Plain Layout
24988 Información de estilo CSS a incluir cuando se usa este flotante.
24989 Esto será automáticamente envuelto en un bloque
24990 \begin_inset Flex Code
24993 \begin_layout Plain Layout
24999 generado por el formato, por lo que solo hay que incluir el propio CSS.
25002 \begin_layout Description
25003 \begin_inset Flex Code
25006 \begin_layout Plain Layout
25013 \begin_inset Flex Code
25016 \begin_layout Plain Layout
25022 ] La etiqueta a usar para este flotante, reemplazando "
25023 \begin_inset Flex Code
25026 \begin_layout Plain Layout
25032 " en el ejemplo de arriba.
25033 El valor por omisión es
25034 \begin_inset Flex Code
25037 \begin_layout Plain Layout
25043 y raramente habrá que cambiarlo.
25046 \begin_layout Subsection
25047 Formato de la Bibliografía
25050 \begin_layout Standard
25051 La bibliografía se puede formatear usando bloques
25052 \begin_inset Flex Code
25055 \begin_layout Plain Layout
25063 \begin_inset CommandInset ref
25065 reference "subsec:Descripción-formato-cita"
25072 \begin_layout Subsection
25073 CSS generado por \SpecialChar LyX
25077 \begin_layout Standard
25078 Hemos mencionado ya que \SpecialChar LyX
25079 generará reglas de estilo CSS predeterminadas para
25080 recuadros y estilos de párrafo, basados en la información suministrada
25081 para otros formatos.
25082 En esta sección comentaremos qué información usa \SpecialChar LyX
25086 \begin_layout Standard
25087 Actualmente, \SpecialChar LyX
25088 auto-genera CSS solo para información sobre tipografías, haciendo
25090 \begin_inset Flex Code
25093 \begin_layout Plain Layout
25100 \begin_inset Flex Code
25103 \begin_layout Plain Layout
25110 \begin_inset Flex Code
25113 \begin_layout Plain Layout
25120 \begin_inset Flex Code
25123 \begin_layout Plain Layout
25129 especificados en la declaración
25130 \begin_inset Flex Code
25133 \begin_layout Plain Layout
25141 \begin_inset CommandInset ref
25143 reference "subsec:Tipografía"
25147 .) La traducción es bastante sencilla y evidente.
25149 \begin_inset Quotes eld
25153 \begin_inset Flex Code
25156 \begin_layout Plain Layout
25163 \begin_inset Quotes erd
25167 \begin_inset Quotes eld
25171 \begin_inset Flex Code
25174 \begin_layout Plain Layout
25175 font-family: sans-serif;
25181 \begin_inset Quotes erd
25185 La correspondencia entre tamaños \SpecialChar LyX
25186 y tamaños CSS es un poco menos obvia,
25187 pero intuitiva en todo caso.
25189 \begin_inset Flex Code
25192 \begin_layout Plain Layout
25199 \begin_inset Flex URL
25202 \begin_layout Plain Layout
25213 \begin_layout Chapter
25214 Inserción de material externo
25215 \begin_inset CommandInset label
25217 name "cap:Inserción-de-material"
25224 \begin_layout Standard
25225 \begin_inset Box Shadowbox
25235 height_special "totalheight"
25240 backgroundcolor "none"
25243 \begin_layout Plain Layout
25244 AVISO: Esta parte de la documentación no ha sido actualizada desde hace
25246 Esperamos que aún sea adecuada, pero no hay garantías.
25254 \begin_layout Standard
25255 El uso de material de procedencia externa a \SpecialChar LyX
25256 se trata con detalle en el
25262 En el presente documento se trata sobre lo que debe suceder entre bambalinas
25263 para incluir nuevas clases de material.
25266 \begin_layout Section
25270 \begin_layout Standard
25271 La característica material externo se basa en el concepto
25276 Una plantilla es una especificación de la forma en que \SpecialChar LyX
25278 ciertos tipos de material.
25279 De por sí, \SpecialChar LyX
25280 incluye plantillas predefinidas para figuras Xfig, varios tipos
25281 de imágenes raster, diagramas de ajedrez y notación musical LilyPond.
25282 Puedes comprobar la lista actual en el menú
25283 \begin_inset Flex Noun
25286 \begin_layout Plain Layout
25287 Insertar\SpecialChar menuseparator
25288 Archivo\SpecialChar menuseparator
25295 Además, es posible construir plantillas propias para soportar determinado
25297 Más tarde describiremos con más detalle lo que esto implica, y esperamos
25298 que nos envíes tus plantillas para que se puedan incluir en próximas versiones
25299 de \SpecialChar LyX
25303 \begin_layout Standard
25304 Otra idea básica de la característica material externo es distinguir entre
25305 el archivo original que sirve como base para el material final y el archivo
25306 generado que se incluye en el documento impreso o exportado.
25307 Por ejemplo, consideremos el caso de una figura hecha con
25308 \begin_inset Flex Code
25311 \begin_layout Plain Layout
25318 El programa Xfig en sí mismo trabaja sobre un archivo original con extensión
25320 \begin_inset Flex Code
25323 \begin_layout Plain Layout
25330 Dentro de Xfig, se crea o modifica una figura y se guarda como un archivo
25332 \begin_inset Flex Code
25335 \begin_layout Plain Layout
25342 Para incluir la figura en un documento, se ejecuta
25343 \begin_inset Flex Code
25346 \begin_layout Plain Layout
25352 con el fin de crear un archivo PostScript que puede incluirse fácilmente
25353 en el archivo \SpecialChar LaTeX
25355 En este caso, el archivo
25356 \begin_inset Flex Code
25359 \begin_layout Plain Layout
25365 es el original, y el archivo PostScript es el archivo generado.
25368 \begin_layout Standard
25369 Esta distinción es importante para permitir la actualización del material
25370 durante el proceso de escritura del documento.
25371 Además, provee la flexibilidad necesaria para soportar múltiples formatos
25373 Por ejemplo, en el caso de un archivo de texto sencillo, no es una brillante
25374 idea incluir la figura como PostScript puro.
25375 En vez de esto, es preferible incluir solo una referencia a la figura o
25376 bien probar algún convertidor de gráficos a Ascii para que el resultado
25377 final se parezca al gráfico real.
25378 La gestión de material externo de \SpecialChar LyX
25379 permite hacer esto porque se basa en
25380 parámetros apropiados para los diferentes formatos de exportación soportados.
25383 \begin_layout Standard
25384 Además de soportar la generación de diferentes productos de acuerdo con
25385 el formato de exportación, existe una profunda integración con las aplicaciones
25386 de edición y visualización.
25387 En el caso de figuras Xfig, es posible editar el archivo original en Xfig
25388 con un simple clic derecho sobre el recuadro y también previsualizar el
25389 PostScript generado con ghostview.
25390 Se acabaron los enredos con la línea de comandos y/o el navegador de archivos
25391 para localizar y manipular los archivos originales o los generados.
25392 De esta manera, se pueden por fin aprovechar las ventajas de muy diversas
25393 aplicaciones importantes para la composición de los documentos, y por tanto
25394 aumentar el rendimiento.
25397 \begin_layout Section
25398 El archivo de configuración de plantillas externas
25401 \begin_layout Standard
25402 Es relativamente fácil añadir en \SpecialChar LyX
25403 definiciones personalizadas de plantillas
25405 Sin embargo, hay que ser consciente de que hacer esto de manera descuidada
25406 generará muy probablemente un agujero de seguridad fácil de explotar.
25407 Así pues, antes de hacer esto, lee por favor la discusión sobre seguridad
25409 \begin_inset CommandInset ref
25411 reference "sec:Discusión-sobre-seguridad"
25418 \begin_layout Standard
25419 Una vez dicho esto, te animamos a que envíes cualquiera plantilla interesante
25423 \begin_layout Standard
25424 Las plantillas externas se definen en el archivo
25427 \begin_inset Flex Code
25430 \begin_layout Plain Layout
25438 files that are stored in the
25439 \begin_inset Flex Code
25442 \begin_layout Plain Layout
25445 LyXDir/lib/xtemplates/
25451 Each template is defined in a file of its own.
25462 \begin_inset Flex Code
25465 \begin_layout Plain Layout
25468 UserDir/xtemplates/
25473 or copy existing templates to that directory in order to modify them.
25479 \begin_layout Standard
25480 Una plantilla típica tiene un aspecto como este:
25483 \begin_layout LyX-Code
25487 \begin_layout LyX-Code
25488 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
25491 \begin_layout LyX-Code
25495 \begin_layout LyX-Code
25499 \begin_layout LyX-Code
25503 \begin_layout LyX-Code
25507 \begin_layout LyX-Code
25511 \begin_layout LyX-Code
25512 AutomaticProduction true
25515 \begin_layout LyX-Code
25519 \begin_layout LyX-Code
25523 \begin_layout LyX-Code
25527 \begin_layout LyX-Code
25528 TransformCommand Rotate RotationLatexCommand
25531 \begin_layout LyX-Code
25532 TransformCommand Resize ResizeLatexCommand
25535 \begin_layout LyX-Code
25536 Product "$$RotateFront$$ResizeFront
25539 \begin_layout LyX-Code
25544 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
25547 \begin_layout LyX-Code
25548 $$ResizeBack$$RotateBack"
25551 \begin_layout LyX-Code
25555 \begin_layout LyX-Code
25556 UpdateResult "$$AbsPath$$Basename.pstex_t"
25559 \begin_layout LyX-Code
25560 Requirement "graphicx"
25563 \begin_layout LyX-Code
25564 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
25567 \begin_layout LyX-Code
25568 ReferencedFile latex "$$AbsPath$$Basename.eps"
25571 \begin_layout LyX-Code
25572 ReferencedFile dvi "$$AbsPath$$Basename.eps"
25575 \begin_layout LyX-Code
25579 \begin_layout LyX-Code
25583 \begin_layout LyX-Code
25584 TransformCommand Rotate RotationLatexCommand
25587 \begin_layout LyX-Code
25588 TransformCommand Resize ResizeLatexCommand
25591 \begin_layout LyX-Code
25592 Product "$$RotateFront$$ResizeFront
25595 \begin_layout LyX-Code
25600 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
25603 \begin_layout LyX-Code
25604 $$ResizeBack$$RotateBack"
25607 \begin_layout LyX-Code
25608 UpdateFormat pdftex
25611 \begin_layout LyX-Code
25612 UpdateResult "$$AbsPath$$Basename.pdftex_t"
25615 \begin_layout LyX-Code
25616 Requirement "graphicx"
25619 \begin_layout LyX-Code
25620 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
25623 \begin_layout LyX-Code
25624 ReferencedFile latex "$$AbsPath$$Basename.pdf"
25627 \begin_layout LyX-Code
25631 \begin_layout LyX-Code
25635 \begin_layout LyX-Code
25636 Product "$$Contents(
25638 "$$AbsPath$$Basename.asc
25643 \begin_layout LyX-Code
25644 UpdateFormat asciixfig
25647 \begin_layout LyX-Code
25648 UpdateResult "$$AbsPath$$Basename.asc"
25651 \begin_layout LyX-Code
25655 \begin_layout LyX-Code
25659 \begin_layout LyX-Code
25660 Product "<graphic fileref=
25662 "$$AbsOrRelPathMaster$$Basename.eps
25667 \begin_layout LyX-Code
25671 \begin_layout LyX-Code
25675 \begin_layout LyX-Code
25676 UpdateResult "$$AbsPath$$Basename.eps"
25679 \begin_layout LyX-Code
25680 ReferencedFile docbook "$$AbsPath$$Basename.eps"
25683 \begin_layout LyX-Code
25684 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
25687 \begin_layout LyX-Code
25691 \begin_layout LyX-Code
25692 Product "[XFig: $$FName]"
25695 \begin_layout LyX-Code
25699 \begin_layout LyX-Code
25703 \begin_layout Standard
25704 Como puedes ver, la plantilla se incluye entre
25705 \begin_inset Flex Code
25708 \begin_layout Plain Layout
25716 \begin_inset Flex Code
25719 \begin_layout Plain Layout
25726 Contiene una cabecera que especifica algunas configuraciones generales
25727 y, por cada formato de archivo de documento primario soportado, una sección
25729 \begin_inset Flex Code
25732 \begin_layout Plain Layout
25740 \begin_inset Flex Code
25743 \begin_layout Plain Layout
25752 \begin_layout Subsection
25753 La cabecera de la plantilla
25756 \begin_layout Description
25757 \begin_inset Flex Code
25760 \begin_layout Plain Layout
25761 AutomaticProduction
25762 \begin_inset space ~
25770 Si el archivo representado por la plantilla debe ser generado por \SpecialChar LyX
25772 Este comando debe aparecer exactamente una vez.
25775 \begin_layout Description
25776 \begin_inset Flex Code
25779 \begin_layout Plain Layout
25781 \begin_inset space ~
25789 Un patrón global que se usa en el diálogo del archivo para filtrar los
25791 Si hay más de una posible extensión de archivo (p.
25792 \begin_inset space \thinspace{}
25796 \begin_inset space ~
25800 \begin_inset Flex Code
25803 \begin_layout Plain Layout
25810 \begin_inset Flex Code
25813 \begin_layout Plain Layout
25819 ), se pone algo como
25820 \begin_inset Flex Code
25823 \begin_layout Plain Layout
25830 Este comando debe aparecer exactamente una vez.
25833 \begin_layout Description
25834 \begin_inset Flex Code
25837 \begin_layout Plain Layout
25839 \begin_inset space ~
25847 El texto mostrado sobre el botón.
25848 Este comando debe aparecer exactamente una vez.
25851 \begin_layout Description
25852 \begin_inset Flex Code
25855 \begin_layout Plain Layout
25857 \begin_inset space ~
25861 \begin_inset space ~
25869 El texto de ayuda que se muestra en diálogo.
25870 Da suficiente información sobre lo que puede proporcionar la plantilla.
25871 Este comando debe aparecer exactamente una vez.
25874 \begin_layout Description
25875 \begin_inset Flex Code
25878 \begin_layout Plain Layout
25880 \begin_inset space ~
25888 El formato de archivo del original.
25889 Debe ser el nombre de un formato conocido por \SpecialChar LyX
25891 \begin_inset CommandInset ref
25893 reference "sec:Formatos"
25899 \begin_inset Quotes cld
25903 \begin_inset Flex Code
25906 \begin_layout Plain Layout
25913 \begin_inset Quotes crd
25916 si la plantilla puede manejar archivos originales o más de un formato.
25917 En este caso, \SpecialChar LyX
25918 intentará inspeccionar el archivo mismo para deducir su
25920 Este comando debe aparecer exactamente una vez.
25923 \begin_layout Description
25924 \begin_inset Flex Code
25927 \begin_layout Plain Layout
25929 \begin_inset space ~
25937 Un nombre único para la plantilla.
25938 No debe contener macros de sustitución (véase abajo).
25941 \begin_layout Description
25942 \begin_inset Flex Code
25945 \begin_layout Plain Layout
25947 \begin_inset space ~
25950 Rotate|Resize|Clip|Extra
25955 Este comando especifica qué transformaciones son soportadas por esta plantilla.
25956 Puede aparecer ninguna o varias veces.
25957 Este comando facilita las correspondientes pestañas en el diálogo de material
25960 \begin_inset Flex Code
25963 \begin_layout Plain Layout
25969 debe tener el correspondiente
25970 \begin_inset Flex Code
25973 \begin_layout Plain Layout
25980 \begin_inset Flex Code
25983 \begin_layout Plain Layout
25990 \begin_inset Flex Code
25993 \begin_layout Plain Layout
26000 De lo contrario la transformación no será soportada por ese formato.
26004 \begin_layout Subsection
26008 \begin_layout Description
26009 \begin_inset Flex Code
26012 \begin_layout Plain Layout
26014 \begin_inset space ~
26017 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
26022 El formato de archivo del documento primario para el que es esta definición
26024 No toda plantilla tiene una representación sensible en los formatos de
26025 archivo de todos los documentos.
26026 No obstante, es preferible definir una sección
26027 \begin_inset Flex Code
26030 \begin_layout Plain Layout
26036 para todos los formatos.
26037 Se usa un texto postizo si no hay representación disponible.
26038 Entonces, al menos, se puede ver una referencia al material externo en
26039 el documento exportado.
26042 \begin_layout Description
26043 \begin_inset Flex Code
26046 \begin_layout Plain Layout
26048 \begin_inset space ~
26052 \begin_inset space ~
26060 Este comando define una macro adicional,
26061 \begin_inset Flex Code
26064 \begin_layout Plain Layout
26070 , para sustitución en
26071 \begin_inset Flex Code
26074 \begin_layout Plain Layout
26082 \begin_inset Flex Code
26085 \begin_layout Plain Layout
26091 puede contener en sí mismo macros de sustitución.
26092 La ventaja sobre el uso de
26093 \begin_inset Flex Code
26096 \begin_layout Plain Layout
26103 \begin_inset Flex Code
26106 \begin_layout Plain Layout
26112 es que el valor sustituido de
26113 \begin_inset Flex Code
26116 \begin_layout Plain Layout
26122 está saneado así que es un argumento opcional válido en el formato del
26124 Este comando puede aparecer ninguna o más veces.
26127 \begin_layout Description
26128 \begin_inset Flex Code
26131 \begin_layout Plain Layout
26133 \begin_inset space ~
26141 El texto que se inserta en el documento exportado.
26142 Realmente este es el comando más importante y puede ser bastante complejo.
26143 Este comando debe aparecer exactamente una vez.
26146 \begin_layout Description
26147 \begin_inset Flex Code
26150 \begin_layout Plain Layout
26152 \begin_inset space ~
26160 Este comando especifica un fragmento de preámbulo que se incluirá en el
26161 preámbulo \SpecialChar LaTeX
26163 Tiene que definirse usando
26164 \begin_inset Flex Code
26167 \begin_layout Plain Layout
26175 \begin_inset Flex Code
26178 \begin_layout Plain Layout
26185 Este comando puede aparecer ninguna o más veces.
26188 \begin_layout Description
26189 \begin_inset Flex Code
26192 \begin_layout Plain Layout
26194 \begin_inset space ~
26198 \begin_inset space ~
26206 Este comando indica los archivos que se crean por el proceso de conversión
26207 y que son necesarios para un formato de exportación particular.
26208 Si el nombre del archivo es relativo, se interpreta como relativo al documento
26210 Este comando puede darse ninguna o más veces.
26213 \begin_layout Description
26214 \begin_inset Flex Code
26217 \begin_layout Plain Layout
26219 \begin_inset space ~
26227 El nombre de un paquete \SpecialChar LaTeX
26229 El paquete se incuye mediante
26230 \begin_inset Flex Code
26233 \begin_layout Plain Layout
26241 en el preámbulo \SpecialChar LaTeX
26243 Este comando puede aparecer ninguna o más veces.
26246 \begin_layout Description
26247 \begin_inset Flex Code
26250 \begin_layout Plain Layout
26252 \begin_inset space ~
26256 \begin_inset space ~
26259 RotationLatexCommand
26264 Este comando especifica que el comando \SpecialChar LaTeX
26265 incluido debería usarse para la
26267 Este comando puede aparecer una vez o ninguna.
26270 \begin_layout Description
26271 \begin_inset Flex Code
26274 \begin_layout Plain Layout
26276 \begin_inset space ~
26280 \begin_inset space ~
26288 Este comando especifica que el comando \SpecialChar LaTeX
26289 incluido debería usarse para cambiar
26291 Este comando puede aparecer una vez o ninguna.
26294 \begin_layout Description
26295 \begin_inset Flex Code
26298 \begin_layout Plain Layout
26300 \begin_inset space ~
26304 \begin_inset space ~
26307 RotationLatexOption
26312 Este comando especifica que la rotación se hace mediante un argumento opcional.
26313 Este comando puede aparecer una vez o ninguna.
26316 \begin_layout Description
26317 \begin_inset Flex Code
26320 \begin_layout Plain Layout
26322 \begin_inset space ~
26326 \begin_inset space ~
26334 Este comando especifica que el cambio de tamaño se hace mediante un argumento
26336 Este comando puede aparecer una vez o ninguna
26339 \begin_layout Description
26340 \begin_inset Flex Code
26343 \begin_layout Plain Layout
26345 \begin_inset space ~
26349 \begin_inset space ~
26357 Este comando especifica que el recorte se hace mediante un argumento opcional.
26358 Este comando puede aparecer una vez o ninguna.
26361 \begin_layout Description
26362 \begin_inset Flex Code
26365 \begin_layout Plain Layout
26367 \begin_inset space ~
26371 \begin_inset space ~
26379 Este comando especifica que se usa un argumento extra opcional.
26380 Este comando puede aparecer una vez o ninguna.
26384 \begin_layout Description
26385 \begin_inset Flex Code
26388 \begin_layout Plain Layout
26390 \begin_inset space ~
26398 El formato de archivo del archivo convertido.
26399 Debe ser el nombre de un formato conocido por \SpecialChar LyX
26401 \begin_inset Flex Noun
26404 \begin_layout Plain Layout
26411 \begin_inset Flex Noun
26414 \begin_layout Plain Layout
26415 Gestión de archivos
26421 \begin_inset Flex Noun
26424 \begin_layout Plain Layout
26425 Herramientas\SpecialChar menuseparator
26432 Este comando debe aparecer exactamente una vez.
26433 Si el formato del archivo resultante es PDF, debes especificar el formato
26435 \begin_inset Flex Code
26438 \begin_layout Plain Layout
26445 Es el formato PDF usado para incluir gráficos.
26446 Los otros formatos PDF definidos son para exportación de documentos.
26449 \begin_layout Description
26450 \begin_inset Flex Code
26453 \begin_layout Plain Layout
26455 \begin_inset space ~
26463 El nombre de archivo del archivo convertido.
26464 El nombre de archivo debe ser absoluto.
26465 Este comando debe aparecer exactamente una vez.
26468 \begin_layout Subsection
26469 Definiciones de preámbulo
26472 \begin_layout Standard
26473 El archivo de configuración de plantillas externas puede contener definiciones
26474 de preámbulo adicionales encerradas entre
26475 \begin_inset Flex Code
26478 \begin_layout Plain Layout
26486 \begin_inset Flex Code
26489 \begin_layout Plain Layout
26496 Se pueden usar por las plantillas en la sección
26497 \begin_inset Flex Code
26500 \begin_layout Plain Layout
26509 \begin_layout Section
26510 El mecanismo de sustitución
26513 \begin_layout Standard
26514 Cuando la función de material externo recurre a un programa externo, se
26515 hace sobre la base de un comando definido en el archivo de configuración
26517 Estos comandos pueden contener varias macros que se expanden antes de su
26519 La ejecución tiene lugar siempre en el directorio del documento.
26523 \begin_layout Standard
26524 Además, cada vez que el material externo se va a mostrar, el nombre será
26525 generado por el mecanismo de sustitución, y la mayoría de los demás comandos
26526 en la definición de la plantilla soportan también sustitución.
26530 \begin_layout Standard
26531 Las macros disponibles son las siguientes:
26534 \begin_layout Description
26535 \begin_inset Flex Code
26538 \begin_layout Plain Layout
26539 $$AbsOrRelPathMaster
26544 La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
26548 \begin_layout Description
26549 \begin_inset Flex Code
26552 \begin_layout Plain Layout
26553 $$AbsOrRelPathParent
26558 La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
26562 \begin_layout Description
26563 \begin_inset Flex Code
26566 \begin_layout Plain Layout
26572 La ruta absoluta del archivo.
26575 \begin_layout Description
26576 \begin_inset Flex Code
26579 \begin_layout Plain Layout
26585 El nombre de archivo sin ruta y sin la extensión.
26588 \begin_layout Description
26589 \begin_inset Flex Code
26592 \begin_layout Plain Layout
26594 \begin_inset Quotes eld
26598 \begin_inset Quotes erd
26606 Esta macro expandirá los contenidos del archivo con el nombre
26607 \begin_inset Flex Code
26610 \begin_layout Plain Layout
26619 \begin_layout Description
26620 \begin_inset Flex Code
26623 \begin_layout Plain Layout
26629 La extensión de archivo (incluyendo el punto).
26632 \begin_layout Description
26633 \begin_inset Flex Code
26636 \begin_layout Plain Layout
26643 \begin_inset Quotes cld
26647 \begin_inset Quotes crd
26650 si el archivo está en formato JPEG, si no será
26651 \begin_inset Quotes eld
26655 \begin_inset Quotes erd
26659 Esto es útil para evitar conversiones innecesarias para formatos de salida
26660 que soporten tanto PNG como JPEG.
26661 La plantilla predefinida RasterImage usa esta macro para el formato de
26662 salida pdf\SpecialChar TeX
26666 \begin_layout Description
26667 \begin_inset Flex Code
26670 \begin_layout Plain Layout
26676 El nombre de archivo del archivo especificado en el diálogo de material
26678 Esto es bien un nombre absoluto, bien relativo al documento \SpecialChar LyX
26682 \begin_layout Description
26683 \begin_inset Flex Code
26686 \begin_layout Plain Layout
26692 La parte de la ruta de
26693 \begin_inset Flex Code
26696 \begin_layout Plain Layout
26702 (nombre absoluto o relativo al documento \SpecialChar LyX
26706 \begin_layout Description
26707 \begin_inset Flex Code
26710 \begin_layout Plain Layout
26716 La ruta del archivo, relativa al documento maestro \SpecialChar LyX
26720 \begin_layout Description
26721 \begin_inset Flex Code
26724 \begin_layout Plain Layout
26730 La ruta del archivo, relativa al documento \SpecialChar LyX
26734 \begin_layout Description
26735 \begin_inset Flex Code
26738 \begin_layout Plain Layout
26744 Esta macro expandirá a la ruta absoluta del directorio de sistema.
26745 Esto se usa habitualmente para apuntar a los varios guiones de ayuda que
26746 se empaquetan con \SpecialChar LyX
26750 \begin_layout Description
26751 \begin_inset Flex Code
26754 \begin_layout Plain Layout
26760 Un nombre y ruta completa a un directorio temporal que será borrado automáticam
26761 ente siempre que el documento se cierra, o se suprime la inserción de material
26765 \begin_layout Standard
26766 Todas las macros de ruta contienen un separador de rastreo del directorio,
26767 así se puede construir, p.
26768 \begin_inset space \thinspace{}
26771 e., el nombre de archivo absoluto con
26772 \begin_inset Flex Code
26775 \begin_layout Plain Layout
26776 $$AbsPath$$Basename$$Extension
26784 \begin_layout Standard
26785 Las macros anteriores son sustituidas en todos los comandos a menos que
26786 se indique lo contrario.
26788 \begin_inset Flex Code
26791 \begin_layout Plain Layout
26797 soporta adicionalmente las siguientes sustituciones si se habilitan por
26799 \begin_inset Flex Code
26802 \begin_layout Plain Layout
26809 \begin_inset Flex Code
26812 \begin_layout Plain Layout
26821 \begin_layout Description
26822 \begin_inset Flex Code
26825 \begin_layout Plain Layout
26831 La parte delantera del comando para cambiar el tamaño.
26834 \begin_layout Description
26835 \begin_inset Flex Code
26838 \begin_layout Plain Layout
26844 La parte trasera del comando para cambiar el tamaño.
26847 \begin_layout Description
26848 \begin_inset Flex Code
26851 \begin_layout Plain Layout
26857 La parte delantera del comando para la rotación.
26860 \begin_layout Description
26861 \begin_inset Flex Code
26864 \begin_layout Plain Layout
26870 La parte trasera del comando para la rotación.
26873 \begin_layout Standard
26874 La cadena de valor del comando
26875 \begin_inset Flex Code
26878 \begin_layout Plain Layout
26884 soporta adicionalmente las siguientes sustituciones si éstas se han habilitado
26886 \begin_inset Flex Code
26889 \begin_layout Plain Layout
26896 \begin_inset Flex Code
26899 \begin_layout Plain Layout
26908 \begin_layout Description
26909 \begin_inset Flex Code
26912 \begin_layout Plain Layout
26921 \begin_layout Description
26922 \begin_inset Flex Code
26925 \begin_layout Plain Layout
26934 \begin_layout Description
26935 \begin_inset Flex Code
26938 \begin_layout Plain Layout
26944 La opción cambio de tamaño.
26947 \begin_layout Description
26948 \begin_inset Flex Code
26951 \begin_layout Plain Layout
26957 La opción rotación.
26960 \begin_layout Standard
26961 Te puedes preguntar por qué hay tantas macros de ruta.
26962 Por dos razones, principalmente:
26965 \begin_layout Enumerate
26966 Los nombres de archivo relativo y absoluto deberían permanecer relativo
26967 o absoluto, respectivamente.
26968 Los usuarios pueden tener razones para preferir cualquiera de ambas formas.
26969 Los nombres relativos son útiles para documentos portables que deberían
26970 funcionar en máquinas diferentes, por ejemplo.
26971 Los nombres absolutos pueden ser requeridos por algunos programas.
26974 \begin_layout Enumerate
26976 procesa los nombres de archivo relativos de manera diferente a \SpecialChar LyX
26978 programas en archivos anidados incluidos.
26979 Para \SpecialChar LyX
26980 , un nombre de archivo relativo es siempre relativo al documento que
26981 contiene el nombre de archivo.
26982 Para \SpecialChar LaTeX
26983 , es siempre relativo al documento maestro.
26984 Estas dos definiciones son idénticas si se tiene solo un documento, pero
26985 son distintas si se tiene un documento maestro que incluye documentos parciales.
26986 Esto quiere decir que los nombres de archivo relativos deben ser transformados
26987 cuando se presentan a \SpecialChar LaTeX
26989 Afortunadamente, \SpecialChar LyX
26990 hace esto automáticamente si se eligen las macros correctas.
26993 \begin_layout Standard
26994 Así pues, ¿qué macros de ruta deberían emplearse en las definiciones de
26995 plantillas nuevas? La regla no es difícil:
26998 \begin_layout Itemize
27000 \begin_inset Flex Code
27003 \begin_layout Plain Layout
27009 si se requiere una ruta absoluta.
27012 \begin_layout Itemize
27014 \begin_inset Flex Code
27017 \begin_layout Plain Layout
27018 $$AbsOrRelPathMaster
27023 si la cadena sustituida es algún tipo de entrada \SpecialChar LaTeX
27027 \begin_layout Itemize
27029 \begin_inset Flex Code
27032 \begin_layout Plain Layout
27033 $$AbsOrRelPathParent
27038 con el fin de preservar la elección del usuario.
27041 \begin_layout Standard
27042 Hay casos especiales en los que esta regla no funciona y se necesitan, p.
27043 \begin_inset space \thinspace{}
27046 e., nombres relativos, pero normalmente funcionará bien.
27047 Un ejemplo de uno de estos casos es el comando
27048 \begin_inset Flex Code
27051 \begin_layout Plain Layout
27052 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
27057 en la plantilla XFig de arriba: no podemos usar el nombre absoluto porque
27058 el copiador para archivos
27059 \begin_inset Flex Code
27062 \begin_layout Plain Layout
27068 necesita el nombre relativo para reescribir el contenido del archivo.
27071 \begin_layout Section
27072 Discusión sobre seguridad
27073 \begin_inset CommandInset label
27075 name "sec:Discusión-sobre-seguridad"
27082 \begin_layout Standard
27083 La función material externo interactúa con muchos programas externos y lo
27084 hace de forma automática, así que hemos de tener en cuenta las implicaciones
27085 de seguridad que esto conlleva.
27086 En particular, puesto que tienes la opción de incluir tus propios archivos
27087 y/o cadenas de parámetros y estos se expanden en un comando, parece posible
27088 crear un documento malicioso que ejecute comandos arbitrarios cuando un
27089 usuario ve o imprime el documento.
27090 Esto es algo que definitivamente queremos evitar.
27094 \begin_layout Standard
27095 Sin embargo, dado que los comandos de material externo se especifican solo
27096 en el archivo de configuración de la plantilla, no hay problemas de seguridad
27097 si \SpecialChar LyX
27098 está adecuadamente configurado solo con plantillas seguras.
27099 Esto es así porque los programas externos se invocan con la llamada al
27101 \begin_inset Flex Code
27104 \begin_layout Plain Layout
27110 más bien que con la llamada
27111 \begin_inset Flex Code
27114 \begin_layout Plain Layout
27120 , de modo que no es posible ejecutar comandos arbitrarios desde la sección
27121 del nombre de archivo o de parámetros mediante el shell.
27124 \begin_layout Standard
27125 Esto implica además que hay restricciones en las cadenas de comandos que
27126 puedes usar en las plantillas de material externo.
27127 En particular, las tuberías y la redirección no están fácilmente disponibles.
27128 Esto debe ser así para que \SpecialChar LyX
27130 Si quieres usar algunas características de shell, deberías escribir un
27131 guión seguro para hacerlo de manera controlada, y después invocar el guión
27132 desde la cadena de comandos.
27135 \begin_layout Standard
27136 Es posible diseñar una plantilla que interactúe directamente con el shell,
27137 pero puesto que esto permitiría a un usuario malicioso ejecutar comandos
27138 arbitrarios escribiendo nombres de archivo y/o parámetros astutos, generalmente
27139 recomendamos usar solo guiones seguros que trabajen con la llamada
27140 \begin_inset Flex Code
27143 \begin_layout Plain Layout
27149 al sistema en forma controlada.
27150 Por supuesto, para usar en un entorno controlado, puede ser tentador caer
27151 en el uso de guiones de shell ordinarios.
27152 Si lo haces así, sé consciente de que vas a suministrar un agujero se seguridad
27153 fácilmente explotable en tu sistema.
27154 Evidentemente, es de razón que tales plantillas inseguras nunca serán incluidas
27155 en la distribución estándar de \SpecialChar LyX
27156 , aunque alentamos a la gente a que, a la
27157 usanza del software libre, envíe nuevas plantillas.
27158 No obstante, \SpecialChar LyX
27159 nunca tendrá plantillas inseguras tal y como se distribuye
27160 por los canales oficiales.
27163 \begin_layout Standard
27164 Incluir material externo suministra mucha potencia y has de ser cuidadoso
27165 en no introducir riesgos de seguridad a costa de esta potencia.
27166 Un sutil error en una simple línea en un guión aparentemente inocente puede
27167 abrir la puerta a graves problemas de seguridad.
27168 Así, si no comprendes totalmente estos asuntos, recomendamos consultar
27169 a un profesional entendido en seguridad o al equipo de desarrollo de \SpecialChar LyX
27171 tienes dudas acerca de si una plantilla dada es o no segura.
27172 Y hazlo antes de usarla en un entorno no controlado.
27175 \begin_layout Chapter
27177 Lista de funciones soportadas por \SpecialChar LyX
27178 en archivos de formato
27179 \begin_inset CommandInset label
27181 name "cap:Lista-de-funciones"
27188 \begin_layout Standard
27190 \begin_inset Tabular
27191 <lyxtabular version="3" rows="11" columns="8">
27192 <features tabularvalignment="middle">
27193 <column alignment="left" valignment="top">
27194 <column alignment="left" valignment="top">
27195 <column alignment="left" valignment="top">
27196 <column alignment="left" valignment="top">
27197 <column alignment="left" valignment="top">
27198 <column alignment="left" valignment="top">
27199 <column alignment="left" valignment="top">
27200 <column alignment="left" valignment="top">
27202 <cell alignment="left" valignment="top" usebox="none">
27205 \begin_layout Plain Layout
27211 <cell alignment="left" valignment="top" usebox="none">
27214 \begin_layout Plain Layout
27220 <cell alignment="left" valignment="top" usebox="none">
27223 \begin_layout Plain Layout
27229 <cell alignment="left" valignment="top" usebox="none">
27232 \begin_layout Plain Layout
27238 <cell alignment="center" valignment="top" usebox="none">
27241 \begin_layout Plain Layout
27247 <cell alignment="center" valignment="top" usebox="none">
27250 \begin_layout Plain Layout
27256 <cell alignment="center" valignment="top" usebox="none">
27259 \begin_layout Plain Layout
27265 <cell alignment="center" valignment="top" usebox="none">
27268 \begin_layout Plain Layout
27276 <cell alignment="left" valignment="top" usebox="none">
27279 \begin_layout Plain Layout
27285 <cell alignment="left" valignment="top" usebox="none">
27288 \begin_layout Plain Layout
27294 <cell alignment="left" valignment="top" usebox="none">
27297 \begin_layout Plain Layout
27303 <cell alignment="left" valignment="top" usebox="none">
27306 \begin_layout Plain Layout
27312 <cell alignment="center" valignment="top" usebox="none">
27315 \begin_layout Plain Layout
27321 <cell alignment="center" valignment="top" usebox="none">
27324 \begin_layout Plain Layout
27330 <cell alignment="center" valignment="top" usebox="none">
27333 \begin_layout Plain Layout
27339 <cell alignment="center" valignment="top" usebox="none">
27342 \begin_layout Plain Layout
27350 <cell alignment="left" valignment="top" usebox="none">
27353 \begin_layout Plain Layout
27359 <cell alignment="left" valignment="top" usebox="none">
27362 \begin_layout Plain Layout
27368 <cell alignment="left" valignment="top" usebox="none">
27371 \begin_layout Plain Layout
27377 <cell alignment="left" valignment="top" usebox="none">
27380 \begin_layout Plain Layout
27386 <cell alignment="center" valignment="top" usebox="none">
27389 \begin_layout Plain Layout
27395 <cell alignment="center" valignment="top" usebox="none">
27398 \begin_layout Plain Layout
27404 <cell alignment="center" valignment="top" usebox="none">
27407 \begin_layout Plain Layout
27413 <cell alignment="center" valignment="top" usebox="none">
27416 \begin_layout Plain Layout
27424 <cell alignment="left" valignment="top" usebox="none">
27427 \begin_layout Plain Layout
27433 <cell alignment="left" valignment="top" usebox="none">
27436 \begin_layout Plain Layout
27442 <cell alignment="left" valignment="top" usebox="none">
27445 \begin_layout Plain Layout
27451 <cell alignment="left" valignment="top" usebox="none">
27454 \begin_layout Plain Layout
27460 <cell alignment="center" valignment="top" usebox="none">
27463 \begin_layout Plain Layout
27469 <cell alignment="center" valignment="top" usebox="none">
27472 \begin_layout Plain Layout
27478 <cell alignment="center" valignment="top" usebox="none">
27481 \begin_layout Plain Layout
27487 <cell alignment="center" valignment="top" usebox="none">
27490 \begin_layout Plain Layout
27498 <cell alignment="left" valignment="top" usebox="none">
27501 \begin_layout Plain Layout
27507 <cell alignment="left" valignment="top" usebox="none">
27510 \begin_layout Plain Layout
27516 <cell alignment="left" valignment="top" usebox="none">
27519 \begin_layout Plain Layout
27525 <cell alignment="left" valignment="top" usebox="none">
27528 \begin_layout Plain Layout
27534 <cell alignment="center" valignment="top" usebox="none">
27537 \begin_layout Plain Layout
27543 <cell alignment="center" valignment="top" usebox="none">
27546 \begin_layout Plain Layout
27552 <cell alignment="center" valignment="top" usebox="none">
27555 \begin_layout Plain Layout
27561 <cell alignment="center" valignment="top" usebox="none">
27564 \begin_layout Plain Layout
27572 <cell alignment="left" valignment="top" usebox="none">
27575 \begin_layout Plain Layout
27581 <cell alignment="left" valignment="top" usebox="none">
27584 \begin_layout Plain Layout
27590 <cell alignment="left" valignment="top" usebox="none">
27593 \begin_layout Plain Layout
27599 <cell alignment="left" valignment="top" usebox="none">
27602 \begin_layout Plain Layout
27608 <cell alignment="center" valignment="top" usebox="none">
27611 \begin_layout Plain Layout
27617 <cell alignment="center" valignment="top" usebox="none">
27620 \begin_layout Plain Layout
27626 <cell alignment="center" valignment="top" usebox="none">
27629 \begin_layout Plain Layout
27635 <cell alignment="center" valignment="top" usebox="none">
27638 \begin_layout Plain Layout
27646 <cell alignment="left" valignment="top" usebox="none">
27649 \begin_layout Plain Layout
27655 <cell alignment="left" valignment="top" usebox="none">
27658 \begin_layout Plain Layout
27664 <cell alignment="left" valignment="top" usebox="none">
27667 \begin_layout Plain Layout
27673 <cell alignment="left" valignment="top" usebox="none">
27676 \begin_layout Plain Layout
27682 <cell alignment="center" valignment="top" usebox="none">
27685 \begin_layout Plain Layout
27691 <cell alignment="center" valignment="top" usebox="none">
27694 \begin_layout Plain Layout
27700 <cell alignment="center" valignment="top" usebox="none">
27703 \begin_layout Plain Layout
27709 <cell alignment="center" valignment="top" usebox="none">
27712 \begin_layout Plain Layout
27720 <cell alignment="left" valignment="top" usebox="none">
27723 \begin_layout Plain Layout
27729 <cell alignment="left" valignment="top" usebox="none">
27732 \begin_layout Plain Layout
27738 <cell alignment="left" valignment="top" usebox="none">
27741 \begin_layout Plain Layout
27747 <cell alignment="left" valignment="top" usebox="none">
27750 \begin_layout Plain Layout
27756 <cell alignment="center" valignment="top" usebox="none">
27759 \begin_layout Plain Layout
27765 <cell alignment="center" valignment="top" usebox="none">
27768 \begin_layout Plain Layout
27774 <cell alignment="center" valignment="top" usebox="none">
27777 \begin_layout Plain Layout
27783 <cell alignment="center" valignment="top" usebox="none">
27786 \begin_layout Plain Layout
27794 <cell alignment="left" valignment="top" usebox="none">
27797 \begin_layout Plain Layout
27803 <cell alignment="left" valignment="top" usebox="none">
27806 \begin_layout Plain Layout
27812 <cell alignment="left" valignment="top" usebox="none">
27815 \begin_layout Plain Layout
27821 <cell alignment="left" valignment="top" usebox="none">
27824 \begin_layout Plain Layout
27830 <cell alignment="center" valignment="top" usebox="none">
27833 \begin_layout Plain Layout
27839 <cell alignment="center" valignment="top" usebox="none">
27842 \begin_layout Plain Layout
27848 <cell alignment="center" valignment="top" usebox="none">
27851 \begin_layout Plain Layout
27857 <cell alignment="center" valignment="top" usebox="none">
27860 \begin_layout Plain Layout
27868 <cell alignment="left" valignment="top" usebox="none">
27871 \begin_layout Plain Layout
27877 <cell alignment="left" valignment="top" usebox="none">
27880 \begin_layout Plain Layout
27886 <cell alignment="left" valignment="top" usebox="none">
27889 \begin_layout Plain Layout
27895 <cell alignment="left" valignment="top" usebox="none">
27898 \begin_layout Plain Layout
27904 <cell alignment="center" valignment="top" usebox="none">
27907 \begin_layout Plain Layout
27913 <cell alignment="center" valignment="top" usebox="none">
27916 \begin_layout Plain Layout
27922 <cell alignment="center" valignment="top" usebox="none">
27925 \begin_layout Plain Layout
27931 <cell alignment="center" valignment="top" usebox="none">
27934 \begin_layout Plain Layout
27942 <cell alignment="center" valignment="top" usebox="none">
27945 \begin_layout Plain Layout
27951 <cell alignment="center" valignment="top" usebox="none">
27954 \begin_layout Plain Layout
27960 <cell alignment="center" valignment="top" usebox="none">
27963 \begin_layout Plain Layout
27969 <cell alignment="center" valignment="top" usebox="none">
27972 \begin_layout Plain Layout
27978 <cell alignment="center" valignment="top" usebox="none">
27981 \begin_layout Plain Layout
27987 <cell alignment="center" valignment="top" usebox="none">
27990 \begin_layout Plain Layout
27996 <cell alignment="center" valignment="top" usebox="none">
27999 \begin_layout Plain Layout
28005 <cell alignment="center" valignment="top" usebox="none">
28008 \begin_layout Plain Layout
28022 \begin_layout Chapter
28023 Nombres de colores disponibles para archivos de formato
28024 \begin_inset CommandInset label
28026 name "cap:Nombres-de-colores"
28033 \begin_layout Standard
28034 Los colores listados son los colores estándar y los que se pueden modificar
28035 en las preferencias de \SpecialChar LyX
28039 \begin_layout Section
28045 \begin_layout Standard
28048 The following are no real colors, but rather act on color definitions:
28051 \begin_layout Description
28052 ignore El color es ignorado
28055 \begin_layout Description
28056 inherit El color es heredado
28059 \begin_layout Description
28066 Ningún color en particular, transparente o ausente
28069 \begin_layout Section
28075 \begin_layout Standard
28078 These are fixed colors that cannot me customized:
28081 \begin_layout Description
28085 \begin_layout Description
28089 \begin_layout Description
28093 \begin_layout Description
28097 \begin_layout Description
28101 \begin_layout Description
28105 \begin_layout Description
28109 \begin_layout Description
28113 \begin_layout Description
28117 \begin_layout Description
28121 \begin_layout Description
28125 \begin_layout Description
28129 \begin_layout Description
28133 \begin_layout Description
28137 \begin_layout Description
28141 \begin_layout Description
28145 \begin_layout Description
28149 \begin_layout Description
28153 \begin_layout Description
28157 \begin_layout Section
28163 \begin_layout Standard
28166 These are the colors allocated to specific elements in
28169 \begin_inset Flex Noun
28172 \begin_layout Plain Layout
28173 Herramientas\SpecialChar menuseparator
28182 \begin_layout Description
28183 added_space Color espacio añadido
28186 \begin_layout Description
28187 addedtext Color texto añadido
28190 \begin_layout Description
28191 appendix Color marcador de apéndice
28194 \begin_layout Description
28195 background Color de fondo
28198 \begin_layout Description
28199 bottomarea Color área inferior
28202 \begin_layout Description
28203 branchlabel Color etiqueta de ramas
28206 \begin_layout Description
28207 buttonbg Color fondo de botón
28210 \begin_layout Description
28211 buttonframe Color para marcos de botones de recuadro
28214 \begin_layout Description
28215 buttonhoverbg Color fondo de botón en foco
28218 \begin_layout Description
28219 changebar Color barra de cambios
28222 \begin_layout Description
28223 changedtextauthor1 Color autor 1 de texto cambiado
28226 \begin_layout Description
28227 changedtextauthor2 Color autor 2 de texto cambiado
28230 \begin_layout Description
28231 changedtextauthor3 Color autor 3 de texto cambiado
28234 \begin_layout Description
28235 changedtextauthor4 Color autor 4 de texto cambiado
28238 \begin_layout Description
28239 changedtextauthor5 Color autor 5 de texto cambiado
28242 \begin_layout Description
28243 collapsibletext Color texto de recuadro plegable
28246 \begin_layout Description
28247 collapsibleframe Color marco de recuadro plegable
28250 \begin_layout Description
28251 command Color texto recuadros de comando
28254 \begin_layout Description
28255 commandbg Color fondo recuadros de comando
28258 \begin_layout Description
28259 commandframe Color marco recuadros de comando
28262 \begin_layout Description
28263 comment Color etiqueta de comentarios
28266 \begin_layout Description
28267 commentbg Color fondo de comentarios
28270 \begin_layout Description
28271 cursor Color cursor
28274 \begin_layout Description
28275 deletedtext Color texto borrado
28278 \begin_layout Description
28279 deletedtextmodifier Color modificación de texto borrado
28282 \begin_layout Description
28283 depthbar Color barra de anidación en margen
28286 \begin_layout Description
28287 eolmarker Color marcador fin de línea
28290 \begin_layout Description
28291 error Color cuadro de error \SpecialChar LaTeX
28295 \begin_layout Description
28296 footlabel Color etiqueta de notas a pie de página
28299 \begin_layout Description
28305 \begin_layout Description
28306 graphicsbg Color fondo de recuadros de inserción de gráficos
28309 \begin_layout Description
28310 greyedoutbg Color fondo de recuadros de notas grises
28313 \begin_layout Description
28314 greyedoutlabel Color etiqueta de recuadros de notas grises
28317 \begin_layout Description
28318 greyedouttext Color texto de recuadros de notas grises
28321 \begin_layout Description
28322 indexlabel Color etiqueta de recuadros de índice
28325 \begin_layout Description
28326 inlinecompletion Color autofinalización en línea
28329 \begin_layout Description
28330 insetbg Color fondo de marcador de recuadro
28333 \begin_layout Description
28334 insetframe Color marco de marcador de recuadro
28337 \begin_layout Description
28338 language Color marcador de palabras en otros idiomas
28341 \begin_layout Description
28342 latex Color texto en modo \SpecialChar LaTeX
28346 \begin_layout Description
28347 listingsbg Color fondo de recuadro listado de código
28350 \begin_layout Description
28351 marginlabel Color etiqueta de notas al margen
28354 \begin_layout Description
28355 math Color texto de recuadro de ecuación
28358 \begin_layout Description
28359 mathbg Color fondo de recuadro de ecuación
28362 \begin_layout Description
28363 mathcorners Color marco de recuadro de ecuación fuera de foco
28366 \begin_layout Description
28367 mathframe Color marco de recuadro de ecuación en foco
28370 \begin_layout Description
28371 mathline Color línea de ecuación
28374 \begin_layout Description
28375 mathmacrobg Color fondo de recuadro de macro matemática
28378 \begin_layout Description
28379 mathmacroblend Color mezclado macro matemática
28382 \begin_layout Description
28383 mathmacroframe Color marco de macro matemática
28386 \begin_layout Description
28387 mathmacrohoverbg Color fondo de recuadro de macro matemática bajo el ratón
28390 \begin_layout Description
28391 mathmacrolabel Color etiqueta macro matemática
28394 \begin_layout Description
28395 mathmacronewarg Color plantilla de macro para nuevos parámetros
28398 \begin_layout Description
28399 mathmacrooldarg Color plantilla de macro para antiguos parámetros
28402 \begin_layout Description
28403 newpage Color página nueva
28406 \begin_layout Description
28407 nonunique_inlinecompletion Color autofinalización en línea parte no única
28410 \begin_layout Description
28411 note Color etiqueta de notas
28414 \begin_layout Description
28415 notebg Color fondo de notas
28418 \begin_layout Description
28419 pagebreak Color salto de página/línea
28422 \begin_layout Description
28423 paragraphmarker Color símbolo marcador de fin de párrafo
28426 \begin_layout Description
28427 phantomtext Color texto de recuadro fantasma
28430 \begin_layout Description
28431 preview Color vista preliminar
28434 \begin_layout Description
28435 previewframe Color marco vista preliminar
28438 \begin_layout Description
28439 regexpframe Color marco regexp
28442 \begin_layout Description
28445 scroll Color that indicates when a row can be scrolled
28448 \begin_layout Description
28449 selection Color fondo de texto seleccionado
28452 \begin_layout Description
28453 selectiontext Color de texto seleccionado
28456 \begin_layout Description
28457 shadedbg Color fondo de marco coloreado
28460 \begin_layout Description
28461 special Color texto de caracteres especiales
28464 \begin_layout Description
28465 tabularline Color línea de cuadro/tabla
28468 \begin_layout Description
28469 tabularonoffline Color línea de cuadro/tabla on/off
28472 \begin_layout Description
28473 urllabel Color etiqueta de recuadros URL
28476 \begin_layout Description
28477 urltext Color texto de recuadros URL