1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
5 \origin /systemlyxdir/doc/es/
8 % DO NOT ALTER THIS PREAMBLE!!!
10 % This preamble is designed to ensure that the manual prints
11 % out as advertised. If you mess with this preamble,
12 % parts of this document may not print out as expected. If you
13 % have problems LaTeXing this file, please contact
14 % the documentation team
15 % email: lyx-docs@lists.lyx.org
17 \usepackage{ifpdf} % part of the hyperref bundle
18 \ifpdf % if pdflatex is used
20 % set fonts for nicer pdf view
21 \IfFileExists{lmodern.sty}
22 {\usepackage{lmodern}}{}
24 \fi % end if pdflatex is used
26 % the pages of the TOC is numbered roman
27 % and a pdf-bookmark for the TOC is added
28 \let\myTOC\tableofcontents
29 \renewcommand\tableofcontents{%
31 \pdfbookmark[1]{\contentsname}{}
35 \@ifpackageloaded{babel}{
36 % increase link area for cross-references and autoname them,
37 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
38 \addto\extrasspanish{%
39 \renewcommand*{\equationautorefname}[1]{}%
40 \renewcommand{\sectionautorefname}{sec.\negthinspace}%
41 \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
42 \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
46 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
47 \use_default_options false
51 \maintain_unincluded_children false
54 InsetLayout Flex:MenuItem
63 \newcommand*{\menuitem}[1]{{\sffamily #1}}
66 # In case we need to do with sans...
67 #InsetLayout CharStyle:Code
72 #\renewcommand{\code}[1]{{\sffamily #1}}
77 \language_package default
80 \font_roman "default" "default"
81 \font_sans "default" "default"
82 \font_typewriter "default" "default"
83 \font_math "auto" "auto"
84 \font_default_family default
85 \use_non_tex_fonts false
88 \font_sf_scale 100 100
89 \font_tt_scale 100 100
91 \default_output_format default
93 \bibtex_command default
94 \index_command default
98 \pdf_title "Manual Personalización de LyX"
99 \pdf_author "Equipo LyX"
100 \pdf_subject "LyX-documentation Customization"
101 \pdf_keywords "LyX, documentation, customization"
103 \pdf_bookmarksnumbered true
104 \pdf_bookmarksopen true
105 \pdf_bookmarksopenlevel 1
106 \pdf_breaklinks false
110 \pdf_pdfusetitle false
111 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
114 \use_package amsmath 0
115 \use_package amssymb 0
116 \use_package cancel 0
118 \use_package mathdots 1
119 \use_package mathtools 0
120 \use_package mhchem 0
121 \use_package stackrel 0
122 \use_package stmaryrd 0
123 \use_package undertilde 0
125 \cite_engine_type default
129 \paperorientation portrait
144 \paragraph_separation indent
145 \paragraph_indentation default
146 \quotes_language french
149 \paperpagestyle headings
150 \tracking_changes false
151 \output_changes false
160 Personalizar \SpecialChar LyX
161 : Características para el usuario avanzado
165 por el equipo \SpecialChar LyX
170 \begin_layout Plain Layout
172 Si tienes correcciones o comentarios, envíalos, por favor, a la lista de
173 correo de Documentación de \SpecialChar LyX
175 \begin_inset CommandInset href
177 target "lyx-docs@lists.lyx.org"
184 \begin_inset Quotes fld
188 \begin_inset Quotes frd
191 en la cabecera de asunto, y envía una cc al actual mantenedor de este documento
192 , Richard Heck <rgheck@comcast.net>.
198 \begin_inset Newline newline
202 \begin_inset Newline newline
208 \begin_layout Standard
209 \begin_inset CommandInset toc
210 LatexCommand tableofcontents
217 \begin_layout Chapter
221 \begin_layout Standard
222 Este manual trata de las características de \SpecialChar LyX
223 que pueden ser modificadas
225 En él abordamos temas como atajos de teclado, opciones de vista previa
226 en pantalla, opciones de impresora, envío de comandos mediante \SpecialChar LyX
228 internacionalización, instalación de nuevas clases de \SpecialChar LaTeX
232 Seguro que no podemos aspirar a tratar todo lo que se puede cambiar, —nuestross
233 desarrolladores añaden características nuevas más deprisa de lo que las
234 podemos documentar— pero explicaremos las modificaciones más comunes y
235 y esperamos orientarte en la dirección correcta para algunas más desconocidas.
238 \begin_layout Standard
239 \begin_inset Branch OutDated
242 \begin_layout Standard
243 La rama OutDated contiene información de versiones anteriores de este documento
244 que ahora parece estar obsoleta.
245 Por omisión, esta información no aparece en la salida \SpecialChar LaTeX
254 \begin_layout Chapter
255 Archivos de configuración de \SpecialChar LyX
259 \begin_layout Standard
260 Este capítulo tiene por objetivo ayudarte a encontrar tu camino a través
261 de los archivos de configuración de \SpecialChar LyX
263 Antes de seguir leyendo deberías encontrar donde están los directorios
264 de bibliotecas y de usuario, consultando
265 \begin_inset Flex MenuItem
268 \begin_layout Plain Layout
269 Ayuda\SpecialChar menuseparator
270 Acerca de \SpecialChar LyX
277 El directorio de bibliotecas es el sitio en el que \SpecialChar LyX
279 de configuración de sistema; el directorio de usuario es donde puedes colocar
280 tus versiones modificadas.
281 En este documento, al primero lo denominaremos
282 \begin_inset Flex Code
285 \begin_layout Plain Layout
293 \begin_inset Flex MenuItem
296 \begin_layout Plain Layout
305 \begin_layout Section
307 \begin_inset Flex Code
310 \begin_layout Plain Layout
320 \begin_layout Standard
321 \begin_inset Flex Code
324 \begin_layout Plain Layout
331 y sus subdirectorios contienen archivos que pueden emplearse para personalizar
332 el comportamiento de \SpecialChar LyX
334 Puedes cambiar muchos de ellos desde dentro mismo de \SpecialChar LyX
337 \begin_inset Flex MenuItem
340 \begin_layout Plain Layout
341 Herramientas\SpecialChar menuseparator
348 La mayor parte de las adaptaciones personales que querrás hacer en \SpecialChar LyX
350 puede hacer en este diálogo.
351 Sin embargo, muchos otros aspectos internos de \SpecialChar LyX
352 pueden cambiarse modificando
354 \begin_inset Flex Code
357 \begin_layout Plain Layout
365 Estos archivos pertenecen a diversas categorías, descritas en las siguientes
369 \begin_layout Subsection
370 Archivos generados automáticamente
373 \begin_layout Standard
374 Los archivos que se encuentran en
375 \begin_inset Flex MenuItem
378 \begin_layout Plain Layout
384 se generan al configurar \SpecialChar LyX
386 Contienen varios valores predeterminados que se obtienen por inspección.
387 En general, no es buena idea modificarlos, puesto que podrían ser sobrescritos
388 en cualquier momento.
391 \begin_layout Labeling
392 \labelwidthstring 00.00.0000
393 \begin_inset Flex Code
396 \begin_layout Plain Layout
402 contiene valores predeterminados para varioscomandos.
405 \begin_layout Labeling
406 \labelwidthstring 00.00.0000
407 \begin_inset Flex Code
410 \begin_layout Plain Layout
416 contiene la lista de paquetes que han sido reconocidos por \SpecialChar LyX
418 No es utilizada por el propio \SpecialChar LyX
419 , pero la información extraida, y otras cosas
421 \begin_inset Flex MenuItem
424 \begin_layout Plain Layout
425 Ayuda\SpecialChar menuseparator
426 Configuración de \SpecialChar LaTeX
435 \begin_layout Labeling
436 \labelwidthstring 00.00.0000
437 \begin_inset Flex Code
440 \begin_layout Plain Layout
446 la lista de clases de textos encontradas en los directorios
447 \begin_inset Flex Code
450 \begin_layout Plain Layout
456 , junto con las clases de documentos \SpecialChar LaTeX
460 \begin_layout Labeling
461 \labelwidthstring 00.00.0000
462 \begin_inset Flex Code
465 \begin_layout Plain Layout
471 la lista de módulos de formato encontradas en los directorios
472 \begin_inset Flex Code
475 \begin_layout Plain Layout
484 \begin_layout Labeling
485 \labelwidthstring 00.00.0000
486 \begin_inset Flex Code
489 \begin_layout Plain Layout
495 lista de varios tipos de archivos relacionados con \SpecialChar LaTeX
496 encontrados en el sistema.
499 \begin_layout Labeling
500 \labelwidthstring 00.00.0000
501 \begin_inset Flex Code
504 \begin_layout Plain Layout
505 doc/\SpecialChar LaTeX
511 es generado automáticamente durante la configuración a partir del archivo
513 \begin_inset Flex Code
516 \begin_layout Plain Layout
524 Contiene información sobre la configuración de \SpecialChar LaTeX
528 \begin_layout Subsection
532 \begin_layout Standard
533 Estos directorios están duplicados en
534 \begin_inset Flex Code
537 \begin_layout Plain Layout
545 \begin_inset Flex Code
548 \begin_layout Plain Layout
555 Si determinado archivo existe en ambos sitios, se usará el de
556 \begin_inset Flex Code
559 \begin_layout Plain Layout
568 \begin_layout Labeling
569 \labelwidthstring 00.00.0000
570 \begin_inset Flex Code
573 \begin_layout Plain Layout
579 este directorio contiene archivos con la extensión
580 \begin_inset Flex Code
583 \begin_layout Plain Layout
589 que definen las combinaciones de teclas usadas en \SpecialChar LyX
591 Si ahí existe una versión nacional de un archivo bind llamado
592 \begin_inset Flex Code
595 \begin_layout Plain Layout
601 , ésta se usará en primer lugar.
604 \begin_layout Labeling
605 \labelwidthstring 00.00.0000
606 \begin_inset Flex Code
609 \begin_layout Plain Layout
615 contiene archivos gráficos que pueden ser incluidos en documentos.
619 \begin_layout Labeling
620 \labelwidthstring 00.00.0000
621 \begin_inset Flex Code
624 \begin_layout Plain Layout
630 contiene archivos de documentación de \SpecialChar LyX
631 (incluido éste que estás leyendo).
633 \begin_inset Flex Code
636 \begin_layout Plain Layout
643 merece atención especial, como se mencionó antes.
644 Si existe una versión nacional del documento de ayuda en el subdirectorio
646 \begin_inset Flex Code
649 \begin_layout Plain Layout
655 , éste se usará en primer lugar.
657 \begin_inset CommandInset ref
659 reference "cap:Internacionalización-de-LyX"
666 \begin_layout Labeling
667 \labelwidthstring 00.00.0000
668 \begin_inset Flex Code
671 \begin_layout Plain Layout
677 contiene archivos de ejemplo que describen el uso de algunas características.
678 Se puede acceder a ellos con el botón
679 \begin_inset Flex MenuItem
682 \begin_layout Plain Layout
688 en el buscador de archivos.
691 \begin_layout Labeling
692 \labelwidthstring 00.00.0000
693 \begin_inset Flex Code
696 \begin_layout Plain Layout
702 contiene archivos de imagen que se usan en el diálogo
703 \begin_inset Flex MenuItem
706 \begin_layout Plain Layout
707 Documento\SpecialChar menuseparator
714 Contiene además los iconos de las barras de herramientas y las enseñas
716 mostradas en su inicio.
719 \begin_layout Labeling
720 \labelwidthstring 00.00.0000
721 \begin_inset Flex Code
724 \begin_layout Plain Layout
730 contiene archivos de mapas de teclado.
732 \begin_inset CommandInset ref
734 reference "sec:keymap"
741 \begin_layout Labeling
742 \labelwidthstring 00.00.0000
743 \begin_inset Flex Code
746 \begin_layout Plain Layout
752 contiene las clases de textos y los archivos de los módulos descritos en
754 \begin_inset CommandInset ref
756 reference "cap:Instalación-de-nuevas"
763 \begin_layout Labeling
764 \labelwidthstring 00.00.0000
765 \begin_inset Flex Code
768 \begin_layout Plain Layout
774 contiene los guiones de Python
775 \begin_inset Flex Code
778 \begin_layout Plain Layout
784 para convertir entre versiones de \SpecialChar LyX
786 Pueden ejecutarse en línea de comandos si, digamos, quieres convertir ficheros
790 \begin_layout Labeling
791 \labelwidthstring 00.00.0000
792 \begin_inset Flex Code
795 \begin_layout Plain Layout
801 contiene algunos archivos que demuestran las capacidades de la característica
803 \begin_inset Flex MenuItem
806 \begin_layout Plain Layout
813 También contiene algunos guiones usados por el propio \SpecialChar LyX
817 \begin_layout Labeling
818 \labelwidthstring 00.00.0000
819 \begin_inset Flex Code
822 \begin_layout Plain Layout
828 contiene los archivos de plantillas estándar de \SpecialChar LyX
830 \begin_inset CommandInset ref
832 reference "subsec:Creación-de-plantillas"
839 \begin_layout Labeling
840 \labelwidthstring 00.00.0000
841 \begin_inset Flex Code
844 \begin_layout Plain Layout
850 contiene archivos con la extensión
851 \begin_inset Flex Code
854 \begin_layout Plain Layout
860 que definen la interfaz de usuario de \SpecialChar LyX
862 Esto es, archivos que definen qué ítems aparecen en qué menús y barras
866 \begin_layout Subsection
867 Archivos que no necesitan modificaciones
870 \begin_layout Standard
871 Estos archivos son utilizados internamente por \SpecialChar LyX
872 y generalmente no deben
873 ser modificados sino por los desarrolladores.
876 \begin_layout Labeling
877 \labelwidthstring 00.00.0000
878 \begin_inset Flex Code
881 \begin_layout Plain Layout
887 contiene la lista de desarrolladores de \SpecialChar LyX
889 Se muestra con el menú
890 \begin_inset Flex MenuItem
893 \begin_layout Plain Layout
894 Ayuda\SpecialChar menuseparator
895 Acerca de \SpecialChar LyX
904 \begin_layout Labeling
905 \labelwidthstring 00.00.0000
906 \begin_inset Flex Code
909 \begin_layout Plain Layout
915 es un guión de \SpecialChar LaTeX
916 usado durante el proceso de configuración.
917 No lo ejecutes directamente.
920 \begin_layout Labeling
921 \labelwidthstring 00.00.0000
922 \begin_inset Flex Code
925 \begin_layout Plain Layout
931 es el guión utilizado para la reconfiguración de \SpecialChar LyX
933 Genera los archivos de configuración en el directorio desde el que se ha
937 \begin_layout Subsection
938 Otros archivos en un par de líneas
941 \begin_layout Labeling
942 \labelwidthstring 00.00.0000
943 \begin_inset Flex Code
946 \begin_layout Plain Layout
952 contiene tablas que describen cómo los distintos códigos de caracteres
953 se transcriben a Unicode.
956 \begin_layout Labeling
957 \labelwidthstring 00.00.0000
958 \begin_inset Flex Code
961 \begin_layout Plain Layout
967 contiene las plantillas disponibles para la característica
968 \begin_inset Flex MenuItem
971 \begin_layout Plain Layout
978 \begin_inset CommandInset ref
980 reference "chap:Inserción-de-material"
987 \begin_layout Labeling
988 \labelwidthstring 00.00.0000
989 \begin_inset Flex Code
992 \begin_layout Plain Layout
998 contiene una lista de los idiomas actualmente soportados por \SpecialChar LyX
1002 \begin_layout Labeling
1003 \labelwidthstring 00.00.0000
1004 \begin_inset Flex Code
1007 \begin_layout Plain Layout
1015 contains information about the supported fonts.
1018 \begin_layout Labeling
1019 \labelwidthstring 00.00.0000
1020 \begin_inset Flex Code
1023 \begin_layout Plain Layout
1031 this file contains translations for internationalized paragraph styles
1034 \begin_inset CommandInset ref
1036 reference "subsec:I18n"
1043 \begin_layout Labeling
1044 \labelwidthstring 00.00.0000
1045 \begin_inset Flex Code
1048 \begin_layout Plain Layout
1056 this file contains information about unicode-encoded glyphs and the way
1057 they are supported by \SpecialChar LyX
1058 via \SpecialChar LaTeX
1062 \begin_layout Section
1063 Directorio de configuración personal
1066 \begin_layout Standard
1067 Aunque uses \SpecialChar LyX
1068 como usuario sin privilegios, puedes adaptar su configuración
1071 \begin_inset Flex Code
1074 \begin_layout Plain Layout
1080 contiene todos los archivos de configuración personal.
1081 Es el directorio especificado como
1082 \begin_inset Quotes fld
1085 Directorio del usuario
1086 \begin_inset Quotes frd
1090 \begin_inset Flex MenuItem
1093 \begin_layout Plain Layout
1094 Ayuda\SpecialChar menuseparator
1095 Acerca de \SpecialChar LyX
1102 Este directorio se usa como espejo de
1103 \begin_inset Flex Code
1106 \begin_layout Plain Layout
1113 , que quiere decir que cada archivo en
1114 \begin_inset Flex Code
1117 \begin_layout Plain Layout
1123 es un equivalente del correspondiente archivo en
1124 \begin_inset Flex Code
1127 \begin_layout Plain Layout
1135 Cualquiera de los archivos de configuración descritos en las secciones
1136 anteriores puede estar en el directorio global del sistema, en cuyo caso
1137 afectará a todos los usuarios, y en tu directorio local para tu propio
1141 \begin_layout Standard
1142 Para clarificar las cosas vamos a poner unos ejemplos:
1145 \begin_layout Itemize
1146 Las preferencias establecidas en el diálogo
1147 \begin_inset Flex MenuItem
1150 \begin_layout Plain Layout
1151 Herramientas\SpecialChar menuseparator
1157 se guardan en un archivo
1158 \begin_inset Flex Code
1161 \begin_layout Plain Layout
1168 \begin_inset Flex Code
1171 \begin_layout Plain Layout
1180 \begin_layout Itemize
1181 Si reconfiguras mediante
1182 \begin_inset Flex MenuItem
1185 \begin_layout Plain Layout
1186 Herramientas\SpecialChar menuseparator
1194 \begin_inset Newline linebreak
1198 \begin_inset Flex Code
1201 \begin_layout Plain Layout
1207 , y los archivos resultantes se escriben en tu directorio de usuario.
1208 Esto significa que cualquier archivo adicional de clase de texto que pudieras
1210 \begin_inset Flex Code
1213 \begin_layout Plain Layout
1219 se sumará a la lista de clases en el diálogo
1220 \begin_inset Flex MenuItem
1223 \begin_layout Plain Layout
1224 Documento\SpecialChar menuseparator
1233 \begin_layout Itemize
1234 Si consigues alguna documentación actualizada del sitio de \SpecialChar LyX
1236 instalarla porque no tienes permisos para administrar tu sistema, solo
1237 has de copiar los archivos en
1238 \begin_inset Flex Code
1241 \begin_layout Plain Layout
1247 ¡y las entradas del menú
1248 \begin_inset Flex MenuItem
1251 \begin_layout Plain Layout
1260 \begin_layout Section
1261 Ejecutar \SpecialChar LyX
1262 con múltiples configuraciones
1265 \begin_layout Standard
1266 La libertad de configuración del directorio local puede no ser suficiente
1267 si quieres tener a tu disposición más de una configuración.
1268 Por ejemplo, si quisieras usar diferentes combinaciones de teclas o configuraci
1269 ones de impresora en distintos momentos.
1270 Esto lo puedes conseguir teniendo varios de estos directorios.
1271 Después especificas qué directorio usar al arrancar.
1274 \begin_layout Standard
1275 Ejecutando \SpecialChar LyX
1276 con la opción de línea de comandos
1277 \begin_inset Flex Code
1280 \begin_layout Plain Layout
1290 hace que el programa lea la configuración de ese directorio y no del predetermi
1292 (Puedes determinar el directorio predeterminado ejecutando \SpecialChar LyX
1295 \begin_inset Flex Code
1298 \begin_layout Plain Layout
1305 Si el directorio especificado no existe, \SpecialChar LyX
1306 propone su creación, tal como
1307 hace con el directorio predeterminado la primera vez que se ejecuta el
1309 Puedes modificar las opciones de configuración en ese directorio personal
1310 adicional exactamente igual que para el directorio predeterminado.
1311 Estos directorios son completamente independientes (pero sigue leyendo).
1312 Ten presente que establecer algún valor para la variable de entorno
1313 \begin_inset Flex Code
1316 \begin_layout Plain Layout
1322 tiene exactamente el mismo efecto.
1325 \begin_layout Standard
1326 Tener varias configuraciones también requiere más mantenimiento: si quieres
1327 añadir un nuevo formato a
1328 \begin_inset Flex Code
1331 \begin_layout Plain Layout
1337 que esté disponible en todas tus configuraciones, debes añadirlo a cada
1338 directorio por separado.
1339 Puedes evitarlo con el siguiente truco: después de que \SpecialChar LyX
1341 adicional, la mayoría de los subdirectorios (véase arriba) están vacíos.
1342 Si quieres que la nueva configuración sea una réplica de una existente,
1343 reemplaza el subdirectorio vacío con un enlace simbólico que apunte al
1344 subdirectorio deseado.
1345 Ten precaución, no obstante, con el subdirectorio
1346 \begin_inset Flex Code
1349 \begin_layout Plain Layout
1355 , puesto que contiene un archivo escrito por el guión de configuración (también
1357 \begin_inset Flex MenuItem
1360 \begin_layout Plain Layout
1361 Herramientas\SpecialChar menuseparator
1367 ) que es específico de la configuración.
1370 \begin_layout Chapter
1371 El diálogo Preferencias
1374 \begin_layout Standard
1375 Todas las opciones del diálogo de preferencias se describen en el apéndice
1389 Ahí encontrarás más detalles sobre algunas opciones.
1392 \begin_layout Section
1394 \begin_inset CommandInset label
1403 \begin_layout Standard
1404 El primer paso es definir tus propios formatos de archivo si no lo están
1406 Para hacerlo abre el diálogo
1407 \begin_inset Flex MenuItem
1410 \begin_layout Plain Layout
1411 Herramientas\SpecialChar menuseparator
1419 \begin_inset Flex MenuItem
1422 \begin_layout Plain Layout
1423 Gestión de archivos\SpecialChar menuseparator
1430 \begin_inset Flex MenuItem
1433 \begin_layout Plain Layout
1434 Nuevo\SpecialChar ldots
1440 para definir el nuevo formato.
1442 \begin_inset Flex MenuItem
1445 \begin_layout Plain Layout
1451 es para el nombre que identificará el formato en la GUI (interfaz gráfica
1454 \begin_inset Flex MenuItem
1457 \begin_layout Plain Layout
1463 se usa para identificar el formato internamente.
1464 Además deberás introducir una extensión de archivo.
1465 Todos estos son imprescindibles.
1467 \begin_inset Flex MenuItem
1470 \begin_layout Plain Layout
1476 sirve para asociar una combinación de teclas en los menús.
1477 (Por ejemplo, teclear
1478 \begin_inset Flex MenuItem
1481 \begin_layout Plain Layout
1488 \begin_inset Flex MenuItem
1491 \begin_layout Plain Layout
1494 Documento\SpecialChar menuseparator
1497 \SpecialChar menuseparator
1505 \begin_inset Flex MenuItem
1508 \begin_layout Plain Layout
1517 \begin_layout Standard
1518 Un Formato puede tener un
1519 \begin_inset Flex MenuItem
1522 \begin_layout Plain Layout
1529 \begin_inset Flex MenuItem
1532 \begin_layout Plain Layout
1539 Por ejemplo, podrías usar
1540 \begin_inset Flex MenuItem
1543 \begin_layout Plain Layout
1549 para ver archivos PostScript.
1550 Puedes introducir el comando para iniciar el programa en el campo correspondien
1552 Al definir este comando puedes usar las cuatro variables listadas en la
1554 El visor se lanza cuando ves una imagen en \SpecialChar LyX
1556 \begin_inset Flex MenuItem
1559 \begin_layout Plain Layout
1562 Documento\SpecialChar menuseparator
1569 El editor se lanza cuando pulsas el botón
1570 \begin_inset Flex MenuItem
1573 \begin_layout Plain Layout
1579 que se muestra al hacer clic derecho en un gráfico o en un material externo,
1583 \begin_layout Standard
1589 \begin_inset Flex MenuItem
1592 \begin_layout Plain Layout
1600 type of a format is optional, but if it is specified, it must be unique
1602 It is used to detect files of this format from the file contents.
1603 For some important file formats there is no MIME type officially registered
1607 \begin_inset CommandInset href
1610 target "http://www.iana.org/assignments/media-types/"
1617 Therefore \SpecialChar LyX
1618 uses the extended list of MIME types as specified by
1621 \begin_inset CommandInset href
1623 name "freedesktop.org"
1624 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1631 \begin_layout Standard
1633 \begin_inset Flex MenuItem
1636 \begin_layout Plain Layout
1637 Formato de documento
1642 indica a \SpecialChar LyX
1643 que ese formato es adecuado para exportar.
1644 Si esto está marcado y existe una ruta de conversión adecuada (véase
1645 \begin_inset CommandInset ref
1647 reference "sec:Convertidores"
1651 ), el formato aparecerá en el menú
1652 \begin_inset Flex MenuItem
1655 \begin_layout Plain Layout
1656 Archivo\SpecialChar menuseparator
1663 También aparecerá en el menú
1664 \begin_inset Flex MenuItem
1667 \begin_layout Plain Layout
1670 Documento\SpecialChar menuseparator
1676 si se ha especificado un visor para ese formato.
1677 Los formatos puros de imagen, como
1678 \begin_inset Flex Code
1681 \begin_layout Plain Layout
1687 , no deberían usar esta opción.
1688 Los formatos que pueden corresponder tanto a gráficos vectoriales como
1690 \begin_inset Flex Code
1693 \begin_layout Plain Layout
1699 , sí deberían usarla.
1702 \begin_layout Standard
1704 \begin_inset Flex MenuItem
1707 \begin_layout Plain Layout
1708 Formato de gráfico vectorial
1713 indica a \SpecialChar LyX
1714 que el formato puede contener gráficos vectoriales.
1715 Esta información se emplea para determinar el formato objetivo de los gráficos
1716 incluidos para la exportación
1717 \begin_inset Flex MenuItem
1720 \begin_layout Plain Layout
1727 Los gráficos incluidos pueden requerir conversión a
1728 \begin_inset Flex MenuItem
1731 \begin_layout Plain Layout
1738 \begin_inset Flex MenuItem
1741 \begin_layout Plain Layout
1748 \begin_inset Flex MenuItem
1751 \begin_layout Plain Layout
1758 \begin_inset Flex MenuItem
1761 \begin_layout Plain Layout
1767 no puede manejar otros formatos de imagen.
1768 Si un archivo incluido no está ya en formato
1769 \begin_inset Flex MenuItem
1772 \begin_layout Plain Layout
1779 \begin_inset Flex MenuItem
1782 \begin_layout Plain Layout
1789 \begin_inset Flex MenuItem
1792 \begin_layout Plain Layout
1799 \begin_inset Flex MenuItem
1802 \begin_layout Plain Layout
1808 si la opción de formato vectorial está marcada, y si no a
1809 \begin_inset Flex MenuItem
1812 \begin_layout Plain Layout
1822 \begin_layout Section
1826 \begin_layout Standard
1827 Puesto que todas las conversiones de un formato a otro tienen lugar en el
1828 archivo temporal de \SpecialChar LyX
1829 , a veces es necesario modificar un archivo antes de
1830 copiarlo en el directorio temporal para que la conversión se pueda realizar.
1834 \begin_layout Plain Layout
1835 Por ejemplo, el archivo puede hacer referencia a otros archivos —imágenes,
1836 por ejemplo— mediante nombres de archivo relativos, y estos pueden resultar
1837 inválidos cuando el archivo se copia en el directorio temporal.
1842 Esto lo hace un Copiador: copia un archivo a (o desde) el directorio temporal
1843 y puede modificarlo en el proceso.
1846 \begin_layout Standard
1847 Las definiciones de los copiadores pueden usar cuatro variables:
1850 \begin_layout Labeling
1851 \labelwidthstring 00.00.0000
1852 \begin_inset Flex Code
1855 \begin_layout Plain Layout
1861 El directorio de sistema de \SpecialChar LyX
1863 \begin_inset space \thinspace{}
1867 \begin_inset space \space{}
1871 \begin_inset Flex MenuItem
1874 \begin_layout Plain Layout
1883 \begin_layout Labeling
1884 \labelwidthstring 00.00.0000
1885 \begin_inset Flex Code
1888 \begin_layout Plain Layout
1894 El archivo de entrada
1897 \begin_layout Labeling
1898 \labelwidthstring 00.00.0000
1899 \begin_inset Flex Code
1902 \begin_layout Plain Layout
1908 El archivo de salida
1911 \begin_layout Labeling
1912 \labelwidthstring 00.00.0000
1913 \begin_inset Flex Code
1916 \begin_layout Plain Layout
1924 The base name (without filename extension) in the \SpecialChar LyX
1928 \begin_layout Labeling
1929 \labelwidthstring 00.00.0000
1930 \begin_inset Flex Code
1933 \begin_layout Plain Layout
1941 The full directory path of the \SpecialChar LyX
1945 \begin_layout Labeling
1946 \labelwidthstring 00.00.0000
1947 \begin_inset Flex Code
1950 \begin_layout Plain Layout
1958 The full pathname to the original \SpecialChar LyX
1959 file being processed
1962 \begin_layout Labeling
1963 \labelwidthstring 00.00.0000
1964 \begin_inset Flex Code
1967 \begin_layout Plain Layout
1975 The filename (without any directory path) of the \SpecialChar LyX
1979 \begin_layout Labeling
1980 \labelwidthstring 00.00.0000
1981 \begin_inset Flex Code
1984 \begin_layout Plain Layout
1990 El `nombre \SpecialChar LaTeX
1994 \begin_layout Standard
1995 El último debería ser el nombre de archivo tal como debería ponerse en un
1996 comando \SpecialChar LaTeX
2004 Solo es pertinente cuando se exportan archivos adecuados para esa inclusión.
2007 \begin_layout Standard
2008 Los copiadores pueden emplearse para hacer casi cualquier cosa con archivos
2010 Por ejemplo, supongamos que quieres copiar archivos
2011 \begin_inset Flex MenuItem
2014 \begin_layout Plain Layout
2020 generados a un directorio especial,
2021 \begin_inset Flex Code
2024 \begin_layout Plain Layout
2031 En ese caso deberías escribir un guión para intérprete de comandos tal
2035 \begin_layout Standard
2036 \begin_inset listings
2040 \begin_layout Plain Layout
2045 \begin_layout Plain Layout
2050 \begin_layout Plain Layout
2052 TOFILE=`basename $2`
2055 \begin_layout Plain Layout
2057 cp $FROMFILE /home/you/pdf/$TOFILE
2062 Guárdalo en tu directorio local, —
2063 \begin_inset Flex Code
2066 \begin_layout Plain Layout
2067 /home/you/.lyx/scripts/pdfcopier.sh
2072 , supongamos— y hazlo ejecutable si ello es necesario en tu sistema.
2073 Después, en el diálogo
2074 \begin_inset Flex MenuItem
2077 \begin_layout Plain Layout
2078 Herramientas\SpecialChar menuseparator
2085 \begin_inset Flex MenuItem
2088 \begin_layout Plain Layout
2089 Gestión de archivos\SpecialChar menuseparator
2095 , selecciona el formato
2096 \begin_inset Flex MenuItem
2099 \begin_layout Plain Layout
2105 —u otro de los formatos pdf— e introduce
2106 \begin_inset Flex Code
2109 \begin_layout Plain Layout
2110 pdfcopier.sh $$i $$o
2116 \begin_inset Flex MenuItem
2119 \begin_layout Plain Layout
2128 \begin_layout Standard
2130 usa los copiadores en varias de sus propias conversiones.
2131 Por ejemplo, si se encuentran los programas apropiados, \SpecialChar LyX
2132 instalará copiadores
2134 \begin_inset Flex MenuItem
2137 \begin_layout Plain Layout
2144 \begin_inset Flex MenuItem
2147 \begin_layout Plain Layout
2149 \begin_inset space ~
2158 Cuando se exporta a estos formatos, el copiador se encarga de que se copien
2159 no solo el archivo HTML principal, sino también los diversos archivos asociados
2160 (estilos, imágenes, etc).
2161 Todos estos archivos se escriben en un subdirectorio del directorio en
2162 el que se encuentre el archivo original de \SpecialChar LyX
2167 \begin_layout Plain Layout
2168 Este copiador puede adaptarse.
2169 El argumento opcional
2170 \begin_inset Quotes fld
2174 \begin_inset Quotes frd
2177 acepta una lista, separada por comas, con las extensiones que deben copiarse;
2178 si se omite se copiarán todos los archivos.
2180 \begin_inset Quotes fld
2184 \begin_inset Quotes frd
2187 determina la extensión añadida al directorio generado.
2189 \begin_inset Quotes fld
2193 \begin_inset Flex MenuItem
2196 \begin_layout Plain Layout
2204 \begin_inset Quotes frd
2207 , así, el HTML generado a partir de
2208 \begin_inset Flex MenuItem
2211 \begin_layout Plain Layout
2218 \begin_inset Flex MenuItem
2221 \begin_layout Plain Layout
2222 /ruta/a/archivo.html.\SpecialChar LyX
2236 \begin_layout Section
2238 \begin_inset CommandInset label
2240 name "sec:Convertidores"
2247 \begin_layout Standard
2248 Puedes definir tus propios convertidores para convertir archivos entre distintos
2250 Se hace en el diálogo
2251 \begin_inset Flex MenuItem
2254 \begin_layout Plain Layout
2255 Herramientas\SpecialChar menuseparator
2256 Preferencias\SpecialChar menuseparator
2257 Gestión de archivos\SpecialChar menuseparator
2266 \begin_layout Standard
2267 Para definir un nuevo convertidor de un formato a otro, selecciónalos en
2268 las listas desplegables
2269 \begin_inset Flex MenuItem
2272 \begin_layout Plain Layout
2274 \begin_inset space ~
2283 \begin_inset Flex MenuItem
2286 \begin_layout Plain Layout
2288 \begin_inset space ~
2296 , introduce el comando necesario para la conversión y después pulsa el botón
2298 \begin_inset Flex MenuItem
2301 \begin_layout Plain Layout
2308 En la definición de convertidores se pueden usar distintas variables:
2311 \begin_layout Labeling
2312 \labelwidthstring 00.00.0000
2313 \begin_inset Flex Code
2316 \begin_layout Plain Layout
2322 El directorio de sistema de \SpecialChar LyX
2326 \begin_layout Labeling
2327 \labelwidthstring 00.00.0000
2328 \begin_inset Flex Code
2331 \begin_layout Plain Layout
2337 El archivo de entrada
2340 \begin_layout Labeling
2341 \labelwidthstring 00.00.0000
2342 \begin_inset Flex Code
2345 \begin_layout Plain Layout
2351 El archivo de salida
2354 \begin_layout Labeling
2355 \labelwidthstring 00.00.0000
2356 \begin_inset Flex Code
2359 \begin_layout Plain Layout
2365 El nombre del archivo base del archivo de entrada (sin la extensión)
2368 \begin_layout Labeling
2369 \labelwidthstring 00.00.0000
2370 \begin_inset Flex Code
2373 \begin_layout Plain Layout
2379 La ruta al archivo de entrada
2382 \begin_layout Labeling
2383 \labelwidthstring 00.00.0000
2384 \begin_inset Flex Code
2387 \begin_layout Plain Layout
2393 La ruta al archivo de entrada original (esto es diferente de $$p cuando
2394 se invoca una cadena de convertidores).
2397 \begin_layout Labeling
2398 \labelwidthstring 00.00.0000
2399 \begin_inset Flex Code
2402 \begin_layout Plain Layout
2408 El nombre iconv para la codificación del documento.
2411 \begin_layout Standard
2413 \begin_inset Flex MenuItem
2416 \begin_layout Plain Layout
2422 puedes introducir los siguientes, separados por comas:
2425 \begin_layout Labeling
2426 \labelwidthstring 00.00.0000
2427 \begin_inset Flex Code
2430 \begin_layout Plain Layout
2436 Este convertidor ejecuta alguna forma de \SpecialChar LaTeX
2438 Hará estar disponibles los registros de errores \SpecialChar LaTeX
2443 \begin_layout Labeling
2444 \labelwidthstring 00.00.0000
2445 \begin_inset Flex Code
2448 \begin_layout Plain Layout
2454 Necesita el archivo \SpecialChar LaTeX
2456 \begin_inset Flex MenuItem
2459 \begin_layout Plain Layout
2468 \begin_layout Labeling
2469 \labelwidthstring 00.00.0000
2470 \begin_inset Flex Code
2473 \begin_layout Plain Layout
2482 \begin_inset Quotes fld
2486 \begin_inset Quotes frd
2489 file from the backend, which in practice means a \SpecialChar LaTeX
2490 file like the one we
2491 would export, without
2492 \begin_inset Flex Code
2495 \begin_layout Plain Layout
2506 \begin_layout Labeling
2507 \labelwidthstring 00.00.0000
2508 \begin_inset Flex Code
2511 \begin_layout Plain Layout
2520 \begin_layout Standard
2521 Las tres siguientes no son realmente opciones porque aceptan un argumento
2523 \begin_inset Flex MenuItem
2526 \begin_layout Plain Layout
2528 \begin_inset space ~
2532 \begin_inset space ~
2543 \begin_layout Labeling
2544 \labelwidthstring 00.00.0000
2545 \begin_inset Flex Code
2548 \begin_layout Plain Layout
2554 Si se pone, el error estándar del convertidor se redirecciona a un archivo
2556 \begin_inset Flex Code
2559 \begin_layout Plain Layout
2565 , y el guión dado como argumento se ejecutará como:
2566 \begin_inset Flex Code
2569 \begin_layout Plain Layout
2570 script <infile.out >infile.log
2576 El argumento puede contener
2577 \begin_inset Flex Code
2580 \begin_layout Plain Layout
2589 \begin_layout Labeling
2590 \labelwidthstring 00.00.0000
2591 \begin_inset Flex Code
2594 \begin_layout Plain Layout
2600 El nombre del directorio en el que el convertidor descargará los archivos
2603 no creará ese directorio y no copia nada en él, aunque copiará este directorio
2605 El argumento puede contener
2606 \begin_inset Flex Code
2609 \begin_layout Plain Layout
2615 , que será reemplazado por el nombre base de los archivos de entrada y de
2616 salida, respectivamente, cuando se copia el directorio.
2617 \begin_inset Newline newline
2620 Ten en cuenta que resultdir y usetempdir no tienen sentido juntos.
2621 El último será ignorado si se da el primero.
2624 \begin_layout Labeling
2625 \labelwidthstring 00.00.0000
2626 \begin_inset Flex Code
2629 \begin_layout Plain Layout
2635 Determina el nombre del archivo de salida y puede contener
2636 \begin_inset Flex Code
2639 \begin_layout Plain Layout
2646 Solo es sensible con
2647 \begin_inset Flex Code
2650 \begin_layout Plain Layout
2656 y además es opcional; si no se da, por omisión es `index'.
2659 \begin_layout Standard
2660 Ninguno de estos tres últimos se usan actualmente en ninguno de los convertidore
2661 s que son instalados por \SpecialChar LyX
2665 \begin_layout Standard
2666 No tienes que definir convertidores entre todos los formatos que quieras
2668 Por ejemplo, observarás que no hay convertidor `\SpecialChar LyX
2669 a PostScript', sin embargo
2671 exporta a PostScript.
2672 Lo hace creando primero un archivo \SpecialChar LaTeX
2673 (no es necesario un convertidor para
2674 esto), que luego es convertido a DVI mediante el convertidor `\SpecialChar LaTeX
2676 y por último convierte el archivo DVI resultante a PostScript.
2678 encuentra automáticamente estas 'cadenas' de convertidores y siempre escogerá
2679 la cadena más corta posible.
2680 Sin embargo, aún puedes definir múltiples métodos de conversión entre formatos.
2681 Por ejemplo, la configuración estándar de \SpecialChar LyX
2682 provee cinco caminos para convertir
2687 \begin_layout Enumerate
2688 directamente, usando
2689 \begin_inset Flex MenuItem
2692 \begin_layout Plain Layout
2701 \begin_layout Enumerate
2702 mediante (DVI y) PostScript, usando
2703 \begin_inset Flex MenuItem
2706 \begin_layout Plain Layout
2715 \begin_layout Enumerate
2716 mediante DVI, usando
2717 \begin_inset Flex MenuItem
2720 \begin_layout Plain Layout
2729 \begin_layout Enumerate
2730 directamente, usando
2735 \begin_inset Flex MenuItem
2738 \begin_layout Plain Layout
2748 \begin_layout Enumerate
2749 directamente, usando
2750 \begin_inset Flex MenuItem
2753 \begin_layout Plain Layout
2763 \begin_layout Standard
2764 Para construir estas cadenas alternativas tienes que definir múltiples 'formatos
2765 de archivo' objetivo, como se describe en la sección
2766 \begin_inset space ~
2770 \begin_inset CommandInset ref
2772 reference "sec:Formatos"
2777 Por ejemplo, en la configuración estándar, se definen los formatos llamados
2779 \begin_inset Flex MenuItem
2782 \begin_layout Plain Layout
2793 \begin_inset Flex MenuItem
2796 \begin_layout Plain Layout
2803 \begin_inset Flex MenuItem
2806 \begin_layout Plain Layout
2817 \begin_inset Flex MenuItem
2820 \begin_layout Plain Layout
2827 \begin_inset Flex MenuItem
2830 \begin_layout Plain Layout
2841 \begin_inset Flex MenuItem
2844 \begin_layout Plain Layout
2851 \begin_inset Flex MenuItem
2854 \begin_layout Plain Layout
2865 \begin_inset Flex MenuItem
2868 \begin_layout Plain Layout
2876 \begin_inset Flex MenuItem
2879 \begin_layout Plain Layout
2890 \begin_inset Flex MenuItem
2893 \begin_layout Plain Layout
2900 ), todos ellos compartiendo la extensión
2901 \begin_inset Flex MenuItem
2904 \begin_layout Plain Layout
2910 , y que corresponden a los métodos de conversión antes mencionados.
2913 \begin_layout Chapter
2914 Internacionalización de \SpecialChar LyX
2916 \begin_inset CommandInset label
2918 name "cap:Internacionalización-de-LyX"
2925 \begin_layout Standard
2927 soporta el uso de una interfaz traducida.
2928 La última vez que lo comprobamos, \SpecialChar LyX
2929 suministraba textos en treinta idiomas.
2930 El idioma elegido se denomina
2935 (Para lecciones adicionales sobre configuración de idiomas, véase también
2937 \begin_inset Quotes fld
2941 \begin_inset Quotes frd
2944 del sistema operativo.
2945 En Linux, la página de manual de
2946 \begin_inset Flex Code
2949 \begin_layout Plain Layout
2955 es un buen punto de partida).
2959 \begin_layout Standard
2960 Hay que advertir que estas traducciones funcionarán pero tienen algunos
2962 En particular, todos los diálogos se han diseñado con el inglés en mente,
2963 lo que significa que algún texto traducido podría ser demasiado largo para
2964 ajustarse al espacio asignado.
2965 Esto solo es un problema de presentación en pantalla y no causará ningún
2967 Además, encontrarás que algunas traducciones no definen atajos de teclado
2969 A veces, simplemente no hay letras libres suficientes para ello.
2970 Otras veces, el traductor todavía no lo ha completado.
2971 Nuestro equipo de traducción, al que podrías unirte si quieres,
2975 \begin_layout Plain Layout
2976 Si usas con fluidez un idioma distinto del inglés, ¡unirse a estos equipos
2977 es una estupenda forma de corresponder a la comunidad \SpecialChar LyX
2983 intentará, por supuesto, corregir estas deficiencias en futuras versiones
2988 \begin_layout Section
2989 Traducción de \SpecialChar LyX
2993 \begin_layout Subsection
2994 Traducción de la interfaz gráfica de usuario (mensajes de texto)
2997 \begin_layout Standard
2999 utiliza la biblioteca GNU
3000 \begin_inset Flex Code
3003 \begin_layout Plain Layout
3009 para manejar la internacionalización de la interfaz.
3010 Para que \SpecialChar LyX
3011 hable tu idioma preferido en todos los menús y diálogos es necesario
3013 \begin_inset Flex Code
3016 \begin_layout Plain Layout
3023 Si está disponible, tendrás que generar a partir de él un archivo
3024 \begin_inset Flex Code
3027 \begin_layout Plain Layout
3034 El procedimiento para hacer todo esto se explica en la documentación de
3036 \begin_inset Flex Code
3039 \begin_layout Plain Layout
3046 Puedes hacer esto solo para ti, pero también podrías compartir el resultado
3047 de tu trabajo con el resto de la comunidad \SpecialChar LyX
3049 Envía un mensaje a la lista de desarrolladores de \SpecialChar LyX
3050 para más información
3051 sobre cómo proceder.
3054 \begin_layout Standard
3055 En resumen, esto es lo que deberías hacer (xx indica el código del idioma):
3058 \begin_layout Itemize
3059 Inspecciona el código fuente de \SpecialChar LyX
3062 \begin_inset CommandInset href
3064 name "información en la web"
3065 target "http://www.lyx.org/devel/cvs.php"
3072 \begin_layout Itemize
3074 \begin_inset Flex Code
3077 \begin_layout Plain Layout
3083 a la carpeta de los archivos
3084 \begin_inset Flex Code
3087 \begin_layout Plain Layout
3094 Después lo renombras como
3095 \begin_inset Flex Code
3098 \begin_layout Plain Layout
3106 \begin_inset Flex Code
3109 \begin_layout Plain Layout
3115 no está por ningún sitio, puede rehacerse con el comando de consola
3116 \begin_inset Flex Code
3119 \begin_layout Plain Layout
3125 en ese directorio, o puedes usar como muestra un archivo
3126 \begin_inset Flex Code
3129 \begin_layout Plain Layout
3135 de algún otro idioma).
3138 \begin_layout Itemize
3140 \begin_inset Flex Code
3143 \begin_layout Plain Layout
3153 \begin_layout Plain Layout
3154 Es un archivo de texto, se puede editar en cualquier editor de texto.
3155 Pero hay programas especializados para editar estos archivos, como
3159 (para todas las plataformas) o
3168 tiene un `modo' para editar archivos
3169 \begin_inset Flex Code
3172 \begin_layout Plain Layout
3183 Para algunos nombres de menú y otros artilugios hay además atajos de teclado
3184 que deberían traducirse.
3185 Dichas teclas se marcan con una `|' delante, y deberían traducirse de acuerdo
3186 con las palabras y frases del idioma.
3187 Además tendrías que rellenar la información al principio del nuevo archivo
3189 \begin_inset Flex Code
3192 \begin_layout Plain Layout
3198 , correo electrónico, etc., para que la gente sepa dónde enviarte sugerencias
3199 o divertidas diatribas.
3202 \begin_layout Standard
3203 Si estás haciendo esto solo para ti, entonces:
3206 \begin_layout Itemize
3208 \begin_inset Flex Code
3211 \begin_layout Plain Layout
3219 \begin_inset Flex Code
3222 \begin_layout Plain Layout
3223 msgfmt -o xx.mo < xx.po
3231 \begin_layout Itemize
3233 \begin_inset Flex Code
3236 \begin_layout Plain Layout
3242 a tu directorio local, en la carpeta apropiada para los mensajes de las
3243 aplicaciones en el idioma xx, con el nombre
3244 \begin_inset Flex Code
3247 \begin_layout Plain Layout
3254 \begin_inset space \thinspace{}
3258 \begin_inset space \space{}
3262 \begin_inset Flex Code
3265 \begin_layout Plain Layout
3266 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3276 \begin_layout Standard
3277 Sin embargo, ya se ha dicho, lo mejor sería poder añadir el nuevo archivo
3279 \begin_inset Flex Code
3282 \begin_layout Plain Layout
3288 a la distribución de \SpecialChar LyX
3289 , para que otros puedan usarlo.
3290 Esto requiere hacer cambios en \SpecialChar LyX
3291 , así que envía un correo a la lista de
3292 desarrolladores si estás interesado en hacerlo.
3295 \begin_layout Subsubsection
3299 \begin_layout Standard
3300 A veces resulta que un mensaje en inglés tiene diversas traducciones en
3302 Un ejemplo es la palabra
3303 \begin_inset Flex Code
3306 \begin_layout Plain Layout
3312 , que en alemán se puede traducir por Nach o Bis, según el sentido exacto
3314 \begin_inset Quotes fld
3318 \begin_inset Quotes frd
3323 \begin_inset Flex Code
3326 \begin_layout Plain Layout
3332 no maneja tales traducciones ambiguas.
3333 Por lo tanto, debes añadir alguna información contextual al mensaje: en
3335 \begin_inset Flex Code
3338 \begin_layout Plain Layout
3345 \begin_inset Flex Code
3348 \begin_layout Plain Layout
3349 To[[as in 'From format x to format y']]
3355 \begin_inset Flex Code
3358 \begin_layout Plain Layout
3359 To[[as in 'From page x to page y']]
3365 Ahora las dos apariciones de
3366 \begin_inset Flex Code
3369 \begin_layout Plain Layout
3376 \begin_inset Flex Code
3379 \begin_layout Plain Layout
3385 y pueden traducirse correctamente por Nach y Bis, respectivamente.
3388 \begin_layout Standard
3389 Por supuesto que la información contextual debe eliminarse del mensaje original
3390 si no se usa en la traducción.
3391 Por eso hay que ponerla entre dobles corchetes al final del mensaje (véase
3393 El mecanismo de traducción de \SpecialChar LyX
3394 asegura que todo lo que va entre corchetes
3395 al final de los mensajes se quita antes de mostrarlos.
3398 \begin_layout Subsection
3399 Traducción de la documentación
3402 \begin_layout Standard
3403 La documentación en línea (menú
3406 \begin_inset Flex MenuItem
3409 \begin_layout Plain Layout
3423 ) puede (¡debería!) traducirse.
3424 Si hay versiones traducidas de la documentación disponible
3428 \begin_layout Plain Layout
3429 Hasta marzo de 2008, al menos algunos de los documentos han sido traducidos
3430 a catorce idiomas, y el Tutorial está disponible en algunos más.
3436 \begin_inset Flex Code
3439 \begin_layout Plain Layout
3445 está adecuadamente configurado, \SpecialChar LyX
3447 \begin_inset Quotes fld
3451 \begin_inset Quotes frd
3456 busca las traducciones en
3459 \begin_inset Flex Code
3462 \begin_layout Plain Layout
3481 es el código para el idioma en uso actualmente.
3482 Si no hay versión traducida se presentará por omisión la versión inglesa
3484 Ten en cuenta que las versiones traducidas deben tener los mismos nombres
3489 de antes) que el original.
3490 Si te animas a traducir documentación (¡de paso, una excelente manera de
3491 leerla atentamente!), hay algunas cosas que deberías tener en cuenta:
3494 \begin_layout Itemize
3495 Consulta la web de traducción de la documentación en
3496 \begin_inset CommandInset href
3498 name "http://www.lyx.org/Translation"
3499 target "http://www.lyx.org/Translation"
3504 Así podrás comprobar el estado actual de traducción de documentos a tu
3506 También si hay alguien que esté coordinando la traducción a tu idioma.
3507 Si no hay nadie comunícanos, por favor, si estás interesado en ello.
3510 \begin_layout Standard
3511 Una vez que te has decidido a empezar, he aquí algunos consejos que te pueden
3512 ahorrar inconvenientes:
3515 \begin_layout Itemize
3516 ¡Únete al equipo de documentación! En
3519 \begin_inset Flex MenuItem
3522 \begin_layout Plain Layout
3523 Ayuda\SpecialChar menuseparator
3533 , que por cierto, es el primer documento que se debería traducir, hay informació
3534 n sobre cómo hacerlo.
3537 \begin_layout Itemize
3538 Infórmate sobre las normas tipográficas de tu idioma.
3539 La tipografía es un antiguo arte que ha desarrollado durante siglos una
3540 gran variedad de convenciones en diversas partes del mundo.
3541 Estudia también la terminología profesional de los tipógrafos en tu país.
3542 Inventar tu propia terminología sólo provocará confusión.
3545 (¡Cuidado! La tipografía es adictiva!)
3548 \begin_layout Itemize
3549 Haz una copia del documento para trabajar sobre ella.
3550 Puedes guardarla como archivo personal de traducción en tu directorio
3557 \begin_layout Itemize
3558 De vez en cuando el documento original (del equipo \SpecialChar LyX
3560 Usa el visor de fuentes en
3561 \begin_inset CommandInset href
3563 name "http://www.lyx.org/trac/timeline"
3564 target "http://www.lyx.org/trac/timeline"
3568 para ver los cambios realizados.
3569 De esta manera puedes ver fácilmente qué partes del documento traducido
3570 necesitan actualizarse.
3573 \begin_layout Standard
3574 Si encuentras un error en el documento original, ¡corríjelo y notifica los
3575 cambios al equipo de documentación! (¿No te has olvidado de contactar con
3576 el equipo de documentación, verdad?)
3579 \begin_layout Standard
3580 \begin_inset Branch OutDated
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.
4164 \begin_layout Standard
4165 Las dos secciones siguientes describen con detalle la sintaxis de los archivos
4167 \begin_inset Flex Code
4170 \begin_layout Plain Layout
4179 \begin_inset Flex Code
4182 \begin_layout Plain Layout
4191 Deberían servir de ayuda para diseñar tus propios mapas de teclado si los
4192 suministrados no satisfacen tus necesidades.
4195 \begin_layout Subsection
4199 \begin_layout Standard
4201 \begin_inset Flex Code
4204 \begin_layout Plain Layout
4210 asocia pulsaciones de teclas con caracteres o secuencias de ellos.
4211 Como sugiere el nombre, sirve para trazar un mapa del teclado.
4212 En esta sección se describen las palabras clave
4213 \begin_inset Flex Code
4216 \begin_layout Plain Layout
4225 \begin_inset Flex Code
4228 \begin_layout Plain Layout
4237 \begin_inset Flex Code
4240 \begin_layout Plain Layout
4249 \begin_inset Flex Code
4252 \begin_layout Plain Layout
4261 \begin_inset Flex Code
4264 \begin_layout Plain Layout
4273 \begin_layout Labeling
4274 \labelwidthstring 00.00.0000
4275 \begin_inset Flex Code
4278 \begin_layout Plain Layout
4286 Asocia un carácter a una cadena
4289 \begin_layout LyX-Code
4304 \begin_layout Standard
4318 , la doble comilla (") y la barra invertida (
4320 ) deben escaparse con una barra (
4325 \begin_layout Standard
4326 Un ejemplo de una declaración de
4327 \begin_inset Flex MenuItem
4330 \begin_layout Plain Layout
4338 para hacer que el símbolo
4339 \begin_inset Flex MenuItem
4342 \begin_layout Plain Layout
4350 sea generado por la tecla
4351 \begin_inset Flex MenuItem
4354 \begin_layout Plain Layout
4365 \begin_layout LyX-Code
4371 \begin_layout Labeling
4372 \labelwidthstring 00.00.0000
4373 \begin_inset Flex Code
4376 \begin_layout Plain Layout
4384 Especifica un carácter acentuado
4387 \begin_layout LyX-Code
4396 \begin_layout Standard
4397 Esto hará que el carácter
4405 sobre el(los) carácter(es) permitido(s)
4410 Este es el mecanismo de tecla muerta
4414 \begin_layout Plain Layout
4424 se refiere a una tecla que no genera ningún carácter por sí mismo, pero
4425 seguida de otra tecla genera el carácter acentuado deseado.
4426 Por ejemplo, un caráter con diéresis, ü, se genera de esta manera.
4435 \begin_layout Standard
4440 y después una tecla que no está entre las permitidas (
4444 ), en la salida obtendrás el carácter
4448 seguido por el otro carácter, el no permitido.
4449 Hay que tener en cuenta que
4450 \begin_inset Flex MenuItem
4453 \begin_layout Plain Layout
4461 cancela una tecla muerta, de modo que si pulsas
4466 \begin_inset Flex MenuItem
4469 \begin_layout Plain Layout
4477 , el cursor no retrocede una posición sino que anula el efecto que
4481 hubiera tenido sobre la siguiente pulsación.
4484 \begin_layout Standard
4485 En el ejemplo siguiente, el carácter ' va a generar un acento agudo permitido
4486 sobre los caracteres a, e, i, o, u, A, E, I, O, U:
4489 \begin_layout LyX-Code
4492 kmod ' acute aeiouAEIOU
4495 \begin_layout Labeling
4496 \labelwidthstring 00.00.0000
4497 \begin_inset Flex Code
4500 \begin_layout Plain Layout
4506 Especifica una excepción para el carácter acentuado
4509 \begin_layout LyX-Code
4518 \begin_layout Standard
4519 Define una excepción para el
4532 debe haber sido asignado a una pulsación con una declaración previa de
4534 \begin_inset Flex Code
4537 \begin_layout Plain Layout
4553 no debe estar en el conjunto
4562 Si tecleas la secuencia
4571 Si dicha declaración no existe en el archivo
4572 \begin_inset Flex Code
4575 \begin_layout Plain Layout
4595 es el primer argumento de la declaración
4596 \begin_inset Flex Code
4599 \begin_layout Plain Layout
4612 \begin_layout Standard
4613 El comando siguiente generará äi cuando teclees agudo-i ('i):
4616 \begin_layout LyX-Code
4630 \begin_layout Labeling
4631 \labelwidthstring 00.00.0000
4632 \begin_inset Flex Code
4635 \begin_layout Plain Layout
4641 Combina dos caracteres acentos
4644 \begin_layout LyX-Code
4650 accent1 accent2 allowed
4653 \begin_layout Standard
4654 Esto es bastante esotérico.
4655 Permite combinar el efecto de
4663 (¡en ese orden!) sobre los caracteres permitidos
4676 deben haber sido declaradas con un comando
4677 \begin_inset Flex Code
4680 \begin_layout Plain Layout
4698 \begin_layout Standard
4699 Considera este ejemplo del archivo
4700 \begin_inset Flex Code
4703 \begin_layout Plain Layout
4714 \begin_layout LyX-Code
4717 kmod ; acute aeioyvhAEIOYVH
4721 kcomb acute umlaut iyIY
4724 \begin_layout Standard
4726 \begin_inset Flex MenuItem
4729 \begin_layout Plain Layout
4737 y obtener el efecto de
4738 \begin_inset Flex Code
4741 \begin_layout Plain Layout
4754 En este caso un retroceso cancela la última tecla muerta, así que si tecleas
4756 \begin_inset Flex MenuItem
4759 \begin_layout Plain Layout
4768 \begin_inset Flex Code
4771 \begin_layout Plain Layout
4784 \begin_layout Subsection
4788 \begin_layout Standard
4789 Después de realizados el mapa
4790 \begin_inset Flex Code
4793 \begin_layout Plain Layout
4802 \begin_inset Flex Code
4805 \begin_layout Plain Layout
4815 traza el mapa de las cadenas que los símbolos generan para los caracteres
4816 en la tipografía actual.
4817 La distribución de \SpecialChar LyX
4818 actualmente incluye al menos los archivos
4819 \begin_inset Flex Code
4822 \begin_layout Plain Layout
4831 \begin_inset Flex Code
4834 \begin_layout Plain Layout
4845 \begin_layout Standard
4846 En general el archivo
4847 \begin_inset Flex Code
4850 \begin_layout Plain Layout
4858 es una secuencia de declaraciones de la forma:
4861 \begin_layout LyX-Code
4874 \begin_layout Standard
4875 Por ejemplo, para asociar
4876 \begin_inset Flex MenuItem
4879 \begin_layout Plain Layout
4889 al correspondiente carácter en el conjunto iso-8859-1 (233), se usa:
4892 \begin_layout LyX-Code
4900 \begin_layout Standard
4902 \begin_inset Flex Code
4905 \begin_layout Plain Layout
4914 \begin_inset Flex Code
4917 \begin_layout Plain Layout
4928 Anotar que el mismo carácter puede aplicarse a más de una cadena.
4930 \begin_inset Flex Code
4933 \begin_layout Plain Layout
4944 \begin_layout LyX-Code
4956 \begin_inset Newline newline
4972 \begin_layout Standard
4974 no puede encontrar una declaración para la cadena por una tecla o una
4975 secuencia con tecla muerta, intentará si aparece como un carácter acentuado
4976 y probará a dibujar un acento sobre el carácter en la pantalla.
4979 \begin_layout Subsection
4983 \begin_layout Standard
4984 Hay una segunda manera de añadir soporte para caracteres internacionales
4985 mediante las denominadas teclas muertas.
4986 Una tecla muerta trabaja en combinación con una letra para generar un carácter
4988 Aquí explicaremos como crear una sencillísima tecla muerta para ilustrar
4992 \begin_layout Standard
4993 Supongamos que necesitas el carácter circunflejo
4994 \begin_inset Quotes fld
4998 \begin_inset Quotes frd
5002 Podrías asociar la tecla
5003 \begin_inset Flex MenuItem
5006 \begin_layout Plain Layout
5013 \begin_inset Flex MenuItem
5016 \begin_layout Plain Layout
5022 ) al comando \SpecialChar LyX
5024 \begin_inset Flex Code
5027 \begin_layout Plain Layout
5034 \begin_inset Flex Code
5037 \begin_layout Plain Layout
5044 Ahora, cuando pulses la tecla
5045 \begin_inset Flex MenuItem
5048 \begin_layout Plain Layout
5054 seguida de una letra, obtendrás esa letra con circunflejo sobre ella.
5055 Por ejemplo, la secuencia
5056 \begin_inset Quotes fld
5060 \begin_inset Flex MenuItem
5063 \begin_layout Plain Layout
5070 \begin_inset Quotes frd
5074 \begin_inset Quotes fld
5078 \begin_inset Quotes frd
5083 \begin_inset Quotes fld
5087 \begin_inset Flex Code
5090 \begin_layout Plain Layout
5097 \begin_inset Quotes frd
5100 , sin embargo, \SpecialChar LyX
5101 no imprime nada puesto que
5102 \begin_inset Flex MenuItem
5105 \begin_layout Plain Layout
5111 nunca lleva un circunflejo.
5113 \begin_inset Flex MenuItem
5116 \begin_layout Plain Layout
5122 tras una tecla muerta imprime el acento solo.
5123 ¡Advierte este último punto! Si asocias una tecla a una tecla muerta necesitará
5124 s reasociar el carácter de esa tecla a otra tecla.
5126 \begin_inset Flex MenuItem
5129 \begin_layout Plain Layout
5135 a una cedilla es una mala idea, puesto que solo obtendrás cedillas en lugar
5139 \begin_layout Standard
5140 Una forma habitual de asociar teclas muertas es usar
5141 \begin_inset Flex MenuItem
5144 \begin_layout Plain Layout
5151 \begin_inset Flex MenuItem
5154 \begin_layout Plain Layout
5161 \begin_inset Flex MenuItem
5164 \begin_layout Plain Layout
5170 en combinación con un acento, como
5171 \begin_inset Quotes fld
5175 \begin_inset Flex MenuItem
5178 \begin_layout Plain Layout
5185 \begin_inset Quotes frd
5189 \begin_inset Quotes fld
5193 \begin_inset Flex MenuItem
5196 \begin_layout Plain Layout
5203 \begin_inset Quotes frd
5207 \begin_inset Quotes fld
5211 \begin_inset Flex MenuItem
5214 \begin_layout Plain Layout
5221 \begin_inset Quotes frd
5225 Otra forma incluye el uso de
5226 \begin_inset Flex Code
5229 \begin_layout Plain Layout
5236 \begin_inset Flex Code
5239 \begin_layout Plain Layout
5245 para configurar la tecla especial
5246 \begin_inset Flex Code
5249 \begin_layout Plain Layout
5256 Esta tecla actúa de alguna forma como
5257 \begin_inset Flex MenuItem
5260 \begin_layout Plain Layout
5266 y permite teclas a caracteres acentuados.
5267 También puedes transformar teclas en muertas asociándolas a algo como
5268 \begin_inset Flex Code
5271 \begin_layout Plain Layout
5277 y después asociando esta tecla simbólica al correspondiente comando \SpecialChar LyX
5282 \begin_layout Plain Layout
5287 : Esto es exactamente lo que hago en mis archivos
5288 \begin_inset Flex Code
5291 \begin_layout Plain Layout
5298 \begin_inset Flex Code
5301 \begin_layout Plain Layout
5309 \begin_inset Flex MenuItem
5312 \begin_layout Plain Layout
5314 \begin_inset space ~
5323 \begin_inset Flex Code
5326 \begin_layout Plain Layout
5332 y unas cuantas de estas teclas simbólicas
5333 \begin_inset Quotes fld
5337 \begin_inset Flex Code
5340 \begin_layout Plain Layout
5347 \begin_inset Quotes frd
5350 asociadas a cosas como
5351 \begin_inset Flex MenuItem
5354 \begin_layout Plain Layout
5356 \begin_inset space ~
5365 \begin_inset Flex MenuItem
5368 \begin_layout Plain Layout
5370 \begin_inset space ~
5379 Así es como genero mis caracteres acentuados.
5384 Puedes hacer casi cualquier cosa con la tecla
5385 \begin_inset Flex Code
5388 \begin_layout Plain Layout
5395 \begin_inset Flex MenuItem
5398 \begin_layout Plain Layout
5404 , una tecla de función de reserva, etc.
5405 En cuanto a los comandos \SpecialChar LyX
5406 que generan acentos, consulta la entrada para
5408 \begin_inset Flex Code
5411 \begin_layout Plain Layout
5422 Ahí encontrarás la lista completa.
5425 \begin_layout Subsection
5426 Guardar la configuración de idioma
5429 \begin_layout Standard
5430 Puedes editar tus preferencias para que el entorno de idioma adecuado sea
5431 automáticamente configurado al iniciar \SpecialChar LyX
5433 \begin_inset Flex MenuItem
5436 \begin_layout Plain Layout
5437 Herramientas\SpecialChar menuseparator
5446 \begin_layout Chapter
5447 Instalación de nuevas clases de documento, formatos y plantillas
5448 \begin_inset CommandInset label
5450 name "cap:Instalación-de-nuevas"
5455 \begin_inset Argument 1
5458 \begin_layout Plain Layout
5459 Instalación de clases, formatos \SpecialChar ldots
5468 \begin_layout Standard
5469 En este capítulo describimos los procedimientos para crear e instalar nuevos
5470 archivos de plantillas y formatos de \SpecialChar LyX
5471 , así como repasar la instalación
5472 correcta de nuevas clases de documentos \SpecialChar LaTeX
5476 \begin_layout Standard
5477 En primer lugar, permite que digamos algo sobre la relación entre \SpecialChar LyX
5478 y \SpecialChar LaTeX
5480 Lo que hay que entender es que, en cierto sentido, \SpecialChar LyX
5481 no sabe nada de \SpecialChar LaTeX
5483 Desde el punto de vista de \SpecialChar LyX
5484 , \SpecialChar LaTeX
5485 solo es uno más de los varios
5486 \begin_inset Quotes fld
5490 \begin_inset Quotes frd
5493 en los que es capaz de generar salida.
5494 Otros son DocBook, texto sencillo y XHTML.
5496 es, por supuesto, un formato particularmente importante, pero muy poca
5497 de la información que \SpecialChar LyX
5498 tiene sobre \SpecialChar LaTeX
5499 está realmente contenida en el propio
5504 \begin_layout Plain Layout
5505 Algunos comandos son lo bastante complejos como para ser incluidos en el
5506 código de \SpecialChar LyX
5508 Pero en general los desarrolladores consideran esto una mala cosa.
5514 Esa información, incluso para las clases estándar como
5518 , está almacenada en 'archivos de formato (
5523 De igual manera \SpecialChar LyX
5524 no sabe gran cosa sobre DocBook o XHTML.
5525 Esa información está en los archivos de formato.
5528 \begin_layout Standard
5529 El archivo de formato para una determinada clase de documento se puede considera
5530 r como un manual de instrucciones para traducir las estructuras de \SpecialChar LyX
5532 y sus estilos, ciertos tipos de recuadros, etc.— a las estructuras correspondien
5533 tes de \SpecialChar LaTeX
5535 Por ejemplo, casi todo lo que \SpecialChar LyX
5537 \begin_inset Flex Code
5540 \begin_layout Plain Layout
5546 está contenido en el archivo
5547 \begin_inset Flex Code
5550 \begin_layout Plain Layout
5556 y en otros archivos incluidos en este.
5557 Por esta razón, quien intente escribir archivos de formato debería empezar
5558 por estudiar los archivos existentes.
5559 Un buen sitio para empezar es
5560 \begin_inset Flex Code
5563 \begin_layout Plain Layout
5569 , que está incluido en
5570 \begin_inset Flex Code
5573 \begin_layout Plain Layout
5580 \begin_inset Flex Code
5583 \begin_layout Plain Layout
5589 y muchos otros archivos de formato para clases de documento.
5590 En este archivo se definen las secciones y demás:
5591 \begin_inset Flex Code
5594 \begin_layout Plain Layout
5600 indica a \SpecialChar LyX
5601 como traducir los párrafos con estilos como Sección, Subsección,
5602 etc., a los comandos y etiquetas correspondientes en \SpecialChar LaTeX
5605 \begin_inset Flex Code
5608 \begin_layout Plain Layout
5614 solo incluye, básicamente, varios de estos archivos
5615 \begin_inset Flex Code
5618 \begin_layout Plain Layout
5627 \begin_layout Standard
5628 Pero definir la correspondencia \SpecialChar LyX
5630 no es lo único que hacen los archivos
5632 Su otra tarea es definir cómo aparecerán en pantalla las estructuras de
5635 El hecho de que los archivos de formato tengan estas dos tareas es a veces
5636 fuente de confusión, porque son totalmente independientes.
5637 Indicar a \SpecialChar LyX
5638 cómo traducir cierto estilo de párrafo a \SpecialChar LaTeX
5639 no le dice cómo mostrarlo
5640 en pantalla; a la inversa, indicar cómo mostrar en pantalla un estilo de
5641 párrafo no tiene nada que ver con su traducción a \SpecialChar LaTeX
5642 (solo permite indicar
5643 a \SpecialChar LaTeX
5645 Así pues, en general, cuando defines una nueva construcción en \SpecialChar LyX
5647 tienes que hacer dos cosas: 1) indicar la traducción a \SpecialChar LaTeX
5649 presentación en pantalla.
5652 \begin_layout Standard
5653 Gran parte de lo dicho es cierto, también, en relación con otros formatos
5654 de salida, aunque XHTML es un poco diferente porque en este caso \SpecialChar LyX
5659 , en cierta medida, de usar la información de la presentación de un párrafo
5660 en pantalla para generar la presentación (en forma de CSS) del párrafo
5662 Incluso en este caso, no obstante, la distinción entre lo que hace \SpecialChar LyX
5664 e y la forma en que las cosas se muestran externamente sigue en vigor, y
5665 ambas se pueden controlar separadamente.
5667 \begin_inset CommandInset ref
5669 reference "sec:Etiquetas-para-XHTML"
5676 \begin_layout Section
5677 Instalación de nuevos archivos \SpecialChar LaTeX
5681 \begin_layout Standard
5682 Algunas instalaciones quizá no incluyan un paquete \SpecialChar LaTeX
5683 que te gustaría usar
5686 Por ejemplo, podrías necesitar Foil\SpecialChar TeX
5687 , un paquete para preparar transparencias
5688 o diapositivas para proyectores.
5689 Las modernas distribuciones de \SpecialChar LaTeX
5690 como \SpecialChar TeX
5691 Live (2008 o posterior) o MiK\SpecialChar TeX
5693 una interfaz de usuario para eso.
5694 Por ejemplo, en MiK\SpecialChar TeX
5696 \begin_inset Quotes fld
5699 Administrador de paquetes
5700 \begin_inset Quotes frd
5703 para obtener una lista de los disponibles.
5704 Para instalar uno, haz clic derecho sobre él o usa el botón de la herramienta
5708 \begin_layout Standard
5709 Si tu distribución \SpecialChar LaTeX
5711 \begin_inset Quotes fld
5714 administrador de paquetes
5715 \begin_inset Quotes frd
5718 , o si el paquete no está disponible en ella, sigue los siguientes pasos
5719 para instalarlo manualmente:
5722 \begin_layout Enumerate
5723 Consigue el paquete de
5724 \begin_inset CommandInset href
5727 target "http://www.ctan.org/"
5734 \begin_layout Enumerate
5735 Si el paquete contiene un archivo con la extensión
5736 \begin_inset Quotes fld
5740 \begin_inset Flex Code
5743 \begin_layout Plain Layout
5750 \begin_inset Quotes frd
5753 (es el caso de Foil\SpecialChar TeX
5754 ) abre una consola, cambia a la carpeta del archivo
5755 y ejecuta el comando
5756 \begin_inset Flex Code
5759 \begin_layout Plain Layout
5766 Así desempaquetamos y disponemos de todos los archivos para instalar.
5767 La mayoría de paquetes \SpecialChar LaTeX
5768 no están empaquetados y podemos saltar este paso.
5771 \begin_layout Enumerate
5772 Tienes que decidir si el paquete estará disponible para todos los usuarios
5774 \begin_inset Separator parbreak
5781 \begin_layout Enumerate
5782 En sistemas *nix (Linux, OSX, etc.), si el paquete va estar disponible para
5783 todos los usuarios del sistema, hay que instalarlo en el árbol 'local'
5785 , de lo contrario instálalo en tu directorio \SpecialChar TeX
5787 La ubicación de estos árboles, si no existen ya, depende del sistema.
5788 Para encontrarlos mira en el archivo
5789 \begin_inset Flex Code
5792 \begin_layout Plain Layout
5802 \begin_layout Plain Layout
5803 Usualmente es el directorio
5807 , aunque se puede ejecutar el comando
5808 \begin_inset Flex Code
5811 \begin_layout Plain Layout
5822 La ubicación del árbol `local' de \SpecialChar TeX
5823 está definida por la variable
5824 \begin_inset Flex Code
5827 \begin_layout Plain Layout
5833 ; generalmente algo como
5835 /usr/local/share/texmf/
5838 La ubicación del árbol `user' de \SpecialChar TeX
5840 \begin_inset Flex Code
5843 \begin_layout Plain Layout
5854 (Si estas variables no están predefinidas, debes hacerlo.) Probablemente
5855 necesites permiso de administrador para crear o modificar el árbol `local',
5856 pero no para el árbol `user'.
5857 \begin_inset Newline newline
5860 En general, es recomendable instalar en el árbol `user' porque no será modificad
5861 o o sobrescrito al actualizar el sistema.
5862 Además, se guardará copia de él cuando hagas copia de seguridad de tu directori
5863 o `home' (que debe ser lo habitual).
5866 \begin_layout Enumerate
5867 En Windows, para que el nuevo paquete esté disponible a todos los usuarios,
5868 cambia a la carpeta donde está instalado \SpecialChar LaTeX
5877 , (En MiK\SpecialChar TeX
5891 ) crea una nueva carpeta
5892 \begin_inset Flex Code
5895 \begin_layout Plain Layout
5901 y copia en ella todos los archivos del paquete.
5902 Para hacer el paquete disponible solo a un usuario o si no dispones de
5903 permisos, haz lo mismo pero en el directorio de \SpecialChar LaTeX
5905 \begin_inset space \thinspace{}
5908 ej.,en MiK\SpecialChar TeX
5910 \begin_inset space ~
5914 \begin_inset Newline newline
5921 Documents and Settings
5928 \begin_inset Newline newline
5932 \begin_inset Phantom HPhantom
5935 \begin_layout Plain Layout
5956 \begin_inset Newline newline
5960 \begin_inset Newline newline
5988 \begin_layout Enumerate
5989 Ahora hay que decir a \SpecialChar LaTeX
5990 que hay archivos nuevos.
5991 Esto depende de la distribución de \SpecialChar LaTeX
5993 \begin_inset Separator parbreak
6000 \begin_layout Enumerate
6001 Para \SpecialChar TeX
6002 Live ejecuta el comando
6003 \begin_inset Flex Code
6006 \begin_layout Plain Layout
6013 Si el paquete se instaló para todos los usuarios harán falta permisos de
6017 \begin_layout Enumerate
6018 Para MiK\SpecialChar TeX
6019 , si el paquete se instaló para todos los usuarios, inicia el programa
6021 \begin_inset Quotes eld
6025 \begin_inset space ~
6029 \begin_inset Quotes erd
6033 \begin_inset Quotes eld
6037 \begin_inset Quotes erd
6041 Si no, inicia el programa
6042 \begin_inset Quotes eld
6046 \begin_inset Quotes erd
6053 \begin_layout Enumerate
6054 Finalmente, hay que decir a \SpecialChar LyX
6055 que hay nuevos paquetes disponibles.
6057 \begin_inset Flex MenuItem
6060 \begin_layout Plain Layout
6061 Herramientas\SpecialChar menuseparator
6067 y reinicia \SpecialChar LyX
6071 \begin_layout Standard
6072 Ya está instalado el paquete.
6073 En nuestro ejemplo, la clase de documento
6074 \begin_inset Flex Code
6077 \begin_layout Plain Layout
6079 \begin_inset space ~
6086 \begin_layout Plain Layout
6098 estará ahora disponible en
6099 \begin_inset Flex MenuItem
6102 \begin_layout Plain Layout
6103 Documento\SpecialChar menuseparator
6104 Configuración\SpecialChar menuseparator
6106 \begin_inset space ~
6110 \begin_inset space ~
6122 \begin_layout Standard
6123 Si quieres usar una clase de documento \SpecialChar LaTeX
6124 que no aparece listada en
6125 \begin_inset Flex MenuItem
6128 \begin_layout Plain Layout
6129 Documento\SpecialChar menuseparator
6130 Configuración\SpecialChar menuseparator
6132 \begin_inset space ~
6136 \begin_inset space ~
6144 , debes crear un archivo de formato (`layout') para ella.
6145 Este es el tema de la sección siguiente.
6148 \begin_layout Section
6149 Tipos de archivos de formato
6152 \begin_layout Standard
6153 Esta sección describe los diversos tipos de arhivos de \SpecialChar LyX
6154 que contienen informació
6157 \begin_inset Flex Code
6160 \begin_layout Plain Layout
6166 describen estilos de párrafo y de carácter, y determinan cómo los debería
6167 presentar \SpecialChar LyX
6168 y cómo deberían traducirse a \SpecialChar LaTeX
6169 , DocBook, XHTML o cualquier otro
6170 formato de salida que se vaya a usar.
6174 \begin_layout Standard
6175 Intentaremos aquí dar una minuciosa descripción del proceso; sin embargo,
6176 hay tantos tipos diferentes de documentos soportados por clases de \SpecialChar LaTeX
6178 no podemos aspirar a tratar todas las distintas posibilidades o problemas
6179 que puedas encontrar.
6180 La lista de usuarios de \SpecialChar LyX
6181 es frecuentada por gente con mucha experiencia
6182 en el diseño de formatos deseosa de compartir sus conocimientos.
6185 \begin_layout Standard
6186 Cuando te pongas a escribir un nuevo formato, es de gran ayuda echar un
6187 vistazo a los formatos de ejemplo suministrados con \SpecialChar LyX
6189 Si escribes un `layout' de \SpecialChar LyX
6190 para una clase de documento \SpecialChar LaTeX
6192 podría ser útil también a otros, no dudes en compartir tu labor enviándola
6194 \begin_inset CommandInset href
6196 name "sección 'Layouts' en wiki LyX"
6197 target "http://wiki.lyx.org/Layouts/Layouts"
6201 o incluso a la lista de desarrolladores de \SpecialChar LyX
6202 para poderlo incluir en la
6207 \begin_layout Plain Layout
6208 Hay que advertir que \SpecialChar LyX
6209 se acoge a la licencia GPL, por tanto cualquier material
6210 aportado debe tener la misma licencia.
6218 \begin_layout Subsection
6220 \begin_inset CommandInset label
6222 name "subsec:Módulos-de-formato"
6229 \begin_layout Standard
6230 Hemos hablado hasta ahora de `archivos de formato'.
6231 Pero hay distintos tipos de archivos con información sobre formatos.
6232 Estrictamente, los archivos de formato tienen la extensión
6233 \begin_inset Flex Code
6236 \begin_layout Plain Layout
6242 y proporcionan a \SpecialChar LyX
6243 información sobre las clases de documento.
6244 Sin embargo, a partir de \SpecialChar LyX
6245 1.6, esta información puede proporcionarse también
6250 , que tienen la extensión
6251 \begin_inset Flex Code
6254 \begin_layout Plain Layout
6261 Los módulos son a los paquetes \SpecialChar LaTeX
6262 lo que los formatos a las clases \SpecialChar LaTeX
6264 módulos —como el módulo Notas finales— dan soporte específico a un paquete
6265 determinado —en este caso
6266 \begin_inset Flex Code
6269 \begin_layout Plain Layout
6276 En cierto sentido, los módulos de formato son similares a los `archivos
6281 \begin_layout Plain Layout
6282 Estos pueden tener cualquier extensión pero, por convenio, se usa la extensión
6284 \begin_inset Flex Code
6287 \begin_layout Plain Layout
6299 \begin_inset Flex Code
6302 \begin_layout Plain Layout
6308 —, ya que, como estos, los módulos no son específicos para una clase de
6309 documento dada, sino que se pueden usar con muchos formatos diferentes.
6310 La diferencia es que el uso de un archivo incluido con
6311 \begin_inset Flex Code
6314 \begin_layout Plain Layout
6320 requiere editar dicho archivo, mientras que los módulos se seleccionan
6322 \begin_inset Flex MenuItem
6325 \begin_layout Plain Layout
6326 Documento\SpecialChar menuseparator
6336 \begin_layout Standard
6337 La construcción de módulos es la forma más fácil de iniciarse en la edición
6338 del formato, puesto que puede ser tan sencillo como añadir un nuevo estilo
6339 de párrafo o un recuadro flexible.
6340 No obstante, los módulos pueden, en principio, contener cualquier cosa
6341 que pueda contener un archivo `layout'.
6344 \begin_layout Standard
6345 Después de crear un módulo nuevo y copiarlo en la carpeta
6346 \begin_inset Flex Code
6349 \begin_layout Plain Layout
6355 , tendrás que reconfigurar \SpecialChar LyX
6356 y reiniciar después para que el módulo aparezca
6358 Sin embargo, los cambios que hagas al módulo se verán inmediatamente si
6360 \begin_inset Flex MenuItem
6363 \begin_layout Plain Layout
6364 Documento\SpecialChar menuseparator
6370 , seleccionas lo que sea y después pulsas
6371 \begin_inset Quotes fld
6375 \begin_inset Quotes frd
6381 Es muy recomendable guardar el trabajo antes de hacer eso.
6386 es muy recomendable no intentar editar los módulos mientras se está trabajando
6387 simultáneamente en un documento
6390 Aunque los desarrolladores, por supuesto, se esfuerzan en mantener la estabilid
6391 ad de \SpecialChar LyX
6392 en estas situaciones, errores sintácticos y similares en el archivo
6393 del módulo podrían causar extraños comportamientos.
6396 \begin_layout Subsubsection
6400 \begin_layout Standard
6401 Los módulos son a \SpecialChar LyX
6402 lo que los paquetes a \SpecialChar LaTeX
6404 Sin embargo, a veces puede suceder que necesites un recuadro específico
6405 o un estilo de carácter solo para un documento, y escribir un módulo que
6406 estará disponible también para otros documentos tiene poco sentido.
6407 En estos casos, lo que necesitas es el
6408 \begin_inset Quotes fld
6412 \begin_inset Quotes frd
6419 \begin_layout Standard
6422 Documento\SpecialChar menuseparator
6423 Configuración\SpecialChar menuseparator
6427 El gran cuadro de texto permite introducir todo lo que podría incluirse
6428 en un archivo de formato o en un módulo.
6429 De hecho, el formato local de un documento se puede considerar como un
6430 módulo que le pertenece solo a él.
6431 Por tanto, en particular, hay que introducir una etiqueta
6432 \begin_inset Flex Code
6435 \begin_layout Plain Layout
6442 Cualquier formato es aceptable, pero debería usarse normalmente el actual
6444 (En \SpecialChar LyX
6445 2.1 el formato actual es 48).
6446 Debes tener en cuenta que el formato local no es soportado por versiones
6448 anteriores a 1.6, por tanto no deberías usarlo si quieres poder exportar
6449 el documento a \SpecialChar LyX
6450 1.5 o anteriores sin perder la información del formato local.
6451 Si quieres poder exportar a 1.6 —el formato local es soportado pero no hay
6452 IU par él—, deberías usar formato 11 y, por supuesto, usar solo estructuras
6453 que estuvieran disponibles en \SpecialChar LyX
6457 \begin_layout Standard
6458 Una vez introducido algo en el panel
6459 \begin_inset Flex Code
6462 \begin_layout Plain Layout
6470 \begin_inset Quotes fld
6474 \begin_inset Quotes frd
6478 Pulsando ese botón \SpecialChar LyX
6479 determinará si lo introducido es información válida
6480 para el formato elegido.
6482 informará del resultado pero, desafortunadamente, no indicará qué errores
6483 pudiera haber habido.
6484 Sin embargo, si \SpecialChar LyX
6485 se ha arrancado en una terminal se verán ahí los errores.
6486 El formato local no se podrá guardar hasta que se haya introducido algo
6490 \begin_layout Standard
6491 Las advertencias al final de la sección anterior se aplican también aquí.
6492 Es mejor no enredar con formato local mientras se está trabajando, especialment
6493 e si no se ha guardado el documento.
6494 Dicho esto, usar formato local en un documento de prueba puede ser una
6495 forma muy conveniente de probar ideas de formato, o incluso de empezar
6496 a desarrollar un módulo.
6499 \begin_layout Subsection
6500 Formato para archivos
6501 \begin_inset Flex MenuItem
6504 \begin_layout Plain Layout
6513 \begin_layout Standard
6514 Probablemente te vas a encontrar con dos situaciones a la hora de querer
6515 soportar una nueva clase de documento \SpecialChar LaTeX
6516 , según se trate de archivos de estilo
6518 \begin_inset Flex Code
6521 \begin_layout Plain Layout
6527 ) o de archivos de clases \SpecialChar LaTeX2e
6529 \begin_inset Flex Code
6532 \begin_layout Plain Layout
6539 Dar soporte a un nuevo estilo es bastante fácil.
6540 Dar soporte a una nueva clase es un poco más difícil.
6541 Trataremos el primer caso en esta sección y el otro en la siguiente.
6542 Lo mismo cabe decir, por supuesto, para el soporte de un nuevo DocBook
6546 \begin_layout Standard
6547 El caso más sencillo es aquel en el que la nueva clase de documento se suministr
6548 a como archivo de estilo que se usará conjuntamente con una clase ya soportada.
6549 Para nuestro ejemplo supondremos que el archivo de estilo se llama
6550 \begin_inset Flex MenuItem
6553 \begin_layout Plain Layout
6559 y que se usará conjuntamente con
6560 \begin_inset Flex MenuItem
6563 \begin_layout Plain Layout
6569 , que es una clase estándar.
6572 \begin_layout Standard
6573 Empieza por copiar el archivo `layout' existente en tu directorio local:
6577 \begin_layout Plain Layout
6578 Evidentemente, cuál es tu directorio local variará según la plataforma,
6579 y además \SpecialChar LyX
6580 permite especificarlo al inicio usando la opción
6581 \begin_inset Flex Code
6584 \begin_layout Plain Layout
6598 \begin_layout LyX-Code
6599 cp report.layout ~/.lyx/layouts/myclass.layout
6602 \begin_layout Standard
6604 \begin_inset Flex Code
6607 \begin_layout Plain Layout
6616 \begin_layout LyX-Code
6619 Declare\SpecialChar LaTeX
6623 \begin_layout Standard
6627 \begin_layout LyX-Code
6630 Declare\SpecialChar LaTeX
6631 Class[report, myclass.sty]{report (myclass)}
6634 \begin_layout Standard
6638 \begin_layout LyX-Code
6640 \begin_inset Newline newline
6646 \begin_inset Newline newline
6652 \begin_layout Standard
6653 cerca del principio del archivo.
6656 \begin_layout Standard
6657 Inicia \SpecialChar LyX
6659 \begin_inset Flex MenuItem
6662 \begin_layout Plain Layout
6663 Herramientas\SpecialChar menuseparator
6670 Después reinicia \SpecialChar LyX
6671 y haz una prueba con un documento nuevo.
6673 \begin_inset Flex MenuItem
6676 \begin_layout Plain Layout
6677 Documento\SpecialChar menuseparator
6684 \begin_inset Quotes fld
6688 \begin_inset Flex MenuItem
6691 \begin_layout Plain Layout
6698 \begin_inset Quotes frd
6701 en la lista de clases de documento.
6702 Es probable que algunos de los comandos de secciones y demás en tu nueva
6703 clase funcionen de distinta manera a como lo hacen en la clase estándar
6705 \begin_inset Flex Code
6708 \begin_layout Plain Layout
6714 en este ejemplo—, de modo que si quieres, ahora puedes enredar un rato
6715 con los ajustes de las distintas secciones.
6716 La información del formato de las secciones se encuentra en
6717 \begin_inset Flex Code
6720 \begin_layout Plain Layout
6726 , pero no necesitas copiar ni cambiar este archivo.
6727 Simplemente añade tus cambios a tu archivo `layout' después de la línea
6729 \begin_inset Flex Code
6732 \begin_layout Plain Layout
6739 \begin_inset Flex Code
6742 \begin_layout Plain Layout
6749 Por ejemplo, podrías añadir estas líneas:
6752 \begin_layout LyX-Code
6756 \begin_layout LyX-Code
6760 \begin_layout LyX-Code
6764 \begin_layout LyX-Code
6768 \begin_layout LyX-Code
6772 \begin_layout Standard
6773 para cambiar la tipografía de los encabezados de capítulo a sans-serif.
6774 Esto sobrescribirá (o, en este caso, añadirá) la declaración para el estilo
6779 \begin_layout Standard
6780 Tu nuevo paquete puede proporcionar además comandos o entornos no presentes
6782 En este caso, los añadirás al archivo `layout'.
6784 \begin_inset space ~
6788 \begin_inset CommandInset ref
6790 reference "sec:Estructura-del-archivo-layout"
6794 para información sobre cómo hacerlo.
6797 \begin_layout Standard
6799 \begin_inset Flex MenuItem
6802 \begin_layout Plain Layout
6808 se puede usar con diferentes clases de documento, e incluso si no es así,
6809 lo más sencillo sería escribir un módulo que puedes cargar con la clase
6811 El módulo más simple posible podría ser:
6814 \begin_layout LyX-Code
6817 Declare\SpecialChar LyX
6821 \begin_layout LyX-Code
6825 \begin_layout LyX-Code
6826 #Support for mypkg.sty.
6829 \begin_layout LyX-Code
6831 \begin_inset Newline newline
6837 \begin_layout LyX-Code
6839 \begin_inset Newline newline
6845 \begin_layout LyX-Code
6847 \begin_inset Newline newline
6853 \begin_inset Newline newline
6859 \begin_layout Standard
6860 Un módulo más complejo podría modificar el comportamiento de alguna estructura
6861 ya existente o definir algunas nuevas.
6862 De nuevo te remitimos a sección
6863 \begin_inset space ~
6867 \begin_inset CommandInset ref
6869 reference "sec:Estructura-del-archivo-layout"
6876 \begin_layout Subsection
6877 Formato para archivos
6878 \begin_inset Flex MenuItem
6881 \begin_layout Plain Layout
6890 \begin_layout Standard
6891 En este caso hay dos opciones.
6892 Una, que el archivo de clase esté él mismo basado en una clase de documento
6894 Por ejemplo, muchas clases de tesis están basadas en
6895 \begin_inset Flex MenuItem
6898 \begin_layout Plain Layout
6905 Para ver si el tuyo lo está, busca una línea parecida a
6908 \begin_layout LyX-Code
6914 \begin_layout Standard
6916 Si está, entonces puedes proceder en gran parte como en la sección anterior,
6917 aunque la línea Declare\SpecialChar LaTeX
6918 Class será diferente.
6919 Si tu nueva clase es tesis y está basada en book, la línea debería poner:
6923 \begin_layout Plain Layout
6924 Y será mucho más fácil si guardas el archivo como
6925 \begin_inset Flex Code
6928 \begin_layout Plain Layout
6935 supone que la clase de documento tiene el mismo nombre que el archivo
6945 \begin_layout LyX-Code
6948 Declare\SpecialChar LaTeX
6949 Class[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 MenuItem
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 MenuItem
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 MenuItem
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
7155 \begin_inset Flex Code
7158 \begin_layout Plain Layout
7167 \begin_inset Flex Code
7170 \begin_layout Plain Layout
7181 \begin_layout Enumerate
7187 \begin_inset Newline newline
7191 \begin_inset Flex Code
7194 \begin_layout Plain Layout
7195 python \SpecialChar LyX
7196 Dir/scripts/layout2layout.py myclass.old myclass.layout
7202 \begin_inset Newline newline
7208 \begin_inset Flex Code
7211 \begin_layout Plain Layout
7222 el nombre de tu directorio \SpecialChar LyX
7226 \begin_layout Standard
7227 La conversión manual no puede manejar archivos incluidos, así que estos
7228 tendrán que convertirse separadamente.
7231 \begin_layout Section
7232 Estructura del archivo `layout'
7233 \begin_inset CommandInset label
7235 name "sec:Estructura-del-archivo-layout"
7242 \begin_layout Standard
7243 Ha llegado por fin el momento de ponerte manos a la obra y crear o editar
7244 tu propio archivo de formato; las siguientes secciones describen aquello
7245 a lo que te vas a enfrentar.
7246 Nuestro consejo es ir despacito, probando y guardando a menudo.
7247 En realidad no es para tanto, pero la multitud de opciones puede llegar
7248 a abrumarte si intentas hacer muchas cosas a la vez.
7251 It becomes easier if you use existing layouts of \SpecialChar LyX
7252 as examples/reference
7253 or if you modify an existing layout to your needs.
7256 \begin_layout Standard
7257 Todos los rótulos o etiquetas en los archivos de formato son insensibles
7258 a las mayúsculas; esto significa que
7259 \begin_inset Flex Code
7262 \begin_layout Plain Layout
7269 \begin_inset Flex Code
7272 \begin_layout Plain Layout
7279 \begin_inset Flex Code
7282 \begin_layout Plain Layout
7288 son el mismo comando.
7289 Los valores posibles se imprimen entre corchetes detrás del nombre de la
7291 Si en una descripción de una clase de texto no se especifica una característica
7292 , el valor por omisión se escribe en estilo
7293 \begin_inset Flex Code
7296 \begin_layout Plain Layout
7305 Si el argumento tiene un tipo de dato como
7306 \begin_inset Quotes fld
7310 \begin_inset Quotes frd
7314 \begin_inset Quotes fld
7318 \begin_inset Quotes frd
7321 , el valor por omisión se muestra de esta manera:
7322 \begin_inset Flex Code
7325 \begin_layout Plain Layout
7336 \begin_layout Subsection
7337 Declaración de la clase de documento
7342 \begin_layout Standard
7343 Las líneas de un archivo de formato que empiezan con
7344 \begin_inset Flex Code
7347 \begin_layout Plain Layout
7354 Hay una excepción a esta regla: todos los formatos deben comenzar con líneas
7358 \begin_layout LyX-Code
7361 #% Do not delete the line below; configure depends on this
7365 \begin_layout Plain Layout
7369 \begin_inset space \thinspace{}
7374 : No borrar la línea siguiente; la configuración depende de ella
7382 \begin_layout LyX-Code
7393 \begin_layout Plain Layout
7402 eXClass{Article (Standard Class)}
7405 \begin_layout LyX-Code
7410 DeclareCategory{Articles}
7413 \begin_layout Standard
7418 línea se usan en la (re)configuración de \SpecialChar LyX
7420 El archivo `layout' es leido por el guión de \SpecialChar LaTeX
7422 \begin_inset Flex Code
7425 \begin_layout Plain Layout
7431 de un modo especial tal que
7432 \begin_inset Flex Code
7435 \begin_layout Plain Layout
7442 La primera línea es solo un comentario y la segunda contiene la declaración
7447 de la clase de texto
7449 and the third line contains the optional classification of the class
7452 Si estas líneas aparecen en un archivo llamado
7453 \begin_inset Flex Code
7456 \begin_layout Plain Layout
7462 , entonces definen una clase de texto de nombre
7463 \begin_inset Flex Code
7466 \begin_layout Plain Layout
7472 (el nombre del archivo de formato) que usa la clase de documento \SpecialChar LaTeX
7474 \begin_inset Flex Code
7477 \begin_layout Plain Layout
7483 (por omisión se usa el mismo nombre para ambos).
7485 \begin_inset Quotes fld
7488 Article (Standard Class)
7489 \begin_inset Quotes frd
7492 se utiliza como descripción de la clase de texto y es la que aparece en
7494 \begin_inset Flex MenuItem
7497 \begin_layout Plain Layout
7498 Documento\SpecialChar menuseparator
7508 \begin_inset Quotes eld
7512 \begin_inset Quotes erd
7515 in the example) is also used in the
7516 \begin_inset Flex MenuItem
7519 \begin_layout Plain Layout
7522 Document\SpecialChar menuseparator
7528 dialog: the text classes are grouped by these categories (which are usually
7529 genres, so typical categories are
7530 \begin_inset Quotes eld
7534 \begin_inset Quotes erd
7538 \begin_inset Quotes eld
7542 \begin_inset Quotes erd
7546 \begin_inset Quotes eld
7550 \begin_inset Quotes erd
7554 \begin_inset Quotes eld
7558 \begin_inset Quotes erd
7562 \begin_inset Quotes eld
7566 \begin_inset Quotes erd
7570 \begin_inset Quotes eld
7574 \begin_inset Quotes erd
7578 If no category has been declared, the class will be put in the
7579 \begin_inset Quotes eld
7583 \begin_inset Quotes erd
7589 \begin_layout Standard
7590 Supongamos que has escrito tu propia clase de texto, que utiliza la clase
7592 \begin_inset Flex Code
7595 \begin_layout Plain Layout
7601 , pero en la que has cambiado el aspecto de los encabezados de sección.
7602 Si lo pones en un archivo
7603 \begin_inset Flex Code
7606 \begin_layout Plain Layout
7612 , la cabecera de este archivo debería ser:
7615 \begin_layout LyX-Code
7618 #% Do not delete the line below; configure depends on this
7621 \begin_layout LyX-Code
7632 \begin_layout Plain Layout
7641 eXClass[article]{Article (con Mis Encabezados)}
7644 \begin_layout LyX-Code
7649 DeclareCategory{Articles}
7652 \begin_layout Standard
7653 Esto declara la clase de texto
7654 \begin_inset Flex Code
7657 \begin_layout Plain Layout
7663 , asociada con la clase de documento \SpecialChar LaTeX
7665 \begin_inset Flex Code
7668 \begin_layout Plain Layout
7674 , y cuya descripción es
7675 \begin_inset Quotes fld
7678 Article (con Mis Encabezados)
7679 \begin_inset Quotes frd
7683 Si la clase de texto depende de varios paquetes, puedes declararla así:
7686 \begin_layout LyX-Code
7689 #% Do not delete the line below; configure depends on this
7692 \begin_layout LyX-Code
7703 \begin_layout Plain Layout
7712 eXClass[article,foo.sty]{Article (con Mis Encabezados)}
7715 \begin_layout LyX-Code
7720 DeclareCategory{Articles}
7723 \begin_layout Standard
7724 Esto indica que la clase de texto utiliza el paquete foo.sty.
7725 Finalmente, también es posible declarar clases para código DocBook.
7726 Una declaración típica podría ser:
7729 \begin_layout LyX-Code
7732 #% Do not delete the line below; configure depends on this
7735 \begin_layout LyX-Code
7740 DeclareDocBookClass[article]{SGML (DocBook Article)}
7743 \begin_layout LyX-Code
7748 DeclareCategory{Articles}
7751 \begin_layout Standard
7752 Anotar que estas declaraciones pueden llevar también un parámetro opcional
7753 que declare el nombre de la clase de documento (pero no una lista).
7756 \begin_layout Standard
7757 Así, para ser lo más explícito posible, la forma de la declaración del formato
7761 \begin_layout LyX-Code
7772 \begin_layout Plain Layout
7781 eXClass[class,package.sty]{descripción del formato}
7784 \begin_layout LyX-Code
7796 \begin_layout Standard
7797 La clase solo debe especificarse si el nombre de archivo de la clase \SpecialChar LaTeX
7799 el nombre de archivo del formato son diferentes; si el nombre del archivo
7800 de clase no se especifica, \SpecialChar LyX
7801 simplemente supondrá que es el mismo que el
7802 del archivo de formato.
7805 \begin_layout Standard
7806 Cuando la clase de texto se ha modificado según tus necesidades, lo que
7807 debes hacer es copiarla a
7808 \begin_inset Flex Code
7811 \begin_layout Plain Layout
7819 \begin_inset Flex Code
7822 \begin_layout Plain Layout
7829 \begin_inset Flex MenuItem
7832 \begin_layout Plain Layout
7833 Herramientas\SpecialChar menuseparator
7839 , y reiniciar \SpecialChar LyX
7841 Ahora la nueva clase de texto debería estar disponible junto con las demás.
7844 \begin_layout Standard
7845 Una vez instalado el `layout', puedes editarlo y ver los cambios sin tener
7846 que reconfigurar ni reiniciar \SpecialChar LyX
7852 \begin_layout Plain Layout
7853 En versiones de \SpecialChar LyX
7854 anteriores a 1.6 no era así.
7855 Como resultado, la edición de archivos de formato podía llevar mucho tiempo,
7856 pues constantemente había que reconfigurar y reiniciar.
7861 Se puede forzar la recarga del formato en uso mediante la función \SpecialChar LyX
7863 \begin_inset Flex MenuItem
7866 \begin_layout Plain Layout
7873 No hay atajo predeterminado para esta función —aunque por supuesto, puedes
7874 asociarle tú mismo una secuencia de teclas—.
7875 Normalmente usarás esta función introduciéndola simplemente en el
7883 \begin_layout Standard
7888 : Esto es mucho más que una
7889 \begin_inset Quotes fld
7892 característica avanzada
7893 \begin_inset Quotes frd
7901 recomendable que no intentes editar tu formato mientras estés trabajando
7902 en un documento importante.
7903 Usa un documento de prueba.
7904 Los errores sintácticos y similares en tu archivo de formato podrían provocar
7905 comportamientos extraños.
7906 En particular, tales errores podrían provocar que \SpecialChar LyX
7907 vea el formato actual
7908 como inválido e intente cambiar a algún otro.
7912 \begin_layout Plain Layout
7913 En realidad, los errores en la sintaxis pueden causar incluso el cierre
7915 , porque ciertos tipos de error pueden hacer que \SpecialChar LyX
7921 información de formato.
7922 Por favor ten cuidado.
7927 El equipo \SpecialChar LyX
7928 procura que \SpecialChar LyX
7929 se mantenga estable en estos casos, pero es mejor
7934 \begin_layout Plain Layout
7935 De todos modos, haz copias de seguridad regularmente.
7936 Y sé bueno con mamá.
7945 \begin_layout Subsection
7946 Declaración de un módulo
7949 \begin_layout Standard
7950 Un módulo debe empezar con una línea como la siguiente:
7953 \begin_layout LyX-Code
7960 \begin_layout Plain Layout
7967 yXModule[endnotes.sty]{Endnotes}
7970 \begin_layout Standard
7971 El argumento imprescindible es, entre llaves, el nombre del módulo tal como
7973 \begin_inset Flex MenuItem
7976 \begin_layout Plain Layout
7977 Documento\SpecialChar menuseparator
7978 Configuración\SpecialChar menuseparator
7985 El argumento entre corchetes es opcional: declara cualesquiera paquetes
7987 de los que depende el módulo.
7988 También es posible usar la forma
7989 \begin_inset Flex MenuItem
7992 \begin_layout Plain Layout
7998 como argumento opcional, que declara que el módulo solo puede usarse cuando
7999 existe una cadena de conversión entre los formatos `
8000 \begin_inset Flex Code
8003 \begin_layout Plain Layout
8010 \begin_inset Flex Code
8013 \begin_layout Plain Layout
8022 \begin_layout Standard
8023 La declaración del módulo debe proseguir con líneas como las siguientes:
8027 \begin_layout Plain Layout
8028 Preferiblemente en inglés si el módulo se va a publicar en \SpecialChar LyX
8030 Esta descripción aparecerá en la lista de mensajes para ser traducidos
8031 en la siguiente actualización de la interfaz.
8039 \begin_layout LyX-Code
8043 \begin_layout LyX-Code
8044 #Adds an endnote command, in addition to footnotes.
8048 \begin_layout LyX-Code
8049 #You will need to add
8051 theendnotes in \SpecialChar TeX
8055 \begin_layout LyX-Code
8056 #want the endnotes to appear.
8060 \begin_layout LyX-Code
8064 \begin_layout LyX-Code
8065 #Requires: somemodule | othermodule
8068 \begin_layout LyX-Code
8069 #Excludes: badmodule
8072 \begin_layout Standard
8073 La descripción se usa en
8074 \begin_inset Flex MenuItem
8077 \begin_layout Plain Layout
8078 Documento\SpecialChar menuseparator
8079 Configuración\SpecialChar menuseparator
8085 para proporcionar al usuario información sobre las acciones del módulo.
8087 \begin_inset Flex Code
8090 \begin_layout Plain Layout
8096 sirve para identificar otros módulos con los que se debe usar este; la
8098 \begin_inset Flex Code
8101 \begin_layout Plain Layout
8107 identifica los módulos con los que este no se puede usar.
8108 Ambas son opcionales, y, como se ve, varios módulos deben separarse con
8109 el símbolo tubería: |.
8110 Anotar que los módulos requeridos se tratan de forma disyuntiva: debe usarse
8115 de los módulos requeridos.
8121 Aquí, los módulos se identifican por sus nombres de archivo sin la extensión
8123 \begin_inset Flex Code
8126 \begin_layout Plain Layout
8134 \begin_inset Flex Code
8137 \begin_layout Plain Layout
8144 \begin_inset Flex Code
8147 \begin_layout Plain Layout
8156 \begin_layout Subsection
8157 Número de formatoLa primera línea no comentada de cualquier archivo `layout',
8162 contener el número de formato del archivo:
8165 \begin_layout Description
8166 \begin_inset Flex Code
8169 \begin_layout Plain Layout
8176 \begin_inset Flex Code
8179 \begin_layout Plain Layout
8185 ] El número de formato del archivo `layout'.
8188 \begin_layout Standard
8189 Esta etiqueta se introdujo en \SpecialChar LyX
8191 \begin_inset space ~
8195 Los archivos de formato de \SpecialChar LyX
8197 \begin_inset space ~
8200 1.3.x y anteriores no tienen un número explícito y se considera de
8201 \begin_inset Flex Code
8204 \begin_layout Plain Layout
8206 \begin_inset space ~
8215 El número para la versión actual de \SpecialChar LyX
8217 Cada versión de \SpecialChar LyX
8218 es capaz de leer los formatos de versiones anteriores,
8219 de la misma forma que puede leer archivos producidos con versiones de \SpecialChar LyX
8222 Sin embargo, no está previsto convertir a formatos anteriores.
8225 \begin_layout Subsection
8226 Parámetros generales de clases de texto
8227 \begin_inset CommandInset label
8229 name "subsec:Parámetros-generales-clases"
8236 \begin_layout Standard
8237 Estos son los parámetros generales que describen completamente una clase
8243 significa que deban aparecer en archivos
8244 \begin_inset Flex Code
8247 \begin_layout Plain Layout
8253 en vez de en módulos.
8254 Un módulo puede contener cualquier etiqueta de formato).
8257 \begin_layout Description
8258 \begin_inset Flex Code
8261 \begin_layout Plain Layout
8267 Añade información para el bloque
8268 \begin_inset Flex Code
8271 \begin_layout Plain Layout
8277 cuando el documento se exporte a XHTML.
8278 Típicamente, debería usarse para exportar información de estilo CSS, aunque
8279 se puede usar para cualquier cosa que pueda aparecer en
8280 \begin_inset Flex Code
8283 \begin_layout Plain Layout
8291 \begin_inset Quotes eld
8295 \begin_inset Flex Code
8298 \begin_layout Plain Layout
8305 \begin_inset Quotes erd
8311 \begin_layout Description
8312 \begin_inset Flex Code
8315 \begin_layout Plain Layout
8321 Añade información al preámbulo del documento.
8323 \begin_inset Quotes fld
8327 \begin_inset Flex Code
8330 \begin_layout Plain Layout
8337 \begin_inset Quotes frd
8343 \begin_layout Description
8344 \begin_inset Flex Code
8347 \begin_layout Plain Layout
8353 Define formatos a usar en la presentación de información bibliográfica.
8355 \begin_inset space ~
8359 \begin_inset CommandInset ref
8361 reference "subsec:Descripción-formato-cita"
8367 \begin_inset Quotes eld
8371 \begin_inset Flex Code
8374 \begin_layout Plain Layout
8381 \begin_inset Quotes erd
8387 \begin_layout Description
8388 \begin_inset Flex Code
8391 \begin_layout Plain Layout
8397 Describe varias opciones globales soportadas por la clase de documento.
8399 \begin_inset space ~
8403 \begin_inset CommandInset ref
8405 reference "subsec:ClassOptions"
8409 para una descripción.
8411 \begin_inset Quotes fld
8415 \begin_inset Flex Code
8418 \begin_layout Plain Layout
8425 \begin_inset Quotes frd
8431 \begin_layout Description
8432 \begin_inset Flex Code
8435 \begin_layout Plain Layout
8442 \begin_inset Flex Code
8445 \begin_layout Plain Layout
8454 \begin_inset space \thinspace{}
8458 \begin_inset Flex Code
8461 \begin_layout Plain Layout
8467 ] Establece el número de columnas por omisión.
8468 Se puede cambiar en el diálogo
8469 \begin_inset Flex MenuItem
8472 \begin_layout Plain Layout
8473 Documento\SpecialChar menuseparator
8482 \begin_layout Description
8483 \begin_inset Flex Code
8486 \begin_layout Plain Layout
8492 Esta secuencia define un nuevo contador.
8494 \begin_inset space ~
8498 \begin_inset CommandInset ref
8500 reference "subsec:Contadores"
8506 \begin_inset Quotes fld
8510 \begin_inset Flex Code
8513 \begin_layout Plain Layout
8520 \begin_inset Quotes frd
8526 \begin_layout Description
8527 \begin_inset Flex Code
8530 \begin_layout Plain Layout
8536 Establece la tipografía por omisión para presentar el documento.
8538 \begin_inset space ~
8542 \begin_inset CommandInset ref
8544 reference "subsec:Tipografías"
8548 para cómo declarar tipografías.
8550 \begin_inset Quotes fld
8554 \begin_inset Flex Code
8557 \begin_layout Plain Layout
8564 \begin_inset Quotes frd
8570 \begin_layout Description
8571 \begin_inset Flex Code
8574 \begin_layout Plain Layout
8581 \begin_inset Flex Code
8584 \begin_layout Plain Layout
8590 ] Especifica un módulo que se incluirá por omisión en esta clase de documento;
8591 deberá declararse por su nombre de archivo sin la extensión
8592 \begin_inset Flex Code
8595 \begin_layout Plain Layout
8602 El usuario puede, aún así, quitar el módulo, pero estará activo al principio.
8603 (Esto se aplica solo cuando se crean archivos nuevos, o si esta clase se
8604 elige para un documento existente.)
8607 \begin_layout Description
8608 \begin_inset Flex Code
8611 \begin_layout Plain Layout
8618 \begin_inset Flex Code
8621 \begin_layout Plain Layout
8627 ] Este es el estilo que será asignado a párrafos nuevos, generalmente
8628 \begin_inset Flex MenuItem
8631 \begin_layout Plain Layout
8638 Si no se especifica, se escogerá por omisión el primer estilo definido,
8639 pero es muy recomendable usar esta instrucción.
8642 \begin_layout Description
8643 \begin_inset Flex Code
8646 \begin_layout Plain Layout
8653 \begin_inset Flex Code
8656 \begin_layout Plain Layout
8662 ] Indica que el módulo en cuestión (que debería especificarse por el nombre
8663 de archivo sin la extensión
8664 \begin_inset Flex Code
8667 \begin_layout Plain Layout
8673 ) no puede utilizarse con esta clase de documento.
8674 Esto podría usarse en un archivo de formato específico de una publicación
8675 para, digamos, impedir el empleo del módulo
8676 \begin_inset Flex Code
8679 \begin_layout Plain Layout
8685 , que numera los teoremas y demás por secciones.
8690 puede utilizarse en un módulo.
8691 Los módulos tienen su propia forma de excluir otros módulos (véase
8692 \begin_inset space ~
8696 \begin_inset CommandInset ref
8698 reference "subsec:Módulos-de-formato"
8705 \begin_layout Description
8706 \begin_inset Flex Code
8709 \begin_layout Plain Layout
8715 Define un nuevo flotante.
8717 \begin_inset space ~
8721 \begin_inset CommandInset ref
8723 reference "subsec:Flotantes"
8729 \begin_inset Quotes fld
8733 \begin_inset Flex Code
8736 \begin_layout Plain Layout
8743 \begin_inset Quotes frd
8749 \begin_layout Description
8750 \begin_inset Flex Code
8753 \begin_layout Plain Layout
8759 Da información para el bloque
8760 \begin_inset Flex Code
8763 \begin_layout Plain Layout
8769 cuando esta clase de documento se exporte a XHTML.
8770 Advertir que esto sobrescribirá completamente cualquier declaración anterior
8772 \begin_inset Flex Code
8775 \begin_layout Plain Layout
8782 \begin_inset Flex Code
8785 \begin_layout Plain Layout
8793 \begin_inset Flex Code
8796 \begin_layout Plain Layout
8802 si solo quieres añadir material al preámbulo).
8804 \begin_inset Quotes eld
8808 \begin_inset Flex Code
8811 \begin_layout Plain Layout
8818 \begin_inset Quotes erd
8824 \begin_layout Description
8825 \begin_inset Flex Code
8828 \begin_layout Plain Layout
8835 \begin_inset Flex Code
8838 \begin_layout Plain Layout
8846 The style to use for the
8848 índice general, bibliografía, etc., cuando el documento se exporte a HTML.
8849 Para article, normalmente será
8850 \begin_inset Flex Code
8853 \begin_layout Plain Layout
8860 \begin_inset Flex Code
8863 \begin_layout Plain Layout
8870 Si no se especifica, \SpecialChar LyX
8871 intentará deducir qué formato usar.
8874 \begin_layout Description
8875 \begin_inset Flex Code
8878 \begin_layout Plain Layout
8885 \begin_inset Flex Code
8888 \begin_layout Plain Layout
8894 ] Modifica las propiedades del contador dado.
8895 Si el contador no existe, esta sección se ignora.
8897 \begin_inset Quotes eld
8901 \begin_inset Flex Code
8904 \begin_layout Plain Layout
8911 \begin_inset Quotes erd
8915 \begin_inset Newline newline
8919 \begin_inset space ~
8923 \begin_inset CommandInset ref
8925 reference "subsec:Contadores"
8932 \begin_layout Description
8933 \begin_inset Flex Code
8936 \begin_layout Plain Layout
8943 \begin_inset Flex Code
8946 \begin_layout Plain Layout
8952 ] Modifica las propiedades del estilo de párrafo dado.
8953 Si el estilo no existe, esta sección se ignora.
8955 \begin_inset Quotes eld
8959 \begin_inset Flex Code
8962 \begin_layout Plain Layout
8969 \begin_inset Quotes erd
8975 \begin_layout Description
8976 \begin_inset Flex Code
8979 \begin_layout Plain Layout
8986 \begin_inset Flex Code
8989 \begin_layout Plain Layout
8995 ] Permite incluir otro archivo de definición de formato en el tuyo con el
8996 fin de evitar la duplicación de comandos.
8997 Ejemplos habituales son los archivos de formatos estándar, como
8998 \begin_inset Flex Code
9001 \begin_layout Plain Layout
9007 , que contiene la mayoría de los diseños básicos.
9010 \begin_layout Description
9011 \begin_inset Flex Code
9014 \begin_layout Plain Layout
9021 \begin_inset Flex Code
9024 \begin_layout Plain Layout
9030 ] Esta sección (re)define el formato de un recuadro.
9031 Puede aplicarse a uno existente o a uno nuevo, definido por el usuario,
9033 \begin_inset space \thinspace{}
9036 e., un nuevo estilo de texto.
9038 \begin_inset space ~
9042 \begin_inset CommandInset ref
9044 reference "subsec:estilo-del-texto"
9048 para más información.
9050 \begin_inset Quotes fld
9054 \begin_inset Flex Code
9057 \begin_layout Plain Layout
9064 \begin_inset Quotes frd
9070 \begin_layout Description
9071 \begin_inset Flex Code
9074 \begin_layout Plain Layout
9081 \begin_inset Flex Code
9084 \begin_layout Plain Layout
9090 ] Una cadena que indica la anchura del margen izquierdo en la pantalla,
9092 \begin_inset Quotes fld
9096 \begin_inset Flex Code
9099 \begin_layout Plain Layout
9106 \begin_inset Quotes frd
9110 (Esto no es una `longitud', como
9111 \begin_inset Quotes fld
9115 \begin_inset Quotes frd
9121 \begin_layout Description
9122 \begin_inset Flex Code
9125 \begin_layout Plain Layout
9132 \begin_inset Flex Code
9135 \begin_layout Plain Layout
9141 ] Este comando elimina un contador existente, generalmente uno definido
9142 en un archivo incluido.
9145 \begin_layout Description
9146 \begin_inset Flex Code
9149 \begin_layout Plain Layout
9156 \begin_inset Flex Code
9159 \begin_layout Plain Layout
9165 ] Este comando borra un flotante existente.
9166 Es particularmente útil si quieres suprimir un flotante que ha sido definido
9167 en un archivo de entrada.
9170 \begin_layout Description
9171 \begin_inset Flex Code
9174 \begin_layout Plain Layout
9181 \begin_inset Flex Code
9184 \begin_layout Plain Layout
9190 ] Este comando borra un estilo existente.
9193 \begin_layout Description
9194 \begin_inset Flex Code
9197 \begin_layout Plain Layout
9204 \begin_inset Flex Code
9207 \begin_layout Plain Layout
9213 ] El formato de archivo (tal como se define en las preferencias de \SpecialChar LyX
9216 Principalmente, es útil cuando
9217 \begin_inset Flex Code
9220 \begin_layout Plain Layout
9227 \begin_inset Flex Code
9230 \begin_layout Plain Layout
9236 y se quiere definir un nuevo tipo de documento `literate'.
9237 Esta cadena se redefine a
9238 \begin_inset Quotes fld
9242 \begin_inset Flex Code
9245 \begin_layout Plain Layout
9252 \begin_inset Quotes frd
9256 \begin_inset Quotes fld
9260 \begin_inset Flex Code
9263 \begin_layout Plain Layout
9270 \begin_inset Quotes frd
9273 si se encuentra el correspondiente parámetro
9274 \begin_inset Flex Code
9277 \begin_layout Plain Layout
9286 \begin_layout Description
9287 \begin_inset Flex Code
9290 \begin_layout Plain Layout
9297 \begin_inset Flex Code
9300 \begin_layout Plain Layout
9311 \begin_inset Flex Code
9314 \begin_layout Plain Layout
9321 \begin_inset Flex Code
9324 \begin_layout Plain Layout
9330 ] Indica qué clase de documentos de salida que usan esta clase se generarán.
9333 \begin_layout Description
9334 \begin_inset Flex Code
9337 \begin_layout Plain Layout
9344 \begin_inset Flex Code
9347 \begin_layout Plain Layout
9354 \begin_inset Flex Code
9357 \begin_layout Plain Layout
9365 Specifies options, given in the second string, for the package named by
9370 \begin_inset Quotes fld
9374 \begin_inset Flex Code
9377 \begin_layout Plain Layout
9378 PackageOptions natbib square
9384 \begin_inset Quotes frd
9390 \begin_inset Flex Code
9393 \begin_layout Plain Layout
9401 to be loaded with the
9402 \begin_inset Flex Code
9405 \begin_layout Plain Layout
9414 (For \SpecialChar TeX
9415 perts, this causes \SpecialChar LyX
9419 \begin_inset Flex Code
9422 \begin_layout Plain Layout
9425 PassOptionsToPackage{natbib}{square}
9435 \begin_inset Flex Code
9438 \begin_layout Plain Layout
9447 \begin_layout Description
9448 \begin_inset Flex Code
9451 \begin_layout Plain Layout
9458 \begin_inset Flex Code
9461 \begin_layout Plain Layout
9470 \begin_inset Flex Code
9473 \begin_layout Plain Layout
9480 \begin_inset Flex Code
9483 \begin_layout Plain Layout
9493 El estilo de página predeterminado de la clase.
9494 Puede cambiarse en el diálogo
9495 \begin_inset Flex MenuItem
9498 \begin_layout Plain Layout
9499 Documento\SpecialChar menuseparator
9508 \begin_layout Description
9509 \begin_inset Flex Code
9512 \begin_layout Plain Layout
9518 Establece el preámbulo \SpecialChar LaTeX
9520 Anotar que esto anulará completamente cualesquiera declaraciones
9521 \begin_inset Flex Code
9524 \begin_layout Plain Layout
9531 \begin_inset Flex Code
9534 \begin_layout Plain Layout
9542 \begin_inset Flex Code
9545 \begin_layout Plain Layout
9551 si solo quieres añadir material al preámbulo).
9553 \begin_inset Quotes fld
9557 \begin_inset Flex Code
9560 \begin_layout Plain Layout
9567 \begin_inset Quotes frd
9573 \begin_layout Description
9574 \begin_inset Flex Code
9577 \begin_layout Plain Layout
9584 \begin_inset Flex Code
9587 \begin_layout Plain Layout
9594 \begin_inset Flex Code
9597 \begin_layout Plain Layout
9606 \begin_inset Flex Code
9609 \begin_layout Plain Layout
9615 ] Si la clase ya proporciona, o no, la característica
9616 \begin_inset Flex Code
9619 \begin_layout Plain Layout
9626 Una característica es en general el nombre de un paquete (
9627 \begin_inset Flex Code
9630 \begin_layout Plain Layout
9637 \begin_inset Flex Code
9640 \begin_layout Plain Layout
9646 , \SpecialChar ldots
9648 \begin_inset Flex Code
9651 \begin_layout Plain Layout
9658 \begin_inset Flex Code
9661 \begin_layout Plain Layout
9671 \begin_inset space ~
9675 \begin_inset CommandInset ref
9677 reference "chap:List-of-functions"
9681 for the list of features.
9684 \begin_layout Description
9685 \begin_inset Flex Code
9688 \begin_layout Plain Layout
9695 \begin_inset Flex Code
9698 \begin_layout Plain Layout
9704 ] Indica que este formato proporciona la funcionalidad del módulo mencionado,
9705 que deberá especificarse con su nombre de archivo sin la extensión
9706 \begin_inset Flex Code
9709 \begin_layout Plain Layout
9716 Esto se usará típicamente si el formato incluye el módulo directamente,
9717 preferiblemente a usar la etiqueta
9718 \begin_inset Flex Code
9721 \begin_layout Plain Layout
9727 para indicar que debería utilizarse.
9728 Podría ser empleado en un módulo que provea una implementación alternativa
9729 de la misma funcionalidad.
9732 \begin_layout Description
9733 \begin_inset Flex Code
9736 \begin_layout Plain Layout
9743 \begin_inset Flex Code
9746 \begin_layout Plain Layout
9752 ] Si la clase requiere la característica
9753 \begin_inset Flex Code
9756 \begin_layout Plain Layout
9763 Múltiples características deben separarse con comas.
9764 Multiple features must be separated by commas.
9765 Anotar que solo se pueden demandar características soportadas.
9769 \begin_inset space ~
9773 \begin_inset CommandInset ref
9775 reference "chap:List-of-functions"
9779 for the list of features
9784 \begin_layout Description
9785 \begin_inset Flex Code
9788 \begin_layout Plain Layout
9795 \begin_inset Flex Code
9798 \begin_layout Plain Layout
9804 ] Una cadena que indica la anchura del margen derecho en la pantalla, por
9806 \begin_inset Quotes fld
9810 \begin_inset Flex Code
9813 \begin_layout Plain Layout
9820 \begin_inset Quotes frd
9826 \begin_layout Description
9827 \begin_inset Flex Code
9830 \begin_layout Plain Layout
9837 \begin_inset Flex Code
9840 \begin_layout Plain Layout
9846 ] Establece qué divisiones se numeran.
9847 Corresponde al contador \SpecialChar LaTeX
9849 \begin_inset Flex Code
9852 \begin_layout Plain Layout
9861 \begin_layout Description
9862 \begin_inset Flex Code
9865 \begin_layout Plain Layout
9874 \begin_inset Flex Code
9877 \begin_layout Plain Layout
9886 \begin_inset space \thinspace{}
9890 \begin_inset Flex Code
9893 \begin_layout Plain Layout
9899 ] Si debe imprimirse en una o en ambas caras del papel.
9900 Se puede cambiar en el diálogo
9901 \begin_inset Flex MenuItem
9904 \begin_layout Plain Layout
9905 Documento\SpecialChar menuseparator
9914 \begin_layout Description
9915 \begin_inset Flex Code
9918 \begin_layout Plain Layout
9925 \begin_inset Flex Code
9928 \begin_layout Plain Layout
9934 ] Esta secuencia define un nuevo estilo de párrafo.
9935 Si el estilo ya existe, en ese caso se redefinirán algunos de los parámetros.
9937 \begin_inset space ~
9941 \begin_inset CommandInset ref
9943 reference "subsec:Estilos-de-párrafo"
9949 \begin_inset Quotes fld
9953 \begin_inset Flex Code
9956 \begin_layout Plain Layout
9963 \begin_inset Quotes frd
9969 \begin_layout Description
9970 \begin_inset Flex Code
9973 \begin_layout Plain Layout
9980 \begin_inset Flex Code
9983 \begin_layout Plain Layout
9989 ] El nombre del comando de entorno a usar con
9990 \begin_inset Flex Code
9993 \begin_layout Plain Layout
10002 \begin_layout Description
10003 \begin_inset Flex Code
10006 \begin_layout Plain Layout
10013 \begin_inset Flex Code
10016 \begin_layout Plain Layout
10025 \begin_inset Flex Code
10028 \begin_layout Plain Layout
10034 ] Indica qué clase de diseño se emplea para definir el título de un documento.
10036 \begin_inset Flex Code
10039 \begin_layout Plain Layout
10045 significa que la macro con nombre
10046 \begin_inset Flex Code
10049 \begin_layout Plain Layout
10055 se insertará después del último formato que tiene
10056 \begin_inset Quotes fld
10060 \begin_inset Flex Code
10063 \begin_layout Plain Layout
10065 \begin_inset space ~
10074 \begin_inset Quotes frd
10079 \begin_inset Flex Code
10082 \begin_layout Plain Layout
10088 corresponde al caso en que todos los formatos que tienen
10089 \begin_inset Quotes fld
10093 \begin_inset Flex Code
10096 \begin_layout Plain Layout
10098 \begin_inset space ~
10107 \begin_inset Quotes frd
10110 debería ser incluido en el entorno
10111 \begin_inset Flex Code
10114 \begin_layout Plain Layout
10123 \begin_layout Description
10124 \begin_inset Flex Code
10127 \begin_layout Plain Layout
10134 \begin_inset Flex Code
10137 \begin_layout Plain Layout
10143 ] Establece qué divisiones se incluyen en el índice general.
10144 Corresponde al contador \SpecialChar LaTeX
10146 \begin_inset Flex Code
10149 \begin_layout Plain Layout
10158 \begin_layout Subsection
10160 \begin_inset Flex Code
10163 \begin_layout Plain Layout
10170 \begin_inset CommandInset label
10172 name "subsec:ClassOptions"
10179 \begin_layout Standard
10181 \begin_inset Flex Code
10184 \begin_layout Plain Layout
10190 puede contener las siguientes entradas:
10193 \begin_layout Description
10194 \begin_inset Flex Code
10197 \begin_layout Plain Layout
10204 \begin_inset Flex Code
10207 \begin_layout Plain Layout
10213 ] La lista de los tamaños de carácter disponibles para la tipografía principal
10214 del documento, separados por
10215 \begin_inset Quotes fld
10219 \begin_inset Flex Code
10222 \begin_layout Plain Layout
10229 \begin_inset Quotes frd
10235 \begin_layout Description
10236 \begin_inset Flex Code
10239 \begin_layout Plain Layout
10245 Para establecer la línea DTD con las clases con salida basada en XML.
10247 \begin_inset space \thinspace{}
10251 \begin_inset Quotes fld
10254 -//OASIS//DTD DocBook V4.2//EN
10255 \begin_inset Quotes frd
10261 \begin_layout Description
10262 \begin_inset Flex Code
10265 \begin_layout Plain Layout
10272 \begin_inset Flex Code
10275 \begin_layout Plain Layout
10281 ] Algunas opciones de clase de documento, separadas por coma, que se añadirán
10282 a la parte opcional del comando
10283 \begin_inset Flex Code
10286 \begin_layout Plain Layout
10297 \begin_layout Description
10298 \begin_inset Flex Code
10301 \begin_layout Plain Layout
10308 \begin_inset Flex Code
10311 \begin_layout Plain Layout
10312 string="empty|plain|headings|fancy"
10317 ] Lista de los estilos de página disponibles, separados por
10318 \begin_inset Quotes fld
10322 \begin_inset Flex Code
10325 \begin_layout Plain Layout
10332 \begin_inset Quotes frd
10338 \begin_layout Standard
10340 \begin_inset Flex Code
10343 \begin_layout Plain Layout
10350 \begin_inset Quotes fld
10354 \begin_inset Flex Code
10357 \begin_layout Plain Layout
10364 \begin_inset Quotes frd
10370 \begin_layout Subsection
10372 \begin_inset CommandInset label
10374 name "subsec:Estilos-de-párrafo"
10381 \begin_layout Standard
10382 Una descripción de estilo de párrafo tiene una aspecto como éste:
10386 \begin_layout Plain Layout
10387 Anotar que esto definirá un nuevo diseño o modificará uno existente.
10395 \begin_layout LyX-Code
10402 \begin_layout LyX-Code
10406 \begin_layout LyX-Code
10410 \begin_layout Standard
10411 donde se permiten los comandos siguientes:
10414 \begin_layout Description
10415 \begin_inset Flex Code
10418 \begin_layout Plain Layout
10425 \begin_inset Flex Code
10428 \begin_layout Plain Layout
10433 , left, right, center
10438 ] Alineación del párrafo.
10441 \begin_layout Description
10442 \begin_inset Flex Code
10445 \begin_layout Plain Layout
10452 \begin_inset Flex Code
10455 \begin_layout Plain Layout
10460 , left, right, center
10465 ] Una lista separada con comas de alineaciones permitidas.
10466 (Algunos estilos de \SpecialChar LaTeX
10467 prohiben ciertos alineamientos, ya que no tendrían
10469 Por ejemplo una alineación a la derecha o al centro de una lista numerada
10473 \begin_layout Description
10474 \begin_inset Flex Code
10477 \begin_layout Plain Layout
10484 \begin_inset Flex Code
10487 \begin_layout Plain Layout
10495 Defines argument number <int> of a command\SpecialChar breakableslash
10496 environment associated with the
10498 This is useful for things like section headings, and only makes sense with
10501 Every (optional or required) argument of a command or environment – except
10502 for the required argument that is associated with the content of the paragraph
10503 itself – has a separate definition, where the number specifies the order
10505 The definition must end with
10506 \begin_inset Flex Code
10509 \begin_layout Plain Layout
10518 So a command with two optional arguments has:
10519 \begin_inset Separator parbreak
10526 \begin_layout Quote
10532 \begin_layout Quote
10538 \begin_layout Quote
10544 \begin_layout Quote
10550 \begin_layout Quote
10556 \begin_layout Quote
10562 \begin_layout Standard
10566 \begin_inset Flex Code
10569 \begin_layout Plain Layout
10577 definition, the following specifications are possible:
10580 \begin_layout Itemize
10581 \begin_inset Flex Code
10584 \begin_layout Plain Layout
10591 \begin_inset Flex Code
10594 \begin_layout Plain Layout
10602 The string that will appear both in the menu (to insert this argument) and
10603 on the argument inset button (unless you also specify a separate
10604 \begin_inset Flex Code
10607 \begin_layout Plain Layout
10616 For the menu, you can define an accelerator by appending the respective
10617 character to the string, divided by
10618 \begin_inset Quotes fld
10622 \begin_inset Quotes frd
10626 \begin_inset space \thinspace{}
10630 \begin_inset space \space{}
10634 \begin_inset Quotes fld
10638 \begin_inset Flex Code
10641 \begin_layout Plain Layout
10650 \begin_inset Quotes frd
10656 \begin_layout Itemize
10657 \begin_inset Flex Code
10660 \begin_layout Plain Layout
10667 \begin_inset Flex Code
10670 \begin_layout Plain Layout
10678 A separate string for the menu.
10679 You can define an accelerator by appending the respective character to
10680 the string, divided by
10681 \begin_inset Quotes fld
10685 \begin_inset Quotes frd
10689 \begin_inset space \thinspace{}
10693 \begin_inset space \space{}
10697 \begin_inset Quotes fld
10701 \begin_inset Flex Code
10704 \begin_layout Plain Layout
10713 \begin_inset Quotes frd
10717 This specification is optional.
10718 If it is not given the
10719 \begin_inset Flex Code
10722 \begin_layout Plain Layout
10730 will be used instead for the menu.
10733 \begin_layout Itemize
10734 \begin_inset Flex Code
10737 \begin_layout Plain Layout
10744 \begin_inset Flex Code
10747 \begin_layout Plain Layout
10755 A longer explanatory text that appears in the tooltip when hovering over
10756 the argument inset.
10759 \begin_layout Itemize
10760 \begin_inset Flex Code
10763 \begin_layout Plain Layout
10770 \begin_inset Flex Code
10773 \begin_layout Plain Layout
10782 \begin_inset space \thinspace{}
10786 \begin_inset Flex Code
10789 \begin_layout Plain Layout
10797 Declare if this is a mandatory (1) or an optional (0) argument.
10798 Mandatory arguments will be output empty if not given, while optional arguments
10799 will not be output at all.
10800 By default, mandatory arguments are delimited by
10801 \begin_inset Flex Code
10804 \begin_layout Plain Layout
10812 , while optional arguments are delimited by
10813 \begin_inset Flex Code
10816 \begin_layout Plain Layout
10827 \begin_layout Itemize
10828 \begin_inset Flex Code
10831 \begin_layout Plain Layout
10838 \begin_inset Flex Code
10841 \begin_layout Plain Layout
10849 defines another argument (by its number) which this argument requires to
10850 be output if it is itself output.
10852 \begin_inset space \thinspace{}
10855 g., in \SpecialChar LaTeX
10856 commands, optional arguments often require previous optional arguments
10857 to be output (at least empty), as in
10858 \begin_inset Flex Code
10861 \begin_layout Plain Layout
10866 command[][argument]{text}
10872 This can be achieved by the statement
10873 \begin_inset Flex Code
10876 \begin_layout Plain Layout
10887 \begin_inset Flex Code
10890 \begin_layout Plain Layout
10899 \begin_layout Itemize
10900 \begin_inset Flex Code
10903 \begin_layout Plain Layout
10910 \begin_inset Flex Code
10913 \begin_layout Plain Layout
10921 defines a custom left delimiter (instead of
10922 \begin_inset Flex Code
10925 \begin_layout Plain Layout
10934 \begin_inset Flex Code
10937 \begin_layout Plain Layout
10946 A line break in the output can be indicated by
10949 \begin_inset Flex Code
10952 \begin_layout Plain Layout
10961 \begin_layout Itemize
10962 \begin_inset Flex Code
10965 \begin_layout Plain Layout
10972 \begin_inset Flex Code
10975 \begin_layout Plain Layout
10983 defines a custom right delimiter (instead of
10984 \begin_inset Flex Code
10987 \begin_layout Plain Layout
10996 \begin_inset Flex Code
10999 \begin_layout Plain Layout
11008 A line break in the output can be indicated by
11011 \begin_inset Flex Code
11014 \begin_layout Plain Layout
11023 \begin_layout Itemize
11024 \begin_inset Flex Code
11027 \begin_layout Plain Layout
11034 \begin_inset Flex Code
11037 \begin_layout Plain Layout
11045 defines an argument that is inserted if and only if no user-specified arguments
11047 \begin_inset space \thinspace{}
11051 \begin_inset space \space{}
11054 if no argument inset has been inserted (note that also an empty argument
11055 inset omits the DefaultArg).
11056 Multiple arguments need to be separated by comma.
11059 \begin_layout Itemize
11060 \begin_inset Flex Code
11063 \begin_layout Plain Layout
11070 \begin_inset Flex Code
11073 \begin_layout Plain Layout
11081 defines an argument that is inserted in any case (alone or in addition to
11082 user-specified arguments).
11083 Multiple arguments need to be separated by comma.
11086 \begin_layout Itemize
11087 \begin_inset Flex Code
11090 \begin_layout Plain Layout
11098 The font used for the argument content, see
11101 \begin_inset CommandInset ref
11103 reference "subsec:Tipografías"
11110 \begin_layout Itemize
11111 \begin_inset Flex Code
11114 \begin_layout Plain Layout
11122 The font used for the label; see
11125 \begin_inset CommandInset ref
11127 reference "subsec:Tipografías"
11134 \begin_layout Itemize
11135 \begin_inset Flex Code
11138 \begin_layout Plain Layout
11145 \begin_inset Flex Code
11148 \begin_layout Plain Layout
11153 , Minimalistic, Conglomerate
11160 describes the rendering style used for the inset's frame and buttons.
11163 \begin_layout Itemize
11164 \begin_inset Flex Code
11167 \begin_layout Plain Layout
11174 \begin_inset Flex Code
11177 \begin_layout Plain Layout
11186 \begin_inset Flex Code
11189 \begin_layout Plain Layout
11197 , this argument is automatically inserted when the respective style is selected.
11198 Currently, only one argument per style\SpecialChar breakableslash
11199 layout can be automatically inserted.
11202 \begin_layout Standard
11205 By default, the text entered in the \SpecialChar LyX
11206 workarea in the respective layout is
11207 the last (mandatory) argument of a command if the
11208 \begin_inset Flex Code
11211 \begin_layout Plain Layout
11220 \begin_inset Flex Code
11223 \begin_layout Plain Layout
11232 However, arguments with the prefix
11233 \begin_inset Flex Code
11236 \begin_layout Plain Layout
11244 are output after this workarea argument.
11245 Note that post-argument numbering restarts at 1, so the first argument
11246 following the workarea argument is
11247 \begin_inset Flex Code
11250 \begin_layout Plain Layout
11259 Post-arguments are ignored in any other
11260 \begin_inset Flex Code
11263 \begin_layout Plain Layout
11272 \begin_inset Flex Code
11275 \begin_layout Plain Layout
11286 \begin_layout Standard
11290 \begin_inset Flex Code
11293 \begin_layout Plain Layout
11304 \begin_inset Flex Code
11307 \begin_layout Plain Layout
11318 \begin_inset Flex Code
11321 \begin_layout Plain Layout
11329 followed by the number (e.
11330 \begin_inset space \thinspace{}
11334 \begin_inset space \space{}
11338 \begin_inset Flex Code
11341 \begin_layout Plain Layout
11353 \begin_layout Description
11354 \begin_inset Flex Code
11357 \begin_layout Plain Layout
11363 Esto sobrescribirá completamente cualquier anterior declaración
11364 \begin_inset Newline newline
11368 \begin_inset Flex Code
11371 \begin_layout Plain Layout
11379 \begin_inset Quotes eld
11383 \begin_inset Flex Code
11386 \begin_layout Plain Layout
11393 \begin_inset Quotes erd
11398 \begin_inset space ~
11402 \begin_inset CommandInset ref
11404 reference "subsec:I18n"
11408 para detalles sobre su uso.
11411 \begin_layout Description
11412 \begin_inset Flex Code
11415 \begin_layout Plain Layout
11422 \begin_inset Flex Code
11425 \begin_layout Plain Layout
11435 \begin_layout Plain Layout
11436 Anotar que aquí un 'float' es un número real, como: 1.5.
11441 El espacio vertical con el que el último de una cadena de párrafos con
11442 este estilo se separa del siguiente párrafo.
11443 Si el párrafo siguiente tiene otro estilo, las separaciones no son simplemente
11444 añadidas sino que se pone la máxima.
11447 \begin_layout Description
11448 \begin_inset Flex Code
11451 \begin_layout Plain Layout
11458 \begin_inset Flex Code
11461 \begin_layout Plain Layout
11467 La categoría para este estilo.
11468 Se usa para agrupar estilos relacionados en el recuadro de estilo en la
11469 barra de herramientas.
11470 Se puede poner cualquier cadena en 'string' pero mejor usar categorías
11471 existentes con tus propios estilos.
11474 \begin_layout Description
11475 \begin_inset Flex Code
11478 \begin_layout Plain Layout
11484 Profundidad del comando XML.
11485 Usado solo con formatos tipo XML.
11488 \begin_layout Description
11489 \begin_inset Flex Code
11492 \begin_layout Plain Layout
11499 \begin_inset Flex Code
11502 \begin_layout Plain Layout
11508 Copia todas las características de un estilo existente en el actual.
11512 \begin_layout Description
11513 \begin_inset Flex Code
11516 \begin_layout Plain Layout
11523 \begin_inset Flex Code
11526 \begin_layout Plain Layout
11532 ] El nombre de un estilo cuyo preámbulo debería salir
11537 Esto permite asegurar un orden de los retazos de preámbulo si las definiciones
11538 de macros dependen de otra.
11542 \begin_layout Plain Layout
11543 Anotar que, excepto esta funcionalidad, no hay forma de asegurar ningún
11544 orden de los preámbulos.
11545 El orden que se ve en una versión dada de \SpecialChar LyX
11546 puede cambiar sin previo aviso
11547 en versiones posteriores.
11555 \begin_layout Description
11556 \begin_inset Flex Code
11559 \begin_layout Plain Layout
11566 \begin_inset Flex Code
11569 \begin_layout Plain Layout
11574 , Box, Filled_Box, Static
11579 ] El tipo de etiqueta que se pone al final del párrafo (o secuencia de párrafos
11581 \begin_inset Flex Code
11584 \begin_layout Plain Layout
11591 \begin_inset Flex Code
11594 \begin_layout Plain Layout
11601 \begin_inset Flex Code
11604 \begin_layout Plain Layout
11611 \begin_inset Flex Code
11614 \begin_layout Plain Layout
11622 \begin_inset Flex Code
11625 \begin_layout Plain Layout
11632 \begin_inset Quotes fld
11636 \begin_inset Quotes frd
11640 \begin_inset Flex Code
11643 \begin_layout Plain Layout
11650 \begin_inset Flex Code
11653 \begin_layout Plain Layout
11654 \begin_inset space ~
11662 ) es un cuadrado blanco (resp.
11663 \begin_inset space ~
11666 negro) adecuado para marcas finales de demostraciones,
11667 \begin_inset Flex Code
11670 \begin_layout Plain Layout
11676 es una cadena de texto explícito.
11679 \begin_layout Description
11680 \begin_inset Flex Code
11683 \begin_layout Plain Layout
11690 \begin_inset Flex Code
11693 \begin_layout Plain Layout
11699 ] La cadena usada para una etiqueta con un
11700 \begin_inset Flex Code
11703 \begin_layout Plain Layout
11710 \begin_inset Flex Code
11713 \begin_layout Plain Layout
11723 \begin_layout Description
11727 \begin_layout Plain Layout
11732 No estoy seguro de que estas configuraciones (Fill_Bottom, Fill_Top) tengan
11733 mucho uso, y probablemente se quitarán en próximas versiones.
11739 \begin_inset Note Note
11742 \begin_layout Plain Layout
11744 \begin_inset Quotes fld
11747 Espacio vertical encima
11748 \begin_inset Quotes frd
11752 \begin_inset Quotes fld
11755 Espacio vertical abajo
11756 \begin_inset Quotes erd
11759 en Editar\SpecialChar menuseparator
11760 Configuración de párrafo, esto parece obsoleto, como dice Jean-Marc
11771 \begin_layout Description
11772 \begin_inset Flex Code
11775 \begin_layout Plain Layout
11781 La tipografía usada para el cuerpo del texto
11787 \begin_inset space ~
11791 \begin_inset CommandInset ref
11793 reference "subsec:Tipografías"
11798 Anotar que al definir esta tipografía se define automáticamente la de la
11800 \begin_inset Flex Code
11803 \begin_layout Plain Layout
11810 Así que debería definirse primero ésta si se quiere definir también
11811 \begin_inset Flex Code
11814 \begin_layout Plain Layout
11823 \begin_layout Description
11824 \begin_inset Flex Code
11827 \begin_layout Plain Layout
11834 \begin_inset Flex Code
11837 \begin_layout Plain Layout
11845 Used for backporting new styles to stable \SpecialChar LyX
11847 The first stable version that supports this tag is \SpecialChar LyX
11849 The argment is a number which may either be 0, -1 or any value greater
11852 \begin_inset Flex Code
11855 \begin_layout Plain Layout
11863 flag of a style is greater than zero, it will always be written to the
11865 If a .lyx file is read, the style definitions from the document header are
11866 added to the document class.
11867 Therefore even older \SpecialChar LyX
11868 versions can handle the style.
11870 \begin_inset Flex Code
11873 \begin_layout Plain Layout
11881 is a version number: If the style is read, and the version number is less
11882 than the version number of the already existing style in the document class,
11883 the new style is ignored.
11884 If the version number is greater, the new style replaces the existing style.
11885 A value of -1 means an infinite version number, i.
11886 \begin_inset space \thinspace{}
11890 \begin_inset space \space{}
11893 the style is always used.
11896 \begin_layout Description
11897 \begin_inset Flex Code
11900 \begin_layout Plain Layout
11909 \begin_inset Flex Code
11912 \begin_layout Plain Layout
11921 \begin_inset space \thinspace{}
11925 \begin_inset Flex Code
11928 \begin_layout Plain Layout
11934 ] Usualmente \SpecialChar LyX
11935 no permite insertar más de un espacio entre palabras, puesto
11936 que un espacio se considera como la separación entre dos palabras, no un
11937 carácter o símbolo por sí mismo.
11938 Esto es una buena cosa pero a veces puede ser molesta, por ejemplo, para
11939 escribir código de programas o de \SpecialChar LaTeX
11941 Por esta razón se puede habilitar
11942 \begin_inset Flex Code
11945 \begin_layout Plain Layout
11952 Anotar que \SpecialChar LyX
11953 creará espacios protegidos para los espacios adicionales en
11954 modos que no sean \SpecialChar LaTeX
11959 \begin_layout Description
11960 \begin_inset Flex Code
11963 \begin_layout Plain Layout
11969 Para la salida XHTML.
11971 \begin_inset CommandInset ref
11973 reference "subsec:Estilos-de-párrafo-XHTML"
11980 \begin_layout Description
11981 \begin_inset Flex Code
11984 \begin_layout Plain Layout
11990 [[FIXME]] (Usado solo con formatos tipo XML.)
11993 \begin_layout Description
11994 \begin_inset Flex Code
11997 \begin_layout Plain Layout
12006 \begin_inset Flex Code
12009 \begin_layout Plain Layout
12020 \begin_inset space \thinspace{}
12024 \begin_inset Flex Code
12027 \begin_layout Plain Layout
12034 \begin_inset Flex Code
12037 \begin_layout Plain Layout
12043 , marca el estilo para ser incluido en el preámbulo del documento en lugar
12044 de en el cuerpo del documento.
12045 Útil para clases de documento que piden informaciones tales como título
12046 y autor en el preámbulo.
12047 Esto solo funciona para estilos para los que
12048 \begin_inset Flex Code
12051 \begin_layout Plain Layout
12058 \begin_inset Flex Code
12061 \begin_layout Plain Layout
12068 \begin_inset Flex Code
12071 \begin_layout Plain Layout
12080 \begin_layout Description
12081 \begin_inset Flex Code
12084 \begin_layout Plain Layout
12093 \begin_inset Flex Code
12096 \begin_layout Plain Layout
12107 \begin_inset space \thinspace{}
12111 \begin_inset Flex Code
12114 \begin_layout Plain Layout
12121 \begin_inset Flex Code
12124 \begin_layout Plain Layout
12130 , marca el estilo como parte de un bloque de título (véanse también las
12132 \begin_inset Flex Code
12135 \begin_layout Plain Layout
12142 \begin_inset Flex Code
12145 \begin_layout Plain Layout
12154 \begin_layout Description
12155 \begin_inset Flex Code
12158 \begin_layout Plain Layout
12165 \begin_inset Flex Code
12168 \begin_layout Plain Layout
12176 The \SpecialChar LaTeX
12177 command sequence declaring an item in a list.
12178 The command is to be defined without the preceding backslash (the default
12182 \begin_inset Quotes eld
12186 \begin_inset Quotes erd
12194 \begin_inset Flex Code
12197 \begin_layout Plain Layout
12207 in the \SpecialChar LaTeX
12211 \begin_layout Description
12212 \begin_inset Flex Code
12215 \begin_layout Plain Layout
12222 \begin_inset Flex Code
12225 \begin_layout Plain Layout
12231 ] Esto proporciona espacio extra entre párrafos que tienen el mismo formato.
12232 Si se ponen otros formatos en un entorno, cada uno es separado con el comando
12234 \begin_inset Flex Code
12237 \begin_layout Plain Layout
12244 Pero el conjunto de los ítems del entorno son separados adicionalmente
12246 \begin_inset Flex Code
12249 \begin_layout Plain Layout
12256 Anotar que esto es un
12261 \begin_layout Description
12262 \begin_inset Flex Code
12265 \begin_layout Plain Layout
12271 [[FIXME]] (Usado solo con formatos tipo XML.)
12274 \begin_layout Description
12275 \begin_inset Flex Code
12278 \begin_layout Plain Layout
12287 \begin_inset Flex Code
12290 \begin_layout Plain Layout
12301 \begin_inset space \thinspace{}
12305 \begin_inset Flex Code
12308 \begin_layout Plain Layout
12314 ] Habitualmente, \SpecialChar LyX
12315 no permite dejar un párrafo vacío, porque llevaría a una
12316 salida de \SpecialChar LaTeX
12318 Sin embargo, hay algunos casos donde podría ser útil: en una plantilla
12319 de carta, los campos requeridos pueden proporcionarse vacíos, así el usuario
12320 no los olvida; en algunos casos especiales, se puede usar un estilo que
12321 no contiene texto real como una especie de salto.
12324 \begin_layout Description
12325 \begin_inset Flex Code
12328 \begin_layout Plain Layout
12335 \begin_inset Flex Code
12338 \begin_layout Plain Layout
12344 ] El espacio vertical entre la etiqueta y el cuerpo del texto.
12345 Solo se usa para etiquetas que están sobre el cuerpo del texto (
12346 \begin_inset Flex Code
12349 \begin_layout Plain Layout
12356 \begin_inset Flex Code
12359 \begin_layout Plain Layout
12360 Centered_Top_Environment
12368 \begin_layout Description
12369 \begin_inset Flex Code
12372 \begin_layout Plain Layout
12383 \begin_inset Flex Code
12386 \begin_layout Plain Layout
12392 ] El nombre del contador para numeración automática.
12395 In order to have the counter appear with your label, you will need to reference
12397 \begin_inset Flex Code
12400 \begin_layout Plain Layout
12410 This will work with
12411 \begin_inset Flex Code
12414 \begin_layout Plain Layout
12423 \begin_inset Flex Code
12426 \begin_layout Plain Layout
12435 \begin_inset Flex Code
12438 \begin_layout Plain Layout
12447 \begin_inset Flex Code
12450 \begin_layout Plain Layout
12461 \begin_inset Newline newline
12469 \begin_inset Flex Code
12472 \begin_layout Plain Layout
12479 \begin_inset Flex Code
12482 \begin_layout Plain Layout
12488 , aunque este caso es un poco complicado.
12489 Supongamos que declaras
12490 \begin_inset Quotes eld
12494 \begin_inset Flex Code
12497 \begin_layout Plain Layout
12498 LabelCounter myenum
12504 \begin_inset Quotes erd
12508 Entonces, los contadores reales usados son
12509 \begin_inset Flex Code
12512 \begin_layout Plain Layout
12519 \begin_inset Flex Code
12522 \begin_layout Plain Layout
12529 \begin_inset Flex Code
12532 \begin_layout Plain Layout
12539 \begin_inset Flex Code
12542 \begin_layout Plain Layout
12548 , como en \SpecialChar LaTeX
12550 Estos contadores deben declararse todos por separado.
12551 \begin_inset Newline newline
12555 \begin_inset CommandInset ref
12557 reference "subsec:Contadores"
12561 para detalles sobre contadores
12562 \begin_inset Flex Code
12565 \begin_layout Plain Layout
12571 La tipografía usada para la etiqueta.
12573 \begin_inset space ~
12577 \begin_inset CommandInset ref
12579 reference "subsec:Tipografías"
12586 \begin_layout Description
12587 \begin_inset Flex Code
12590 \begin_layout Plain Layout
12597 \begin_inset Flex Code
12600 \begin_layout Plain Layout
12606 ] Texto que indica cuánto se debe sangrar una etiqueta.
12609 \begin_layout Description
12610 \begin_inset Flex Code
12613 \begin_layout Plain Layout
12620 \begin_inset Flex Code
12623 \begin_layout Plain Layout
12629 ] Texto que indica el valor de espacio horizontal entre la etiqueta y el
12631 Solo se usa para etiquetas que no están sobre el cuerpo del texto.
12634 \begin_layout Description
12635 \begin_inset Flex Code
12638 \begin_layout Plain Layout
12645 \begin_inset Flex Code
12648 \begin_layout Plain Layout
12654 ] La cadena usada para una etiqueta del
12655 \begin_inset Flex Code
12658 \begin_layout Plain Layout
12665 \begin_inset Flex Code
12668 \begin_layout Plain Layout
12676 \begin_inset Flex Code
12679 \begin_layout Plain Layout
12685 está establecido, esta cadena puede contener los comandos especiales de
12686 formato descritos en la sección
12687 \begin_inset space ~
12691 \begin_inset CommandInset ref
12693 reference "subsec:Contadores"
12700 \begin_layout Description
12701 \begin_inset Flex Code
12704 \begin_layout Plain Layout
12705 LabelStringAppendix
12711 \begin_inset Flex Code
12714 \begin_layout Plain Layout
12720 ] Esta se usa en el apéndice en vez de
12721 \begin_inset Flex Code
12724 \begin_layout Plain Layout
12731 Anotar que toda declaración de
12732 \begin_inset Flex Code
12735 \begin_layout Plain Layout
12741 reconfigura también
12742 \begin_inset Newline newline
12746 \begin_inset Flex Code
12749 \begin_layout Plain Layout
12750 LabelStringAppendix
12758 \begin_layout Description
12759 \begin_inset Flex Code
12762 \begin_layout Plain Layout
12768 [FIXME] (Usado solo con formatos tipo XML.)
12771 \begin_layout Description
12772 \begin_inset Flex Code
12775 \begin_layout Plain Layout
12786 \begin_inset Flex Code
12789 \begin_layout Plain Layout
12794 , Manual, Static, Above,
12795 \begin_inset Newline newline
12798 Centered, Sensitive, Enumerate,
12799 \begin_inset Newline newline
12802 Itemize, Bibliography
12808 \begin_inset Separator parbreak
12815 \begin_layout Description
12816 \begin_inset Flex Code
12819 \begin_layout Plain Layout
12825 significa que la etiqueta es la primera palabra (hasta elprimer espacio
12827 Usa espacios protegidos si quieres más de una palabra como etiqueta.
12831 \begin_layout Description
12832 \begin_inset Flex Code
12835 \begin_layout Plain Layout
12841 significa que la etiqueta es simplemente cualquier
12842 \begin_inset Flex Code
12845 \begin_layout Plain Layout
12851 declarado como tal.
12854 This will be displayed
12855 \begin_inset Quotes fld
12859 \begin_inset Quotes frd
12862 , at the beginning of the paragraph.
12864 \begin_inset Flex Code
12867 \begin_layout Plain Layout
12876 \begin_inset Flex Code
12879 \begin_layout Plain Layout
12887 , then it will be displayed only in the first paragraph of any sequence
12888 of paragraphs with the same
12891 \begin_inset Flex Code
12894 \begin_layout Plain Layout
12903 \begin_layout Description
12904 \begin_inset Flex Code
12907 \begin_layout Plain Layout
12914 \begin_inset space ~
12918 \begin_inset space ~
12922 \begin_inset Flex Code
12925 \begin_layout Plain Layout
12931 son casos especiales de
12932 \begin_inset Flex Code
12935 \begin_layout Plain Layout
12942 La etiqueta se imprimirá encima del párrafo,
12944 either at the beginning of the line or centered
12949 \begin_layout Description
12950 \begin_inset Flex Code
12953 \begin_layout Plain Layout
12959 es un caso especial para las etiquetas de las leyendas de
12960 \begin_inset Quotes fld
12964 \begin_inset Quotes frd
12968 \begin_inset Quotes fld
12972 \begin_inset Quotes frd
12977 \begin_inset Flex Code
12980 \begin_layout Plain Layout
12986 quiere decir que la cadena (en código) de la etiqueta depende de la clase
12987 de flotante: Está codificado para ser `FloatType N', donde N es el valor
12988 del contador asociado al flotante.
12991 For the case that a caption is inserted outside of a float the
12992 \begin_inset Flex Code
12995 \begin_layout Plain Layout
13004 \begin_inset Quotes fld
13010 \begin_inset Quotes frd
13016 \begin_layout Description
13017 \begin_inset Flex Code
13020 \begin_layout Plain Layout
13026 produce los tipos habituales de etiquetas de enumeración.
13027 Por ahora está codificado para usar números arábigos, minúsculas, números
13028 romanos en minúsculas y mayúsculas, respectivamente, para los cuatro niveles
13029 de profundidad posibles.
13032 \begin_layout Description
13033 \begin_inset Flex Code
13036 \begin_layout Plain Layout
13042 produce varias marcas para los distintos niveles.
13043 También está codificado.
13046 \begin_layout Description
13047 \begin_inset Flex Code
13050 \begin_layout Plain Layout
13056 solo debería emplearse con
13057 \begin_inset Flex Code
13060 \begin_layout Plain Layout
13061 LatexType BibEnvironment
13070 \begin_layout Description
13071 \begin_inset Flex Code
13074 \begin_layout Plain Layout
13080 Esto sobrescribirá completamente cualquier declaración anterior de
13081 \begin_inset Flex Code
13084 \begin_layout Plain Layout
13092 \begin_inset Quotes eld
13096 \begin_inset Flex Code
13099 \begin_layout Plain Layout
13106 \begin_inset Quotes erd
13111 \begin_inset CommandInset ref
13113 reference "subsec:I18n"
13117 para detallessobre su uso.
13120 \begin_layout Description
13121 \begin_inset Flex Code
13124 \begin_layout Plain Layout
13131 \begin_inset Flex Code
13134 \begin_layout Plain Layout
13140 ] El nombre correspondiente en \SpecialChar LaTeX
13141 , ya sea de un comando o de un entorno.
13144 \begin_layout Description
13145 \begin_inset Flex Code
13148 \begin_layout Plain Layout
13155 \begin_inset Flex Code
13158 \begin_layout Plain Layout
13164 ] Un parámetro opcional para el correspondiente
13165 \begin_inset Flex Code
13168 \begin_layout Plain Layout
13175 Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
13179 \begin_inset Flex Code
13182 \begin_layout Plain Layout
13190 for customizable parameters).
13191 This will be output as is after all \SpecialChar LaTeX
13195 \begin_inset Flex Code
13198 \begin_layout Plain Layout
13207 \begin_layout Description
13208 \begin_inset Flex Code
13211 \begin_layout Plain Layout
13218 \begin_inset Flex Code
13221 \begin_layout Plain Layout
13226 , Command, Environment, Item_Environment,
13227 \begin_inset Newline newline
13230 List_Environment, Bib_Environment
13235 ] Cómo debería traducirse el estilo a \SpecialChar LaTeX
13240 \begin_layout Plain Layout
13241 \begin_inset Flex Code
13244 \begin_layout Plain Layout
13250 es un poco engañoso porque estas reglas se aplican también a clases SGML.
13251 Consulta los archivos de clases SGML
13254 \begin_inset Flex Code
13257 \begin_layout Plain Layout
13267 para ejemplos concretos.
13273 \begin_inset Separator parbreak
13280 \begin_layout Description
13281 \begin_inset Flex Code
13284 \begin_layout Plain Layout
13290 no significa nada especial.
13293 \begin_layout Description
13294 \begin_inset Flex Code
13297 \begin_layout Plain Layout
13304 \begin_inset Flex Code
13307 \begin_layout Plain Layout
13314 {\SpecialChar ldots
13323 \begin_layout Description
13324 \begin_inset Flex Code
13327 \begin_layout Plain Layout
13334 \begin_inset Flex Code
13337 \begin_layout Plain Layout
13344 }\SpecialChar ldots
13359 \begin_layout Description
13360 \begin_inset Flex Code
13363 \begin_layout Plain Layout
13370 \begin_inset Flex Code
13373 \begin_layout Plain Layout
13380 \begin_inset Flex Code
13383 \begin_layout Plain Layout
13391 se genera para cada párrafo de este entorno.
13394 \begin_layout Description
13395 \begin_inset Flex Code
13398 \begin_layout Plain Layout
13405 \begin_inset Flex Code
13408 \begin_layout Plain Layout
13415 \begin_inset Newline newline
13419 \begin_inset Flex Code
13422 \begin_layout Plain Layout
13428 se pasa como un argumento al entorno.
13429 \begin_inset Newline newline
13433 \begin_inset Flex Code
13436 \begin_layout Plain Layout
13442 puede definirse en el diálogo
13443 \begin_inset Flex MenuItem
13446 \begin_layout Plain Layout
13447 Editar\SpecialChar menuseparator
13449 \begin_inset space ~
13453 \begin_inset space ~
13464 \begin_layout Description
13467 \begin_inset Flex Code
13470 \begin_layout Plain Layout
13479 \begin_inset Flex Code
13482 \begin_layout Plain Layout
13490 but adds additionally the necessary mandatory argument (the longest label)
13491 to the begin statement of the bibliography environment:
13492 \begin_inset Newline newline
13496 \begin_inset Flex Code
13499 \begin_layout Plain Layout
13504 begin{thebibliography}{99}
13509 It is therefore only useful for bibliography environments.
13510 The default longest label
13511 \begin_inset Quotes eld
13515 \begin_inset Quotes erd
13518 can be changed by the user in the paragraph settings of a bibliography
13522 \begin_layout Standard
13523 Poniendo juntas las últimas cosas, la salida \SpecialChar LaTeX
13527 \begin_layout LyX-Code
13530 LatexName[LatexParam]{\SpecialChar ldots
13534 \begin_layout Standard
13538 \begin_layout LyX-Code
13541 begin{LatexName}[LatexParam] \SpecialChar ldots
13547 \begin_layout Standard
13548 dependiendo del tipo de \SpecialChar LaTeX
13553 \begin_layout Description
13554 \begin_inset Flex Code
13557 \begin_layout Plain Layout
13564 \begin_inset Flex Code
13567 \begin_layout Plain Layout
13575 A string that is put at the beginning of the style content.
13576 A line break in the output can be indicated by
13579 \begin_inset Flex Code
13582 \begin_layout Plain Layout
13591 \begin_layout Description
13592 \begin_inset Flex Code
13595 \begin_layout Plain Layout
13602 \begin_inset Flex Code
13605 \begin_layout Plain Layout
13611 ] Si pones estilos en entornos, los
13612 \begin_inset Flex Code
13615 \begin_layout Plain Layout
13621 no son simplemente añadidos, sino aumentados en un factor
13622 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
13626 Anotar que este parámetro se usa también cuando
13627 \begin_inset Flex Code
13630 \begin_layout Plain Layout
13637 \begin_inset Flex Code
13640 \begin_layout Plain Layout
13647 \begin_inset Flex Code
13650 \begin_layout Plain Layout
13657 En ese caso se añade al margen manual o dinámico.
13658 \begin_inset Newline newline
13662 \begin_inset Quotes fld
13666 \begin_inset Flex Code
13669 \begin_layout Plain Layout
13676 \begin_inset Quotes frd
13679 significa que el párrafo se sangra con la anchura de
13680 \begin_inset Quotes fld
13684 \begin_inset Flex Code
13687 \begin_layout Plain Layout
13694 \begin_inset Quotes frd
13697 en la tipografía normal.
13698 Se puede obtener una anchura negativa anteponiendo
13699 \begin_inset Quotes fld
13703 \begin_inset Flex Code
13706 \begin_layout Plain Layout
13713 \begin_inset Quotes frd
13717 Se eligió este método para que el aspecto sea el mismo con cada una de
13718 las tipografías de pantalla usadas.
13721 \begin_layout Description
13722 \begin_inset Flex Code
13725 \begin_layout Plain Layout
13732 \begin_inset Flex Code
13735 \begin_layout Plain Layout
13740 , Manual, Dynamic, First_Dynamic, Right_Address_Box
13746 \begin_inset Newline newline
13749 El tipo de margen que el estilo tiene en el lado izquierdo.
13750 \begin_inset Separator parbreak
13757 \begin_layout Description
13758 \begin_inset Flex Code
13761 \begin_layout Plain Layout
13767 significa un margen fijo.
13770 \begin_layout Description
13771 \begin_inset Flex Code
13774 \begin_layout Plain Layout
13780 significa que el margen izquierdo depende de la cadena introducida en el
13782 \begin_inset Flex MenuItem
13785 \begin_layout Plain Layout
13786 Editar\SpecialChar menuseparator
13787 Configuración del párrafo\SpecialChar ldots
13794 Esto se utiliza para componer bonitas listas sin tabuladores.
13797 \begin_layout Description
13798 \begin_inset Flex Code
13801 \begin_layout Plain Layout
13807 significa que el margen depende del tamaño de la etiqueta.
13808 Esto se usa para las cabeceras automáticas de las listas numeradas.
13809 Es obvio que la cabecera
13810 \begin_inset Quotes fld
13813 5.4.3.2.1 Cabecera muy larga
13814 \begin_inset Quotes frd
13817 debe tener un margen izquierdo más amplio (tan ancho como
13818 \begin_inset Quotes fld
13822 \begin_inset Quotes frd
13825 más el espacio) que
13826 \begin_inset Quotes fld
13829 3.2 Cabecera muy larga
13830 \begin_inset Quotes frd
13834 \begin_inset Quotes fld
13837 procesadores de texto
13838 \begin_inset Quotes frd
13841 corrientes no sean capaces de hacer esto.
13844 \begin_layout Description
13845 \begin_inset Flex Code
13848 \begin_layout Plain Layout
13854 es similar, pero solo la primera fila del párrafo es dinámica, mientras
13855 que las demás son estáticas; esto se emplea, por ejemplo, para descripciones.
13858 \begin_layout Description
13859 \begin_inset Flex Code
13862 \begin_layout Plain Layout
13868 significa que el margen se elige de manera que la fila más larga de este
13869 párrafo se adapte al margen derecho.
13870 Esto se emplea para componer una dirección en el lado derecho de la página.
13875 \begin_layout Description
13876 \begin_inset Flex Code
13879 \begin_layout Plain Layout
13886 \begin_inset Flex Code
13889 \begin_layout Plain Layout
13898 \begin_inset space \thinspace{}
13902 \begin_inset Flex Code
13905 \begin_layout Plain Layout
13911 ] Si los comandos frágiles en este estilo deberían ser protegidos,
13912 \begin_inset Flex Code
13915 \begin_layout Plain Layout
13928 si este comando debería él mismo ser protegido.)
13931 \begin_layout Description
13932 \begin_inset Flex Code
13935 \begin_layout Plain Layout
13942 \begin_inset Flex Code
13945 \begin_layout Plain Layout
13952 \begin_inset space \thinspace{}
13956 \begin_inset Flex Code
13959 \begin_layout Plain Layout
13967 ] Si las líneas nuevas se transforman en líneas nuevas \SpecialChar LaTeX
13969 \begin_inset Flex Code
13972 \begin_layout Plain Layout
13983 La transformación puede desactivarse para permitir una edición más confortable
13984 de \SpecialChar LaTeX
13985 en \SpecialChar LyX
13989 \begin_layout Description
13990 \begin_inset Flex Code
13993 \begin_layout Plain Layout
14000 \begin_inset Flex Code
14003 \begin_layout Plain Layout
14012 \begin_inset space \thinspace{}
14016 \begin_inset Flex Code
14019 \begin_layout Plain Layout
14025 ] Si se permite sangrar la primera fila del párrafo siguiente.
14027 \begin_inset Flex Code
14030 \begin_layout Plain Layout
14036 significa que no se permite hacerlo;
14037 \begin_inset Flex Code
14040 \begin_layout Plain Layout
14046 significa que puede hacerse si se desea.
14049 \begin_layout Description
14050 \begin_inset Flex Code
14053 \begin_layout Plain Layout
14060 \begin_inset Flex Code
14063 \begin_layout Plain Layout
14069 ] Nombre de un estilo que ha reemplazado este estilo.
14070 Esto se emplea para renombrar un estilo, mientras que se mantiene compatibilida
14074 \begin_layout Description
14075 \begin_inset Flex Code
14078 \begin_layout Plain Layout
14085 \begin_inset Flex Code
14088 \begin_layout Plain Layout
14097 \begin_inset space \thinspace{}
14101 \begin_inset Flex Code
14104 \begin_layout Plain Layout
14110 ] Indica que los párrafos no serán separados por una línea vacía en la salida
14112 , solo por un salto de línea; junto con
14113 \begin_inset Flex Code
14116 \begin_layout Plain Layout
14122 , esto permite emular un editor de texto simple (como un recuadro ERT).
14125 \begin_layout Description
14126 \begin_inset Flex Code
14129 \begin_layout Plain Layout
14136 \begin_inset Flex Code
14139 \begin_layout Plain Layout
14145 ] El sangrado de la primera línea de un párrafo.
14147 \begin_inset Flex Code
14150 \begin_layout Plain Layout
14156 estará fijado para un determinado estilo.
14157 La excepción es el estilo
14158 \begin_inset Flex Code
14161 \begin_layout Plain Layout
14167 , puesto que la sangría de un párrafo de estilo
14168 \begin_inset Flex Code
14171 \begin_layout Plain Layout
14177 puede prohibirse con
14178 \begin_inset Flex Code
14181 \begin_layout Plain Layout
14188 Además, los párrafos de estilo
14189 \begin_inset Flex Code
14192 \begin_layout Plain Layout
14198 dentro de entornos usan la sangría
14199 \begin_inset Flex Code
14202 \begin_layout Plain Layout
14208 del entorno, no su propio valor.
14209 Por ejemplo, los párrafos
14210 \begin_inset Flex Code
14213 \begin_layout Plain Layout
14219 en una enumeración no se sangran.
14222 \begin_layout Description
14223 \begin_inset Flex Code
14226 \begin_layout Plain Layout
14233 \begin_inset Flex Code
14236 \begin_layout Plain Layout
14242 ] El espacio vertical entre dos párrafos de este estilo.
14245 \begin_layout Description
14246 \begin_inset Flex Code
14249 \begin_layout Plain Layout
14256 \begin_inset Flex Code
14259 \begin_layout Plain Layout
14266 permite al usuario elegir entre
14267 \begin_inset Quotes fld
14271 \begin_inset Quotes frd
14275 \begin_inset Quotes fld
14279 \begin_inset Quotes frd
14284 separate paragraphs
14288 \begin_inset Quotes fld
14292 \begin_inset Quotes frd
14295 , este valor es completamente ignorado.
14297 \begin_inset Quotes fld
14301 \begin_inset Quotes frd
14304 , el sangrado de un estilo tipo
14305 \begin_inset Quotes fld
14309 \begin_inset Quotes frd
14312 de \SpecialChar LaTeX
14313 se ignora y todos los párrafos son separados con este argumento
14314 \begin_inset Quotes fld
14318 \begin_inset Quotes frd
14322 El espacio vertical se calcula con
14323 \begin_inset Flex Code
14326 \begin_layout Plain Layout
14328 \begin_inset space ~
14337 \begin_inset Flex Code
14340 \begin_layout Plain Layout
14346 es la altura de una fila con la tipografía normal.
14347 De esta forma, el aspecto queda igual con diferentes tipografías de pantalla.
14350 \begin_layout Description
14351 \begin_inset Flex Code
14354 \begin_layout Plain Layout
14363 \begin_inset Flex Code
14366 \begin_layout Plain Layout
14377 \begin_inset space \thinspace{}
14381 \begin_inset Flex Code
14384 \begin_layout Plain Layout
14390 ] Si el contenido de este párrafo debería aparecer en la salida en forma
14391 cruda, es decir sin las traducciones especiales que \SpecialChar LaTeX
14395 \begin_layout Description
14396 \begin_inset Flex Code
14399 \begin_layout Plain Layout
14405 Información a incluir en el preámbulo \SpecialChar LaTeX
14406 cuando se usa este estilo.
14407 Utilizado para definir macros, paquetes a cargar, etc., requeridos por este
14408 estilo en particular.
14410 \begin_inset Quotes fld
14414 \begin_inset Flex Code
14417 \begin_layout Plain Layout
14424 \begin_inset Quotes frd
14430 \begin_layout Description
14431 \begin_inset Flex Code
14434 \begin_layout Plain Layout
14441 \begin_inset Flex Code
14444 \begin_layout Plain Layout
14450 ] El prefijo a usar cuando se crean etiquetas que se refieren a párrafos
14452 Esto permite el uso de referencias con formato.
14455 \begin_layout Description
14456 \begin_inset Flex Code
14459 \begin_layout Plain Layout
14468 \begin_inset Flex Code
14471 \begin_layout Plain Layout
14479 Si el estilo requiere la característica
14480 \begin_inset Flex Code
14483 \begin_layout Plain Layout
14495 \begin_inset space ~
14499 \begin_inset CommandInset ref
14501 reference "subsec:Parámetros-generales-clases"
14505 ) la descripción de
14506 \begin_inset Flex Code
14509 \begin_layout Plain Layout
14515 para información sobre 'características'.
14519 \begin_layout Description
14520 \begin_inset Flex Code
14523 \begin_layout Plain Layout
14530 \begin_inset Flex Code
14533 \begin_layout Plain Layout
14542 \begin_inset Flex Code
14545 \begin_layout Plain Layout
14553 Resets the \SpecialChar LaTeX
14554 arguments of this style (as defined via the
14555 \begin_inset Flex Code
14558 \begin_layout Plain Layout
14567 This is useful if you have copied a style via
14568 \begin_inset Flex Code
14571 \begin_layout Plain Layout
14579 , but you do not want to inherit its (required and optional) arguments.
14582 \begin_layout Description
14583 \begin_inset Flex Code
14586 \begin_layout Plain Layout
14593 \begin_inset Flex Code
14596 \begin_layout Plain Layout
14604 A string that is put at the end of the layout content.
14605 A line break in the output can be indicated by
14608 \begin_inset Flex Code
14611 \begin_layout Plain Layout
14620 \begin_layout Description
14621 \begin_inset Flex Code
14624 \begin_layout Plain Layout
14631 \begin_inset Flex Code
14634 \begin_layout Plain Layout
14641 \begin_inset Flex Code
14644 \begin_layout Plain Layout
14653 \begin_layout Description
14654 \begin_inset Flex Code
14657 \begin_layout Plain Layout
14664 \begin_inset Flex Code
14667 \begin_layout Plain Layout
14676 \begin_inset Flex Code
14679 \begin_layout Plain Layout
14686 \begin_inset Flex Code
14689 \begin_layout Plain Layout
14696 \begin_inset Flex Code
14699 \begin_layout Plain Layout
14701 \begin_inset space ~
14709 ] Esto define cuál debería ser el espacio predefinido en el estilo.
14711 \begin_inset Flex Code
14714 \begin_layout Plain Layout
14721 \begin_inset Flex Code
14724 \begin_layout Plain Layout
14731 \begin_inset Flex Code
14734 \begin_layout Plain Layout
14740 corresponden respectivamente a un multiplicador de 1, 1.25 y 1.667.
14741 Si se especifica el argumento
14742 \begin_inset Flex Code
14745 \begin_layout Plain Layout
14751 , entonces se debería proporcionar además un argumento numérico que será
14752 el valor real del multiplicador.
14753 Anotar que, al contrario que otros parámetros,
14754 \begin_inset Flex Code
14757 \begin_layout Plain Layout
14763 implica la generación de código \SpecialChar LaTeX
14764 específico, usando el paquete \SpecialChar LaTeX
14766 \begin_inset Flex Code
14769 \begin_layout Plain Layout
14778 \begin_layout Description
14779 \begin_inset Flex Code
14782 \begin_layout Plain Layout
14789 \begin_inset Flex Code
14792 \begin_layout Plain Layout
14801 \begin_inset space \thinspace{}
14807 \begin_inset Flex Code
14810 \begin_layout Plain Layout
14818 ] Corrección ortográfica de párrafos de este estilo.
14822 \begin_layout Description
14823 \begin_inset Flex Code
14826 \begin_layout Plain Layout
14832 La tipografía para el cuerpo del texto.
14834 \begin_inset CommandInset ref
14836 reference "subsec:Tipografías"
14843 \begin_layout Description
14844 \begin_inset Flex Code
14847 \begin_layout Plain Layout
14854 \begin_inset Flex Code
14857 \begin_layout Plain Layout
14863 ] El nivel del estilo en el índice general.
14864 Esto se usa para la numeración automática de los encabezados de sección.
14867 \begin_layout Description
14868 \begin_inset Flex Code
14871 \begin_layout Plain Layout
14878 \begin_inset Flex Code
14881 \begin_layout Plain Layout
14887 ] El espacio vertical con el que el primero de una cadena de párrafos con
14888 este estilo se separa del párrafo anterior.
14889 Si el párrafo anterior tiene otro estilo, la separación no es simplemente
14890 añadida, sino que se pone la máxima.
14893 \begin_layout Subsection
14894 Internacionalización de estilos de párrafo
14895 \begin_inset CommandInset label
14904 \begin_layout Standard
14906 ha soportado desde hace tiempo la internacionalización de la información
14907 de formato, pero, hasta la versión 2.0, esto se aplicaba solo a la interfaz
14908 de usuario y no a la salida, digamos, PDF.
14909 Así, por ej., autores franceses tenían que acudir a feos trucos para conseguir
14910 `Théorème 1' en vez de `Theorem 1'.
14911 Gracias a Georg Baum, este ya no es el caso.
14914 \begin_layout Standard
14916 \begin_inset Flex Code
14919 \begin_layout Plain Layout
14925 define texto que se mostrará en el documento exportado, puede usar
14926 \begin_inset Flex Code
14929 \begin_layout Plain Layout
14936 \begin_inset Flex Code
14939 \begin_layout Plain Layout
14945 para soportar correctamente documentos con idioma distinto del inglés e
14946 incluso documentos plurilingües.
14947 El siguiente extracto (del archivo
14948 \begin_inset Flex Code
14951 \begin_layout Plain Layout
14957 ) muestra cómo funciona:
14960 \begin_layout LyX-Code
14962 \begin_inset Separator parbreak
14969 \begin_layout LyX-Code
14972 theoremstyle{remark}
14975 \begin_layout LyX-Code
14978 newtheorem{claim}[thm]{
14985 \begin_layout LyX-Code
14989 \begin_layout LyX-Code
14993 \begin_layout LyX-Code
14998 claimname}{_(Claim)}
15001 \begin_layout LyX-Code
15005 \begin_layout LyX-Code
15009 \begin_layout LyX-Code
15018 claimname}{_(Claim)}}
15021 \begin_layout LyX-Code
15026 \begin_layout Standard
15027 En principio, cualquier \SpecialChar LaTeX
15028 legal puede aparecer en las etiquetas
15029 \begin_inset Flex Code
15032 \begin_layout Plain Layout
15039 \begin_inset Flex Code
15042 \begin_layout Plain Layout
15048 , pero en la práctica el aspecto será generalmente como el mostrado aquí.
15049 La clave para una correcta traducción del texto impreso es la definición
15050 del comando \SpecialChar LaTeX
15052 \begin_inset Flex Code
15055 \begin_layout Plain Layout
15064 \begin_inset Flex Code
15067 \begin_layout Plain Layout
15079 \begin_layout Standard
15081 \begin_inset Flex Code
15084 \begin_layout Plain Layout
15090 proporciona internacionalización basada en el idioma global del documento.
15091 El contenido de la etiqueta se incluirá en el preámbulo, igual que con
15093 \begin_inset Flex Code
15096 \begin_layout Plain Layout
15103 Lo que la hace especial es el uso de la
15104 \begin_inset Quotes eld
15108 \begin_inset Quotes erd
15112 \begin_inset Flex Code
15115 \begin_layout Plain Layout
15121 , que será reemplazada, cuando \SpecialChar LyX
15122 genere la salida \SpecialChar LaTeX
15123 , por la traducción de
15124 su argumento al idioma del documento.
15127 \begin_layout Standard
15129 \begin_inset Flex Code
15132 \begin_layout Plain Layout
15138 es más compleja, puesto que está pensada para dar soporte a documentos
15139 plurilingües y ofrece una interfaz al paquete
15140 \begin_inset Flex Code
15143 \begin_layout Plain Layout
15150 Su contenido se añadirá al preámbulo una vez por cada idioma que aparezca
15152 En este caso, el argumento en
15153 \begin_inset Flex Code
15156 \begin_layout Plain Layout
15162 se reemplazará por su traducción al idioma en cuestión; la expresión
15163 \begin_inset Flex Code
15166 \begin_layout Plain Layout
15172 es reemplazada por el nombre del idioma (el usado por el paquete babel).
15175 \begin_layout Standard
15176 Un documento en alemán que también incluya una sección en francés tendría
15177 lo siguiente en el preámbulo:
15180 \begin_layout LyX-Code
15189 claimname}{Affirmation}}
15190 \begin_inset Newline newline
15201 claimname}{Behauptung}}
15202 \begin_inset Newline newline
15209 claimname}{Behauptung}
15212 \begin_layout Standard
15215 \begin_inset Flex Code
15218 \begin_layout Plain Layout
15224 conspirarán para producir el texto correcto en la salida.
15227 \begin_layout Standard
15228 Un punto importante a tener en cuenta aquí es que las traducciones son proporcio
15229 nadas por el propio \SpecialChar LyX
15235 \begin_inset Flex Code
15238 \begin_layout Plain Layout
15245 Esto quiere decir, en definitiva, que
15246 \begin_inset Flex Code
15249 \begin_layout Plain Layout
15256 \begin_inset Flex Code
15259 \begin_layout Plain Layout
15265 realmente solo son útiles en archivos de formato que son proporcionados
15266 por \SpecialChar LyX
15267 , puesto que el texto introducido en archivos de formato creados por
15268 el usuario no serán tenidos en cuenta por las rutinas de internacionalización
15269 de \SpecialChar LyX
15273 \begin_inset Flex Code
15276 \begin_layout Plain Layout
15284 file is modified accordingly
15287 Sin embargo, cualquier formato creado con la intención de ser incluido
15288 en \SpecialChar LyX
15289 debería usar estas etiquetas en los lugares apropiados.
15292 Please note that the paragraph style translations provided by \SpecialChar LyX
15294 change with a minor update (e.
15295 \begin_inset space \thinspace{}
15299 \begin_inset space \space{}
15302 from version 2.1.x to 2.1.y).
15303 It is however quite likely that a major update (e.
15304 \begin_inset space \thinspace{}
15308 \begin_inset space \space{}
15311 from 2.0.x to 2.1.y) will introduce new translations or corrections.
15314 \begin_layout Subsection
15316 \begin_inset CommandInset label
15318 name "subsec:Flotantes"
15325 \begin_layout Standard
15326 Es necesario definir los flotantes (
15327 \begin_inset Flex MenuItem
15330 \begin_layout Plain Layout
15337 \begin_inset Flex MenuItem
15340 \begin_layout Plain Layout
15346 , \SpecialChar ldots
15347 ) en la propia clase de texto.
15348 Los flotantes normales se incluyen en el archivo
15349 \begin_inset Flex Code
15352 \begin_layout Plain Layout
15358 , así que no tendrás más que añadir
15361 \begin_layout LyX-Code
15362 Input stdfloats.inc
15365 \begin_layout Standard
15366 en tu archivo de formato.
15367 Si quieres implementar una clase de texto que proponga algún otro tipo
15368 de flotante (como la clase AGU empaquetada con \SpecialChar LyX
15369 ), la información siguiente
15370 te servirá de ayuda:
15373 \begin_layout Description
15374 \begin_inset Flex Code
15377 \begin_layout Plain Layout
15384 \begin_inset Flex Code
15387 \begin_layout Plain Layout
15394 \begin_inset Quotes erd
15398 \begin_inset Quotes erd
15401 ] La extensión del nombre de un archivo auxiliar para la lista de figuras
15404 escribe las leyendas en este archivo.
15407 \begin_layout Description
15408 \begin_inset Flex Code
15411 \begin_layout Plain Layout
15418 \begin_inset Flex Code
15421 \begin_layout Plain Layout
15428 \begin_inset Quotes erd
15432 \begin_inset Quotes erd
15435 ] La cadena que se usará en los menús y también para la leyenda.
15436 Esto se traduce al idioma actual si se usa.
15439 \begin_layout Description
15440 \begin_inset Flex Code
15443 \begin_layout Plain Layout
15449 Controlan la salida XHTML.
15451 \begin_inset space ~
15455 \begin_inset CommandInset ref
15457 reference "sec:Etiquetas-para-XHTML"
15464 \begin_layout Description
15465 \begin_inset Flex Code
15468 \begin_layout Plain Layout
15477 \begin_inset Flex Code
15480 \begin_layout Plain Layout
15489 \begin_inset space \thinspace{}
15493 \begin_inset Flex Code
15496 \begin_layout Plain Layout
15502 ] Indica si el flotante está ya definido en la clase de documento o si necesitam
15503 os cargar el paquete \SpecialChar LaTeX
15505 \begin_inset Flex Code
15508 \begin_layout Plain Layout
15514 para definirlo sobre la marcha.
15516 \begin_inset Flex Code
15519 \begin_layout Plain Layout
15525 , que significa: usar
15526 \begin_inset Flex Code
15529 \begin_layout Plain Layout
15537 \begin_inset Flex Code
15540 \begin_layout Plain Layout
15546 si el flotante ya está definido por la clase de documento \SpecialChar LaTeX
15550 \begin_layout Description
15551 \begin_inset Flex Code
15554 \begin_layout Plain Layout
15561 \begin_inset Flex Code
15564 \begin_layout Plain Layout
15571 \begin_inset Quotes erd
15575 \begin_inset Quotes erd
15578 ] El comando usado para generar una lista de flotantes de este tipo; debe
15579 omitirse el precedente `
15587 \begin_inset Flex Code
15590 \begin_layout Plain Layout
15596 es `false', puesto que no hay una forma estándar de generar este comando.
15598 \begin_inset Flex Code
15601 \begin_layout Plain Layout
15607 es `true', porque en este caso sí hay una forma estándar de definir el
15611 \begin_layout Description
15612 \begin_inset Flex Code
15615 \begin_layout Plain Layout
15622 \begin_inset Flex Code
15625 \begin_layout Plain Layout
15632 \begin_inset Quotes erd
15636 \begin_inset Quotes erd
15639 ] Un título para una lista de flotantes de este tipo (índice de figuras,
15640 tablas o lo que sea).
15641 Se usa para el nombre del recuadro en \SpecialChar LyX
15642 ; se pasa a \SpecialChar LaTeX
15643 para usarlo como título
15644 allí; y se usa como título en la salida.
15645 Será traducido al idioma del documento.
15648 \begin_layout Description
15649 \begin_inset Flex Code
15652 \begin_layout Plain Layout
15659 \begin_inset Flex Code
15662 \begin_layout Plain Layout
15669 \begin_inset Quotes erd
15673 \begin_inset Quotes erd
15676 ] Este argumento (opcional) determina si los flotantes de esta clase serán
15677 numerados dentro de alguna unidad de sección del documento.
15679 \begin_inset Flex Code
15682 \begin_layout Plain Layout
15689 \begin_inset Quotes fld
15693 \begin_inset Flex Code
15696 \begin_layout Plain Layout
15703 \begin_inset Quotes frd
15706 , los flotantes serán numerados dentro de los capítulos.
15709 \begin_layout Description
15710 \begin_inset Flex Code
15713 \begin_layout Plain Layout
15720 \begin_inset Flex Code
15723 \begin_layout Plain Layout
15730 \begin_inset Quotes erd
15734 \begin_inset Quotes erd
15737 ] La colocación por omisión para la clase dada de flotantes.
15739 \begin_inset Flex Code
15742 \begin_layout Plain Layout
15748 deberá ser un estándar \SpecialChar LaTeX
15750 \begin_inset Flex Code
15753 \begin_layout Plain Layout
15760 \begin_inset Flex Code
15763 \begin_layout Plain Layout
15770 \begin_inset Flex Code
15773 \begin_layout Plain Layout
15780 \begin_inset Flex Code
15783 \begin_layout Plain Layout
15790 \begin_inset Quotes fld
15794 \begin_inset Quotes frd
15798 \begin_inset Quotes fld
15802 \begin_inset Quotes frd
15806 \begin_inset Quotes fld
15810 \begin_inset Quotes frd
15814 \begin_inset Quotes fld
15818 \begin_inset Quotes frd
15821 (aquí), respectivamente.
15825 \begin_layout Plain Layout
15826 Anotar que el orden de estas letras en la cadena es irrelevante, como en
15833 Por encima de éstos hay un nuevo tipo,
15834 \begin_inset Flex Code
15837 \begin_layout Plain Layout
15843 , que no corresponde realmente a un flotante, ya que se refiere a: ponerlo
15845 \begin_inset Quotes fld
15849 \begin_inset Quotes frd
15852 , y en ninguna otra parte.
15853 Anotar que, sin embargo, el colocador
15854 \begin_inset Flex Code
15857 \begin_layout Plain Layout
15863 es especial y, debido a detalles de implementación, no puede usarse en
15864 tipos de flotantes no empotrados.
15865 Si no comprendes lo que esto significa, usa solo
15866 \begin_inset Quotes fld
15870 \begin_inset Flex Code
15873 \begin_layout Plain Layout
15880 \begin_inset Quotes frd
15886 \begin_layout Description
15887 \begin_inset Flex Code
15890 \begin_layout Plain Layout
15897 \begin_inset Flex Code
15900 \begin_layout Plain Layout
15906 ] El prefijo a usar cuando se crean etiquetas referidas a flotantes de este
15908 Esto permite el uso de referencias con formato.
15909 Puedes quitar cualquier
15910 \begin_inset Flex Code
15913 \begin_layout Plain Layout
15919 puesto por un estilo copiado usando el valor especial
15920 \begin_inset Quotes eld
15924 \begin_inset Quotes erd
15927 , todas mayúsculas.
15930 \begin_layout Description
15931 \begin_inset Flex Code
15934 \begin_layout Plain Layout
15941 \begin_inset Flex Code
15944 \begin_layout Plain Layout
15951 \begin_inset Quotes erd
15955 \begin_inset Quotes erd
15958 ] El estilo usado cuando se define el flotante con
15959 \begin_inset Flex Code
15962 \begin_layout Plain Layout
15973 \begin_layout Description
15974 \begin_inset Flex Code
15977 \begin_layout Plain Layout
15984 \begin_inset Flex Code
15987 \begin_layout Plain Layout
15994 \begin_inset Quotes erd
15998 \begin_inset Quotes erd
16002 \begin_inset Quotes fld
16006 \begin_inset Quotes frd
16009 de la nueva clase de flotante, como programa o algoritmo.
16010 Después del apropiado
16011 \begin_inset Flex Code
16014 \begin_layout Plain Layout
16022 , comandos tales como
16023 \begin_inset Flex Code
16026 \begin_layout Plain Layout
16035 \begin_inset Flex Code
16038 \begin_layout Plain Layout
16046 estarán disponibles.
16049 \begin_layout Description
16050 \begin_inset Flex Code
16053 \begin_layout Plain Layout
16060 \begin_inset Flex Code
16063 \begin_layout Plain Layout
16070 \begin_inset space \thinspace{}
16074 \begin_inset Flex Code
16077 \begin_layout Plain Layout
16085 ] Nos dice si este flotante se define usando el paquete \SpecialChar LaTeX
16087 \begin_inset Flex Code
16090 \begin_layout Plain Layout
16096 , bien por el archivo de clase o por un paquete, o bien sobre la marcha
16097 por el propio \SpecialChar LyX
16101 \begin_layout Standard
16102 Anotar que al definir un flotante con tipo
16103 \begin_inset Flex Code
16106 \begin_layout Plain Layout
16114 automáticamente se define el correspondiente contador con nombre
16115 \begin_inset Flex Code
16118 \begin_layout Plain Layout
16129 \begin_layout Subsection
16130 Recuadros flexibles y formato del recuadro
16131 \begin_inset CommandInset label
16133 name "subsec:estilo-del-texto"
16140 \begin_layout Standard
16141 Los recuadros flexibles son de tres tipos:
16144 \begin_layout Itemize
16146 \begin_inset Flex Code
16149 \begin_layout Plain Layout
16155 ): estos definen diseños semánticos correspondientes a comandos \SpecialChar LaTeX
16157 \begin_inset Flex Code
16160 \begin_layout Plain Layout
16169 \begin_inset Flex Code
16172 \begin_layout Plain Layout
16183 \begin_layout Itemize
16184 definido por el usuario (
16185 \begin_inset Flex Code
16188 \begin_layout Plain Layout
16194 ): estos se pueden usar para definir recuadros plegables personalizados,
16195 del tipo de los de código \SpecialChar TeX
16196 , notas al pie y similares.
16197 Un ejemplo obvio es un recuadro de nota final, definido en el módulo del
16199 \begin_inset Flex Code
16202 \begin_layout Plain Layout
16211 \begin_layout Itemize
16213 \begin_inset Flex Code
16216 \begin_layout Plain Layout
16222 ): para usar con las clases DocBook.
16225 \begin_layout Standard
16226 Los recuadros flexibles se definen usando la etiqueta
16227 \begin_inset Flex Code
16230 \begin_layout Plain Layout
16236 , que se explicará en un momento.
16239 \begin_layout Standard
16241 \begin_inset Flex Code
16244 \begin_layout Plain Layout
16250 también sirve para otra función: puede utilizarse para personalizar el
16251 diseño general de muchos tipos diferentes de recuadros.
16253 \begin_inset Flex Code
16256 \begin_layout Plain Layout
16262 permite personalizar los parámetros de diseño de notas al pie, notas al
16263 margen, notas, recuadros de código \SpecialChar TeX
16264 (ERT), ramas, listados de programa,
16265 índices, cuadros, tablas, algoritmos, URL, y
16269 , así como para definir recuadros flexibles.
16272 \begin_layout Standard
16274 \begin_inset Flex Code
16277 \begin_layout Plain Layout
16283 debe comenzar con una línea de la forma:
16286 \begin_layout LyX-Code
16290 \begin_layout Standard
16292 \begin_inset Flex Code
16295 \begin_layout Plain Layout
16301 indica el recuadro cuyo formato se va a definir, y hay quatros casos.
16304 \begin_layout Enumerate
16305 Se va a modificar el formato para un tipo de recuadro preexistente.
16307 \begin_inset Flex Code
16310 \begin_layout Plain Layout
16316 puede ser uno cualquiera de los siguientes:
16317 \begin_inset Flex Code
16320 \begin_layout Plain Layout
16327 \begin_inset Flex Code
16330 \begin_layout Plain Layout
16337 \begin_inset Flex Code
16340 \begin_layout Plain Layout
16347 \begin_inset Flex Code
16350 \begin_layout Plain Layout
16357 \begin_inset Flex Code
16360 \begin_layout Plain Layout
16367 \begin_inset Flex Code
16370 \begin_layout Plain Layout
16377 \begin_inset Flex Code
16380 \begin_layout Plain Layout
16387 \begin_inset Flex Code
16390 \begin_layout Plain Layout
16397 \begin_inset Flex Code
16400 \begin_layout Plain Layout
16407 \begin_inset Flex Code
16410 \begin_layout Plain Layout
16417 \begin_inset Flex Code
16420 \begin_layout Plain Layout
16427 \begin_inset Flex Code
16430 \begin_layout Plain Layout
16437 \begin_inset Flex Code
16440 \begin_layout Plain Layout
16447 \begin_inset Flex Code
16450 \begin_layout Plain Layout
16457 \begin_inset Flex Code
16460 \begin_layout Plain Layout
16467 \begin_inset Flex Code
16470 \begin_layout Plain Layout
16477 \begin_inset Flex Code
16480 \begin_layout Plain Layout
16487 \begin_inset Flex Code
16490 \begin_layout Plain Layout
16497 \begin_inset Flex Code
16500 \begin_layout Plain Layout
16507 \begin_inset Flex Code
16510 \begin_layout Plain Layout
16520 \begin_layout Enumerate
16521 Se va a definir el formato para un recuadro flexible.
16523 \begin_inset Flex Code
16526 \begin_layout Plain Layout
16532 puede ser cualquier identificador válido no utilizado por un recuadro preexiste
16534 El identificador puede incluir espacios, pero en este caso debe ponerse
16535 todo entre comillas.
16536 Puede además incluir un identificador de nombre del espacio, precedido
16537 de dos puntos, como
16538 \begin_inset Quotes eld
16542 \begin_inset Flex Code
16545 \begin_layout Plain Layout
16552 \begin_inset Quotes erd
16556 Anotar que la definición de un flexible debe incluir
16561 \begin_inset Flex Code
16564 \begin_layout Plain Layout
16574 \begin_layout Enumerate
16577 The layout for user specific branch is being defined.
16581 \begin_inset Flex Code
16584 \begin_layout Plain Layout
16592 must be of the form
16595 \begin_inset Quotes fld
16599 \begin_inset Flex Code
16602 \begin_layout Plain Layout
16609 \begin_inset Quotes frd
16617 \begin_inset Flex Code
16620 \begin_layout Plain Layout
16628 may be be any valid identifier of branch defined in user's document.
16629 The identifier may include spaces, but in that case the whole thing must
16630 be wrapped in quotes.
16631 The main purpose of this feature is to allow \SpecialChar LaTeX
16632 wrapping around specific
16633 branches as user needs.
16636 \begin_layout Enumerate
16639 The layout of a user (or class) specific caption is being defined.
16643 \begin_inset Flex Code
16646 \begin_layout Plain Layout
16654 must be of the form
16657 \begin_inset Quotes fld
16661 \begin_inset Flex Code
16664 \begin_layout Plain Layout
16671 \begin_inset Quotes frd
16679 \begin_inset Flex Code
16682 \begin_layout Plain Layout
16690 specifies the name of the caption as it appears in the menu.
16691 Have a look at the standard caption
16694 \begin_inset Flex Code
16697 \begin_layout Plain Layout
16705 the specific captions of the KOMA-Script classes (
16706 \begin_inset Flex Code
16709 \begin_layout Plain Layout
16718 \begin_inset Flex Code
16721 \begin_layout Plain Layout
16732 \begin_inset space ~
16739 \begin_inset Flex Code
16742 \begin_layout Plain Layout
16753 \begin_layout Standard
16755 \begin_inset Flex Code
16758 \begin_layout Plain Layout
16764 puede contener las siguientes entradas:
16767 \begin_layout Description
16768 \begin_inset Flex Code
16771 \begin_layout Plain Layout
16778 \begin_inset Flex Code
16781 \begin_layout Plain Layout
16789 Defines argument number of a command\SpecialChar breakableslash
16790 environment associated with the current
16792 The definition must end with
16793 \begin_inset Flex Code
16796 \begin_layout Plain Layout
16808 \begin_inset CommandInset ref
16810 reference "subsec:Estilos-de-párrafo"
16819 \begin_layout Description
16820 \begin_inset Flex Code
16823 \begin_layout Plain Layout
16831 Preamble for changing language commands
16834 \begin_inset CommandInset ref
16836 reference "subsec:I18n"
16843 \begin_layout Description
16844 \begin_inset Flex Code
16847 \begin_layout Plain Layout
16854 \begin_inset Flex Code
16857 \begin_layout Plain Layout
16863 ] El color para el fondo del recuadro.
16865 \begin_inset CommandInset ref
16867 reference "chap:Names-of-colors"
16873 for a list of the available color names.
16876 \begin_layout Description
16877 \begin_inset Flex Code
16880 \begin_layout Plain Layout
16887 \begin_inset Flex Code
16890 \begin_layout Plain Layout
16901 \begin_inset space \thinspace{}
16907 \begin_inset Flex Code
16910 \begin_layout Plain Layout
16916 ] Si usar no el contenido del recuadro como etiqueta del mismo cuando el
16917 recuadro se cierra.
16918 Por omisión, falso.
16921 \begin_layout Description
16922 \begin_inset Flex Code
16925 \begin_layout Plain Layout
16932 \begin_inset Flex Code
16935 \begin_layout Plain Layout
16943 As with paragraph styles
16946 \begin_inset CommandInset ref
16948 reference "subsec:Estilos-de-párrafo"
16955 Note that you need to specify the complete type, e.
16956 \begin_inset space \thinspace{}
16962 \begin_inset space ~
16966 \begin_inset Flex Code
16969 \begin_layout Plain Layout
16970 CopyStyle Flex:<nombre>
16978 \begin_layout Description
16979 \begin_inset Flex Code
16982 \begin_layout Plain Layout
16989 \begin_inset Flex Code
16992 \begin_layout Plain Layout
17003 \begin_inset space \thinspace{}
17009 \begin_inset Flex Code
17012 \begin_layout Plain Layout
17018 ] Indica si el usuario puede emplear el diálogo Configuración del párrafo
17019 para modificar el párrafo.
17022 \begin_layout Description
17023 \begin_inset Flex Code
17026 \begin_layout Plain Layout
17033 \begin_inset Flex Code
17036 \begin_layout Plain Layout
17043 \begin_inset Flex Code
17046 \begin_layout Plain Layout
17053 \begin_inset Flex Code
17056 \begin_layout Plain Layout
17062 , que describe el estilo de presentación para el marco y los botones del
17064 Las notas al pie usan generalmente
17065 \begin_inset Flex Code
17068 \begin_layout Plain Layout
17074 , los recuadros de código \SpecialChar TeX
17076 \begin_inset Flex Code
17079 \begin_layout Plain Layout
17085 , y los de estilos del texto
17086 \begin_inset Flex Code
17089 \begin_layout Plain Layout
17098 \begin_layout Description
17099 \begin_inset Flex Code
17102 \begin_layout Plain Layout
17109 \begin_inset Flex Code
17112 \begin_layout Plain Layout
17121 \begin_inset space \thinspace{}
17127 \begin_inset Flex Code
17130 \begin_layout Plain Layout
17139 \begin_inset Flex Code
17142 \begin_layout Plain Layout
17149 \begin_inset Flex Code
17152 \begin_layout Plain Layout
17159 Indica si el entorno se ubicará en su propio espacio en la salida o si
17160 aparecerá en línea con el texto circundante.
17161 Si se pone falso, se supone que el entorno \SpecialChar LaTeX
17162 ignora los espacios en blanco
17163 (incluyendo un carácter de línea nueva) después de las etiquetas
17164 \begin_inset Flex Code
17167 \begin_layout Plain Layout
17180 \begin_inset Flex Code
17183 \begin_layout Plain Layout
17196 Por omisión, verdadero.
17199 \begin_layout Description
17200 \begin_inset Flex Code
17203 \begin_layout Plain Layout
17209 Requerido al final de las declaraciones de formato del recuadro
17210 \begin_inset Flex Code
17213 \begin_layout Plain Layout
17222 \begin_layout Description
17223 \begin_inset Flex Code
17226 \begin_layout Plain Layout
17232 La tipografía usada tanto para el cuerpo del texto como para la etiqueta.
17234 \begin_inset CommandInset ref
17236 reference "subsec:Tipografías"
17241 Anotar que al definir esta tipografía se define automáticamente el mismo
17242 valor para la etiqueta,
17243 \begin_inset Flex Code
17246 \begin_layout Plain Layout
17252 , así que define aquella primero y después define
17253 \begin_inset Flex Code
17256 \begin_layout Plain Layout
17262 si las quieres diferentes.
17265 \begin_layout Description
17266 \begin_inset Flex Code
17269 \begin_layout Plain Layout
17270 ForceLocalFontSwitch
17276 \begin_inset Flex Code
17279 \begin_layout Plain Layout
17288 \begin_inset space \thinspace{}
17292 \begin_inset Flex Code
17295 \begin_layout Plain Layout
17303 When using babel, always use a local font switch (
17304 \begin_inset Flex Code
17307 \begin_layout Plain Layout
17317 ), never a global one (such as
17320 \begin_inset Flex Code
17323 \begin_layout Plain Layout
17334 \begin_layout Description
17335 \begin_inset Flex Code
17338 \begin_layout Plain Layout
17345 \begin_inset Flex Code
17348 \begin_layout Plain Layout
17359 \begin_inset space \thinspace{}
17365 \begin_inset Flex Code
17368 \begin_layout Plain Layout
17375 \begin_inset Quotes fld
17379 \begin_inset Quotes frd
17382 que genera salida Izquierda-Derecha (latin), p.
17383 \begin_inset space \thinspace{}
17387 \begin_inset space \space{}
17390 en código \SpecialChar TeX
17395 \begin_layout Description
17396 \begin_inset Flex Code
17399 \begin_layout Plain Layout
17406 \begin_inset Flex Code
17409 \begin_layout Plain Layout
17420 \begin_inset space \thinspace{}
17426 \begin_inset Flex Code
17429 \begin_layout Plain Layout
17435 ] Indica si debería usarse
17436 \begin_inset Flex Code
17439 \begin_layout Plain Layout
17445 o, por el contrario el usuario puede cambiar el estilo de párrafo del recuadro.
17448 \begin_layout Description
17449 \begin_inset Flex Code
17452 \begin_layout Plain Layout
17461 \begin_inset Flex Code
17464 \begin_layout Plain Layout
17475 \begin_inset space \thinspace{}
17481 \begin_inset Flex Code
17484 \begin_layout Plain Layout
17492 As with paragraph style
17495 \begin_inset CommandInset ref
17497 reference "subsec:Estilos-de-párrafo"
17504 \begin_layout Description
17505 \begin_inset Flex Code
17508 \begin_layout Plain Layout
17514 Controlan la salida XHTML.
17516 \begin_inset CommandInset ref
17518 reference "sec:Etiquetas-para-XHTML"
17525 \begin_layout Description
17526 \begin_inset Flex Code
17529 \begin_layout Plain Layout
17536 \begin_inset Flex Code
17539 \begin_layout Plain Layout
17550 \begin_inset space \thinspace{}
17556 \begin_inset Flex Code
17559 \begin_layout Plain Layout
17565 ] Incluye o no el contenido de este inset en la cadena generada para el
17566 panel 'Navegador de contorno'.
17567 El no sería, por ejemplo, para que el contenido de una nota al pie en un
17568 encabezado de sección no aparezca en el índice que se despliega en el navegador
17569 de contorno, sin embargo, normalmente sí se incluiría el contenido de un
17570 estilo de carácter.
17571 Predeterminado es false: no incluir.
17574 \begin_layout Description
17575 \begin_inset Flex Code
17578 \begin_layout Plain Layout
17587 \begin_inset Flex Code
17590 \begin_layout Plain Layout
17603 \begin_inset space \thinspace{}
17609 \begin_inset Flex Code
17612 \begin_layout Plain Layout
17620 As with paragraph styles
17623 \begin_inset CommandInset ref
17625 reference "subsec:Estilos-de-párrafo"
17632 \begin_layout Description
17633 \begin_inset Flex Code
17636 \begin_layout Plain Layout
17642 La tipografía para la etiqueta.
17644 \begin_inset CommandInset ref
17646 reference "subsec:Tipografías"
17651 Anotar que esta definición nunca puede aparecer antes de
17652 \begin_inset Flex Code
17655 \begin_layout Plain Layout
17661 , para que sea efectiva.
17664 \begin_layout Description
17665 \begin_inset Flex Code
17668 \begin_layout Plain Layout
17675 \begin_inset Flex Code
17678 \begin_layout Plain Layout
17685 \begin_inset Quotes erd
17689 \begin_inset Quotes erd
17692 ] Lo que se mostrará sobre el botón u otra parte como etiqueta del recuadro.
17693 Algunos tipos de recuadro (
17694 \begin_inset Flex Code
17697 \begin_layout Plain Layout
17698 código \SpecialChar TeX
17705 \begin_inset Flex Code
17708 \begin_layout Plain Layout
17714 ) modifican esta etiqueta sobre la marcha.
17717 \begin_layout Description
17718 \begin_inset Flex Code
17721 \begin_layout Plain Layout
17729 Language dependent preamble
17732 \begin_inset CommandInset ref
17734 reference "subsec:I18n"
17741 \begin_layout Description
17742 \begin_inset Flex Code
17745 \begin_layout Plain Layout
17752 \begin_inset Flex Code
17755 \begin_layout Plain Layout
17761 ] El nombre \SpecialChar LaTeX
17762 correspondiente al asunto.
17763 Cualquier nombre de entorno o de comando.
17766 \begin_layout Description
17767 \begin_inset Flex Code
17770 \begin_layout Plain Layout
17777 \begin_inset Flex Code
17780 \begin_layout Plain Layout
17786 ] El parámetro opcional para el correspondiente
17787 \begin_inset Flex Code
17790 \begin_layout Plain Layout
17796 , incluyendo posibles pares de corchetes,
17797 \begin_inset Flex Code
17800 \begin_layout Plain Layout
17807 Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
17811 \begin_inset Flex Code
17814 \begin_layout Plain Layout
17822 for customizable parameters).
17823 It will be output as is after all \SpecialChar LaTeX
17827 \begin_inset Flex Code
17830 \begin_layout Plain Layout
17839 \begin_layout Description
17840 \begin_inset Flex Code
17843 \begin_layout Plain Layout
17850 \begin_inset Flex Code
17853 \begin_layout Plain Layout
17854 Command, Environment, None
17861 How the style should be translated into \SpecialChar LaTeX
17866 \begin_layout Plain Layout
17869 \begin_inset Flex Code
17872 \begin_layout Plain Layout
17880 is perhaps a bit misleading, since these rules apply to SGML classes, too.
17881 Visit the SGML class files for specific examples.
17887 \begin_inset Separator parbreak
17894 \begin_layout Description
17895 \begin_inset Flex Code
17898 \begin_layout Plain Layout
17906 means nothing special
17909 \begin_layout Description
17910 \begin_inset Flex Code
17913 \begin_layout Plain Layout
17922 \begin_inset Flex Code
17925 \begin_layout Plain Layout
17934 {\SpecialChar ldots
17943 \begin_layout Description
17944 \begin_inset Flex Code
17947 \begin_layout Plain Layout
17956 \begin_inset Flex Code
17959 \begin_layout Plain Layout
17968 }\SpecialChar ldots
17983 \begin_layout Description
17987 \begin_layout Standard
17990 Putting the last few things together, the \SpecialChar LaTeX
17991 output will be either:
17994 \begin_layout LyX-Code
17997 LatexName[LatexParam]{\SpecialChar ldots
18001 \begin_layout Standard
18005 \begin_layout LyX-Code
18008 begin{LatexName}[LatexParam] \SpecialChar ldots
18014 \begin_layout Standard
18017 depending upon the \SpecialChar LaTeX
18022 \begin_layout Description
18023 \begin_inset Flex Code
18026 \begin_layout Plain Layout
18033 \begin_inset Flex Code
18036 \begin_layout Plain Layout
18044 A string that is put at the beginning of the layout content.
18045 A line break in the output can be indicated by
18048 \begin_inset Flex Code
18051 \begin_layout Plain Layout
18060 \begin_layout Description
18061 \begin_inset Flex Code
18064 \begin_layout Plain Layout
18071 \begin_inset Flex Code
18074 \begin_layout Plain Layout
18081 \begin_inset Flex Code
18084 \begin_layout Plain Layout
18091 \begin_inset Flex Code
18094 \begin_layout Plain Layout
18101 \begin_inset Flex Code
18104 \begin_layout Plain Layout
18110 (indicando una definición ficticia que finaliza definiciones de estilos
18112 Esta entrada es requerida y solo es significativa para recuadros flexibles.
18113 Entre otras cosas, determina en qué menús aparecerá este recuadro.
18115 \begin_inset Flex Code
18118 \begin_layout Plain Layout
18126 \begin_inset Flex Code
18129 \begin_layout Plain Layout
18136 \begin_inset Flex Code
18139 \begin_layout Plain Layout
18147 \begin_inset Flex Code
18150 \begin_layout Plain Layout
18156 se puede poner como verdadero para recuadros de estilos
18157 \begin_inset Flex Code
18160 \begin_layout Plain Layout
18171 \begin_inset Flex Code
18174 \begin_layout Plain Layout
18184 \begin_layout Description
18185 \begin_inset Flex Code
18188 \begin_layout Plain Layout
18195 \begin_inset Flex Code
18198 \begin_layout Plain Layout
18209 \begin_inset space \thinspace{}
18215 \begin_inset Flex Code
18218 \begin_layout Plain Layout
18224 ] Indica si se permiten múltiples párrafos en este recuadro.
18225 Además establecerá para CustomPars el mismo valor y para ForcePlain el
18227 Estos pueden modificarse a otros valores si se usan
18234 \begin_layout Description
18235 \begin_inset Flex Code
18238 \begin_layout Plain Layout
18245 \begin_inset Flex Code
18248 \begin_layout Plain Layout
18259 \begin_inset space \thinspace{}
18265 \begin_inset Flex Code
18268 \begin_layout Plain Layout
18274 ] Si los comandos frágiles deben o no ser
18275 \begin_inset Flex Code
18278 \begin_layout Plain Layout
18286 'ed en este recuadro.
18291 si el comando mismo debe ser protegido
18296 \begin_layout Description
18297 \begin_inset Flex Code
18300 \begin_layout Plain Layout
18309 \begin_inset Flex Code
18312 \begin_layout Plain Layout
18320 ] Deletes an existing
18321 \begin_inset Flex Code
18324 \begin_layout Plain Layout
18335 \begin_layout Description
18336 \begin_inset Flex Code
18339 \begin_layout Plain Layout
18346 \begin_inset Flex Code
18349 \begin_layout Plain Layout
18360 \begin_inset space \thinspace{}
18366 \begin_inset Flex Code
18369 \begin_layout Plain Layout
18375 ] Igual que para estilos de párrafo, véase
18376 \begin_inset CommandInset ref
18378 reference "subsec:Estilos-de-párrafo"
18383 Por omisión es falso.
18386 \begin_layout Description
18387 \begin_inset Flex Code
18390 \begin_layout Plain Layout
18399 \begin_inset Flex Code
18402 \begin_layout Plain Layout
18415 \begin_inset space \thinspace{}
18421 \begin_inset Flex Code
18424 \begin_layout Plain Layout
18430 ] Igual que para estilos de párrafo, véase
18431 \begin_inset CommandInset ref
18433 reference "subsec:Estilos-de-párrafo"
18440 \begin_layout Description
18441 \begin_inset Flex Code
18444 \begin_layout Plain Layout
18450 Igual que para estilos de párrafo, véase
18451 \begin_inset CommandInset ref
18453 reference "subsec:Estilos-de-párrafo"
18460 \begin_layout Description
18461 \begin_inset Flex Code
18464 \begin_layout Plain Layout
18471 \begin_inset Flex Code
18474 \begin_layout Plain Layout
18480 ] Prefijo a usar cuando se crean etiquetas que se refieren a recuadros de
18482 Esto permite el uso de referencias con formato.
18485 \begin_layout Description
18486 \begin_inset Flex Code
18489 \begin_layout Plain Layout
18496 \begin_inset Flex Code
18499 \begin_layout Plain Layout
18505 ] Igual que para estilos de párrafo, véase
18506 \begin_inset CommandInset ref
18508 reference "subsec:Estilos-de-párrafo"
18515 \begin_layout Description
18516 \begin_inset Flex Code
18519 \begin_layout Plain Layout
18526 \begin_inset Flex Code
18529 \begin_layout Plain Layout
18538 \begin_inset space \thinspace{}
18542 \begin_inset Flex Code
18545 \begin_layout Plain Layout
18553 Resets the \SpecialChar LaTeX
18554 arguments of this layout (as defined via the
18555 \begin_inset Flex Code
18558 \begin_layout Plain Layout
18567 This is useful if you have copied a style via
18568 \begin_inset Flex Code
18571 \begin_layout Plain Layout
18579 , but you do not want to inherit its (required and optional) arguments.
18582 \begin_layout Description
18583 \begin_inset Flex Code
18586 \begin_layout Plain Layout
18593 \begin_inset Flex Code
18596 \begin_layout Plain Layout
18605 \begin_inset space \thinspace{}
18611 \begin_inset Flex Code
18614 \begin_layout Plain Layout
18622 ] Si este recuadro debería usar la tipografía de su entorno o la suya propia.
18623 Por omisión es la tipografía de su entorno.
18626 \begin_layout Description
18627 \begin_inset Flex Code
18630 \begin_layout Plain Layout
18637 \begin_inset Flex Code
18640 \begin_layout Plain Layout
18648 A string that is put at the end of the layout content.
18649 A line break in the output can be indicated by
18652 \begin_inset Flex Code
18655 \begin_layout Plain Layout
18664 \begin_layout Description
18665 \begin_inset Flex Code
18668 \begin_layout Plain Layout
18675 \begin_inset Flex Code
18678 \begin_layout Plain Layout
18687 \begin_inset space \thinspace{}
18693 \begin_inset Flex Code
18696 \begin_layout Plain Layout
18704 ] Revisar la ortografía del contenido del recuadro.
18708 \begin_layout Subsection
18710 \begin_inset CommandInset label
18712 name "subsec:Contadores"
18719 \begin_layout Standard
18720 Es necesario definir los contadores (
18721 \begin_inset Flex MenuItem
18724 \begin_layout Plain Layout
18731 \begin_inset Flex MenuItem
18734 \begin_layout Plain Layout
18740 , \SpecialChar ldots
18741 ) en la propia clase de texto.
18742 Los contadores estándar están definidos en el archivo
18743 \begin_inset Flex Code
18746 \begin_layout Plain Layout
18752 , de modo que no tienes más que añadir
18755 \begin_layout LyX-Code
18756 Input stdcounters.inc
18759 \begin_layout Standard
18760 en el archivo de formato para que funcionen.
18761 Pero si quieres puedes definir contadores personalizados.
18762 La declaración de un contador debe comenzar con:
18765 \begin_layout LyX-Code
18769 \begin_layout Standard
18771 \begin_inset Flex Code
18774 \begin_layout Plain Layout
18780 es el nombre del contador.
18781 Hay que terminar con
18782 \begin_inset Flex Code
18785 \begin_layout Plain Layout
18794 \begin_layout Standard
18795 Se pueden usar además los parámetros siguientes:
18798 \begin_layout Description
18799 \begin_inset Flex Code
18802 \begin_layout Plain Layout
18809 \begin_inset Flex Code
18812 \begin_layout Plain Layout
18820 Sets the initial value for the counter, to which it will be reset whenever
18822 Normally, one will want the default, 1.
18825 \begin_layout Description
18826 \begin_inset Flex Code
18829 \begin_layout Plain Layout
18836 \begin_inset Flex Code
18839 \begin_layout Plain Layout
18845 =""] Si se define esta cadena, indica cómo se muestra el contador.
18846 Al establecer este valor también se da el mismo valor a
18847 \begin_inset Flex Code
18850 \begin_layout Plain Layout
18851 LabelStringAppendix
18857 Para los valores de 'string' se pueden usar las estructuras siguientes:
18858 \begin_inset Separator parbreak
18865 \begin_layout Itemize
18866 \begin_inset Flex Code
18869 \begin_layout Plain Layout
18877 será reemplazado por la expansión de
18878 \begin_inset Flex Code
18881 \begin_layout Plain Layout
18888 \begin_inset Newline linebreak
18892 \begin_inset Flex Code
18895 \begin_layout Plain Layout
18896 LabelStringAppendix
18902 \begin_inset Flex Code
18905 \begin_layout Plain Layout
18915 \begin_layout Itemize
18916 los valores del contador pueden expresarse usando macros tipo \SpecialChar LaTeX
18918 \begin_inset Flex Code
18921 \begin_layout Plain Layout
18938 \begin_inset Flex Code
18941 \begin_layout Plain Layout
18950 \begin_inset Flex Code
18953 \begin_layout Plain Layout
18959 : 1, 2, 3,\SpecialChar ldots
18961 \begin_inset Flex Code
18964 \begin_layout Plain Layout
18970 para minúsculas: a, b, c, \SpecialChar ldots
18972 \begin_inset Flex Code
18975 \begin_layout Plain Layout
18981 para mayúsculas: A, B, C, \SpecialChar ldots
18983 \begin_inset Flex Code
18986 \begin_layout Plain Layout
18992 números romanos en minúscula: i, ii, iii, \SpecialChar ldots
18997 \begin_layout Plain Layout
19003 \begin_inset space \thinspace{}
19011 \begin_inset Flex Code
19014 \begin_layout Plain Layout
19029 \begin_inset Flex Code
19032 \begin_layout Plain Layout
19046 los transforma automáticamente en versalitas
19051 , ya que los romanos en minúscula no se usan en español.
19058 \begin_inset Flex Code
19061 \begin_layout Plain Layout
19067 para romanos en mayúsculas: I, II, III.
19071 \begin_layout Standard
19073 \begin_inset Flex Code
19076 \begin_layout Plain Layout
19082 , se construye un valor por omisión así: si el contador tiene un contador
19084 \begin_inset Flex Code
19087 \begin_layout Plain Layout
19094 \begin_inset Flex Code
19097 \begin_layout Plain Layout
19103 ), se usa la cadena
19104 \begin_inset Flex Code
19107 \begin_layout Plain Layout
19117 ; si no, se usa la cadena
19118 \begin_inset Flex Code
19121 \begin_layout Plain Layout
19132 \begin_layout Description
19133 \begin_inset Flex Code
19136 \begin_layout Plain Layout
19137 LabelStringAppendix
19143 \begin_inset Flex Code
19146 \begin_layout Plain Layout
19153 \begin_inset Flex Code
19156 \begin_layout Plain Layout
19162 , pero para el apéndice.
19165 \begin_layout Description
19166 \begin_inset Flex Code
19169 \begin_layout Plain Layout
19176 \begin_inset Flex Code
19179 \begin_layout Plain Layout
19186 \begin_inset Quotes erd
19190 \begin_inset Quotes erd
19193 ] Un formato para usar con las referencias a este contador.
19194 Por ejemplo, podríamos querer las referencias a los números de sección
19196 \begin_inset Quotes fld
19200 \begin_inset space ~
19204 \begin_inset Quotes frd
19208 La cadena debería contener
19209 \begin_inset Quotes eld
19213 \begin_inset Quotes erd
19217 Esto será reemplazado por el número correspondiente del contador.
19218 Así pues, para secciones sería: Section ##.
19221 \begin_layout Description
19222 \begin_inset Flex Code
19225 \begin_layout Plain Layout
19232 \begin_inset Flex Code
19235 \begin_layout Plain Layout
19241 =""] Si esto se establece para el nombre de otro contador, el presente contador
19242 se reiniciará cada vez que el otro aumente.
19244 \begin_inset Flex Code
19247 \begin_layout Plain Layout
19253 se numera dentro de
19254 \begin_inset Flex Code
19257 \begin_layout Plain Layout
19266 \begin_layout Subsection
19267 Descripción de las tipografías
19268 \begin_inset CommandInset label
19270 name "subsec:Tipografías"
19277 \begin_layout Standard
19278 Una descripción de una tipografía se ve como:
19281 \begin_layout LyX-Code
19295 \begin_layout LyX-Code
19299 \begin_layout LyX-Code
19303 \begin_layout Standard
19304 Están disponibles los comandos siguientes:
19307 \begin_layout Description
19308 \begin_inset Flex Code
19311 \begin_layout Plain Layout
19318 \begin_inset Flex Code
19321 \begin_layout Plain Layout
19330 \begin_inset Flex Code
19333 \begin_layout Plain Layout
19340 \begin_inset Flex Code
19343 \begin_layout Plain Layout
19350 \begin_inset Flex Code
19353 \begin_layout Plain Layout
19360 \begin_inset Flex Code
19363 \begin_layout Plain Layout
19370 \begin_inset Flex Code
19373 \begin_layout Plain Layout
19380 \begin_inset Flex Code
19383 \begin_layout Plain Layout
19390 \begin_inset Flex Code
19393 \begin_layout Plain Layout
19400 \begin_inset Flex Code
19403 \begin_layout Plain Layout
19412 \begin_layout Description
19413 \begin_inset Flex Code
19416 \begin_layout Plain Layout
19425 \begin_inset Flex Code
19428 \begin_layout Plain Layout
19439 \begin_inset Flex Code
19442 \begin_layout Plain Layout
19449 \begin_inset Flex Code
19452 \begin_layout Plain Layout
19461 \begin_layout Description
19462 \begin_inset Flex Code
19465 \begin_layout Plain Layout
19472 \begin_inset Flex Code
19475 \begin_layout Plain Layout
19481 ] Son argumentos válidos:
19482 \begin_inset Flex Code
19485 \begin_layout Plain Layout
19492 \begin_inset Flex Code
19495 \begin_layout Plain Layout
19502 \begin_inset Flex Code
19505 \begin_layout Plain Layout
19512 \begin_inset Flex Code
19515 \begin_layout Plain Layout
19522 \begin_inset Flex Code
19525 \begin_layout Plain Layout
19532 \begin_inset Flex Code
19535 \begin_layout Plain Layout
19542 \begin_inset Flex Code
19545 \begin_layout Plain Layout
19552 \begin_inset Flex Code
19555 \begin_layout Plain Layout
19562 \begin_inset Flex Code
19565 \begin_layout Plain Layout
19572 \begin_inset Flex Code
19575 \begin_layout Plain Layout
19582 \begin_inset Flex Code
19585 \begin_layout Plain Layout
19592 \begin_inset Flex Code
19595 \begin_layout Plain Layout
19602 Cada uno de ellos activa o desactiva el atributo correspondiente.
19604 \begin_inset Flex Code
19607 \begin_layout Plain Layout
19614 \begin_inset Flex Code
19617 \begin_layout Plain Layout
19624 \begin_inset Newline newline
19627 Si esto último parece superfluo, recordemos que la configuración de tipografías
19628 para el presente contexto se hereda generalmente del contexto circundante.
19630 \begin_inset Flex Code
19633 \begin_layout Plain Layout
19639 desactivaría el énfasis que estaba vigente, digamos, en un entorno teorema.
19642 \begin_layout Description
19643 \begin_inset Flex Code
19646 \begin_layout Plain Layout
19655 \begin_inset Flex Code
19658 \begin_layout Plain Layout
19669 \begin_inset Flex Code
19672 \begin_layout Plain Layout
19681 \begin_layout Description
19682 \begin_inset Flex Code
19685 \begin_layout Plain Layout
19694 \begin_inset Flex Code
19697 \begin_layout Plain Layout
19708 \begin_inset Flex Code
19711 \begin_layout Plain Layout
19718 \begin_inset Flex Code
19721 \begin_layout Plain Layout
19728 \begin_inset Flex Code
19731 \begin_layout Plain Layout
19740 \begin_layout Description
19741 \begin_inset Flex Code
19744 \begin_layout Plain Layout
19751 \begin_inset Flex Code
19754 \begin_layout Plain Layout
19761 \begin_inset Flex Code
19764 \begin_layout Plain Layout
19771 \begin_inset Flex Code
19774 \begin_layout Plain Layout
19783 \begin_inset Flex Code
19786 \begin_layout Plain Layout
19793 \begin_inset Flex Code
19796 \begin_layout Plain Layout
19803 \begin_inset Flex Code
19806 \begin_layout Plain Layout
19813 \begin_inset Flex Code
19816 \begin_layout Plain Layout
19823 \begin_inset Flex Code
19826 \begin_layout Plain Layout
19835 \begin_layout Subsection
19836 Descripción del formato de cita
19837 \begin_inset CommandInset label
19839 name "subsec:Descripción-formato-cita"
19846 \begin_layout Standard
19848 \begin_inset Flex Code
19851 \begin_layout Plain Layout
19857 se usan para describir la forma en que debe mostrarse la información bibliográf
19858 ica, tanto en \SpecialChar LyX
19859 (en el diálogo de citas y en las ayudas emergentes, por ejemplo)
19860 como en la salida XHTML.
19861 El aspecto de unode estos bloques podría ser este:
19864 \begin_layout LyX-Code
19868 \begin_layout LyX-Code
19872 \begin_layout LyX-Code
19876 \begin_layout LyX-Code
19880 \begin_layout Standard
19881 Las líneas definen cómo se va a mostrar la información bibliográfica asociada
19882 con un artículo o libro, respectivamente, y tales definiciones se pueden
19883 dar para cualquier `tipo de entrada' que pudiera estar presente en un archivo
19884 Bib\SpecialChar TeX
19887 define un formato por omsión en el código fuente que se usará si no se
19888 da una definición específica.
19890 predefine varios formatos en el archivo
19891 \begin_inset Flex Code
19894 \begin_layout Plain Layout
19900 , que se incluye en la mayoría de las clases de documento de \SpecialChar LyX
19904 \begin_layout Standard
19905 Las definiciones usan un lenguaje simple que permite reemplazar las claves
19906 Bib\SpecialChar TeX
19908 Las claves deben encerrarse entre símbolos
19909 \begin_inset Flex Code
19912 \begin_layout Plain Layout
19919 \begin_inset space \thinspace{}
19923 \begin_inset Flex Code
19926 \begin_layout Plain Layout
19933 Así, una simple definición sería:
19936 \begin_layout LyX-Code
19938 \begin_inset Quotes eld
19942 \begin_inset Quotes erd
19948 \begin_layout Standard
19949 Esto imprimiría el autor, una coma, a continuación el título entre comillas
19950 y un punto para finalizar.
19953 \begin_layout Standard
19954 A veces querrás, por supuesto, imprimir una clave solo si existe.
19955 Esto puede hacerse mediante una construcción condicional tal como:
19956 \begin_inset Flex Code
19959 \begin_layout Plain Layout
19961 \begin_inset space ~
19969 , que quiere decir: si la clave
19970 \begin_inset Flex Code
19973 \begin_layout Plain Layout
19980 \begin_inset Quotes eld
19984 \begin_inset space ~
19988 \begin_inset Quotes erd
19991 seguido de la clave.
19992 También es posible tener una cláusula de otro modo en el condicional, como:
19993 \begin_inset Newline newline
19997 \begin_inset Flex Code
20000 \begin_layout Plain Layout
20001 {%author%[[%author%]][[%editor%, ed.]]}
20007 \begin_inset Newline newline
20011 \begin_inset Flex Code
20014 \begin_layout Plain Layout
20020 se imprime si existe; por otra parte, se imprime la clave
20021 \begin_inset Flex Code
20024 \begin_layout Plain Layout
20031 \begin_inset Quotes eld
20035 \begin_inset space ~
20039 \begin_inset Quotes erd
20043 Advierte que la clave se encierra entre signos
20044 \begin_inset Flex Code
20047 \begin_layout Plain Layout
20053 ; el condicional entero se encierra entre llaves; y las cláusulas condicional
20054 y por otra parte se ponen entre cobles corchetes,
20055 \begin_inset Quotes eld
20059 \begin_inset Flex Code
20062 \begin_layout Plain Layout
20069 \begin_inset Quotes eld
20073 \begin_inset Quotes eld
20077 \begin_inset Flex Code
20080 \begin_layout Plain Layout
20087 \begin_inset Quotes erd
20091 No debe haber espacios entre ninguno de ellos.
20094 \begin_layout Standard
20095 Hay otra pieza de sintaxis disponible en las definiciones, como esta:
20096 \begin_inset Flex Code
20099 \begin_layout Plain Layout
20106 Define una pieza de información para ser usada cuando creamos
20107 \begin_inset Quotes eld
20111 \begin_inset Quotes erd
20115 Obviamente, no queremos etiquetas HTML cuando escribimos texto sencillo,
20116 por tanto deben ponerse entre
20117 \begin_inset Quotes eld
20121 \begin_inset Quotes erd
20125 \begin_inset Quotes eld
20129 \begin_inset Quotes erd
20135 \begin_layout Standard
20136 Además, hay dos clases especiales de definiciones disponibles en un bloque
20138 \begin_inset Flex Code
20141 \begin_layout Plain Layout
20148 Un ejemplo de la primera sería:
20151 \begin_layout LyX-Code
20153 \begin_inset Quotes eld
20157 \begin_inset Quotes erd
20163 \begin_layout Standard
20164 Esto es una abreviación, o macro, y se puede usar tratándola como si fuera
20166 \begin_inset Flex Code
20169 \begin_layout Plain Layout
20178 \begin_inset Flex Code
20181 \begin_layout Plain Layout
20187 exactamente como trataría su definición.
20188 Por tanto, permítenos un
20196 \begin_layout LyX-Code
20200 \begin_layout Standard
20203 no caería en un bucle infinito, pero sí en uno muy largo.
20206 \begin_layout Standard
20207 El segundo tipo especial de definición sería como:
20210 \begin_layout LyX-Code
20214 \begin_layout Standard
20215 Esto define un trozo de texto traducible, que permite traducir partes relevantes
20216 de la bibliografía.
20217 Puede incluirse en una definición tratándolo como una clave:
20218 \begin_inset Flex Code
20221 \begin_layout Plain Layout
20228 Varios de estos están predefinidos en
20229 \begin_inset Flex Code
20232 \begin_layout Plain Layout
20239 Advertiremos que no son macros en el sentido definido.
20243 \begin_layout Standard
20244 Aquí hay, pues, un ejemplo que usa todas estas características:
20245 \begin_inset VSpace defskip
20251 \begin_layout Standard
20255 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %_edtext%, ]]}]]}
20258 \begin_layout Standard
20259 \begin_inset VSpace defskip
20262 Así definimos una macro que imprime el autor seguido de coma, si la clave
20264 \begin_inset Flex Code
20267 \begin_layout Plain Layout
20273 está definida, o imprime el nombre del editor seguido por el texto
20274 \begin_inset Flex Code
20277 \begin_layout Plain Layout
20283 o su traducción (por omisión
20284 \begin_inset Quotes eld
20288 \begin_inset Quotes erd
20292 \begin_inset Flex Code
20295 \begin_layout Plain Layout
20302 De hecho, esto está definido en
20303 \begin_inset Flex Code
20306 \begin_layout Plain Layout
20312 , por tanto puedes usarlo en tus propias definiciones o redefiniciones,
20313 si cargas antes ese archivo.
20316 \begin_layout Section
20317 Etiquetas para la salida XHTML
20318 \begin_inset CommandInset label
20320 name "sec:Etiquetas-para-XHTML"
20327 \begin_layout Standard
20328 Como para \SpecialChar LaTeX
20329 o DocBook, el formato de salida XHTML en \SpecialChar LyX
20330 también se controla
20331 mediante la información contenida en archivos de formato.
20332 En general, \SpecialChar LyX
20333 provee valores predefinidos sensatos y, como se mencionó anteriorm
20334 ente, incluso construirá reglas de estilo CSS a partir de las otras etiquetas
20336 Por ejemplo, \SpecialChar LyX
20337 intentará usar la información proporcionada por la declaración
20339 \begin_inset Flex Code
20342 \begin_layout Plain Layout
20348 para el estilo Chapter para escribir CSS que formateará adecuadamente los
20349 encabezados de capítulo.
20352 \begin_layout Standard
20353 En muchos casos, por tanto, no tendrás que hacer nada para obtener una aceptable
20354 salida XHTML para tus propios entornos, recuadros personalizados y cosas
20356 Pero en ciertos casos querrás hacer cambios, y para eso \SpecialChar LyX
20358 número de etiquetas de formato que se pueden usar para personalizar los
20359 XHTML y CSS generados.
20362 \begin_layout Standard
20363 Advertimos que hay dos etiquetas,
20364 \begin_inset Flex Code
20367 \begin_layout Plain Layout
20374 \begin_inset Flex Code
20377 \begin_layout Plain Layout
20383 que pueden aparecer fuera de las declaraciones de estilos y recuadros.
20385 \begin_inset CommandInset ref
20387 reference "subsec:Parámetros-generales-clases"
20391 para detalles sobre esto.
20394 \begin_layout Subsection
20396 \begin_inset CommandInset label
20398 name "subsec:Estilos-de-párrafo-XHTML"
20405 \begin_layout Standard
20406 El tipo de XHTML que genera \SpecialChar LyX
20407 para un párrafo depende de si se trata de un
20408 párrafo normal, de un comando o de un entorno, en los que esto se determina
20409 por el contenido de la correspondiente etiqueta
20410 \begin_inset Flex Code
20413 \begin_layout Plain Layout
20424 \begin_layout Standard
20425 Para un comando o párrafo, la salida XHTML tiene la forma siguiente:
20428 \begin_layout LyX-Code
20430 \begin_inset Quotes erd
20434 \begin_inset Quotes erd
20440 \begin_layout LyX-Code
20442 \begin_inset Quotes erd
20446 \begin_inset Quotes erd
20452 \begin_layout LyX-Code
20453 Contents of the paragraph.
20456 \begin_layout LyX-Code
20460 \begin_layout Standard
20461 Por supuesto, `label tags´ se omiten si el párrafo no tiene rótulo.
20464 \begin_layout Standard
20465 Para un entorno que no sea algún tipo de lista, XHTML toma la forma:
20468 \begin_layout LyX-Code
20470 \begin_inset Quotes erd
20474 \begin_inset Quotes erd
20480 \begin_layout LyX-Code
20482 \begin_inset Quotes erd
20486 \begin_inset Quotes erd
20490 \begin_inset Quotes erd
20494 \begin_inset Quotes erd
20497 >Environment Label</labeltag>First paragraph.</itemtag>
20500 \begin_layout LyX-Code
20501 <itemtag>Second paragraph.</itemtag>
20504 \begin_layout LyX-Code
20508 \begin_layout Standard
20509 El rótulo se genera solo para el primer párrafo, como debería ser, por ejemplo,
20514 \begin_layout Standard
20515 Para una lista disponemos de una de estas formas:
20518 \begin_layout LyX-Code
20520 \begin_inset Quotes erd
20524 \begin_inset Quotes erd
20530 \begin_layout LyX-Code
20532 \begin_inset Quotes erd
20536 \begin_inset Quotes erd
20540 \begin_inset Quotes erd
20544 \begin_inset Quotes erd
20547 >List Label</labeltag>First item.</itemtag>
20550 \begin_layout LyX-Code
20552 \begin_inset Quotes erd
20556 \begin_inset Quotes erd
20560 \begin_inset Quotes erd
20564 \begin_inset Quotes erd
20567 >List Label</labeltag>Second item.</itemtag>
20570 \begin_layout LyX-Code
20574 \begin_layout LyX-Code
20578 \begin_layout LyX-Code
20580 \begin_inset Quotes erd
20584 \begin_inset Quotes erd
20590 \begin_layout LyX-Code
20592 \begin_inset Quotes erd
20596 \begin_inset Quotes erd
20599 >List Label</labeltag><itemtag attr=
20600 \begin_inset Quotes erd
20604 \begin_inset Quotes erd
20607 >First item.</itemtag>
20610 \begin_layout LyX-Code
20612 \begin_inset Quotes erd
20616 \begin_inset Quotes erd
20619 >List Label</labeltag><itemtag attr=
20620 \begin_inset Quotes erd
20624 \begin_inset Quotes erd
20627 >Second item.</itemtag>
20630 \begin_layout LyX-Code
20634 \begin_layout Standard
20635 Observa los diferentes órdenes de
20636 \begin_inset Flex Code
20639 \begin_layout Plain Layout
20646 \begin_inset Flex Code
20649 \begin_layout Plain Layout
20656 El orden que obtenemos depende del ajuste de
20657 \begin_inset Flex Code
20660 \begin_layout Plain Layout
20667 \begin_inset Flex Code
20670 \begin_layout Plain Layout
20676 es falso (por omisión), se obtiene el primero de ellos, con el rótulo dentro
20677 del ítem; si verdadero, se obtiene el segundo, con el rótulo fuera del
20681 \begin_layout Standard
20682 Las etiquetas específicas y la salida de los atributos para cada tipo de
20683 párrafo puede ser controlado por medio de las etiquetas de formato que
20685 Como mencionamos antes, sin embargo, \SpecialChar LyX
20686 usa predefinidos adecuados para muchos
20687 de estos valores, por lo que generalmente no necesitarás hacer nada para
20688 obtener una buena salida XHTML.
20689 Partiendo de las etiquetas ya disponibles puedes afinar lascosas a tu gusto.
20692 \begin_layout Description
20693 \begin_inset Flex Code
20696 \begin_layout Plain Layout
20703 \begin_inset Flex Code
20706 \begin_layout Plain Layout
20712 ] Especifica información de los atributos a entregar con la etiqueta principal.
20714 \begin_inset Quotes eld
20718 \begin_inset Flex Code
20721 \begin_layout Plain Layout
20728 \begin_inset Quotes erd
20732 Por omisión, \SpecialChar LyX
20734 \begin_inset Quotes eld
20738 \begin_inset Flex Code
20741 \begin_layout Plain Layout
20748 \begin_inset Quotes erd
20752 \begin_inset Flex Code
20755 \begin_layout Plain Layout
20761 es el nombre del formato en \SpecialChar LyX
20762 , en minúsculas, por ejemplo: chapter.
20767 debería contener ninguna información de estilo.
20769 \begin_inset Flex Code
20772 \begin_layout Plain Layout
20778 para ese propósito.
20781 \begin_layout Description
20782 \begin_inset Flex Code
20785 \begin_layout Plain Layout
20792 \begin_inset Flex Code
20795 \begin_layout Plain Layout
20804 \begin_inset space \thinspace{}
20808 \begin_inset Flex Code
20811 \begin_layout Plain Layout
20817 ] Si producir la información CSS predeterminada que \SpecialChar LyX
20818 genera para este formato,
20819 incluso si se proporciona explícitamente información adicional mediante
20821 \begin_inset Flex Code
20824 \begin_layout Plain Layout
20832 \begin_inset Flex Code
20835 \begin_layout Plain Layout
20841 permite alterar o aumentar el CSS generado, no sobrescribirlo totalmente.
20843 \begin_inset Flex Code
20846 \begin_layout Plain Layout
20855 \begin_layout Description
20856 \begin_inset Flex Code
20859 \begin_layout Plain Layout
20866 \begin_inset Flex Code
20869 \begin_layout Plain Layout
20875 ] Etiqueta a usar para párrafos individuales de entornos, reemplazando
20876 \begin_inset Flex Code
20879 \begin_layout Plain Layout
20885 en los ejemplos de arriba.
20887 \begin_inset Flex Code
20890 \begin_layout Plain Layout
20899 \begin_layout Description
20900 \begin_inset Flex Code
20903 \begin_layout Plain Layout
20910 \begin_inset Flex Code
20913 \begin_layout Plain Layout
20919 ] Atributos para la etiqueta ítem.
20921 \begin_inset Quotes eld
20925 \begin_inset Flex Code
20928 \begin_layout Plain Layout
20929 class=`layoutname_item'
20935 \begin_inset Quotes erd
20943 debería contener ninguna información de estilo.
20945 \begin_inset Flex Code
20948 \begin_layout Plain Layout
20954 para ese propósito.
20957 \begin_layout Description
20958 \begin_inset Flex Code
20961 \begin_layout Plain Layout
20968 \begin_inset Flex Code
20971 \begin_layout Plain Layout
20977 ] Etiqueta a usar para rótulos de párrafos e ítems, reemplazando
20978 \begin_inset Flex Code
20981 \begin_layout Plain Layout
20987 en los ejemplos de arriba.
20989 \begin_inset Flex Code
20992 \begin_layout Plain Layout
20999 \begin_inset Flex Code
21002 \begin_layout Plain Layout
21009 \begin_inset Flex Code
21012 \begin_layout Plain Layout
21019 \begin_inset Flex Code
21022 \begin_layout Plain Layout
21023 Centered_Top_Environment
21028 , en cuyos casos es
21029 \begin_inset Flex Code
21032 \begin_layout Plain Layout
21041 \begin_layout Description
21042 \begin_inset Flex Code
21045 \begin_layout Plain Layout
21052 \begin_inset Flex Code
21055 \begin_layout Plain Layout
21061 ] Atributos para la etiqueta del rótulo.
21063 \begin_inset Quotes eld
21067 \begin_inset Flex Code
21070 \begin_layout Plain Layout
21071 class=`layoutname_label'
21077 \begin_inset Quotes erd
21085 debería contener ninguna información de estilo.
21087 \begin_inset Flex Code
21090 \begin_layout Plain Layout
21096 para ese propósito.
21099 \begin_layout Description
21100 \begin_inset Flex Code
21103 \begin_layout Plain Layout
21110 \begin_inset Flex Code
21113 \begin_layout Plain Layout
21122 \begin_inset space \thinspace{}
21126 \begin_inset Flex Code
21129 \begin_layout Plain Layout
21135 ] Solo es significativo para entornos tipo lista, esta etiqueta controla
21136 si la etiqueta de rótulo se genera antes o dentro de la etiqueta de ítem.
21137 Se usa, por ejemplo, en el entorno descripción, donde queremos `
21138 \begin_inset Flex Code
21141 \begin_layout Plain Layout
21142 <dt>\SpecialChar ldots
21143 </dt><dd>\SpecialChar ldots
21151 \begin_inset Flex Code
21154 \begin_layout Plain Layout
21160 : la etiqueta de rótulo se genera dentro de la etiqueta de ítem.
21163 \begin_layout Description
21164 \begin_inset Flex Code
21167 \begin_layout Plain Layout
21173 Información para generar en la sección
21174 \begin_inset Flex Code
21177 \begin_layout Plain Layout
21183 cuando se usa este estilo.
21184 Esto podría, por ejemplo, utilizarse para incluir un bloque
21185 \begin_inset Flex Code
21188 \begin_layout Plain Layout
21194 definiendo un controlador
21195 \begin_inset Flex Code
21198 \begin_layout Plain Layout
21207 \begin_layout Description
21208 \begin_inset Flex Code
21211 \begin_layout Plain Layout
21217 Información de estilo CSS a incluir cuando se usa este estilo.
21218 Advertimos que esto será automáticamente envuelto en un bloque
21219 \begin_inset Flex Code
21222 \begin_layout Plain Layout
21228 generado por el formato, por tanto solo es necesario incluir el propio
21235 \begin_inset Flex Code
21238 \begin_layout Plain Layout
21247 \begin_layout Description
21248 \begin_inset Flex Code
21251 \begin_layout Plain Layout
21258 \begin_inset Flex Code
21261 \begin_layout Plain Layout
21267 ] Etiqueta para el rótulo principal, reemplazando
21268 \begin_inset Flex Code
21271 \begin_layout Plain Layout
21277 en losejemplos de arriba.
21279 \begin_inset Flex Code
21282 \begin_layout Plain Layout
21291 \begin_layout Description
21292 \begin_inset Flex Code
21295 \begin_layout Plain Layout
21302 \begin_inset Flex Code
21305 \begin_layout Plain Layout
21314 \begin_inset space \thinspace{}
21318 \begin_inset Flex Code
21321 \begin_layout Plain Layout
21327 ] Marca este estilo como el que se va a usar para generar la etiqueta
21328 \begin_inset Flex Code
21331 \begin_layout Plain Layout
21337 para el archivo XHTML.
21338 Por omisión, es falso.
21340 \begin_inset Flex Code
21343 \begin_layout Plain Layout
21349 lo establece verdadero para el entorno
21350 \begin_inset Flex Code
21353 \begin_layout Plain Layout
21363 \begin_layout Subsection
21367 \begin_layout Standard
21368 La salida XHTML de los recuadros también se puede controlar por información
21369 en archivos 'layout'.
21373 \begin_layout Plain Layout
21374 Por ahora, esto solo es cierto para recuadros de
21375 \begin_inset Quotes eld
21379 \begin_inset Quotes erd
21382 (recuadros en los que puedes escribir) y no para recuadros de
21383 \begin_inset Quotes eld
21387 \begin_inset Quotes erd
21390 (recuadros asociados con cuadros de diálogo).
21395 También en este caso, \SpecialChar LyX
21396 intenta proporcionar valores predefinidos adecuados,
21397 y construye reglas de estilo CSS, pero todo puede personalizarse.
21400 \begin_layout Standard
21401 Para los recuadros, \SpecialChar LyX
21402 produce XHTML en la forma:
21405 \begin_layout LyX-Code
21407 \begin_inset Quotes erd
21411 \begin_inset Quotes erd
21417 \begin_layout LyX-Code
21418 <labeltag>Label</labeltag>
21421 \begin_layout LyX-Code
21423 \begin_inset Quotes erd
21427 \begin_inset Quotes erd
21430 >Contents of the inset.</innertag>
21433 \begin_layout LyX-Code
21437 \begin_layout Standard
21438 Si el recuadro permite párrafos múltiples —o sea, si
21439 \begin_inset Flex Code
21442 \begin_layout Plain Layout
21448 es verdadero— el contenido del recuadro se generará en forma de párrafos
21449 estructurados según los estilos usados para dichos párrafos (normal, cita,
21451 El rótulo de la etiqueta se omite si el párrafo no lo tiene y, por el momento,
21453 \begin_inset Flex Code
21456 \begin_layout Plain Layout
21463 La etiqueta interior es opcional y, por omisión, no aparece.
21466 \begin_layout Standard
21467 Las etiquetas y atributos específicos para cada recuadro se pueden controlar
21468 mediante las siguientes etiquetas de formato.
21471 \begin_layout Description
21472 \begin_inset Flex Code
21475 \begin_layout Plain Layout
21482 \begin_inset Flex Code
21485 \begin_layout Plain Layout
21491 ] Especifica información de atributos a generar con la etiqueta principal.
21493 \begin_inset Quotes eld
21497 \begin_inset Flex Code
21500 \begin_layout Plain Layout
21501 class=`myinset' onclick=`\SpecialChar ldots
21508 \begin_inset Quotes erd
21512 Por omisión, \SpecialChar LyX
21514 \begin_inset Quotes eld
21518 \begin_inset Flex Code
21521 \begin_layout Plain Layout
21528 \begin_inset Quotes erd
21532 \begin_inset Flex Code
21535 \begin_layout Plain Layout
21541 es el nombre del recuadro en \SpecialChar LyX
21542 , en minúsculas y con los caracteres no alfanuméri
21543 cos convertidos en guiones bajos, por ejemplo: footnote.
21546 \begin_layout Description
21547 \begin_inset Flex Code
21550 \begin_layout Plain Layout
21557 \begin_inset Flex Code
21560 \begin_layout Plain Layout
21569 \begin_inset space \thinspace{}
21573 \begin_inset Flex Code
21576 \begin_layout Plain Layout
21582 ] Si producir la información CSS predeterminadad que \SpecialChar LyX
21583 genera para este formato,
21584 incluso si se da explícitamente información adicional con
21585 \begin_inset Flex Code
21588 \begin_layout Plain Layout
21596 \begin_inset Flex Code
21599 \begin_layout Plain Layout
21605 parmite alterar o aumentar el CSS generado, en vez de sobrescribirlo.
21609 \begin_layout Description
21610 \begin_inset Flex Code
21613 \begin_layout Plain Layout
21620 \begin_inset Flex Code
21623 \begin_layout Plain Layout
21629 ] Atributos para la etiqueta interna.
21631 \begin_inset Quotes eld
21635 \begin_inset Flex Code
21638 \begin_layout Plain Layout
21639 class=`insetname_inner'
21645 \begin_inset Quotes erd
21651 \begin_layout Description
21652 \begin_inset Flex Code
21655 \begin_layout Plain Layout
21662 \begin_inset Flex Code
21665 \begin_layout Plain Layout
21671 ] La etiqueta interna, reemplazando
21672 \begin_inset Flex Code
21675 \begin_layout Plain Layout
21681 en los ejemplos de arriba.
21682 Por omisión, ninguna.
21685 \begin_layout Description
21686 \begin_inset Flex Code
21689 \begin_layout Plain Layout
21696 \begin_inset Flex Code
21699 \begin_layout Plain Layout
21706 \begin_inset space \thinspace{}
21710 \begin_inset Flex Code
21713 \begin_layout Plain Layout
21721 ] Si este recuadro representa un bloque de texto independiente (como una
21722 nota al pie) o bien representa material que está incluido en el texto circundan
21723 te (como una rama).
21727 \begin_layout Description
21728 \begin_inset Flex Code
21731 \begin_layout Plain Layout
21738 \begin_inset Flex Code
21741 \begin_layout Plain Layout
21747 ] Un rótulo para este recuadro, posiblemente incluyendo una referencia a
21749 Por ejemplo, para notas al pie, podría ser:
21750 \begin_inset Flex Code
21753 \begin_layout Plain Layout
21762 Esto es opcional y no hay valor predeterminado.
21765 \begin_layout Description
21766 \begin_inset Flex Code
21769 \begin_layout Plain Layout
21775 Información que saldrá en la sección
21776 \begin_inset Flex Code
21779 \begin_layout Plain Layout
21785 cuando se usa este estilo.
21786 Esto podría usarse, por ejemplo, para incluir un bloque
21787 \begin_inset Flex Code
21790 \begin_layout Plain Layout
21796 que defina un controlador
21797 \begin_inset Flex Code
21800 \begin_layout Plain Layout
21809 \begin_layout Description
21810 \begin_inset Flex Code
21813 \begin_layout Plain Layout
21819 Información de estilo CSS a incluir cuando se usa este estilo.
21820 Esto será automáticamente envuelto en un bloque
21821 \begin_inset Flex Code
21824 \begin_layout Plain Layout
21830 generado por el formato, por lo que solo hay que incluir el propio CSS.
21833 \begin_layout Description
21834 \begin_inset Flex Code
21837 \begin_layout Plain Layout
21844 \begin_inset Flex Code
21847 \begin_layout Plain Layout
21853 ] La etiqueta a usar para el rótulo principal, reemplazando
21854 \begin_inset Flex Code
21857 \begin_layout Plain Layout
21863 en los ejemplos de arriba.
21864 El valor por omisión depende de
21865 \begin_inset Flex Code
21868 \begin_layout Plain Layout
21875 \begin_inset Flex Code
21878 \begin_layout Plain Layout
21885 \begin_inset Flex Code
21888 \begin_layout Plain Layout
21894 ; si es falso, el valor por omisión es
21895 \begin_inset Flex Code
21898 \begin_layout Plain Layout
21907 \begin_layout Subsection
21911 \begin_layout Standard
21912 La salida XHTML para flotantes también se puede controlar mediante información
21913 en archivos 'layout'.
21914 La salida tiene la forma:
21917 \begin_layout LyX-Code
21919 \begin_inset Quotes erd
21923 \begin_inset Quotes erd
21929 \begin_layout LyX-Code
21930 Contents of the float.
21933 \begin_layout LyX-Code
21937 \begin_layout Standard
21938 La leyenda, si la hay, es un recuadro separado y se generará como tal.
21939 Su aspecto puede controlarse con InsetLayout para recuadros de leyendas.
21943 \begin_layout Description
21944 \begin_inset Flex Code
21947 \begin_layout Plain Layout
21954 \begin_inset Flex Code
21957 \begin_layout Plain Layout
21963 ] Especifica información de los atributos a generar con la etiqueta principal,
21965 \begin_inset Quotes eld
21969 \begin_inset Flex Code
21972 \begin_layout Plain Layout
21973 class=`myfloat' onclick=`\SpecialChar ldots
21980 \begin_inset Quotes erd
21984 Por omisión, \SpecialChar LyX
21986 \begin_inset Quotes eld
21990 \begin_inset Flex Code
21993 \begin_layout Plain Layout
21994 class=`float float-floattype'
22000 \begin_inset Quotes erd
22004 \begin_inset Flex Code
22007 \begin_layout Plain Layout
22013 es el nombre en \SpecialChar LyX
22014 para este tipo de flotante, como determina la declaración
22016 \begin_inset CommandInset ref
22018 reference "subsec:Flotantes"
22022 ), aunque en minúsculas y con los caracteres no alfanuméricos sustituidos
22023 por guiones bajos, por ejemplo: float-table.
22026 \begin_layout Description
22027 \begin_inset Flex Code
22030 \begin_layout Plain Layout
22036 Información de estilo CSS a incluir cuando se usa este flotante.
22037 Esto será automáticamente envuelto en un bloque
22038 \begin_inset Flex Code
22041 \begin_layout Plain Layout
22047 generado por el formato, por lo que solo hay que incluir el propio CSS.
22050 \begin_layout Description
22051 \begin_inset Flex Code
22054 \begin_layout Plain Layout
22061 \begin_inset Flex Code
22064 \begin_layout Plain Layout
22070 ] La etiqueta a usar para este flotante, reemplazando "
22071 \begin_inset Flex Code
22074 \begin_layout Plain Layout
22080 " en el ejemplo de arriba.
22081 El valor por omisión es
22082 \begin_inset Flex Code
22085 \begin_layout Plain Layout
22091 y raramente habrá que cambiarlo.
22094 \begin_layout Subsection
22095 Formato de la Bibliografía
22098 \begin_layout Standard
22099 La bibliografía se puede formatear usando bloques
22100 \begin_inset Flex Code
22103 \begin_layout Plain Layout
22111 \begin_inset CommandInset ref
22113 reference "subsec:Descripción-formato-cita"
22120 \begin_layout Subsection
22121 CSS generado por \SpecialChar LyX
22125 \begin_layout Standard
22126 Hemos mencionado ya que \SpecialChar LyX
22127 generará reglas de estilo CSS predeterminadas para
22128 recuadros y estilos de párrafo, basados en la información suministrada
22129 para otros formatos.
22130 En esta sección comentaremos qué información usa \SpecialChar LyX
22134 \begin_layout Standard
22135 Actualmente, \SpecialChar LyX
22136 auto-genera CSS solo para información sobre tipografías, haciendo
22138 \begin_inset Flex Code
22141 \begin_layout Plain Layout
22148 \begin_inset Flex Code
22151 \begin_layout Plain Layout
22158 \begin_inset Flex Code
22161 \begin_layout Plain Layout
22168 \begin_inset Flex Code
22171 \begin_layout Plain Layout
22177 especificados en la declaración
22178 \begin_inset Flex Code
22181 \begin_layout Plain Layout
22189 \begin_inset CommandInset ref
22191 reference "subsec:Tipografías"
22195 .) La traducción es bastante sencilla y evidente.
22197 \begin_inset Quotes eld
22201 \begin_inset Flex Code
22204 \begin_layout Plain Layout
22211 \begin_inset Quotes erd
22215 \begin_inset Quotes eld
22219 \begin_inset Flex Code
22222 \begin_layout Plain Layout
22223 font-family: sans-serif;
22229 \begin_inset Quotes erd
22233 La correspondencia entre tamaños \SpecialChar LyX
22234 y tamaños CSS es un poco menos obvia,
22235 pero intuitiva en todo caso.
22237 \begin_inset Flex Code
22240 \begin_layout Plain Layout
22247 \begin_inset Flex URL
22250 \begin_layout Plain Layout
22261 \begin_layout Chapter
22262 Inserción de material externo
22263 \begin_inset CommandInset label
22265 name "chap:Inserción-de-material"
22272 \begin_layout Standard
22273 \begin_inset Box Shadowbox
22283 height_special "totalheight"
22288 backgroundcolor "none"
22291 \begin_layout Plain Layout
22292 AVISO: Esta parte de la documentación no ha sido actualizada desde hace
22294 Esperamos que aún sea adecuada, pero no hay garantías.
22302 \begin_layout Standard
22303 El uso de material de procedencia externa a \SpecialChar LyX
22304 se trata con detalle en el
22310 En el presente documento se trata sobre lo que debe suceder entre bambalinas
22311 para incluir nuevas clases de material.
22314 \begin_layout Section
22318 \begin_layout Standard
22319 La característica material externo se basa en el concepto
22324 Una plantilla es una especificación de la forma en que \SpecialChar LyX
22326 ciertos tipos de material.
22327 De por sí, \SpecialChar LyX
22328 incluye plantillas predefinidas para figuras Xfig, varios tipos
22329 de imágenes raster, diagramas de ajedrez y notación musical LilyPond.
22330 Puedes comprobar la lista actual en el menú
22331 \begin_inset Flex MenuItem
22334 \begin_layout Plain Layout
22335 Insertar\SpecialChar menuseparator
22336 Archivo\SpecialChar menuseparator
22343 Además, es posible construir plantillas propias para soportar determinado
22345 Más tarde describiremos con más detalle lo que esto implica, y esperamos
22346 que nos envíes tus plantillas para que se puedan incluir en próximas versiones
22347 de \SpecialChar LyX
22351 \begin_layout Standard
22352 Otra idea básica de la característica material externo es distinguir entre
22353 el archivo original que sirve como base para el material final y el archivo
22354 generado que se incluye en el documento impreso o exportado.
22355 Por ejemplo, consideremos el caso de una figura hecha con
22356 \begin_inset Flex Code
22359 \begin_layout Plain Layout
22366 El programa Xfig en sí mismo trabaja sobre un archivo original con extensión
22368 \begin_inset Flex Code
22371 \begin_layout Plain Layout
22378 Dentro de Xfig, se crea o modifica una figura y se guarda como un archivo
22380 \begin_inset Flex Code
22383 \begin_layout Plain Layout
22390 Para incluir la figura en un documento, se ejecuta
22391 \begin_inset Flex Code
22394 \begin_layout Plain Layout
22400 con el fin de crear un archivo PostScript que puede incluirse fácilmente
22401 en el archivo \SpecialChar LaTeX
22403 En este caso, el archivo
22404 \begin_inset Flex Code
22407 \begin_layout Plain Layout
22413 es el original, y el archivo PostScript es el archivo generado.
22416 \begin_layout Standard
22417 Esta distinción es importante para permitir la actualización del material
22418 durante el proceso de escritura del documento.
22419 Además, provee la flexibilidad necesaria para soportar múltiples formatos
22421 Por ejemplo, en el caso de un archivo de texto sencillo, no es una brillante
22422 idea incluir la figura como PostScript puro.
22423 En vez de esto, es preferible incluir solo una referencia a la figura o
22424 bien probar algún convertidor de gráficos a Ascii para que el resultado
22425 final se parezca al gráfico real.
22426 La gestión de material externo de \SpecialChar LyX
22427 permite hacer esto porque se basa en
22428 parámetros apropiados para los diferentes formatos de exportación soportados.
22431 \begin_layout Standard
22432 Además de soportar la generación de diferentes productos de acuerdo con
22433 el formato de exportación, existe una profunda integración con las aplicaciones
22434 de edición y visualización.
22435 En el caso de figuras Xfig, es posible editar el archivo original en Xfig
22436 con un simple clic derecho sobre el recuadro y también previsualizar el
22437 PostScript generado con ghostview.
22438 Se acabaron los enredos con la línea de comandos y/o el navegador de archivos
22439 para localizar y manipular los archivos originales o los generados.
22440 De esta manera, se pueden por fin aprovechar las ventajas de muy diversas
22441 aplicaciones importantes para la composición de los documentos, y por tanto
22442 aumentar el rendimiento.
22445 \begin_layout Section
22446 El archivo de configuración de plantillas externas
22449 \begin_layout Standard
22450 Es relativamente fácil añadir en \SpecialChar LyX
22451 definiciones personalizadas de plantillas
22453 Sin embargo, hay que ser consciente de que hacer esto de manera descuidada
22454 generará muy probablemente un agujero de seguridad fácil de explotar.
22455 Así pues, antes de hacer esto, lee por favor la discusión sobre seguridad
22457 \begin_inset CommandInset ref
22459 reference "sec:Discusión-sobre-seguridad"
22466 \begin_layout Standard
22467 Una vez dicho esto, te animamos a que envíes cualquiera plantilla interesante
22471 \begin_layout Standard
22472 Las plantillas externas se definen en el archivo
22473 \begin_inset Flex Code
22476 \begin_layout Plain Layout
22478 Dir/lib/external_templates
22484 Puedes colocar tus versiones propias en
22485 \begin_inset Flex Code
22488 \begin_layout Plain Layout
22489 UserDir/external_templates
22497 \begin_layout Standard
22498 Una plantilla típica tiene un aspecto como este:
22501 \begin_layout LyX-Code
22505 \begin_layout LyX-Code
22506 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
22509 \begin_layout LyX-Code
22513 \begin_layout LyX-Code
22517 \begin_layout LyX-Code
22521 \begin_layout LyX-Code
22525 \begin_layout LyX-Code
22529 \begin_layout LyX-Code
22530 AutomaticProduction true
22533 \begin_layout LyX-Code
22537 \begin_layout LyX-Code
22541 \begin_layout LyX-Code
22542 Format \SpecialChar LaTeX
22546 \begin_layout LyX-Code
22547 TransformCommand Rotate RotationLatexCommand
22550 \begin_layout LyX-Code
22551 TransformCommand Resize ResizeLatexCommand
22554 \begin_layout LyX-Code
22555 Product "$$RotateFront$$ResizeFront
22558 \begin_layout LyX-Code
22563 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
22566 \begin_layout LyX-Code
22567 $$ResizeBack$$RotateBack"
22570 \begin_layout LyX-Code
22574 \begin_layout LyX-Code
22575 UpdateResult "$$AbsPath$$Basename.pstex_t"
22578 \begin_layout LyX-Code
22579 Requirement "graphicx"
22582 \begin_layout LyX-Code
22583 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
22586 \begin_layout LyX-Code
22587 ReferencedFile latex "$$AbsPath$$Basename.eps"
22590 \begin_layout LyX-Code
22591 ReferencedFile dvi "$$AbsPath$$Basename.eps"
22594 \begin_layout LyX-Code
22598 \begin_layout LyX-Code
22599 Format PDF\SpecialChar LaTeX
22603 \begin_layout LyX-Code
22604 TransformCommand Rotate RotationLatexCommand
22607 \begin_layout LyX-Code
22608 TransformCommand Resize ResizeLatexCommand
22611 \begin_layout LyX-Code
22612 Product "$$RotateFront$$ResizeFront
22615 \begin_layout LyX-Code
22620 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
22623 \begin_layout LyX-Code
22624 $$ResizeBack$$RotateBack"
22627 \begin_layout LyX-Code
22628 UpdateFormat pdftex
22631 \begin_layout LyX-Code
22632 UpdateResult "$$AbsPath$$Basename.pdftex_t"
22635 \begin_layout LyX-Code
22636 Requirement "graphicx"
22639 \begin_layout LyX-Code
22640 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
22643 \begin_layout LyX-Code
22644 ReferencedFile latex "$$AbsPath$$Basename.pdf"
22647 \begin_layout LyX-Code
22651 \begin_layout LyX-Code
22655 \begin_layout LyX-Code
22656 Product "$$Contents(
22658 "$$AbsPath$$Basename.asc
22663 \begin_layout LyX-Code
22664 UpdateFormat asciixfig
22667 \begin_layout LyX-Code
22668 UpdateResult "$$AbsPath$$Basename.asc"
22671 \begin_layout LyX-Code
22675 \begin_layout LyX-Code
22679 \begin_layout LyX-Code
22680 Product "<graphic fileref=
22682 "$$AbsOrRelPathMaster$$Basename.eps
22687 \begin_layout LyX-Code
22691 \begin_layout LyX-Code
22695 \begin_layout LyX-Code
22696 UpdateResult "$$AbsPath$$Basename.eps"
22699 \begin_layout LyX-Code
22700 ReferencedFile docbook "$$AbsPath$$Basename.eps"
22703 \begin_layout LyX-Code
22704 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
22707 \begin_layout LyX-Code
22711 \begin_layout LyX-Code
22712 Product "[XFig: $$FName]"
22715 \begin_layout LyX-Code
22719 \begin_layout LyX-Code
22723 \begin_layout Standard
22724 Como puedes ver, la plantilla se incluye entre
22725 \begin_inset Flex Code
22728 \begin_layout Plain Layout
22736 \begin_inset Flex Code
22739 \begin_layout Plain Layout
22746 Contiene una cabecera que especifica algunas configuraciones generales
22747 y, por cada formato de archivo de documento primario soportado, una sección
22749 \begin_inset Flex Code
22752 \begin_layout Plain Layout
22760 \begin_inset Flex Code
22763 \begin_layout Plain Layout
22772 \begin_layout Subsection
22773 La cabecera de la plantilla
22776 \begin_layout Description
22777 \begin_inset Flex Code
22780 \begin_layout Plain Layout
22781 AutomaticProduction
22782 \begin_inset space ~
22790 Si el archivo representado por la plantilla debe ser generado por \SpecialChar LyX
22792 Este comando debe aparecer exactamente una vez.
22795 \begin_layout Description
22796 \begin_inset Flex Code
22799 \begin_layout Plain Layout
22801 \begin_inset space ~
22809 Un patrón global que se usa en el diálogo del archivo para filtrar los
22811 Si hay más de una posible extensión de archivo (p.
22812 \begin_inset space \thinspace{}
22816 \begin_inset space ~
22820 \begin_inset Flex Code
22823 \begin_layout Plain Layout
22830 \begin_inset Flex Code
22833 \begin_layout Plain Layout
22839 ), se pone algo como
22840 \begin_inset Flex Code
22843 \begin_layout Plain Layout
22850 Este comando debe aparecer exactamente una vez.
22853 \begin_layout Description
22854 \begin_inset Flex Code
22857 \begin_layout Plain Layout
22859 \begin_inset space ~
22867 El texto mostrado sobre el botón.
22868 Este comando debe aparecer exactamente una vez.
22871 \begin_layout Description
22872 \begin_inset Flex Code
22875 \begin_layout Plain Layout
22877 \begin_inset space ~
22881 \begin_inset space ~
22889 El texto de ayuda que se muestra en diálogo.
22890 Da suficiente información sobre lo que puede proporcionar la plantilla.
22891 Este comando debe aparecer exactamente una vez.
22894 \begin_layout Description
22895 \begin_inset Flex Code
22898 \begin_layout Plain Layout
22900 \begin_inset space ~
22908 El formato de archivo del original.
22909 Debe ser el nombre de un formato conocido por \SpecialChar LyX
22911 \begin_inset CommandInset ref
22913 reference "sec:Formatos"
22919 \begin_inset Quotes fld
22923 \begin_inset Flex Code
22926 \begin_layout Plain Layout
22933 \begin_inset Quotes frd
22936 si la plantilla puede manejar archivos originales o más de un formato.
22937 En este caso, \SpecialChar LyX
22938 intentará inspeccionar el archivo mismo para deducir su
22940 Este comando debe aparecer exactamente una vez.
22943 \begin_layout Description
22944 \begin_inset Flex Code
22947 \begin_layout Plain Layout
22949 \begin_inset space ~
22957 Un nombre único para la plantilla.
22958 No debe contener macros de sustitución (véase abajo).
22961 \begin_layout Description
22962 \begin_inset Flex Code
22965 \begin_layout Plain Layout
22967 \begin_inset space ~
22970 Rotate|Resize|Clip|Extra
22975 Este comando especifica qué transformaciones son soportadas por esta plantilla.
22976 Puede aparecer ninguna o varias veces.
22977 Este comando facilita las correspondientes pestañas en el diálogo de material
22980 \begin_inset Flex Code
22983 \begin_layout Plain Layout
22989 debe tener el correspondiente
22990 \begin_inset Flex Code
22993 \begin_layout Plain Layout
23000 \begin_inset Flex Code
23003 \begin_layout Plain Layout
23010 \begin_inset Flex Code
23013 \begin_layout Plain Layout
23020 De lo contrario la transformación no será soportada por ese formato.
23024 \begin_layout Subsection
23028 \begin_layout Description
23029 \begin_inset Flex Code
23032 \begin_layout Plain Layout
23034 \begin_inset space ~
23038 |PDF\SpecialChar LaTeX
23044 El formato de archivo del documento primario para el que es esta definición
23046 No toda plantilla tiene una representación sensible en los formatos de
23047 archivo de todos los documentos.
23048 No obstante, es preferible definir una sección
23049 \begin_inset Flex Code
23052 \begin_layout Plain Layout
23058 para todos los formatos.
23059 Se usa un texto postizo si no hay representación disponible.
23060 Entonces, al menos, se puede ver una referencia al material externo en
23061 el documento exportado.
23064 \begin_layout Description
23065 \begin_inset Flex Code
23068 \begin_layout Plain Layout
23070 \begin_inset space ~
23074 \begin_inset space ~
23082 Este comando define una macro adicional,
23083 \begin_inset Flex Code
23086 \begin_layout Plain Layout
23092 , para sustitución en
23093 \begin_inset Flex Code
23096 \begin_layout Plain Layout
23104 \begin_inset Flex Code
23107 \begin_layout Plain Layout
23113 puede contener en sí mismo macros de sustitución.
23114 La ventaja sobre el uso de
23115 \begin_inset Flex Code
23118 \begin_layout Plain Layout
23125 \begin_inset Flex Code
23128 \begin_layout Plain Layout
23134 es que el valor sustituido de
23135 \begin_inset Flex Code
23138 \begin_layout Plain Layout
23144 está saneado así que es un argumento opcional válido en el formato del
23146 Este comando puede aparecer ninguna o más veces.
23149 \begin_layout Description
23150 \begin_inset Flex Code
23153 \begin_layout Plain Layout
23155 \begin_inset space ~
23163 El texto que se inserta en el documento exportado.
23164 Realmente este es el comando más importante y puede ser bastante complejo.
23165 Este comando debe aparecer exactamente una vez.
23168 \begin_layout Description
23169 \begin_inset Flex Code
23172 \begin_layout Plain Layout
23174 \begin_inset space ~
23182 Este comando especifica un fragmento de preámbulo que se incluirá en el
23183 preámbulo \SpecialChar LaTeX
23185 Tiene que definirse usando
23186 \begin_inset Flex Code
23189 \begin_layout Plain Layout
23197 \begin_inset Flex Code
23200 \begin_layout Plain Layout
23207 Este comando puede aparecer ninguna o más veces.
23210 \begin_layout Description
23211 \begin_inset Flex Code
23214 \begin_layout Plain Layout
23216 \begin_inset space ~
23220 \begin_inset space ~
23228 Este comando indica los archivos que se crean por el proceso de conversión
23229 y que son necesarios para un formato de exportación particular.
23230 Si el nombre del archivo es relativo, se interpreta como relativo al documento
23232 Este comando puede darse ninguna o más veces.
23235 \begin_layout Description
23236 \begin_inset Flex Code
23239 \begin_layout Plain Layout
23241 \begin_inset space ~
23249 El nombre de un paquete \SpecialChar LaTeX
23251 El paquete se incuye mediante
23252 \begin_inset Flex Code
23255 \begin_layout Plain Layout
23263 en el preámbulo \SpecialChar LaTeX
23265 Este comando puede aparecer ninguna o más veces.
23268 \begin_layout Description
23269 \begin_inset Flex Code
23272 \begin_layout Plain Layout
23274 \begin_inset space ~
23278 \begin_inset space ~
23281 RotationLatexCommand
23286 Este comando especifica que el comando \SpecialChar LaTeX
23287 incluido debería usarse para la
23289 Este comando puede aparecer una vez o ninguna.
23292 \begin_layout Description
23293 \begin_inset Flex Code
23296 \begin_layout Plain Layout
23298 \begin_inset space ~
23302 \begin_inset space ~
23310 Este comando especifica que el comando \SpecialChar LaTeX
23311 incluido debería usarse para cambiar
23313 Este comando puede aparecer una vez o ninguna.
23316 \begin_layout Description
23317 \begin_inset Flex Code
23320 \begin_layout Plain Layout
23322 \begin_inset space ~
23326 \begin_inset space ~
23329 RotationLatexOption
23334 Este comando especifica que la rotación se hace mediante un argumento opcional.
23335 Este comando puede aparecer una vez o ninguna.
23338 \begin_layout Description
23339 \begin_inset Flex Code
23342 \begin_layout Plain Layout
23344 \begin_inset space ~
23348 \begin_inset space ~
23356 Este comando especifica que el cambio de tamaño se hace mediante un argumento
23358 Este comando puede aparecer una vez o ninguna
23361 \begin_layout Description
23362 \begin_inset Flex Code
23365 \begin_layout Plain Layout
23367 \begin_inset space ~
23371 \begin_inset space ~
23379 Este comando especifica que el recorte se hace mediante un argumento opcional.
23380 Este comando puede aparecer una vez o ninguna.
23383 \begin_layout Description
23384 \begin_inset Flex Code
23387 \begin_layout Plain Layout
23389 \begin_inset space ~
23393 \begin_inset space ~
23401 Este comando especifica que se usa un argumento extra opcional.
23402 Este comando puede aparecer una vez o ninguna.
23406 \begin_layout Description
23407 \begin_inset Flex Code
23410 \begin_layout Plain Layout
23412 \begin_inset space ~
23420 El formato de archivo del archivo convertido.
23421 Debe ser el nombre de un formato conocido por \SpecialChar LyX
23423 \begin_inset Flex MenuItem
23426 \begin_layout Plain Layout
23433 \begin_inset Flex MenuItem
23436 \begin_layout Plain Layout
23437 Gestión de archivos
23443 \begin_inset Flex MenuItem
23446 \begin_layout Plain Layout
23447 Herramientas\SpecialChar menuseparator
23454 Este comando debe aparecer exactamente una vez.
23457 If the resulting file format is PDF, you need to specify the format
23458 \begin_inset Flex Code
23461 \begin_layout Plain Layout
23470 This is the PDF format used for including graphics.
23471 The other defined PDF formats are for document export.
23474 \begin_layout Description
23475 \begin_inset Flex Code
23478 \begin_layout Plain Layout
23480 \begin_inset space ~
23488 El nombre de archivo del archivo convertido.
23489 El nombre de archivo debe ser absoluto.
23490 Este comando debe aparecer exactamente una vez.
23493 \begin_layout Subsection
23494 Definiciones de preámbulo
23497 \begin_layout Standard
23498 El archivo de configuración de plantillas externas puede contener definiciones
23499 de preámbulo adicionales encerradas entre
23500 \begin_inset Flex Code
23503 \begin_layout Plain Layout
23511 \begin_inset Flex Code
23514 \begin_layout Plain Layout
23521 Se pueden usar por las plantillas en la sección
23522 \begin_inset Flex Code
23525 \begin_layout Plain Layout
23534 \begin_layout Section
23535 El mecanismo de sustitución
23538 \begin_layout Standard
23539 Cuando la función de material externo recurre a un programa externo, se
23540 hace sobre la base de un comando definido en el archivo de configuración
23542 Estos comandos pueden contener varias macros que se expanden antes de su
23544 La ejecución tiene lugar siempre en el directorio del documento.
23548 \begin_layout Standard
23549 Además, cada vez que el material externo se va a mostrar, el nombre será
23550 generado por el mecanismo de sustitución, y la mayoría de los demás comandos
23551 en la definición de la plantilla soportan también sustitución.
23555 \begin_layout Standard
23556 Las macros disponibles son las siguientes:
23559 \begin_layout Description
23560 \begin_inset Flex Code
23563 \begin_layout Plain Layout
23564 $$AbsOrRelPathMaster
23569 La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
23573 \begin_layout Description
23574 \begin_inset Flex Code
23577 \begin_layout Plain Layout
23578 $$AbsOrRelPathParent
23583 La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
23587 \begin_layout Description
23588 \begin_inset Flex Code
23591 \begin_layout Plain Layout
23597 La ruta absoluta del archivo.
23600 \begin_layout Description
23601 \begin_inset Flex Code
23604 \begin_layout Plain Layout
23610 El nombre de archivo sin ruta y sin la extensión.
23613 \begin_layout Description
23614 \begin_inset Flex Code
23617 \begin_layout Plain Layout
23619 \begin_inset Quotes eld
23623 \begin_inset Quotes erd
23631 Esta macro expandirá los contenidos del archivo con el nombre
23632 \begin_inset Flex Code
23635 \begin_layout Plain Layout
23644 \begin_layout Description
23645 \begin_inset Flex Code
23648 \begin_layout Plain Layout
23654 La extensión de archivo (incluyendo el punto).
23657 \begin_layout Description
23658 \begin_inset Flex Code
23661 \begin_layout Plain Layout
23667 El nombre de archivo del archivo especificado en el diálogo de material
23669 Esto es bien un nombre absoluto, bien relativo al documento \SpecialChar LyX
23673 \begin_layout Description
23674 \begin_inset Flex Code
23677 \begin_layout Plain Layout
23683 La parte de la ruta de
23684 \begin_inset Flex Code
23687 \begin_layout Plain Layout
23693 (nombre absoluto o relativo al documento \SpecialChar LyX
23697 \begin_layout Description
23698 \begin_inset Flex Code
23701 \begin_layout Plain Layout
23707 La ruta del archivo, relativa al documento maestro \SpecialChar LyX
23711 \begin_layout Description
23712 \begin_inset Flex Code
23715 \begin_layout Plain Layout
23721 La ruta del archivo, relativa al documento \SpecialChar LyX
23725 \begin_layout Description
23726 \begin_inset Flex Code
23729 \begin_layout Plain Layout
23735 Esta macro expandirá a la ruta absoluta del directorio de sistema.
23736 Esto se usa habitualmente para apuntar a los varios guiones de ayuda que
23737 se empaquetan con \SpecialChar LyX
23741 \begin_layout Description
23742 \begin_inset Flex Code
23745 \begin_layout Plain Layout
23751 Un nombre y ruta completa a un directorio temporal que será borrado automáticam
23752 ente siempre que el documento se cierra, o se suprime la inserción de material
23756 \begin_layout Standard
23757 Todas las macros de ruta contienen un separador de rastreo del directorio,
23758 así se puede construir, p.
23759 \begin_inset space \thinspace{}
23762 e., el nombre de archivo absoluto con
23763 \begin_inset Flex Code
23766 \begin_layout Plain Layout
23767 $$AbsPath$$Basename$$Extension
23775 \begin_layout Standard
23776 Las macros anteriores son sustituidas en todos los comandos a menos que
23777 se indique lo contrario.
23779 \begin_inset Flex Code
23782 \begin_layout Plain Layout
23788 soporta adicionalmente las siguientes sustituciones si se habilitan por
23790 \begin_inset Flex Code
23793 \begin_layout Plain Layout
23800 \begin_inset Flex Code
23803 \begin_layout Plain Layout
23812 \begin_layout Description
23813 \begin_inset Flex Code
23816 \begin_layout Plain Layout
23822 La parte delantera del comando para cambiar el tamaño.
23825 \begin_layout Description
23826 \begin_inset Flex Code
23829 \begin_layout Plain Layout
23835 La parte trasera del comando para cambiar el tamaño.
23838 \begin_layout Description
23839 \begin_inset Flex Code
23842 \begin_layout Plain Layout
23848 La parte delantera del comando para la rotación.
23851 \begin_layout Description
23852 \begin_inset Flex Code
23855 \begin_layout Plain Layout
23861 La parte trasera del comando para la rotación.
23864 \begin_layout Standard
23865 La cadena de valor del comando
23866 \begin_inset Flex Code
23869 \begin_layout Plain Layout
23875 soporta adicionalmente las siguientes sustituciones si éstas se han habilitado
23877 \begin_inset Flex Code
23880 \begin_layout Plain Layout
23887 \begin_inset Flex Code
23890 \begin_layout Plain Layout
23899 \begin_layout Description
23900 \begin_inset Flex Code
23903 \begin_layout Plain Layout
23912 \begin_layout Description
23913 \begin_inset Flex Code
23916 \begin_layout Plain Layout
23925 \begin_layout Description
23926 \begin_inset Flex Code
23929 \begin_layout Plain Layout
23935 La opción cambio de tamaño.
23938 \begin_layout Description
23939 \begin_inset Flex Code
23942 \begin_layout Plain Layout
23948 La opción rotación.
23951 \begin_layout Standard
23952 Te puedes preguntar por qué hay tantas macros de ruta.
23953 Por dos razones, principalmente:
23956 \begin_layout Enumerate
23957 Los nombres de archivo relativo y absoluto deberían permanecer relativo
23958 o absoluto, respectivamente.
23959 Los usuarios pueden tener razones para preferir cualquiera de ambas formas.
23960 Los nombres relativos son útiles para documentos portables que deberían
23961 funcionar en máquinas diferentes, por ejemplo.
23962 Los nombres absolutos pueden ser requeridos por algunos programas.
23965 \begin_layout Enumerate
23967 procesa los nombres de archivo relativos de manera diferente a \SpecialChar LyX
23969 programas en archivos anidados incluidos.
23970 Para \SpecialChar LyX
23971 , un nombre de archivo relativo es siempre relativo al documento que
23972 contiene el nombre de archivo.
23973 Para \SpecialChar LaTeX
23974 , es siempre relativo al documento maestro.
23975 Estas dos definiciones son idénticas si se tiene solo un documento, pero
23976 son distintas si se tiene un documento maestro que incluye documentos parciales.
23977 Esto quiere decir que los nombres de archivo relativos deben ser transformados
23978 cuando se presentan a \SpecialChar LaTeX
23980 Afortunadamente, \SpecialChar LyX
23981 hace esto automáticamente si se eligen las macros correctas.
23984 \begin_layout Standard
23985 Así pues, ¿qué macros de ruta deberían emplearse en las definiciones de
23986 plantillas nuevas? La regla no es difícil:
23989 \begin_layout Itemize
23991 \begin_inset Flex Code
23994 \begin_layout Plain Layout
24000 si se requiere una ruta absoluta.
24003 \begin_layout Itemize
24005 \begin_inset Flex Code
24008 \begin_layout Plain Layout
24009 $$AbsOrRelPathMaster
24014 si la cadena sustituida es algún tipo de entrada \SpecialChar LaTeX
24018 \begin_layout Itemize
24020 \begin_inset Flex Code
24023 \begin_layout Plain Layout
24024 $$AbsOrRelPathParent
24029 con el fin de preservar la elección del usuario.
24032 \begin_layout Standard
24033 Hay casos especiales en los que esta regla no funciona y se necesitan, p.
24034 \begin_inset space \thinspace{}
24037 e., nombres relativos, pero normalmente funcionará bien.
24038 Un ejemplo de uno de estos casos es el comando
24039 \begin_inset Flex Code
24042 \begin_layout Plain Layout
24043 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
24048 en la plantilla XFig de arriba: no podemos usar el nombre absoluto porque
24049 el copiador para archivos
24050 \begin_inset Flex Code
24053 \begin_layout Plain Layout
24059 necesita el nombre relativo para reescribir el contenido del archivo.
24062 \begin_layout Section
24063 Discusión sobre seguridad
24064 \begin_inset CommandInset label
24066 name "sec:Discusión-sobre-seguridad"
24073 \begin_layout Standard
24074 La función material externo interactúa con muchos programas externos y lo
24075 hace de forma automática, así que hemos de tener en cuenta las implicaciones
24076 de seguridad que esto conlleva.
24077 En particular, puesto que tienes la opción de incluir tus propios archivos
24078 y/o cadenas de parámetros y estos se expanden en un comando, parece posible
24079 crear un documento malicioso que ejecute comandos arbitrarios cuando un
24080 usuario ve o imprime el documento.
24081 Esto es algo que definitivamente queremos evitar.
24085 \begin_layout Standard
24086 Sin embargo, dado que los comandos de material externo se especifican solo
24087 en el archivo de configuración de la plantilla, no hay problemas de seguridad
24088 si \SpecialChar LyX
24089 está adecuadamente configurado solo con plantillas seguras.
24090 Esto es así porque los programas externos se invocan con la llamada al
24092 \begin_inset Flex Code
24095 \begin_layout Plain Layout
24101 más bien que con la llamada
24102 \begin_inset Flex Code
24105 \begin_layout Plain Layout
24111 , de modo que no es posible ejecutar comandos arbitrarios desde la sección
24112 del nombre de archivo o de parámetros mediante el shell.
24115 \begin_layout Standard
24116 Esto implica además que hay restricciones en las cadenas de comandos que
24117 puedes usar en las plantillas de material externo.
24118 En particular, las tuberías y la redirección no están fácilmente disponibles.
24119 Esto debe ser así para que \SpecialChar LyX
24121 Si quieres usar algunas características de shell, deberías escribir un
24122 guión seguro para hacerlo de manera controlada, y después invocar el guión
24123 desde la cadena de comandos.
24126 \begin_layout Standard
24127 Es posible diseñar una plantilla que interactúe directamente con el shell,
24128 pero puesto que esto permitiría a un usuario malicioso ejecutar comandos
24129 arbitrarios escribiendo nombres de archivo y/o parámetros astutos, generalmente
24130 recomendamos usar solo guiones seguros que trabajen con la llamada
24131 \begin_inset Flex Code
24134 \begin_layout Plain Layout
24140 al sistema en forma controlada.
24141 Por supuesto, para usar en un entorno controlado, puede ser tentador caer
24142 en el uso de guiones de shell ordinarios.
24143 Si lo haces así, sé consciente de que vas a suministrar un agujero se seguridad
24144 fácilmente explotable en tu sistema.
24145 Evidentemente, es de razón que tales plantillas inseguras nunca serán incluidas
24146 en la distribución estándar de \SpecialChar LyX
24147 , aunque alentamos a la gente a que, a la
24148 usanza del software libre, envíe nuevas plantillas.
24149 No obstante, \SpecialChar LyX
24150 nunca tendrá plantillas inseguras tal y como se distribuye
24151 por los canales oficiales.
24154 \begin_layout Standard
24155 Incluir material externo suministra mucha potencia y has de ser cuidadoso
24156 en no introducir riesgos de seguridad a costa de esta potencia.
24157 Un sutil error en una simple línea en un guión aparentemente inocente puede
24158 abrir la puerta a graves problemas de seguridad.
24159 Así, si no comprendes totalmente estos asuntos, recomendamos consultar
24160 a un profesional entendido en seguridad o al equipo de desarrollo de \SpecialChar LyX
24162 tienes dudas acerca de si una plantilla dada es o no segura.
24163 Y hazlo antes de usarla en un entorno no controlado.
24166 \begin_layout Chapter
24170 List of functions to be used in layouts
24173 \begin_inset CommandInset label
24175 name "chap:List-of-functions"
24182 \begin_layout Standard
24184 \begin_inset Tabular
24185 <lyxtabular version="3" rows="11" columns="8">
24186 <features tabularvalignment="middle">
24187 <column alignment="left" valignment="top">
24188 <column alignment="left" valignment="top">
24189 <column alignment="left" valignment="top">
24190 <column alignment="left" valignment="top">
24191 <column alignment="left" valignment="top">
24192 <column alignment="left" valignment="top">
24193 <column alignment="left" valignment="top">
24194 <column alignment="left" valignment="top">
24196 <cell alignment="left" valignment="top" usebox="none">
24199 \begin_layout Plain Layout
24205 <cell alignment="left" valignment="top" usebox="none">
24208 \begin_layout Plain Layout
24214 <cell alignment="left" valignment="top" usebox="none">
24217 \begin_layout Plain Layout
24223 <cell alignment="left" valignment="top" usebox="none">
24226 \begin_layout Plain Layout
24232 <cell alignment="center" valignment="top" usebox="none">
24235 \begin_layout Plain Layout
24241 <cell alignment="center" valignment="top" usebox="none">
24244 \begin_layout Plain Layout
24250 <cell alignment="center" valignment="top" usebox="none">
24253 \begin_layout Plain Layout
24259 <cell alignment="center" valignment="top" usebox="none">
24262 \begin_layout Plain Layout
24270 <cell alignment="left" valignment="top" usebox="none">
24273 \begin_layout Plain Layout
24279 <cell alignment="left" valignment="top" usebox="none">
24282 \begin_layout Plain Layout
24288 <cell alignment="left" valignment="top" usebox="none">
24291 \begin_layout Plain Layout
24297 <cell alignment="left" valignment="top" usebox="none">
24300 \begin_layout Plain Layout
24306 <cell alignment="center" valignment="top" usebox="none">
24309 \begin_layout Plain Layout
24315 <cell alignment="center" valignment="top" usebox="none">
24318 \begin_layout Plain Layout
24324 <cell alignment="center" valignment="top" usebox="none">
24327 \begin_layout Plain Layout
24333 <cell alignment="center" valignment="top" usebox="none">
24336 \begin_layout Plain Layout
24344 <cell alignment="left" valignment="top" usebox="none">
24347 \begin_layout Plain Layout
24353 <cell alignment="left" valignment="top" usebox="none">
24356 \begin_layout Plain Layout
24362 <cell alignment="left" valignment="top" usebox="none">
24365 \begin_layout Plain Layout
24371 <cell alignment="left" valignment="top" usebox="none">
24374 \begin_layout Plain Layout
24380 <cell alignment="center" valignment="top" usebox="none">
24383 \begin_layout Plain Layout
24389 <cell alignment="center" valignment="top" usebox="none">
24392 \begin_layout Plain Layout
24398 <cell alignment="center" valignment="top" usebox="none">
24401 \begin_layout Plain Layout
24407 <cell alignment="center" valignment="top" usebox="none">
24410 \begin_layout Plain Layout
24418 <cell alignment="left" valignment="top" usebox="none">
24421 \begin_layout Plain Layout
24427 <cell alignment="left" valignment="top" usebox="none">
24430 \begin_layout Plain Layout
24436 <cell alignment="left" valignment="top" usebox="none">
24439 \begin_layout Plain Layout
24445 <cell alignment="left" valignment="top" usebox="none">
24448 \begin_layout Plain Layout
24454 <cell alignment="center" valignment="top" usebox="none">
24457 \begin_layout Plain Layout
24463 <cell alignment="center" valignment="top" usebox="none">
24466 \begin_layout Plain Layout
24472 <cell alignment="center" valignment="top" usebox="none">
24475 \begin_layout Plain Layout
24481 <cell alignment="center" valignment="top" usebox="none">
24484 \begin_layout Plain Layout
24492 <cell alignment="left" valignment="top" usebox="none">
24495 \begin_layout Plain Layout
24501 <cell alignment="left" valignment="top" usebox="none">
24504 \begin_layout Plain Layout
24510 <cell alignment="left" valignment="top" usebox="none">
24513 \begin_layout Plain Layout
24519 <cell alignment="left" valignment="top" usebox="none">
24522 \begin_layout Plain Layout
24528 <cell alignment="center" valignment="top" usebox="none">
24531 \begin_layout Plain Layout
24537 <cell alignment="center" valignment="top" usebox="none">
24540 \begin_layout Plain Layout
24546 <cell alignment="center" valignment="top" usebox="none">
24549 \begin_layout Plain Layout
24555 <cell alignment="center" valignment="top" usebox="none">
24558 \begin_layout Plain Layout
24566 <cell alignment="left" valignment="top" usebox="none">
24569 \begin_layout Plain Layout
24575 <cell alignment="left" valignment="top" usebox="none">
24578 \begin_layout Plain Layout
24584 <cell alignment="left" valignment="top" usebox="none">
24587 \begin_layout Plain Layout
24593 <cell alignment="left" valignment="top" usebox="none">
24596 \begin_layout Plain Layout
24602 <cell alignment="center" valignment="top" usebox="none">
24605 \begin_layout Plain Layout
24611 <cell alignment="center" valignment="top" usebox="none">
24614 \begin_layout Plain Layout
24620 <cell alignment="center" valignment="top" usebox="none">
24623 \begin_layout Plain Layout
24629 <cell alignment="center" valignment="top" usebox="none">
24632 \begin_layout Plain Layout
24640 <cell alignment="left" valignment="top" usebox="none">
24643 \begin_layout Plain Layout
24649 <cell alignment="left" valignment="top" usebox="none">
24652 \begin_layout Plain Layout
24658 <cell alignment="left" valignment="top" usebox="none">
24661 \begin_layout Plain Layout
24667 <cell alignment="left" valignment="top" usebox="none">
24670 \begin_layout Plain Layout
24676 <cell alignment="center" valignment="top" usebox="none">
24679 \begin_layout Plain Layout
24685 <cell alignment="center" valignment="top" usebox="none">
24688 \begin_layout Plain Layout
24694 <cell alignment="center" valignment="top" usebox="none">
24697 \begin_layout Plain Layout
24703 <cell alignment="center" valignment="top" usebox="none">
24706 \begin_layout Plain Layout
24714 <cell alignment="left" valignment="top" usebox="none">
24717 \begin_layout Plain Layout
24723 <cell alignment="left" valignment="top" usebox="none">
24726 \begin_layout Plain Layout
24732 <cell alignment="left" valignment="top" usebox="none">
24735 \begin_layout Plain Layout
24741 <cell alignment="left" valignment="top" usebox="none">
24744 \begin_layout Plain Layout
24750 <cell alignment="center" valignment="top" usebox="none">
24753 \begin_layout Plain Layout
24759 <cell alignment="center" valignment="top" usebox="none">
24762 \begin_layout Plain Layout
24768 <cell alignment="center" valignment="top" usebox="none">
24771 \begin_layout Plain Layout
24777 <cell alignment="center" valignment="top" usebox="none">
24780 \begin_layout Plain Layout
24788 <cell alignment="left" valignment="top" usebox="none">
24791 \begin_layout Plain Layout
24797 <cell alignment="left" valignment="top" usebox="none">
24800 \begin_layout Plain Layout
24806 <cell alignment="left" valignment="top" usebox="none">
24809 \begin_layout Plain Layout
24815 <cell alignment="left" valignment="top" usebox="none">
24818 \begin_layout Plain Layout
24824 <cell alignment="center" valignment="top" usebox="none">
24827 \begin_layout Plain Layout
24833 <cell alignment="center" valignment="top" usebox="none">
24836 \begin_layout Plain Layout
24842 <cell alignment="center" valignment="top" usebox="none">
24845 \begin_layout Plain Layout
24851 <cell alignment="center" valignment="top" usebox="none">
24854 \begin_layout Plain Layout
24862 <cell alignment="left" valignment="top" usebox="none">
24865 \begin_layout Plain Layout
24871 <cell alignment="left" valignment="top" usebox="none">
24874 \begin_layout Plain Layout
24880 <cell alignment="left" valignment="top" usebox="none">
24883 \begin_layout Plain Layout
24889 <cell alignment="left" valignment="top" usebox="none">
24892 \begin_layout Plain Layout
24898 <cell alignment="center" valignment="top" usebox="none">
24901 \begin_layout Plain Layout
24907 <cell alignment="center" valignment="top" usebox="none">
24910 \begin_layout Plain Layout
24916 <cell alignment="center" valignment="top" usebox="none">
24919 \begin_layout Plain Layout
24925 <cell alignment="center" valignment="top" usebox="none">
24928 \begin_layout Plain Layout
24936 <cell alignment="center" valignment="top" usebox="none">
24939 \begin_layout Plain Layout
24945 <cell alignment="center" valignment="top" usebox="none">
24948 \begin_layout Plain Layout
24954 <cell alignment="center" valignment="top" usebox="none">
24957 \begin_layout Plain Layout
24963 <cell alignment="center" valignment="top" usebox="none">
24966 \begin_layout Plain Layout
24972 <cell alignment="center" valignment="top" usebox="none">
24975 \begin_layout Plain Layout
24981 <cell alignment="center" valignment="top" usebox="none">
24984 \begin_layout Plain Layout
24990 <cell alignment="center" valignment="top" usebox="none">
24993 \begin_layout Plain Layout
24999 <cell alignment="center" valignment="top" usebox="none">
25002 \begin_layout Plain Layout
25016 \begin_layout Chapter
25019 Names of available colors to be used in layouts
25022 \begin_inset CommandInset label
25024 name "chap:Names-of-colors"
25031 \begin_layout Standard
25034 The colors listed here are the standard colors and the those that you can
25035 adjust in the \SpecialChar LyX
25039 \begin_layout Description
25054 No particular color – clear or default
25057 \begin_layout Description
25063 \begin_layout Description
25069 \begin_layout Description
25075 \begin_layout Description
25081 \begin_layout Description
25087 \begin_layout Description
25093 \begin_layout Description
25099 \begin_layout Description
25105 \begin_layout Description
25108 added_space Added space marker color
25111 \begin_layout Description
25114 addedtext Added text color
25117 \begin_layout Description
25120 appendix Appendix marker color
25123 \begin_layout Description
25126 background Background color
25129 \begin_layout Description
25132 bottomarea Bottom area color
25135 \begin_layout Description
25138 branchlabel Label color for branches
25141 \begin_layout Description
25144 buttonbg Color used for bottom background
25147 \begin_layout Description
25150 buttonhoverbg Color used for button background under focus
25153 \begin_layout Description
25156 buttonframe Color for inset button frames
25159 \begin_layout Description
25162 changebar Changebar color
25165 \begin_layout Description
25168 changedtextauthor1 Changed text color author 1
25171 \begin_layout Description
25174 changedtextauthor2 Changed text color author 2
25177 \begin_layout Description
25180 changedtextauthor3 Changed text color author 3
25183 \begin_layout Description
25186 changedtextauthor4 Changed text color author 4
25189 \begin_layout Description
25192 changedtextauthor5 Changed text color author 5
25195 \begin_layout Description
25198 collapsable_inset_frame Collapsable insets framecolor
25201 \begin_layout Description
25204 collapsable_inset_text Collapsable insets text color
25207 \begin_layout Description
25210 command Text color for command insets
25213 \begin_layout Description
25216 commandbg Background color for command insets
25219 \begin_layout Description
25222 commandframe Frame color for command insets
25225 \begin_layout Description
25228 comment color for comments
25231 \begin_layout Description
25234 commentbg Background color of comments
25237 \begin_layout Description
25240 cursor Cursor color
25243 \begin_layout Description
25246 deletedtext Deleted text color
25249 \begin_layout Description
25252 deletedtextmodifier Deleted text modifying color
25255 \begin_layout Description
25258 depthbar Color for the depth bars in the margin
25261 \begin_layout Description
25264 eolmarker End of line marker color
25267 \begin_layout Description
25270 error Color of the \SpecialChar LaTeX
25274 \begin_layout Description
25277 footlabel Label color for footnotes
25280 \begin_layout Description
25283 graphicsbg Graphics inset background color
25286 \begin_layout Description
25289 greyedout Label color for greyedout insets
25292 \begin_layout Description
25295 greyedoutbg Background color of greyedout inset
25298 \begin_layout Description
25301 greyedouttext Color for greyedout inset text
25304 \begin_layout Description
25307 indexlabel Label color for index insets
25310 \begin_layout Description
25313 ignore The color is ignored
25316 \begin_layout Description
25319 inherit The color is inherited
25322 \begin_layout Description
25325 inlinecompletion Inline completion color
25328 \begin_layout Description
25331 insetbg Inset marker background color
25334 \begin_layout Description
25337 insetframe Inset marker frame color
25340 \begin_layout Description
25343 language Color for marking foreign language words
25346 \begin_layout Description
25349 latex Text color in \SpecialChar LaTeX
25353 \begin_layout Description
25356 listingsbg Background color of listings inset
25359 \begin_layout Description
25362 marginlabel Label color for margin notes
25365 \begin_layout Description
25368 math Math inset text color
25371 \begin_layout Description
25374 mathbg Math inset background color
25377 \begin_layout Description
25380 mathcorners Math inset frame color not under focus
25383 \begin_layout Description
25386 mathframe Math inset frame color under focus
25389 \begin_layout Description
25392 mathline Math line color
25395 \begin_layout Description
25398 mathmacrobg Macro math inset background color
25401 \begin_layout Description
25404 mathmacroblend Macro math blended color
25407 \begin_layout Description
25410 mathmacroframe Macro math frame color
25413 \begin_layout Description
25416 mathmacrohoverbg Macro math inset background color hovered
25419 \begin_layout Description
25422 mathmacrolabel Macro math label color
25425 \begin_layout Description
25428 mathmacronewarg Macro template color for new parameters
25431 \begin_layout Description
25434 mathmacrooldarg Macro template color for old parameters
25437 \begin_layout Description
25440 newpage New page color
25443 \begin_layout Description
25446 nonunique_inlinecompletion Inline completion color for the non-unique part
25449 \begin_layout Description
25452 notebg Background color of notes
25455 \begin_layout Description
25458 notelabel Label color for notes
25461 \begin_layout Description
25464 pagebreak Page break/line break color
25467 \begin_layout Description
25470 paragraphmarker Color used for the pilcrow sign to mark the end of a paragraph
25473 \begin_layout Description
25476 phantomtext Text color for phantom insets
25479 \begin_layout Description
25482 preview The color used for previews
25485 \begin_layout Description
25488 previewframe Preview frame color
25491 \begin_layout Description
25494 regexpframe Color for regexp frame
25497 \begin_layout Description
25500 selection Background color of selected text
25503 \begin_layout Description
25506 selectiontext Foreground color of selected text
25509 \begin_layout Description
25512 shadedbg Background color of shaded box
25515 \begin_layout Description
25518 special Special chars text color
25521 \begin_layout Description
25524 tabularline Table line color
25527 \begin_layout Description
25530 tabularonoffline Table line color
25533 \begin_layout Description
25536 urllabel Label color for URL insets
25539 \begin_layout Description
25542 urltext Color for URL inset text