1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/es/
9 % DO NOT ALTER THIS PREAMBLE!!!
11 % This preamble is designed to ensure that the manual prints
12 % out as advertised. If you mess with this preamble,
13 % parts of this document may not print out as expected. If you
14 % have problems LaTeXing this file, please contact
15 % the documentation team
16 % email: lyx-docs@lists.lyx.org
18 % the pages of the TOC is numbered roman
19 % and a pdf-bookmark for the TOC is added
20 \let\myTOC\tableofcontents
21 \renewcommand\tableofcontents{%
23 \pdfbookmark[1]{\contentsname}{}
27 \@ifpackageloaded{babel}{
28 % increase link area for cross-references and autoname them,
29 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
30 \addto\extrasspanish{%
31 \renewcommand*{\equationautorefname}[1]{}%
32 \renewcommand{\sectionautorefname}{sec.\negthinspace}%
33 \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
34 \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
38 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
39 \use_default_options false
43 \maintain_unincluded_children 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
57 \font_typewriter_osf false
58 \font_sf_scale 100 100
59 \font_tt_scale 100 100
61 \use_dash_ligatures false
63 \default_output_format pdf2
65 \bibtex_command default
66 \index_command default
70 \pdf_title "Manual Personalización de LyX"
71 \pdf_author "Equipo LyX"
72 \pdf_subject "LyX-documentation Customization"
73 \pdf_keywords "LyX, documentation, customization"
75 \pdf_bookmarksnumbered true
76 \pdf_bookmarksopen true
77 \pdf_bookmarksopenlevel 1
82 \pdf_pdfusetitle false
83 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
86 \use_package amsmath 1
87 \use_package amssymb 1
90 \use_package mathdots 1
91 \use_package mathtools 1
93 \use_package stackrel 1
94 \use_package stmaryrd 1
95 \use_package undertilde 1
97 \cite_engine_type default
101 \paperorientation portrait
107 \notefontcolor #0000ff
119 \paragraph_separation indent
120 \paragraph_indentation default
122 \math_indentation default
123 \math_numbering_side default
128 \paperpagestyle headings
130 \tracking_changes false
131 \output_changes false
140 Personalizar \SpecialChar LyX
141 : Características para el usuario avanzado
145 por el equipo \SpecialChar LyX
150 \begin_layout Plain Layout
152 Si tienes correcciones o comentarios, envíalos, por favor, a la lista de
153 correo de Documentación de \SpecialChar LyX
155 \begin_inset CommandInset href
157 target "lyx-docs@lists.lyx.org"
165 \begin_inset Quotes cld
169 \begin_inset Quotes crd
172 en la cabecera de asunto, y envía una cc al actual mantenedor de este documento
173 , Richard Heck <rgheck@comcast.net>.
179 \begin_inset Newline newline
183 \begin_inset Newline newline
189 \begin_layout Standard
190 \begin_inset CommandInset toc
191 LatexCommand tableofcontents
198 \begin_layout Chapter
202 \begin_layout Standard
203 Este manual trata de las características de \SpecialChar LyX
204 que pueden ser modificadas
206 En él abordamos temas como atajos de teclado, opciones de vista previa
207 en pantalla, opciones de impresora, envío de comandos mediante \SpecialChar LyX
209 internacionalización, instalación de nuevas clases de \SpecialChar LaTeX
213 Seguro que no podemos aspirar a tratar todo lo que se puede cambiar, —nuestross
214 desarrolladores añaden características nuevas más deprisa de lo que las
215 podemos documentar— pero explicaremos las modificaciones más comunes y
216 y esperamos orientarte en la dirección correcta para algunas más desconocidas.
219 \begin_layout Standard
220 \begin_inset Branch OutDated
224 \begin_layout Standard
225 La rama OutDated contiene información de versiones anteriores de este documento
226 que ahora parece estar obsoleta.
227 Por omisión, esta información no aparece en la salida \SpecialChar LaTeX
236 \begin_layout Chapter
237 Archivos de configuración de \SpecialChar LyX
241 \begin_layout Standard
242 Este capítulo tiene por objetivo ayudarte a encontrar tu camino a través
243 de los archivos de configuración de \SpecialChar LyX
245 Antes de seguir leyendo deberías encontrar donde están los directorios
246 de bibliotecas y de usuario, consultando
247 \begin_inset Flex Noun
250 \begin_layout Plain Layout
251 Ayuda\SpecialChar menuseparator
252 Acerca de \SpecialChar LyX
259 El directorio de bibliotecas es el sitio en el que \SpecialChar LyX
261 de configuración de sistema; el directorio de usuario es donde puedes colocar
262 tus versiones modificadas.
263 En este documento, al primero lo denominaremos
264 \begin_inset Flex Code
267 \begin_layout Plain Layout
275 \begin_inset Flex Noun
278 \begin_layout Plain Layout
287 \begin_layout Section
289 \begin_inset Flex Code
292 \begin_layout Plain Layout
302 \begin_layout Standard
303 \begin_inset Flex Code
306 \begin_layout Plain Layout
313 y sus subdirectorios contienen archivos que pueden emplearse para personalizar
314 el comportamiento de \SpecialChar LyX
316 Puedes cambiar muchos de ellos desde dentro mismo de \SpecialChar LyX
319 \begin_inset Flex Noun
322 \begin_layout Plain Layout
323 Herramientas\SpecialChar menuseparator
330 La mayor parte de las adaptaciones personales que querrás hacer en \SpecialChar LyX
332 puede hacer en este diálogo.
333 Sin embargo, muchos otros aspectos internos de \SpecialChar LyX
334 pueden cambiarse modificando
336 \begin_inset Flex Code
339 \begin_layout Plain Layout
347 Estos archivos pertenecen a diversas categorías, descritas en las siguientes
351 \begin_layout Subsection
352 Archivos generados automáticamente
355 \begin_layout Standard
356 Los archivos que se encuentran en
357 \begin_inset Flex Noun
360 \begin_layout Plain Layout
366 se generan al configurar \SpecialChar LyX
368 Contienen varios valores predeterminados que se obtienen por inspección.
369 En general, no es buena idea modificarlos, puesto que podrían ser sobrescritos
370 en cualquier momento.
373 \begin_layout Labeling
374 \labelwidthstring 00.00.0000
375 \begin_inset Flex Code
378 \begin_layout Plain Layout
384 contiene valores predeterminados para varioscomandos.
387 \begin_layout Labeling
388 \labelwidthstring 00.00.0000
389 \begin_inset Flex Code
392 \begin_layout Plain Layout
398 contiene la lista de paquetes que han sido reconocidos por \SpecialChar LyX
400 No es utilizada por el propio \SpecialChar LyX
401 , pero la información extraida, y otras cosas
403 \begin_inset Flex Noun
406 \begin_layout Plain Layout
407 Ayuda\SpecialChar menuseparator
408 Configuración de \SpecialChar LaTeX
417 \begin_layout Labeling
418 \labelwidthstring 00.00.0000
419 \begin_inset Flex Code
422 \begin_layout Plain Layout
428 la lista de clases de textos encontradas en los directorios
429 \begin_inset Flex Code
432 \begin_layout Plain Layout
438 , junto con las clases de documentos \SpecialChar LaTeX
442 \begin_layout Labeling
443 \labelwidthstring 00.00.0000
444 \begin_inset Flex Code
447 \begin_layout Plain Layout
453 la lista de módulos de formato encontradas en los directorios
454 \begin_inset Flex Code
457 \begin_layout Plain Layout
466 \begin_layout Labeling
467 \labelwidthstring 00.00.0000
468 \begin_inset Flex Code
471 \begin_layout Plain Layout
477 lista de varios tipos de archivos relacionados con \SpecialChar LaTeX
478 encontrados en el sistema.
481 \begin_layout Labeling
482 \labelwidthstring 00.00.0000
483 \begin_inset Flex Code
486 \begin_layout Plain Layout
487 doc/\SpecialChar LaTeX
493 es generado automáticamente durante la configuración a partir del archivo
495 \begin_inset Flex Code
498 \begin_layout Plain Layout
506 Contiene información sobre la configuración de \SpecialChar LaTeX
510 \begin_layout Subsection
514 \begin_layout Standard
515 Estos directorios están duplicados en
516 \begin_inset Flex Code
519 \begin_layout Plain Layout
527 \begin_inset Flex Code
530 \begin_layout Plain Layout
537 Si determinado archivo existe en ambos sitios, se usará el de
538 \begin_inset Flex Code
541 \begin_layout Plain Layout
550 \begin_layout Labeling
551 \labelwidthstring 00.00.0000
552 \begin_inset Flex Code
555 \begin_layout Plain Layout
561 este directorio contiene archivos con la extensión
562 \begin_inset Flex Code
565 \begin_layout Plain Layout
571 que definen las combinaciones de teclas usadas en \SpecialChar LyX
573 Si ahí existe una versión nacional de un archivo bind llamado
574 \begin_inset Flex Code
577 \begin_layout Plain Layout
583 , ésta se usará en primer lugar.
586 \begin_layout Labeling
587 \labelwidthstring 00.00.0000
590 \begin_inset Flex Code
593 \begin_layout Plain Layout
601 contains files with the extension
602 \begin_inset Flex Code
605 \begin_layout Plain Layout
613 which define the diverse citation possibilities (natbib, biblatex etc.).
615 \begin_inset CommandInset ref
617 reference "subsec:Cite-Engine-Files"
627 \begin_layout Labeling
628 \labelwidthstring 00.00.0000
629 \begin_inset Flex Code
632 \begin_layout Plain Layout
638 contiene archivos gráficos que pueden ser incluidos en documentos.
642 \begin_layout Labeling
643 \labelwidthstring 00.00.0000
644 \begin_inset Flex Code
647 \begin_layout Plain Layout
653 contiene archivos de documentación de \SpecialChar LyX
654 (incluido éste que estás leyendo).
656 \begin_inset Flex Code
659 \begin_layout Plain Layout
666 merece atención especial, como se mencionó antes.
667 Si existe una versión nacional del documento de ayuda en el subdirectorio
669 \begin_inset Flex Code
672 \begin_layout Plain Layout
678 , éste se usará en primer lugar.
680 \begin_inset CommandInset ref
682 reference "cap:Internacionalización-de-LyX"
689 \begin_layout Labeling
690 \labelwidthstring 00.00.0000
691 \begin_inset Flex Code
694 \begin_layout Plain Layout
700 contiene archivos de ejemplo que describen el uso de algunas características.
701 Se puede acceder a ellos con el botón
702 \begin_inset Flex Noun
705 \begin_layout Plain Layout
711 en el buscador de archivos.
714 \begin_layout Labeling
715 \labelwidthstring 00.00.0000
716 \begin_inset Flex Code
719 \begin_layout Plain Layout
725 contiene archivos de imagen que se usan en el diálogo
726 \begin_inset Flex Noun
729 \begin_layout Plain Layout
730 Documento\SpecialChar menuseparator
737 Contiene además los iconos de las barras de herramientas y las enseñas
739 mostradas en su inicio.
742 \begin_layout Labeling
743 \labelwidthstring 00.00.0000
744 \begin_inset Flex Code
747 \begin_layout Plain Layout
753 contiene archivos de mapas de teclado.
755 \begin_inset CommandInset ref
757 reference "sec:keymap"
764 \begin_layout Labeling
765 \labelwidthstring 00.00.0000
766 \begin_inset Flex Code
769 \begin_layout Plain Layout
775 contiene las clases de textos y los archivos de los módulos descritos en
777 \begin_inset CommandInset ref
779 reference "cap:Instalación-de-nuevas"
786 \begin_layout Labeling
787 \labelwidthstring 00.00.0000
788 \begin_inset Flex Code
791 \begin_layout Plain Layout
797 contiene los guiones de Python
798 \begin_inset Flex Code
801 \begin_layout Plain Layout
807 para convertir entre versiones de \SpecialChar LyX
809 Pueden ejecutarse en línea de comandos si, digamos, quieres convertir ficheros
813 \begin_layout Labeling
814 \labelwidthstring 00.00.0000
815 \begin_inset Flex Code
818 \begin_layout Plain Layout
824 contiene algunos archivos que demuestran las capacidades de la característica
826 \begin_inset Flex Noun
829 \begin_layout Plain Layout
836 También contiene algunos guiones usados por el propio \SpecialChar LyX
840 \begin_layout Labeling
841 \labelwidthstring 00.00.0000
842 \begin_inset Flex Code
845 \begin_layout Plain Layout
851 contiene los archivos de plantillas estándar de \SpecialChar LyX
853 \begin_inset CommandInset ref
855 reference "subsec:Creación-de-plantillas"
862 \begin_layout Labeling
863 \labelwidthstring 00.00.0000
864 \begin_inset Flex Code
867 \begin_layout Plain Layout
873 contiene archivos con la extensión
874 \begin_inset Flex Code
877 \begin_layout Plain Layout
883 que definen la interfaz de usuario de \SpecialChar LyX
885 Esto es, archivos que definen qué ítems aparecen en qué menús y barras
891 \begin_layout Labeling
892 \labelwidthstring 00.00.0000
895 \begin_inset Flex Code
898 \begin_layout Plain Layout
906 contains files with the extension
907 \begin_inset Flex Code
910 \begin_layout Plain Layout
918 which define the templates for the insertion of external material to a
923 \begin_inset CommandInset ref
925 reference "cap:Inserción-de-material"
937 \begin_layout Subsection
938 Archivos que no necesitan modificaciones
941 \begin_layout Standard
942 Estos archivos son utilizados internamente por \SpecialChar LyX
943 y generalmente no deben
944 ser modificados sino por los desarrolladores.
947 \begin_layout Labeling
948 \labelwidthstring 00.00.0000
949 \begin_inset Flex Code
952 \begin_layout Plain Layout
958 contiene la lista de desarrolladores de \SpecialChar LyX
960 Se muestra con el menú
961 \begin_inset Flex Noun
964 \begin_layout Plain Layout
965 Ayuda\SpecialChar menuseparator
966 Acerca de \SpecialChar LyX
975 \begin_layout Labeling
976 \labelwidthstring 00.00.0000
977 \begin_inset Flex Code
980 \begin_layout Plain Layout
986 es un guión de \SpecialChar LaTeX
987 usado durante el proceso de configuración.
988 No lo ejecutes directamente.
991 \begin_layout Labeling
992 \labelwidthstring 00.00.0000
993 \begin_inset Flex Code
996 \begin_layout Plain Layout
1002 es el guión utilizado para la reconfiguración de \SpecialChar LyX
1004 Genera los archivos de configuración en el directorio desde el que se ha
1008 \begin_layout Subsection
1009 Otros archivos en un par de líneas
1012 \begin_layout Labeling
1013 \labelwidthstring 00.00.0000
1014 \begin_inset Flex Code
1017 \begin_layout Plain Layout
1023 contiene tablas que describen cómo los distintos códigos de caracteres
1024 se transcriben a Unicode.
1027 \begin_layout Labeling
1028 \labelwidthstring 00.00.0000
1029 \begin_inset Flex Code
1032 \begin_layout Plain Layout
1038 contiene una lista de los idiomas actualmente soportados por \SpecialChar LyX
1042 \begin_layout Labeling
1043 \labelwidthstring 00.00.0000
1044 \begin_inset Flex Code
1047 \begin_layout Plain Layout
1053 contiene información sobre tipografías soportadas.
1056 \begin_layout Labeling
1057 \labelwidthstring 00.00.0000
1058 \begin_inset Flex Code
1061 \begin_layout Plain Layout
1067 contiene traducciones para entornos de párrafo (véase
1068 \begin_inset CommandInset ref
1070 reference "subsec:I18n"
1077 \begin_layout Labeling
1078 \labelwidthstring 00.00.0000
1079 \begin_inset Flex Code
1082 \begin_layout Plain Layout
1088 contiene información sobre glifos unicode y su soporte por \SpecialChar LyX
1089 vía \SpecialChar LaTeX
1093 \begin_layout Section
1094 Directorio de configuración personal
1097 \begin_layout Standard
1098 Aunque uses \SpecialChar LyX
1099 como usuario sin privilegios, puedes adaptar su configuración
1102 \begin_inset Flex Code
1105 \begin_layout Plain Layout
1111 contiene todos los archivos de configuración personal.
1112 Es el directorio especificado como
1113 \begin_inset Quotes cld
1116 Directorio del usuario
1117 \begin_inset Quotes crd
1121 \begin_inset Flex Noun
1124 \begin_layout Plain Layout
1125 Ayuda\SpecialChar menuseparator
1126 Acerca de \SpecialChar LyX
1133 Este directorio se usa como espejo de
1134 \begin_inset Flex Code
1137 \begin_layout Plain Layout
1144 , que quiere decir que cada archivo en
1145 \begin_inset Flex Code
1148 \begin_layout Plain Layout
1154 es un equivalente del correspondiente archivo en
1155 \begin_inset Flex Code
1158 \begin_layout Plain Layout
1166 Cualquiera de los archivos de configuración descritos en las secciones
1167 anteriores puede estar en el directorio global del sistema, en cuyo caso
1168 afectará a todos los usuarios, y en tu directorio local para tu propio
1172 \begin_layout Standard
1173 Para clarificar las cosas vamos a poner unos ejemplos:
1176 \begin_layout Itemize
1177 Las preferencias establecidas en el diálogo
1178 \begin_inset Flex Noun
1181 \begin_layout Plain Layout
1182 Herramientas\SpecialChar menuseparator
1188 se guardan en un archivo
1189 \begin_inset Flex Code
1192 \begin_layout Plain Layout
1199 \begin_inset Flex Code
1202 \begin_layout Plain Layout
1211 \begin_layout Itemize
1212 Si reconfiguras mediante
1213 \begin_inset Flex Noun
1216 \begin_layout Plain Layout
1217 Herramientas\SpecialChar menuseparator
1225 \begin_inset Newline linebreak
1229 \begin_inset Flex Code
1232 \begin_layout Plain Layout
1238 , y los archivos resultantes se escriben en tu directorio de usuario.
1239 Esto significa que cualquier archivo adicional de clase de texto que pudieras
1241 \begin_inset Flex Code
1244 \begin_layout Plain Layout
1250 se sumará a la lista de clases en el diálogo
1251 \begin_inset Flex Noun
1254 \begin_layout Plain Layout
1255 Documento\SpecialChar menuseparator
1264 \begin_layout Itemize
1265 Si consigues alguna documentación actualizada del sitio de \SpecialChar LyX
1267 instalarla porque no tienes permisos para administrar tu sistema, solo
1268 has de copiar los archivos en
1269 \begin_inset Flex Code
1272 \begin_layout Plain Layout
1278 ¡y las entradas del menú
1279 \begin_inset Flex Noun
1282 \begin_layout Plain Layout
1291 \begin_layout Section
1292 Ejecutar \SpecialChar LyX
1293 con múltiples configuraciones
1296 \begin_layout Standard
1297 La libertad de configuración del directorio local puede no ser suficiente
1298 si quieres tener a tu disposición más de una configuración.
1299 Por ejemplo, si quisieras usar diferentes combinaciones de teclas o configuraci
1300 ones de impresora en distintos momentos.
1301 Esto lo puedes conseguir teniendo varios de estos directorios.
1302 Después especificas qué directorio usar al arrancar.
1305 \begin_layout Standard
1306 Ejecutando \SpecialChar LyX
1307 con la opción de línea de comandos
1308 \begin_inset Flex Code
1311 \begin_layout Plain Layout
1321 hace que el programa lea la configuración de ese directorio y no del predetermi
1323 (Puedes determinar el directorio predeterminado ejecutando \SpecialChar LyX
1326 \begin_inset Flex Code
1329 \begin_layout Plain Layout
1336 Si el directorio especificado no existe, \SpecialChar LyX
1337 propone su creación, tal como
1338 hace con el directorio predeterminado la primera vez que se ejecuta el
1340 Puedes modificar las opciones de configuración en ese directorio personal
1341 adicional exactamente igual que para el directorio predeterminado.
1342 Estos directorios son completamente independientes (pero sigue leyendo).
1343 Ten presente que establecer algún valor para la variable de entorno
1344 \begin_inset Flex Code
1347 \begin_layout Plain Layout
1353 tiene exactamente el mismo efecto.
1356 \begin_layout Standard
1357 Tener varias configuraciones también requiere más mantenimiento: si quieres
1358 añadir un nuevo formato a
1359 \begin_inset Flex Code
1362 \begin_layout Plain Layout
1368 que esté disponible en todas tus configuraciones, debes añadirlo a cada
1369 directorio por separado.
1370 Puedes evitarlo con el siguiente truco: después de que \SpecialChar LyX
1372 adicional, la mayoría de los subdirectorios (véase arriba) están vacíos.
1373 Si quieres que la nueva configuración sea una réplica de una existente,
1374 reemplaza el subdirectorio vacío con un enlace simbólico que apunte al
1375 subdirectorio deseado.
1376 Ten precaución, no obstante, con el subdirectorio
1377 \begin_inset Flex Code
1380 \begin_layout Plain Layout
1386 , puesto que contiene un archivo escrito por el guión de configuración (también
1388 \begin_inset Flex Noun
1391 \begin_layout Plain Layout
1392 Herramientas\SpecialChar menuseparator
1398 ) que es específico de la configuración.
1401 \begin_layout Chapter
1402 El diálogo Preferencias
1405 \begin_layout Standard
1406 Todas las opciones del diálogo de preferencias se describen en el apéndice
1420 Ahí encontrarás más detalles sobre algunas opciones.
1423 \begin_layout Section
1425 \begin_inset CommandInset label
1434 \begin_layout Standard
1435 El primer paso es definir tus propios formatos de archivo si no lo están
1437 Para hacerlo abre el diálogo
1438 \begin_inset Flex Noun
1441 \begin_layout Plain Layout
1442 Herramientas\SpecialChar menuseparator
1450 \begin_inset Flex Noun
1453 \begin_layout Plain Layout
1454 Gestión de archivos\SpecialChar menuseparator
1461 \begin_inset Flex Noun
1464 \begin_layout Plain Layout
1465 Nuevo\SpecialChar ldots
1471 para definir el nuevo formato.
1473 \begin_inset Flex Noun
1476 \begin_layout Plain Layout
1482 es para el nombre que identificará el formato en la GUI (interfaz gráfica
1485 \begin_inset Flex Noun
1488 \begin_layout Plain Layout
1494 se usa para identificar el formato internamente.
1495 Además deberás introducir una extensión de archivo.
1496 Todos estos son imprescindibles.
1498 \begin_inset Flex Noun
1501 \begin_layout Plain Layout
1507 sirve para asociar una combinación de teclas en los menús.
1508 (Por ejemplo, teclear
1509 \begin_inset Flex Noun
1512 \begin_layout Plain Layout
1519 \begin_inset Flex Noun
1522 \begin_layout Plain Layout
1525 Documento\SpecialChar menuseparator
1528 \SpecialChar menuseparator
1536 \begin_inset Flex Noun
1539 \begin_layout Plain Layout
1548 \begin_layout Standard
1549 Un Formato puede tener un
1550 \begin_inset Flex Noun
1553 \begin_layout Plain Layout
1560 \begin_inset Flex Noun
1563 \begin_layout Plain Layout
1570 Por ejemplo, podrías usar
1571 \begin_inset Flex Noun
1574 \begin_layout Plain Layout
1580 para ver archivos PostScript.
1581 Puedes introducir el comando para iniciar el programa en el campo correspondien
1583 Al definir este comando puedes usar las cuatro variables listadas en la
1585 El visor se lanza cuando ves una imagen en \SpecialChar LyX
1587 \begin_inset Flex Noun
1590 \begin_layout Plain Layout
1593 Documento\SpecialChar menuseparator
1600 El editor se lanza cuando pulsas el botón
1601 \begin_inset Flex Noun
1604 \begin_layout Plain Layout
1610 que se muestra al hacer clic derecho en un gráfico o en un material externo,
1614 \begin_layout Standard
1616 \begin_inset Flex Noun
1619 \begin_layout Plain Layout
1625 de un formato es opcional, pero si se especifica, debe ser único para todos
1627 Se usa para detectar archivos de ese formato de los contenidos de archivo.
1628 Para algunos formatos de archivo importantes no hay tipo MIME oficialmente
1630 \begin_inset CommandInset href
1633 target "http://www.iana.org/assignments/media-types/"
1639 Por tanto \SpecialChar LyX
1640 usa la lista extensa de tipos MIME especificada por
1641 \begin_inset CommandInset href
1643 name "freedesktop.org"
1644 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1652 \begin_layout Standard
1654 \begin_inset Flex Noun
1657 \begin_layout Plain Layout
1658 Formato de documento
1663 indica a \SpecialChar LyX
1664 que ese formato es adecuado para exportar.
1665 Si esto está marcado y existe una ruta de conversión adecuada (véase
1666 \begin_inset CommandInset ref
1668 reference "sec:Convertidores"
1672 ), el formato aparecerá en el menú
1673 \begin_inset Flex Noun
1676 \begin_layout Plain Layout
1677 Archivo\SpecialChar menuseparator
1684 También aparecerá en el menú
1685 \begin_inset Flex Noun
1688 \begin_layout Plain Layout
1691 Documento\SpecialChar menuseparator
1697 si se ha especificado un visor para ese formato.
1698 Los formatos puros de imagen, como
1699 \begin_inset Flex Code
1702 \begin_layout Plain Layout
1708 , no deberían usar esta opción.
1709 Los formatos que pueden corresponder tanto a gráficos vectoriales como
1711 \begin_inset Flex Code
1714 \begin_layout Plain Layout
1720 , sí deberían usarla.
1723 \begin_layout Standard
1725 \begin_inset Flex Noun
1728 \begin_layout Plain Layout
1729 Formato de gráfico vectorial
1734 indica a \SpecialChar LyX
1735 que el formato puede contener gráficos vectoriales.
1736 Esta información se emplea para determinar el formato objetivo de los gráficos
1737 incluidos para la exportación
1738 \begin_inset Flex Noun
1741 \begin_layout Plain Layout
1748 Los gráficos incluidos pueden requerir conversión a
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
1779 \begin_inset Flex Noun
1782 \begin_layout Plain Layout
1788 no puede manejar otros formatos de imagen.
1789 Si un archivo incluido no está ya en formato
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
1820 \begin_inset Flex Noun
1823 \begin_layout Plain Layout
1829 si la opción de formato vectorial está marcada, y si no a
1830 \begin_inset Flex Noun
1833 \begin_layout Plain Layout
1843 \begin_layout Section
1847 \begin_layout Standard
1848 Puesto que todas las conversiones de un formato a otro tienen lugar en el
1849 archivo temporal de \SpecialChar LyX
1850 , a veces es necesario modificar un archivo antes de
1851 copiarlo en el directorio temporal para que la conversión se pueda realizar.
1855 \begin_layout Plain Layout
1856 Por ejemplo, el archivo puede hacer referencia a otros archivos —imágenes,
1857 por ejemplo— mediante nombres de archivo relativos, y estos pueden resultar
1858 inválidos cuando el archivo se copia en el directorio temporal.
1863 Esto lo hace un Copiador: copia un archivo a (o desde) el directorio temporal
1864 y puede modificarlo en el proceso.
1867 \begin_layout Standard
1868 Las definiciones de los copiadores pueden usar ocho variables:
1871 \begin_layout Labeling
1872 \labelwidthstring 00.00.0000
1873 \begin_inset Flex Code
1876 \begin_layout Plain Layout
1882 El directorio de sistema de \SpecialChar LyX
1884 \begin_inset space \thinspace{}
1888 \begin_inset space \space{}
1892 \begin_inset Flex Noun
1895 \begin_layout Plain Layout
1904 \begin_layout Labeling
1905 \labelwidthstring 00.00.0000
1906 \begin_inset Flex Code
1909 \begin_layout Plain Layout
1915 El archivo de entrada
1918 \begin_layout Labeling
1919 \labelwidthstring 00.00.0000
1920 \begin_inset Flex Code
1923 \begin_layout Plain Layout
1929 El archivo de salida
1932 \begin_layout Labeling
1933 \labelwidthstring 00.00.0000
1934 \begin_inset Flex Code
1937 \begin_layout Plain Layout
1943 Nombre base (sin extensión) en el directorio temporal de \SpecialChar LyX
1947 \begin_layout Labeling
1948 \labelwidthstring 00.00.0000
1949 \begin_inset Flex Code
1952 \begin_layout Plain Layout
1958 Ruta completa al directorio temporal de \SpecialChar LyX
1962 \begin_layout Labeling
1963 \labelwidthstring 00.00.0000
1964 \begin_inset Flex Code
1967 \begin_layout Plain Layout
1973 Ruta completa al archivo original \SpecialChar LyX
1977 \begin_layout Labeling
1978 \labelwidthstring 00.00.0000
1979 \begin_inset Flex Code
1982 \begin_layout Plain Layout
1988 Nombre del archivo \SpecialChar LyX
1989 (sin ruta de directorio)
1992 \begin_layout Labeling
1993 \labelwidthstring 00.00.0000
1994 \begin_inset Flex Code
1997 \begin_layout Plain Layout
2003 El `nombre \SpecialChar LaTeX
2007 \begin_layout Standard
2008 El último debería ser el nombre de archivo tal como debería ponerse en un
2009 comando \SpecialChar LaTeX
2017 Solo es pertinente cuando se exportan archivos adecuados para esa inclusión.
2020 \begin_layout Standard
2021 Los copiadores pueden emplearse para hacer casi cualquier cosa con archivos
2023 Por ejemplo, supongamos que quieres copiar archivos
2024 \begin_inset Flex Noun
2027 \begin_layout Plain Layout
2033 generados a un directorio especial,
2034 \begin_inset Flex Code
2037 \begin_layout Plain Layout
2044 En ese caso deberías escribir un guión para intérprete de comandos tal
2048 \begin_layout Standard
2049 \begin_inset listings
2053 \begin_layout Plain Layout
2058 \begin_layout Plain Layout
2063 \begin_layout Plain Layout
2065 TOFILE=`basename $2`
2068 \begin_layout Plain Layout
2070 cp $FROMFILE /home/you/pdf/$TOFILE
2075 Guárdalo en tu directorio local, —
2076 \begin_inset Flex Code
2079 \begin_layout Plain Layout
2080 /home/you/.lyx/scripts/pdfcopier.sh
2085 , supongamos— y hazlo ejecutable si ello es necesario en tu sistema.
2086 Después, en el diálogo
2087 \begin_inset Flex Noun
2090 \begin_layout Plain Layout
2091 Herramientas\SpecialChar menuseparator
2098 \begin_inset Flex Noun
2101 \begin_layout Plain Layout
2102 Gestión de archivos\SpecialChar menuseparator
2108 , selecciona el formato
2109 \begin_inset Flex Noun
2112 \begin_layout Plain Layout
2118 —u otro de los formatos pdf— e introduce
2119 \begin_inset Flex Code
2122 \begin_layout Plain Layout
2123 pdfcopier.sh $$i $$o
2129 \begin_inset Flex Noun
2132 \begin_layout Plain Layout
2141 \begin_layout Standard
2143 usa los copiadores en varias de sus propias conversiones.
2144 Por ejemplo, si se encuentran los programas apropiados, \SpecialChar LyX
2145 instalará copiadores
2147 \begin_inset Flex Noun
2150 \begin_layout Plain Layout
2157 \begin_inset Flex Noun
2160 \begin_layout Plain Layout
2162 \begin_inset space ~
2171 Cuando se exporta a estos formatos, el copiador se encarga de que se copien
2172 no solo el archivo HTML principal, sino también los diversos archivos asociados
2173 (estilos, imágenes, etc).
2174 Todos estos archivos se escriben en un subdirectorio del directorio en
2175 el que se encuentre el archivo original de \SpecialChar LyX
2180 \begin_layout Plain Layout
2181 Este copiador puede adaptarse.
2182 El argumento opcional
2183 \begin_inset Quotes cld
2187 \begin_inset Quotes crd
2190 acepta una lista, separada por comas, con las extensiones que deben copiarse;
2191 si se omite se copiarán todos los archivos.
2193 \begin_inset Quotes cld
2197 \begin_inset Quotes crd
2200 determina la extensión añadida al directorio generado.
2202 \begin_inset Quotes cld
2206 \begin_inset Flex Noun
2209 \begin_layout Plain Layout
2217 \begin_inset Quotes crd
2220 , así, el HTML generado a partir de
2221 \begin_inset Flex Noun
2224 \begin_layout Plain Layout
2231 \begin_inset Flex Noun
2234 \begin_layout Plain Layout
2235 /ruta/a/archivo.html.\SpecialChar LyX
2249 \begin_layout Section
2251 \begin_inset CommandInset label
2253 name "sec:Convertidores"
2260 \begin_layout Standard
2261 Puedes definir tus propios convertidores para convertir archivos entre distintos
2263 Se hace en el diálogo
2264 \begin_inset Flex Noun
2267 \begin_layout Plain Layout
2268 Herramientas\SpecialChar menuseparator
2269 Preferencias\SpecialChar menuseparator
2270 Gestión de archivos\SpecialChar menuseparator
2279 \begin_layout Standard
2280 Para definir un nuevo convertidor de un formato a otro, selecciónalos en
2281 las listas desplegables
2282 \begin_inset Flex Noun
2285 \begin_layout Plain Layout
2287 \begin_inset space ~
2296 \begin_inset Flex Noun
2299 \begin_layout Plain Layout
2301 \begin_inset space ~
2309 , introduce el comando necesario para la conversión y después pulsa el botón
2311 \begin_inset Flex Noun
2314 \begin_layout Plain Layout
2321 En la definición de convertidores se pueden usar distintas variables:
2324 \begin_layout Labeling
2325 \labelwidthstring 00.00.0000
2326 \begin_inset Flex Code
2329 \begin_layout Plain Layout
2335 El directorio de sistema de \SpecialChar LyX
2339 \begin_layout Labeling
2340 \labelwidthstring 00.00.0000
2341 \begin_inset Flex Code
2344 \begin_layout Plain Layout
2350 El archivo de entrada
2353 \begin_layout Labeling
2354 \labelwidthstring 00.00.0000
2355 \begin_inset Flex Code
2358 \begin_layout Plain Layout
2364 El archivo de salida
2367 \begin_layout Labeling
2368 \labelwidthstring 00.00.0000
2369 \begin_inset Flex Code
2372 \begin_layout Plain Layout
2378 El nombre del archivo base del archivo de entrada (sin la extensión)
2381 \begin_layout Labeling
2382 \labelwidthstring 00.00.0000
2383 \begin_inset Flex Code
2386 \begin_layout Plain Layout
2392 La ruta al archivo de entrada
2395 \begin_layout Labeling
2396 \labelwidthstring 00.00.0000
2397 \begin_inset Flex Code
2400 \begin_layout Plain Layout
2406 La ruta al archivo de entrada original (esto es diferente de $$p cuando
2407 se invoca una cadena de convertidores).
2410 \begin_layout Labeling
2411 \labelwidthstring 00.00.0000
2412 \begin_inset Flex Code
2415 \begin_layout Plain Layout
2421 El nombre iconv para la codificación del documento.
2424 \begin_layout Standard
2426 \begin_inset Flex Noun
2429 \begin_layout Plain Layout
2435 puedes introducir los siguientes, separados por comas:
2438 \begin_layout Labeling
2439 \labelwidthstring 00.00.0000
2440 \begin_inset Flex Code
2443 \begin_layout Plain Layout
2449 Este convertidor ejecuta alguna forma de \SpecialChar LaTeX
2451 Hará estar disponibles los registros de errores \SpecialChar LaTeX
2456 \begin_layout Labeling
2457 \labelwidthstring 00.00.0000
2458 \begin_inset Flex Code
2461 \begin_layout Plain Layout
2467 Necesita el archivo \SpecialChar LaTeX
2469 \begin_inset Flex Noun
2472 \begin_layout Plain Layout
2481 \begin_layout Labeling
2482 \labelwidthstring 00.00.0000
2483 \begin_inset Flex Code
2486 \begin_layout Plain Layout
2493 \begin_inset Quotes cld
2497 \begin_inset Quotes crd
2500 archivo del trastero, que en la práctica quiere decir un archivo \SpecialChar LaTeX
2502 el que queremos exportar, sin
2503 \begin_inset Flex Code
2506 \begin_layout Plain Layout
2515 \begin_layout Labeling
2516 \labelwidthstring 00.00.0000
2517 \begin_inset Flex Code
2520 \begin_layout Plain Layout
2529 \begin_layout Standard
2530 Las tres siguientes no son realmente indicadores porque aceptan un argumento
2532 \begin_inset Flex Noun
2535 \begin_layout Plain Layout
2537 \begin_inset space ~
2541 \begin_inset space ~
2552 \begin_layout Labeling
2553 \labelwidthstring 00.00.0000
2554 \begin_inset Flex Code
2557 \begin_layout Plain Layout
2563 Si se pone, el error estándar del convertidor se redirecciona a un archivo
2565 \begin_inset Flex Code
2568 \begin_layout Plain Layout
2574 , y el guión dado como argumento se ejecutará como:
2575 \begin_inset Flex Code
2578 \begin_layout Plain Layout
2579 script <infile.out >infile.log
2585 El argumento puede contener
2586 \begin_inset Flex Code
2589 \begin_layout Plain Layout
2598 \begin_layout Labeling
2599 \labelwidthstring 00.00.0000
2600 \begin_inset Flex Code
2603 \begin_layout Plain Layout
2609 El nombre del directorio en el que el convertidor descargará los archivos
2612 no creará ese directorio y no copia nada en él, aunque copiará este directorio
2614 El argumento puede contener
2615 \begin_inset Flex Code
2618 \begin_layout Plain Layout
2624 , que será reemplazado por el nombre base de los archivos de entrada y de
2625 salida, respectivamente, cuando se copia el directorio.
2626 \begin_inset Newline newline
2629 Ten en cuenta que resultdir y usetempdir no tienen sentido juntos.
2630 El último será ignorado si se da el primero.
2633 \begin_layout Labeling
2634 \labelwidthstring 00.00.0000
2635 \begin_inset Flex Code
2638 \begin_layout Plain Layout
2644 Determina el nombre del archivo de salida y puede contener
2645 \begin_inset Flex Code
2648 \begin_layout Plain Layout
2655 Solo es sensible con
2656 \begin_inset Flex Code
2659 \begin_layout Plain Layout
2665 y además es opcional; si no se da, por omisión es `index'.
2668 \begin_layout Standard
2669 Ninguno de estos tres últimos se usan actualmente en ninguno de los convertidore
2670 s que son instalados por \SpecialChar LyX
2674 \begin_layout Standard
2675 No tienes que definir convertidores entre todos los formatos que quieras
2677 Por ejemplo, observarás que no hay convertidor `\SpecialChar LyX
2678 a PostScript', sin embargo
2680 exporta a PostScript.
2681 Lo hace creando primero un archivo \SpecialChar LaTeX
2682 (no es necesario un convertidor para
2683 esto), que luego es convertido a DVI mediante el convertidor `\SpecialChar LaTeX
2685 y por último convierte el archivo DVI resultante a PostScript.
2687 encuentra automáticamente estas 'cadenas' de convertidores y siempre escogerá
2688 la cadena más corta posible.
2689 Sin embargo, aún puedes definir múltiples métodos de conversión entre formatos.
2690 Por ejemplo, la configuración estándar de \SpecialChar LyX
2691 provee cinco caminos para convertir
2696 \begin_layout Enumerate
2697 directamente, usando
2698 \begin_inset Flex Noun
2701 \begin_layout Plain Layout
2710 \begin_layout Enumerate
2711 mediante (DVI y) PostScript, usando
2712 \begin_inset Flex Noun
2715 \begin_layout Plain Layout
2724 \begin_layout Enumerate
2725 mediante DVI, usando
2726 \begin_inset Flex Noun
2729 \begin_layout Plain Layout
2738 \begin_layout Enumerate
2739 directamente, usando
2740 \begin_inset Flex Noun
2743 \begin_layout Plain Layout
2753 \begin_layout Enumerate
2754 directamente, usando
2755 \begin_inset Flex Noun
2758 \begin_layout Plain Layout
2768 \begin_layout Standard
2769 Para construir estas cadenas alternativas tienes que definir múltiples 'formatos
2770 de archivo' objetivo, como se describe en la sección
2771 \begin_inset space ~
2775 \begin_inset CommandInset ref
2777 reference "sec:Formatos"
2782 Por ejemplo, en la configuración estándar, se definen los formatos llamados
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
2854 \begin_inset Flex Noun
2857 \begin_layout Plain Layout
2865 \begin_inset Flex Noun
2868 \begin_layout Plain Layout
2875 \begin_inset Flex Noun
2878 \begin_layout Plain Layout
2885 ), todos ellos compartiendo la extensión
2886 \begin_inset Flex Noun
2889 \begin_layout Plain Layout
2895 , y que corresponden a los métodos de conversión antes mencionados.
2898 \begin_layout Chapter
2899 Internacionalización de \SpecialChar LyX
2901 \begin_inset CommandInset label
2903 name "cap:Internacionalización-de-LyX"
2910 \begin_layout Standard
2912 soporta el uso de una interfaz traducida.
2913 La última vez que lo comprobamos, \SpecialChar LyX
2914 suministraba textos en treinta idiomas.
2915 El idioma elegido se denomina
2920 (Para lecciones adicionales sobre configuración de idiomas, véase también
2922 \begin_inset Quotes cld
2926 \begin_inset Quotes crd
2929 del sistema operativo.
2930 En Linux, la página de manual de
2931 \begin_inset Flex Code
2934 \begin_layout Plain Layout
2940 es un buen punto de partida).
2944 \begin_layout Standard
2945 Hay que advertir que estas traducciones funcionarán pero tienen algunos
2947 En particular, todos los diálogos se han diseñado con el inglés en mente,
2948 lo que significa que algún texto traducido podría ser demasiado largo para
2949 ajustarse al espacio asignado.
2950 Esto solo es un problema de presentación en pantalla y no causará ningún
2952 Además, encontrarás que algunas traducciones no definen atajos de teclado
2954 A veces, simplemente no hay letras libres suficientes para ello.
2955 Otras veces, el traductor todavía no lo ha completado.
2956 Nuestro equipo de traducción, al que podrías unirte si quieres,
2960 \begin_layout Plain Layout
2961 Si usas con fluidez un idioma distinto del inglés, ¡unirse a estos equipos
2962 es una estupenda forma de corresponder a la comunidad \SpecialChar LyX
2968 intentará, por supuesto, corregir estas deficiencias en futuras versiones
2973 \begin_layout Section
2974 Traducción de \SpecialChar LyX
2978 \begin_layout Subsection
2979 Traducción de la interfaz gráfica de usuario (mensajes de texto)
2982 \begin_layout Standard
2984 utiliza la biblioteca GNU
2985 \begin_inset Flex Code
2988 \begin_layout Plain Layout
2994 para manejar la internacionalización de la interfaz.
2995 Para que \SpecialChar LyX
2996 hable tu idioma preferido en todos los menús y diálogos es necesario
2998 \begin_inset Flex Code
3001 \begin_layout Plain Layout
3008 Si está disponible, tendrás que generar a partir de él un archivo
3009 \begin_inset Flex Code
3012 \begin_layout Plain Layout
3019 El procedimiento para hacer todo esto se explica en la documentación de
3021 \begin_inset Flex Code
3024 \begin_layout Plain Layout
3031 Puedes hacer esto solo para ti, pero también podrías compartir el resultado
3032 de tu trabajo con el resto de la comunidad \SpecialChar LyX
3034 Envía un mensaje a la lista de desarrolladores de \SpecialChar LyX
3035 para más información
3036 sobre cómo proceder.
3039 \begin_layout Standard
3040 En resumen, esto es lo que deberías hacer (xx indica el código del idioma):
3043 \begin_layout Itemize
3044 Inspecciona el código fuente de \SpecialChar LyX
3047 \begin_inset CommandInset href
3049 name "información en la web"
3050 target "https://www.lyx.org/HowToUseGIT"
3058 \begin_layout Itemize
3060 \begin_inset Flex Code
3063 \begin_layout Plain Layout
3069 a la carpeta de los archivos
3070 \begin_inset Flex Code
3073 \begin_layout Plain Layout
3080 Después lo renombras como
3081 \begin_inset Flex Code
3084 \begin_layout Plain Layout
3092 \begin_inset Flex Code
3095 \begin_layout Plain Layout
3101 no está por ningún sitio, puede rehacerse con el comando de consola
3102 \begin_inset Flex Code
3105 \begin_layout Plain Layout
3111 en ese directorio, o puedes usar como muestra un archivo
3112 \begin_inset Flex Code
3115 \begin_layout Plain Layout
3121 de algún otro idioma).
3124 \begin_layout Itemize
3126 \begin_inset Flex Code
3129 \begin_layout Plain Layout
3139 \begin_layout Plain Layout
3140 Es un archivo de texto, se puede editar en cualquier editor de texto.
3141 Pero hay programas especializados para editar estos archivos, como
3145 (para todas las plataformas) o
3154 tiene un `modo' para editar archivos
3155 \begin_inset Flex Code
3158 \begin_layout Plain Layout
3165 \begin_inset Flex URL
3168 \begin_layout Plain Layout
3170 https://www.gnu.org/software/gettext/manual/html_node/PO-Mode.html#PO-Mode
3180 Para algunos nombres de menú y otros artilugios hay además atajos de teclado
3181 que deberían traducirse.
3182 Dichas teclas se marcan con una `|' delante, y deberían traducirse de acuerdo
3183 con las palabras y frases del idioma.
3184 Además tendrías que rellenar la información al principio del nuevo archivo
3186 \begin_inset Flex Code
3189 \begin_layout Plain Layout
3195 , correo electrónico, etc., para que la gente sepa dónde enviarte sugerencias
3196 o divertidas diatribas.
3199 \begin_layout Standard
3200 Si estás haciendo esto solo para ti, entonces:
3203 \begin_layout Itemize
3205 \begin_inset Flex Code
3208 \begin_layout Plain Layout
3216 \begin_inset Flex Code
3219 \begin_layout Plain Layout
3220 msgfmt -o xx.mo < xx.po
3228 \begin_layout Itemize
3230 \begin_inset Flex Code
3233 \begin_layout Plain Layout
3239 a tu directorio local, en la carpeta apropiada para los mensajes de las
3240 aplicaciones en el idioma xx, con el nombre
3241 \begin_inset Flex Code
3244 \begin_layout Plain Layout
3251 \begin_inset space \thinspace{}
3255 \begin_inset space \space{}
3259 \begin_inset Flex Code
3262 \begin_layout Plain Layout
3263 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3273 \begin_layout Standard
3274 Sin embargo, ya se ha dicho, lo mejor sería poder añadir el nuevo archivo
3276 \begin_inset Flex Code
3279 \begin_layout Plain Layout
3285 a la distribución de \SpecialChar LyX
3286 , para que otros puedan usarlo.
3287 Esto requiere hacer cambios en \SpecialChar LyX
3288 , así que envía un correo a la lista de
3289 desarrolladores si estás interesado en hacerlo.
3292 \begin_layout Subsubsection
3296 \begin_layout Standard
3297 A veces resulta que un mensaje en inglés tiene diversas traducciones en
3299 Un ejemplo es la palabra
3300 \begin_inset Flex Code
3303 \begin_layout Plain Layout
3309 , que en alemán se puede traducir por Nach o Bis, según el sentido exacto
3311 \begin_inset Quotes cld
3315 \begin_inset Quotes crd
3320 \begin_inset Flex Code
3323 \begin_layout Plain Layout
3329 no maneja tales traducciones ambiguas.
3330 Por lo tanto, debes añadir alguna información contextual al mensaje: en
3332 \begin_inset Flex Code
3335 \begin_layout Plain Layout
3342 \begin_inset Flex Code
3345 \begin_layout Plain Layout
3346 To[[as in 'From format x to format y']]
3352 \begin_inset Flex Code
3355 \begin_layout Plain Layout
3356 To[[as in 'From page x to page y']]
3362 Ahora las dos apariciones de
3363 \begin_inset Flex Code
3366 \begin_layout Plain Layout
3373 \begin_inset Flex Code
3376 \begin_layout Plain Layout
3382 y pueden traducirse correctamente por Nach y Bis, respectivamente.
3385 \begin_layout Standard
3386 Por supuesto que la información contextual debe eliminarse del mensaje original
3387 si no se usa en la traducción.
3388 Por eso hay que ponerla entre dobles corchetes al final del mensaje (véase
3390 El mecanismo de traducción de \SpecialChar LyX
3391 asegura que todo lo que va entre corchetes
3392 al final de los mensajes se quita antes de mostrarlos.
3395 \begin_layout Subsection
3396 Traducción de la documentación
3399 \begin_layout Standard
3400 La documentación en línea (menú
3403 \begin_inset Flex Noun
3406 \begin_layout Plain Layout
3420 ) puede (¡debería!) traducirse.
3421 Si hay versiones traducidas de la documentación disponible
3425 \begin_layout Plain Layout
3426 Hasta marzo de 2008, al menos algunos de los documentos han sido traducidos
3427 a catorce idiomas, y el Tutorial está disponible en algunos más.
3433 \begin_inset Flex Code
3436 \begin_layout Plain Layout
3442 está adecuadamente configurado, \SpecialChar LyX
3444 \begin_inset Quotes cld
3448 \begin_inset Quotes crd
3453 busca las traducciones en
3456 \begin_inset Flex Code
3459 \begin_layout Plain Layout
3478 es el código para el idioma en uso actualmente.
3479 Si no hay versión traducida se presentará por omisión la versión inglesa
3481 Ten en cuenta que las versiones traducidas deben tener los mismos nombres
3486 de antes) que el original.
3487 Si te animas a traducir documentación (¡de paso, una excelente manera de
3488 leerla atentamente!), hay algunas cosas que deberías tener en cuenta:
3491 \begin_layout Itemize
3492 Consulta la web de traducción de la documentación en
3493 \begin_inset CommandInset href
3495 name "https://www.lyx.org/Translation"
3496 target "https://www.lyx.org/Translation"
3502 Así podrás comprobar el estado actual de traducción de documentos a tu
3504 También si hay alguien que esté coordinando la traducción a tu idioma.
3505 Si no hay nadie comunícanos, por favor, si estás interesado en ello.
3508 \begin_layout Standard
3509 Una vez que te has decidido a empezar, he aquí algunos consejos que te pueden
3510 ahorrar inconvenientes:
3513 \begin_layout Itemize
3514 ¡Únete al equipo de documentación! En
3517 \begin_inset Flex Noun
3520 \begin_layout Plain Layout
3521 Ayuda\SpecialChar menuseparator
3531 , que por cierto, es el primer documento que se debería traducir, hay informació
3532 n sobre cómo hacerlo.
3535 \begin_layout Itemize
3536 Infórmate sobre las normas tipográficas de tu idioma.
3537 La tipografía es un antiguo arte que ha desarrollado durante siglos una
3538 gran variedad de convenciones en diversas partes del mundo.
3539 Estudia también la terminología profesional de los tipógrafos en tu país.
3540 Inventar tu propia terminología sólo provocará confusión.
3543 (¡Cuidado! La tipografía es adictiva!)
3546 \begin_layout Itemize
3547 Haz una copia del documento para trabajar sobre ella.
3548 Puedes guardarla como archivo personal de traducción en tu directorio
3555 \begin_layout Itemize
3556 De vez en cuando el documento original (del equipo \SpecialChar LyX
3558 Usa el visor de fuentes en
3559 \begin_inset CommandInset href
3561 name "https://www.lyx.org/trac/timeline"
3562 target "https://www.lyx.org/trac/timeline"
3567 para ver los cambios realizados.
3568 De esta manera puedes ver fácilmente qué partes del documento traducido
3569 necesitan actualizarse.
3572 \begin_layout Standard
3573 Si encuentras un error en el documento original, ¡corríjelo y notifica los
3574 cambios al equipo de documentación! (¿No te has olvidado de contactar con
3575 el equipo de documentación, verdad?)
3578 \begin_layout Standard
3579 \begin_inset Branch OutDated
3583 \begin_layout Section
3584 International Keyboard Support
3587 \begin_layout Standard
3590 [Editor's Note: The following section is by
3598 It needs to be fixed to conform to the new Documentation Style sheet and
3599 to make use of the new v1.0 features.
3600 The whole thing also needs to be merged with the section following it.-jw
3601 It may also be badly out of date.-rh (2008)]
3604 \begin_layout Subsection
3605 Defining Own Keymaps: Keymap File Format
3608 \begin_layout Standard
3609 Let's look at a keyboard definition file a little closer.
3610 It is a plain text file defining
3613 \begin_layout Itemize
3614 key-to-key or key-to-string translations
3617 \begin_layout Itemize
3621 \begin_layout Itemize
3622 dead keys exceptions
3625 \begin_layout Standard
3626 To define key-to-key or key-to-string translation, use this command:
3629 \begin_layout Quotation
3630 \begin_inset Flex Code
3633 \begin_layout Plain Layout
3642 \begin_inset Flex Code
3645 \begin_layout Plain Layout
3654 \begin_layout Standard
3656 \begin_inset Flex Code
3659 \begin_layout Plain Layout
3665 is the key to be translated and
3666 \begin_inset Flex Code
3669 \begin_layout Plain Layout
3675 is the string to be inserted into the document.
3676 To define dead keys, use:
3679 \begin_layout Quotation
3680 \begin_inset Flex Code
3683 \begin_layout Plain Layout
3692 \begin_inset Flex Code
3695 \begin_layout Plain Layout
3704 \begin_layout Standard
3706 \begin_inset Flex Code
3709 \begin_layout Plain Layout
3715 is a keyboard key and
3716 \begin_inset Flex Code
3719 \begin_layout Plain Layout
3726 The following dead keys are supported (shortcut name is in parentheses):
3729 \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{}
3771 \begin_layout Quotation
3773 \begin_inset space \hfill{}
3780 \begin_layout Plain Layout
3792 \begin_layout Quotation
3794 \begin_inset space \hfill{}
3800 \begin_layout Quotation
3802 \begin_inset space \hfill{}
3809 \begin_layout Plain Layout
3821 \begin_layout Quotation
3823 \begin_inset space \hfill{}
3829 \begin_layout Quotation
3831 \begin_inset space \hfill{}
3837 \begin_layout Quotation
3839 \begin_inset space \hfill{}
3846 \begin_layout Plain Layout
3858 \begin_layout Quotation
3860 \begin_inset space \hfill{}
3867 \begin_layout Plain Layout
3879 \begin_layout Quotation
3881 \begin_inset space \hfill{}
3887 \begin_layout Quotation
3888 hungarian umlaut (hug)
3889 \begin_inset space \hfill{}
3895 \begin_layout Quotation
3897 \begin_inset space \hfill{}
3903 \begin_layout Quotation
3905 \begin_inset space \hfill{}
3912 \begin_layout Plain Layout
3924 \begin_layout Standard
3925 Since in many international keyboards there are exceptions to what some
3926 dead keys should do, you can define them using
3929 \begin_layout Quotation
3930 \begin_inset Flex Code
3933 \begin_layout Plain Layout
3941 deadkey key outstring
3944 \begin_layout Standard
3945 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
3949 \begin_layout Quotation
3950 \begin_inset Flex Code
3953 \begin_layout Plain Layout
3966 \begin_layout Standard
3967 to make it work correctly.
3968 Also, you have to define as exceptions dead keys over i and j, to remove
3969 the dot from them before inserting an accent mark.
3970 I will change this when the time comes, but so far I haven't had time.
3973 \begin_layout Standard
3974 Oh, and about characters: backslash is escaped, so to enter it, you'll need
3977 \begin_inset Flex Code
3980 \begin_layout Plain Layout
3986 have different meaning.
3988 \begin_inset Flex Code
3991 \begin_layout Plain Layout
3997 marks comments, quotes start and end \SpecialChar LaTeX
3999 To enter quote, you'll need to use
4000 \begin_inset Flex Code
4003 \begin_layout Plain Layout
4012 \begin_inset Flex Code
4015 \begin_layout Plain Layout
4022 \begin_inset Flex Code
4025 \begin_layout Plain Layout
4036 \begin_layout Standard
4037 If you make a keyboard description file that works for your language, please
4038 mail it to me, so I can include it in the next keymap distribution.
4041 \begin_layout Standard
4042 More keywords will be supported in keymap configuration file in future,
4046 \begin_layout Itemize
4047 \begin_inset Flex Code
4050 \begin_layout Plain Layout
4061 \begin_inset space \hfill{}
4065 \begin_inset Flex Code
4068 \begin_layout Plain Layout
4077 \begin_layout Itemize
4078 \begin_inset Flex Code
4081 \begin_layout Plain Layout
4092 \begin_inset space \hfill{}
4096 \begin_inset Flex Code
4099 \begin_layout Plain Layout
4105 an external keymap translation program
4108 \begin_layout Standard
4109 Also, it should look into
4110 \begin_inset Flex Code
4113 \begin_layout Plain Layout
4119 file for defaults, too (for example, a
4120 \begin_inset Flex Code
4123 \begin_layout Plain Layout
4131 option to include default keyboard).
4139 \begin_layout Section
4140 \begin_inset CommandInset label
4146 Cosas sobre teclados internacionales
4149 \begin_layout Standard
4150 \begin_inset Note Note
4153 \begin_layout Plain Layout
4154 Al revisar este documento en marzo de 2008, no examiné este asunto porque
4156 Sería bueno que alguien pudiera hacerlo.
4165 \begin_layout Standard
4166 Las dos secciones siguientes describen con detalle la sintaxis de los archivos
4168 \begin_inset Flex Code
4171 \begin_layout Plain Layout
4180 \begin_inset Flex Code
4183 \begin_layout Plain Layout
4192 Deberían servir de ayuda para diseñar tus propios mapas de teclado si los
4193 suministrados no satisfacen tus necesidades.
4196 \begin_layout Subsection
4200 \begin_layout Standard
4202 \begin_inset Flex Code
4205 \begin_layout Plain Layout
4211 asocia pulsaciones de teclas con caracteres o secuencias de ellos.
4212 Como sugiere el nombre, sirve para trazar un mapa del teclado.
4213 En esta sección se describen las palabras clave
4214 \begin_inset Flex Code
4217 \begin_layout Plain Layout
4226 \begin_inset Flex Code
4229 \begin_layout Plain Layout
4238 \begin_inset Flex Code
4241 \begin_layout Plain Layout
4250 \begin_inset Flex Code
4253 \begin_layout Plain Layout
4262 \begin_inset Flex Code
4265 \begin_layout Plain Layout
4274 \begin_layout Labeling
4275 \labelwidthstring 00.00.0000
4276 \begin_inset Flex Code
4279 \begin_layout Plain Layout
4287 Asocia un carácter a una cadena
4290 \begin_layout LyX-Code
4305 \begin_layout Standard
4319 , la doble comilla (") y la barra invertida (
4321 ) deben escaparse con una barra (
4326 \begin_layout Standard
4327 Un ejemplo de una declaración de
4328 \begin_inset Flex Noun
4331 \begin_layout Plain Layout
4339 para hacer que el símbolo
4340 \begin_inset Flex Noun
4343 \begin_layout Plain Layout
4351 sea generado por la tecla
4352 \begin_inset Flex Noun
4355 \begin_layout Plain Layout
4366 \begin_layout LyX-Code
4372 \begin_layout Labeling
4373 \labelwidthstring 00.00.0000
4374 \begin_inset Flex Code
4377 \begin_layout Plain Layout
4385 Especifica un carácter acentuado
4388 \begin_layout LyX-Code
4397 \begin_layout Standard
4398 Esto hará que el carácter
4406 sobre el(los) carácter(es) permitido(s)
4411 Este es el mecanismo de tecla muerta
4415 \begin_layout Plain Layout
4425 se refiere a una tecla que no genera ningún carácter por sí mismo, pero
4426 seguida de otra tecla genera el carácter acentuado deseado.
4427 Por ejemplo, un caráter con diéresis, ü, se genera de esta manera.
4436 \begin_layout Standard
4441 y después una tecla que no está entre las permitidas (
4445 ), en la salida obtendrás el carácter
4449 seguido por el otro carácter, el no permitido.
4450 Hay que tener en cuenta que
4451 \begin_inset Flex Noun
4454 \begin_layout Plain Layout
4462 cancela una tecla muerta, de modo que si pulsas
4467 \begin_inset Flex Noun
4470 \begin_layout Plain Layout
4478 , el cursor no retrocede una posición sino que anula el efecto que
4482 hubiera tenido sobre la siguiente pulsación.
4485 \begin_layout Standard
4486 En el ejemplo siguiente, el carácter ' va a generar un acento agudo permitido
4487 sobre los caracteres a, e, i, o, u, A, E, I, O, U:
4490 \begin_layout LyX-Code
4493 kmod ' acute aeiouAEIOU
4496 \begin_layout Labeling
4497 \labelwidthstring 00.00.0000
4498 \begin_inset Flex Code
4501 \begin_layout Plain Layout
4507 Especifica una excepción para el carácter acentuado
4510 \begin_layout LyX-Code
4519 \begin_layout Standard
4520 Define una excepción para el
4533 debe haber sido asignado a una pulsación con una declaración previa de
4535 \begin_inset Flex Code
4538 \begin_layout Plain Layout
4554 no debe estar en el conjunto
4563 Si tecleas la secuencia
4572 Si dicha declaración no existe en el archivo
4573 \begin_inset Flex Code
4576 \begin_layout Plain Layout
4596 es el primer argumento de la declaración
4597 \begin_inset Flex Code
4600 \begin_layout Plain Layout
4613 \begin_layout Standard
4614 El comando siguiente generará äi cuando teclees agudo-i ('i):
4617 \begin_layout LyX-Code
4631 \begin_layout Labeling
4632 \labelwidthstring 00.00.0000
4633 \begin_inset Flex Code
4636 \begin_layout Plain Layout
4642 Combina dos caracteres acentos
4645 \begin_layout LyX-Code
4651 accent1 accent2 allowed
4654 \begin_layout Standard
4655 Esto es bastante esotérico.
4656 Permite combinar el efecto de
4664 (¡en ese orden!) sobre los caracteres permitidos
4677 deben haber sido declaradas con un comando
4678 \begin_inset Flex Code
4681 \begin_layout Plain Layout
4699 \begin_layout Standard
4700 Considera este ejemplo del archivo
4701 \begin_inset Flex Code
4704 \begin_layout Plain Layout
4715 \begin_layout LyX-Code
4718 kmod ; acute aeioyvhAEIOYVH
4722 kcomb acute umlaut iyIY
4725 \begin_layout Standard
4727 \begin_inset Flex Noun
4730 \begin_layout Plain Layout
4738 y obtener el efecto de
4739 \begin_inset Flex Code
4742 \begin_layout Plain Layout
4755 En este caso un retroceso cancela la última tecla muerta, así que si tecleas
4757 \begin_inset Flex Noun
4760 \begin_layout Plain Layout
4769 \begin_inset Flex Code
4772 \begin_layout Plain Layout
4785 \begin_layout Subsection
4789 \begin_layout Standard
4790 Después de realizados el mapa
4791 \begin_inset Flex Code
4794 \begin_layout Plain Layout
4803 \begin_inset Flex Code
4806 \begin_layout Plain Layout
4816 traza el mapa de las cadenas que los símbolos generan para los caracteres
4817 en la tipografía actual.
4818 La distribución de \SpecialChar LyX
4819 actualmente incluye al menos los archivos
4820 \begin_inset Flex Code
4823 \begin_layout Plain Layout
4832 \begin_inset Flex Code
4835 \begin_layout Plain Layout
4846 \begin_layout Standard
4847 En general el archivo
4848 \begin_inset Flex Code
4851 \begin_layout Plain Layout
4859 es una secuencia de declaraciones de la forma:
4862 \begin_layout LyX-Code
4875 \begin_layout Standard
4876 Por ejemplo, para asociar
4877 \begin_inset Flex Noun
4880 \begin_layout Plain Layout
4890 al correspondiente carácter en el conjunto iso-8859-1 (233), se usa:
4893 \begin_layout LyX-Code
4901 \begin_layout Standard
4903 \begin_inset Flex Code
4906 \begin_layout Plain Layout
4915 \begin_inset Flex Code
4918 \begin_layout Plain Layout
4929 Anotar que el mismo carácter puede aplicarse a más de una cadena.
4931 \begin_inset Flex Code
4934 \begin_layout Plain Layout
4945 \begin_layout LyX-Code
4957 \begin_inset Newline newline
4973 \begin_layout Standard
4975 no puede encontrar una declaración para la cadena por una tecla o una
4976 secuencia con tecla muerta, intentará si aparece como un carácter acentuado
4977 y probará a dibujar un acento sobre el carácter en la pantalla.
4980 \begin_layout Subsection
4984 \begin_layout Standard
4985 Hay una segunda manera de añadir soporte para caracteres internacionales
4986 mediante las denominadas teclas muertas.
4987 Una tecla muerta trabaja en combinación con una letra para generar un carácter
4989 Aquí explicaremos como crear una sencillísima tecla muerta para ilustrar
4993 \begin_layout Standard
4994 Supongamos que necesitas el carácter circunflejo
4995 \begin_inset Quotes cld
4999 \begin_inset Quotes crd
5003 Podrías asociar la tecla
5004 \begin_inset Flex Noun
5007 \begin_layout Plain Layout
5014 \begin_inset Flex Noun
5017 \begin_layout Plain Layout
5023 ) al comando \SpecialChar LyX
5025 \begin_inset Flex Code
5028 \begin_layout Plain Layout
5035 \begin_inset Flex Code
5038 \begin_layout Plain Layout
5045 Ahora, cuando pulses la tecla
5046 \begin_inset Flex Noun
5049 \begin_layout Plain Layout
5055 seguida de una letra, obtendrás esa letra con circunflejo sobre ella.
5056 Por ejemplo, la secuencia
5057 \begin_inset Quotes cld
5061 \begin_inset Flex Noun
5064 \begin_layout Plain Layout
5071 \begin_inset Quotes crd
5075 \begin_inset Quotes cld
5079 \begin_inset Quotes crd
5084 \begin_inset Quotes cld
5088 \begin_inset Flex Code
5091 \begin_layout Plain Layout
5098 \begin_inset Quotes crd
5101 , sin embargo, \SpecialChar LyX
5102 no imprime nada puesto que
5103 \begin_inset Flex Noun
5106 \begin_layout Plain Layout
5112 nunca lleva un circunflejo.
5114 \begin_inset Flex Noun
5117 \begin_layout Plain Layout
5123 tras una tecla muerta imprime el acento solo.
5124 ¡Advierte este último punto! Si asocias una tecla a una tecla muerta necesitará
5125 s reasociar el carácter de esa tecla a otra tecla.
5127 \begin_inset Flex Noun
5130 \begin_layout Plain Layout
5136 a una cedilla es una mala idea, puesto que solo obtendrás cedillas en lugar
5140 \begin_layout Standard
5141 Una forma habitual de asociar teclas muertas es usar
5142 \begin_inset Flex Noun
5145 \begin_layout Plain Layout
5152 \begin_inset Flex Noun
5155 \begin_layout Plain Layout
5162 \begin_inset Flex Noun
5165 \begin_layout Plain Layout
5171 en combinación con un acento, como
5172 \begin_inset Quotes cld
5176 \begin_inset Flex Noun
5179 \begin_layout Plain Layout
5186 \begin_inset Quotes crd
5190 \begin_inset Quotes cld
5194 \begin_inset Flex Noun
5197 \begin_layout Plain Layout
5204 \begin_inset Quotes crd
5208 \begin_inset Quotes cld
5212 \begin_inset Flex Noun
5215 \begin_layout Plain Layout
5222 \begin_inset Quotes crd
5226 Otra forma incluye el uso de
5227 \begin_inset Flex Code
5230 \begin_layout Plain Layout
5237 \begin_inset Flex Code
5240 \begin_layout Plain Layout
5246 para configurar la tecla especial
5247 \begin_inset Flex Code
5250 \begin_layout Plain Layout
5257 Esta tecla actúa de alguna forma como
5258 \begin_inset Flex Noun
5261 \begin_layout Plain Layout
5267 y permite teclas a caracteres acentuados.
5268 También puedes transformar teclas en muertas asociándolas a algo como
5269 \begin_inset Flex Code
5272 \begin_layout Plain Layout
5278 y después asociando esta tecla simbólica al correspondiente comando \SpecialChar LyX
5283 \begin_layout Plain Layout
5288 : Esto es exactamente lo que hago en mis archivos
5289 \begin_inset Flex Code
5292 \begin_layout Plain Layout
5299 \begin_inset Flex Code
5302 \begin_layout Plain Layout
5310 \begin_inset Flex Noun
5313 \begin_layout Plain Layout
5315 \begin_inset space ~
5324 \begin_inset Flex Code
5327 \begin_layout Plain Layout
5333 y unas cuantas de estas teclas simbólicas
5334 \begin_inset Quotes cld
5338 \begin_inset Flex Code
5341 \begin_layout Plain Layout
5348 \begin_inset Quotes crd
5351 asociadas a cosas como
5352 \begin_inset Flex Noun
5355 \begin_layout Plain Layout
5357 \begin_inset space ~
5366 \begin_inset Flex Noun
5369 \begin_layout Plain Layout
5371 \begin_inset space ~
5380 Así es como genero mis caracteres acentuados.
5385 Puedes hacer casi cualquier cosa con la tecla
5386 \begin_inset Flex Code
5389 \begin_layout Plain Layout
5396 \begin_inset Flex Noun
5399 \begin_layout Plain Layout
5405 , una tecla de función de reserva, etc.
5406 En cuanto a los comandos \SpecialChar LyX
5407 que generan acentos, consulta la entrada para
5409 \begin_inset Flex Code
5412 \begin_layout Plain Layout
5423 Ahí encontrarás la lista completa.
5426 \begin_layout Subsection
5427 Guardar la configuración de idioma
5430 \begin_layout Standard
5431 Puedes editar tus preferencias para que el entorno de idioma adecuado sea
5432 automáticamente configurado al iniciar \SpecialChar LyX
5434 \begin_inset Flex Noun
5437 \begin_layout Plain Layout
5438 Herramientas\SpecialChar menuseparator
5447 \begin_layout Chapter
5448 Instalación de nuevas clases de documento, formatos y plantillas
5449 \begin_inset CommandInset label
5451 name "cap:Instalación-de-nuevas"
5456 \begin_inset Argument 1
5459 \begin_layout Plain Layout
5460 Instalación de clases, formatos \SpecialChar ldots
5469 \begin_layout Standard
5470 En este capítulo describimos los procedimientos para crear e instalar nuevos
5471 archivos de plantillas y formatos de \SpecialChar LyX
5472 , así como repasar la instalación
5473 correcta de nuevas clases de documentos \SpecialChar LaTeX
5477 \begin_layout Standard
5478 En primer lugar, permite que digamos algo sobre la relación entre \SpecialChar LyX
5479 y \SpecialChar LaTeX
5481 Lo que hay que entender es que, en cierto sentido, \SpecialChar LyX
5482 no sabe nada de \SpecialChar LaTeX
5484 Desde el punto de vista de \SpecialChar LyX
5485 , \SpecialChar LaTeX
5486 solo es uno más de los varios
5487 \begin_inset Quotes cld
5491 \begin_inset Quotes crd
5494 en los que es capaz de generar salida.
5495 Otros son DocBook, texto sencillo y XHTML.
5497 es, por supuesto, un formato particularmente importante, pero muy poca
5498 de la información que \SpecialChar LyX
5499 tiene sobre \SpecialChar LaTeX
5500 está realmente contenida en el propio
5505 \begin_layout Plain Layout
5506 Algunos comandos son lo bastante complejos como para ser incluidos en el
5507 código de \SpecialChar LyX
5509 Pero en general los desarrolladores consideran esto una mala cosa.
5515 Esa información, incluso para las clases estándar como
5519 , está almacenada en 'archivos de formato (
5524 De igual manera \SpecialChar LyX
5525 no sabe gran cosa sobre DocBook o XHTML.
5526 Esa información está en los archivos de formato.
5529 \begin_layout Standard
5530 El archivo de formato para una determinada clase de documento se puede considera
5531 r como un manual de instrucciones para traducir las estructuras de \SpecialChar LyX
5533 y sus estilos, ciertos tipos de recuadros, etc.— a las estructuras correspondien
5534 tes de \SpecialChar LaTeX
5536 Por ejemplo, casi todo lo que \SpecialChar LyX
5538 \begin_inset Flex Code
5541 \begin_layout Plain Layout
5547 está contenido en el archivo
5548 \begin_inset Flex Code
5551 \begin_layout Plain Layout
5557 y en otros archivos incluidos en este.
5558 Por esta razón, quien intente escribir archivos de formato debería empezar
5559 por estudiar los archivos existentes.
5560 Un buen sitio para empezar es
5561 \begin_inset Flex Code
5564 \begin_layout Plain Layout
5570 , que está incluido en
5571 \begin_inset Flex Code
5574 \begin_layout Plain Layout
5581 \begin_inset Flex Code
5584 \begin_layout Plain Layout
5590 y muchos otros archivos de formato para clases de documento.
5591 En este archivo se definen las secciones y demás:
5592 \begin_inset Flex Code
5595 \begin_layout Plain Layout
5601 indica a \SpecialChar LyX
5602 como traducir los párrafos con estilos como Sección, Subsección,
5603 etc., a los comandos y etiquetas correspondientes en \SpecialChar LaTeX
5606 \begin_inset Flex Code
5609 \begin_layout Plain Layout
5615 solo incluye, básicamente, varios de estos archivos
5616 \begin_inset Flex Code
5619 \begin_layout Plain Layout
5628 \begin_layout Standard
5629 Pero definir la correspondencia \SpecialChar LyX
5631 no es lo único que hacen los archivos
5633 Su otra tarea es definir cómo aparecerán en pantalla las estructuras de
5636 El hecho de que los archivos de formato tengan estas dos tareas es a veces
5637 fuente de confusión, porque son totalmente independientes.
5638 Indicar a \SpecialChar LyX
5639 cómo traducir cierto estilo de párrafo a \SpecialChar LaTeX
5640 no le dice cómo mostrarlo
5641 en pantalla; a la inversa, indicar cómo mostrar en pantalla un estilo de
5642 párrafo no tiene nada que ver con su traducción a \SpecialChar LaTeX
5643 (solo permite indicar
5644 a \SpecialChar LaTeX
5646 Así pues, en general, cuando defines una nueva construcción en \SpecialChar LyX
5648 tienes que hacer dos cosas: 1) indicar la traducción a \SpecialChar LaTeX
5650 presentación en pantalla.
5653 \begin_layout Standard
5654 Gran parte de lo dicho es cierto, también, en relación con otros formatos
5655 de salida, aunque XHTML es un poco diferente porque en este caso \SpecialChar LyX
5660 , en cierta medida, de usar la información de la presentación de un párrafo
5661 en pantalla para generar la presentación (en forma de CSS) del párrafo
5663 Incluso en este caso, no obstante, la distinción entre lo que hace \SpecialChar LyX
5665 e y la forma en que las cosas se muestran externamente sigue en vigor, y
5666 ambas se pueden controlar separadamente.
5668 \begin_inset CommandInset ref
5670 reference "sec:Etiquetas-para-XHTML"
5677 \begin_layout Section
5678 Instalación de nuevos archivos \SpecialChar LaTeX
5682 \begin_layout Standard
5683 Algunas instalaciones quizá no incluyan un paquete \SpecialChar LaTeX
5684 que te gustaría usar
5687 Por ejemplo, podrías necesitar Foil\SpecialChar TeX
5688 , un paquete para preparar transparencias
5689 o diapositivas para proyectores.
5690 Las modernas distribuciones de \SpecialChar LaTeX
5691 como \SpecialChar TeX
5692 Live (2008 o posterior) o MiK\SpecialChar TeX
5694 una interfaz de usuario para eso.
5695 Por ejemplo, en MiK\SpecialChar TeX
5697 \begin_inset Quotes cld
5700 Administrador de paquetes
5701 \begin_inset Quotes crd
5704 para obtener una lista de los disponibles.
5705 Para instalar uno, haz clic derecho sobre él o usa el botón de la herramienta
5709 \begin_layout Standard
5710 Si tu distribución \SpecialChar LaTeX
5712 \begin_inset Quotes cld
5715 administrador de paquetes
5716 \begin_inset Quotes crd
5719 , o si el paquete no está disponible en ella, sigue los siguientes pasos
5720 para instalarlo manualmente:
5723 \begin_layout Enumerate
5724 Consigue el paquete de
5725 \begin_inset CommandInset href
5728 target "http://www.ctan.org/"
5736 \begin_layout Enumerate
5737 Si el paquete contiene un archivo con la extensión
5738 \begin_inset Quotes cld
5742 \begin_inset Flex Code
5745 \begin_layout Plain Layout
5752 \begin_inset Quotes crd
5755 (es el caso de Foil\SpecialChar TeX
5756 ) abre una consola, cambia a la carpeta del archivo
5757 y ejecuta el comando
5758 \begin_inset Flex Code
5761 \begin_layout Plain Layout
5768 Así desempaquetamos y disponemos de todos los archivos para instalar.
5769 La mayoría de paquetes \SpecialChar LaTeX
5770 no están empaquetados y podemos saltar este paso.
5773 \begin_layout Enumerate
5774 Tienes que decidir si el paquete estará disponible para todos los usuarios
5779 \begin_layout Enumerate
5780 En sistemas *nix (Linux, OSX, etc.), si el paquete va estar disponible para
5781 todos los usuarios del sistema, hay que instalarlo en el árbol 'local'
5783 , de lo contrario instálalo en tu directorio \SpecialChar TeX
5785 La ubicación de estos árboles, si no existen ya, depende del sistema.
5786 Para encontrarlos mira en el archivo
5787 \begin_inset Flex Code
5790 \begin_layout Plain Layout
5800 \begin_layout Plain Layout
5801 Usualmente es el directorio
5805 , aunque se puede ejecutar el comando
5806 \begin_inset Flex Code
5809 \begin_layout Plain Layout
5820 La ubicación del árbol `local' de \SpecialChar TeX
5821 está definida por la variable
5822 \begin_inset Flex Code
5825 \begin_layout Plain Layout
5831 ; generalmente algo como
5833 /usr/local/share/texmf/
5835 o /usr/local/texlive/XXXX donde XXXX es el año de la distribución \SpecialChar TeX
5838 La ubicación del árbol `user' de \SpecialChar TeX
5840 \begin_inset Flex Code
5843 \begin_layout Plain Layout
5854 \begin_inset Flex Code
5857 \begin_layout Plain Layout
5866 (Si estas variables no están predefinidas, debes hacerlo.) Probablemente
5867 necesites permiso de administrador para crear o modificar el árbol `local',
5868 pero no para el árbol `user'.
5869 \begin_inset Newline newline
5872 En general, es recomendable instalar en el árbol `user' porque no será modificad
5873 o o sobrescrito al actualizar el sistema.
5874 Además, se guardará copia de él cuando hagas copia de seguridad de tu directori
5875 o `home' (que debe ser lo habitual).
5878 \begin_layout Enumerate
5879 En Windows, para que el nuevo paquete esté disponible a todos los usuarios,
5880 cambia a la carpeta donde está instalado \SpecialChar LaTeX
5889 , (En MiK\SpecialChar TeX
5903 ) crea una nueva carpeta
5904 \begin_inset Flex Code
5907 \begin_layout Plain Layout
5913 y copia en ella todos los archivos del paquete.
5914 Para hacer el paquete disponible solo a un usuario o si no dispones de
5915 permisos, haz lo mismo pero en el directorio de \SpecialChar LaTeX
5917 \begin_inset space \thinspace{}
5920 ej., en MiK\SpecialChar TeX
5922 \begin_inset space ~
5926 \begin_inset Newline newline
5933 Documents and Settings
5940 \begin_inset Newline newline
5944 \begin_inset Phantom HPhantom
5947 \begin_layout Plain Layout
5965 \begin_inset Newline newline
5969 \begin_inset Newline newline
5997 \begin_layout Enumerate
5998 Ahora hay que decir a \SpecialChar LaTeX
5999 que hay archivos nuevos.
6000 Esto depende de la distribución de \SpecialChar LaTeX
6005 \begin_layout Enumerate
6006 Para \SpecialChar TeX
6007 Live ejecuta el comando
6008 \begin_inset Flex Code
6011 \begin_layout Plain Layout
6018 Si el paquete se instaló para todos los usuarios harán falta permisos de
6022 \begin_layout Enumerate
6023 Para MiK\SpecialChar TeX
6024 , si el paquete se instaló para todos los usuarios, inicia el programa
6026 \begin_inset Quotes eld
6030 \begin_inset space ~
6034 \begin_inset Quotes erd
6038 \begin_inset Quotes eld
6042 \begin_inset Quotes erd
6046 Si no, inicia el programa
6047 \begin_inset Quotes eld
6051 \begin_inset Quotes erd
6058 \begin_layout Enumerate
6059 Finalmente, hay que decir a \SpecialChar LyX
6060 que hay nuevos paquetes disponibles.
6062 \begin_inset Flex Noun
6065 \begin_layout Plain Layout
6066 Herramientas\SpecialChar menuseparator
6072 y reinicia \SpecialChar LyX
6076 \begin_layout Standard
6077 Ya está instalado el paquete.
6078 En nuestro ejemplo, la clase de documento
6079 \begin_inset Flex Code
6082 \begin_layout Plain Layout
6084 \begin_inset space ~
6092 estará ahora disponible en
6093 \begin_inset Flex Noun
6096 \begin_layout Plain Layout
6097 Documento\SpecialChar menuseparator
6098 Configuración\SpecialChar menuseparator
6100 \begin_inset space ~
6104 \begin_inset space ~
6116 \begin_layout Standard
6117 Si quieres usar una clase de documento \SpecialChar LaTeX
6118 que no aparece listada en
6119 \begin_inset Flex Noun
6122 \begin_layout Plain Layout
6123 Documento\SpecialChar menuseparator
6124 Configuración\SpecialChar menuseparator
6126 \begin_inset space ~
6130 \begin_inset space ~
6138 , debes crear un archivo de formato (`layout') para ella.
6139 Este es el tema de la sección siguiente.
6142 \begin_layout Section
6143 Tipos de archivos de formato
6146 \begin_layout Standard
6147 Esta sección describe los diversos tipos de arhivos de \SpecialChar LyX
6148 que contienen informació
6151 \begin_inset Flex Code
6154 \begin_layout Plain Layout
6160 describen estilos de párrafo y de carácter, y determinan cómo los debería
6161 presentar \SpecialChar LyX
6162 y cómo deberían traducirse a \SpecialChar LaTeX
6163 , DocBook, XHTML o cualquier otro
6164 formato de salida que se vaya a usar.
6168 \begin_layout Standard
6169 Intentaremos aquí dar una minuciosa descripción del proceso; sin embargo,
6170 hay tantos tipos diferentes de documentos soportados por clases de \SpecialChar LaTeX
6172 no podemos aspirar a tratar todas las distintas posibilidades o problemas
6173 que puedas encontrar.
6174 La lista de usuarios de \SpecialChar LyX
6175 es frecuentada por gente con mucha experiencia
6176 en el diseño de formatos deseosa de compartir sus conocimientos.
6179 \begin_layout Standard
6180 Cuando te pongas a escribir un nuevo formato, es de gran ayuda echar un
6181 vistazo a los formatos de ejemplo suministrados con \SpecialChar LyX
6183 Si escribes un `layout' de \SpecialChar LyX
6184 para una clase de documento \SpecialChar LaTeX
6186 podría ser útil también a otros, no dudes en compartir tu labor enviándola
6188 \begin_inset CommandInset href
6190 name "sección 'Layouts' en wiki LyX"
6191 target "https://wiki.lyx.org/Layouts/Layouts"
6196 o incluso a la lista de desarrolladores de \SpecialChar LyX
6197 para poderlo incluir en la
6202 \begin_layout Plain Layout
6203 Hay que advertir que \SpecialChar LyX
6204 se acoge a la licencia GPL, por tanto cualquier material
6205 aportado debe tener la misma licencia.
6213 \begin_layout Subsection
6215 \begin_inset CommandInset label
6217 name "subsec:Módulos-de-formato"
6224 \begin_layout Standard
6225 Hemos hablado hasta ahora de `archivos de formato'.
6226 Pero hay distintos tipos de archivos con información sobre formatos.
6227 Estrictamente, los archivos de formato tienen la extensión
6228 \begin_inset Flex Code
6231 \begin_layout Plain Layout
6237 y proporcionan a \SpecialChar LyX
6238 información sobre las clases de documento.
6239 Sin embargo, a partir de \SpecialChar LyX
6240 1.6, esta información puede proporcionarse también
6245 , que tienen la extensión
6246 \begin_inset Flex Code
6249 \begin_layout Plain Layout
6256 Los módulos son a los paquetes \SpecialChar LaTeX
6257 lo que los formatos a las clases \SpecialChar LaTeX
6259 módulos —como el módulo Notas finales— dan soporte específico a un paquete
6260 determinado —en este caso
6261 \begin_inset Flex Code
6264 \begin_layout Plain Layout
6271 En cierto sentido, los módulos de formato son similares a los `archivos
6276 \begin_layout Plain Layout
6277 Estos pueden tener cualquier extensión pero, por convenio, se usa la extensión
6279 \begin_inset Flex Code
6282 \begin_layout Plain Layout
6294 \begin_inset Flex Code
6297 \begin_layout Plain Layout
6303 —, ya que, como estos, los módulos no son específicos para una clase de
6304 documento dada, sino que se pueden usar con muchos formatos diferentes.
6305 La diferencia es que el uso de un archivo incluido con
6306 \begin_inset Flex Code
6309 \begin_layout Plain Layout
6315 requiere editar dicho archivo, mientras que los módulos se seleccionan
6317 \begin_inset Flex Noun
6320 \begin_layout Plain Layout
6321 Documento\SpecialChar menuseparator
6331 \begin_layout Standard
6332 La construcción de módulos es la forma más fácil de iniciarse en la edición
6333 del formato, puesto que puede ser tan sencillo como añadir un nuevo estilo
6334 de párrafo o un recuadro flexible.
6335 No obstante, los módulos pueden, en principio, contener cualquier cosa
6336 que pueda contener un archivo `layout'.
6339 \begin_layout Standard
6340 Después de crear un módulo nuevo y copiarlo en la carpeta
6341 \begin_inset Flex Code
6344 \begin_layout Plain Layout
6350 , tendrás que reconfigurar \SpecialChar LyX
6351 y reiniciar después para que el módulo aparezca
6353 Sin embargo, los cambios que hagas al módulo se verán inmediatamente si
6355 \begin_inset Flex Noun
6358 \begin_layout Plain Layout
6359 Documento\SpecialChar menuseparator
6365 , seleccionas lo que sea y después pulsas
6366 \begin_inset Quotes cld
6370 \begin_inset Quotes crd
6376 Es muy recomendable guardar el trabajo antes de hacer eso.
6381 es muy recomendable no intentar editar los módulos mientras se está trabajando
6382 simultáneamente en un documento
6385 Aunque los desarrolladores, por supuesto, se esfuerzan en mantener la estabilid
6386 ad de \SpecialChar LyX
6387 en estas situaciones, errores sintácticos y similares en el archivo
6388 del módulo podrían causar extraños comportamientos.
6391 \begin_layout Subsubsection
6395 \begin_layout Standard
6396 Los módulos son a \SpecialChar LyX
6397 lo que los paquetes a \SpecialChar LaTeX
6399 Sin embargo, a veces puede suceder que necesites un recuadro específico
6400 o un estilo de carácter solo para un documento, y escribir un módulo que
6401 estará disponible también para otros documentos tiene poco sentido.
6402 En estos casos, lo que necesitas es el
6403 \begin_inset Quotes cld
6407 \begin_inset Quotes crd
6414 \begin_layout Standard
6417 Documento\SpecialChar menuseparator
6418 Configuración\SpecialChar menuseparator
6422 El gran cuadro de texto permite introducir todo lo que podría incluirse
6423 en un archivo de formato o en un módulo.
6424 De hecho, el formato local de un documento se puede considerar como un
6425 módulo que le pertenece solo a él.
6426 Por tanto, en particular, hay que introducir una etiqueta
6427 \begin_inset Flex Code
6430 \begin_layout Plain Layout
6437 Cualquier formato es aceptable, pero debería usarse normalmente el actual
6439 (En \SpecialChar LyX
6446 el formato actual es
6455 \begin_layout Standard
6456 Una vez introducido algo en el panel
6457 \begin_inset Flex Code
6460 \begin_layout Plain Layout
6468 \begin_inset Quotes cld
6472 \begin_inset Quotes crd
6476 Pulsando ese botón \SpecialChar LyX
6477 determinará si lo introducido es información válida
6478 para el formato elegido.
6480 informará del resultado pero, desafortunadamente, no indicará qué errores
6481 pudiera haber habido.
6482 Sin embargo, si \SpecialChar LyX
6483 se ha arrancado en una terminal se verán ahí los errores.
6484 El formato local no se podrá guardar hasta que se haya introducido algo
6488 \begin_layout Standard
6489 Las advertencias al final de la sección anterior se aplican también aquí.
6490 Es mejor no enredar con formato local mientras se está trabajando, especialment
6491 e si no se ha guardado el documento.
6492 Dicho esto, usar formato local en un documento de prueba puede ser una
6493 forma muy conveniente de probar ideas de formato, o incluso de empezar
6494 a desarrollar un módulo.
6497 \begin_layout Subsection
6498 Formato para archivos
6499 \begin_inset Flex Noun
6502 \begin_layout Plain Layout
6511 \begin_layout Standard
6512 Probablemente te vas a encontrar con dos situaciones a la hora de querer
6513 soportar una nueva clase de documento \SpecialChar LaTeX
6514 , según se trate de archivos de estilo
6516 \begin_inset Flex Code
6519 \begin_layout Plain Layout
6525 ) o de archivos de clases \SpecialChar LaTeX2e
6527 \begin_inset Flex Code
6530 \begin_layout Plain Layout
6537 Dar soporte a un nuevo estilo es bastante fácil.
6538 Dar soporte a una nueva clase es un poco más difícil.
6539 Trataremos el primer caso en esta sección y el otro en la siguiente.
6540 Lo mismo cabe decir, por supuesto, para el soporte de un nuevo DocBook
6544 \begin_layout Standard
6545 El caso más sencillo es aquel en el que la nueva clase de documento se suministr
6546 a como archivo de estilo que se usará conjuntamente con una clase ya soportada.
6547 Para nuestro ejemplo supondremos que el archivo de estilo se llama
6548 \begin_inset Flex Noun
6551 \begin_layout Plain Layout
6557 y que se usará conjuntamente con
6558 \begin_inset Flex Noun
6561 \begin_layout Plain Layout
6567 , que es una clase estándar.
6570 \begin_layout Standard
6571 Empieza por copiar el archivo `layout' existente en tu directorio local:
6575 \begin_layout Plain Layout
6576 Evidentemente, cuál es tu directorio local variará según la plataforma,
6577 y además \SpecialChar LyX
6578 permite especificarlo al inicio usando la opción
6579 \begin_inset Flex Code
6582 \begin_layout Plain Layout
6596 \begin_layout LyX-Code
6597 cp report.layout ~/.lyx/layouts/myclass.layout
6600 \begin_layout Standard
6602 \begin_inset Flex Code
6605 \begin_layout Plain Layout
6614 \begin_layout LyX-Code
6617 DeclareLaTeXClass{report}
6620 \begin_layout Standard
6624 \begin_layout LyX-Code
6627 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
6630 \begin_layout Standard
6634 \begin_layout LyX-Code
6636 \begin_inset Newline newline
6642 \begin_inset Newline newline
6648 \begin_layout Standard
6649 cerca del principio del archivo.
6652 \begin_layout Standard
6653 Inicia \SpecialChar LyX
6655 \begin_inset Flex Noun
6658 \begin_layout Plain Layout
6659 Herramientas\SpecialChar menuseparator
6666 Después reinicia \SpecialChar LyX
6667 y haz una prueba con un documento nuevo.
6669 \begin_inset Flex Noun
6672 \begin_layout Plain Layout
6673 Documento\SpecialChar menuseparator
6680 \begin_inset Quotes cld
6684 \begin_inset Flex Noun
6687 \begin_layout Plain Layout
6694 \begin_inset Quotes crd
6697 en la lista de clases de documento.
6698 Es probable que algunos de los comandos de secciones y demás en tu nueva
6699 clase funcionen de distinta manera a como lo hacen en la clase estándar
6701 \begin_inset Flex Code
6704 \begin_layout Plain Layout
6710 en este ejemplo—, de modo que si quieres, ahora puedes enredar un rato
6711 con los ajustes de las distintas secciones.
6712 La información del formato de las secciones se encuentra en
6713 \begin_inset Flex Code
6716 \begin_layout Plain Layout
6722 , pero no necesitas copiar ni cambiar este archivo.
6723 Simplemente añade tus cambios a tu archivo `layout' después de la línea
6725 \begin_inset Flex Code
6728 \begin_layout Plain Layout
6735 \begin_inset Flex Code
6738 \begin_layout Plain Layout
6745 Por ejemplo, podrías añadir estas líneas:
6748 \begin_layout LyX-Code
6752 \begin_layout LyX-Code
6756 \begin_layout LyX-Code
6760 \begin_layout LyX-Code
6764 \begin_layout LyX-Code
6768 \begin_layout Standard
6769 para cambiar la tipografía de los encabezados de capítulo a sans-serif.
6770 Esto sobrescribirá (o, en este caso, añadirá) la declaración para el estilo
6775 \begin_layout Standard
6776 Tu nuevo paquete puede proporcionar además comandos o entornos no presentes
6778 En este caso, los añadirás al archivo `layout'.
6780 \begin_inset space ~
6784 \begin_inset CommandInset ref
6786 reference "sec:Estructura-del-archivo-layout"
6790 para información sobre cómo hacerlo.
6793 \begin_layout Standard
6795 \begin_inset Flex Noun
6798 \begin_layout Plain Layout
6804 se puede usar con diferentes clases de documento, e incluso si no es así,
6805 lo más sencillo sería escribir un módulo que puedes cargar con la clase
6807 El módulo más simple posible podría ser:
6810 \begin_layout LyX-Code
6813 DeclareLyXModule{My Package}
6816 \begin_layout LyX-Code
6820 \begin_layout LyX-Code
6821 #Support for mypkg.sty.
6824 \begin_layout LyX-Code
6826 \begin_inset Newline newline
6832 \begin_layout LyX-Code
6840 \begin_inset Newline newline
6846 \begin_layout LyX-Code
6848 \begin_inset Newline newline
6854 \begin_inset Newline newline
6860 \begin_layout Standard
6861 Un módulo más complejo podría modificar el comportamiento de alguna estructura
6862 ya existente o definir algunas nuevas.
6863 De nuevo te remitimos a sección
6864 \begin_inset space ~
6868 \begin_inset CommandInset ref
6870 reference "sec:Estructura-del-archivo-layout"
6877 \begin_layout Subsection
6878 Formato para archivos
6879 \begin_inset Flex Noun
6882 \begin_layout Plain Layout
6891 \begin_layout Standard
6892 En este caso hay dos opciones.
6893 Una, que el archivo de clase esté él mismo basado en una clase de documento
6895 Por ejemplo, muchas clases de tesis están basadas en
6896 \begin_inset Flex Noun
6899 \begin_layout Plain Layout
6906 Para ver si el tuyo lo está, busca una línea parecida a
6909 \begin_layout LyX-Code
6915 \begin_layout Standard
6917 Si está, entonces puedes proceder en gran parte como en la sección anterior,
6918 aunque la línea Declare\SpecialChar LaTeX
6919 Class será diferente.
6920 Si tu nueva clase es tesis y está basada en book, la línea debería poner:
6924 \begin_layout Plain Layout
6925 Y será mucho más fácil si guardas el archivo como
6926 \begin_inset Flex Code
6929 \begin_layout Plain Layout
6936 supone que la clase de documento tiene el mismo nombre que el archivo
6946 \begin_layout LyX-Code
6949 DeclareLaTeXClass[thesis,book]{thesis}
6952 \begin_layout Standard
6953 Si, por el contrario, la nueva clase no está basada en una ya existente,
6954 probablemente tendrás que ir pensando en tu propio formato.
6955 Recomendamos firmemente copiar un archivo de formato existente que use
6956 una clase de \SpecialChar LaTeX
6957 parecida y modificarlo, si es posible.
6958 O al menos, usa un archivo existente como punto de partida para ver qué
6959 items son los que te deben preocupar.
6960 Los detalles se discuten a continuación.
6963 \begin_layout Subsection
6964 Creación de plantillas
6965 \begin_inset CommandInset label
6967 name "subsec:Creación-de-plantillas"
6974 \begin_layout Standard
6975 Una vez escrito un archivo de formato para una clase nueva de documento,
6976 podrías pensar en escribir además una
6981 Una plantilla funciona como una especie de tutorial para tu formato, mostrando
6982 cómo podría usarse, aunque sea con contenido irrelevante.
6983 Naturalmente, puedes echar un vistazo a las plantillas incluidas en \SpecialChar LyX
6988 \begin_layout Standard
6989 Las plantillas se crean exactamente igual que un documento normal: usando
6992 La única diferencia es que los documentos corrientes tienen todos los ajustes
6993 posibles, incluso el esquema de tipografías y el tamaño del papel.
6994 Generalmente, un usuario no desea que una plantilla sobrescriba sus ajustes
6995 preferidos para dichos parámetros.
6996 Por esta razón, el diseñador de una plantilla debería quitar comandos como
6998 \begin_inset Flex Code
7001 \begin_layout Plain Layout
7010 \begin_inset Flex Code
7013 \begin_layout Plain Layout
7021 de los archivos de plantillas de \SpecialChar LyX
7023 Esto se puede hacer con cualquier editor de texto sencillo, por ejemplo
7025 \begin_inset Flex Code
7028 \begin_layout Plain Layout
7035 \begin_inset Flex Code
7038 \begin_layout Plain Layout
7048 \begin_layout Standard
7049 Los archivos editados de plantillas que has creado se ubican en
7050 \begin_inset Flex Code
7053 \begin_layout Plain Layout
7059 , copia los que uses del directorio global de plantillas en
7060 \begin_inset Flex Code
7063 \begin_layout Plain Layout
7070 al mismo sitio y redefine la ruta a las plantillas en el diálogo
7071 \begin_inset Flex Noun
7074 \begin_layout Plain Layout
7075 Herramientas\SpecialChar menuseparator
7076 Preferencias\SpecialChar menuseparator
7085 \begin_layout Standard
7086 De paso advertiremos que hay una plantilla,
7087 \begin_inset Flex Code
7090 \begin_layout Plain Layout
7096 , que tiene un papel especial: esta plantilla se carga cada vez que abres
7097 un documento nuevo con
7098 \begin_inset Flex Noun
7101 \begin_layout Plain Layout
7102 Archivo\SpecialChar menuseparator
7108 , con el fin de proporcionar ajustes predeterminados por omisión.
7109 Para (re)crear esta plantilla desde dentro de \SpecialChar LyX
7110 , lo que debes hacer es abrir
7111 un documento, establecer los ajustes deseados y usar el botón
7112 \begin_inset Flex Noun
7115 \begin_layout Plain Layout
7116 Guardar como predeterminados
7124 \begin_layout Subsection
7125 Actualización de antiguos archivos de formato
7128 \begin_layout Standard
7129 El formato de los archivos de formato cambia con cada nueva versión de \SpecialChar LyX
7131 de modo que los antiguos archivos de formato deben ser convertidos.
7133 lee un archivo de formato con formato antiguo lanzará la herramienta
7135 \begin_inset Flex Code
7138 \begin_layout Plain Layout
7144 , que lo convierte a un archivo temporal con el formato actual.
7145 El archivo original se deja sin tocar.
7146 Si lo usas a menudo y lo quieres convertir permanentemente para evitar
7147 que \SpecialChar LyX
7148 tenga que hacerlo cada vez, ejecuta el convertidor a mano:
7151 \begin_layout Enumerate
7153 \begin_inset Flex Code
7156 \begin_layout Plain Layout
7163 \begin_inset Flex Code
7166 \begin_layout Plain Layout
7175 \begin_layout Enumerate
7177 \begin_inset Newline newline
7181 \begin_inset Flex Code
7184 \begin_layout Plain Layout
7185 python \SpecialChar LyX
7186 Dir/scripts/layout2layout.py myclass.old myclass.layout
7192 \begin_inset Newline newline
7196 \begin_inset Flex Code
7199 \begin_layout Plain Layout
7206 es el nombre de tu directorio \SpecialChar LyX
7210 \begin_layout Standard
7211 La conversión manual no puede manejar archivos incluidos, así que estos
7212 tendrán que convertirse separadamente.
7215 \begin_layout Subsection
7218 \begin_inset CommandInset label
7220 name "subsec:Cite-Engine-Files"
7227 \begin_layout Standard
7230 A specific form of layout files are the so-called
7231 \begin_inset Flex Code
7234 \begin_layout Plain Layout
7242 files that are located in the
7243 \begin_inset Flex Code
7246 \begin_layout Plain Layout
7255 Their purpose is to define the specifics of \SpecialChar LaTeX
7256 packages aimed at bibliography
7269 , but also the way how normal Bib\SpecialChar TeX
7270 citations (without additional packages)
7271 are handled in \SpecialChar LyX
7272 is defined in such a file.
7276 \begin_layout Standard
7279 More specifically, it is defined which packages \SpecialChar LyX
7280 needs to load, which citation
7281 commands are available, how these are to be displayed in \SpecialChar LyX
7283 the dialogs, the context menus) as well as in the XHTML and plain text
7285 Furthermore, the files specify available style variants (author-year, numerical
7286 , etc.) and their specifics.
7287 The cite engine files are also used to generate the options that are available
7290 Document\SpecialChar menuseparator
7291 Settings\SpecialChar menuseparator
7292 Bibliography\SpecialChar menuseparator
7298 \begin_layout Standard
7301 Even though a cite engine file is essentially a normal layout file that
7302 could theoretically include any layout information, it usually primarily
7303 includes some specific parameters such as
7304 \begin_inset Flex Code
7307 \begin_layout Plain Layout
7316 \begin_inset Flex Code
7319 \begin_layout Plain Layout
7328 \begin_inset Flex Code
7331 \begin_layout Plain Layout
7340 \begin_inset Flex Code
7343 \begin_layout Plain Layout
7352 The syntax of the latter two is described in
7355 \begin_inset CommandInset ref
7357 reference "subsec:Citation-engine-description"
7365 \begin_inset CommandInset ref
7367 reference "subsec:Descripción-formato-cita"
7373 as well as in the files themselves.
7376 \begin_layout Section
7377 Estructura del archivo `layout'
7378 \begin_inset CommandInset label
7380 name "sec:Estructura-del-archivo-layout"
7387 \begin_layout Standard
7388 Ha llegado por fin el momento de ponerte manos a la obra y crear o editar
7389 tu propio archivo de formato; las siguientes secciones describen aquello
7390 a lo que te vas a enfrentar.
7391 Nuestro consejo es ir despacito, probando y guardando a menudo.
7392 En realidad no es para tanto, pero la multitud de opciones puede llegar
7393 a abrumarte si intentas hacer muchas cosas a la vez.
7394 Resulta más sencillo usar formatos existentes de \SpecialChar LyX
7395 como ejemplo o referencia
7396 y modificarlos según tus necesidades.
7399 \begin_layout Standard
7400 Todos los rótulos o etiquetas en los archivos de formato son insensibles
7401 a las mayúsculas; esto significa que
7402 \begin_inset Flex Code
7405 \begin_layout Plain Layout
7412 \begin_inset Flex Code
7415 \begin_layout Plain Layout
7422 \begin_inset Flex Code
7425 \begin_layout Plain Layout
7431 son el mismo comando.
7432 Los valores posibles se imprimen entre corchetes detrás del nombre de la
7434 Si en una descripción de una clase de texto no se especifica una característica
7435 , el valor por omisión se escribe en estilo
7436 \begin_inset Flex Code
7439 \begin_layout Plain Layout
7448 Si el argumento tiene un tipo de dato como
7449 \begin_inset Quotes cld
7453 \begin_inset Quotes crd
7457 \begin_inset Quotes cld
7461 \begin_inset Quotes crd
7464 , el valor por omisión se muestra de esta manera:
7465 \begin_inset Flex Code
7468 \begin_layout Plain Layout
7479 \begin_layout Subsection
7480 Declaración de la clase de documento y clasificación
7483 \begin_layout Standard
7484 Las líneas de un archivo de formato que empiezan con
7485 \begin_inset Flex Code
7488 \begin_layout Plain Layout
7495 Hay una excepción a esta regla: todos los formatos deben comenzar con líneas
7499 \begin_layout LyX-Code
7502 #% Do not delete the line below; configure depends on this
7506 \begin_layout Plain Layout
7510 \begin_inset space \thinspace{}
7515 : No borrar la línea siguiente; la configuración depende de ella
7523 \begin_layout LyX-Code
7528 DeclareLaTeXClass{Article (Standard Class)}
7531 \begin_layout LyX-Code
7536 DeclareCategory{Articles}
7539 \begin_layout Standard
7540 La segunda y tercera líneas se usan en la (re)configuración de \SpecialChar LyX
7542 El archivo `layout' es leido por el guión de \SpecialChar LaTeX
7544 \begin_inset Flex Code
7547 \begin_layout Plain Layout
7553 de un modo especial tal que
7554 \begin_inset Flex Code
7557 \begin_layout Plain Layout
7564 La primera línea es solo un comentario, la segunda contiene la declaración
7565 obligatoria de la clase de texto y la tercera línea contiene la clasificación
7566 opcional de la clase.
7567 Si estas líneas aparecen en un archivo llamado
7568 \begin_inset Flex Code
7571 \begin_layout Plain Layout
7577 , entonces definen una clase de texto de nombre
7578 \begin_inset Flex Code
7581 \begin_layout Plain Layout
7587 (el nombre del archivo de formato) que usa la clase de documento \SpecialChar LaTeX
7589 \begin_inset Flex Code
7592 \begin_layout Plain Layout
7598 (por omisión se usa el mismo nombre para ambos).
7600 \begin_inset Quotes cld
7603 Article (Standard Class)
7604 \begin_inset Quotes crd
7607 se utiliza como descripción de la clase de texto y es la que aparece en
7609 \begin_inset Flex Noun
7612 \begin_layout Plain Layout
7613 Documento\SpecialChar menuseparator
7621 \begin_inset Quotes cld
7625 \begin_inset Quotes crd
7628 en el ejemplo) también se usa en el diálogo
7629 \begin_inset Flex Noun
7632 \begin_layout Plain Layout
7633 Documento\SpecialChar menuseparator
7639 : las clases de texto se agrupan por estas categorías (generalmente son
7640 géneros, así son categorías típicas
7641 \begin_inset Quotes cld
7645 \begin_inset Quotes crd
7649 \begin_inset Quotes cld
7653 \begin_inset Quotes crd
7657 \begin_inset Quotes cld
7661 \begin_inset Quotes crd
7665 \begin_inset Quotes cld
7669 \begin_inset Quotes crd
7673 \begin_inset Quotes cld
7677 \begin_inset Quotes crd
7681 \begin_inset Quotes cld
7685 \begin_inset Quotes crd
7689 Si no se ha declarado categoría la clase se pondrá en el grupo
7690 \begin_inset Quotes cld
7694 \begin_inset Quotes crd
7700 \begin_layout Standard
7701 Supongamos que has escrito tu propia clase de texto, que utiliza la clase
7703 \begin_inset Flex Code
7706 \begin_layout Plain Layout
7712 , pero en la que has cambiado el aspecto de los encabezados de sección.
7713 Si lo pones en un archivo
7714 \begin_inset Flex Code
7717 \begin_layout Plain Layout
7723 , la cabecera de este archivo debería ser:
7726 \begin_layout LyX-Code
7729 #% Do not delete the line below; configure depends on this
7732 \begin_layout LyX-Code
7737 DeclareLaTeXClass[article]{Article (con Mis Encabezados)}
7740 \begin_layout LyX-Code
7745 DeclareCategory{Articles}
7748 \begin_layout Standard
7749 Esto declara la clase de texto
7750 \begin_inset Flex Code
7753 \begin_layout Plain Layout
7759 , asociada con la clase de documento \SpecialChar LaTeX
7761 \begin_inset Flex Code
7764 \begin_layout Plain Layout
7770 , y cuya descripción es
7771 \begin_inset Quotes cld
7774 Article (con Mis Encabezados)
7775 \begin_inset Quotes crd
7779 Si la clase de texto depende de varios paquetes, puedes declararla así:
7782 \begin_layout LyX-Code
7785 #% Do not delete the line below; configure depends on this
7788 \begin_layout LyX-Code
7793 DeclareLaTeXClass[article,foo.sty]{Article (con Mis Encabezados)}
7796 \begin_layout LyX-Code
7801 DeclareCategory{Articles}
7804 \begin_layout Standard
7805 Esto indica que la clase de texto utiliza el paquete foo.sty.
7806 Finalmente, también es posible declarar clases para código DocBook.
7807 Una declaración típica podría ser:
7810 \begin_layout LyX-Code
7813 #% Do not delete the line below; configure depends on this
7816 \begin_layout LyX-Code
7821 DeclareDocBookClass[article]{SGML (DocBook Article)}
7824 \begin_layout LyX-Code
7829 DeclareCategory{Articles}
7832 \begin_layout Standard
7833 Anotar que estas declaraciones pueden llevar también un parámetro opcional
7834 que declare el nombre de la clase de documento (pero no una lista).
7837 \begin_layout Standard
7838 Así, para ser lo más explícito posible, la forma de la declaración del formato
7842 \begin_layout LyX-Code
7847 DeclareLaTeXClass[class,package.sty]{descripción del formato}
7850 \begin_layout LyX-Code
7855 DeclareCategory{category}
7858 \begin_layout Standard
7859 La clase solo debe especificarse si el nombre de archivo de la clase \SpecialChar LaTeX
7861 el nombre de archivo del formato son diferentes; si el nombre del archivo
7862 de clase no se especifica, \SpecialChar LyX
7863 simplemente supondrá que es el mismo que el
7864 del archivo de formato.
7867 \begin_layout Standard
7868 Cuando la clase de texto se ha modificado según tus necesidades, lo que
7869 debes hacer es copiarla a
7870 \begin_inset Flex Code
7873 \begin_layout Plain Layout
7881 \begin_inset Flex Code
7884 \begin_layout Plain Layout
7891 \begin_inset Flex Noun
7894 \begin_layout Plain Layout
7895 Herramientas\SpecialChar menuseparator
7901 , y reiniciar \SpecialChar LyX
7903 Ahora la nueva clase de texto debería estar disponible junto con las demás.
7906 \begin_layout Standard
7907 Una vez instalado el `layout', puedes editarlo y ver los cambios sin tener
7908 que reconfigurar ni reiniciar \SpecialChar LyX
7914 \begin_layout Plain Layout
7915 En versiones de \SpecialChar LyX
7916 anteriores a 1.6 no era así.
7917 Como resultado, la edición de archivos de formato podía llevar mucho tiempo,
7918 pues constantemente había que reconfigurar y reiniciar.
7923 Se puede forzar la recarga del formato en uso mediante la función \SpecialChar LyX
7925 \begin_inset Flex Noun
7928 \begin_layout Plain Layout
7935 No hay atajo predeterminado para esta función —aunque por supuesto, puedes
7936 asociarle tú mismo una secuencia de teclas—.
7937 Normalmente usarás esta función introduciéndola simplemente en el
7945 \begin_layout Standard
7950 : Esto es mucho más que una
7951 \begin_inset Quotes cld
7954 característica avanzada
7955 \begin_inset Quotes crd
7963 recomendable que no intentes editar tu formato mientras estés trabajando
7964 en un documento importante.
7965 Usa un documento de prueba.
7966 Los errores sintácticos y similares en tu archivo de formato podrían provocar
7967 comportamientos extraños.
7968 En particular, tales errores podrían provocar que \SpecialChar LyX
7969 vea el formato actual
7970 como inválido e intente cambiar a algún otro.
7974 \begin_layout Plain Layout
7975 En realidad, los errores en la sintaxis pueden causar incluso el cierre
7977 , porque ciertos tipos de error pueden hacer que \SpecialChar LyX
7983 información de formato.
7984 Por favor ten cuidado.
7989 El equipo \SpecialChar LyX
7990 procura que \SpecialChar LyX
7991 se mantenga estable en estos casos, pero es mejor
7996 \begin_layout Plain Layout
7997 De todos modos, haz copias de seguridad regularmente.
7998 Y sé bueno con mamá.
8007 \begin_layout Subsection
8008 Declaración de un módulo
8011 \begin_layout Standard
8012 Un módulo debe empezar con una línea como la siguiente:
8015 \begin_layout LyX-Code
8018 DeclareLyXModule[endnotes.sty]{Endnotes}
8021 \begin_layout Standard
8022 El argumento imprescindible es, entre llaves, el nombre del módulo tal como
8024 \begin_inset Flex Noun
8027 \begin_layout Plain Layout
8028 Documento\SpecialChar menuseparator
8029 Configuración\SpecialChar menuseparator
8036 El argumento entre corchetes es opcional: declara cualesquiera paquetes
8038 de los que depende el módulo.
8039 También es posible usar la forma
8040 \begin_inset Flex Noun
8043 \begin_layout Plain Layout
8049 como argumento opcional, que declara que el módulo solo puede usarse cuando
8050 existe una cadena de conversión entre los formatos `
8051 \begin_inset Flex Code
8054 \begin_layout Plain Layout
8061 \begin_inset Flex Code
8064 \begin_layout Plain Layout
8073 \begin_layout Standard
8074 La declaración del módulo debe proseguir con líneas como las siguientes:
8078 \begin_layout Plain Layout
8079 Preferiblemente en inglés si el módulo se va a publicar en \SpecialChar LyX
8081 Esta descripción aparecerá en la lista de mensajes para ser traducidos
8082 en la siguiente actualización de la interfaz.
8090 \begin_layout LyX-Code
8094 \begin_layout LyX-Code
8095 #Adds an endnote command, in addition to footnotes.
8099 \begin_layout LyX-Code
8100 #You will need to add
8102 theendnotes in \SpecialChar TeX
8106 \begin_layout LyX-Code
8107 #want the endnotes to appear.
8111 \begin_layout LyX-Code
8115 \begin_layout LyX-Code
8116 #Requires: somemodule | othermodule
8119 \begin_layout LyX-Code
8120 #Excludes: badmodule
8123 \begin_layout Standard
8124 La descripción se usa en
8125 \begin_inset Flex Noun
8128 \begin_layout Plain Layout
8129 Documento\SpecialChar menuseparator
8130 Configuración\SpecialChar menuseparator
8136 para proporcionar al usuario información sobre las acciones del módulo.
8138 \begin_inset Flex Code
8141 \begin_layout Plain Layout
8147 sirve para identificar otros módulos con los que se debe usar este; la
8149 \begin_inset Flex Code
8152 \begin_layout Plain Layout
8158 identifica los módulos con los que este no se puede usar.
8159 Ambas son opcionales, y, como se ve, varios módulos deben separarse con
8160 el símbolo tubería: |.
8161 Anotar que los módulos requeridos se tratan de forma disyuntiva: debe usarse
8166 de los módulos requeridos.
8172 Aquí, los módulos se identifican por sus nombres de archivo sin la extensión
8174 \begin_inset Flex Code
8177 \begin_layout Plain Layout
8185 \begin_inset Flex Code
8188 \begin_layout Plain Layout
8195 \begin_inset Flex Code
8198 \begin_layout Plain Layout
8207 \begin_layout Subsection
8210 The CiteEngine file declaration
8213 \begin_layout Standard
8216 A cite engine file must begin with a line like the following:
8219 \begin_layout LyX-Code
8224 DeclareLyXCiteEngineModule[biblatex.sty]{Biblatex}
8227 \begin_layout Standard
8230 The mandatory argument, in curly brackets, is the name of the module, as
8232 \begin_inset Flex Noun
8235 \begin_layout Plain Layout
8238 Document\SpecialChar menuseparator
8239 Settings\SpecialChar menuseparator
8246 The argument in square brackets is optional: It declares any \SpecialChar LaTeX
8248 on which the cite engine depends.
8251 \begin_layout Standard
8254 The cite engine declaration should then be followed by lines like the following:
8258 \begin_layout Plain Layout
8261 Preferably in English if the module should be published with \SpecialChar LyX
8263 This description will appear in the list of messages to be translated and
8264 will be thus translated with the next interface update.
8272 \begin_layout LyX-Code
8278 \begin_layout LyX-Code
8281 # Biblatex supports many author-year and numerical styles.
8284 \begin_layout LyX-Code
8287 # It is mainly aimed at the Humanities.
8291 \begin_layout LyX-Code
8294 # customizable, fully localized and provides many features
8297 \begin_layout LyX-Code
8300 # that are not possible with BibTeX.
8301 The use of 'biber' as
8304 \begin_layout LyX-Code
8307 # bibliography processor is advised.
8310 \begin_layout LyX-Code
8316 \begin_layout Standard
8319 The description is used in
8320 \begin_inset Flex Noun
8323 \begin_layout Plain Layout
8326 Document\SpecialChar menuseparator
8327 Settings\SpecialChar menuseparator
8333 to provide the user with information about the cite engine.
8336 \begin_layout Subsection
8340 \begin_layout Standard
8341 La primera línea no comentada de cualquier archivo `layout', `inc' o `module'
8346 contener el número de formato del archivo:
8349 \begin_layout Description
8350 \begin_inset Flex Code
8353 \begin_layout Plain Layout
8360 \begin_inset Flex Code
8363 \begin_layout Plain Layout
8369 ] El número de formato del archivo de formato (`layout').
8372 \begin_layout Standard
8373 Esta etiqueta se introdujo en \SpecialChar LyX
8375 \begin_inset space ~
8379 Los archivos anteriores no tienen un número explícito y se consideran como
8381 \begin_inset Flex Code
8384 \begin_layout Plain Layout
8386 \begin_inset space ~
8395 El número para la versión actual de \SpecialChar LyX
8403 Cada versión de \SpecialChar LyX
8404 es capaz de leer los formatos de versiones anteriores,
8405 de la misma forma que puede leer archivos producidos con versiones de \SpecialChar LyX
8408 Sin embargo, no está previsto convertir a formatos anteriores.
8411 \begin_layout Subsection
8412 Parámetros generales de clases de texto
8413 \begin_inset CommandInset label
8415 name "subsec:Parámetros-generales-clases"
8422 \begin_layout Standard
8423 Estos son los parámetros generales que describen completamente una clase
8429 significa que deban aparecer en archivos
8430 \begin_inset Flex Code
8433 \begin_layout Plain Layout
8439 en vez de en módulos.
8440 Un módulo puede contener cualquier etiqueta de formato).
8443 \begin_layout Description
8444 \begin_inset Flex Code
8447 \begin_layout Plain Layout
8453 Añade información para el bloque
8454 \begin_inset Flex Code
8457 \begin_layout Plain Layout
8463 cuando el documento se exporte a XHTML.
8464 Típicamente, debería usarse para exportar información de estilo CSS, aunque
8465 se puede usar para cualquier cosa que pueda aparecer en
8466 \begin_inset Flex Code
8469 \begin_layout Plain Layout
8477 \begin_inset Quotes eld
8481 \begin_inset Flex Code
8484 \begin_layout Plain Layout
8491 \begin_inset Quotes erd
8497 \begin_layout Description
8498 \begin_inset Flex Code
8501 \begin_layout Plain Layout
8507 Añade información al preámbulo del documento.
8509 \begin_inset Quotes cld
8513 \begin_inset Flex Code
8516 \begin_layout Plain Layout
8523 \begin_inset Quotes crd
8529 \begin_layout Description
8532 \begin_inset Flex Code
8535 \begin_layout Plain Layout
8543 Defines the possibilities for displaying citation references.
8545 \begin_inset CommandInset ref
8547 reference "subsec:Citation-engine-description"
8556 \begin_inset Quotes eld
8560 \begin_inset Flex Code
8563 \begin_layout Plain Layout
8572 \begin_inset Quotes erd
8576 Primarily used in cite engine files (see
8577 \begin_inset CommandInset ref
8579 reference "subsec:Cite-Engine-Files"
8589 \begin_layout Description
8590 \begin_inset Flex Code
8593 \begin_layout Plain Layout
8599 Define formatos a usar en la presentación de información bibliográfica.
8601 \begin_inset space ~
8605 \begin_inset CommandInset ref
8607 reference "subsec:Descripción-formato-cita"
8613 \begin_inset Quotes eld
8617 \begin_inset Flex Code
8620 \begin_layout Plain Layout
8627 \begin_inset Quotes erd
8633 Primarily used in cite engine files (see
8634 \begin_inset CommandInset ref
8636 reference "subsec:Cite-Engine-Files"
8646 \begin_layout Description
8649 \begin_inset Flex Code
8652 \begin_layout Plain Layout
8661 \begin_inset Flex Code
8664 \begin_layout Plain Layout
8674 \begin_inset Flex Code
8677 \begin_layout Plain Layout
8685 ] Determines whether
8689 or Bib\SpecialChar TeX
8690 is used to generate a Bibliography.
8691 Primarily used in cite engine files (see
8692 \begin_inset CommandInset ref
8694 reference "subsec:Cite-Engine-Files"
8704 \begin_layout Description
8705 \begin_inset Flex Code
8708 \begin_layout Plain Layout
8714 Describe varias opciones globales soportadas por la clase de documento.
8716 \begin_inset space ~
8720 \begin_inset CommandInset ref
8722 reference "subsec:ClassOptions"
8726 para una descripción.
8728 \begin_inset Quotes cld
8732 \begin_inset Flex Code
8735 \begin_layout Plain Layout
8742 \begin_inset Quotes crd
8748 \begin_layout Description
8749 \begin_inset Flex Code
8752 \begin_layout Plain Layout
8759 \begin_inset Flex Code
8762 \begin_layout Plain Layout
8771 \begin_inset space \thinspace{}
8775 \begin_inset Flex Code
8778 \begin_layout Plain Layout
8784 ] Establece el número de columnas por omisión.
8785 Se puede cambiar en el diálogo
8786 \begin_inset Flex Noun
8789 \begin_layout Plain Layout
8790 Documento\SpecialChar menuseparator
8799 \begin_layout Description
8800 \begin_inset Flex Code
8803 \begin_layout Plain Layout
8809 Esta secuencia define un nuevo contador.
8811 \begin_inset space ~
8815 \begin_inset CommandInset ref
8817 reference "subsec:Contadores"
8823 \begin_inset Quotes cld
8827 \begin_inset Flex Code
8830 \begin_layout Plain Layout
8837 \begin_inset Quotes crd
8843 \begin_layout Description
8844 \begin_inset Flex Code
8847 \begin_layout Plain Layout
8853 Establece la tipografía por omisión para presentar el documento.
8855 \begin_inset space ~
8859 \begin_inset CommandInset ref
8861 reference "subsec:Tipografía"
8865 para cómo declarar tipografías.
8867 \begin_inset Quotes cld
8871 \begin_inset Flex Code
8874 \begin_layout Plain Layout
8881 \begin_inset Quotes crd
8887 \begin_layout Description
8888 \begin_inset Flex Code
8891 \begin_layout Plain Layout
8898 \begin_inset Flex Code
8901 \begin_layout Plain Layout
8907 ] Especifica un módulo que se incluirá por omisión en esta clase de documento;
8908 deberá declararse por su nombre de archivo sin la extensión
8909 \begin_inset Flex Code
8912 \begin_layout Plain Layout
8919 El usuario puede, aún así, quitar el módulo, pero estará activo al principio.
8920 (Esto se aplica solo cuando se crean archivos nuevos, o si esta clase se
8921 elige para un documento existente.)
8924 \begin_layout Description
8925 \begin_inset Flex Code
8928 \begin_layout Plain Layout
8935 \begin_inset Flex Code
8938 \begin_layout Plain Layout
8944 ] Este es el estilo que será asignado a párrafos nuevos, generalmente
8945 \begin_inset Flex Noun
8948 \begin_layout Plain Layout
8955 Si no se especifica, se escogerá por omisión el primer estilo definido,
8956 pero es muy recomendable usar esta instrucción.
8959 \begin_layout Description
8960 \begin_inset Flex Code
8963 \begin_layout Plain Layout
8970 \begin_inset Flex Code
8973 \begin_layout Plain Layout
8979 ] Indica que el módulo en cuestión (que debería especificarse por el nombre
8980 de archivo sin la extensión
8981 \begin_inset Flex Code
8984 \begin_layout Plain Layout
8990 ) no puede utilizarse con esta clase de documento.
8991 Esto podría usarse en un archivo de formato específico de una publicación
8992 para, digamos, impedir el empleo del módulo
8993 \begin_inset Flex Code
8996 \begin_layout Plain Layout
9002 , que numera los teoremas y demás por secciones.
9007 puede utilizarse en un módulo.
9008 Los módulos tienen su propia forma de excluir otros módulos (véase
9009 \begin_inset space ~
9013 \begin_inset CommandInset ref
9015 reference "subsec:Módulos-de-formato"
9022 \begin_layout Description
9023 \begin_inset Flex Code
9026 \begin_layout Plain Layout
9032 Define un nuevo flotante.
9034 \begin_inset space ~
9038 \begin_inset CommandInset ref
9040 reference "subsec:Flotantes"
9046 \begin_inset Quotes cld
9050 \begin_inset Flex Code
9053 \begin_layout Plain Layout
9060 \begin_inset Quotes crd
9066 \begin_layout Description
9067 \begin_inset Flex Code
9070 \begin_layout Plain Layout
9076 Da información para el bloque
9077 \begin_inset Flex Code
9080 \begin_layout Plain Layout
9086 cuando esta clase de documento se exporte a XHTML.
9087 Advertir que esto sobrescribirá completamente cualquier declaración anterior
9089 \begin_inset Flex Code
9092 \begin_layout Plain Layout
9099 \begin_inset Flex Code
9102 \begin_layout Plain Layout
9110 \begin_inset Flex Code
9113 \begin_layout Plain Layout
9119 si solo quieres añadir material al preámbulo).
9121 \begin_inset Quotes eld
9125 \begin_inset Flex Code
9128 \begin_layout Plain Layout
9135 \begin_inset Quotes erd
9141 \begin_layout Description
9142 \begin_inset Flex Code
9145 \begin_layout Plain Layout
9152 \begin_inset Flex Code
9155 \begin_layout Plain Layout
9161 ] El estilo a usar para el índice general, bibliografía, etc., cuando el
9162 documento se exporte a HTML.
9163 Para article, normalmente será
9164 \begin_inset Flex Code
9167 \begin_layout Plain Layout
9174 \begin_inset Flex Code
9177 \begin_layout Plain Layout
9184 Si no se especifica, \SpecialChar LyX
9185 intentará deducir qué formato usar.
9188 \begin_layout Description
9189 \begin_inset Flex Code
9192 \begin_layout Plain Layout
9199 \begin_inset Flex Code
9202 \begin_layout Plain Layout
9208 ] Modifica las propiedades del contador dado.
9209 Si el contador no existe, esta sección se ignora.
9211 \begin_inset Quotes eld
9215 \begin_inset Flex Code
9218 \begin_layout Plain Layout
9225 \begin_inset Quotes erd
9229 \begin_inset Newline newline
9233 \begin_inset space ~
9237 \begin_inset CommandInset ref
9239 reference "subsec:Contadores"
9246 \begin_layout Description
9247 \begin_inset Flex Code
9250 \begin_layout Plain Layout
9257 \begin_inset Flex Code
9260 \begin_layout Plain Layout
9266 ] Permite incluir otro archivo de definición de formato en el tuyo con el
9267 fin de evitar la duplicación de comandos.
9268 Ejemplos habituales son los archivos de formatos estándar, como
9269 \begin_inset Flex Code
9272 \begin_layout Plain Layout
9278 , que contiene la mayoría de los diseños básicos.
9281 \begin_layout Description
9282 \begin_inset Flex Code
9285 \begin_layout Plain Layout
9292 \begin_inset Flex Code
9295 \begin_layout Plain Layout
9301 ] Esta sección (re)define el formato de un recuadro.
9302 Puede aplicarse a uno existente o a uno nuevo, definido por el usuario,
9304 \begin_inset space \thinspace{}
9307 e., un nuevo estilo de texto.
9309 \begin_inset space ~
9313 \begin_inset CommandInset ref
9315 reference "subsec:estilo-del-texto"
9319 para más información.
9321 \begin_inset Quotes cld
9325 \begin_inset Flex Code
9328 \begin_layout Plain Layout
9335 \begin_inset Quotes crd
9341 \begin_layout Description
9342 \begin_inset Flex Code
9345 \begin_layout Plain Layout
9352 \begin_inset Flex Code
9355 \begin_layout Plain Layout
9361 ] Una cadena que indica la anchura del margen izquierdo en la pantalla,
9363 \begin_inset Quotes cld
9367 \begin_inset Flex Code
9370 \begin_layout Plain Layout
9377 \begin_inset Quotes crd
9381 (Esto no es una `longitud', como
9382 \begin_inset Quotes cld
9386 \begin_inset Quotes crd
9392 \begin_layout Description
9395 \begin_inset Flex Code
9398 \begin_layout Plain Layout
9407 \begin_inset Flex Code
9410 \begin_layout Plain Layout
9418 ] An integer that determines the maximal number of names displayed in an
9419 author-year citation before the citation switches to
9420 \begin_inset Quotes eld
9424 \begin_inset Quotes erd
9428 Primarily used in cite engine files (see
9429 \begin_inset CommandInset ref
9431 reference "subsec:Cite-Engine-Files"
9441 \begin_layout Description
9442 \begin_inset Flex Code
9445 \begin_layout Plain Layout
9452 \begin_inset Flex Code
9455 \begin_layout Plain Layout
9461 ] Modifica las propiedades del estilo de párrafo dado.
9462 Si el estilo no existe, esta sección se ignora.
9464 \begin_inset Quotes eld
9468 \begin_inset Flex Code
9471 \begin_layout Plain Layout
9478 \begin_inset Quotes erd
9484 \begin_layout Description
9485 \begin_inset Flex Code
9488 \begin_layout Plain Layout
9495 \begin_inset Flex Code
9498 \begin_layout Plain Layout
9504 ] Este comando elimina un contador existente, generalmente uno definido
9505 en un archivo incluido.
9508 \begin_layout Description
9509 \begin_inset Flex Code
9512 \begin_layout Plain Layout
9519 \begin_inset Flex Code
9522 \begin_layout Plain Layout
9528 ] Este comando borra un flotante existente.
9529 Es particularmente útil si quieres suprimir un flotante que ha sido definido
9530 en un archivo de entrada.
9533 \begin_layout Description
9534 \begin_inset Flex Code
9537 \begin_layout Plain Layout
9544 \begin_inset Flex Code
9547 \begin_layout Plain Layout
9553 ] Este comando borra un estilo existente.
9556 \begin_layout Description
9557 \begin_inset Flex Code
9560 \begin_layout Plain Layout
9567 \begin_inset Flex Code
9570 \begin_layout Plain Layout
9576 ] El formato de archivo (tal como se define en las preferencias de \SpecialChar LyX
9579 Principalmente, es útil cuando
9580 \begin_inset Flex Code
9583 \begin_layout Plain Layout
9590 \begin_inset Flex Code
9593 \begin_layout Plain Layout
9599 y se quiere definir un nuevo tipo de documento `literate'.
9600 Esta cadena se redefine a
9601 \begin_inset Quotes cld
9605 \begin_inset Flex Code
9608 \begin_layout Plain Layout
9615 \begin_inset Quotes crd
9619 \begin_inset Quotes cld
9623 \begin_inset Flex Code
9626 \begin_layout Plain Layout
9633 \begin_inset Quotes crd
9636 si se encuentra el correspondiente parámetro
9637 \begin_inset Flex Code
9640 \begin_layout Plain Layout
9649 \begin_layout Description
9650 \begin_inset Flex Code
9653 \begin_layout Plain Layout
9660 \begin_inset Flex Code
9663 \begin_layout Plain Layout
9674 \begin_inset Flex Code
9677 \begin_layout Plain Layout
9684 \begin_inset Flex Code
9687 \begin_layout Plain Layout
9693 ] Indica qué clase de documentos de salida que usan esta clase se generarán.
9696 \begin_layout Description
9697 \begin_inset Flex Code
9700 \begin_layout Plain Layout
9707 \begin_inset Flex Code
9710 \begin_layout Plain Layout
9717 \begin_inset Flex Code
9720 \begin_layout Plain Layout
9726 ] Especifica opciones, dadas en el segundo
9730 , para el paquete nombrado en el primer
9736 \begin_inset Quotes cld
9740 \begin_inset Flex Code
9743 \begin_layout Plain Layout
9744 PackageOptions natbib square
9750 \begin_inset Quotes crd
9754 \begin_inset Flex Code
9757 \begin_layout Plain Layout
9763 se cargue con la opción
9764 \begin_inset Flex Code
9767 \begin_layout Plain Layout
9774 (Para \SpecialChar TeX
9775 pertos, esto hace que \SpecialChar LyX
9777 \begin_inset Flex Code
9780 \begin_layout Plain Layout
9783 PassOptionsToPackage{natbib}{square}
9789 \begin_inset Flex Code
9792 \begin_layout Plain Layout
9801 \begin_layout Description
9802 \begin_inset Flex Code
9805 \begin_layout Plain Layout
9812 \begin_inset Flex Code
9815 \begin_layout Plain Layout
9824 \begin_inset Flex Code
9827 \begin_layout Plain Layout
9834 \begin_inset Flex Code
9837 \begin_layout Plain Layout
9847 El estilo de página predeterminado de la clase.
9848 Puede cambiarse en el diálogo
9849 \begin_inset Flex Noun
9852 \begin_layout Plain Layout
9853 Documento\SpecialChar menuseparator
9862 \begin_layout Description
9863 \begin_inset Flex Code
9866 \begin_layout Plain Layout
9872 Establece el preámbulo \SpecialChar LaTeX
9874 Anotar que esto anulará completamente cualesquiera declaraciones
9875 \begin_inset Flex Code
9878 \begin_layout Plain Layout
9885 \begin_inset Flex Code
9888 \begin_layout Plain Layout
9896 \begin_inset Flex Code
9899 \begin_layout Plain Layout
9905 si solo quieres añadir material al preámbulo).
9907 \begin_inset Quotes cld
9911 \begin_inset Flex Code
9914 \begin_layout Plain Layout
9921 \begin_inset Quotes crd
9927 \begin_layout Description
9928 \begin_inset Flex Code
9931 \begin_layout Plain Layout
9938 \begin_inset Flex Code
9941 \begin_layout Plain Layout
9948 \begin_inset Flex Code
9951 \begin_layout Plain Layout
9960 \begin_inset Flex Code
9963 \begin_layout Plain Layout
9969 ] Si la clase ya proporciona, o no, la característica
9970 \begin_inset Flex Code
9973 \begin_layout Plain Layout
9980 Una característica es en general el nombre de un paquete (
9981 \begin_inset Flex Code
9984 \begin_layout Plain Layout
9991 \begin_inset Flex Code
9994 \begin_layout Plain Layout
10000 , \SpecialChar ldots
10002 \begin_inset Flex Code
10005 \begin_layout Plain Layout
10012 \begin_inset Flex Code
10015 \begin_layout Plain Layout
10021 ,\SpecialChar ldots
10023 Véase en el capítulo
10024 \begin_inset space ~
10028 \begin_inset CommandInset ref
10030 reference "cap:Lista-de-funciones"
10034 la lista de características.
10037 \begin_layout Description
10038 \begin_inset Flex Code
10041 \begin_layout Plain Layout
10048 \begin_inset Flex Code
10051 \begin_layout Plain Layout
10057 ] Indica que este formato proporciona la funcionalidad del módulo mencionado,
10058 que deberá especificarse con su nombre de archivo sin la extensión
10059 \begin_inset Flex Code
10062 \begin_layout Plain Layout
10069 Esto se usará típicamente si el formato incluye el módulo directamente,
10070 preferiblemente a usar la etiqueta
10071 \begin_inset Flex Code
10074 \begin_layout Plain Layout
10080 para indicar que debería utilizarse.
10081 Podría ser empleado en un módulo que provea una implementación alternativa
10082 de la misma funcionalidad.
10085 \begin_layout Description
10086 \begin_inset Flex Code
10089 \begin_layout Plain Layout
10096 \begin_inset Flex Code
10099 \begin_layout Plain Layout
10105 ] Crea un nuevo estilo (entorno) de párrafo si no existe.
10106 Si el estilo existe se ignora esta sección.
10108 \begin_inset Quotes eld
10112 \begin_inset Flex Code
10115 \begin_layout Plain Layout
10122 \begin_inset Quotes erd
10128 \begin_layout Description
10129 \begin_inset Flex Code
10132 \begin_layout Plain Layout
10139 \begin_inset Flex Code
10142 \begin_layout Plain Layout
10148 ] Si la clase requiere la característica
10149 \begin_inset Flex Code
10152 \begin_layout Plain Layout
10159 Múltiples características deben separarse con comas.
10160 Multiple features must be separated by commas.
10161 Anotar que solo se pueden demandar características soportadas.
10162 (Véase la lista en el capítulo
10163 \begin_inset space ~
10167 \begin_inset CommandInset ref
10169 reference "cap:Lista-de-funciones"
10174 Si necesitas un paquete con opciones específicas puedes usar además
10175 \begin_inset Flex Code
10178 \begin_layout Plain Layout
10187 \begin_layout Description
10188 \begin_inset Flex Code
10191 \begin_layout Plain Layout
10198 \begin_inset Flex Code
10201 \begin_layout Plain Layout
10207 ] Una cadena que indica la anchura del margen derecho en la pantalla, por
10209 \begin_inset Quotes cld
10213 \begin_inset Flex Code
10216 \begin_layout Plain Layout
10223 \begin_inset Quotes crd
10229 \begin_layout Description
10230 \begin_inset Flex Code
10233 \begin_layout Plain Layout
10240 \begin_inset Flex Code
10243 \begin_layout Plain Layout
10249 ] Establece qué divisiones se numeran.
10250 Corresponde al contador \SpecialChar LaTeX
10252 \begin_inset Flex Code
10255 \begin_layout Plain Layout
10264 \begin_layout Description
10265 \begin_inset Flex Code
10268 \begin_layout Plain Layout
10277 \begin_inset Flex Code
10280 \begin_layout Plain Layout
10289 \begin_inset space \thinspace{}
10293 \begin_inset Flex Code
10296 \begin_layout Plain Layout
10302 ] Si debe imprimirse en una o en ambas caras del papel.
10303 Se puede cambiar en el diálogo
10304 \begin_inset Flex Noun
10307 \begin_layout Plain Layout
10308 Documento\SpecialChar menuseparator
10317 \begin_layout Description
10318 \begin_inset Flex Code
10321 \begin_layout Plain Layout
10328 \begin_inset Flex Code
10331 \begin_layout Plain Layout
10337 ] Esta secuencia define un nuevo estilo de párrafo.
10338 Si el estilo ya existe, en ese caso se redefinirán algunos de los parámetros.
10340 \begin_inset space ~
10344 \begin_inset CommandInset ref
10346 reference "subsec:Estilos-de-párrafo"
10352 \begin_inset Quotes cld
10356 \begin_inset Flex Code
10359 \begin_layout Plain Layout
10366 \begin_inset Quotes crd
10372 \begin_layout Description
10373 \begin_inset Flex Code
10376 \begin_layout Plain Layout
10383 \begin_inset Flex Code
10386 \begin_layout Plain Layout
10392 ] El nombre del comando de entorno a usar con
10393 \begin_inset Flex Code
10396 \begin_layout Plain Layout
10405 \begin_layout Description
10406 \begin_inset Flex Code
10409 \begin_layout Plain Layout
10416 \begin_inset Flex Code
10419 \begin_layout Plain Layout
10428 \begin_inset Flex Code
10431 \begin_layout Plain Layout
10437 ] Indica qué clase de diseño se emplea para definir el título de un documento.
10439 \begin_inset Flex Code
10442 \begin_layout Plain Layout
10448 significa que la macro con nombre
10449 \begin_inset Flex Code
10452 \begin_layout Plain Layout
10458 se insertará después del último formato que tiene
10459 \begin_inset Quotes cld
10463 \begin_inset Flex Code
10466 \begin_layout Plain Layout
10468 \begin_inset space ~
10477 \begin_inset Quotes crd
10482 \begin_inset Flex Code
10485 \begin_layout Plain Layout
10491 corresponde al caso en que todos los formatos que tienen
10492 \begin_inset Quotes cld
10496 \begin_inset Flex Code
10499 \begin_layout Plain Layout
10501 \begin_inset space ~
10510 \begin_inset Quotes crd
10513 debería ser incluido en el entorno
10514 \begin_inset Flex Code
10517 \begin_layout Plain Layout
10526 \begin_layout Description
10527 \begin_inset Flex Code
10530 \begin_layout Plain Layout
10537 \begin_inset Flex Code
10540 \begin_layout Plain Layout
10546 ] Establece qué divisiones se incluyen en el índice general.
10547 Corresponde al contador \SpecialChar LaTeX
10549 \begin_inset Flex Code
10552 \begin_layout Plain Layout
10561 \begin_layout Subsection
10563 \begin_inset Flex Code
10566 \begin_layout Plain Layout
10573 \begin_inset CommandInset label
10575 name "subsec:ClassOptions"
10582 \begin_layout Standard
10584 \begin_inset Flex Code
10587 \begin_layout Plain Layout
10593 puede contener las siguientes entradas:
10596 \begin_layout Description
10597 \begin_inset Flex Code
10600 \begin_layout Plain Layout
10607 \begin_inset Flex Code
10610 \begin_layout Plain Layout
10616 ] La lista de los tamaños de carácter disponibles para la tipografía principal
10617 del documento, separados por
10618 \begin_inset Quotes cld
10622 \begin_inset Flex Code
10625 \begin_layout Plain Layout
10632 \begin_inset Quotes crd
10638 \begin_layout Description
10639 \begin_inset Flex Code
10642 \begin_layout Plain Layout
10648 Para establecer la línea DTD con las clases con salida basada en XML.
10650 \begin_inset space \thinspace{}
10654 \begin_inset Quotes cld
10657 -//OASIS//DTD DocBook V4.2//EN
10658 \begin_inset Quotes crd
10664 \begin_layout Description
10665 \begin_inset Flex Code
10668 \begin_layout Plain Layout
10675 \begin_inset Flex Code
10678 \begin_layout Plain Layout
10684 ] Algunas opciones de clase de documento, separadas por coma, que se añadirán
10685 a la parte opcional del comando
10686 \begin_inset Flex Code
10689 \begin_layout Plain Layout
10700 \begin_layout Description
10701 \begin_inset Flex Code
10704 \begin_layout Plain Layout
10711 \begin_inset Flex Code
10714 \begin_layout Plain Layout
10715 string="empty|plain|headings|fancy"
10720 ] Lista de los estilos de página disponibles, separados por
10721 \begin_inset Quotes cld
10725 \begin_inset Flex Code
10728 \begin_layout Plain Layout
10735 \begin_inset Quotes crd
10741 \begin_layout Standard
10743 \begin_inset Flex Code
10746 \begin_layout Plain Layout
10753 \begin_inset Quotes cld
10757 \begin_inset Flex Code
10760 \begin_layout Plain Layout
10767 \begin_inset Quotes crd
10773 \begin_layout Subsection
10775 \begin_inset CommandInset label
10777 name "subsec:Estilos-de-párrafo"
10784 \begin_layout Standard
10785 Una descripción de estilo de párrafo tiene una aspecto como éste:
10789 \begin_layout Plain Layout
10790 Anotar que esto definirá un nuevo diseño o modificará uno existente.
10798 \begin_layout LyX-Code
10805 \begin_layout LyX-Code
10809 \begin_layout LyX-Code
10813 \begin_layout Standard
10814 donde se permiten los comandos siguientes:
10817 \begin_layout Description
10820 \begin_inset Flex Code
10823 \begin_layout Plain Layout
10832 \begin_inset Flex Code
10835 \begin_layout Plain Layout
10843 =""] This paragraph will appear in the table of contents of the given type.
10844 An empty string disables.
10845 See also the OutlinerName and the IsTocCaption commands.
10849 \begin_layout Description
10850 \begin_inset Flex Code
10853 \begin_layout Plain Layout
10860 \begin_inset Flex Code
10863 \begin_layout Plain Layout
10868 , left, right, center
10873 ] Alineación del párrafo.
10876 \begin_layout Description
10877 \begin_inset Flex Code
10880 \begin_layout Plain Layout
10887 \begin_inset Flex Code
10890 \begin_layout Plain Layout
10895 , left, right, center
10900 ] Una lista separada con comas de alineaciones permitidas.
10901 (Algunos estilos de \SpecialChar LaTeX
10902 prohiben ciertos alineamientos, ya que no tendrían
10904 Por ejemplo una alineación a la derecha o al centro de una lista numerada
10908 \begin_layout Description
10909 \begin_inset Flex Code
10912 \begin_layout Plain Layout
10919 \begin_inset Flex Code
10922 \begin_layout Plain Layout
10928 ] Define el número de argumento de un comando o entorno asociado al estilo
10930 Es útil para cosas como encabezados de sección y solo tiene sentido con
10933 Cada argumento (opcional o requerido) de un comando o entorno —excepto
10934 para el argumento requerido que se asocia con el contenido del propio párrafo—
10935 tiene una definición separada, en la que el número especifica el orden
10937 La definición debe finalizar con
10938 \begin_inset Flex Code
10941 \begin_layout Plain Layout
10948 Así, un comando con dos argumentos opcionales tiene:
10952 \begin_layout Quote
10958 \begin_layout Quote
10964 \begin_layout Quote
10970 \begin_layout Quote
10976 \begin_layout Quote
10982 \begin_layout Quote
10988 \begin_layout Standard
10989 En la definición de
10990 \begin_inset Flex Code
10993 \begin_layout Plain Layout
10999 son posibles las siguientes especificaciones:
11002 \begin_layout Itemize
11003 \begin_inset Flex Code
11006 \begin_layout Plain Layout
11013 \begin_inset Flex Code
11016 \begin_layout Plain Layout
11022 Secuencia que aparecerá tanto en el menú (a insertar este argumento) como
11023 en el botón de inserción del argumento (a menos que especifiques también
11025 \begin_inset Flex Code
11028 \begin_layout Plain Layout
11035 Para el menú puedes definir un acelerador agregando el carácter respectivo
11036 a la secuencia, separado con
11037 \begin_inset Quotes cld
11041 \begin_inset Quotes crd
11045 \begin_inset space \thinspace{}
11049 \begin_inset space \space{}
11053 \begin_inset Quotes cld
11057 \begin_inset Flex Code
11060 \begin_layout Plain Layout
11067 \begin_inset Quotes crd
11073 \begin_layout Itemize
11074 \begin_inset Flex Code
11077 \begin_layout Plain Layout
11084 \begin_inset Flex Code
11087 \begin_layout Plain Layout
11093 Secuencia separada para el menú Puedes definir un acelerador agregando
11094 el carácter respectivo a la secuencia, separado con
11095 \begin_inset Quotes cld
11099 \begin_inset Quotes crd
11103 \begin_inset space \thinspace{}
11107 \begin_inset space \space{}
11111 \begin_inset Quotes cld
11115 \begin_inset Flex Code
11118 \begin_layout Plain Layout
11125 \begin_inset Quotes crd
11129 Esta especificación es opcional.
11130 Si no se da se usará
11131 \begin_inset Flex Code
11134 \begin_layout Plain Layout
11143 \begin_layout Itemize
11144 \begin_inset Flex Code
11147 \begin_layout Plain Layout
11154 \begin_inset Flex Code
11157 \begin_layout Plain Layout
11163 Texto explicativo que se muestra en un recuadro sugerencia al planear sobre
11164 el recuadro del argumento.
11167 \begin_layout Itemize
11168 \begin_inset Flex Code
11171 \begin_layout Plain Layout
11178 \begin_inset Flex Code
11181 \begin_layout Plain Layout
11190 \begin_inset space \thinspace{}
11194 \begin_inset Flex Code
11197 \begin_layout Plain Layout
11203 ] Declara si es argumento obligatorio (1) u opcional (0).
11204 Los argumentos obligatorios se emitirán vacíos si no se dan, mientras que
11205 los opcionales no serán emitidos.
11206 Por omisión, los argumentos obligatorios se delimitan con
11207 \begin_inset Flex Code
11210 \begin_layout Plain Layout
11216 y los opcionales con
11217 \begin_inset Flex Code
11220 \begin_layout Plain Layout
11229 \begin_layout Itemize
11230 \begin_inset Flex Code
11233 \begin_layout Plain Layout
11240 \begin_inset Flex Code
11243 \begin_layout Plain Layout
11249 define otro argumento (por su número) que este argumento requiere para
11250 emitirse si él mismo es emitido.
11252 \begin_inset space \thinspace{}
11255 e., en comandos \SpecialChar LaTeX
11256 , los argumentos opcionales requieren a menudo argumentos
11257 opcionales previos para ser emitidos (al menos vacíos), como en
11258 \begin_inset Newline newline
11262 \begin_inset Flex Code
11265 \begin_layout Plain Layout
11268 command[][argument]{text}
11274 Esto se puede conseguir con la declaración
11275 \begin_inset Flex Code
11278 \begin_layout Plain Layout
11285 \begin_inset Flex Code
11288 \begin_layout Plain Layout
11297 \begin_layout Itemize
11298 \begin_inset Flex Code
11301 \begin_layout Plain Layout
11308 \begin_inset Flex Code
11311 \begin_layout Plain Layout
11317 define un delimitador izquierdo personalizado (en vez de
11318 \begin_inset Flex Code
11321 \begin_layout Plain Layout
11328 \begin_inset Flex Code
11331 \begin_layout Plain Layout
11338 Un salto de línea en la salida se puede indicar con
11339 \begin_inset Flex Code
11342 \begin_layout Plain Layout
11351 \begin_layout Itemize
11352 \begin_inset Flex Code
11355 \begin_layout Plain Layout
11362 \begin_inset Flex Code
11365 \begin_layout Plain Layout
11371 define un delimitador derecho personalizado (en vez de
11372 \begin_inset Flex Code
11375 \begin_layout Plain Layout
11382 \begin_inset Flex Code
11385 \begin_layout Plain Layout
11392 Un salto de línea en la salida se puede indicar con
11393 \begin_inset Flex Code
11396 \begin_layout Plain Layout
11405 \begin_layout Itemize
11406 \begin_inset Flex Code
11409 \begin_layout Plain Layout
11416 \begin_inset Flex Code
11419 \begin_layout Plain Layout
11425 define un argumento que se inserta si y solo si no se han dado argumentos
11426 específicos del usuario, o sea, si no se ha insertado ningún recuadro de
11427 argumento (también un recuadro de argumento vacío omite DefaultArg).
11428 Múltiples argumentos deben separarse con comas.
11431 \begin_layout Itemize
11432 \begin_inset Flex Code
11435 \begin_layout Plain Layout
11442 \begin_inset Flex Code
11445 \begin_layout Plain Layout
11451 define un argumento que se inserta en cualquier caso (solo o añadido a
11452 argumentos especificados por el usuario).
11453 Múltiples argumentos deben separarse con comas.
11456 \begin_layout Itemize
11457 \begin_inset Flex Code
11460 \begin_layout Plain Layout
11466 Tipografía usada para el contenido del argumento, véase
11467 \begin_inset CommandInset ref
11469 reference "subsec:Tipografía"
11476 \begin_layout Itemize
11477 \begin_inset Flex Code
11480 \begin_layout Plain Layout
11486 Tipografía usada para la etiqueta, véase
11487 \begin_inset CommandInset ref
11489 reference "subsec:Tipografía"
11496 \begin_layout Itemize
11497 \begin_inset Flex Code
11500 \begin_layout Plain Layout
11507 \begin_inset Flex Code
11510 \begin_layout Plain Layout
11515 , Minimalistic, Conglomerate
11520 ] describe el estilo de representación para los botones y el marco del recuadro
11524 \begin_layout Itemize
11525 \begin_inset Flex Code
11528 \begin_layout Plain Layout
11535 \begin_inset Flex Code
11538 \begin_layout Plain Layout
11545 \begin_inset Flex Code
11548 \begin_layout Plain Layout
11554 , este argumento se inserta automáticamente cuando se selecciona el estilo
11556 Actualmente solo se puede insertar automaticamente un argumento por estilo\SpecialChar breakableslash
11561 \begin_layout Itemize
11562 \begin_inset Flex Code
11565 \begin_layout Plain Layout
11572 \begin_inset Flex Code
11575 \begin_layout Plain Layout
11582 \begin_inset Flex Code
11585 \begin_layout Plain Layout
11591 , este argumento se insertará con una copia del co-texto (texto seleccionado
11592 o párrafo completo) como contenido.
11595 \begin_layout Itemize
11598 \begin_inset Flex Code
11601 \begin_layout Plain Layout
11610 \begin_inset Flex Code
11613 \begin_layout Plain Layout
11624 ] Whether the contents of this argument should be output in raw form, meaning
11625 without special translations that \SpecialChar LaTeX
11628 \begin_inset Flex Code
11631 \begin_layout Plain Layout
11639 status is inherited by the inset or paragraph layout the argument belongs
11640 to, true and false change the status for the given argument only.
11643 \begin_layout Itemize
11644 \begin_inset Flex Code
11647 \begin_layout Plain Layout
11654 \begin_inset Flex Code
11657 \begin_layout Plain Layout
11658 string of characters
11667 Define caracteres individuales que deberían emitirse en bruto, es decir,
11668 sin traducciones especiales que podría requerir \SpecialChar LaTeX
11670 Al contrario que PassThru, esto debe ser explícitamente definido para argumento
11672 Esto es, los argumentos no heredan PassThruChars de su recuadro de inserción
11676 \begin_layout Itemize
11679 \begin_inset Flex Code
11682 \begin_layout Plain Layout
11691 \begin_inset Flex Code
11694 \begin_layout Plain Layout
11704 \begin_inset space \thinspace{}
11708 \begin_inset Flex Code
11711 \begin_layout Plain Layout
11719 ] If this is set to 1, the argument will output its content in the corresponding
11720 item in the table of contents.
11724 \begin_layout Standard
11725 Por omisión, el texto introducido en el área de trabajo de \SpecialChar LyX
11727 respectivo de formato es el último argumento (obligatorio) de un comando
11729 \begin_inset Flex Code
11732 \begin_layout Plain Layout
11739 \begin_inset Flex Code
11742 \begin_layout Plain Layout
11749 Sin embargo, los argumentos con el prefijo
11750 \begin_inset Flex Code
11753 \begin_layout Plain Layout
11759 se emiten después de este argumento de área de trabajo.
11760 La numeración de este post-argumento reinicia a 1, así que el primer argumento
11761 siguiente al del área de trabajo es
11762 \begin_inset Flex Code
11765 \begin_layout Plain Layout
11772 Los post-argumentos se ignoran en cualquier otro
11773 \begin_inset Flex Code
11776 \begin_layout Plain Layout
11783 \begin_inset Flex Code
11786 \begin_layout Plain Layout
11795 \begin_layout Standard
11796 Los argumentos para
11797 \begin_inset Flex Code
11800 \begin_layout Plain Layout
11808 s de lista (como en
11809 \begin_inset Flex Code
11812 \begin_layout Plain Layout
11820 ) tienen el prefijo
11821 \begin_inset Flex Code
11824 \begin_layout Plain Layout
11830 seguido por el número (p.
11831 \begin_inset space \thinspace{}
11835 \begin_inset space \space{}
11839 \begin_inset Flex Code
11842 \begin_layout Plain Layout
11852 \begin_layout Description
11855 \begin_inset Flex Code
11858 \begin_layout Plain Layout
11866 Includes a comma-separated list of layouts that should be nested in and
11867 after the current layout.
11868 Only makes sense for nestable layouts (such as environments).
11870 \begin_inset Quotes eld
11874 \begin_inset Flex Code
11877 \begin_layout Plain Layout
11886 \begin_inset Quotes erd
11891 \begin_inset Flex Code
11894 \begin_layout Plain Layout
11905 \begin_layout Description
11906 \begin_inset Flex Code
11909 \begin_layout Plain Layout
11915 Esto sobrescribirá completamente cualquier anterior declaración
11916 \begin_inset Newline newline
11920 \begin_inset Flex Code
11923 \begin_layout Plain Layout
11931 \begin_inset Quotes eld
11935 \begin_inset Flex Code
11938 \begin_layout Plain Layout
11945 \begin_inset Quotes erd
11950 \begin_inset space ~
11954 \begin_inset CommandInset ref
11956 reference "subsec:I18n"
11960 para detalles sobre su uso.
11963 \begin_layout Description
11964 \begin_inset Flex Code
11967 \begin_layout Plain Layout
11974 \begin_inset Flex Code
11977 \begin_layout Plain Layout
11987 \begin_layout Plain Layout
11988 Anotar que aquí un 'float' es un número real, como: 1.5.
11993 El espacio vertical con el que el último de una cadena de párrafos con
11994 este estilo se separa del siguiente párrafo.
11995 Si el párrafo siguiente tiene otro estilo, las separaciones no son simplemente
11996 añadidas sino que se pone la máxima.
11999 \begin_layout Description
12000 \begin_inset Flex Code
12003 \begin_layout Plain Layout
12010 \begin_inset Flex Code
12013 \begin_layout Plain Layout
12019 La categoría para este estilo.
12020 Se usa para agrupar estilos relacionados en el recuadro de estilo en la
12021 barra de herramientas.
12022 Se puede poner cualquier cadena en 'string' pero mejor usar categorías
12023 existentes con tus propios estilos.
12026 \begin_layout Description
12027 \begin_inset Flex Code
12030 \begin_layout Plain Layout
12036 Profundidad del comando XML.
12037 Usado solo con formatos tipo XML.
12040 \begin_layout Description
12041 \begin_inset Flex Code
12044 \begin_layout Plain Layout
12051 \begin_inset Flex Code
12054 \begin_layout Plain Layout
12060 Copia todas las características de un estilo existente en el actual.
12064 \begin_layout Description
12065 \begin_inset Flex Code
12068 \begin_layout Plain Layout
12075 \begin_inset Flex Code
12078 \begin_layout Plain Layout
12084 ] El nombre de un estilo cuyo preámbulo debería salir
12089 Esto permite asegurar un orden de los retazos de preámbulo si las definiciones
12090 de macros dependen de otra.
12094 \begin_layout Plain Layout
12095 Anotar que, excepto esta funcionalidad, no hay forma de asegurar ningún
12096 orden de los preámbulos.
12097 El orden que se ve en una versión dada de \SpecialChar LyX
12098 puede cambiar sin previo aviso
12099 en versiones posteriores.
12107 \begin_layout Description
12108 \begin_inset Flex Code
12111 \begin_layout Plain Layout
12118 \begin_inset Flex Code
12121 \begin_layout Plain Layout
12126 , Box, Filled_Box, Static
12131 ] El tipo de etiqueta que se pone al final del párrafo (o secuencia de párrafos
12133 \begin_inset Flex Code
12136 \begin_layout Plain Layout
12143 \begin_inset Flex Code
12146 \begin_layout Plain Layout
12153 \begin_inset Flex Code
12156 \begin_layout Plain Layout
12163 \begin_inset Flex Code
12166 \begin_layout Plain Layout
12174 \begin_inset Flex Code
12177 \begin_layout Plain Layout
12184 \begin_inset Quotes cld
12188 \begin_inset Quotes crd
12192 \begin_inset Flex Code
12195 \begin_layout Plain Layout
12202 \begin_inset Flex Code
12205 \begin_layout Plain Layout
12206 \begin_inset space ~
12214 ) es un cuadrado blanco (resp.
12215 \begin_inset space ~
12218 negro) adecuado para marcas finales de demostraciones,
12219 \begin_inset Flex Code
12222 \begin_layout Plain Layout
12228 es una cadena de texto explícito.
12231 \begin_layout Description
12232 \begin_inset Flex Code
12235 \begin_layout Plain Layout
12242 \begin_inset Flex Code
12245 \begin_layout Plain Layout
12251 ] La secuencia usada para una etiqueta con un
12252 \begin_inset Flex Code
12255 \begin_layout Plain Layout
12262 \begin_inset Flex Code
12265 \begin_layout Plain Layout
12275 \begin_layout Description
12279 \begin_layout Plain Layout
12284 No estoy seguro de que estas configuraciones (Fill_Bottom, Fill_Top) tengan
12285 mucho uso, y probablemente se quitarán en próximas versiones.
12291 \begin_inset Note Note
12294 \begin_layout Plain Layout
12296 \begin_inset Quotes cld
12299 Espacio vertical encima
12300 \begin_inset Quotes crd
12304 \begin_inset Quotes cld
12307 Espacio vertical abajo
12308 \begin_inset Quotes erd
12311 en Editar\SpecialChar menuseparator
12312 Configuración de párrafo, esto parece obsoleto, como dice Jean-Marc
12323 \begin_layout Description
12324 \begin_inset Flex Code
12327 \begin_layout Plain Layout
12333 La tipografía usada para el cuerpo del texto
12339 \begin_inset space ~
12343 \begin_inset CommandInset ref
12345 reference "subsec:Tipografía"
12350 Anotar que al definir esta tipografía se define automáticamente la de la
12352 \begin_inset Flex Code
12355 \begin_layout Plain Layout
12362 Así que debería definirse primero ésta si se quiere definir también
12363 \begin_inset Flex Code
12366 \begin_layout Plain Layout
12375 \begin_layout Description
12376 \begin_inset Flex Code
12379 \begin_layout Plain Layout
12386 \begin_inset Flex Code
12389 \begin_layout Plain Layout
12395 ] Se usa para compatibilizar estilos nuevos a versiones estables de \SpecialChar LyX
12397 La primera versión estable que soporta esta etiqueta es \SpecialChar LyX
12399 El argumento es un número 0, -1 o cualquier valor mayor de cero.
12401 \begin_inset Flex Code
12404 \begin_layout Plain Layout
12410 de un estilo es mayor que cero, se escribirá siempre en la cabecera del
12412 Si un archivo .lyx es leido, las definiciones de estilo de la cabecera del
12413 documento se añaden a la clase de documento.
12414 Por eso, incluso versiones anteriores de \SpecialChar LyX
12415 pueden manejar el estilo.
12417 \begin_inset Flex Code
12420 \begin_layout Plain Layout
12426 es un número de versión: si el estilo es leido, y el número de versión
12427 es menor que el número de versión del estilo existente en la clase de documento
12428 , el nuevo se ignora.
12429 Si el número de versión es mayor, el estilo nuevo reemplaza al existente.
12430 -1 significa un número de versión infinito, o sea, el estilo se usa siempre.
12433 \begin_layout Description
12434 \begin_inset Flex Code
12437 \begin_layout Plain Layout
12446 \begin_inset Flex Code
12449 \begin_layout Plain Layout
12458 \begin_inset space \thinspace{}
12462 \begin_inset Flex Code
12465 \begin_layout Plain Layout
12471 ] Usualmente \SpecialChar LyX
12472 no permite insertar más de un espacio entre palabras, puesto
12473 que un espacio se considera como la separación entre dos palabras, no un
12474 carácter o símbolo por sí mismo.
12475 Esto es una buena cosa pero a veces puede ser molesta, por ejemplo, para
12476 escribir código de programas o de \SpecialChar LaTeX
12478 Por esta razón se puede habilitar
12479 \begin_inset Flex Code
12482 \begin_layout Plain Layout
12489 Anotar que \SpecialChar LyX
12490 creará espacios protegidos para los espacios adicionales en
12491 modos que no sean \SpecialChar LaTeX
12496 \begin_layout Description
12497 \begin_inset Flex Code
12500 \begin_layout Plain Layout
12506 Para la salida XHTML.
12508 \begin_inset CommandInset ref
12510 reference "subsec:Estilos-de-párrafo-XHTML"
12517 \begin_layout Description
12518 \begin_inset Flex Code
12521 \begin_layout Plain Layout
12527 [[FIXME]] (Usado solo con formatos tipo XML.)
12530 \begin_layout Description
12531 \begin_inset Flex Code
12534 \begin_layout Plain Layout
12543 \begin_inset Flex Code
12546 \begin_layout Plain Layout
12557 \begin_inset space \thinspace{}
12561 \begin_inset Flex Code
12564 \begin_layout Plain Layout
12571 \begin_inset Flex Code
12574 \begin_layout Plain Layout
12580 , marca el estilo para ser incluido en el preámbulo del documento en lugar
12581 de en el cuerpo del documento.
12582 Útil para clases de documento que piden informaciones tales como título
12583 y autor en el preámbulo.
12584 Esto solo funciona para estilos para los que
12585 \begin_inset Flex Code
12588 \begin_layout Plain Layout
12595 \begin_inset Flex Code
12598 \begin_layout Plain Layout
12605 \begin_inset Flex Code
12608 \begin_layout Plain Layout
12617 \begin_layout Description
12618 \begin_inset Flex Code
12621 \begin_layout Plain Layout
12630 \begin_inset Flex Code
12633 \begin_layout Plain Layout
12644 \begin_inset space \thinspace{}
12648 \begin_inset Flex Code
12651 \begin_layout Plain Layout
12658 \begin_inset Flex Code
12661 \begin_layout Plain Layout
12667 , marca el estilo como parte de un bloque de título (véanse también las
12669 \begin_inset Flex Code
12672 \begin_layout Plain Layout
12679 \begin_inset Flex Code
12682 \begin_layout Plain Layout
12691 \begin_layout Description
12694 \begin_inset Flex Code
12697 \begin_layout Plain Layout
12705 Includes a comma-separated list of layouts after which this one should
12707 Only makes sense with regard to nestable layouts (such as environments).
12709 \begin_inset Quotes eld
12713 \begin_inset Flex Code
12716 \begin_layout Plain Layout
12725 \begin_inset Quotes erd
12730 \begin_inset Flex Code
12733 \begin_layout Plain Layout
12744 \begin_layout Description
12747 \begin_inset Flex Code
12750 \begin_layout Plain Layout
12759 \begin_inset Flex Code
12762 \begin_layout Plain Layout
12772 \begin_inset space \thinspace{}
12776 \begin_inset Flex Code
12779 \begin_layout Plain Layout
12787 ] If this is set to 1 and AddToToc is enabled, the paragraph adds a summary
12788 of its contents in its item in the table of contents.
12789 Otherwise, only the label, if it exists, appears.
12792 \begin_layout Description
12793 \begin_inset Flex Code
12796 \begin_layout Plain Layout
12803 \begin_inset Flex Code
12806 \begin_layout Plain Layout
12812 ] La secuencia de comando \SpecialChar LaTeX
12813 que declara un ítem en una lista.
12814 El comando es para ser definido sin la barra invertida (por omisión es
12816 \begin_inset Quotes eld
12820 \begin_inset Quotes erd
12824 \begin_inset Flex Code
12827 \begin_layout Plain Layout
12835 en la salida \SpecialChar LaTeX
12839 \begin_layout Description
12840 \begin_inset Flex Code
12843 \begin_layout Plain Layout
12850 \begin_inset Flex Code
12853 \begin_layout Plain Layout
12859 ] Esto proporciona espacio extra entre párrafos que tienen el mismo formato.
12860 Si se ponen otros formatos en un entorno, cada uno es separado con el comando
12862 \begin_inset Flex Code
12865 \begin_layout Plain Layout
12872 Pero el conjunto de los ítems del entorno son separados adicionalmente
12874 \begin_inset Flex Code
12877 \begin_layout Plain Layout
12884 Anotar que esto es un
12889 \begin_layout Description
12890 \begin_inset Flex Code
12893 \begin_layout Plain Layout
12899 [[FIXME]] (Usado solo con formatos tipo XML.)
12902 \begin_layout Description
12903 \begin_inset Flex Code
12906 \begin_layout Plain Layout
12915 \begin_inset Flex Code
12918 \begin_layout Plain Layout
12929 \begin_inset space \thinspace{}
12933 \begin_inset Flex Code
12936 \begin_layout Plain Layout
12942 ] Habitualmente, \SpecialChar LyX
12943 no permite dejar un párrafo vacío, porque llevaría a una
12944 salida de \SpecialChar LaTeX
12946 Sin embargo, hay algunos casos donde podría ser útil: en una plantilla
12947 de carta, los campos requeridos pueden proporcionarse vacíos, así el usuario
12948 no los olvida; en algunos casos especiales, se puede usar un estilo que
12949 no contiene texto real como una especie de salto.
12952 \begin_layout Description
12953 \begin_inset Flex Code
12956 \begin_layout Plain Layout
12963 \begin_inset Flex Code
12966 \begin_layout Plain Layout
12972 ] El espacio vertical entre la etiqueta y el cuerpo del texto.
12973 Solo se usa para etiquetas que están sobre el cuerpo del texto (
12974 \begin_inset Flex Code
12977 \begin_layout Plain Layout
12984 \begin_inset Flex Code
12987 \begin_layout Plain Layout
12988 Centered_Top_Environment
12996 \begin_layout Description
12997 \begin_inset Flex Code
13000 \begin_layout Plain Layout
13007 \begin_inset Flex Code
13010 \begin_layout Plain Layout
13016 ] El nombre del contador para numeración automática.
13017 Con el fin de que el contador aparezca con su etiqueta, deberás referenciarla
13019 \begin_inset Flex Code
13022 \begin_layout Plain Layout
13029 Esto funcionará con
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 Flex Code
13063 \begin_layout Plain Layout
13070 \begin_inset Newline newline
13078 \begin_inset Flex Code
13081 \begin_layout Plain Layout
13088 \begin_inset Flex Code
13091 \begin_layout Plain Layout
13097 , aunque este caso es un poco complicado.
13098 Supongamos que declaras
13099 \begin_inset Quotes eld
13103 \begin_inset Flex Code
13106 \begin_layout Plain Layout
13107 LabelCounter myenum
13113 \begin_inset Quotes erd
13117 Entonces, los contadores reales usados son
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
13148 \begin_inset Flex Code
13151 \begin_layout Plain Layout
13157 , como en \SpecialChar LaTeX
13159 Estos contadores deben declararse todos por separado.
13160 \begin_inset Newline newline
13164 \begin_inset CommandInset ref
13166 reference "subsec:Contadores"
13170 para detalles sobre contadores
13173 \begin_layout Description
13174 \begin_inset Flex Code
13177 \begin_layout Plain Layout
13183 La tipografía usada para la etiqueta.
13185 \begin_inset space ~
13189 \begin_inset CommandInset ref
13191 reference "subsec:Tipografía"
13198 \begin_layout Description
13199 \begin_inset Flex Code
13202 \begin_layout Plain Layout
13209 \begin_inset Flex Code
13212 \begin_layout Plain Layout
13218 ] Texto que indica cuánto se debe sangrar una etiqueta.
13221 \begin_layout Description
13222 \begin_inset Flex Code
13225 \begin_layout Plain Layout
13232 \begin_inset Flex Code
13235 \begin_layout Plain Layout
13241 ] Texto que indica el valor de espacio horizontal entre la etiqueta y el
13243 Solo se usa para etiquetas que no están sobre el cuerpo del texto.
13246 \begin_layout Description
13247 \begin_inset Flex Code
13250 \begin_layout Plain Layout
13257 \begin_inset Flex Code
13260 \begin_layout Plain Layout
13266 ] La cadena usada para una etiqueta del
13267 \begin_inset Flex Code
13270 \begin_layout Plain Layout
13277 \begin_inset Flex Code
13280 \begin_layout Plain Layout
13288 \begin_inset Flex Code
13291 \begin_layout Plain Layout
13297 está establecido, esta cadena puede contener los comandos especiales de
13298 formato descritos en la sección
13299 \begin_inset space ~
13303 \begin_inset CommandInset ref
13305 reference "subsec:Contadores"
13312 \begin_layout Description
13313 \begin_inset Flex Code
13316 \begin_layout Plain Layout
13317 LabelStringAppendix
13323 \begin_inset Flex Code
13326 \begin_layout Plain Layout
13332 ] Esta se usa en el apéndice en vez de
13333 \begin_inset Flex Code
13336 \begin_layout Plain Layout
13343 Anotar que toda declaración de
13344 \begin_inset Flex Code
13347 \begin_layout Plain Layout
13353 reconfigura también
13354 \begin_inset Newline newline
13358 \begin_inset Flex Code
13361 \begin_layout Plain Layout
13362 LabelStringAppendix
13370 \begin_layout Description
13371 \begin_inset Flex Code
13374 \begin_layout Plain Layout
13380 [FIXME] (Usado solo con formatos tipo XML.)
13383 \begin_layout Description
13384 \begin_inset Flex Code
13387 \begin_layout Plain Layout
13394 \begin_inset Flex Code
13397 \begin_layout Plain Layout
13402 , Manual, Static, Above,
13403 \begin_inset Newline newline
13406 Centered, Sensitive, Enumerate,
13407 \begin_inset Newline newline
13410 Itemize, Bibliography
13419 \begin_layout Description
13420 \begin_inset Flex Code
13423 \begin_layout Plain Layout
13429 significa que la etiqueta es la primera palabra (hasta elprimer espacio
13431 Usa espacios protegidos si quieres más de una palabra como etiqueta.
13435 \begin_layout Description
13436 \begin_inset Flex Code
13439 \begin_layout Plain Layout
13445 significa que la etiqueta es simplemente cualquier
13446 \begin_inset Flex Code
13449 \begin_layout Plain Layout
13455 declarado como tal.
13457 \begin_inset Quotes cld
13461 \begin_inset Quotes crd
13464 al comienzo del párrafo.
13466 \begin_inset Flex Code
13469 \begin_layout Plain Layout
13476 \begin_inset Flex Code
13479 \begin_layout Plain Layout
13485 , entonces se mostrará solo en el primer párrafo de cualquier secuencia
13486 de párrafos con el mismo
13487 \begin_inset Flex Code
13490 \begin_layout Plain Layout
13499 \begin_layout Description
13500 \begin_inset Flex Code
13503 \begin_layout Plain Layout
13510 \begin_inset space ~
13514 \begin_inset space ~
13518 \begin_inset Flex Code
13521 \begin_layout Plain Layout
13527 son casos especiales de
13528 \begin_inset Flex Code
13531 \begin_layout Plain Layout
13538 La etiqueta se imprimirá encima del párrafo, o al inicio de línea o centrado.
13542 \begin_layout Description
13543 \begin_inset Flex Code
13546 \begin_layout Plain Layout
13552 es un caso especial para las etiquetas de las leyendas de
13553 \begin_inset Quotes cld
13557 \begin_inset Quotes crd
13561 \begin_inset Quotes cld
13565 \begin_inset Quotes crd
13570 \begin_inset Flex Code
13573 \begin_layout Plain Layout
13579 quiere decir que la cadena (en código) de la etiqueta depende de la clase
13580 de flotante: Está codificado para ser `FloatType N', donde N es el valor
13581 del contador asociado al flotante.
13582 En el caso en que la leyenda se inserte adosada a un flotante
13583 \begin_inset Flex Code
13586 \begin_layout Plain Layout
13593 \begin_inset Quotes cld
13597 \begin_inset Quotes crd
13603 \begin_layout Description
13604 \begin_inset Flex Code
13607 \begin_layout Plain Layout
13613 produce los tipos habituales de etiquetas de enumeración.
13616 The number type needs to be set in the
13622 \begin_inset CommandInset ref
13624 reference "subsec:Contadores"
13631 \begin_layout Description
13632 \begin_inset Flex Code
13635 \begin_layout Plain Layout
13641 produce varias marcas para los distintos niveles.
13644 The bullet types displayed can be set via
13647 \begin_inset Flex Noun
13650 \begin_layout Plain Layout
13651 Documento\SpecialChar menuseparator
13652 Configuratción\SpecialChar menuseparator
13661 \begin_layout Description
13662 \begin_inset Flex Code
13665 \begin_layout Plain Layout
13671 solo debería emplearse con
13672 \begin_inset Flex Code
13675 \begin_layout Plain Layout
13676 LatexType BibEnvironment
13685 \begin_layout Description
13686 \begin_inset Flex Code
13689 \begin_layout Plain Layout
13695 Esto sobrescribirá completamente cualquier declaración anterior de
13696 \begin_inset Flex Code
13699 \begin_layout Plain Layout
13707 \begin_inset Quotes eld
13711 \begin_inset Flex Code
13714 \begin_layout Plain Layout
13721 \begin_inset Quotes erd
13726 \begin_inset CommandInset ref
13728 reference "subsec:I18n"
13732 para detallessobre su uso.
13735 \begin_layout Description
13736 \begin_inset Flex Code
13739 \begin_layout Plain Layout
13746 \begin_inset Flex Code
13749 \begin_layout Plain Layout
13755 ] El nombre correspondiente en \SpecialChar LaTeX
13756 , ya sea de un comando o de un entorno.
13759 \begin_layout Description
13760 \begin_inset Flex Code
13763 \begin_layout Plain Layout
13770 \begin_inset Flex Code
13773 \begin_layout Plain Layout
13779 ] Un parámetro opcional para el correspondiente
13780 \begin_inset Flex Code
13783 \begin_layout Plain Layout
13790 Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
13792 \begin_inset Flex Code
13795 \begin_layout Plain Layout
13801 para parámetros personalizables).
13802 Se emitirá como tal tras todos los
13803 \begin_inset Flex Code
13806 \begin_layout Plain Layout
13816 \begin_layout Description
13817 \begin_inset Flex Code
13820 \begin_layout Plain Layout
13827 \begin_inset Flex Code
13830 \begin_layout Plain Layout
13835 , Command, Environment, Item_Environment,
13836 \begin_inset Newline newline
13839 List_Environment, Bib_Environment
13844 ] Cómo debería traducirse el estilo a \SpecialChar LaTeX
13849 \begin_layout Plain Layout
13850 \begin_inset Flex Code
13853 \begin_layout Plain Layout
13859 es un poco engañoso porque estas reglas se aplican también a clases SGML.
13860 Consulta los archivos de clases SGML (archivos de nombre
13861 \begin_inset Flex Code
13864 \begin_layout Plain Layout
13870 ) para ejemplos concretos.
13879 \begin_layout Description
13880 \begin_inset Flex Code
13883 \begin_layout Plain Layout
13889 no significa nada especial.
13892 \begin_layout Description
13893 \begin_inset Flex Code
13896 \begin_layout Plain Layout
13903 \begin_inset Flex Code
13906 \begin_layout Plain Layout
13913 {\SpecialChar ldots
13922 \begin_layout Description
13923 \begin_inset Flex Code
13926 \begin_layout Plain Layout
13933 \begin_inset Flex Code
13936 \begin_layout Plain Layout
13943 }\SpecialChar ldots
13958 \begin_layout Description
13959 \begin_inset Flex Code
13962 \begin_layout Plain Layout
13969 \begin_inset Flex Code
13972 \begin_layout Plain Layout
13979 \begin_inset Flex Code
13982 \begin_layout Plain Layout
13990 se genera para cada párrafo de este entorno.
13993 \begin_layout Description
13994 \begin_inset Flex Code
13997 \begin_layout Plain Layout
14004 \begin_inset Flex Code
14007 \begin_layout Plain Layout
14014 \begin_inset Newline newline
14018 \begin_inset Flex Code
14021 \begin_layout Plain Layout
14027 se pasa como un argumento al entorno.
14028 \begin_inset Newline newline
14032 \begin_inset Flex Code
14035 \begin_layout Plain Layout
14041 puede definirse en el diálogo
14042 \begin_inset Flex Noun
14045 \begin_layout Plain Layout
14046 Editar\SpecialChar menuseparator
14047 Configuración de párrafos
14055 \begin_layout Description
14056 \begin_inset Flex Code
14059 \begin_layout Plain Layout
14066 \begin_inset Flex Code
14069 \begin_layout Plain Layout
14075 pero añade además el argumento obligatorio necesario (la etiqueta más larga)
14080 del entorno bibliografía:
14081 \begin_inset Newline newline
14085 \begin_inset Flex Code
14088 \begin_layout Plain Layout
14091 begin{thebibliography}{99}
14096 Por tanto solo es útil para entornos de bibliografía.
14097 La etiqueta más larga predeterminada
14098 \begin_inset Quotes cld
14102 \begin_inset Quotes crd
14105 puede cambiarla el usuario en la configuración de párrafo de un ítem bibliográf
14109 \begin_layout Standard
14110 Poniendo juntas las últimas cosas, la salida \SpecialChar LaTeX
14114 \begin_layout LyX-Code
14117 LatexName[LatexParam]{\SpecialChar ldots
14121 \begin_layout Standard
14125 \begin_layout LyX-Code
14128 begin{LatexName}[LatexParam] \SpecialChar ldots
14134 \begin_layout Standard
14135 dependiendo del tipo de \SpecialChar LaTeX
14140 \begin_layout Description
14141 \begin_inset Flex Code
14144 \begin_layout Plain Layout
14151 \begin_inset Flex Code
14154 \begin_layout Plain Layout
14160 ] Secuencia que se pone al inicio del contenido del estilo.
14161 Un salto de línea en la salida puede indicarse con
14162 \begin_inset Flex Code
14165 \begin_layout Plain Layout
14174 \begin_layout Description
14175 \begin_inset Flex Code
14178 \begin_layout Plain Layout
14185 \begin_inset Flex Code
14188 \begin_layout Plain Layout
14194 ] Si pones estilos en entornos, los
14195 \begin_inset Flex Code
14198 \begin_layout Plain Layout
14204 no son simplemente añadidos, sino aumentados en un factor
14205 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
14209 Anotar que este parámetro se usa también cuando
14210 \begin_inset Flex Code
14213 \begin_layout Plain Layout
14220 \begin_inset Flex Code
14223 \begin_layout Plain Layout
14230 \begin_inset Flex Code
14233 \begin_layout Plain Layout
14240 En ese caso se añade al margen manual o dinámico.
14241 \begin_inset Newline newline
14245 \begin_inset Quotes cld
14249 \begin_inset Flex Code
14252 \begin_layout Plain Layout
14259 \begin_inset Quotes crd
14262 significa que el párrafo se sangra con la anchura de
14263 \begin_inset Quotes cld
14267 \begin_inset Flex Code
14270 \begin_layout Plain Layout
14277 \begin_inset Quotes crd
14280 en la tipografía normal.
14281 Se puede obtener una anchura negativa anteponiendo
14282 \begin_inset Quotes cld
14286 \begin_inset Flex Code
14289 \begin_layout Plain Layout
14296 \begin_inset Quotes crd
14300 Se eligió este método para que el aspecto sea el mismo con cada una de
14301 las tipografías de pantalla usadas.
14304 \begin_layout Description
14305 \begin_inset Flex Code
14308 \begin_layout Plain Layout
14315 \begin_inset Flex Code
14318 \begin_layout Plain Layout
14323 , Manual, Dynamic, First_Dynamic, Right_Address_Box
14329 \begin_inset Newline newline
14332 El tipo de margen que el estilo tiene en el lado izquierdo.
14336 \begin_layout Description
14337 \begin_inset Flex Code
14340 \begin_layout Plain Layout
14346 significa un margen fijo.
14349 \begin_layout Description
14350 \begin_inset Flex Code
14353 \begin_layout Plain Layout
14359 significa que el margen izquierdo depende de la cadena introducida en el
14361 \begin_inset Flex Noun
14364 \begin_layout Plain Layout
14365 Editar\SpecialChar menuseparator
14366 Configuración del párrafo\SpecialChar ldots
14373 Esto se utiliza para componer bonitas listas sin tabuladores.
14376 \begin_layout Description
14377 \begin_inset Flex Code
14380 \begin_layout Plain Layout
14386 significa que el margen depende del tamaño de la etiqueta.
14387 Esto se usa para las cabeceras automáticas de las listas numeradas.
14388 Es obvio que la cabecera
14389 \begin_inset Quotes cld
14392 5.4.3.2.1 Cabecera muy larga
14393 \begin_inset Quotes crd
14396 debe tener un margen izquierdo más amplio (tan ancho como
14397 \begin_inset Quotes cld
14401 \begin_inset Quotes crd
14404 más el espacio) que
14405 \begin_inset Quotes cld
14408 3.2 Cabecera muy larga
14409 \begin_inset Quotes crd
14413 \begin_inset Quotes cld
14416 procesadores de texto
14417 \begin_inset Quotes crd
14420 corrientes no sean capaces de hacer esto.
14423 \begin_layout Description
14424 \begin_inset Flex Code
14427 \begin_layout Plain Layout
14433 es similar, pero solo la primera fila del párrafo es dinámica, mientras
14434 que las demás son estáticas; esto se emplea, por ejemplo, para descripciones.
14437 \begin_layout Description
14438 \begin_inset Flex Code
14441 \begin_layout Plain Layout
14447 significa que el margen se elige de manera que la fila más larga de este
14448 párrafo se adapte al margen derecho.
14449 Esto se emplea para componer una dirección en el lado derecho de la página.
14454 \begin_layout Description
14455 \begin_inset Flex Code
14458 \begin_layout Plain Layout
14465 \begin_inset Flex Code
14468 \begin_layout Plain Layout
14477 \begin_inset space \thinspace{}
14481 \begin_inset Flex Code
14484 \begin_layout Plain Layout
14490 ] Si los comandos frágiles en este estilo deberían ser protegidos,
14491 \begin_inset Flex Code
14494 \begin_layout Plain Layout
14507 si este comando debería él mismo ser protegido.)
14510 \begin_layout Description
14511 \begin_inset Flex Code
14514 \begin_layout Plain Layout
14521 \begin_inset Flex Code
14524 \begin_layout Plain Layout
14531 \begin_inset space \thinspace{}
14535 \begin_inset Flex Code
14538 \begin_layout Plain Layout
14546 ] Si las líneas nuevas se transforman en líneas nuevas \SpecialChar LaTeX
14548 \begin_inset Flex Code
14551 \begin_layout Plain Layout
14562 La transformación puede desactivarse para permitir una edición más confortable
14563 de \SpecialChar LaTeX
14564 en \SpecialChar LyX
14568 \begin_layout Description
14569 \begin_inset Flex Code
14572 \begin_layout Plain Layout
14579 \begin_inset Flex Code
14582 \begin_layout Plain Layout
14591 \begin_inset space \thinspace{}
14595 \begin_inset Flex Code
14598 \begin_layout Plain Layout
14604 ] Si se permite sangrar la primera fila del párrafo siguiente.
14606 \begin_inset Flex Code
14609 \begin_layout Plain Layout
14615 significa que no se permite hacerlo;
14616 \begin_inset Flex Code
14619 \begin_layout Plain Layout
14625 significa que puede hacerse si se desea.
14628 \begin_layout Description
14629 \begin_inset Flex Code
14632 \begin_layout Plain Layout
14639 \begin_inset Flex Code
14642 \begin_layout Plain Layout
14648 ] Nombre de un estilo que ha reemplazado este estilo.
14649 Esto se emplea para renombrar un estilo, mientras que se mantiene compatibilida
14653 \begin_layout Description
14654 \begin_inset Flex Code
14657 \begin_layout Plain Layout
14664 \begin_inset Flex Code
14667 \begin_layout Plain Layout
14674 \begin_inset space \thinspace{}
14678 \begin_inset Flex Code
14681 \begin_layout Plain Layout
14687 ] Determina si párrafos consecutivos del mismo tipo se tratan como si fueran
14689 Esto tiene el efecto de que
14690 \begin_inset Flex Code
14693 \begin_layout Plain Layout
14699 solo se imprime una vez delante de tal grupo.
14700 Por omisión, esto es así para
14701 \begin_inset Flex Code
14704 \begin_layout Plain Layout
14711 \begin_inset Flex Code
14714 \begin_layout Plain Layout
14721 \begin_inset Flex Code
14724 \begin_layout Plain Layout
14730 y no lo es para los demás tipos.
14733 \begin_layout Description
14734 \begin_inset Flex Code
14737 \begin_layout Plain Layout
14744 \begin_inset Flex Code
14747 \begin_layout Plain Layout
14756 \begin_inset space \thinspace{}
14760 \begin_inset Flex Code
14763 \begin_layout Plain Layout
14769 ] Indica que los párrafos no serán separados por una línea vacía en la salida
14771 , solo por un salto de línea; junto con
14772 \begin_inset Flex Code
14775 \begin_layout Plain Layout
14781 , esto permite emular un editor de texto simple (como un recuadro ERT).
14784 \begin_layout Description
14785 \begin_inset Flex Code
14788 \begin_layout Plain Layout
14795 \begin_inset Flex Code
14798 \begin_layout Plain Layout
14804 ] El sangrado de la primera línea de un párrafo.
14806 \begin_inset Flex Code
14809 \begin_layout Plain Layout
14815 estará fijado para un determinado estilo.
14816 La excepción es el estilo
14817 \begin_inset Flex Code
14820 \begin_layout Plain Layout
14826 , puesto que la sangría de un párrafo de estilo
14827 \begin_inset Flex Code
14830 \begin_layout Plain Layout
14836 puede prohibirse con
14837 \begin_inset Flex Code
14840 \begin_layout Plain Layout
14847 Además, los párrafos de estilo
14848 \begin_inset Flex Code
14851 \begin_layout Plain Layout
14857 dentro de entornos usan la sangría
14858 \begin_inset Flex Code
14861 \begin_layout Plain Layout
14867 del entorno, no su propio valor.
14868 Por ejemplo, los párrafos
14869 \begin_inset Flex Code
14872 \begin_layout Plain Layout
14878 en una enumeración no se sangran.
14881 \begin_layout Description
14882 \begin_inset Flex Code
14885 \begin_layout Plain Layout
14892 \begin_inset Flex Code
14895 \begin_layout Plain Layout
14901 ] El espacio vertical entre dos párrafos de este estilo.
14904 \begin_layout Description
14905 \begin_inset Flex Code
14908 \begin_layout Plain Layout
14915 \begin_inset Flex Code
14918 \begin_layout Plain Layout
14925 permite al usuario elegir entre
14926 \begin_inset Quotes cld
14930 \begin_inset Quotes crd
14934 \begin_inset Quotes cld
14938 \begin_inset Quotes crd
14941 para separar párrafos.
14943 \begin_inset Quotes cld
14947 \begin_inset Quotes crd
14950 , este valor es completamente ignorado.
14952 \begin_inset Quotes cld
14956 \begin_inset Quotes crd
14959 , el sangrado de un estilo tipo
14960 \begin_inset Quotes cld
14964 \begin_inset Quotes crd
14967 de \SpecialChar LaTeX
14968 se ignora y todos los párrafos son separados con este argumento
14969 \begin_inset Quotes cld
14973 \begin_inset Quotes crd
14977 El espacio vertical se calcula con
14978 \begin_inset Flex Code
14981 \begin_layout Plain Layout
14983 \begin_inset space ~
14992 \begin_inset Flex Code
14995 \begin_layout Plain Layout
15001 es la altura de una fila con la tipografía normal.
15002 De esta forma, el aspecto queda igual con diferentes tipografías de pantalla.
15005 \begin_layout Description
15006 \begin_inset Flex Code
15009 \begin_layout Plain Layout
15018 \begin_inset Flex Code
15021 \begin_layout Plain Layout
15032 \begin_inset space \thinspace{}
15036 \begin_inset Flex Code
15039 \begin_layout Plain Layout
15045 ] Si el contenido de este párrafo debería aparecer en la salida en forma
15046 cruda, es decir sin las traducciones especiales que \SpecialChar LaTeX
15050 \begin_layout Description
15051 \begin_inset Flex Code
15054 \begin_layout Plain Layout
15061 \begin_inset Flex Code
15064 \begin_layout Plain Layout
15074 Define caracteres individuales que deberían emitirse en bruto, o sea, sin
15075 traducciones especiales que \SpecialChar LaTeX
15079 \begin_layout Description
15080 \begin_inset Flex Code
15083 \begin_layout Plain Layout
15089 Información a incluir en el preámbulo \SpecialChar LaTeX
15090 cuando se usa este estilo.
15091 Utilizado para definir macros, paquetes a cargar, etc., requeridos por este
15092 estilo en particular.
15094 \begin_inset Quotes cld
15098 \begin_inset Flex Code
15101 \begin_layout Plain Layout
15108 \begin_inset Quotes crd
15114 \begin_layout Description
15115 \begin_inset Flex Code
15118 \begin_layout Plain Layout
15125 \begin_inset Flex Code
15128 \begin_layout Plain Layout
15134 ] El prefijo a usar cuando se crean etiquetas que se refieren a párrafos
15136 Esto permite el uso de referencias con formato.
15139 \begin_layout Description
15140 \begin_inset Flex Code
15143 \begin_layout Plain Layout
15152 \begin_inset Flex Code
15155 \begin_layout Plain Layout
15163 Si el estilo requiere la característica
15164 \begin_inset Flex Code
15167 \begin_layout Plain Layout
15174 \begin_inset CommandInset ref
15176 reference "cap:Lista-de-funciones"
15181 Si necesitas un paquete con opciones específicas puedes usar además
15182 \begin_inset Flex Code
15185 \begin_layout Plain Layout
15191 como un parámetro de clase de texto general (véase
15192 \begin_inset CommandInset ref
15194 reference "subsec:Parámetros-generales-clases"
15201 \begin_layout Description
15202 \begin_inset Flex Code
15205 \begin_layout Plain Layout
15212 \begin_inset Flex Code
15215 \begin_layout Plain Layout
15224 \begin_inset Flex Code
15227 \begin_layout Plain Layout
15233 ] Reinicia los argumentos de este estilo (como definido mediante la etiqueta
15235 \begin_inset Flex Code
15238 \begin_layout Plain Layout
15245 Es útil si has copiado un estilo mediante
15246 \begin_inset Flex Code
15249 \begin_layout Plain Layout
15255 , pero no quieres heredar sus argumentos (requerido y opcional).
15258 \begin_layout Description
15261 \begin_inset Flex Code
15264 \begin_layout Plain Layout
15273 \begin_inset Flex Code
15276 \begin_layout Plain Layout
15286 \begin_inset Flex Code
15289 \begin_layout Plain Layout
15297 ] Resumes a counter that is usually reset at each new sequence of layouts.
15298 This is currently only useful when
15299 \begin_inset Flex Code
15302 \begin_layout Plain Layout
15311 \begin_inset Flex Code
15314 \begin_layout Plain Layout
15325 \begin_layout Description
15326 \begin_inset Flex Code
15329 \begin_layout Plain Layout
15336 \begin_inset Flex Code
15339 \begin_layout Plain Layout
15345 ] Secuencia que se pone al final del contenido del formato.
15346 Un salto de línea en la salida se puede indicar con
15347 \begin_inset Flex Code
15350 \begin_layout Plain Layout
15359 \begin_layout Description
15360 \begin_inset Flex Code
15363 \begin_layout Plain Layout
15370 \begin_inset Flex Code
15373 \begin_layout Plain Layout
15380 \begin_inset Flex Code
15383 \begin_layout Plain Layout
15392 \begin_layout Description
15393 \begin_inset Flex Code
15396 \begin_layout Plain Layout
15403 \begin_inset Flex Code
15406 \begin_layout Plain Layout
15415 \begin_inset Flex Code
15418 \begin_layout Plain Layout
15425 \begin_inset Flex Code
15428 \begin_layout Plain Layout
15435 \begin_inset Flex Code
15438 \begin_layout Plain Layout
15440 \begin_inset space ~
15448 ] Esto define cuál debería ser el espacio predefinido en el estilo.
15450 \begin_inset Flex Code
15453 \begin_layout Plain Layout
15460 \begin_inset Flex Code
15463 \begin_layout Plain Layout
15470 \begin_inset Flex Code
15473 \begin_layout Plain Layout
15479 corresponden respectivamente a un multiplicador de 1, 1.25 y 1.667.
15480 Si se especifica el argumento
15481 \begin_inset Flex Code
15484 \begin_layout Plain Layout
15490 , entonces se debería proporcionar además un argumento numérico que será
15491 el valor real del multiplicador.
15492 Anotar que, al contrario que otros parámetros,
15493 \begin_inset Flex Code
15496 \begin_layout Plain Layout
15502 implica la generación de código \SpecialChar LaTeX
15503 específico, usando el paquete \SpecialChar LaTeX
15505 \begin_inset Flex Code
15508 \begin_layout Plain Layout
15517 \begin_layout Description
15518 \begin_inset Flex Code
15521 \begin_layout Plain Layout
15528 \begin_inset Flex Code
15531 \begin_layout Plain Layout
15540 \begin_inset space \thinspace{}
15546 \begin_inset Flex Code
15549 \begin_layout Plain Layout
15557 ] Corrección ortográfica de párrafos de este estilo.
15561 \begin_layout Description
15564 \begin_inset Flex Code
15567 \begin_layout Plain Layout
15576 \begin_inset Flex Code
15579 \begin_layout Plain Layout
15589 \begin_inset Flex Code
15592 \begin_layout Plain Layout
15600 ] Steps the master counter of a given counter at the beginning of a new
15601 sequence of layouts.
15602 This is currently only useful when
15603 \begin_inset Flex Code
15606 \begin_layout Plain Layout
15615 \begin_inset Flex Code
15618 \begin_layout Plain Layout
15629 \begin_layout Description
15630 \begin_inset Flex Code
15633 \begin_layout Plain Layout
15639 La tipografía para el cuerpo del texto.
15641 \begin_inset CommandInset ref
15643 reference "subsec:Tipografía"
15650 \begin_layout Description
15651 \begin_inset Flex Code
15654 \begin_layout Plain Layout
15661 \begin_inset Flex Code
15664 \begin_layout Plain Layout
15670 ] El nivel del estilo en el índice general.
15671 Esto se usa para la numeración automática de los encabezados de sección.
15674 \begin_layout Description
15675 \begin_inset Flex Code
15678 \begin_layout Plain Layout
15687 \begin_inset Flex Code
15690 \begin_layout Plain Layout
15699 \begin_inset Flex Code
15702 \begin_layout Plain Layout
15709 \begin_inset Flex Code
15712 \begin_layout Plain Layout
15718 ] Esta etiqueta determina si la sangría de primera línea de este párrafo
15719 puede conmutarse en el diálogo de configuración del párrafo.
15723 \begin_inset Flex Code
15726 \begin_layout Plain Layout
15736 , la sangría puede conmutarse si la configuración del documento usa estilo
15738 \begin_inset Quotes cld
15742 \begin_inset Quotes crd
15746 \begin_inset Flex Code
15749 \begin_layout Plain Layout
15755 , la sangría se puede conmutar siempre, no importa la configuración del
15757 \begin_inset Flex Code
15760 \begin_layout Plain Layout
15766 , la sangría nunca se puede conmutar.
15769 \begin_layout Description
15770 \begin_inset Flex Code
15773 \begin_layout Plain Layout
15780 \begin_inset Flex Code
15783 \begin_layout Plain Layout
15789 ] El espacio vertical con el que el primero de una cadena de párrafos con
15790 este estilo se separa del párrafo anterior.
15791 Si el párrafo anterior tiene otro estilo, la separación no es simplemente
15792 añadida, sino que se pone la máxima.
15795 \begin_layout Subsection
15796 Internacionalización de estilos de párrafo
15797 \begin_inset CommandInset label
15806 \begin_layout Standard
15808 ha soportado desde hace tiempo la internacionalización de la información
15809 de formato, pero, hasta la versión 2.0, esto se aplicaba solo a la interfaz
15810 de usuario y no a la salida, digamos, PDF.
15811 Así, por ej., autores franceses tenían que acudir a feos trucos para conseguir
15812 `Théorème 1' en vez de `Theorem 1'.
15813 Gracias a Georg Baum, este ya no es el caso.
15816 \begin_layout Standard
15818 \begin_inset Flex Code
15821 \begin_layout Plain Layout
15827 define texto que se mostrará en el documento exportado, puede usar
15828 \begin_inset Flex Code
15831 \begin_layout Plain Layout
15838 \begin_inset Flex Code
15841 \begin_layout Plain Layout
15847 para soportar correctamente documentos con idioma distinto del inglés e
15848 incluso documentos plurilingües.
15849 El siguiente extracto (del archivo
15850 \begin_inset Flex Code
15853 \begin_layout Plain Layout
15859 ) muestra cómo funciona:
15862 \begin_layout LyX-Code
15867 \begin_layout LyX-Code
15870 theoremstyle{remark}
15873 \begin_layout LyX-Code
15876 newtheorem{claim}[thm]{
15883 \begin_layout LyX-Code
15887 \begin_layout LyX-Code
15891 \begin_layout LyX-Code
15896 claimname}{_(Claim)}
15899 \begin_layout LyX-Code
15903 \begin_layout LyX-Code
15907 \begin_layout LyX-Code
15916 claimname}{_(Claim)}}
15919 \begin_layout LyX-Code
15924 \begin_layout Standard
15925 En principio, cualquier \SpecialChar LaTeX
15926 legal puede aparecer en las etiquetas
15927 \begin_inset Flex Code
15930 \begin_layout Plain Layout
15937 \begin_inset Flex Code
15940 \begin_layout Plain Layout
15946 , pero en la práctica el aspecto será generalmente como el mostrado aquí.
15947 La clave para una correcta traducción del texto impreso es la definición
15948 del comando \SpecialChar LaTeX
15950 \begin_inset Flex Code
15953 \begin_layout Plain Layout
15962 \begin_inset Flex Code
15965 \begin_layout Plain Layout
15977 \begin_layout Standard
15979 \begin_inset Flex Code
15982 \begin_layout Plain Layout
15988 proporciona internacionalización basada en el idioma global del documento.
15989 El contenido de la etiqueta se incluirá en el preámbulo, igual que con
15991 \begin_inset Flex Code
15994 \begin_layout Plain Layout
16001 Lo que la hace especial es el uso de la
16002 \begin_inset Quotes eld
16006 \begin_inset Quotes erd
16010 \begin_inset Flex Code
16013 \begin_layout Plain Layout
16019 , que será reemplazada, cuando \SpecialChar LyX
16020 genere la salida \SpecialChar LaTeX
16021 , por la traducción de
16022 su argumento al idioma del documento.
16025 \begin_layout Standard
16027 \begin_inset Flex Code
16030 \begin_layout Plain Layout
16036 es más compleja, puesto que está pensada para dar soporte a documentos
16037 plurilingües y ofrece una interfaz al paquete
16038 \begin_inset Flex Code
16041 \begin_layout Plain Layout
16048 Su contenido se añadirá al preámbulo una vez por cada idioma que aparezca
16050 En este caso, el argumento en
16051 \begin_inset Flex Code
16054 \begin_layout Plain Layout
16060 se reemplazará por su traducción al idioma en cuestión; la expresión
16061 \begin_inset Flex Code
16064 \begin_layout Plain Layout
16070 es reemplazada por el nombre del idioma (el usado por el paquete babel).
16073 \begin_layout Standard
16074 Un documento en alemán que también incluya una sección en francés tendría
16075 lo siguiente en el preámbulo:
16078 \begin_layout LyX-Code
16087 claimname}{Affirmation}}
16088 \begin_inset Newline newline
16099 claimname}{Behauptung}}
16100 \begin_inset Newline newline
16107 claimname}{Behauptung}
16110 \begin_layout Standard
16113 \begin_inset Flex Code
16116 \begin_layout Plain Layout
16122 conspirarán para producir el texto correcto en la salida.
16125 \begin_layout Standard
16126 Un punto importante a tener en cuenta aquí es que las traducciones son proporcio
16127 nadas por el propio \SpecialChar LyX
16128 , por medio del archivo
16129 \begin_inset Flex Code
16132 \begin_layout Plain Layout
16139 Esto quiere decir, en definitiva, que
16140 \begin_inset Flex Code
16143 \begin_layout Plain Layout
16150 \begin_inset Flex Code
16153 \begin_layout Plain Layout
16159 realmente solo son útiles en archivos de formato que son proporcionados
16160 por \SpecialChar LyX
16161 , puesto que el texto introducido en archivos de formato creados por
16162 el usuario no serán tenidos en cuenta por las rutinas de internacionalización
16163 de \SpecialChar LyX
16164 a menos que el archivo
16165 \begin_inset Flex Code
16168 \begin_layout Plain Layout
16174 se modifique como correponde.
16175 Sin embargo, cualquier formato creado con la intención de ser incluido
16176 en \SpecialChar LyX
16177 debería usar estas etiquetas en los lugares apropiados.
16178 Ten en cuenta que las traducciones de estilo de párrafo provistas por \SpecialChar LyX
16180 nunca cambian en actualizaciones menores (p.
16181 \begin_inset space \thinspace{}
16185 \begin_inset space \space{}
16188 de versión 2.1.x a 2.1.y).
16189 Sin embargo es muy probable que en actualizaciones mayores (p.
16190 \begin_inset space \thinspace{}
16194 \begin_inset space \space{}
16197 de 2.0.x a 2.1.y) se introduzcan nuevas traducciones o correcciones.
16200 \begin_layout Subsection
16202 \begin_inset CommandInset label
16204 name "subsec:Flotantes"
16211 \begin_layout Standard
16212 Es necesario definir los flotantes (
16213 \begin_inset Flex Noun
16216 \begin_layout Plain Layout
16223 \begin_inset Flex Noun
16226 \begin_layout Plain Layout
16232 , \SpecialChar ldots
16233 ) en la propia clase de texto.
16234 Los flotantes normales se incluyen en el archivo
16235 \begin_inset Flex Code
16238 \begin_layout Plain Layout
16244 , así que no tendrás más que añadir
16247 \begin_layout LyX-Code
16248 Input stdfloats.inc
16251 \begin_layout Standard
16252 en tu archivo de formato.
16253 Si quieres implementar una clase de texto que proponga algún otro tipo
16254 de flotante (como la clase AGU empaquetada con \SpecialChar LyX
16255 ), la información siguiente
16256 te servirá de ayuda:
16259 \begin_layout Description
16260 \begin_inset Flex Code
16263 \begin_layout Plain Layout
16270 \begin_inset Flex Code
16273 \begin_layout Plain Layout
16279 =!htbpH] Opciones de colocación permitidas para este tipo de flotante.
16280 El valor es una secuencia de caracteres:
16285 \begin_inset Quotes eld
16289 \begin_inset Quotes erd
16297 \begin_inset Quotes eld
16301 \begin_inset Quotes erd
16309 \begin_inset Quotes eld
16313 \begin_inset Quotes erd
16321 \begin_inset Quotes eld
16325 \begin_inset Quotes erd
16333 \begin_inset Quotes eld
16337 \begin_inset Quotes erd
16345 \begin_inset Quotes eld
16349 \begin_inset Quotes erd
16353 El orden no importa.
16354 Si las opciones de colocación no están permitidas usa string
16361 \begin_layout Description
16362 \begin_inset Flex Code
16365 \begin_layout Plain Layout
16372 \begin_inset Flex Code
16375 \begin_layout Plain Layout
16382 \begin_inset space \thinspace{}
16388 \begin_inset Flex Code
16391 \begin_layout Plain Layout
16399 ] Define si el flotante admite rotación mediante el paquete \SpecialChar LaTeX
16406 \begin_inset Flex Code
16409 \begin_layout Plain Layout
16415 si el flotante no soporta esta característica.
16418 \begin_layout Description
16419 \begin_inset Flex Code
16422 \begin_layout Plain Layout
16429 \begin_inset Flex Code
16432 \begin_layout Plain Layout
16439 \begin_inset space \thinspace{}
16445 \begin_inset Flex Code
16448 \begin_layout Plain Layout
16456 ] Define si el flotante tiene una variante asterisco que abarca columnas
16457 en un párrafo de dos columnas.
16459 \begin_inset Flex Code
16462 \begin_layout Plain Layout
16468 si el flotante no soporta esta característica.
16471 \begin_layout Description
16472 \begin_inset Flex Code
16475 \begin_layout Plain Layout
16482 \begin_inset Flex Code
16485 \begin_layout Plain Layout
16492 \begin_inset Quotes erd
16496 \begin_inset Quotes erd
16499 ] La extensión del nombre de un archivo auxiliar para la lista de figuras
16502 escribe las leyendas en este archivo.
16505 \begin_layout Description
16506 \begin_inset Flex Code
16509 \begin_layout Plain Layout
16516 \begin_inset Flex Code
16519 \begin_layout Plain Layout
16526 \begin_inset Quotes erd
16530 \begin_inset Quotes erd
16533 ] La cadena que se usará en los menús y también para la leyenda.
16534 Esto se traduce al idioma actual si se usa.
16537 \begin_layout Description
16538 \begin_inset Flex Code
16541 \begin_layout Plain Layout
16547 Controlan la salida XHTML.
16549 \begin_inset space ~
16553 \begin_inset CommandInset ref
16555 reference "sec:Etiquetas-para-XHTML"
16562 \begin_layout Description
16563 \begin_inset Flex Code
16566 \begin_layout Plain Layout
16575 \begin_inset Flex Code
16578 \begin_layout Plain Layout
16587 \begin_inset space \thinspace{}
16591 \begin_inset Flex Code
16594 \begin_layout Plain Layout
16600 ] Indica si el flotante está ya definido en la clase de documento o si necesitam
16601 os cargar el paquete \SpecialChar LaTeX
16603 \begin_inset Flex Code
16606 \begin_layout Plain Layout
16612 para definirlo sobre la marcha.
16614 \begin_inset Flex Code
16617 \begin_layout Plain Layout
16623 , que significa: usar
16624 \begin_inset Flex Code
16627 \begin_layout Plain Layout
16635 \begin_inset Flex Code
16638 \begin_layout Plain Layout
16644 si el flotante ya está definido por la clase de documento \SpecialChar LaTeX
16648 \begin_layout Description
16649 \begin_inset Flex Code
16652 \begin_layout Plain Layout
16659 \begin_inset Flex Code
16662 \begin_layout Plain Layout
16669 \begin_inset Quotes erd
16673 \begin_inset Quotes erd
16676 ] El comando usado para generar una lista de flotantes de este tipo; debe
16677 omitirse el precedente `
16685 \begin_inset Flex Code
16688 \begin_layout Plain Layout
16694 es `false', puesto que no hay una forma estándar de generar este comando.
16696 \begin_inset Flex Code
16699 \begin_layout Plain Layout
16705 es `true', porque en este caso sí hay una forma estándar de definir el
16709 \begin_layout Description
16710 \begin_inset Flex Code
16713 \begin_layout Plain Layout
16720 \begin_inset Flex Code
16723 \begin_layout Plain Layout
16730 \begin_inset Quotes erd
16734 \begin_inset Quotes erd
16737 ] Un título para una lista de flotantes de este tipo (índice de figuras,
16738 tablas o lo que sea).
16739 Se usa para el nombre del recuadro en \SpecialChar LyX
16740 ; se pasa a \SpecialChar LaTeX
16741 para usarlo como título
16742 allí; y se usa como título en la salida.
16743 Será traducido al idioma del documento.
16746 \begin_layout Description
16747 \begin_inset Flex Code
16750 \begin_layout Plain Layout
16757 \begin_inset Flex Code
16760 \begin_layout Plain Layout
16767 \begin_inset Quotes erd
16771 \begin_inset Quotes erd
16774 ] Este argumento (opcional) determina si los flotantes de esta clase serán
16775 numerados dentro de alguna unidad de sección del documento.
16777 \begin_inset Flex Code
16780 \begin_layout Plain Layout
16787 \begin_inset Quotes cld
16791 \begin_inset Flex Code
16794 \begin_layout Plain Layout
16801 \begin_inset Quotes crd
16804 , los flotantes serán numerados dentro de los capítulos.
16807 \begin_layout Description
16808 \begin_inset Flex Code
16811 \begin_layout Plain Layout
16818 \begin_inset Flex Code
16821 \begin_layout Plain Layout
16828 \begin_inset Quotes erd
16832 \begin_inset Quotes erd
16835 ] La colocación por omisión para la clase dada de flotantes.
16837 \begin_inset Flex Code
16840 \begin_layout Plain Layout
16846 deberá ser un estándar \SpecialChar LaTeX
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 Flex Code
16881 \begin_layout Plain Layout
16888 \begin_inset Quotes cld
16892 \begin_inset Quotes crd
16896 \begin_inset Quotes cld
16900 \begin_inset Quotes crd
16904 \begin_inset Quotes cld
16908 \begin_inset Quotes crd
16912 \begin_inset Quotes cld
16916 \begin_inset Quotes crd
16919 (aquí), respectivamente.
16923 \begin_layout Plain Layout
16924 Anotar que el orden de estas letras en la cadena es irrelevante, como en
16931 Por encima de éstos hay un nuevo tipo,
16932 \begin_inset Flex Code
16935 \begin_layout Plain Layout
16941 , que no corresponde realmente a un flotante, ya que se refiere a: ponerlo
16943 \begin_inset Quotes cld
16947 \begin_inset Quotes crd
16950 , y en ninguna otra parte.
16951 Anotar que, sin embargo, el colocador
16952 \begin_inset Flex Code
16955 \begin_layout Plain Layout
16961 es especial y, debido a detalles de implementación, no puede usarse en
16962 tipos de flotantes no empotrados.
16963 Si no comprendes lo que esto significa, usa solo
16964 \begin_inset Quotes cld
16968 \begin_inset Flex Code
16971 \begin_layout Plain Layout
16978 \begin_inset Quotes crd
16984 \begin_layout Description
16985 \begin_inset Flex Code
16988 \begin_layout Plain Layout
16995 \begin_inset Flex Code
16998 \begin_layout Plain Layout
17004 ] El prefijo a usar cuando se crean etiquetas referidas a flotantes de este
17006 Esto permite el uso de referencias con formato.
17007 Puedes quitar cualquier
17008 \begin_inset Flex Code
17011 \begin_layout Plain Layout
17017 puesto por un estilo copiado usando el valor especial
17018 \begin_inset Quotes eld
17022 \begin_inset Quotes erd
17025 , todas mayúsculas.
17028 \begin_layout Description
17029 \begin_inset Flex Code
17032 \begin_layout Plain Layout
17039 \begin_inset Flex Code
17042 \begin_layout Plain Layout
17049 \begin_inset Quotes erd
17053 \begin_inset Quotes erd
17056 ] El estilo usado cuando se define el flotante con
17057 \begin_inset Flex Code
17060 \begin_layout Plain Layout
17071 \begin_layout Description
17072 \begin_inset Flex Code
17075 \begin_layout Plain Layout
17082 \begin_inset Flex Code
17085 \begin_layout Plain Layout
17092 \begin_inset Quotes erd
17096 \begin_inset Quotes erd
17100 \begin_inset Quotes cld
17104 \begin_inset Quotes crd
17107 de la nueva clase de flotante, como programa o algoritmo.
17108 Después del apropiado
17109 \begin_inset Flex Code
17112 \begin_layout Plain Layout
17120 , comandos tales como
17121 \begin_inset Flex Code
17124 \begin_layout Plain Layout
17133 \begin_inset Flex Code
17136 \begin_layout Plain Layout
17144 estarán disponibles.
17147 \begin_layout Description
17148 \begin_inset Flex Code
17151 \begin_layout Plain Layout
17158 \begin_inset Flex Code
17161 \begin_layout Plain Layout
17168 \begin_inset space \thinspace{}
17172 \begin_inset Flex Code
17175 \begin_layout Plain Layout
17183 ] Nos dice si este flotante se define usando el paquete \SpecialChar LaTeX
17185 \begin_inset Flex Code
17188 \begin_layout Plain Layout
17194 , bien por el archivo de clase o por un paquete, o bien sobre la marcha
17195 por el propio \SpecialChar LyX
17199 \begin_layout Standard
17200 Anotar que al definir un flotante con tipo
17201 \begin_inset Flex Code
17204 \begin_layout Plain Layout
17212 automáticamente se define el correspondiente contador con nombre
17213 \begin_inset Flex Code
17216 \begin_layout Plain Layout
17227 \begin_layout Subsection
17228 Recuadros flexibles y formato del recuadro
17229 \begin_inset CommandInset label
17231 name "subsec:estilo-del-texto"
17238 \begin_layout Standard
17239 Los recuadros flexibles son de tres tipos:
17242 \begin_layout Itemize
17244 \begin_inset Flex Code
17247 \begin_layout Plain Layout
17253 ): estos definen diseños semánticos correspondientes a comandos \SpecialChar LaTeX
17255 \begin_inset Flex Code
17258 \begin_layout Plain Layout
17267 \begin_inset Flex Code
17270 \begin_layout Plain Layout
17281 \begin_layout Itemize
17282 definido por el usuario (
17283 \begin_inset Flex Code
17286 \begin_layout Plain Layout
17292 ): estos se pueden usar para definir recuadros plegables personalizados,
17293 del tipo de los de código \SpecialChar TeX
17294 , notas al pie y similares.
17295 Un ejemplo obvio es un recuadro de nota final, definido en el módulo del
17297 \begin_inset Flex Code
17300 \begin_layout Plain Layout
17309 \begin_layout Itemize
17311 \begin_inset Flex Code
17314 \begin_layout Plain Layout
17320 ): para usar con las clases DocBook.
17323 \begin_layout Standard
17324 Los recuadros flexibles se definen usando la etiqueta
17325 \begin_inset Flex Code
17328 \begin_layout Plain Layout
17334 , que se explicará en un momento.
17337 \begin_layout Standard
17339 \begin_inset Flex Code
17342 \begin_layout Plain Layout
17348 también sirve para otra función: puede utilizarse para personalizar el
17349 diseño general de muchos tipos diferentes de recuadros.
17351 \begin_inset Flex Code
17354 \begin_layout Plain Layout
17360 permite personalizar los parámetros de diseño de notas al pie, notas al
17361 margen, notas, recuadros de código \SpecialChar TeX
17362 (ERT), ramas, listados de programa,
17363 índices, cuadros, tablas, algoritmos, URL, y leyendas, así como para definir
17364 recuadros flexibles.
17367 \begin_layout Standard
17369 \begin_inset Flex Code
17372 \begin_layout Plain Layout
17378 debe comenzar con una línea de la forma:
17381 \begin_layout LyX-Code
17385 \begin_layout Standard
17387 \begin_inset Flex Code
17390 \begin_layout Plain Layout
17396 indica el recuadro cuyo formato se va a definir, y hay cuatro casos.
17399 \begin_layout Enumerate
17400 Se va a modificar el formato para un tipo de recuadro preexistente.
17402 \begin_inset Flex Code
17405 \begin_layout Plain Layout
17411 puede ser uno cualquiera de los siguientes:
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
17602 \begin_inset Flex Code
17605 \begin_layout Plain Layout
17615 \begin_layout Enumerate
17616 Se va a definir el formato para un recuadro flexible.
17618 \begin_inset Flex Code
17621 \begin_layout Plain Layout
17628 \begin_inset Quotes cld
17632 \begin_inset Flex Code
17635 \begin_layout Plain Layout
17642 \begin_inset Quotes crd
17646 \begin_inset Flex Code
17649 \begin_layout Plain Layout
17655 ser cualquier identificador válido no utilizado por un recuadro preexistente.
17656 El identificador puede incluir espacios, pero en este caso debe ponerse
17657 todo entre comillas.
17658 Ten en cuenta que la definición de un flexible debe incluir
17663 \begin_inset Flex Code
17666 \begin_layout Plain Layout
17673 declarando qué tipo de recuadro define.
17676 \begin_layout Enumerate
17677 Se va a definir el formato para rama específica de usuario.
17679 \begin_inset Flex Code
17682 \begin_layout Plain Layout
17688 debe ser de la forma
17689 \begin_inset Quotes cld
17693 \begin_inset Flex Code
17696 \begin_layout Plain Layout
17703 \begin_inset Quotes crd
17707 \begin_inset Flex Code
17710 \begin_layout Plain Layout
17716 puede ser cualquier identificador válido de rama definido en el documento
17718 Este identificador puede incluir espacios, pero, en ese caso todo debe
17720 El propósito principal de esta característica es permitir a \SpecialChar LaTeX
17722 específicas como necesite el usuario.
17725 \begin_layout Enumerate
17726 Se va a definir el formato de una leyenda específica de usuario (o clase).
17728 \begin_inset Flex Code
17731 \begin_layout Plain Layout
17737 debe ser de la forma
17738 \begin_inset Quotes cld
17742 \begin_inset Flex Code
17745 \begin_layout Plain Layout
17752 \begin_inset Quotes crd
17756 \begin_inset Flex Code
17759 \begin_layout Plain Layout
17765 especifica el nombre de la leyenda como aparece en el menú.
17766 Repasa la leyenda estándar (
17767 \begin_inset Flex Code
17770 \begin_layout Plain Layout
17776 ), las leyendas específicas de las clases KOMA-Script (
17777 \begin_inset Flex Code
17780 \begin_layout Plain Layout
17787 \begin_inset Flex Code
17790 \begin_layout Plain Layout
17799 \begin_inset space ~
17805 \begin_inset Flex Code
17808 \begin_layout Plain Layout
17814 ) para aplicaciones.
17817 \begin_layout Standard
17819 \begin_inset Flex Code
17822 \begin_layout Plain Layout
17828 puede contener las siguientes entradas:
17831 \begin_layout Description
17834 \begin_inset Flex Code
17837 \begin_layout Plain Layout
17846 \begin_inset Flex Code
17849 \begin_layout Plain Layout
17857 =""] This inset will appear in the table of contents of the given type.
17858 An empty string disables.
17859 See also the OutlinerName and the IsTocCaption commands.
17860 This is only implemented for Flex insets.
17864 \begin_layout Description
17865 \begin_inset Flex Code
17868 \begin_layout Plain Layout
17875 \begin_inset Flex Code
17878 \begin_layout Plain Layout
17884 ] Define el número de argumento de un comando\SpecialChar breakableslash
17885 entorno asociado con el formato
17887 La definición debe terminar con
17888 \begin_inset Flex Code
17891 \begin_layout Plain Layout
17899 \begin_inset CommandInset ref
17901 reference "subsec:Estilos-de-párrafo"
17908 \begin_layout Description
17909 \begin_inset Flex Code
17912 \begin_layout Plain Layout
17918 Preámbulo para comandos de cambio de idioma; véase
17919 \begin_inset CommandInset ref
17921 reference "subsec:I18n"
17928 \begin_layout Description
17929 \begin_inset Flex Code
17932 \begin_layout Plain Layout
17939 \begin_inset Flex Code
17942 \begin_layout Plain Layout
17948 ] El color para el fondo del recuadro.
17949 Véase la lista de colores en
17950 \begin_inset CommandInset ref
17952 reference "cap:Nombres-de-colores"
17959 \begin_layout Description
17960 \begin_inset Flex Code
17963 \begin_layout Plain Layout
17970 \begin_inset Flex Code
17973 \begin_layout Plain Layout
17982 \begin_inset space \thinspace{}
17986 \begin_inset Flex Code
17989 \begin_layout Plain Layout
17995 ] Si usar no el contenido del recuadro como etiqueta del mismo cuando el
17996 recuadro se cierra.
17997 Por omisión, falso.
18000 \begin_layout Description
18001 \begin_inset Flex Code
18004 \begin_layout Plain Layout
18011 \begin_inset Flex Code
18014 \begin_layout Plain Layout
18020 ] Como los estilos de párrafo, véase
18021 \begin_inset CommandInset ref
18023 reference "subsec:Estilos-de-párrafo"
18028 Ten en cuenta que debes especificar el tipo completo, p.
18029 \begin_inset space \thinspace{}
18033 \begin_inset space ~
18037 \begin_inset Flex Code
18040 \begin_layout Plain Layout
18041 CopyStyle Flex:<name>
18049 \begin_layout Description
18050 \begin_inset Flex Code
18053 \begin_layout Plain Layout
18060 \begin_inset Flex Code
18063 \begin_layout Plain Layout
18072 \begin_inset space \thinspace{}
18076 \begin_inset Flex Code
18079 \begin_layout Plain Layout
18085 ] Indica si el usuario puede emplear el diálogo Configuración del párrafo
18086 para modificar el párrafo.
18089 \begin_layout Description
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
18120 \begin_inset Flex Code
18123 \begin_layout Plain Layout
18129 , que describe el estilo de presentación para el marco y los botones del
18131 Las notas al pie usan generalmente
18132 \begin_inset Flex Code
18135 \begin_layout Plain Layout
18141 , los recuadros de código \SpecialChar TeX
18143 \begin_inset Flex Code
18146 \begin_layout Plain Layout
18152 , y los de estilos del texto
18153 \begin_inset Flex Code
18156 \begin_layout Plain Layout
18165 \begin_layout Description
18166 \begin_inset Flex Code
18169 \begin_layout Plain Layout
18176 \begin_inset Flex Code
18179 \begin_layout Plain Layout
18186 \begin_inset space \thinspace{}
18190 \begin_inset Flex Code
18193 \begin_layout Plain Layout
18202 \begin_inset Flex Code
18205 \begin_layout Plain Layout
18212 \begin_inset Flex Code
18215 \begin_layout Plain Layout
18222 Indica si el entorno se ubicará en su propio espacio en la salida o si
18223 aparecerá en línea con el texto circundante.
18224 Si se pone falso, se supone que el entorno \SpecialChar LaTeX
18225 ignora los espacios en blanco
18226 (incluyendo un carácter de línea nueva) después de las etiquetas
18227 \begin_inset Flex Code
18230 \begin_layout Plain Layout
18243 \begin_inset Flex Code
18246 \begin_layout Plain Layout
18259 Por omisión, verdadero.
18262 \begin_layout Description
18263 \begin_inset Flex Code
18266 \begin_layout Plain Layout
18272 Requerido al final de las declaraciones de formato del recuadro
18273 \begin_inset Flex Code
18276 \begin_layout Plain Layout
18285 \begin_layout Description
18286 \begin_inset Flex Code
18289 \begin_layout Plain Layout
18295 La tipografía usada tanto para el cuerpo del texto como para la etiqueta.
18297 \begin_inset CommandInset ref
18299 reference "subsec:Tipografía"
18304 Anotar que al definir esta tipografía se define automáticamente el mismo
18305 valor para la etiqueta,
18306 \begin_inset Flex Code
18309 \begin_layout Plain Layout
18315 , así que define aquella primero y después define
18316 \begin_inset Flex Code
18319 \begin_layout Plain Layout
18325 si las quieres diferentes.
18328 \begin_layout Description
18329 \begin_inset Flex Code
18332 \begin_layout Plain Layout
18333 FixedWidthPreambleEncoding
18339 \begin_inset Flex Code
18342 \begin_layout Plain Layout
18351 \begin_inset space \thinspace{}
18355 \begin_inset Flex Code
18358 \begin_layout Plain Layout
18364 ] Fuerza una codificación de ancho fijo para el contenido traducido del
18366 \begin_inset Flex Code
18369 \begin_layout Plain Layout
18376 \begin_inset Flex Code
18379 \begin_layout Plain Layout
18385 generado por este formato.
18386 Esto es necesario para paquetes especiales \SpecialChar LaTeX
18391 que no trabajan con codificaciones de ancho variable como
18396 Esta configuración se ignora si se usan soportes \SpecialChar LaTeX
18397 compatibles totalmente
18398 con Unicode como Xe\SpecialChar TeX
18399 o Lua\SpecialChar TeX
18403 \begin_layout Description
18404 \begin_inset Flex Code
18407 \begin_layout Plain Layout
18408 ForceLocalFontSwitch
18414 \begin_inset Flex Code
18417 \begin_layout Plain Layout
18426 \begin_inset space \thinspace{}
18430 \begin_inset Flex Code
18433 \begin_layout Plain Layout
18439 ] Cuando se usa babel, usar siempre un cambiador de fuente local (
18440 \begin_inset Flex Code
18443 \begin_layout Plain Layout
18451 ), nunca uno global (como
18452 \begin_inset Flex Code
18455 \begin_layout Plain Layout
18466 \begin_layout Description
18467 \begin_inset Flex Code
18470 \begin_layout Plain Layout
18477 \begin_inset Flex Code
18480 \begin_layout Plain Layout
18489 \begin_inset space \thinspace{}
18493 \begin_inset Flex Code
18496 \begin_layout Plain Layout
18503 \begin_inset Quotes cld
18507 \begin_inset Quotes crd
18510 que genera salida Izquierda-Derecha (latin), p.
18511 \begin_inset space \thinspace{}
18515 \begin_inset space \space{}
18518 en código \SpecialChar TeX
18523 \begin_layout Description
18524 \begin_inset Flex Code
18527 \begin_layout Plain Layout
18534 \begin_inset Flex Code
18537 \begin_layout Plain Layout
18546 \begin_inset space \thinspace{}
18550 \begin_inset Flex Code
18553 \begin_layout Plain Layout
18559 ] Fuerza un salto de línea en la salida \SpecialChar LaTeX
18560 antes de iniciarse el recuadro
18561 de inserción y después de finalizar.
18562 Esto asegura que el recuadro mismo se ubique en sus propias líneas, con
18566 \begin_layout Description
18567 \begin_inset Flex Code
18570 \begin_layout Plain Layout
18577 \begin_inset Flex Code
18580 \begin_layout Plain Layout
18589 \begin_inset space \thinspace{}
18593 \begin_inset Flex Code
18596 \begin_layout Plain Layout
18602 ] Indica si debería usarse
18603 \begin_inset Flex Code
18606 \begin_layout Plain Layout
18612 o, por el contrario el usuario puede cambiar el estilo de párrafo del recuadro.
18615 \begin_layout Description
18616 \begin_inset Flex Code
18619 \begin_layout Plain Layout
18628 \begin_inset Flex Code
18631 \begin_layout Plain Layout
18640 \begin_inset space \thinspace{}
18644 \begin_inset Flex Code
18647 \begin_layout Plain Layout
18653 ] Como en estilos de párrafo, véase
18654 \begin_inset CommandInset ref
18656 reference "subsec:Estilos-de-párrafo"
18663 \begin_layout Description
18664 \begin_inset Flex Code
18667 \begin_layout Plain Layout
18673 Controlan la salida XHTML.
18675 \begin_inset CommandInset ref
18677 reference "sec:Etiquetas-para-XHTML"
18684 \begin_layout Description
18685 \begin_inset Flex Code
18688 \begin_layout Plain Layout
18695 \begin_inset Flex Code
18698 \begin_layout Plain Layout
18707 \begin_inset space \thinspace{}
18711 \begin_inset Flex Code
18714 \begin_layout Plain Layout
18720 ] Incluye o no el contenido de este inset en la cadena generada para el
18721 panel 'Navegador de contorno'
18723 for all table of contents, regardless of the AddToToc setting
18726 El no sería, por ejemplo, para que el contenido de una nota al pie en un
18727 encabezado de sección no aparezca en el índice que se despliega en el navegador
18728 de contorno, sin embargo, normalmente sí se incluiría el contenido de un
18729 estilo de carácter.
18730 Predeterminado es false: no incluir.
18733 \begin_layout Description
18736 \begin_inset Flex Code
18739 \begin_layout Plain Layout
18748 \begin_inset Flex Code
18751 \begin_layout Plain Layout
18761 \begin_inset space \thinspace{}
18765 \begin_inset Flex Code
18768 \begin_layout Plain Layout
18776 ] If this is set to 1 and AddToToc is enabled, the inset adds a summary
18777 of its contents in its item in the table of contents.
18778 Otherwise, only the label appears.
18781 \begin_layout Description
18782 \begin_inset Flex Code
18785 \begin_layout Plain Layout
18794 \begin_inset Flex Code
18797 \begin_layout Plain Layout
18808 \begin_inset space \thinspace{}
18812 \begin_inset Flex Code
18815 \begin_layout Plain Layout
18821 ] Como en estilos de párrafo, véase
18822 \begin_inset CommandInset ref
18824 reference "subsec:Estilos-de-párrafo"
18831 \begin_layout Description
18832 \begin_inset Flex Code
18835 \begin_layout Plain Layout
18841 La tipografía para la etiqueta.
18843 \begin_inset CommandInset ref
18845 reference "subsec:Tipografía"
18850 Anotar que esta definición nunca puede aparecer antes de
18851 \begin_inset Flex Code
18854 \begin_layout Plain Layout
18860 , para que sea efectiva.
18863 \begin_layout Description
18864 \begin_inset Flex Code
18867 \begin_layout Plain Layout
18874 \begin_inset Flex Code
18877 \begin_layout Plain Layout
18884 \begin_inset Quotes erd
18888 \begin_inset Quotes erd
18891 ] Lo que se mostrará sobre el botón u otra parte como etiqueta del recuadro.
18892 Algunos tipos de recuadro (
18893 \begin_inset Flex Code
18896 \begin_layout Plain Layout
18897 código \SpecialChar TeX
18904 \begin_inset Flex Code
18907 \begin_layout Plain Layout
18913 ) modifican esta etiqueta sobre la marcha.
18916 \begin_layout Description
18917 \begin_inset Flex Code
18920 \begin_layout Plain Layout
18926 Preámbulo dependiente del idioma; véase
18927 \begin_inset CommandInset ref
18929 reference "subsec:I18n"
18936 \begin_layout Description
18937 \begin_inset Flex Code
18940 \begin_layout Plain Layout
18947 \begin_inset Flex Code
18950 \begin_layout Plain Layout
18956 ] El nombre \SpecialChar LaTeX
18957 correspondiente al asunto.
18958 Cualquier nombre de entorno o de comando.
18961 \begin_layout Description
18962 \begin_inset Flex Code
18965 \begin_layout Plain Layout
18972 \begin_inset Flex Code
18975 \begin_layout Plain Layout
18981 ] El parámetro opcional para el correspondiente
18982 \begin_inset Flex Code
18985 \begin_layout Plain Layout
18991 , incluyendo posibles pares de corchetes,
18992 \begin_inset Flex Code
18995 \begin_layout Plain Layout
19002 Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
19004 \begin_inset Flex Code
19007 \begin_layout Plain Layout
19013 para parámetros personalizables).
19014 Se emitirá como tal después de todos los
19015 \begin_inset Flex Code
19018 \begin_layout Plain Layout
19028 \begin_layout Description
19029 \begin_inset Flex Code
19032 \begin_layout Plain Layout
19039 \begin_inset Flex Code
19042 \begin_layout Plain Layout
19043 Command, Environment, None
19048 ] Cómo debería traducirse el estilo en \SpecialChar LaTeX
19053 \begin_layout Plain Layout
19054 \begin_inset Flex Code
19057 \begin_layout Plain Layout
19063 es quizás un poco confuso porque estas eglas se aplican también a clases.
19064 Mira los archivos de clase SGML para ejemplos concretos.
19073 \begin_layout Description
19074 \begin_inset Flex Code
19077 \begin_layout Plain Layout
19083 significa nada especial
19086 \begin_layout Description
19087 \begin_inset Flex Code
19090 \begin_layout Plain Layout
19097 \begin_inset Flex Code
19100 \begin_layout Plain Layout
19107 {\SpecialChar ldots
19116 \begin_layout Description
19117 \begin_inset Flex Code
19120 \begin_layout Plain Layout
19127 \begin_inset Flex Code
19130 \begin_layout Plain Layout
19137 }\SpecialChar ldots
19152 \begin_layout Standard
19153 Poniendo juntas las últimas cosas, la salida \SpecialChar LaTeX
19157 \begin_layout LyX-Code
19160 LatexName[LatexParam]{\SpecialChar ldots
19164 \begin_layout Standard
19168 \begin_layout LyX-Code
19171 begin{LatexName}[LatexParam] \SpecialChar ldots
19177 \begin_layout Standard
19178 dependiendo del tipo de \SpecialChar LaTeX
19183 \begin_layout Description
19184 \begin_inset Flex Code
19187 \begin_layout Plain Layout
19194 \begin_inset Flex Code
19197 \begin_layout Plain Layout
19203 ] Secuencia que se pone al comienzo del contenido del formato.
19204 Un salto de línea en la salida se indica con
19205 \begin_inset Flex Code
19208 \begin_layout Plain Layout
19217 \begin_layout Description
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
19258 \begin_inset Flex Code
19261 \begin_layout Plain Layout
19267 (indicando una definición ficticia que finaliza definiciones de estilos
19269 Esta entrada es requerida y solo es significativa para recuadros flexibles.
19270 Entre otras cosas, determina en qué menús aparecerá este recuadro.
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
19302 \begin_inset Flex Code
19305 \begin_layout Plain Layout
19317 \begin_inset Flex Code
19320 \begin_layout Plain Layout
19326 se puede poner como verdadero, o
19327 \begin_inset Flex Code
19330 \begin_layout Plain Layout
19340 e, para recuadros de estilos
19341 \begin_inset Flex Code
19344 \begin_layout Plain Layout
19355 \begin_inset Flex Code
19358 \begin_layout Plain Layout
19367 \begin_layout Description
19368 \begin_inset Flex Code
19371 \begin_layout Plain Layout
19378 \begin_inset Flex Code
19381 \begin_layout Plain Layout
19390 \begin_inset space \thinspace{}
19394 \begin_inset Flex Code
19397 \begin_layout Plain Layout
19403 ] Indica si se permiten múltiples párrafos en este recuadro.
19404 Además establecerá para CustomPars el mismo valor y para ForcePlain el
19406 Estos pueden modificarse a otros valores si se usan
19413 \begin_layout Description
19414 \begin_inset Flex Code
19417 \begin_layout Plain Layout
19424 \begin_inset Flex Code
19427 \begin_layout Plain Layout
19436 \begin_inset space \thinspace{}
19440 \begin_inset Flex Code
19443 \begin_layout Plain Layout
19449 ] Si los comandos frágiles deben o no ser
19450 \begin_inset Flex Code
19453 \begin_layout Plain Layout
19461 'ed en este recuadro.
19466 si el comando mismo debe ser protegido
19471 \begin_layout Description
19472 \begin_inset Flex Code
19475 \begin_layout Plain Layout
19482 \begin_inset Flex Code
19485 \begin_layout Plain Layout
19492 \begin_inset Flex Code
19495 \begin_layout Plain Layout
19504 \begin_layout Description
19505 \begin_inset Flex Code
19508 \begin_layout Plain Layout
19515 \begin_inset Flex Code
19518 \begin_layout Plain Layout
19525 \begin_inset Flex Code
19528 \begin_layout Plain Layout
19534 que ha recolocado este
19535 \begin_inset Flex Code
19538 \begin_layout Plain Layout
19545 Se usa para renombrar un
19546 \begin_inset Flex Code
19549 \begin_layout Plain Layout
19555 , mientras se mantiene compatibilidad hacia atrás.
19558 \begin_layout Description
19559 \begin_inset Flex Code
19562 \begin_layout Plain Layout
19569 \begin_inset Flex Code
19572 \begin_layout Plain Layout
19581 \begin_inset space \thinspace{}
19585 \begin_inset Flex Code
19588 \begin_layout Plain Layout
19594 ] Igual que para estilos de párrafo, véase
19595 \begin_inset CommandInset ref
19597 reference "subsec:Estilos-de-párrafo"
19602 Por omisión es falso.
19605 \begin_layout Description
19606 \begin_inset Flex Code
19609 \begin_layout Plain Layout
19618 \begin_inset Flex Code
19621 \begin_layout Plain Layout
19632 \begin_inset space \thinspace{}
19636 \begin_inset Flex Code
19639 \begin_layout Plain Layout
19645 ] Igual que para estilos de párrafo, véase
19646 \begin_inset CommandInset ref
19648 reference "subsec:Estilos-de-párrafo"
19655 \begin_layout Description
19656 \begin_inset Flex Code
19659 \begin_layout Plain Layout
19665 Igual que para estilos de párrafo, véase
19666 \begin_inset CommandInset ref
19668 reference "subsec:Estilos-de-párrafo"
19675 \begin_layout Description
19676 \begin_inset Flex Code
19679 \begin_layout Plain Layout
19686 \begin_inset Flex Code
19689 \begin_layout Plain Layout
19695 ] Prefijo a usar cuando se crean etiquetas que se refieren a recuadros de
19697 Esto permite el uso de referencias con formato.
19700 \begin_layout Description
19701 \begin_inset Flex Code
19704 \begin_layout Plain Layout
19711 \begin_inset Flex Code
19714 \begin_layout Plain Layout
19720 ] Igual que para estilos de párrafo, véase
19721 \begin_inset CommandInset ref
19723 reference "subsec:Estilos-de-párrafo"
19730 \begin_layout Description
19731 \begin_inset Flex Code
19734 \begin_layout Plain Layout
19741 \begin_inset Flex Code
19744 \begin_layout Plain Layout
19753 \begin_inset space \thinspace{}
19757 \begin_inset Flex Code
19760 \begin_layout Plain Layout
19766 ] Reinicia los argumentos \SpecialChar LaTeX
19767 de este formato (como se definen con
19768 \begin_inset Flex Code
19771 \begin_layout Plain Layout
19778 Es útil si has copiado un estilo con
19779 \begin_inset Flex Code
19782 \begin_layout Plain Layout
19788 , pero no quieres heredar sus argumentos (requerido y opcional).
19791 \begin_layout Description
19792 \begin_inset Flex Code
19795 \begin_layout Plain Layout
19802 \begin_inset Flex Code
19805 \begin_layout Plain Layout
19812 \begin_inset space \thinspace{}
19816 \begin_inset Flex Code
19819 \begin_layout Plain Layout
19827 ] Si este recuadro debería usar la tipografía de su entorno o la suya propia.
19828 Por omisión es la tipografía de su entorno.
19831 \begin_layout Description
19832 \begin_inset Flex Code
19835 \begin_layout Plain Layout
19842 \begin_inset Flex Code
19845 \begin_layout Plain Layout
19851 ] Secuencia que se pone al final del contenido del formato.
19852 Un salto de línea en la salida se indica con
19853 \begin_inset Flex Code
19856 \begin_layout Plain Layout
19865 \begin_layout Description
19866 \begin_inset Flex Code
19869 \begin_layout Plain Layout
19876 \begin_inset Flex Code
19879 \begin_layout Plain Layout
19886 \begin_inset space \thinspace{}
19890 \begin_inset Flex Code
19893 \begin_layout Plain Layout
19901 ] Revisar la ortografía del contenido del recuadro.
19905 \begin_layout Subsection
19907 \begin_inset CommandInset label
19909 name "subsec:Contadores"
19916 \begin_layout Standard
19917 Es necesario definir los contadores (
19918 \begin_inset Flex Noun
19921 \begin_layout Plain Layout
19928 \begin_inset Flex Noun
19931 \begin_layout Plain Layout
19937 , \SpecialChar ldots
19938 ) en la propia clase de texto.
19939 Los contadores estándar están definidos en el archivo
19940 \begin_inset Flex Code
19943 \begin_layout Plain Layout
19949 , de modo que no tienes más que añadir
19952 \begin_layout LyX-Code
19953 Input stdcounters.inc
19956 \begin_layout Standard
19957 en el archivo de formato para que funcionen.
19958 Pero si quieres puedes definir contadores personalizados.
19959 La declaración de un contador debe comenzar con:
19962 \begin_layout LyX-Code
19966 \begin_layout Standard
19968 \begin_inset Flex Code
19971 \begin_layout Plain Layout
19977 es el nombre del contador.
19978 Hay que terminar con
19979 \begin_inset Flex Code
19982 \begin_layout Plain Layout
19991 \begin_layout Standard
19992 Se pueden usar además los parámetros siguientes:
19995 \begin_layout Description
19996 \begin_inset Flex Code
19999 \begin_layout Plain Layout
20006 \begin_inset Flex Code
20009 \begin_layout Plain Layout
20015 ] Establece el valor inicial para el contador, al cuál se reiniciará cada
20016 vez que suceda esto.
20017 Normalmente será 1.
20020 \begin_layout Description
20021 \begin_inset Flex Code
20024 \begin_layout Plain Layout
20031 \begin_inset Flex Code
20034 \begin_layout Plain Layout
20040 =""] Si se define esta cadena, indica cómo se muestra el contador.
20041 Al establecer este valor también se da el mismo valor a
20042 \begin_inset Flex Code
20045 \begin_layout Plain Layout
20046 LabelStringAppendix
20052 Para los valores de 'string' se pueden usar las estructuras siguientes:
20056 \begin_layout Itemize
20057 \begin_inset Flex Code
20060 \begin_layout Plain Layout
20068 será reemplazado por la expansión de
20069 \begin_inset Flex Code
20072 \begin_layout Plain Layout
20079 \begin_inset Newline newline
20083 \begin_inset Flex Code
20086 \begin_layout Plain Layout
20087 LabelStringAppendix
20093 \begin_inset Flex Code
20096 \begin_layout Plain Layout
20106 \begin_layout Itemize
20107 los valores del contador pueden expresarse usando macros tipo \SpecialChar LaTeX
20109 \begin_inset Flex Code
20112 \begin_layout Plain Layout
20129 \begin_inset Flex Code
20132 \begin_layout Plain Layout
20144 \begin_layout Plain Layout
20145 En realidad la cosa es un poco más compleja: cualquier
20149 distinto de los descritos a continuación generará números arábigos.
20150 No sería sorprendenta ver este cambio en el futuro.
20156 \begin_inset Flex Code
20159 \begin_layout Plain Layout
20165 : 1, 2, 3,\SpecialChar ldots
20167 \begin_inset Flex Code
20170 \begin_layout Plain Layout
20176 para minúsculas: a, b, c, \SpecialChar ldots
20178 \begin_inset Flex Code
20181 \begin_layout Plain Layout
20187 para mayúsculas: A, B, C, \SpecialChar ldots
20189 \begin_inset Flex Code
20192 \begin_layout Plain Layout
20198 números romanos en minúscula: i, ii, iii, \SpecialChar ldots
20203 \begin_layout Plain Layout
20209 \begin_inset space \thinspace{}
20217 \begin_inset Flex Code
20220 \begin_layout Plain Layout
20235 \begin_inset Flex Code
20238 \begin_layout Plain Layout
20252 los transforma automáticamente en versalitas
20257 , ya que los romanos en minúscula no se usan en español.
20264 \begin_inset Flex Code
20267 \begin_layout Plain Layout
20273 para romanos en mayúsculas: I, II, III\SpecialChar ldots
20275 \begin_inset Flex Code
20278 \begin_layout Plain Layout
20284 para números hebreos.
20288 \begin_layout Standard
20290 \begin_inset Flex Code
20293 \begin_layout Plain Layout
20299 , se construye un valor por omisión así: si el contador tiene un contador
20301 \begin_inset Flex Code
20304 \begin_layout Plain Layout
20311 \begin_inset Flex Code
20314 \begin_layout Plain Layout
20320 ), se usa la cadena
20321 \begin_inset Flex Code
20324 \begin_layout Plain Layout
20334 ; si no, se usa la cadena
20335 \begin_inset Flex Code
20338 \begin_layout Plain Layout
20349 \begin_layout Description
20350 \begin_inset Flex Code
20353 \begin_layout Plain Layout
20354 LabelStringAppendix
20360 \begin_inset Flex Code
20363 \begin_layout Plain Layout
20370 \begin_inset Flex Code
20373 \begin_layout Plain Layout
20379 , pero para el apéndice.
20382 \begin_layout Description
20383 \begin_inset Flex Code
20386 \begin_layout Plain Layout
20393 \begin_inset Flex Code
20396 \begin_layout Plain Layout
20403 \begin_inset Quotes erd
20407 \begin_inset Quotes erd
20410 ] Un formato para usar con las referencias a este contador.
20411 Por ejemplo, podríamos querer las referencias a los números de sección
20413 \begin_inset Quotes cld
20417 \begin_inset space ~
20421 \begin_inset Quotes crd
20425 La secuencia debería contener
20426 \begin_inset Quotes eld
20430 \begin_inset Quotes erd
20434 Esto será reemplazado por el número correspondiente del contador.
20435 Así pues, para secciones sería: Section ##.
20438 \begin_layout Description
20439 \begin_inset Flex Code
20442 \begin_layout Plain Layout
20449 \begin_inset Flex Code
20452 \begin_layout Plain Layout
20458 =""] Si esto se establece para el nombre de otro contador, el presente contador
20459 se reiniciará cada vez que el otro aumente.
20461 \begin_inset Flex Code
20464 \begin_layout Plain Layout
20470 se numera dentro de
20471 \begin_inset Flex Code
20474 \begin_layout Plain Layout
20483 \begin_layout Subsection
20484 Descripción de la tipografía
20485 \begin_inset CommandInset label
20487 name "subsec:Tipografía"
20494 \begin_layout Standard
20495 Una descripción de una tipografía se ve así:
20498 \begin_layout LyX-Code
20512 \begin_layout LyX-Code
20516 \begin_layout LyX-Code
20520 \begin_layout Standard
20521 Están disponibles los comandos siguientes:
20524 \begin_layout Description
20525 \begin_inset Flex Code
20528 \begin_layout Plain Layout
20535 \begin_inset Flex Code
20538 \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
20727 \begin_inset Flex Code
20730 \begin_layout Plain Layout
20739 \begin_layout Description
20740 \begin_inset Flex Code
20743 \begin_layout Plain Layout
20752 \begin_inset Flex Code
20755 \begin_layout Plain Layout
20766 \begin_inset Flex Code
20769 \begin_layout Plain Layout
20776 \begin_inset Flex Code
20779 \begin_layout Plain Layout
20788 \begin_layout Description
20789 \begin_inset Flex Code
20792 \begin_layout Plain Layout
20799 \begin_inset Flex Code
20802 \begin_layout Plain Layout
20808 ] Son argumentos válidos:
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 \begin_inset Flex Code
20922 \begin_layout Plain Layout
20929 Cada uno de ellos activa o desactiva el atributo correspondiente.
20931 \begin_inset Flex Code
20934 \begin_layout Plain Layout
20941 \begin_inset Flex Code
20944 \begin_layout Plain Layout
20951 \begin_inset Newline newline
20954 Si esto último parece superfluo, recordemos que la configuración de tipografías
20955 para el presente contexto se hereda generalmente del contexto circundante.
20957 \begin_inset Flex Code
20960 \begin_layout Plain Layout
20966 desactivaría el énfasis que estaba vigente, digamos, en un entorno teorema.
20969 \begin_layout Description
20970 \begin_inset Flex Code
20973 \begin_layout Plain Layout
20982 \begin_inset Flex Code
20985 \begin_layout Plain Layout
20996 \begin_inset Flex Code
20999 \begin_layout Plain Layout
21008 \begin_layout Description
21009 \begin_inset Flex Code
21012 \begin_layout Plain Layout
21021 \begin_inset Flex Code
21024 \begin_layout Plain Layout
21035 \begin_inset Flex Code
21038 \begin_layout Plain Layout
21045 \begin_inset Flex Code
21048 \begin_layout Plain Layout
21055 \begin_inset Flex Code
21058 \begin_layout Plain Layout
21067 \begin_layout Description
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
21098 \begin_inset Flex Code
21101 \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
21150 \begin_inset Flex Code
21153 \begin_layout Plain Layout
21162 \begin_layout Subsection
21165 \begin_inset CommandInset label
21167 name "subsec:Citation-engine-description"
21171 Citation engine description
21174 \begin_layout Standard
21178 \begin_inset Flex Code
21181 \begin_layout Plain Layout
21189 blocks, as used mainly in cite engine files (see
21190 \begin_inset CommandInset ref
21192 reference "subsec:Cite-Engine-Files"
21199 ), define the citation commands provided by a specific
21200 \begin_inset Quotes eld
21204 \begin_inset Quotes erd
21208 A cite engine, in \SpecialChar LyX
21209 terms, is way specific way to format citations, using
21210 numbers, author names and/or years.
21211 Currently, \SpecialChar LyX
21212 supports three such engine types, namely:
21215 \begin_layout Enumerate
21218 \begin_inset Flex Code
21221 \begin_layout Plain Layout
21229 : the default Bib\SpecialChar TeX
21230 way to format citations, a simple numeric style (e.
21231 \begin_inset space \thinspace{}
21235 \begin_inset Quotes eld
21239 \begin_inset Quotes erd
21245 \begin_layout Enumerate
21248 \begin_inset Flex Code
21251 \begin_layout Plain Layout
21259 : Harvard-styled citations using author names and publication year (e.
21260 \begin_inset space \thinspace{}
21264 \begin_inset Quotes eld
21267 Smith and Miller (2017b)
21268 \begin_inset Quotes erd
21274 \begin_layout Enumerate
21277 \begin_inset Flex Code
21280 \begin_layout Plain Layout
21288 : extended numerical citations that also allow for author or title next
21290 \begin_inset space \thinspace{}
21294 \begin_inset Quotes eld
21297 Smith and Miller [1]
21298 \begin_inset Quotes erd
21304 \begin_layout Standard
21307 \begin_inset Flex Code
21310 \begin_layout Plain Layout
21318 blocks look like this:
21321 \begin_layout LyX-Code
21327 \begin_layout LyX-Code
21333 \begin_layout LyX-Code
21339 \begin_layout LyX-Code
21342 citeyearpar[][]=parencite*
21345 \begin_layout LyX-Code
21351 \begin_layout LyX-Code
21357 \begin_layout Standard
21361 \begin_inset Flex Code
21364 \begin_layout Plain Layout
21372 denotes the engine.
21373 The individual lines respectively define a cite command or cite command
21374 paradigm supported by this engine.
21375 The line can be as simple as a cite command that is used both to name the
21376 respective \SpecialChar LyX
21377 command and the \SpecialChar LaTeX
21378 output or more complex in order to differentiate
21380 The full syntax is:
21383 \begin_layout LyX-Code
21386 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
21389 \begin_layout Itemize
21392 \begin_inset Flex Code
21395 \begin_layout Plain Layout
21403 : The name as used in the
21404 \begin_inset Flex Code
21407 \begin_layout Plain Layout
21419 \begin_layout Standard
21422 For portability reasons, we try to use the same name for same-formatted
21423 commands in different cite packages (thus many names stem from natbib,
21424 and thus we need to differentiate a
21425 \begin_inset Flex Code
21428 \begin_layout Plain Layout
21436 sometimes, if the \SpecialChar LaTeX
21437 command names differ).
21441 \begin_layout Itemize
21444 \begin_inset Flex Code
21447 \begin_layout Plain Layout
21455 : a (comma-separated) list of commands that fall back to the given
21456 \begin_inset Flex Code
21459 \begin_layout Plain Layout
21467 in the current engine.
21468 This eases the switch of citation packages and engines.
21470 \begin_inset Flex Code
21473 \begin_layout Plain Layout
21482 \begin_inset Flex Code
21485 \begin_layout Plain Layout
21493 in layout definitions.
21496 \begin_layout Itemize
21499 \begin_inset Flex Code
21502 \begin_layout Plain Layout
21510 : The actual \SpecialChar LaTeX
21511 command that is output.
21515 \begin_layout Standard
21518 \begin_inset Flex Code
21521 \begin_layout Plain Layout
21530 \begin_inset Flex Code
21533 \begin_layout Plain Layout
21543 \begin_inset Flex Code
21546 \begin_layout Plain Layout
21555 \begin_inset Flex Code
21558 \begin_layout Plain Layout
21566 will be output to \SpecialChar LaTeX
21570 \begin_layout Standard
21576 \begin_layout Itemize
21579 Capitalization indicates that the command also has a capitalized form (
21580 \begin_inset Flex Code
21583 \begin_layout Plain Layout
21595 \begin_inset Flex Code
21598 \begin_layout Plain Layout
21609 These usually enforce up-casing of name prefixes (
21614 \begin_inset Formula $\Rightarrow$
21624 \begin_layout Itemize
21628 \begin_inset Flex Code
21631 \begin_layout Plain Layout
21639 indicate the number of optional arguments (there can be 0–2).
21642 \begin_layout Itemize
21646 \begin_inset Flex Code
21649 \begin_layout Plain Layout
21657 indicates there is a starred version of the command (
21658 \begin_inset Flex Code
21661 \begin_layout Plain Layout
21673 \begin_inset Flex Code
21676 \begin_layout Plain Layout
21691 \begin_layout Standard
21694 By default, the starred version means: Output all authors even if it should
21696 \begin_inset Quotes eld
21700 \begin_inset Quotes erd
21704 \begin_inset Flex Code
21707 \begin_layout Plain Layout
21718 \begin_layout Standard
21721 If the star has a different meaning for a given command, it can be specified
21723 \begin_inset Flex Code
21726 \begin_layout Plain Layout
21729 <!_stardesc!_stardesctooltip>
21735 Maximal two translatable macro keywords, marked by the prefix
21736 \begin_inset Flex Code
21739 \begin_layout Plain Layout
21748 The first points to the string that replaces the
21749 \begin_inset Quotes eld
21753 \begin_inset Quotes erd
21756 checkbox label in the citation dialog, the second one to an optional tool
21757 tip for this checkbox.
21761 \begin_layout Standard
21764 Note that these two macros have to be defined in a
21765 \begin_inset Flex Code
21768 \begin_layout Plain Layout
21776 (see next section), dropping the
21777 \begin_inset Flex Code
21780 \begin_layout Plain Layout
21788 from the prefix, like this:
21791 \begin_layout LyX-Code
21794 _stardesc Sta&rred command label
21797 \begin_layout LyX-Code
21800 _stardesctooltip Tooltip for the starred command checkbox.
21804 \begin_layout Itemize
21808 \begin_inset Flex Code
21811 \begin_layout Plain Layout
21819 indicates that this command features
21820 \begin_inset Quotes eld
21823 qualified citation lists
21824 \begin_inset Quotes erd
21832 -specific feature for multi-reference citations where an individual pre-
21833 and postnote can be given to each reference in the list.
21834 Please refer to the
21838 manual for details.
21841 \begin_layout Subsection
21842 \begin_inset CommandInset label
21844 name "subsec:Descripción-formato-cita"
21848 Descripción del formato de cita
21851 \begin_layout Standard
21853 \begin_inset Flex Code
21856 \begin_layout Plain Layout
21862 se usan para describir la forma en que debe mostrarse la información bibliográf
21863 ica, tanto en \SpecialChar LyX
21864 (en el diálogo de citas y en las ayudas emergentes, por ejemplo)
21865 como en la salida XHTML.
21866 El aspecto de unode estos bloques podría ser este:
21869 \begin_layout LyX-Code
21873 \begin_layout LyX-Code
21877 \begin_layout LyX-Code
21881 \begin_layout LyX-Code
21885 \begin_layout Standard
21891 \begin_layout LyX-Code
21897 \begin_layout LyX-Code
21903 \begin_layout LyX-Code
21909 \begin_layout LyX-Code
21915 \begin_layout Standard
21918 In the first case, the individual lines
21920 definen cómo se va a mostrar la información bibliográfica asociada con un
21921 artículo o libro, respectivamente, y tales definiciones se pueden dar para
21922 cualquier `tipo de entrada' que pudiera estar presente en un archivo Bib\SpecialChar TeX
21925 define un formato por omsión en el código fuente que se usará si no se
21926 da una definición específica.
21928 predefine varios formatos en el archivo
21929 \begin_inset Flex Code
21932 \begin_layout Plain Layout
21938 , que se incluye en la mayoría de las clases de documento de \SpecialChar LyX
21942 \begin_layout Standard
21945 In the second case, the lines define how a specific citation command (in
21947 \begin_inset Flex Code
21950 \begin_layout Plain Layout
21961 \begin_inset Flex Code
21964 \begin_layout Plain Layout
21974 ) is to be displayed on the citation inset label, in the citation dialog,
21975 menu or XHTML output.
21977 defines such formats for the citation style variants it supports via
21979 Document\SpecialChar menuseparator
21980 Setting\SpecialChar menuseparator
21981 Bibliography\SpecialChar ldots
21985 \begin_inset Flex Code
21988 \begin_layout Plain Layout
21996 files that are shipped with \SpecialChar LyX
21998 \begin_inset CommandInset ref
22000 reference "subsec:Cite-Engine-Files"
22010 \begin_layout Standard
22011 Las definiciones usan un lenguaje simple que permite reemplazar las claves
22012 Bib\SpecialChar TeX
22014 Las claves deben encerrarse entre símbolos
22015 \begin_inset Flex Code
22018 \begin_layout Plain Layout
22025 \begin_inset space \thinspace{}
22029 \begin_inset Flex Code
22032 \begin_layout Plain Layout
22039 Así, una simple definición sería:
22042 \begin_layout LyX-Code
22044 \begin_inset Quotes eld
22048 \begin_inset Quotes erd
22054 \begin_layout Standard
22055 Esto imprimiría el autor, una coma, a continuación el título entre comillas
22056 y un punto para finalizar.
22059 \begin_layout Standard
22060 A veces querrás, por supuesto, imprimir una clave solo si existe.
22061 Esto puede hacerse mediante una construcción condicional tal como:
22062 \begin_inset Flex Code
22065 \begin_layout Plain Layout
22067 \begin_inset space ~
22075 , que quiere decir: si la clave
22076 \begin_inset Flex Code
22079 \begin_layout Plain Layout
22086 \begin_inset Quotes eld
22090 \begin_inset space ~
22094 \begin_inset Quotes erd
22097 seguido de la clave.
22098 También es posible tener una cláusula de otro modo en el condicional, como:
22099 \begin_inset Newline newline
22103 \begin_inset Flex Code
22106 \begin_layout Plain Layout
22107 {%author%[[%author%]][[%editor%, ed.]]}
22113 \begin_inset Newline newline
22117 \begin_inset Flex Code
22120 \begin_layout Plain Layout
22126 se imprime si existe; por otra parte, se imprime la clave
22127 \begin_inset Flex Code
22130 \begin_layout Plain Layout
22137 \begin_inset Quotes eld
22141 \begin_inset space ~
22145 \begin_inset Quotes erd
22149 Advierte que la clave se encierra entre signos
22150 \begin_inset Flex Code
22153 \begin_layout Plain Layout
22159 ; el condicional entero se encierra entre llaves; y las cláusulas condicional
22160 y por otra parte se ponen entre cobles corchetes,
22161 \begin_inset Quotes eld
22165 \begin_inset Flex Code
22168 \begin_layout Plain Layout
22175 \begin_inset Quotes eld
22179 \begin_inset Quotes eld
22183 \begin_inset Flex Code
22186 \begin_layout Plain Layout
22193 \begin_inset Quotes erd
22197 No debe haber espacios entre ninguno de ellos.
22200 \begin_layout Standard
22203 Next to the entry keys, there are some special keys that can be used for
22204 these conditionals:
22207 \begin_layout Itemize
22210 \begin_inset Flex Code
22213 \begin_layout Plain Layout
22216 {%dialog%[[true]][[false]]}
22222 \begin_inset Quotes eld
22226 \begin_inset Quotes erd
22229 part for dialogs and menus, the
22230 \begin_inset Quotes eld
22234 \begin_inset Quotes erd
22237 part for other contexts (workarea, export)
22240 \begin_layout Itemize
22243 \begin_inset Flex Code
22246 \begin_layout Plain Layout
22249 {%export%[[true]][[false]]}
22255 \begin_inset Quotes eld
22259 \begin_inset Quotes erd
22262 part for export and menus, the
22263 \begin_inset Quotes eld
22267 \begin_inset Quotes erd
22270 part for other contexts (workarea, dialog)
22273 \begin_layout Itemize
22276 \begin_inset Flex Code
22279 \begin_layout Plain Layout
22288 \begin_inset Quotes eld
22292 \begin_inset Quotes erd
22295 part if another item follows (e.
22296 \begin_inset space \thinspace{}
22299 g., in a citation with multiple keys)
22302 \begin_layout Itemize
22305 \begin_inset Flex Code
22308 \begin_layout Plain Layout
22311 {%second%[[true]][[false]]}
22317 \begin_inset Quotes eld
22321 \begin_inset Quotes erd
22324 if this is the second of multiple items, else the
22325 \begin_inset Quotes eld
22329 \begin_inset Quotes erd
22335 \begin_layout Itemize
22338 \begin_inset Flex Code
22341 \begin_layout Plain Layout
22344 {%ifstar%[[true]][[false]]}
22350 \begin_inset Quotes eld
22354 \begin_inset Quotes erd
22357 part for starred citation commands (such as
22358 \begin_inset Flex Code
22361 \begin_layout Plain Layout
22371 ), the false part for unstarred
22374 \begin_layout Itemize
22377 \begin_inset Flex Code
22380 \begin_layout Plain Layout
22383 {%ifentrytype:<type>%[[true]][[false]]}
22389 \begin_inset Quotes eld
22393 \begin_inset Quotes erd
22396 if the current entry type matches
22397 \begin_inset Flex Code
22400 \begin_layout Plain Layout
22408 , else the false part (e.g., in a citation definition:
22409 \begin_inset Flex Code
22412 \begin_layout Plain Layout
22415 {%ifentrytype:book%[[this is a book]][[this is no book]]}
22423 \begin_layout Itemize
22426 \begin_inset Flex Code
22429 \begin_layout Plain Layout
22432 {%ifmultiple:<authortype>%[[true]][[false]]}
22438 \begin_inset Quotes eld
22442 \begin_inset Quotes erd
22445 if the current author type (author, editor etc.) has multiple authors, else
22446 the false part (e.g., in a bibliography definition:
22447 \begin_inset Flex Code
22450 \begin_layout Plain Layout
22453 {%ifmultiple:editor%[[eds.]][[ed.]]}
22461 \begin_layout Itemize
22464 \begin_inset Flex Code
22467 \begin_layout Plain Layout
22470 {%ifqualified%[[true]][[false]]}
22476 \begin_inset Quotes eld
22480 \begin_inset Quotes erd
22483 part if the current citation is a qualified citation list (a specific
22487 format for multi-reference citations), the false part if this is not the
22491 \begin_layout Standard
22495 \begin_inset Flex Code
22498 \begin_layout Plain Layout
22506 prints the author key as it is recorded in the bibliography file.
22507 This might not be what you want, since it will result in a string such
22509 \begin_inset Quotes eld
22512 Miller, Peter and Smith, Mary and White, Jane
22513 \begin_inset Quotes erd
22517 \begin_inset Quotes eld
22521 \begin_inset Quotes erd
22524 is used by Bib\SpecialChar TeX
22525 to delimit authors).
22527 therefore provides some methods to get properly formatted name lists (which
22528 will also get translated).
22529 The following keys are provided:
22532 \begin_layout Enumerate
22535 For name lists with pre- and surname, suitable for the main authors/editors
22536 of a bibliography item.
22538 \begin_inset Flex Code
22541 \begin_layout Plain Layout
22549 part denotes the kind of list that is requested (e.g.
22551 \begin_inset Flex Code
22554 \begin_layout Plain Layout
22566 \begin_layout Itemize
22569 \begin_inset Flex Code
22572 \begin_layout Plain Layout
22575 %abbrvnames:<nametype>%
22580 : Provides a name list which is abbreviated (with
22581 \begin_inset Quotes eld
22585 \begin_inset Quotes erd
22589 \begin_inset Flex Code
22592 \begin_layout Plain Layout
22603 \begin_layout Itemize
22606 \begin_inset Flex Code
22609 \begin_layout Plain Layout
22612 %fullnames:<nametype>%
22617 : Provides a full name list (never abbreviated with
22618 \begin_inset Quotes eld
22622 \begin_inset Quotes erd
22628 \begin_layout Itemize
22631 \begin_inset Flex Code
22634 \begin_layout Plain Layout
22637 %forceabbrvnames:<nametype>%
22642 : Provides a name list which is always abbreviated (with
22643 \begin_inset Quotes eld
22647 \begin_inset Quotes erd
22651 \begin_inset Flex Code
22654 \begin_layout Plain Layout
22666 \begin_layout Enumerate
22669 Alternative name lists with pre- and surname, if the order of pre- and surname
22670 inside the bibliography item differs (as in:
22671 \begin_inset Quotes eld
22674 Miller, John: Some text, in: Mary Smith, ed.: A volume
22675 \begin_inset Quotes erd
22682 \begin_layout Itemize
22685 \begin_inset Flex Code
22688 \begin_layout Plain Layout
22691 %abbrvbynames:<nametype>%
22696 : Provides a name list which is abbreviated (with
22697 \begin_inset Quotes eld
22701 \begin_inset Quotes erd
22705 \begin_inset Flex Code
22708 \begin_layout Plain Layout
22719 \begin_layout Itemize
22722 \begin_inset Flex Code
22725 \begin_layout Plain Layout
22728 %fullbynames:<nametype>%
22733 : Provides a full name list (never abbreviated with
22734 \begin_inset Quotes eld
22738 \begin_inset Quotes erd
22744 \begin_layout Itemize
22747 \begin_inset Flex Code
22750 \begin_layout Plain Layout
22753 %forceabbrvbynames:<nametype>%
22758 : Provides a name list which is always abbreviated (with
22759 \begin_inset Quotes eld
22763 \begin_inset Quotes erd
22767 \begin_inset Flex Code
22770 \begin_layout Plain Layout
22782 \begin_layout Enumerate
22785 And finally name lists which consist of family names only, as used in author-yea
22787 these do not take a
22788 \begin_inset Flex Code
22791 \begin_layout Plain Layout
22799 part, but always return either an author list or, if this does not exist,
22800 an editor list (as common in author-year labels):
22804 \begin_layout Itemize
22807 \begin_inset Flex Code
22810 \begin_layout Plain Layout
22818 : Provides a name list which is abbreviated (with
22819 \begin_inset Quotes eld
22823 \begin_inset Quotes erd
22827 \begin_inset Flex Code
22830 \begin_layout Plain Layout
22841 \begin_layout Itemize
22844 \begin_inset Flex Code
22847 \begin_layout Plain Layout
22855 : Provides a full name list (never abbreviated with
22856 \begin_inset Quotes eld
22860 \begin_inset Quotes erd
22866 \begin_layout Itemize
22869 \begin_inset Flex Code
22872 \begin_layout Plain Layout
22875 %forceabbrvciteauthor%
22880 : Provides a name list which is always abbreviated (with
22881 \begin_inset Quotes eld
22885 \begin_inset Quotes erd
22889 \begin_inset Flex Code
22892 \begin_layout Plain Layout
22904 \begin_layout Standard
22907 The order of pre- and surname in the former two lists can be adjusted by
22911 \begin_layout Itemize
22914 \begin_inset Flex Code
22917 \begin_layout Plain Layout
22920 !firstnameform %surname%, %prename%
22925 (first author in lists of type 1)
22928 \begin_layout Itemize
22931 \begin_inset Flex Code
22934 \begin_layout Plain Layout
22937 !othernameform %surname%, %prename%
22942 (other authors in lists of type 1)
22945 \begin_layout Itemize
22948 \begin_inset Flex Code
22951 \begin_layout Plain Layout
22954 !firstbynameform %prename% %surname%
22959 (first author in lists of type 2)
22962 \begin_layout Itemize
22965 \begin_inset Flex Code
22968 \begin_layout Plain Layout
22971 !otherbynameform %prename% %surname%
22976 (other authors in lists of type 2)
22979 \begin_layout Standard
22982 This allows you to configure namings like
22983 \begin_inset Quotes eld
22986 Miller, Peter and Mary Smith: \SpecialChar ldots
22987 , in: John Doe and Pat Green, eds.:\SpecialChar ldots
22989 \begin_inset Quotes erd
22995 \begin_layout Standard
22996 Hay otra pieza de sintaxis disponible en las definiciones, como esta:
22997 \begin_inset Flex Code
23000 \begin_layout Plain Layout
23007 Define una pieza de información para ser usada cuando creamos
23008 \begin_inset Quotes eld
23012 \begin_inset Quotes erd
23016 Obviamente, no queremos etiquetas HTML cuando escribimos texto sencillo,
23017 por tanto deben ponerse entre
23018 \begin_inset Quotes eld
23022 \begin_inset Quotes erd
23026 \begin_inset Quotes eld
23030 \begin_inset Quotes erd
23036 \begin_layout Standard
23037 Además, hay dos clases especiales de definiciones disponibles en un bloque
23039 \begin_inset Flex Code
23042 \begin_layout Plain Layout
23049 Un ejemplo de la primera sería:
23052 \begin_layout LyX-Code
23054 \begin_inset Quotes eld
23058 \begin_inset Quotes erd
23064 \begin_layout Standard
23065 Esto es una abreviación, o macro, y se puede usar tratándola como si fuera
23067 \begin_inset Flex Code
23070 \begin_layout Plain Layout
23079 \begin_inset Flex Code
23082 \begin_layout Plain Layout
23088 exactamente como trataría su definición.
23089 Por tanto, permítenos un
23097 \begin_layout LyX-Code
23101 \begin_layout Standard
23104 no caería en un bucle infinito, pero sí en uno muy largo.
23107 \begin_layout Standard
23108 El segundo tipo especial de definición sería como:
23111 \begin_layout LyX-Code
23115 \begin_layout Standard
23116 Esto define un trozo de texto traducible, que permite traducir partes relevantes
23117 de la bibliografía o de la cita.
23118 Puede incluirse en una definición tratándolo como una clave:
23119 \begin_inset Flex Code
23122 \begin_layout Plain Layout
23131 Note that there are two different translation paths: All definitions starting
23133 \begin_inset Flex Code
23136 \begin_layout Plain Layout
23144 , such as in the example above, will be translated to the currently active
23145 buffer language (so the translation will match the generated document).
23146 All definitions starting with underscore only will be translated to the
23148 This is the proper translation for strings that only occur in the dialogs
23149 or on buttons, such as this one:
23152 \begin_layout LyX-Code
23155 _addtobib Add to bibliography only.
23158 \begin_layout Standard
23159 Varios de estos cadenas de caracteres traducible están predefinidos en
23160 \begin_inset Flex Code
23163 \begin_layout Plain Layout
23169 y en los diversos archivos
23170 \begin_inset Flex Code
23173 \begin_layout Plain Layout
23180 Advertiremos que no son macros en el sentido definido.
23184 \begin_layout Standard
23185 Aquí hay, pues, un ejemplo que usa varias estas características:
23186 \begin_inset VSpace defskip
23192 \begin_layout Standard
23196 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %B_edtext%, ]]}]]}
23199 \begin_layout Standard
23200 \begin_inset VSpace defskip
23203 Así definimos una macro que imprime el autor seguido de coma, si la clave
23205 \begin_inset Flex Code
23208 \begin_layout Plain Layout
23214 está definida, o imprime el nombre del editor seguido por el texto
23215 \begin_inset Flex Code
23218 \begin_layout Plain Layout
23224 o su traducción (por omisión
23225 \begin_inset Quotes eld
23229 \begin_inset Quotes erd
23233 \begin_inset Flex Code
23236 \begin_layout Plain Layout
23243 De hecho, esto está definido en
23244 \begin_inset Flex Code
23247 \begin_layout Plain Layout
23253 , por tanto puedes usarlo en tus propias definiciones o redefiniciones,
23254 si cargas antes ese archivo.
23257 \begin_layout Section
23258 Etiquetas para la salida XHTML
23259 \begin_inset CommandInset label
23261 name "sec:Etiquetas-para-XHTML"
23268 \begin_layout Standard
23269 Como para \SpecialChar LaTeX
23270 o DocBook, el formato de salida XHTML en \SpecialChar LyX
23271 también se controla
23272 mediante la información contenida en archivos de formato.
23273 En general, \SpecialChar LyX
23274 provee valores predefinidos sensatos y, como se mencionó anteriorm
23275 ente, incluso construirá reglas de estilo CSS a partir de las otras etiquetas
23277 Por ejemplo, \SpecialChar LyX
23278 intentará usar la información proporcionada por la declaración
23280 \begin_inset Flex Code
23283 \begin_layout Plain Layout
23289 para el estilo Chapter para escribir CSS que formateará adecuadamente los
23290 encabezados de capítulo.
23293 \begin_layout Standard
23294 En muchos casos, por tanto, no tendrás que hacer nada para obtener una aceptable
23295 salida XHTML para tus propios entornos, recuadros personalizados y cosas
23297 Pero en ciertos casos querrás hacer cambios, y para eso \SpecialChar LyX
23299 número de etiquetas de formato que se pueden usar para personalizar los
23300 XHTML y CSS generados.
23303 \begin_layout Standard
23304 Advertimos que hay dos etiquetas,
23305 \begin_inset Flex Code
23308 \begin_layout Plain Layout
23315 \begin_inset Flex Code
23318 \begin_layout Plain Layout
23324 que pueden aparecer fuera de las declaraciones de estilos y recuadros.
23326 \begin_inset CommandInset ref
23328 reference "subsec:Parámetros-generales-clases"
23332 para detalles sobre esto.
23335 \begin_layout Subsection
23337 \begin_inset CommandInset label
23339 name "subsec:Estilos-de-párrafo-XHTML"
23346 \begin_layout Standard
23347 El tipo de XHTML que genera \SpecialChar LyX
23348 para un párrafo depende de si se trata de un
23349 párrafo normal, de un comando o de un entorno, en los que esto se determina
23350 por el contenido de la correspondiente etiqueta
23351 \begin_inset Flex Code
23354 \begin_layout Plain Layout
23365 \begin_layout Standard
23366 Para un comando o párrafo, la salida XHTML tiene la forma siguiente:
23369 \begin_layout LyX-Code
23373 \begin_inset Quotes erd
23377 \begin_inset Quotes erd
23383 \begin_layout LyX-Code
23387 \begin_inset Quotes erd
23391 \begin_inset Quotes erd
23397 \begin_layout LyX-Code
23400 Contents of the paragraph.
23403 \begin_layout LyX-Code
23409 \begin_layout Standard
23410 Por supuesto, `label tags´ se omiten si el párrafo no tiene etiqueta.
23413 \begin_layout Standard
23414 Para un entorno que no sea algún tipo de lista, XHTML toma la forma:
23417 \begin_layout LyX-Code
23421 \begin_inset Quotes erd
23425 \begin_inset Quotes erd
23431 \begin_layout LyX-Code
23435 \begin_inset Quotes erd
23439 \begin_inset Quotes erd
23443 \begin_inset Quotes erd
23447 \begin_inset Quotes erd
23450 >Environment Label</labeltag>First paragraph.</itemtag>
23453 \begin_layout LyX-Code
23456 <itemtag>Second paragraph.</itemtag>
23459 \begin_layout LyX-Code
23465 \begin_layout Standard
23466 La etiqueta se genera solo para el primer párrafo, como debería ser, por
23467 ejemplo, para un teorema.
23471 \begin_layout Standard
23472 Para una lista disponemos de una de estas formas:
23475 \begin_layout LyX-Code
23479 \begin_inset Quotes erd
23483 \begin_inset Quotes erd
23489 \begin_layout LyX-Code
23493 \begin_inset Quotes erd
23497 \begin_inset Quotes erd
23501 \begin_inset Quotes erd
23505 \begin_inset Quotes erd
23508 >List Label</labeltag>First item.</itemtag>
23511 \begin_layout LyX-Code
23515 \begin_inset Quotes erd
23519 \begin_inset Quotes erd
23523 \begin_inset Quotes erd
23527 \begin_inset Quotes erd
23530 >List Label</labeltag>Second item.</itemtag>
23533 \begin_layout LyX-Code
23539 \begin_layout LyX-Code
23543 \begin_layout LyX-Code
23547 \begin_inset Quotes erd
23551 \begin_inset Quotes erd
23557 \begin_layout LyX-Code
23561 \begin_inset Quotes erd
23565 \begin_inset Quotes erd
23568 >List Label</labeltag><itemtag attr=
23569 \begin_inset Quotes erd
23573 \begin_inset Quotes erd
23576 >First item.</itemtag>
23579 \begin_layout LyX-Code
23583 \begin_inset Quotes erd
23587 \begin_inset Quotes erd
23590 >List Label</labeltag><itemtag attr=
23591 \begin_inset Quotes erd
23595 \begin_inset Quotes erd
23598 >Second item.</itemtag>
23601 \begin_layout LyX-Code
23607 \begin_layout Standard
23608 Observa los diferentes órdenes de
23609 \begin_inset Flex Code
23612 \begin_layout Plain Layout
23619 \begin_inset Flex Code
23622 \begin_layout Plain Layout
23629 El orden que obtenemos depende del ajuste de
23630 \begin_inset Flex Code
23633 \begin_layout Plain Layout
23640 \begin_inset Flex Code
23643 \begin_layout Plain Layout
23649 es falso (por omisión), se obtiene el primero de ellos, con la etiqueta
23650 dentro del ítem; si verdadero, se obtiene el segundo, con la etiqueta fuera
23654 \begin_layout Standard
23655 Las etiquetas específicas y la salida de los atributos para cada tipo de
23656 párrafo puede ser controlado por medio de las etiquetas de formato que
23658 Como mencionamos antes, sin embargo, \SpecialChar LyX
23659 usa predefinidos adecuados para muchos
23660 de estos valores, por lo que generalmente no necesitarás hacer nada para
23661 obtener una buena salida XHTML.
23662 Partiendo de las etiquetas ya disponibles puedes afinar las cosas a tu
23666 \begin_layout Description
23667 \begin_inset Flex Code
23670 \begin_layout Plain Layout
23677 \begin_inset Flex Code
23680 \begin_layout Plain Layout
23686 ] Especifica información de los atributos a entregar con la etiqueta principal.
23688 \begin_inset Quotes eld
23692 \begin_inset Flex Code
23695 \begin_layout Plain Layout
23702 \begin_inset Quotes erd
23706 Por omisión, \SpecialChar LyX
23708 \begin_inset Quotes eld
23712 \begin_inset Flex Code
23715 \begin_layout Plain Layout
23722 \begin_inset Quotes erd
23726 \begin_inset Flex Code
23729 \begin_layout Plain Layout
23735 es el nombre del formato en \SpecialChar LyX
23736 , en minúsculas, por ejemplo: chapter.
23741 debería contener ninguna información de estilo.
23743 \begin_inset Flex Code
23746 \begin_layout Plain Layout
23752 para ese propósito.
23755 \begin_layout Description
23756 \begin_inset Flex Code
23759 \begin_layout Plain Layout
23766 \begin_inset Flex Code
23769 \begin_layout Plain Layout
23778 \begin_inset space \thinspace{}
23782 \begin_inset Flex Code
23785 \begin_layout Plain Layout
23791 ] Si producir la información CSS predeterminada que \SpecialChar LyX
23792 genera para este formato,
23793 incluso si se proporciona explícitamente información adicional mediante
23795 \begin_inset Flex Code
23798 \begin_layout Plain Layout
23806 \begin_inset Flex Code
23809 \begin_layout Plain Layout
23815 permite alterar o aumentar el CSS generado, no sobrescribirlo totalmente.
23817 \begin_inset Flex Code
23820 \begin_layout Plain Layout
23829 \begin_layout Description
23830 \begin_inset Flex Code
23833 \begin_layout Plain Layout
23840 \begin_inset Flex Code
23843 \begin_layout Plain Layout
23849 ] Etiqueta a usar para párrafos individuales de entornos, reemplazando
23850 \begin_inset Flex Code
23853 \begin_layout Plain Layout
23859 en los ejemplos de arriba.
23861 \begin_inset Flex Code
23864 \begin_layout Plain Layout
23873 \begin_layout Description
23874 \begin_inset Flex Code
23877 \begin_layout Plain Layout
23884 \begin_inset Flex Code
23887 \begin_layout Plain Layout
23893 ] Atributos para la etiqueta ítem.
23895 \begin_inset Newline newline
23899 \begin_inset Quotes eld
23903 \begin_inset Flex Code
23906 \begin_layout Plain Layout
23907 class=`layoutname_item'
23913 \begin_inset Quotes erd
23921 debería contener ninguna información de estilo.
23923 \begin_inset Flex Code
23926 \begin_layout Plain Layout
23932 para ese propósito.
23935 \begin_layout Description
23936 \begin_inset Flex Code
23939 \begin_layout Plain Layout
23946 \begin_inset Flex Code
23949 \begin_layout Plain Layout
23955 ] Etiqueta a usar para rótulos de párrafos e ítems, reemplazando
23956 \begin_inset Flex Code
23959 \begin_layout Plain Layout
23965 en los ejemplos de arriba.
23967 \begin_inset Flex Code
23970 \begin_layout Plain Layout
23977 \begin_inset Flex Code
23980 \begin_layout Plain Layout
23987 \begin_inset Flex Code
23990 \begin_layout Plain Layout
23997 \begin_inset Flex Code
24000 \begin_layout Plain Layout
24001 Centered_Top_Environment
24006 , en cuyos casos es
24007 \begin_inset Flex Code
24010 \begin_layout Plain Layout
24019 \begin_layout Description
24020 \begin_inset Flex Code
24023 \begin_layout Plain Layout
24030 \begin_inset Flex Code
24033 \begin_layout Plain Layout
24039 ] Atributos para la etiqueta del rótulo.
24041 \begin_inset Newline newline
24045 \begin_inset Quotes eld
24049 \begin_inset Flex Code
24052 \begin_layout Plain Layout
24053 class=`layoutname_label'
24059 \begin_inset Quotes erd
24067 debería contener ninguna información de estilo.
24069 \begin_inset Flex Code
24072 \begin_layout Plain Layout
24078 para ese propósito.
24081 \begin_layout Description
24082 \begin_inset Flex Code
24085 \begin_layout Plain Layout
24092 \begin_inset Flex Code
24095 \begin_layout Plain Layout
24104 \begin_inset space \thinspace{}
24108 \begin_inset Flex Code
24111 \begin_layout Plain Layout
24117 ] Solo es significativo para entornos tipo lista, esta etiqueta controla
24118 si la etiqueta de rótulo se genera antes o dentro de la etiqueta de ítem.
24119 Se usa, por ejemplo, en el entorno descripción, donde queremos `
24120 \begin_inset Flex Code
24123 \begin_layout Plain Layout
24124 <dt>\SpecialChar ldots
24125 </dt><dd>\SpecialChar ldots
24133 \begin_inset Flex Code
24136 \begin_layout Plain Layout
24142 : la etiqueta de rótulo se genera dentro de la etiqueta de ítem.
24145 \begin_layout Description
24146 \begin_inset Flex Code
24149 \begin_layout Plain Layout
24155 Información para generar en la sección
24156 \begin_inset Flex Code
24159 \begin_layout Plain Layout
24165 cuando se usa este estilo.
24166 Esto podría, por ejemplo, utilizarse para incluir un bloque
24167 \begin_inset Flex Code
24170 \begin_layout Plain Layout
24176 definiendo un controlador
24177 \begin_inset Flex Code
24180 \begin_layout Plain Layout
24189 \begin_layout Description
24190 \begin_inset Flex Code
24193 \begin_layout Plain Layout
24199 Información de estilo CSS a incluir cuando se usa este estilo.
24200 Advertimos que esto será automáticamente envuelto en un bloque
24201 \begin_inset Flex Code
24204 \begin_layout Plain Layout
24210 generado por el formato, por tanto solo es necesario incluir el propio
24213 \begin_inset Flex Code
24216 \begin_layout Plain Layout
24225 \begin_layout Description
24226 \begin_inset Flex Code
24229 \begin_layout Plain Layout
24236 \begin_inset Flex Code
24239 \begin_layout Plain Layout
24245 ] Etiqueta para el rótulo principal, reemplazando
24246 \begin_inset Flex Code
24249 \begin_layout Plain Layout
24255 en losejemplos de arriba.
24257 \begin_inset Flex Code
24260 \begin_layout Plain Layout
24269 \begin_layout Description
24270 \begin_inset Flex Code
24273 \begin_layout Plain Layout
24280 \begin_inset Flex Code
24283 \begin_layout Plain Layout
24292 \begin_inset space \thinspace{}
24296 \begin_inset Flex Code
24299 \begin_layout Plain Layout
24305 ] Marca este estilo como el que se va a usar para generar la etiqueta
24306 \begin_inset Flex Code
24309 \begin_layout Plain Layout
24315 para el archivo XHTML.
24316 Por omisión, es falso.
24318 \begin_inset Flex Code
24321 \begin_layout Plain Layout
24327 lo establece verdadero para el entorno
24328 \begin_inset Flex Code
24331 \begin_layout Plain Layout
24341 \begin_layout Subsection
24345 \begin_layout Standard
24346 La salida XHTML de los recuadros también se puede controlar por información
24347 en archivos 'layout'.
24351 \begin_layout Plain Layout
24352 Por ahora, esto solo es cierto para recuadros de
24353 \begin_inset Quotes eld
24357 \begin_inset Quotes erd
24360 (recuadros en los que puedes escribir) y no para recuadros de
24361 \begin_inset Quotes eld
24365 \begin_inset Quotes erd
24368 (recuadros asociados con cuadros de diálogo).
24373 También en este caso, \SpecialChar LyX
24374 intenta proporcionar valores predefinidos adecuados,
24375 y construye reglas de estilo CSS, pero todo puede personalizarse.
24378 \begin_layout Standard
24379 Para los recuadros, \SpecialChar LyX
24380 produce XHTML en la forma:
24383 \begin_layout LyX-Code
24385 \begin_inset Quotes erd
24389 \begin_inset Quotes erd
24395 \begin_layout LyX-Code
24396 <labeltag>Label</labeltag>
24399 \begin_layout LyX-Code
24401 \begin_inset Quotes erd
24405 \begin_inset Quotes erd
24408 >Contents of the inset.</innertag>
24411 \begin_layout LyX-Code
24415 \begin_layout Standard
24416 Si el recuadro permite párrafos múltiples —o sea, si
24417 \begin_inset Flex Code
24420 \begin_layout Plain Layout
24426 es verdadero— el contenido del recuadro se generará en forma de párrafos
24427 estructurados según los estilos usados para dichos párrafos (normal, cita,
24429 El rótulo de la etiqueta se omite si el párrafo no lo tiene y, por el momento,
24431 \begin_inset Flex Code
24434 \begin_layout Plain Layout
24441 La etiqueta interior es opcional y, por omisión, no aparece.
24444 \begin_layout Standard
24445 Las etiquetas y atributos específicos para cada recuadro se pueden controlar
24446 mediante las siguientes etiquetas de formato.
24449 \begin_layout Description
24450 \begin_inset Flex Code
24453 \begin_layout Plain Layout
24460 \begin_inset Flex Code
24463 \begin_layout Plain Layout
24469 ] Especifica información de atributos a generar con la etiqueta principal.
24471 \begin_inset Quotes eld
24475 \begin_inset Flex Code
24478 \begin_layout Plain Layout
24479 class=`myinset' onclick=`\SpecialChar ldots
24486 \begin_inset Quotes erd
24490 Por omisión, \SpecialChar LyX
24492 \begin_inset Quotes eld
24496 \begin_inset Flex Code
24499 \begin_layout Plain Layout
24506 \begin_inset Quotes erd
24510 \begin_inset Flex Code
24513 \begin_layout Plain Layout
24519 es el nombre del recuadro en \SpecialChar LyX
24520 , en minúsculas y con los caracteres no alfanuméri
24521 cos convertidos en guiones bajos, por ejemplo: footnote.
24524 \begin_layout Description
24525 \begin_inset Flex Code
24528 \begin_layout Plain Layout
24535 \begin_inset Flex Code
24538 \begin_layout Plain Layout
24547 \begin_inset space \thinspace{}
24551 \begin_inset Flex Code
24554 \begin_layout Plain Layout
24560 ] Si producir la información CSS predeterminadad que \SpecialChar LyX
24561 genera para este formato,
24562 incluso si se da explícitamente información adicional con
24563 \begin_inset Flex Code
24566 \begin_layout Plain Layout
24574 \begin_inset Flex Code
24577 \begin_layout Plain Layout
24583 parmite alterar o aumentar el CSS generado, en vez de sobrescribirlo.
24587 \begin_layout Description
24588 \begin_inset Flex Code
24591 \begin_layout Plain Layout
24598 \begin_inset Flex Code
24601 \begin_layout Plain Layout
24607 ] Atributos para la etiqueta interna.
24609 \begin_inset Newline newline
24613 \begin_inset Quotes eld
24617 \begin_inset Flex Code
24620 \begin_layout Plain Layout
24621 class=`insetname_inner'
24627 \begin_inset Quotes erd
24633 \begin_layout Description
24634 \begin_inset Flex Code
24637 \begin_layout Plain Layout
24644 \begin_inset Flex Code
24647 \begin_layout Plain Layout
24653 ] La etiqueta interna, reemplazando
24654 \begin_inset Flex Code
24657 \begin_layout Plain Layout
24663 en los ejemplos de arriba.
24664 Por omisión, ninguna.
24667 \begin_layout Description
24668 \begin_inset Flex Code
24671 \begin_layout Plain Layout
24678 \begin_inset Flex Code
24681 \begin_layout Plain Layout
24688 \begin_inset space \thinspace{}
24692 \begin_inset Flex Code
24695 \begin_layout Plain Layout
24703 ] Si este recuadro representa un bloque de texto independiente (como una
24704 nota al pie) o bien representa material que está incluido en el texto circundan
24705 te (como una rama).
24709 \begin_layout Description
24710 \begin_inset Flex Code
24713 \begin_layout Plain Layout
24720 \begin_inset Flex Code
24723 \begin_layout Plain Layout
24729 ] Un rótulo para este recuadro, posiblemente incluyendo una referencia a
24731 Por ejemplo, para notas al pie, podría ser:
24732 \begin_inset Flex Code
24735 \begin_layout Plain Layout
24744 Esto es opcional y no hay valor predeterminado.
24747 \begin_layout Description
24748 \begin_inset Flex Code
24751 \begin_layout Plain Layout
24757 Información que saldrá en la sección
24758 \begin_inset Flex Code
24761 \begin_layout Plain Layout
24767 cuando se usa este estilo.
24768 Esto podría usarse, por ejemplo, para incluir un bloque
24769 \begin_inset Flex Code
24772 \begin_layout Plain Layout
24778 que defina un controlador
24779 \begin_inset Flex Code
24782 \begin_layout Plain Layout
24791 \begin_layout Description
24792 \begin_inset Flex Code
24795 \begin_layout Plain Layout
24801 Información de estilo CSS a incluir cuando se usa este estilo.
24802 Esto será automáticamente envuelto en un bloque
24803 \begin_inset Flex Code
24806 \begin_layout Plain Layout
24812 generado por el formato, por lo que solo hay que incluir el propio CSS.
24815 \begin_layout Description
24816 \begin_inset Flex Code
24819 \begin_layout Plain Layout
24826 \begin_inset Flex Code
24829 \begin_layout Plain Layout
24835 ] La etiqueta a usar para el rótulo principal, reemplazando
24836 \begin_inset Flex Code
24839 \begin_layout Plain Layout
24845 en los ejemplos de arriba.
24846 El valor por omisión depende de
24847 \begin_inset Flex Code
24850 \begin_layout Plain Layout
24857 \begin_inset Flex Code
24860 \begin_layout Plain Layout
24867 \begin_inset Flex Code
24870 \begin_layout Plain Layout
24876 ; si es falso, el valor por omisión es
24877 \begin_inset Flex Code
24880 \begin_layout Plain Layout
24889 \begin_layout Subsection
24893 \begin_layout Standard
24894 La salida XHTML para flotantes también se puede controlar mediante información
24895 en archivos 'layout'.
24896 La salida tiene la forma:
24899 \begin_layout LyX-Code
24901 \begin_inset Quotes erd
24905 \begin_inset Quotes erd
24911 \begin_layout LyX-Code
24912 Contents of the float.
24915 \begin_layout LyX-Code
24919 \begin_layout Standard
24920 La leyenda, si la hay, es un recuadro separado y se generará como tal.
24921 Su aspecto puede controlarse con InsetLayout para recuadros de leyendas.
24925 \begin_layout Description
24926 \begin_inset Flex Code
24929 \begin_layout Plain Layout
24936 \begin_inset Flex Code
24939 \begin_layout Plain Layout
24945 ] Especifica información de los atributos a generar con la etiqueta principal,
24947 \begin_inset Quotes eld
24951 \begin_inset Flex Code
24954 \begin_layout Plain Layout
24955 class=`myfloat' onclick=`\SpecialChar ldots
24962 \begin_inset Quotes erd
24966 Por omisión, \SpecialChar LyX
24968 \begin_inset Quotes eld
24972 \begin_inset Flex Code
24975 \begin_layout Plain Layout
24976 class=`float float-floattype'
24982 \begin_inset Quotes erd
24986 \begin_inset Flex Code
24989 \begin_layout Plain Layout
24995 es el nombre en \SpecialChar LyX
24996 para este tipo de flotante, como determina la declaración
24998 \begin_inset CommandInset ref
25000 reference "subsec:Flotantes"
25004 ), aunque en minúsculas y con los caracteres no alfanuméricos sustituidos
25005 por guiones bajos, por ejemplo: float-table.
25008 \begin_layout Description
25009 \begin_inset Flex Code
25012 \begin_layout Plain Layout
25018 Información de estilo CSS a incluir cuando se usa este flotante.
25019 Esto será automáticamente envuelto en un bloque
25020 \begin_inset Flex Code
25023 \begin_layout Plain Layout
25029 generado por el formato, por lo que solo hay que incluir el propio CSS.
25032 \begin_layout Description
25033 \begin_inset Flex Code
25036 \begin_layout Plain Layout
25043 \begin_inset Flex Code
25046 \begin_layout Plain Layout
25052 ] La etiqueta a usar para este flotante, reemplazando "
25053 \begin_inset Flex Code
25056 \begin_layout Plain Layout
25062 " en el ejemplo de arriba.
25063 El valor por omisión es
25064 \begin_inset Flex Code
25067 \begin_layout Plain Layout
25073 y raramente habrá que cambiarlo.
25076 \begin_layout Subsection
25077 Formato de la Bibliografía
25080 \begin_layout Standard
25081 La bibliografía se puede formatear usando bloques
25082 \begin_inset Flex Code
25085 \begin_layout Plain Layout
25093 \begin_inset CommandInset ref
25095 reference "subsec:Descripción-formato-cita"
25102 \begin_layout Subsection
25103 CSS generado por \SpecialChar LyX
25107 \begin_layout Standard
25108 Hemos mencionado ya que \SpecialChar LyX
25109 generará reglas de estilo CSS predeterminadas para
25110 recuadros y estilos de párrafo, basados en la información suministrada
25111 para otros formatos.
25112 En esta sección comentaremos qué información usa \SpecialChar LyX
25116 \begin_layout Standard
25117 Actualmente, \SpecialChar LyX
25118 auto-genera CSS solo para información sobre tipografías, haciendo
25120 \begin_inset Flex Code
25123 \begin_layout Plain Layout
25130 \begin_inset Flex Code
25133 \begin_layout Plain Layout
25140 \begin_inset Flex Code
25143 \begin_layout Plain Layout
25150 \begin_inset Flex Code
25153 \begin_layout Plain Layout
25159 especificados en la declaración
25160 \begin_inset Flex Code
25163 \begin_layout Plain Layout
25171 \begin_inset CommandInset ref
25173 reference "subsec:Tipografía"
25177 .) La traducción es bastante sencilla y evidente.
25179 \begin_inset Quotes eld
25183 \begin_inset Flex Code
25186 \begin_layout Plain Layout
25193 \begin_inset Quotes erd
25197 \begin_inset Quotes eld
25201 \begin_inset Flex Code
25204 \begin_layout Plain Layout
25205 font-family: sans-serif;
25211 \begin_inset Quotes erd
25215 La correspondencia entre tamaños \SpecialChar LyX
25216 y tamaños CSS es un poco menos obvia,
25217 pero intuitiva en todo caso.
25219 \begin_inset Flex Code
25222 \begin_layout Plain Layout
25229 \begin_inset Flex URL
25232 \begin_layout Plain Layout
25243 \begin_layout Chapter
25244 Inserción de material externo
25245 \begin_inset CommandInset label
25247 name "cap:Inserción-de-material"
25254 \begin_layout Standard
25255 \begin_inset Box Shadowbox
25265 height_special "totalheight"
25270 backgroundcolor "none"
25273 \begin_layout Plain Layout
25274 AVISO: Esta parte de la documentación no ha sido actualizada desde hace
25276 Esperamos que aún sea adecuada, pero no hay garantías.
25284 \begin_layout Standard
25285 El uso de material de procedencia externa a \SpecialChar LyX
25286 se trata con detalle en el
25292 En el presente documento se trata sobre lo que debe suceder entre bambalinas
25293 para incluir nuevas clases de material.
25296 \begin_layout Section
25300 \begin_layout Standard
25301 La característica material externo se basa en el concepto
25306 Una plantilla es una especificación de la forma en que \SpecialChar LyX
25308 ciertos tipos de material.
25309 De por sí, \SpecialChar LyX
25310 incluye plantillas predefinidas para figuras Xfig, varios tipos
25311 de imágenes raster, diagramas de ajedrez y notación musical LilyPond.
25312 Puedes comprobar la lista actual en el menú
25313 \begin_inset Flex Noun
25316 \begin_layout Plain Layout
25317 Insertar\SpecialChar menuseparator
25318 Archivo\SpecialChar menuseparator
25325 Además, es posible construir plantillas propias para soportar determinado
25327 Más tarde describiremos con más detalle lo que esto implica, y esperamos
25328 que nos envíes tus plantillas para que se puedan incluir en próximas versiones
25329 de \SpecialChar LyX
25333 \begin_layout Standard
25334 Otra idea básica de la característica material externo es distinguir entre
25335 el archivo original que sirve como base para el material final y el archivo
25336 generado que se incluye en el documento impreso o exportado.
25337 Por ejemplo, consideremos el caso de una figura hecha con
25338 \begin_inset Flex Code
25341 \begin_layout Plain Layout
25348 El programa Xfig en sí mismo trabaja sobre un archivo original con extensión
25350 \begin_inset Flex Code
25353 \begin_layout Plain Layout
25360 Dentro de Xfig, se crea o modifica una figura y se guarda como un archivo
25362 \begin_inset Flex Code
25365 \begin_layout Plain Layout
25372 Para incluir la figura en un documento, se ejecuta
25373 \begin_inset Flex Code
25376 \begin_layout Plain Layout
25382 con el fin de crear un archivo PostScript que puede incluirse fácilmente
25383 en el archivo \SpecialChar LaTeX
25385 En este caso, el archivo
25386 \begin_inset Flex Code
25389 \begin_layout Plain Layout
25395 es el original, y el archivo PostScript es el archivo generado.
25398 \begin_layout Standard
25399 Esta distinción es importante para permitir la actualización del material
25400 durante el proceso de escritura del documento.
25401 Además, provee la flexibilidad necesaria para soportar múltiples formatos
25403 Por ejemplo, en el caso de un archivo de texto sencillo, no es una brillante
25404 idea incluir la figura como PostScript puro.
25405 En vez de esto, es preferible incluir solo una referencia a la figura o
25406 bien probar algún convertidor de gráficos a Ascii para que el resultado
25407 final se parezca al gráfico real.
25408 La gestión de material externo de \SpecialChar LyX
25409 permite hacer esto porque se basa en
25410 parámetros apropiados para los diferentes formatos de exportación soportados.
25413 \begin_layout Standard
25414 Además de soportar la generación de diferentes productos de acuerdo con
25415 el formato de exportación, existe una profunda integración con las aplicaciones
25416 de edición y visualización.
25417 En el caso de figuras Xfig, es posible editar el archivo original en Xfig
25418 con un simple clic derecho sobre el recuadro y también previsualizar el
25419 PostScript generado con ghostview.
25420 Se acabaron los enredos con la línea de comandos y/o el navegador de archivos
25421 para localizar y manipular los archivos originales o los generados.
25422 De esta manera, se pueden por fin aprovechar las ventajas de muy diversas
25423 aplicaciones importantes para la composición de los documentos, y por tanto
25424 aumentar el rendimiento.
25427 \begin_layout Section
25428 El archivo de configuración de plantillas externas
25431 \begin_layout Standard
25432 Es relativamente fácil añadir en \SpecialChar LyX
25433 definiciones personalizadas de plantillas
25435 Sin embargo, hay que ser consciente de que hacer esto de manera descuidada
25436 generará muy probablemente un agujero de seguridad fácil de explotar.
25437 Así pues, antes de hacer esto, lee por favor la discusión sobre seguridad
25439 \begin_inset CommandInset ref
25441 reference "sec:Discusión-sobre-seguridad"
25448 \begin_layout Standard
25449 Una vez dicho esto, te animamos a que envíes cualquiera plantilla interesante
25453 \begin_layout Standard
25454 Las plantillas externas se definen en el archivo
25457 \begin_inset Flex Code
25460 \begin_layout Plain Layout
25468 files that are stored in the
25469 \begin_inset Flex Code
25472 \begin_layout Plain Layout
25475 LyXDir/lib/xtemplates/
25481 Each template is defined in a file of its own.
25492 \begin_inset Flex Code
25495 \begin_layout Plain Layout
25498 UserDir/xtemplates/
25503 or copy existing templates to that directory in order to modify them.
25509 \begin_layout Standard
25510 Una plantilla típica tiene un aspecto como este:
25513 \begin_layout LyX-Code
25517 \begin_layout LyX-Code
25518 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
25521 \begin_layout LyX-Code
25525 \begin_layout LyX-Code
25529 \begin_layout LyX-Code
25533 \begin_layout LyX-Code
25537 \begin_layout LyX-Code
25541 \begin_layout LyX-Code
25542 AutomaticProduction true
25545 \begin_layout LyX-Code
25549 \begin_layout LyX-Code
25553 \begin_layout LyX-Code
25557 \begin_layout LyX-Code
25558 TransformCommand Rotate RotationLatexCommand
25561 \begin_layout LyX-Code
25562 TransformCommand Resize ResizeLatexCommand
25565 \begin_layout LyX-Code
25566 Product "$$RotateFront$$ResizeFront
25569 \begin_layout LyX-Code
25574 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
25577 \begin_layout LyX-Code
25578 $$ResizeBack$$RotateBack"
25581 \begin_layout LyX-Code
25585 \begin_layout LyX-Code
25586 UpdateResult "$$AbsPath$$Basename.pstex_t"
25589 \begin_layout LyX-Code
25590 Requirement "graphicx"
25593 \begin_layout LyX-Code
25594 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
25597 \begin_layout LyX-Code
25598 ReferencedFile latex "$$AbsPath$$Basename.eps"
25601 \begin_layout LyX-Code
25602 ReferencedFile dvi "$$AbsPath$$Basename.eps"
25605 \begin_layout LyX-Code
25609 \begin_layout LyX-Code
25613 \begin_layout LyX-Code
25614 TransformCommand Rotate RotationLatexCommand
25617 \begin_layout LyX-Code
25618 TransformCommand Resize ResizeLatexCommand
25621 \begin_layout LyX-Code
25622 Product "$$RotateFront$$ResizeFront
25625 \begin_layout LyX-Code
25630 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
25633 \begin_layout LyX-Code
25634 $$ResizeBack$$RotateBack"
25637 \begin_layout LyX-Code
25638 UpdateFormat pdftex
25641 \begin_layout LyX-Code
25642 UpdateResult "$$AbsPath$$Basename.pdftex_t"
25645 \begin_layout LyX-Code
25646 Requirement "graphicx"
25649 \begin_layout LyX-Code
25650 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
25653 \begin_layout LyX-Code
25654 ReferencedFile latex "$$AbsPath$$Basename.pdf"
25657 \begin_layout LyX-Code
25661 \begin_layout LyX-Code
25665 \begin_layout LyX-Code
25666 Product "$$Contents(
25668 "$$AbsPath$$Basename.asc
25673 \begin_layout LyX-Code
25674 UpdateFormat asciixfig
25677 \begin_layout LyX-Code
25678 UpdateResult "$$AbsPath$$Basename.asc"
25681 \begin_layout LyX-Code
25685 \begin_layout LyX-Code
25689 \begin_layout LyX-Code
25690 Product "<graphic fileref=
25692 "$$AbsOrRelPathMaster$$Basename.eps
25697 \begin_layout LyX-Code
25701 \begin_layout LyX-Code
25705 \begin_layout LyX-Code
25706 UpdateResult "$$AbsPath$$Basename.eps"
25709 \begin_layout LyX-Code
25710 ReferencedFile docbook "$$AbsPath$$Basename.eps"
25713 \begin_layout LyX-Code
25714 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
25717 \begin_layout LyX-Code
25721 \begin_layout LyX-Code
25722 Product "[XFig: $$FName]"
25725 \begin_layout LyX-Code
25729 \begin_layout LyX-Code
25733 \begin_layout Standard
25734 Como puedes ver, la plantilla se incluye entre
25735 \begin_inset Flex Code
25738 \begin_layout Plain Layout
25746 \begin_inset Flex Code
25749 \begin_layout Plain Layout
25756 Contiene una cabecera que especifica algunas configuraciones generales
25757 y, por cada formato de archivo de documento primario soportado, una sección
25759 \begin_inset Flex Code
25762 \begin_layout Plain Layout
25770 \begin_inset Flex Code
25773 \begin_layout Plain Layout
25782 \begin_layout Subsection
25783 La cabecera de la plantilla
25786 \begin_layout Description
25787 \begin_inset Flex Code
25790 \begin_layout Plain Layout
25791 AutomaticProduction
25792 \begin_inset space ~
25800 Si el archivo representado por la plantilla debe ser generado por \SpecialChar LyX
25802 Este comando debe aparecer exactamente una vez.
25805 \begin_layout Description
25806 \begin_inset Flex Code
25809 \begin_layout Plain Layout
25811 \begin_inset space ~
25819 Un patrón global que se usa en el diálogo del archivo para filtrar los
25821 Si hay más de una posible extensión de archivo (p.
25822 \begin_inset space \thinspace{}
25826 \begin_inset space ~
25830 \begin_inset Flex Code
25833 \begin_layout Plain Layout
25840 \begin_inset Flex Code
25843 \begin_layout Plain Layout
25849 ), se pone algo como
25850 \begin_inset Flex Code
25853 \begin_layout Plain Layout
25860 Este comando debe aparecer exactamente una vez.
25863 \begin_layout Description
25864 \begin_inset Flex Code
25867 \begin_layout Plain Layout
25869 \begin_inset space ~
25877 El texto mostrado sobre el botón.
25878 Este comando debe aparecer exactamente una vez.
25881 \begin_layout Description
25882 \begin_inset Flex Code
25885 \begin_layout Plain Layout
25887 \begin_inset space ~
25891 \begin_inset space ~
25899 El texto de ayuda que se muestra en diálogo.
25900 Da suficiente información sobre lo que puede proporcionar la plantilla.
25901 Este comando debe aparecer exactamente una vez.
25904 \begin_layout Description
25905 \begin_inset Flex Code
25908 \begin_layout Plain Layout
25910 \begin_inset space ~
25918 El formato de archivo del original.
25919 Debe ser el nombre de un formato conocido por \SpecialChar LyX
25921 \begin_inset CommandInset ref
25923 reference "sec:Formatos"
25929 \begin_inset Quotes cld
25933 \begin_inset Flex Code
25936 \begin_layout Plain Layout
25943 \begin_inset Quotes crd
25946 si la plantilla puede manejar archivos originales o más de un formato.
25947 En este caso, \SpecialChar LyX
25948 intentará inspeccionar el archivo mismo para deducir su
25950 Este comando debe aparecer exactamente una vez.
25953 \begin_layout Description
25954 \begin_inset Flex Code
25957 \begin_layout Plain Layout
25959 \begin_inset space ~
25967 Un nombre único para la plantilla.
25968 No debe contener macros de sustitución (véase abajo).
25971 \begin_layout Description
25972 \begin_inset Flex Code
25975 \begin_layout Plain Layout
25977 \begin_inset space ~
25980 Rotate|Resize|Clip|Extra
25985 Este comando especifica qué transformaciones son soportadas por esta plantilla.
25986 Puede aparecer ninguna o varias veces.
25987 Este comando facilita las correspondientes pestañas en el diálogo de material
25990 \begin_inset Flex Code
25993 \begin_layout Plain Layout
25999 debe tener el correspondiente
26000 \begin_inset Flex Code
26003 \begin_layout Plain Layout
26010 \begin_inset Flex Code
26013 \begin_layout Plain Layout
26020 \begin_inset Flex Code
26023 \begin_layout Plain Layout
26030 De lo contrario la transformación no será soportada por ese formato.
26034 \begin_layout Subsection
26038 \begin_layout Description
26039 \begin_inset Flex Code
26042 \begin_layout Plain Layout
26044 \begin_inset space ~
26047 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
26052 El formato de archivo del documento primario para el que es esta definición
26054 No toda plantilla tiene una representación sensible en los formatos de
26055 archivo de todos los documentos.
26056 No obstante, es preferible definir una sección
26057 \begin_inset Flex Code
26060 \begin_layout Plain Layout
26066 para todos los formatos.
26067 Se usa un texto postizo si no hay representación disponible.
26068 Entonces, al menos, se puede ver una referencia al material externo en
26069 el documento exportado.
26072 \begin_layout Description
26073 \begin_inset Flex Code
26076 \begin_layout Plain Layout
26078 \begin_inset space ~
26082 \begin_inset space ~
26090 Este comando define una macro adicional,
26091 \begin_inset Flex Code
26094 \begin_layout Plain Layout
26100 , para sustitución en
26101 \begin_inset Flex Code
26104 \begin_layout Plain Layout
26112 \begin_inset Flex Code
26115 \begin_layout Plain Layout
26121 puede contener en sí mismo macros de sustitución.
26122 La ventaja sobre el uso de
26123 \begin_inset Flex Code
26126 \begin_layout Plain Layout
26133 \begin_inset Flex Code
26136 \begin_layout Plain Layout
26142 es que el valor sustituido de
26143 \begin_inset Flex Code
26146 \begin_layout Plain Layout
26152 está saneado así que es un argumento opcional válido en el formato del
26154 Este comando puede aparecer ninguna o más veces.
26157 \begin_layout Description
26158 \begin_inset Flex Code
26161 \begin_layout Plain Layout
26163 \begin_inset space ~
26171 El texto que se inserta en el documento exportado.
26172 Realmente este es el comando más importante y puede ser bastante complejo.
26173 Este comando debe aparecer exactamente una vez.
26176 \begin_layout Description
26177 \begin_inset Flex Code
26180 \begin_layout Plain Layout
26182 \begin_inset space ~
26190 Este comando especifica un fragmento de preámbulo que se incluirá en el
26191 preámbulo \SpecialChar LaTeX
26193 Tiene que definirse usando
26194 \begin_inset Flex Code
26197 \begin_layout Plain Layout
26205 \begin_inset Flex Code
26208 \begin_layout Plain Layout
26215 Este comando puede aparecer ninguna o más veces.
26218 \begin_layout Description
26219 \begin_inset Flex Code
26222 \begin_layout Plain Layout
26224 \begin_inset space ~
26228 \begin_inset space ~
26236 Este comando indica los archivos que se crean por el proceso de conversión
26237 y que son necesarios para un formato de exportación particular.
26238 Si el nombre del archivo es relativo, se interpreta como relativo al documento
26240 Este comando puede darse ninguna o más veces.
26243 \begin_layout Description
26244 \begin_inset Flex Code
26247 \begin_layout Plain Layout
26249 \begin_inset space ~
26257 El nombre de un paquete \SpecialChar LaTeX
26259 El paquete se incuye mediante
26260 \begin_inset Flex Code
26263 \begin_layout Plain Layout
26271 en el preámbulo \SpecialChar LaTeX
26273 Este comando puede aparecer ninguna o más veces.
26276 \begin_layout Description
26277 \begin_inset Flex Code
26280 \begin_layout Plain Layout
26282 \begin_inset space ~
26286 \begin_inset space ~
26289 RotationLatexCommand
26294 Este comando especifica que el comando \SpecialChar LaTeX
26295 incluido debería usarse para la
26297 Este comando puede aparecer una vez o ninguna.
26300 \begin_layout Description
26301 \begin_inset Flex Code
26304 \begin_layout Plain Layout
26306 \begin_inset space ~
26310 \begin_inset space ~
26318 Este comando especifica que el comando \SpecialChar LaTeX
26319 incluido debería usarse para cambiar
26321 Este comando puede aparecer una vez o ninguna.
26324 \begin_layout Description
26325 \begin_inset Flex Code
26328 \begin_layout Plain Layout
26330 \begin_inset space ~
26334 \begin_inset space ~
26337 RotationLatexOption
26342 Este comando especifica que la rotación se hace mediante un argumento opcional.
26343 Este comando puede aparecer una vez o ninguna.
26346 \begin_layout Description
26347 \begin_inset Flex Code
26350 \begin_layout Plain Layout
26352 \begin_inset space ~
26356 \begin_inset space ~
26364 Este comando especifica que el cambio de tamaño se hace mediante un argumento
26366 Este comando puede aparecer una vez o ninguna
26369 \begin_layout Description
26370 \begin_inset Flex Code
26373 \begin_layout Plain Layout
26375 \begin_inset space ~
26379 \begin_inset space ~
26387 Este comando especifica que el recorte se hace mediante un argumento opcional.
26388 Este comando puede aparecer una vez o ninguna.
26391 \begin_layout Description
26392 \begin_inset Flex Code
26395 \begin_layout Plain Layout
26397 \begin_inset space ~
26401 \begin_inset space ~
26409 Este comando especifica que se usa un argumento extra opcional.
26410 Este comando puede aparecer una vez o ninguna.
26414 \begin_layout Description
26415 \begin_inset Flex Code
26418 \begin_layout Plain Layout
26420 \begin_inset space ~
26428 El formato de archivo del archivo convertido.
26429 Debe ser el nombre de un formato conocido por \SpecialChar LyX
26431 \begin_inset Flex Noun
26434 \begin_layout Plain Layout
26441 \begin_inset Flex Noun
26444 \begin_layout Plain Layout
26445 Gestión de archivos
26451 \begin_inset Flex Noun
26454 \begin_layout Plain Layout
26455 Herramientas\SpecialChar menuseparator
26462 Este comando debe aparecer exactamente una vez.
26463 Si el formato del archivo resultante es PDF, debes especificar el formato
26465 \begin_inset Flex Code
26468 \begin_layout Plain Layout
26475 Es el formato PDF usado para incluir gráficos.
26476 Los otros formatos PDF definidos son para exportación de documentos.
26479 \begin_layout Description
26480 \begin_inset Flex Code
26483 \begin_layout Plain Layout
26485 \begin_inset space ~
26493 El nombre de archivo del archivo convertido.
26494 El nombre de archivo debe ser absoluto.
26495 Este comando debe aparecer exactamente una vez.
26498 \begin_layout Subsection
26499 Definiciones de preámbulo
26502 \begin_layout Standard
26503 El archivo de configuración de plantillas externas puede contener definiciones
26504 de preámbulo adicionales encerradas entre
26505 \begin_inset Flex Code
26508 \begin_layout Plain Layout
26516 \begin_inset Flex Code
26519 \begin_layout Plain Layout
26526 Se pueden usar por las plantillas en la sección
26527 \begin_inset Flex Code
26530 \begin_layout Plain Layout
26539 \begin_layout Section
26540 El mecanismo de sustitución
26543 \begin_layout Standard
26544 Cuando la función de material externo recurre a un programa externo, se
26545 hace sobre la base de un comando definido en el archivo de configuración
26547 Estos comandos pueden contener varias macros que se expanden antes de su
26549 La ejecución tiene lugar siempre en el directorio del documento.
26553 \begin_layout Standard
26554 Además, cada vez que el material externo se va a mostrar, el nombre será
26555 generado por el mecanismo de sustitución, y la mayoría de los demás comandos
26556 en la definición de la plantilla soportan también sustitución.
26560 \begin_layout Standard
26561 Las macros disponibles son las siguientes:
26564 \begin_layout Description
26565 \begin_inset Flex Code
26568 \begin_layout Plain Layout
26569 $$AbsOrRelPathMaster
26574 La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
26578 \begin_layout Description
26579 \begin_inset Flex Code
26582 \begin_layout Plain Layout
26583 $$AbsOrRelPathParent
26588 La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
26592 \begin_layout Description
26593 \begin_inset Flex Code
26596 \begin_layout Plain Layout
26602 La ruta absoluta del archivo.
26605 \begin_layout Description
26606 \begin_inset Flex Code
26609 \begin_layout Plain Layout
26615 El nombre de archivo sin ruta y sin la extensión.
26618 \begin_layout Description
26619 \begin_inset Flex Code
26622 \begin_layout Plain Layout
26624 \begin_inset Quotes eld
26628 \begin_inset Quotes erd
26636 Esta macro expandirá los contenidos del archivo con el nombre
26637 \begin_inset Flex Code
26640 \begin_layout Plain Layout
26649 \begin_layout Description
26650 \begin_inset Flex Code
26653 \begin_layout Plain Layout
26659 La extensión de archivo (incluyendo el punto).
26662 \begin_layout Description
26663 \begin_inset Flex Code
26666 \begin_layout Plain Layout
26673 \begin_inset Quotes cld
26677 \begin_inset Quotes crd
26680 si el archivo está en formato JPEG, si no será
26681 \begin_inset Quotes eld
26685 \begin_inset Quotes erd
26689 Esto es útil para evitar conversiones innecesarias para formatos de salida
26690 que soporten tanto PNG como JPEG.
26691 La plantilla predefinida RasterImage usa esta macro para el formato de
26692 salida pdf\SpecialChar TeX
26696 \begin_layout Description
26697 \begin_inset Flex Code
26700 \begin_layout Plain Layout
26706 El nombre de archivo del archivo especificado en el diálogo de material
26708 Esto es bien un nombre absoluto, bien relativo al documento \SpecialChar LyX
26712 \begin_layout Description
26713 \begin_inset Flex Code
26716 \begin_layout Plain Layout
26722 La parte de la ruta de
26723 \begin_inset Flex Code
26726 \begin_layout Plain Layout
26732 (nombre absoluto o relativo al documento \SpecialChar LyX
26736 \begin_layout Description
26737 \begin_inset Flex Code
26740 \begin_layout Plain Layout
26746 La ruta del archivo, relativa al documento maestro \SpecialChar LyX
26750 \begin_layout Description
26751 \begin_inset Flex Code
26754 \begin_layout Plain Layout
26760 La ruta del archivo, relativa al documento \SpecialChar LyX
26764 \begin_layout Description
26765 \begin_inset Flex Code
26768 \begin_layout Plain Layout
26774 Esta macro expandirá a la ruta absoluta del directorio de sistema.
26775 Esto se usa habitualmente para apuntar a los varios guiones de ayuda que
26776 se empaquetan con \SpecialChar LyX
26780 \begin_layout Description
26781 \begin_inset Flex Code
26784 \begin_layout Plain Layout
26790 Un nombre y ruta completa a un directorio temporal que será borrado automáticam
26791 ente siempre que el documento se cierra, o se suprime la inserción de material
26795 \begin_layout Standard
26796 Todas las macros de ruta contienen un separador de rastreo del directorio,
26797 así se puede construir, p.
26798 \begin_inset space \thinspace{}
26801 e., el nombre de archivo absoluto con
26802 \begin_inset Flex Code
26805 \begin_layout Plain Layout
26806 $$AbsPath$$Basename$$Extension
26814 \begin_layout Standard
26815 Las macros anteriores son sustituidas en todos los comandos a menos que
26816 se indique lo contrario.
26818 \begin_inset Flex Code
26821 \begin_layout Plain Layout
26827 soporta adicionalmente las siguientes sustituciones si se habilitan por
26829 \begin_inset Flex Code
26832 \begin_layout Plain Layout
26839 \begin_inset Flex Code
26842 \begin_layout Plain Layout
26851 \begin_layout Description
26852 \begin_inset Flex Code
26855 \begin_layout Plain Layout
26861 La parte delantera del comando para cambiar el tamaño.
26864 \begin_layout Description
26865 \begin_inset Flex Code
26868 \begin_layout Plain Layout
26874 La parte trasera del comando para cambiar el tamaño.
26877 \begin_layout Description
26878 \begin_inset Flex Code
26881 \begin_layout Plain Layout
26887 La parte delantera del comando para la rotación.
26890 \begin_layout Description
26891 \begin_inset Flex Code
26894 \begin_layout Plain Layout
26900 La parte trasera del comando para la rotación.
26903 \begin_layout Standard
26904 La cadena de valor del comando
26905 \begin_inset Flex Code
26908 \begin_layout Plain Layout
26914 soporta adicionalmente las siguientes sustituciones si éstas se han habilitado
26916 \begin_inset Flex Code
26919 \begin_layout Plain Layout
26926 \begin_inset Flex Code
26929 \begin_layout Plain Layout
26938 \begin_layout Description
26939 \begin_inset Flex Code
26942 \begin_layout Plain Layout
26951 \begin_layout Description
26952 \begin_inset Flex Code
26955 \begin_layout Plain Layout
26964 \begin_layout Description
26965 \begin_inset Flex Code
26968 \begin_layout Plain Layout
26974 La opción cambio de tamaño.
26977 \begin_layout Description
26978 \begin_inset Flex Code
26981 \begin_layout Plain Layout
26987 La opción rotación.
26990 \begin_layout Standard
26991 Te puedes preguntar por qué hay tantas macros de ruta.
26992 Por dos razones, principalmente:
26995 \begin_layout Enumerate
26996 Los nombres de archivo relativo y absoluto deberían permanecer relativo
26997 o absoluto, respectivamente.
26998 Los usuarios pueden tener razones para preferir cualquiera de ambas formas.
26999 Los nombres relativos son útiles para documentos portables que deberían
27000 funcionar en máquinas diferentes, por ejemplo.
27001 Los nombres absolutos pueden ser requeridos por algunos programas.
27004 \begin_layout Enumerate
27006 procesa los nombres de archivo relativos de manera diferente a \SpecialChar LyX
27008 programas en archivos anidados incluidos.
27009 Para \SpecialChar LyX
27010 , un nombre de archivo relativo es siempre relativo al documento que
27011 contiene el nombre de archivo.
27012 Para \SpecialChar LaTeX
27013 , es siempre relativo al documento maestro.
27014 Estas dos definiciones son idénticas si se tiene solo un documento, pero
27015 son distintas si se tiene un documento maestro que incluye documentos parciales.
27016 Esto quiere decir que los nombres de archivo relativos deben ser transformados
27017 cuando se presentan a \SpecialChar LaTeX
27019 Afortunadamente, \SpecialChar LyX
27020 hace esto automáticamente si se eligen las macros correctas.
27023 \begin_layout Standard
27024 Así pues, ¿qué macros de ruta deberían emplearse en las definiciones de
27025 plantillas nuevas? La regla no es difícil:
27028 \begin_layout Itemize
27030 \begin_inset Flex Code
27033 \begin_layout Plain Layout
27039 si se requiere una ruta absoluta.
27042 \begin_layout Itemize
27044 \begin_inset Flex Code
27047 \begin_layout Plain Layout
27048 $$AbsOrRelPathMaster
27053 si la cadena sustituida es algún tipo de entrada \SpecialChar LaTeX
27057 \begin_layout Itemize
27059 \begin_inset Flex Code
27062 \begin_layout Plain Layout
27063 $$AbsOrRelPathParent
27068 con el fin de preservar la elección del usuario.
27071 \begin_layout Standard
27072 Hay casos especiales en los que esta regla no funciona y se necesitan, p.
27073 \begin_inset space \thinspace{}
27076 e., nombres relativos, pero normalmente funcionará bien.
27077 Un ejemplo de uno de estos casos es el comando
27078 \begin_inset Flex Code
27081 \begin_layout Plain Layout
27082 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
27087 en la plantilla XFig de arriba: no podemos usar el nombre absoluto porque
27088 el copiador para archivos
27089 \begin_inset Flex Code
27092 \begin_layout Plain Layout
27098 necesita el nombre relativo para reescribir el contenido del archivo.
27101 \begin_layout Section
27102 Discusión sobre seguridad
27103 \begin_inset CommandInset label
27105 name "sec:Discusión-sobre-seguridad"
27112 \begin_layout Standard
27113 La función material externo interactúa con muchos programas externos y lo
27114 hace de forma automática, así que hemos de tener en cuenta las implicaciones
27115 de seguridad que esto conlleva.
27116 En particular, puesto que tienes la opción de incluir tus propios archivos
27117 y/o cadenas de parámetros y estos se expanden en un comando, parece posible
27118 crear un documento malicioso que ejecute comandos arbitrarios cuando un
27119 usuario ve o imprime el documento.
27120 Esto es algo que definitivamente queremos evitar.
27124 \begin_layout Standard
27125 Sin embargo, dado que los comandos de material externo se especifican solo
27126 en el archivo de configuración de la plantilla, no hay problemas de seguridad
27127 si \SpecialChar LyX
27128 está adecuadamente configurado solo con plantillas seguras.
27129 Esto es así porque los programas externos se invocan con la llamada al
27131 \begin_inset Flex Code
27134 \begin_layout Plain Layout
27140 más bien que con la llamada
27141 \begin_inset Flex Code
27144 \begin_layout Plain Layout
27150 , de modo que no es posible ejecutar comandos arbitrarios desde la sección
27151 del nombre de archivo o de parámetros mediante el shell.
27154 \begin_layout Standard
27155 Esto implica además que hay restricciones en las cadenas de comandos que
27156 puedes usar en las plantillas de material externo.
27157 En particular, las tuberías y la redirección no están fácilmente disponibles.
27158 Esto debe ser así para que \SpecialChar LyX
27160 Si quieres usar algunas características de shell, deberías escribir un
27161 guión seguro para hacerlo de manera controlada, y después invocar el guión
27162 desde la cadena de comandos.
27165 \begin_layout Standard
27166 Es posible diseñar una plantilla que interactúe directamente con el shell,
27167 pero puesto que esto permitiría a un usuario malicioso ejecutar comandos
27168 arbitrarios escribiendo nombres de archivo y/o parámetros astutos, generalmente
27169 recomendamos usar solo guiones seguros que trabajen con la llamada
27170 \begin_inset Flex Code
27173 \begin_layout Plain Layout
27179 al sistema en forma controlada.
27180 Por supuesto, para usar en un entorno controlado, puede ser tentador caer
27181 en el uso de guiones de shell ordinarios.
27182 Si lo haces así, sé consciente de que vas a suministrar un agujero se seguridad
27183 fácilmente explotable en tu sistema.
27184 Evidentemente, es de razón que tales plantillas inseguras nunca serán incluidas
27185 en la distribución estándar de \SpecialChar LyX
27186 , aunque alentamos a la gente a que, a la
27187 usanza del software libre, envíe nuevas plantillas.
27188 No obstante, \SpecialChar LyX
27189 nunca tendrá plantillas inseguras tal y como se distribuye
27190 por los canales oficiales.
27193 \begin_layout Standard
27194 Incluir material externo suministra mucha potencia y has de ser cuidadoso
27195 en no introducir riesgos de seguridad a costa de esta potencia.
27196 Un sutil error en una simple línea en un guión aparentemente inocente puede
27197 abrir la puerta a graves problemas de seguridad.
27198 Así, si no comprendes totalmente estos asuntos, recomendamos consultar
27199 a un profesional entendido en seguridad o al equipo de desarrollo de \SpecialChar LyX
27201 tienes dudas acerca de si una plantilla dada es o no segura.
27202 Y hazlo antes de usarla en un entorno no controlado.
27205 \begin_layout Chapter
27207 Lista de funciones soportadas por \SpecialChar LyX
27208 en archivos de formato
27209 \begin_inset CommandInset label
27211 name "cap:Lista-de-funciones"
27218 \begin_layout Standard
27220 \begin_inset Tabular
27221 <lyxtabular version="3" rows="11" columns="8">
27222 <features tabularvalignment="middle">
27223 <column alignment="left" valignment="top">
27224 <column alignment="left" valignment="top">
27225 <column alignment="left" valignment="top">
27226 <column alignment="left" valignment="top">
27227 <column alignment="left" valignment="top">
27228 <column alignment="left" valignment="top">
27229 <column alignment="left" valignment="top">
27230 <column alignment="left" valignment="top">
27232 <cell alignment="left" valignment="top" usebox="none">
27235 \begin_layout Plain Layout
27241 <cell alignment="left" valignment="top" usebox="none">
27244 \begin_layout Plain Layout
27250 <cell alignment="left" valignment="top" usebox="none">
27253 \begin_layout Plain Layout
27259 <cell alignment="left" valignment="top" usebox="none">
27262 \begin_layout Plain Layout
27268 <cell alignment="center" valignment="top" usebox="none">
27271 \begin_layout Plain Layout
27277 <cell alignment="center" valignment="top" usebox="none">
27280 \begin_layout Plain Layout
27286 <cell alignment="center" valignment="top" usebox="none">
27289 \begin_layout Plain Layout
27295 <cell alignment="center" valignment="top" usebox="none">
27298 \begin_layout Plain Layout
27306 <cell alignment="left" valignment="top" usebox="none">
27309 \begin_layout Plain Layout
27315 <cell alignment="left" valignment="top" usebox="none">
27318 \begin_layout Plain Layout
27324 <cell alignment="left" valignment="top" usebox="none">
27327 \begin_layout Plain Layout
27333 <cell alignment="left" valignment="top" usebox="none">
27336 \begin_layout Plain Layout
27342 <cell alignment="center" valignment="top" usebox="none">
27345 \begin_layout Plain Layout
27351 <cell alignment="center" valignment="top" usebox="none">
27354 \begin_layout Plain Layout
27360 <cell alignment="center" valignment="top" usebox="none">
27363 \begin_layout Plain Layout
27369 <cell alignment="center" valignment="top" usebox="none">
27372 \begin_layout Plain Layout
27380 <cell alignment="left" valignment="top" usebox="none">
27383 \begin_layout Plain Layout
27389 <cell alignment="left" valignment="top" usebox="none">
27392 \begin_layout Plain Layout
27398 <cell alignment="left" valignment="top" usebox="none">
27401 \begin_layout Plain Layout
27407 <cell alignment="left" valignment="top" usebox="none">
27410 \begin_layout Plain Layout
27416 <cell alignment="center" valignment="top" usebox="none">
27419 \begin_layout Plain Layout
27425 <cell alignment="center" valignment="top" usebox="none">
27428 \begin_layout Plain Layout
27434 <cell alignment="center" valignment="top" usebox="none">
27437 \begin_layout Plain Layout
27443 <cell alignment="center" valignment="top" usebox="none">
27446 \begin_layout Plain Layout
27454 <cell alignment="left" valignment="top" usebox="none">
27457 \begin_layout Plain Layout
27463 <cell alignment="left" valignment="top" usebox="none">
27466 \begin_layout Plain Layout
27472 <cell alignment="left" valignment="top" usebox="none">
27475 \begin_layout Plain Layout
27481 <cell alignment="left" valignment="top" usebox="none">
27484 \begin_layout Plain Layout
27490 <cell alignment="center" valignment="top" usebox="none">
27493 \begin_layout Plain Layout
27499 <cell alignment="center" valignment="top" usebox="none">
27502 \begin_layout Plain Layout
27508 <cell alignment="center" valignment="top" usebox="none">
27511 \begin_layout Plain Layout
27517 <cell alignment="center" valignment="top" usebox="none">
27520 \begin_layout Plain Layout
27528 <cell alignment="left" valignment="top" usebox="none">
27531 \begin_layout Plain Layout
27537 <cell alignment="left" valignment="top" usebox="none">
27540 \begin_layout Plain Layout
27546 <cell alignment="left" valignment="top" usebox="none">
27549 \begin_layout Plain Layout
27555 <cell alignment="left" valignment="top" usebox="none">
27558 \begin_layout Plain Layout
27564 <cell alignment="center" valignment="top" usebox="none">
27567 \begin_layout Plain Layout
27573 <cell alignment="center" valignment="top" usebox="none">
27576 \begin_layout Plain Layout
27582 <cell alignment="center" valignment="top" usebox="none">
27585 \begin_layout Plain Layout
27591 <cell alignment="center" valignment="top" usebox="none">
27594 \begin_layout Plain Layout
27602 <cell alignment="left" valignment="top" usebox="none">
27605 \begin_layout Plain Layout
27611 <cell alignment="left" valignment="top" usebox="none">
27614 \begin_layout Plain Layout
27620 <cell alignment="left" valignment="top" usebox="none">
27623 \begin_layout Plain Layout
27629 <cell alignment="left" valignment="top" usebox="none">
27632 \begin_layout Plain Layout
27638 <cell alignment="center" valignment="top" usebox="none">
27641 \begin_layout Plain Layout
27647 <cell alignment="center" valignment="top" usebox="none">
27650 \begin_layout Plain Layout
27656 <cell alignment="center" valignment="top" usebox="none">
27659 \begin_layout Plain Layout
27665 <cell alignment="center" valignment="top" usebox="none">
27668 \begin_layout Plain Layout
27676 <cell alignment="left" valignment="top" usebox="none">
27679 \begin_layout Plain Layout
27685 <cell alignment="left" valignment="top" usebox="none">
27688 \begin_layout Plain Layout
27694 <cell alignment="left" valignment="top" usebox="none">
27697 \begin_layout Plain Layout
27703 <cell alignment="left" valignment="top" usebox="none">
27706 \begin_layout Plain Layout
27712 <cell alignment="center" valignment="top" usebox="none">
27715 \begin_layout Plain Layout
27721 <cell alignment="center" valignment="top" usebox="none">
27724 \begin_layout Plain Layout
27730 <cell alignment="center" valignment="top" usebox="none">
27733 \begin_layout Plain Layout
27739 <cell alignment="center" valignment="top" usebox="none">
27742 \begin_layout Plain Layout
27750 <cell alignment="left" valignment="top" usebox="none">
27753 \begin_layout Plain Layout
27759 <cell alignment="left" valignment="top" usebox="none">
27762 \begin_layout Plain Layout
27768 <cell alignment="left" valignment="top" usebox="none">
27771 \begin_layout Plain Layout
27777 <cell alignment="left" valignment="top" usebox="none">
27780 \begin_layout Plain Layout
27786 <cell alignment="center" valignment="top" usebox="none">
27789 \begin_layout Plain Layout
27795 <cell alignment="center" valignment="top" usebox="none">
27798 \begin_layout Plain Layout
27804 <cell alignment="center" valignment="top" usebox="none">
27807 \begin_layout Plain Layout
27813 <cell alignment="center" valignment="top" usebox="none">
27816 \begin_layout Plain Layout
27824 <cell alignment="left" valignment="top" usebox="none">
27827 \begin_layout Plain Layout
27833 <cell alignment="left" valignment="top" usebox="none">
27836 \begin_layout Plain Layout
27842 <cell alignment="left" valignment="top" usebox="none">
27845 \begin_layout Plain Layout
27851 <cell alignment="left" valignment="top" usebox="none">
27854 \begin_layout Plain Layout
27860 <cell alignment="center" valignment="top" usebox="none">
27863 \begin_layout Plain Layout
27869 <cell alignment="center" valignment="top" usebox="none">
27872 \begin_layout Plain Layout
27878 <cell alignment="center" valignment="top" usebox="none">
27881 \begin_layout Plain Layout
27887 <cell alignment="center" valignment="top" usebox="none">
27890 \begin_layout Plain Layout
27898 <cell alignment="left" valignment="top" usebox="none">
27901 \begin_layout Plain Layout
27907 <cell alignment="left" valignment="top" usebox="none">
27910 \begin_layout Plain Layout
27916 <cell alignment="left" valignment="top" usebox="none">
27919 \begin_layout Plain Layout
27925 <cell alignment="left" valignment="top" usebox="none">
27928 \begin_layout Plain Layout
27934 <cell alignment="center" valignment="top" usebox="none">
27937 \begin_layout Plain Layout
27943 <cell alignment="center" valignment="top" usebox="none">
27946 \begin_layout Plain Layout
27952 <cell alignment="center" valignment="top" usebox="none">
27955 \begin_layout Plain Layout
27961 <cell alignment="center" valignment="top" usebox="none">
27964 \begin_layout Plain Layout
27972 <cell alignment="center" valignment="top" usebox="none">
27975 \begin_layout Plain Layout
27981 <cell alignment="center" valignment="top" usebox="none">
27984 \begin_layout Plain Layout
27990 <cell alignment="center" valignment="top" usebox="none">
27993 \begin_layout Plain Layout
27999 <cell alignment="center" valignment="top" usebox="none">
28002 \begin_layout Plain Layout
28008 <cell alignment="center" valignment="top" usebox="none">
28011 \begin_layout Plain Layout
28017 <cell alignment="center" valignment="top" usebox="none">
28020 \begin_layout Plain Layout
28026 <cell alignment="center" valignment="top" usebox="none">
28029 \begin_layout Plain Layout
28035 <cell alignment="center" valignment="top" usebox="none">
28038 \begin_layout Plain Layout
28052 \begin_layout Chapter
28053 Nombres de colores disponibles para archivos de formato
28054 \begin_inset CommandInset label
28056 name "cap:Nombres-de-colores"
28063 \begin_layout Standard
28064 Los colores listados son los colores estándar y los que se pueden modificar
28065 en las preferencias de \SpecialChar LyX
28069 \begin_layout Section
28075 \begin_layout Standard
28078 The following are no real colors, but rather act on color definitions:
28081 \begin_layout Description
28082 ignore El color es ignorado
28085 \begin_layout Description
28086 inherit El color es heredado
28089 \begin_layout Description
28096 Ningún color en particular, transparente o ausente
28099 \begin_layout Section
28105 \begin_layout Standard
28108 These are fixed colors that cannot me customized:
28111 \begin_layout Description
28115 \begin_layout Description
28119 \begin_layout Description
28123 \begin_layout Description
28127 \begin_layout Description
28131 \begin_layout Description
28135 \begin_layout Description
28139 \begin_layout Description
28143 \begin_layout Description
28147 \begin_layout Description
28151 \begin_layout Description
28155 \begin_layout Description
28159 \begin_layout Description
28163 \begin_layout Description
28167 \begin_layout Description
28171 \begin_layout Description
28175 \begin_layout Description
28179 \begin_layout Description
28183 \begin_layout Description
28187 \begin_layout Section
28193 \begin_layout Standard
28196 These are the colors allocated to specific elements in
28199 \begin_inset Flex Noun
28202 \begin_layout Plain Layout
28203 Herramientas\SpecialChar menuseparator
28212 \begin_layout Description
28213 added_space Color espacio añadido
28216 \begin_layout Description
28217 addedtext Color texto añadido
28220 \begin_layout Description
28221 appendix Color marcador de apéndice
28224 \begin_layout Description
28225 background Color de fondo
28228 \begin_layout Description
28229 bottomarea Color área inferior
28232 \begin_layout Description
28233 branchlabel Color etiqueta de ramas
28236 \begin_layout Description
28237 buttonbg Color fondo de botón
28240 \begin_layout Description
28241 buttonframe Color para marcos de botones de recuadro
28244 \begin_layout Description
28245 buttonhoverbg Color fondo de botón en foco
28248 \begin_layout Description
28249 changebar Color barra de cambios
28252 \begin_layout Description
28253 changedtextauthor1 Color autor 1 de texto cambiado
28256 \begin_layout Description
28257 changedtextauthor2 Color autor 2 de texto cambiado
28260 \begin_layout Description
28261 changedtextauthor3 Color autor 3 de texto cambiado
28264 \begin_layout Description
28265 changedtextauthor4 Color autor 4 de texto cambiado
28268 \begin_layout Description
28269 changedtextauthor5 Color autor 5 de texto cambiado
28272 \begin_layout Description
28273 collapsibletext Color texto de recuadro plegable
28276 \begin_layout Description
28277 collapsibleframe Color marco de recuadro plegable
28280 \begin_layout Description
28281 command Color texto recuadros de comando
28284 \begin_layout Description
28285 commandbg Color fondo recuadros de comando
28288 \begin_layout Description
28289 commandframe Color marco recuadros de comando
28292 \begin_layout Description
28293 comment Color etiqueta de comentarios
28296 \begin_layout Description
28297 commentbg Color fondo de comentarios
28300 \begin_layout Description
28301 cursor Color cursor
28304 \begin_layout Description
28305 deletedtext Color texto borrado
28308 \begin_layout Description
28309 deletedtextmodifier Color modificación de texto borrado
28312 \begin_layout Description
28313 depthbar Color barra de anidación en margen
28316 \begin_layout Description
28317 eolmarker Color marcador fin de línea
28320 \begin_layout Description
28321 error Color cuadro de error \SpecialChar LaTeX
28325 \begin_layout Description
28326 footlabel Color etiqueta de notas a pie de página
28329 \begin_layout Description
28335 \begin_layout Description
28336 graphicsbg Color fondo de recuadros de inserción de gráficos
28339 \begin_layout Description
28340 greyedoutbg Color fondo de recuadros de notas grises
28343 \begin_layout Description
28344 greyedoutlabel Color etiqueta de recuadros de notas grises
28347 \begin_layout Description
28348 greyedouttext Color texto de recuadros de notas grises
28351 \begin_layout Description
28352 indexlabel Color etiqueta de recuadros de índice
28355 \begin_layout Description
28356 inlinecompletion Color autofinalización en línea
28359 \begin_layout Description
28360 insetbg Color fondo de marcador de recuadro
28363 \begin_layout Description
28364 insetframe Color marco de marcador de recuadro
28367 \begin_layout Description
28368 language Color marcador de palabras en otros idiomas
28371 \begin_layout Description
28372 latex Color texto en modo \SpecialChar LaTeX
28376 \begin_layout Description
28377 listingsbg Color fondo de recuadro listado de código
28380 \begin_layout Description
28381 marginlabel Color etiqueta de notas al margen
28384 \begin_layout Description
28385 math Color texto de recuadro de ecuación
28388 \begin_layout Description
28389 mathbg Color fondo de recuadro de ecuación
28392 \begin_layout Description
28393 mathcorners Color marco de recuadro de ecuación fuera de foco
28396 \begin_layout Description
28397 mathframe Color marco de recuadro de ecuación en foco
28400 \begin_layout Description
28401 mathline Color línea de ecuación
28404 \begin_layout Description
28405 mathmacrobg Color fondo de recuadro de macro matemática
28408 \begin_layout Description
28409 mathmacroblend Color mezclado macro matemática
28412 \begin_layout Description
28413 mathmacroframe Color marco de macro matemática
28416 \begin_layout Description
28417 mathmacrohoverbg Color fondo de recuadro de macro matemática bajo el ratón
28420 \begin_layout Description
28421 mathmacrolabel Color etiqueta macro matemática
28424 \begin_layout Description
28425 mathmacronewarg Color plantilla de macro para nuevos parámetros
28428 \begin_layout Description
28429 mathmacrooldarg Color plantilla de macro para antiguos parámetros
28432 \begin_layout Description
28433 newpage Color página nueva
28436 \begin_layout Description
28437 nonunique_inlinecompletion Color autofinalización en línea parte no única
28440 \begin_layout Description
28441 note Color etiqueta de notas
28444 \begin_layout Description
28445 notebg Color fondo de notas
28448 \begin_layout Description
28449 pagebreak Color salto de página/línea
28452 \begin_layout Description
28453 paragraphmarker Color símbolo marcador de fin de párrafo
28456 \begin_layout Description
28457 phantomtext Color texto de recuadro fantasma
28460 \begin_layout Description
28461 preview Color vista preliminar
28464 \begin_layout Description
28465 previewframe Color marco vista preliminar
28468 \begin_layout Description
28469 regexpframe Color marco regexp
28472 \begin_layout Description
28475 scroll Color that indicates when a row can be scrolled
28478 \begin_layout Description
28479 selection Color fondo de texto seleccionado
28482 \begin_layout Description
28483 selectiontext Color de texto seleccionado
28486 \begin_layout Description
28487 shadedbg Color fondo de marco coloreado
28490 \begin_layout Description
28491 special Color texto de caracteres especiales
28494 \begin_layout Description
28495 tabularline Color línea de cuadro/tabla
28498 \begin_layout Description
28499 tabularonoffline Color línea de cuadro/tabla on/off
28502 \begin_layout Description
28503 urllabel Color etiqueta de recuadros URL
28506 \begin_layout Description
28507 urltext Color texto de recuadros URL